
7th February 2012, 07:14 PM
|
Member - OP
Thanks Meter 12
Posts: 87
Join Date: Jan 2012
Location: Flemington
|
Prime Keyboard Modification
Hi. I bought the Prime and Keybaord dock and love them! The only thing is that I am not a fan of the stock ICS browser and I am sure that I am not the only one. I wanted to know if there is a way to change the browser that is launched when pressing the internet/browser launch button (the one with a saturn-ish looking planet on it) on the keyboard dock because I haven't heard of anyone able to do it. I have tried disabling the stock browser but that makes the button unable to launch anything. I have my Prime rooted as well. I figured that I start a thread on this issue to see if anyone has been able to do it.
|

7th February 2012, 08:23 PM
|
Senior Member
Thanks Meter 79
Posts: 932
Join Date: Sep 2011
Location: Duluth
|
Don't think the browser question has ever been answere but I do think somewhere in these ATP or the OG TF forums, it has been said how to modify the key map files or something. That'd be a starting point, maybe.
Sent from my Transformer Prime TF201 using Tapatalk
- Samsung Galaxy S3 (T-Mobile )SGH-T999, stock+rooted.
- ASUS Transformer TF201 32GB, CyanogenMod.
- ASUS Transformer TF101 32GB, Prime ROM (damaged/retired).
- HTC MyTouch 4G Slide, CM 9.1-stable, retired.
- HTC MyTouch 4G, my first CyanogenMod (7.1), sold.
- LG Optimus T, stock+rooted. gifted to a beautiful Firefly.
My journal
|

8th February 2012, 01:22 AM
|
Senior Member
Thanks Meter 178
Posts: 760
Join Date: Mar 2011
|
What if we replaced the system app with opera? (or browser of choice)
|

9th February 2012, 08:28 PM
|
Senior Member
Thanks Meter 79
Posts: 932
Join Date: Sep 2011
Location: Duluth
|
Depends on how it's being launched. I.e. if it's dependant on the class name inside the APK, mv Opera Browser != good enough. Although replacing Browser with a stub that just forwards to another app is probably possible.
Sent from my Transformer Prime TF201 using Tapatalk
- Samsung Galaxy S3 (T-Mobile )SGH-T999, stock+rooted.
- ASUS Transformer TF201 32GB, CyanogenMod.
- ASUS Transformer TF101 32GB, Prime ROM (damaged/retired).
- HTC MyTouch 4G Slide, CM 9.1-stable, retired.
- HTC MyTouch 4G, my first CyanogenMod (7.1), sold.
- LG Optimus T, stock+rooted. gifted to a beautiful Firefly.
My journal
|

9th February 2012, 11:06 PM
(Last edited by agentdr8; 17th February 2012 at 11:11 PM.)
|
Senior Member
Thanks Meter 136
Posts: 724
Join Date: Mar 2007
Location: Cowtown, CA
|
This has been brought up before (with the TF101), and there hasn't been any progress made that would enable this functionality.
In the keylayout file, it's key 150 that launches the EXPLORER keycode, but I can't find any documentation that shows what that launches by default (other than the default browser).
Edit: After some more digging, it appears that this functionality resides within the Asus Keyboard IME. Going to see if I can work around this.
Edit2: Success! I was able to take the deodexed Keyboard.apk (thanks Swiftks) and modify the smali to launch com.beansoft.browserplus ( ICS Browser+) instead of the built-in ICS browser (com.android.browser). Happy happy joy joy!
Unfortunately this means that the edit would have to be done per-browser. I haven't tried this with Firefox, Chrome, Boat, or Opera, but will look into those tomorrow. For now, if anyone wants to test this (no guarantees, as usual with system app mods) I've attached it to this post. Make sure you backup your stock Keyboard.apk and Keyboard.odex first!
Quick how-to:
1) adb push Keyboard_ICS+.apk /mnt/sdcard/
2) adb to TFP, remount system read-write
3) cd /system/app, cp Keyboard.* /mnt/sdcard/backups (or where ever you want to keep your originals)
4) rm Keyboard.*
5) cp /mnt/sdcard/Keyboard_ICS+.apk ./Keyboard.apk
6) chmod 644 Keyboard.apk
7) reboot
When your TFP comes back up, you should be able to hit the browser button on the dock and it should launch ICS Browser+ (assuming you've got it installed already).
Props to appelflap for making a kick-ass browser, and to Swiftks for deodexing the system files.
EDIT: Attachment removed. Updated thread contains new APK.
AT&T HTC One
ARHD'd
Asus Transformer Prime
AndroWook'd
"We want monies. You have monies. Give us monies.” -- Phandroid (poking fun at Gemalto lawsuit)
|
|
The Following User Says Thank You to agentdr8 For This Useful Post: [ Click to Expand ]
|
|
|
|

10th February 2012, 08:09 AM
(Last edited by banq81991; 10th February 2012 at 08:11 AM.)
Reason: I'm a dumbass
|
Junior Member
Thanks Meter 1
Posts: 21
Join Date: Dec 2010
|
Edit: Failed to read you were already going to do this for chrome tomorrow. Best of luck and I look forward to it.
|

10th February 2012, 11:21 AM
|
Senior Member
Thanks Meter 191
Posts: 1,786
Join Date: Jan 2011
|
Quote:
Originally Posted by agentdr8
This has been brought up before (with the TF101), and there hasn't been any progress made that would enable this functionality.
In the keylayout file, it's key 150 that launches the EXPLORER keycode, but I can't find any documentation that shows what that launches by default (other than the default browser).
Edit: After some more digging, it appears that this functionality resides within the Asus Keyboard IME. Going to see if I can work around this.
Edit2: Success! I was able to take the deodexed Keyboard.apk (thanks Swiftks) and modify the smali to launch com.beansoft.browserplus ( ICS Browser+) instead of the built-in ICS browser (com.android.browser). Happy happy joy joy!
Unfortunately this means that the edit would have to be done per-browser. I haven't tried this with Firefox, Chrome, Boat, or Opera, but will look into those tomorrow. For now, if anyone wants to test this (no guarantees, as usual with system app mods) I've attached it to this post. Make sure you backup your stock Keyboard.apk and Keyboard.odex first!
Quick how-to:
1) adb push Keyboard_ICS+.apk /mnt/sdcard/
2) adb to TFP, remount system read-write
3) cd /system/app, cp Keyboard.* /mnt/sdcard/backups (or where ever you want to keep your originals)
4) rm Keyboard.*
5) cp /mnt/sdcard/Keyboard_ICS+.apk ./Keyboard.apk
6) chmod 644 Keyboard.apk
7) reboot
When your TFP comes back up, you should be able to hit the browser button on the dock and it should launch ICS Browser+ (assuming you've got it installed already).
Props to appelflap for making a kick-ass browser, and to Swiftks for deodexing the system files.
|
Any chance you could hook one up to work with boat browser? I use it now that flash doesn't work in opera. It would be awesome to be able to use the keyboard launch key. Thanks!
|

10th February 2012, 08:00 PM
|
Senior Member
Thanks Meter 136
Posts: 724
Join Date: Mar 2007
Location: Cowtown, CA
|
Doesn't look like this can be modded to work with browsers that aren't based on the stock ICS browser. The activity for alternate browsers isn't explicitly defined in the AndroidManifest.xml for the Keyboard.apk, so it throws an exception when trying this mod for Chrome, Boat, etc.
So for now, the only way I can foresee overcoming this limitation (because the manifest can't be edited without being re-signed) would be to build a small helper app that extends com.android.browser much like ICS+ browser does, but instead of launching a standard browser view, use it to launch a browser picker or the default browser.
Maybe in my spare time I'll figure out how to do something like that.
AT&T HTC One
ARHD'd
Asus Transformer Prime
AndroWook'd
"We want monies. You have monies. Give us monies.” -- Phandroid (poking fun at Gemalto lawsuit)
|
|
The Following 2 Users Say Thank You to agentdr8 For This Useful Post: [ Click to Expand ]
|
|
|
|

11th February 2012, 04:45 AM
|
Member - OP
Thanks Meter 12
Posts: 87
Join Date: Jan 2012
Location: Flemington
|
Quote:
Originally Posted by agentdr8
Doesn't look like this can be modded to work with browsers that aren't based on the stock ICS browser. The activity for alternate browsers isn't explicitly defined in the AndroidManifest.xml for the Keyboard.apk, so it throws an exception when trying this mod for Chrome, Boat, etc.
So for now, the only way I can foresee overcoming this limitation (because the manifest can't be edited without being re-signed) would be to build a small helper app that extends com.android.browser much like ICS+ browser does, but instead of launching a standard browser view, use it to launch a browser picker or the default browser.
Maybe in my spare time I'll figure out how to do something like that.
|
Hey, thanks for the help man. I look forward to seeing what you come up with!
|

11th February 2012, 04:49 AM
|
Member - OP
Thanks Meter 12
Posts: 87
Join Date: Jan 2012
Location: Flemington
|
Quote:
Originally Posted by agentdr8
This has been brought up before (with the TF101), and there hasn't been any progress made that would enable this functionality.
In the keylayout file, it's key 150 that launches the EXPLORER keycode, but I can't find any documentation that shows what that launches by default (other than the default browser).
Edit: After some more digging, it appears that this functionality resides within the Asus Keyboard IME. Going to see if I can work around this.
Edit2: Success! I was able to take the deodexed Keyboard.apk (thanks Swiftks) and modify the smali to launch com.beansoft.browserplus ( ICS Browser+) instead of the built-in ICS browser (com.android.browser). Happy happy joy joy!
Unfortunately this means that the edit would have to be done per-browser. I haven't tried this with Firefox, Chrome, Boat, or Opera, but will look into those tomorrow. For now, if anyone wants to test this (no guarantees, as usual with system app mods) I've attached it to this post. Make sure you backup your stock Keyboard.apk and Keyboard.odex first!
Quick how-to:
1) adb push Keyboard_ICS+.apk /mnt/sdcard/
2) adb to TFP, remount system read-write
3) cd /system/app, cp Keyboard.* /mnt/sdcard/backups (or where ever you want to keep your originals)
4) rm Keyboard.*
5) cp /mnt/sdcard/Keyboard_ICS+.apk ./Keyboard.apk
6) chmod 644 Keyboard.apk
7) reboot
When your TFP comes back up, you should be able to hit the browser button on the dock and it should launch ICS Browser+ (assuming you've got it installed already).
Props to appelflap for making a kick-ass browser, and to Swiftks for deodexing the system files.
|
Would I be able to do this via root explorer?
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
|
|