• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Browser2RAM Thread with Script, Tool, and Browser List

Tylorw1

Newbie
ATM I am currently working on a Browser2RAM script. I have been integrating browsers and this is what I have so far.
1. Stock
2. Boat Browser
3. Dolphin Browser
4. Opera Mobile
5. Maxthon
6. Firefox
7. Chrome
8. Naked Browser
9. Floating Browser
10. UC Browser HD for Tablets
11. NineSky Browser
12. Chrome Beta [NEW]

B2R for 1-12, May add other browsers later, just specifying which is what and such lol.
[URLhttp://d-h.st/LJI[/URL]

To install, all you do is download Root Browser from the Play Store, mount /system as R/W, paste the file into /etc/init'd/ and reboot.

I am not responsible for something happening to your tablet. However it is only an init'd script so there should be no harm. Some browsers do not see as much performance gain as other.

I will include a link to the Motochopper Root Tool if you wish/haven't rooted yet.

Also, this can be moved to the Root/Dev thread, but I am guessing fewer people travel there than the General Section so I wanted to put it out there more.

Motochopper Root Tool:
http://forum.xda-developers.com/showthread.php?t=2230763

Tylor

Credits to sbdags, elfaure, BecomingX, and _That. Especially to sbdags for dealing with and helping me.

Should also work on the TF300, both motochopper root and the B2R script :D.

Stock B2R

Credits to elfaure as it is his post:
I have been working on this startup script for awhile now and finally got it polished and ready for release. This script is more versatile and replaces Browser2RAM. Do not run them both at the same time. This script **requires root** and to be **run as root**. If you run it from the terminal make sure to "su" first.

This script works on JB 4.1 (at boot or after boot=terminal or a script manager) and 4.2 (at boot only). It works with 4 browsers: Stock, Naked, Chrome, and Firefox remapping each of their cache folders to a dynamic (as required) 50MB allocation in RAM which should suit most users. For demanding performance you can change the allocation from 50 to 100MB to run up to 20 simultaneous browser tabs for each browser.

Note: Since the RAM cache mapping is dynamic, it does not steal from your RAM unless needed by your browser so there is no downside to running a larger cache. Data is persistent so bookmarks and cookies are not lost if you crash or reboot. GPlay app Script Manager (Devwom) can be used to run this script at boot *as root* or advanced users can use an init.d script method.

Download attached. Upload the file and remove the .txt extension. Optionally remove the .sh extension as well.

************************************************** ****************************************

Open the script up in Script Manger and click two icons upper left area (su, boot). Also check the radio button "is script" NOT "is executable". You'll see the two set icons next to the script name in the Script Manager file list (if you back out or open it up again) but for some reason you have to run the script in SM once for the settings to stick. That's it. Reboot and all the mountpoints are automagically created. Works with root on stock ROM.

And, for those who don't want to run it at boot automatically, and prefer not using the terminal, you can also use Script Manager to open it up and run it after boot as well. Just click the RUN button and make sure to check the su button first.

If you're having trouble finding Script Manager it's because it has been reported incompatible with some devices. If you can't get it from GPlay, Script Manager is attached but may have some video incompatibilities with some devices.

Linkback to dev thd:

http://forum.xda-developers.com/show...2227123&page=1

[Edit]

Updated script to add 4 more browsers (now 8 in total): Opera Mobile, Dolphin, Boat, and Boat Mini. New one is autostart3.sh.txt

[Edit]

Final release, Rev 4. Removed 2 previous versions. Enhanced error silencing. Updated script to add 6 more browsers (now 14 in total): Added - Dolphin Mini, Opera Mini, Baudi, Adrenaline, Maxthon, and One. If you want more browsers then edit the script. [Edit] Looks like I'll be adding a few more browsers to this per request. Keep your eyes out for REV5 [End Edit]. Added umount_all.sh script to unmount all the mounts created in autostart4.sh (just in case you need it). Chrome (my preferred browser) cache is 100MB, the rest are 50 by default.

There's also been a recent additional method added to load this script at boot and run it as root that does NOT require Script Manager OR init.d support. Confirmed working on stock 10.4.4.25 (JB 4.1.1). Should work on stock 10.6.1.14.4 (JB 4.2.1) too. See PG 12.

*********************************************************************************************************
NOTICE: @sbdags has already incorporated this entire script into the latest CROMIX.
Do NOT run this script if you are on CROMIX or it may create duplicate mountpoints!
*********************************************************************************************************

autostart4.sh.txt
umount_all.sh.txt
scriptManager_2.7.0.apkl

I postponed posting this as browsers were bring added. Just about EVERY browser is now in it.

Sent from my ASUS Transformer Pad TF700T using Tapatalk HD
 
I know that less people go to the Root thread but I moved this there. I don't want it to confuse any new users who may not be secure rooting yet.
 
Back
Top Bottom