FORUMS

[Q] increase max number of windows in browser on rooted phone?

941 posts
Thanks Meter: 30
 
By landwomble, Senior Member on 28th September 2010, 11:22 AM
Post Reply Email Thread
My Desire limits max number of browser windows to 4, and does so on every ROM I've tried. I'm rooted - is there any hack I can apply to increase this? I know Dolphin HD and other browsers don't have this problem but I kind of like the HTC browser apart from this issue.

Anyone found a fix?
28th September 2010, 12:46 PM |#2  
snq-'s Avatar
Retired Recognized Developer
Thanks Meter: 873
 
More
Quote:
Originally Posted by landwomble

Anyone found a fix?

it's hardcoded in the browser (com.android.browser.TabControl.canCreateNewTab())
shouldn't be a big deal to increase it

which rom are you currently using?
28th September 2010, 12:49 PM |#3  
pulser_g2's Avatar
Admin Emeritus / Senior Recognized Developer
Thanks Meter: 11,804
 
More
Moved to Q&A.

On hero, it was limited to 4 tabs in sense, but on CM6 base, I have roughly 8 open in the background all the time. I reckon you could hack the above value, not sure how well the sense browser would perform...
30th September 2010, 12:27 PM |#4  
OP Senior Member
Thanks Meter: 30
 
More
Quote:
Originally Posted by snq-

it's hardcoded in the browser (com.android.browser.TabControl.canCreateNewTab())
shouldn't be a big deal to increase it

which rom are you currently using?

AuraxTSense 7.6.1

how would you edit this? hex editor?
3rd October 2010, 04:03 PM |#5  
Member
Thanks Meter: 2
 
More
Can I bump this? Wanna know this as well. Is it only for rooted device?
4th October 2010, 08:55 AM |#6  
Senior Member
Flag Roodepoort
Thanks Meter: 1
 
More
Quote:
Originally Posted by lyk13

Can I bump this? Wanna know this as well. Is it only for rooted device?

Yes it would be for a root device only.
4th October 2010, 01:09 PM |#7  
Member
Thanks Meter: 2
 
More
Thank you, guess I have to endure then. =/
4th October 2010, 01:42 PM |#8  
OP Senior Member
Thanks Meter: 30
 
More
Quote:
Originally Posted by lyk13

Thank you, guess I have to endure then. =/

S'ok, no-one seems to have worked out how to do it on rooted devices either...!
5th October 2010, 02:16 AM |#9  
Senior Member
Flag UK-KSA-S.E.Asia
Thanks Meter: 290
 
More
8 tabs like on AOSP ROMs would be excellent. 4 tabs limit is with Sense ROMs and it is too few for my usage too.

-----------------------------------
- HTC Desire via XDA App -
8th October 2010, 01:35 PM |#10  
TomLeeDesire's Avatar
Senior Member
Thanks Meter: 149
 
More
Quote:
Originally Posted by th3

8 tabs like on AOSP ROMs would be excellent. 4 tabs limit is with Sense ROMs and it is too few for my usage too.

-----------------------------------
- HTC Desire via XDA App -

Please find here the result of my homework given by The GREAT MASTER snq- !!!

Base on the Browser.apk you have in AuraxTSense 7.6.1, this one will allow you to go up to 15 tabs !
(It's now hard coded at 32, but after 15 I got an Out of memory... should be enough anyway)

For that first time, it is zip-aligned, but not signed.
So I will assume that you know what do with (push with adb, in recovery if you don't have S-OFF).
As soon as I learn to make a flashable zip, I will update it.

Enjoy !!

Or just feel free to insult me if it doesn't work flawlessly for you...

Edit: backup your bookmarks, just in case...
Edit2 : finally no prob with bookmarks

EDIT 3 : updated .apk (back to original png for back and forward)
Attached Files
File Type: apk ATS_Browser_zipaligned.apk - [Click for QR Code] (1.07 MB, 179 views)
The Following User Says Thank You to TomLeeDesire For This Useful Post: [ View ] Gift TomLeeDesire Ad-Free
8th October 2010, 07:02 PM |#11  
Senior Member
Flag UK-KSA-S.E.Asia
Thanks Meter: 290
 
More
... Testing.

That works perfect on HTC 2.2 with root! Over 12 tabs now opening fine in the browser. I just removed the odex file and everything worked. It requires 300-400KB ish more than the stock browser. Thank you guys

-----------------------------------
- HTC Desire via XDA App -
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes