30Likes  | |
 Thread Author
# 1

11-05-2011, 01:30 AM
| | CrackBerry User Device(s): 9650 | | Location: Thailand Join Date: May 2011 Posts: 57 Likes Received: 45
Thanked 72 Times in 12 Posts
| | LocalBar: Install BAR files directly from your PlayBook update 23 Nov 2011: doesn't work in 2.0.0-4867 (RIM blocks the port for local connection) update 8 Dec 2011: if you have rooted your playbook, reenable localbar by: Code: cat /etc/pf.conf | grep -v '443'| pfctl -f- Put it in startup.sh to make it automatic. update 3 Feb 2012: by startup.sh, i meant the one in /accounts/devuser/
Hi,
I just quickly developed an app that will allow you to install signed BAR files directly from your PlayBook. This app is called LocalBar. To install it for the first time, you will need to sideload the app using some methods that you can find in this forum.
You can download the app, and see the guide from my website: LocalBar Edit I was in a hurry when I posted the original message. Here are some additional details:
- I am using https://localhost method. To put it simply: it works like other desktop installers that connect via network or USB, it sends commands to an HTTP service in the playbook. The only difference is that it works through the playbook itself.
- It is possible that in the future RIM may block requests from localhost
- I don't have time to develop nice GUI for this, so I just use the basic GUI API that is accessible using NDK. For example: in the NDK there is a "login dialog" but no "password dialog", so for the password dialog I use the "login dialog" that shows the "user" field (which I don't need).
- This works on OS 1.0.7 and on 2.0
- With this you can sort of OTA install through the playbook. From your PlayBook Just go to a website that has some bar files (for example this forum) , download it using the built in playbook browser, then run LocalBar to install the downloaded bar files.
__________________ TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth.
Last edited by tinyhack; 02-03-2012 at 03:45 AM.
Thanked by 45 2ndHalfCor (11-05-2011), badtoyz (11-05-2011), bengalt (11-05-2011), bimmerstein (11-07-2011), Bluemax413 (11-05-2011), CalS22 (11-07-2011), collapsed (02-20-2012), DaedalusIcarusHelios (11-07-2011), dakid2k6 (11-06-2011), dana_lopez (11-05-2011), DangerMouseUK (11-05-2011), daniel200 (11-06-2011), demzzy (11-05-2011), diegonei (11-05-2011), dudermont (11-06-2011), Foppa_21 (11-09-2011), GlenB (11-05-2011), HaTaX (11-05-2011), jasperlin (11-06-2011), jcarty (11-05-2011), jeffreytoronto (11-08-2011), jesseh (11-21-2011), jonty12 (11-05-2011), jvictor77 (11-05-2011), KermEd (11-05-2011), livejam (11-05-2011), lyricidal (11-05-2011), mertin.m (11-06-2011), metroside (11-05-2011), mikeplus1 (12-09-2011), mister_turtle (11-05-2011), mscooley (11-05-2011), Olukunlea (11-06-2011), peter9477 (11-05-2011), project_x (11-05-2011), rob7100g (11-05-2011), SCrid2000 (11-05-2011), sdickie (11-06-2011), sheldonbk (11-05-2011), SlcCorrado (11-06-2011), snoozininsomniac (11-05-2011), SoUnCool (11-06-2011), vecharo (11-05-2011), vi_di (11-08-2011), Wolfgan (11-05-2011)
| 
11-05-2011, 01:53 AM
| | | CrackBerry Abuser Device(s): 9930 (Bold) Carrier: Sprint/Nextel | | Location: NYC Join Date: Aug 2009 Posts: 337 Likes Received: 15
Thanked 25 Times in 13 Posts
| |
Sounds great. I will give it a shot once I'm at pc..
| 
11-05-2011, 01:56 AM
| | | CrackBerry Addict Device(s): PlayBook & Torch Carrier: Rogers | | Join Date: May 2009 Posts: 806 Likes Received: 344
Thanked 343 Times in 154 Posts
| | | 
11-05-2011, 02:01 AM
| | CrackBerry Master Carrier: Telstra | | Location: Australia Join Date: Jul 2011 Posts: 1,097 Likes Received: 344
Thanked 443 Times in 204 Posts
| |
tinyhack: I have REd the sshd connect by the way (save you time).
__________________ Developer of ReQognise (on AppWorld), Dingleberry and other Qt apps. Porter of Bubble Kid, Qupzilla, Dukto, Wesnoth and other apps.
| 
11-05-2011, 02:12 AM
| | CrackBerry Master Device(s): 9900 Carrier: T-Mobile | | Join Date: Apr 2008 Posts: 1,122 Likes Received: 321
Thanked 597 Times in 210 Posts
| |
Nice job! I'm going to take a stab in the dark here, but are you using bps_event_create() to push an install request into the queue?
EDIT:
Nevermind, looks like you're installing it through the https://localhost/ method. Still great work! I'm sure now that the method has been uncovered, there is bound to be some new life breathed into the PB before next year.
Last edited by HaTaX; 11-05-2011 at 02:44 AM.
| 
11-05-2011, 02:18 AM
| | | CrackBerry User Device(s): 9700 Carrier: AT&T | | Location: hollywood hills, la, ca Join Date: Mar 2011 Posts: 54 Likes Received: 11
Thanked 19 Times in 9 Posts
| |
wow! this is awesome!
| 
11-05-2011, 02:44 AM
| | CrackBerry Newbie Device(s): 9860 Carrier: Etisalat | | Location: Dubai Join Date: Oct 2011 Posts: 5 Likes Received: 1
Thanked 0 Times in 0 Posts
| |
is this only for OS2 or does it also work with the current official OS? | 
11-05-2011, 02:49 AM
| | | CrackBerry User Device(s): 9700 Carrier: AT&T | | Location: hollywood hills, la, ca Join Date: Mar 2011 Posts: 54 Likes Received: 11
Thanked 19 Times in 9 Posts
| | Quote:
Originally Posted by HaTaX Nice job! I'm going to take a stab in the dark here, but are you using bps_event_create() to push an install request into the queue?
EDIT:
Nevermind, looks like you're installing it through the https://localhost/ method. Still great work! I'm sure now that the method has been uncovered, there is bound to be some new life breathed into the PB before next year.  | all the technicalities of the playbook really interest me; can you explain how this method works, even if in short?
| 
11-05-2011, 02:49 AM
| | CrackBerry Master Device(s): 9900 Carrier: T-Mobile | | Join Date: Apr 2008 Posts: 1,122 Likes Received: 321
Thanked 597 Times in 210 Posts
| |
Should work with either, was built using the 1.0.7 NDK.
| 
11-05-2011, 02:54 AM
| | CrackBerry Abuser | | Join Date: Jun 2010 Posts: 266 Likes Received: 64
Thanked 22 Times in 16 Posts
| |
nice. corrct me if im wrong but this allows us to sort of ota install of app on the playbook
|
 Thread Author
# 11

11-05-2011, 03:07 AM
| | CrackBerry User Device(s): 9650 | | Location: Thailand Join Date: May 2011 Posts: 57 Likes Received: 45
Thanked 72 Times in 12 Posts
| | Quote:
Originally Posted by HaTaX Nice job! I'm going to take a stab in the dark here, but are you using bps_event_create() to push an install request into the queue?
EDIT:
Nevermind, looks like you're installing it through the https://localhost/ method. Still great work! I'm sure now that the method has been uncovered, there is bound to be some new life breathed into the PB before next year.  | Yes, you are correct, I am using the https://localhost method. I was wondering why one one implemented this idea before.
It is quite obvious that in development mode we can Install apps through the network, so using the same protocol we can install apps directly from the playbook.
__________________ TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth.
Thanked by KermEd (11-05-2011)
|
 Thread Author
# 12

11-05-2011, 03:16 AM
| | CrackBerry User Device(s): 9650 | | Location: Thailand Join Date: May 2011 Posts: 57 Likes Received: 45
Thanked 72 Times in 12 Posts
| | Quote:
Originally Posted by rsxsniper nice. corrct me if im wrong but this allows us to sort of ota install of app on the playbook | Yes, you are correct.
__________________ TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth.
|
 Thread Author
# 13

11-05-2011, 03:19 AM
| | CrackBerry User Device(s): 9650 | | Location: Thailand Join Date: May 2011 Posts: 57 Likes Received: 45
Thanked 72 Times in 12 Posts
| | Quote:
Originally Posted by daspop all the technicalities of the playbook really interest me; can you explain how this method works, even if in short? | I have edited my original post to explain this. This is how it works:
When you use the desktop sideloader, you enter an IP address, then connect through the network to that IP address.
LocalBar uses the same protocol, but since it knows that it connect to the same IP address as itself, it can just use "localhost" as the connection address.
__________________ TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth.
|
 Thread Author
# 14

11-05-2011, 03:25 AM
| | CrackBerry User Device(s): 9650 | | Location: Thailand Join Date: May 2011 Posts: 57 Likes Received: 45
Thanked 72 Times in 12 Posts
| | Quote:
Originally Posted by xsacha tinyhack: I have REd the sshd connect by the way (save you time). | Cool. I am using you PlayBook connect to explore my PlayBook.
__________________ TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth.
| 
11-05-2011, 04:01 AM
| | CrackBerry Newbie Device(s): 9860 Carrier: Etisalat | | Location: Dubai Join Date: Oct 2011 Posts: 5 Likes Received: 1
Thanked 0 Times in 0 Posts
| | Quote:
Originally Posted by HaTaX Should work with either, was built using the 1.0.7 NDK. | great ill try it now... thanks
|  | | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | | |