Simple script to run to maximize the MoPho's RAM usage. **ROOT USERS ONLY**
I take NO credit for this tweak whatsoever, and am simply providing a quick "how-to" of how to run the script for those who have not used it on previous Android devices.
Here's the link to the original thread (in the general section in the MoPho forum), created by member Custodian on 8/11/11. Big thanks to him for that! http://forum.xda-developers.com/showthread.php?t=1212820
First, follow the ongoing development threads to familiarize yourself of what this tweak truly accomplishes:
http://forum.xda-developers.com/showthread.php?t=991276
http://forum.xda-developers.com/showthread.php?p=15948434#post15948434
Secondly, follow this how-to, in this order:
1) Download the script of your choice from the second hyperlink above, or from - http://forum.xda-developers.com/show...postcount=5021
2) Download Script Manager from the Market (free app).
3) Wipe your caches.
4) Open Script Manager, locate the script you dl'd on your SD Card, select "run as root", and DO NOT select "run as boot".
5) Load the script (select 1 or 0 for scrolling speed). It will most likely tell you that you are running too new of a Busybox version, and may experience bootloops. You're fine. Busybox v1.19.2-Stericson runs just fine, no issues.
6) Once script loads, enter selection #9 (Super 1000hp Aggressive mem setting).
7) Enter selection #13 to "bulletproof" your Launcher (helps eliminate risk of having it close during while your mem settings are working)
8) Enter selection #19 for Nitro Lag Nullifer, and install.
9) Enter selection #25 for options. Enter y for build.prop edit.
10) Enter selection #27 to close the script.
Now, reopen Script manager and navigate to the folder /sdcard/V6_SuperCharger. Run the 99SuperCharger.sh script, and select to "run as root", and "run as boot".
Reboot your phone, and you are good to go.
You can create widgets to quickly shift between memory tweaks.
Lastly, you can run the V6 script and select #19 to "flush" your caches and reclaim any lost RAM throughout the day to keep your phone running optimally without having to reboot your phone or "kill" any apps through various task managers. I do this about 1x-2x a day just as habit, but not necessary by any means. (A widget can be created for this too - open Script Manager, and find /data/fast_engine_flush.sh. One click RAM re-claimer!)
That's it. No need for any 3rd party task managers (ATK, Auto Killer, etc.). Just let the script do its thing, and enjoy a lag free MoPho!
this is great - I ran across this the other day - very easy to install and activate - my phone seems to be very reponsive - quite a interesting MOD - thanks for posting!
Latest script - RC3.2
http://forum.xda-developers.com/show...postcount=5021
Nice, I'll try out RC1. BTW, has anyone tried his 3g turbocharger?
This is weird. I keep getting ... "AWK Not Found. Unable to determine busybox version."
Root Check says I have busybox-1.18.0git. wtf?
MisterTedster said:
Nice, I'll try out RC1. BTW, has anyone tried his 3g turbocharger?
Click to expand...
Click to collapse
Yes. I'm still on the fence as far as noticing any performance gains, though...
Sent from my MB855 using XDA App
tuxytuxy said:
This is weird. I keep getting ... "AWK Not Found. Unable to determine busybox version."
Root Check says I have busybox-1.18.0git. wtf?
Click to expand...
Click to collapse
Try installing a newer Busybox version...that should fix that.
Sent from my MB855 using XDA App
My settings wouldn't stick after reboot (using homebase 2.1)
Had to use Script Manager to load /system/etc/init.d/99SuperCharger "on boot" and "run as root" (for me it was called S99SuperCharger)
MisterTedster said:
Nice, I'll try out RC1. BTW, has anyone tried his 3g turbocharger?
Click to expand...
Click to collapse
Just did. I had some weak download speeds at work this morning, only getting to 550kps tops, using the experimental 1 setting doubled my down speed to 1meg.
cobrahicks said:
My settings wouldn't stick after reboot (using homebase 2.1)
Had to use Script Manager to load /system/etc/init.d/99SuperCharger "on boot" and "run as root" (for me it was called S99SuperCharger)
Just did. I had some weak download speeds at work this morning, only getting to 550kps tops, using the experimental 1 setting doubled my down speed to 1meg.
Click to expand...
Click to collapse
NICE!
I get crap 3G speed @ work regardless of which 3G script I run (.2-.4 down on avg), but .8-1.0 avg w/ 4G. I didn't realize that it doesn't exactly hurt the battery life tremendously to leave 4G enabled on the MoPho, as it puts itself into a sleep mode when not in use. I'm not sure of the specifics as far as scan/refresh intervals right off hand, but I'm tracking approx 1% of batt. life lost every 10 minutes while the phone is idle and 4G enabled (data disabled, as I'm sure I'd be losing 3-4% batt. life in the same range w/ it enabled w/ 4G).
Dumb question: Anything special I should know to run 3G turbocharger?
MisterTedster said:
Dumb question: Anything special I should know to run 3G turbocharger?
Click to expand...
Click to collapse
Nope. Just run the script and select the option that's best for you and reboot. Test all 4 and the experimentals.
YMMV - not all phones behave the same, and I'm sure 3G gains/losses are still contingent upon your location anyway, so you may experience a boost, a loss or no change at all. Either way, it won't hurt anything to try it.
Now RC2 is out... The best setting for MoPho is option 9+12.... Use build prop option to stick otherwise will not stick after reboot.... V6 default windowsmgr event setting is only 75. If you want better smooth scolling change this line "windowsmgr.max_event_per_sec=75 to 150(got two lines not include original line). Well 3g tweak is depend on your service provider.... test with speed test.net and find which setting is the best for you.
Sent from my MB855 using Tapatalk
pswin09 said:
Now RC2 is out... The best setting for MoPho is option 9+12.... Use build prop option to stick otherwise will not stick after reboot.... V6 default windowsmgr event setting is only 75. If you want better smooth scolling change this line "windowsmgr.max_event_per_sec=75 to 150(got two lines not include original line). Well 3g tweak is depend on your service provider.... test with speed test.net and find which setting is the best for you.
Sent from my MB855 using Tapatalk
Click to expand...
Click to collapse
Thanks man, OP has been updated accordingly w/ latest release info.
MisterTedster said:
Nice, I'll try out RC1. BTW, has anyone tried his 3g turbocharger?
Click to expand...
Click to collapse
i have both running on my phone and it is pretty fast, i used the experimental #1 for the 3g and i was hitting 1+ meg downloads which is faster than the .48-.75 that i normally get. usually when i open my browser on 3g it takes a while to load even the google homepage but now it pops up as soon as i open the browser no load time same for xda took a while before now it loads really quick almost ike i have 4g on i had to double check and make 4g was the first time i tried it because it was so much faster.
RC3.1 is out already. Looks like there are a bunch of fixes and enhancements.
where do you see the RC3.2?
http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021
Does anyone know how this runs with my kernel
Sent from my MB855 using XDA App
Install zepps kickass kernel and v6 ...you'll get some great results using your kernel. Forgot to post, with your latest rev and a few tweaks im rocking 4500's in smartbench.
jokersax11 said:
Does anyone know how this runs with my kernel
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
Sent from my MB855 using XDA App
Does this work on stock rom
Sent from my MB855 using XDA App
Related
Here is a great script that is apparently making its way through the android world. It increases the SD card read/write by reading in larger chunks. You can get it to work on Fascinate somehow.
Many of us in the Eris world have gotten this to work and my now SLOW eris reads pictures and related SD functions twice as fast as my fascinate!! Now to start testing this on my ever godly fascinate...
sharing the wealth:
http://forum.xda-developers.com/showthread.php?t=1013554
This can technically be hard coded into ROMS, but im no ROM developer (hint hint)
----update-----
I didn't find anyone in the Fascinate world doing this, but apparently the Epic has this somewhat working:
http://forum.xda-developers.com/showthread.php?t=1021647
----update----
And here are the Epic versions flashable files... i'll test them later today to see if they work on the fascinate:
http://forum.xda-developers.com/showpost.php?p=12660493&postcount=73
Sounds great. I was just complaining about my pictures loading slowly yesterday, and here you are to save the day!
I'm backing up my phone now, and will flash the 2k file.
I did test this app, which essentially does the same thing, and it does work great on the fascinate. But, its an app that has to be turned on, and wont stick at boot. Although the app does have a set at boot option... thats still one more app running at boot.
http://www.appbrain.com/app/sd-increase/com.sdincrease.it
I'll post results on my flashing of the scripts shortly.
ok I can confirm the following did stick at boot.
njoy everyone:
SDCardSpeedFix2048KB.zip
I tried that app, and I'm not sure that it even worked. You probably know more than I do, but after doing the setting in SD Speed Increase i can open the file and it still says 128. i also tried it on my eris and it did change the file to 2048. Weird. Is there gonna be a link to a flashable in your post. thanx...
Izeltokatl said:
ok I can confirm the following did stick at boot.
njoy everyone:
SDCardSpeedFix2048KB.zip
Click to expand...
Click to collapse
Worked perfect. Thanks so much. The slow loading gallery always really bothered me
Sent from my SCH-I500 using XDA App
cableguy1 said:
I tried that app, and I'm not sure that it even worked. You probably know more than I do, but after doing the setting in SD Speed Increase i can open the file and it still says 128. i also tried it on my eris and it did change the file to 2048. Weird. Is there gonna be a link to a flashable in your post. thanx...
Click to expand...
Click to collapse
check my last link in the OP. All the various flashable files are in that link. I used 2k version. Thats what I used in my Eris.
the app you have to use the slider to adjust the amount (again use 2048) click on that RED/ORANGE button with the arrow and it will set it.
what it says in "Status" is what is defined in your phone. So thats how you can confirm it worked. Or just open up the gallery and compare a large folder before the flash(or app change), and then run the same gallery folder after the flash (or app change). It should be MUCH faster.
Ok, now the 2048k from that link worked great.
But just for the record, I did push that button to finalize the setting in SD Speed Increase . I don't know why it didn't change the file...oh well, thanks a lot sir!
Sent from my SCH-I500 using XDA Premium App
jt1134 implemented this about a week ago, and I and several others did the same with the custom kernels that were released. If it's being set in the initramfs and not via an init.d script, you can change the values all you want and it likely isn't doing anything to change the read/write performance.
imnuts said:
jt1134 implemented this about a week ago, and I and several others did the same with the custom kernels that were released. If it's being set in the initramfs and not via an init.d script, you can change the values all you want and it likely isn't doing anything to change the read/write performance.
Click to expand...
Click to collapse
From what I can tell the flash files are writing to the init.d. So it should be sticking. This is still good to know as some people might not be using custom kernels, or might want to change from whatever defaults the kernel devs have pre-set.
Options are in the spirit of Rooting
=-)
Izeltokatl said:
From what I can tell the flash files are writing to the init.d, so the settings are taking effect. So it should be sticking.
Click to expand...
Click to collapse
If the change is applied in the initramfs, that will likely take precedence over the init.d script, but I have no idea how it works if there are two things telling it what to run at.
This is a guide that explains the steps to defeat Crickets data throttling and, in my case, give you faster internet(1.5 mb as compared to 300 kb tops). Many people will tell you that the throttle is carrier side however this is false and it is easy to test and see that for yourself. Simply download an internet speed testing app and run it. Watch as soon as it starts to check speed and you will see the speed skyrocket then back down to throttled speed after a second.
Anyhow.....on to the guide..
Requirements:
Rooted HTC Evo 3D
ES File Browser(this guide is made for this file browser but it will be similar in other browsers as well)
Simple right? OK, here's how to go about removing your data throttle:
1) Open your choice of file browser
2) Browse to the following location: /data/system/throttle
3) Delete all files in the throttle folder
4) Browse to the following location: /data/system
5) Long hold the throttle folder
6) Click Properties
7) Click Change
8) Select all the options available except for write(6 of the 9 options will be selected)
9) Click OK then exit the file browser app
10) Open an internet browser of your choice
11) You should get to the Cricket page telling you you are attempting to do an action not allowed on your account and you will have no internet access.
12) Reboot and you should have no throttle.
This throttle bypass will last until you reboot your phone and in my experience it has worked 100 percent of the time.
Feel free to check it out and let me know your mileage..
Dfeldt91
I thought it worked at first. Before following your steps I was getting 646 kbps down and after your steps my first test was 924kbps but then second test dropped down to 540kbps. Maybe someone else has better luck, I'll keep playing with it though, thanks bud.
Is that "sdcard/data/throttle"? I can't find the folder anywhere.
Sent from my PG86100 using xda app-developers app
ShifterX2 said:
Is that "sdcard/data/throttle"? I can't find the folder anywhere.
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
No,
/data/system/throttle/
Sent from my PG86100 using Tapatalk 2
ShifterX2 said:
Is that "sdcard/data/throttle"? I can't find the folder anywhere.
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
You may have to enable the "up to root" option in es file browsers settings.
ImpossibleIsOpinion said:
I thought it worked at first. Before following your steps I was getting 646 kbps down and after your steps my first test was 924kbps but then second test dropped down to 540kbps. Maybe someone else has better luck, I'll keep playing with it though, thanks bud.
Click to expand...
Click to collapse
I'm not positive if it gives everyone an increase in speed. Its just my experience with it.. I've noticed when I get data drops that the throttle fix will be gone after turning data off then back on so I will have to redo the fix in order to get it working again.
Since in flashed my Sprint Evo 3D my download speed is 15KLBS.I followed all the flashing info.Im currently Running OTA ICS rooted.Im on the $70 plan and im no where near my data allowance for this month.Can u please help??
Hi, I use a Samsung core prime running kitkat 4.4 (rooted) I've been through all of the system files. I cannot fine /data/system/throttle ! Path does not exist!
HELLOZZ..ppl
BACK WITH SOME TWEAKS FOUND ON A BLOG.....
PROMISING 3G SPEED ON 2G NETWORK:victory:
IT WORKZ FOR ME HOPE WORKSS FOR YOU TOOOO...:fingers-crossed:
Follow ahead :-
1) download this software called 3g/4g speed optimizer from market HERE
https://play.google.com/store/apps/...DEsInByb3Zpc2lvbi5uZXRzcGVlZC5vcHRpbWl6ZXIiXQ
Click to expand...
Click to collapse
2) Download this script manager
https://play.google.com/store/apps/details?id=os.tools.scriptmanager&feature=search_result
Click to expand...
Click to collapse
3) Download the 3G turbcharger script by zeppelinrox from ATTACHMENT
NOTE: you might want to compare the speed differences after and then of this tweak. If you, then download the NQ mobile security app from here
https://play.google.com/store/apps/...sMSwxLDEsImNvbS5ucW1vYmlsZS5hbnRpdmlydXMyMCJd
Click to expand...
Click to collapse
and it should give you a small network meter which shows current network speed. download it, start it, and then download something from the play store to see how much speed you are getting. Its going to get increased soon anyway
Now Follow ahead
Start 3g/4g speed optimizer
-choose network speed as 12/28/7-max speed
-check on down speed increase
-now click on apply tweak.
!!!RESTART YOUR DEVICE!!!
Now open script manager
-browse to the downloaded 3g turbocharger text file
-check on superuser icon(N00BS: the android skeleton icon)
-click on run. script will load. wait till it asks to make a selection...
-scroll up and see what setting you need. fast, faster or fastest. I would recommend fastest. enter the option number.
-again enter the option to reboot.
thats it!
After reboot, your 3G speeds should be increased
To check your speeds, again download something from play store, something bigger than 2-3 megabytes would be preferable as it lets you see how far the speeds can get.
ALSO NOTE: this may not work for everyone, if it doesn't for you, dont blame me, you probably are already getting the max speed from your network operator.
Also I would again like to mention that indian users will be mostly benefited with this tweak. Enjoy, and dont forget to press **THANKS** button if it works for you
CREDITS:zeppelinrox
dev of 3g/4g optimizer and Script Manager
NEED MORE SPEED---TESTED ONES
FOLLOW--
Code:
http://forum.xda-developers.com/showthread.php?t=2335346
Does @zeppelinrox knows this, that you share it and do you have permissions??
and @Wolfbreak does our rom have this?
Pandemic said:
Does @zeppelinrox knows this, that you share it and do you have permissions??
and @Wolfbreak does our rom have this?
Click to expand...
Click to collapse
yup I pm him about dis but why woflbreak?¿
Pandemic said:
Does @zeppelinrox knows this, that you share it and do you have permissions??
and @Wolfbreak does our rom have this?
Click to expand...
Click to collapse
also I found dis on a blog so need to take permission¿?
Want root?
Sent from my ST25i using xda premium
adi.sreyaj said:
Want root?
Sent from my ST25i using xda premium
Click to expand...
Click to collapse
yupp
C00ldUdE8655 said:
HELLOZZ..ppl
BACK WITH SOME TWEAKS FOUND ON A BLOG.....
PROMISING 3G SPEED ON 2G NETWORK:victory:
IT WORKZ FOR ME HOPE WORKSS FOR YOU TOOOO...:fingers-crossed:
Follow ahead :-
1) download this software called 3g/4g speed optimizer from market HERE
2) Download this script manager
3) Download the 3G turbcharger script by zeppelinrox from ATTACHMENT
NOTE: you might want to compare the speed differences after and then of this tweak. If you, then download the NQ mobile security app from here and it should give you a small network meter which shows current network speed. download it, start it, and then download something from the play store to see how much speed you are getting. Its going to get increased soon anyway
Now Follow ahead
Start 3g/4g speed optimizer
-choose network speed as 12/28/7-max speed
-check on down speed increase
-now click on apply tweak.
!!!RESTART YOUR DEVICE!!!
Now open script manager
-browse to the downloaded 3g turbocharger text file
-check on superuser icon(N00BS: the android skeleton icon)
-click on run. script will load. wait till it asks to make a selection...
-scroll up and see what setting you need. fast, faster or fastest. I would recommend fastest. enter the option number.
-again enter the option to reboot.
thats it!
After reboot, your 3G speeds should be increased
To check your speeds, again download something from play store, something bigger than 2-3 megabytes would be preferable as it lets you see how far the speeds can get.
ALSO NOTE: this may not work for everyone, if it doesn't for you, dont blame me, you probably are already getting the max speed from your network operator.
Also I would again like to mention that indian users will be mostly benefited with this tweak. Enjoy, and dont forget to press **THANKS** button if it works for you
CREDITS:zeppelinrox
dev of 3g/4g optimizer and Script Manager
Click to expand...
Click to collapse
bro worked for mee :good:
yipeee
thx a lotzz
C00ldUdE8655 said:
HELLOZZ..ppl
BACK WITH SOME TWEAKS FOUND ON A BLOG.....
PROMISING 3G SPEED ON 2G NETWORK:victory:
IT WORKZ FOR ME HOPE WORKSS FOR YOU TOOOO...:fingers-crossed:
Follow ahead :-
1) download this software called 3g/4g speed optimizer from market HERE
2) Download this script manager
3) Download the 3G turbcharger script by zeppelinrox from ATTACHMENT
NOTE: you might want to compare the speed differences after and then of this tweak. If you, then download the NQ mobile security app from here and it should give you a small network meter which shows current network speed. download it, start it, and then download something from the play store to see how much speed you are getting. Its going to get increased soon anyway
Now Follow ahead
Start 3g/4g speed optimizer
-choose network speed as 12/28/7-max speed
-check on down speed increase
-now click on apply tweak.
!!!RESTART YOUR DEVICE!!!
Now open script manager
-browse to the downloaded 3g turbocharger text file
-check on superuser icon(N00BS: the android skeleton icon)
-click on run. script will load. wait till it asks to make a selection...
-scroll up and see what setting you need. fast, faster or fastest. I would recommend fastest. enter the option number.
-again enter the option to reboot.
thats it!
After reboot, your 3G speeds should be increased
To check your speeds, again download something from play store, something bigger than 2-3 megabytes would be preferable as it lets you see how far the speeds can get.
ALSO NOTE: this may not work for everyone, if it doesn't for you, dont blame me, you probably are already getting the max speed from your network operator.
Also I would again like to mention that indian users will be mostly benefited with this tweak. Enjoy, and dont forget to press **THANKS** button if it works for you
CREDITS:zeppelinrox
dev of 3g/4g optimizer and Script Manager
Click to expand...
Click to collapse
nice mod wil try n post soon
3g on 2g?
Change the thread name dude!
It should be just 'optimize 3g speed'
guys..really necessary to quote OP?
Sent from my LT22i using xda app-developers app
avrojyoti said:
3g on 2g?
Change the thread name dude!
It should be just 'optimize 3g speed'
Click to expand...
Click to collapse
no bro this title is perfect coz it optimizes 2g networks an improves speed like 3g ones
C00ldUdE8655 said:
also I found dis on a blog so need to take permission¿?
Click to expand...
Click to collapse
No then is ok
Well why @Wolfbreak?
Maybe we can use this in our rom JB Moonbreaker v3 and @C00ldUdE8655
Use edit button
:::[ Pandemic ..:: JB MoonBreakers 4 Ever :.
Sent From My Xperia P !! Which Old Dinky Toy Device Else !!
yipee dis moddd tooo worked for meee
bro you r amazing
keep it up:good:
What about HSPA+, like on the Galaxy S3?
Hi there,
What about HSPA+ phones, like my Galaxy S3?
3g/4g Optimizer gives a warning that the "down speed increase" tweak doesn't work on CDMA, HSPA+ and 4g/LTE phones.
I'll leave the "default" tweak for now.
Any advice?
Cheers,
Exxi3
Bro that really works for me
:good:.... works for me too.... thank's
@Exxi3
what about d script??
I cannot use tethering after using this. Any help?
Sent from my ST25i using Tapatalk 2
Little Zed said:
I cannot use tethering after using this. Any help?
Sent from my ST25i using Tapatalk 2
Click to expand...
Click to collapse
it shldn't hapn TRY reinstalling...:fingers-crossed:
Script
@C00ldUdE8655
The script installed np and seems to work fine, got to do some more speed testing
----------------------------------------------
**If coming from development section, the first two zips are only for Evo 3D, JustArchi mods are for most devices**
As always, make a backup, and flash
I am not a developer, I'm a user, so I'm limited in how much I can help you, but I will try.
----------------------------------------------
I want to share a couple projects found in the developers section. When I first started experimenting with scripts and other 'android enhancers', I'd flash them blindly- because I didn't know any better. I've experienced graphical glitches galore, cpu running full throttle all the time, and boot loops. Though luckily no bricks.
More often than not, development projects need to be tuned for a particular device. And that's what's been done here.
The first is operation killjoy, the folks there don't want it to be put into Roms. And they also want a link to the thread, here it is- http://forum.xda-developers.com/showthread.php?t=2411161
They don't want it being used with other mods, and it'll delete such things as Crossbreeder and Seeder, and it'll backup all init.d scripts and use its own, and will also delete sysctl.conf. That's overkill(so this won't delete your init.d, etc). It features dnsmasq and an entropy engine. This is our okj- https://db.tt/aFSWMw65
And the other one is Crossbreeder, it can be put into Roms. I highly suggest using it, the Crossbreeder app can be got here- http://forum.xda-developers.com/showthread.php?t=2113150
Again, for our device- https://db.tt/ZYRciXIl
OKJ and CB shouldn't be used together.
Here is moderately sized Moab hosts file- https://db.tt/aod1UHXL
Edit- 1/27
All credit on this one to @JustArchi
And this last one took me almost a week to put together. It's the killer work by JustArchi. This is for testing purposes only. I pulled it from a CM 4.4 Rom of his and it's working with the 3D. Don't know if it'll work with tether or not. Hope so though. Please test n report.
It can be used with CrossBreeder, but separately. Here's what I mean by that- when installing the zip, it'll know if you have CrossBreeder installed and it'll back it up. It's easily restored though with the push of a button, in the CrossBreeder app.
Or it can be used stand alone. I suggest using it by itself, it's much simpler. It sets up differently in recovery, but still is able to use CB app(link above) to control.
I wanted to modify the cb app to make sense of what I've done with it here. But don't have the skills to do that. There are scripts used to toggle components: turning on/off haveged, enabling/disabling local DNS, applying adblock, switching from Adaway to Mother of all ad blocking(Moab) hosts file, Locking host file(can't modify), toggling Frandom, fstrim script....and they're located at /system/archidroid/scripts. They can be set up and ran with Script Manager, could use widgets to Enable/Disable stuff, I prefer to use CB app and that's how I've set it up. If you don't want to, delete /system/etc/CrossBreeder. If you do, here's how it works
Stand alone(no CB installed)
Switches
Haveged- enables/disables haveged
*Run ZAutomateHaveged as su on boot to get haveged up and running.
Dnsmasq- Disables/restores JustArchi mods, reboots device
TweaksIO- will run a couple scripts, changed how they run because wasn't working before for me
Bypass ISP- Enables/Disables local Dnses
Tether Boost(worthless anyways) - Enables/Disables Frandom
Adblock- Switches between Adaway n Moab hosts, I don't use ultra huge hosts for Moab- it's 11 MB
And/or you can use the JustArchi app found here- https://github.com/JustArchi/ArchiD...oid/auto/system/app/ArchiDroid-ArchiDroid.apk
-----------------------------------
With CrossBreeder
Haveged- Archidroid haveged will be used full time between CB and AD modes, it can be adjusted in ARCHIDROID_INIT in xbin. This switch enables/disables haveged.
DNSMasq- This switch is tricky, off is ArchiDroid(AD) mode and on is CrossBreeder(CB) mode. After flashing zip AD mode is running. Everything is initially disabled except for Monitor DNS and Monitor pixelserv. Switching to on will backup AD and restore CB, but it will try to reboot, and if it does, the switch may not go on(CB) position. In CB mode, turning DNSmasq switch to on will enable dnsmasq. Turning it off will restore JustArchi-ness, and again it will try n reboot. If it's still in on position make sure to slide it to off after reboot. Turning switch to off in AD mode will mess $#it up because I've used primitive scripting. Please forgive me
Tweaks IO- I had to use a strange method to get these to apply in both modes, forgot to mention before, this will also run fstrim. It's funny, found out scripts can run in a loop
Bypass ISP- self explanatory
Tether Boost- Frandom(same)
Adblock- Switches hosts file(same)
I've included an uninstaller script with stand alone 'version', but not yet for w/ cb one, so as always, make a backup. Also left in there a sweet little gal named onandroid, for backing up partitions for clockworkmod recovery, change part. info in adpath. Be careful with this.
**deleted**
Sent from above using Xparent Tapatalk
just sayin', you post a lot of useful and/or interesting goodies, PF.
bigsupersquid said:
just sayin', you post a lot of useful and/or interesting goodies, PF.
Click to expand...
Click to collapse
Ditto
Edit, @bigsupersquid
I'm wondering if you've looked at the pdnsd stuff in Crossbreeder I asked about over there, I can't figure out what it's for(dns caching?) and if it's necessary, and its hard to get answers that help me understand. Do ya know anything about this?
Sent from above using Xparent Tapatalk
PiggyFlooper said:
Ditto
Edit, @bigsupersquid
I'm wondering if you've looked at the pdnsd stuff in Crossbreeder I asked about over there, I can't figure out what it's for(dns caching?) and if it's necessary, and its hard to get answers that help me understand. Do ya know anything about this?
Sent from above using Xparent Tapatalk
Click to expand...
Click to collapse
I did a quick search on it when you mentioned it over there but don't know anything more than what I read real quick-like. sorry.
OP updated with JustArchi Adblock method
Sent from above using Xparent Tapatalk
PiggyFlooper said:
OP updated with JustArchi Adblock method
Sent from above using Xparent Tapatalk
Click to expand...
Click to collapse
Great find... If you like I could alter the CrossBreeder app to reflect the effect of each toggle? (all in main.xml) as long as @fivefour is okay with it.. Just done with apktool... also all the script calls are in MainActivity.smali if you want to change any of those..
What scripts does the 'Tweaks IO" run?
colonel_lp said:
Great find... If you like I could alter the CrossBreeder app to reflect the effect of each toggle? (all in main.xml) as long as @fivefour is okay with it.. Just done with apktool... also all the script calls are in MainActivity.smali if you want to change any of those..
What scripts does the 'Tweaks IO" run?
Click to expand...
Click to collapse
My Lord, you're awesome!
Yeah, I had made changes reflecting toasts and script calls after decompiling, couldn't recompile, kept getting errors w/ apktool on android.
Tweaks IO runs CB_IO_Tweaks.sh
Will you please ask JustArchi too, I don't want to step on any toes.
Please do what you can to bring that app here, I have a concern with the Mode(AD/CB) switch as mentioned in op, can that be fixed?
Edit- just added frandomtest when enabling frandom
Sent from above using Xparent Tapatalk
PiggyFlooper said:
...
Edit- 1/27
All credit on this one to @JustArchi
And this last one took me almost a week to put together. It's the killer work by JustArchi. This is for testing purposes only. I pulled it from a CM 4.4 Rom of his and it's working with the 3D. Don't know if it'll work with tether or not. Hope so though. Please test n report.
It can be used with CrossBreeder, but separately. Here's what I mean by that- when installing the zip, it'll know if you have CrossBreeder installed and it'll back it up. It's easily restored though with the push of a button, in the CrossBreeder app.
Or it can be used stand alone. I suggest using it by itself, it's much simpler. It sets up differently in recovery, but still is able to use CB app(link above) to control.
I wanted to modify the cb app to make sense of what I've done with it here. But don't have the skills to do that. There are scripts used to toggle components: turning on/off haveged, enabling/disabling local DNS, applying adblock, switching from Adaway to Mother of all ad blocking(Moab) hosts file, Locking host file(can't modify), toggling Frandom, fstrim script....and they're located at /system/archidroid/scripts. They can be set up and ran with Script Manager, could use widgets to Enable/Disable stuff, I prefer to use CB app and that's how I've set it up. If you don't want to, delete /system/etc/CrossBreeder. If you do, here's how it works
Stand alone(no CB installed)
Switches
Haveged- enables/disables haveged
Dnsmasq- Disables/restores JustArchi mods, reboots device
TweaksIO- will run a couple scripts, changed how they run because wasn't working before for me
Bypass ISP- Enables/Disables local Dnses
Tether Boost(worthless anyways) - Enables/Disables Frandom
Adblock- Switches between Adaway n Moab hosts, I don't use ultra huge hosts for Moab- it's 11 MB
-----------------------------------
With CrossBreeder
Haveged- Archidroid haveged will be used full time between CB and AD modes, it can be adjusted in ARCHIDROID_INIT in xbin. This switch enables/disables haveged.
DNSMasq- This switch is tricky, off is ArchiDroid(AD) mode and on is CrossBreeder(CB) mode. After flashing zip AD mode is running. Everything is initially disabled except for Monitor DNS and Monitor pixelserv. Switching to on will backup AD and restore CB, but it will try to reboot, and if it does, the switch may not go on(CB) position. In CB mode, turning DNSmasq switch to on will enable dnsmasq. Turning it off will restore JustArchi-ness, and again it will try n reboot. If it's still in on position make sure to slide it to off after reboot. Turning switch to off in AD mode will mess $#it up because I've used primitive scripting. Please forgive me
Tweaks IO- I had to use a strange method to get these to apply in both modes, forgot to mention before, this will also run fstrim. It's funny, found out scripts can run in a loop
Tether Boost- Frandom(same)
Adblock- Switches hosts file(same)
I've included an uninstaller script with stand alone 'version', but not yet for w/ cb one, so as always, make a backup. Also left in there a sweet little gal named onandroid, for backing up partitions for clockworkmod recovery, change part. info in adpath. Be careful with this.
https://db.tt/39I6e6VQ
Sent from above using Xparent Tapatalk
Click to expand...
Click to collapse
here's the right-and-proper archidroid frontend app.
https://github.com/JustArchi/ArchiD...oid/auto/system/app/ArchiDroid-ArchiDroid.apk
from the CB thread before the fracas between fivefour and justarchi which JA ended by withdrawing from the thread.
of course, I learned quite a bit during that discussion, until it ended. but ya gotta respect the wishes of the thread holder.
bigsupersquid said:
here's the right-and-proper archidroid frontend app.
https://github.com/JustArchi/ArchiD...oid/auto/system/app/ArchiDroid-ArchiDroid.apk
from the CB thread before the fracas between fivefour and justarchi which JA ended by withdrawing from the thread.
of course, I learned quite a bit during that discussion, until it ended. but ya gotta respect the wishes of the thread holder.
Click to expand...
Click to collapse
Thanks for the share
I can't use it on ics.
Sent from above using Xparent Tapatalk
I will have a look over the next day or two, for some reason using the cb app modded or unmodded with entropy switch just causes app freeze for me, I'm trying it on xperia v. Running the enable_Crossbreeder script works, but no sysrw for the cm12 ROM I'm using, needs
Code:
busybox mount -o remount,rw /system /system
Will have a look at cb/ad issue but my scripting is pretty basic so ......
You can always send me the files you've changed and I can try recompile if you have errors rather than duplicating what you've done.
Sent from my Xperia V using XDA Free mobile app
colonel_lp said:
I will have a look over the next day or two, for some reason using the cb app modded or unmodded with entropy switch just causes app freeze for me, I'm trying it on xperia v. Running the enable_Crossbreeder script works, but no sysrw for the cm12 ROM I'm using, needs
Code:
busybox mount -o remount,rw /system /system
Will have a look at cb/ad issue but my scripting is pretty basic so ......
Sent from my Xperia V using XDA Free mobile app
Click to expand...
Click to collapse
I welcome any fixes to scripts to make more compatible across devices. Here's that script for Enable CrossBreeder. I put in a 'smaller' CHECK_PROCS so it don't cat as much.
Sent from above using xda premium
Cool, will look when i can, be really good to have an updated CB tool.
Can you get rid of the sysrw as I don't think its very universal.
Sent from my Xperia V using XDA Free mobile app
Sure, is this more universal what ya put earlier-
busybox mount -o remount,rw /system /system
Or a variation thereof?
Also, I sent you a pm, will you please check it out? Can you give me link?
Sent from above using Xparent Tapatalk
PiggyFlooper said:
Sure, is this more universal what ya put earlier-
busybox mount -o remount,rw /system /system
Or a variation thereof?
Also, I sent you a pm, will you please check it out? Can you give me link?
Sent from above using Xparent Tapatalk
Click to expand...
Click to collapse
I guess so, probably wanna reference included busybox though. Have pm'd you a link
Hope you guys get it working!
I spent some time trying to get adblock to work using your mod, but I couldn't. The JustArchi app kept fc'ing with only JustArchi installed, and I couldn't get the mod working either.
With both JA and CB installed the JA app didn't fc anymore, but it didn't function either. CB app worked partly, but it froze on the haveged part. Couldn't get haveged working through CB app that way.
This is only meant to inform you, not as criticism at your workin any way!
JustArchi's work goes way above my knowledge of scripting and programming, but I always was interested in his work.
Glad you guys are working on it, I'm following this thread with great interest [emoji106]
rkuijpers said:
Hope you guys get it working!
I spent some time trying to get adblock to work using your mod, but I couldn't. The JustArchi app kept fc'ing with only JustArchi installed, and I couldn't get the mod working either.
With both JA and CB installed the JA app didn't fc anymore, but it didn't function either. CB app worked partly, but it froze on the haveged part. Couldn't get haveged working through CB app that way.
This is only meant to inform you, not as criticism at your workin any way!
JustArchi's work goes way above my knowledge of scripting and programming, but I always was interested in his work.
Glad you guys are working on it, I'm following this thread with great interest [emoji106]
Click to expand...
Click to collapse
For now, use the CB app(op instructions) or SManager to control.
With this mod, either CB is running, or JA is running, they don't run at same time. Only the haveged remains the same, CB haveged is deleted. You may need to re-enable it upon reboot.
I've been working on the adblock portion of CB, and it should now it should start up after switching adaway/moab host file(Adblock button in CB app) and/or running the scripts with IO Tweaks.
Thank you for informing me, and I can take criticism :thumbup: :thumbdown:
You know what, okay, my mistake, with both ja n cb APPS, it stopped fc'ing. Now I gotcha. I'm slow. Wish I could test with that, sorry. Appreciate it if ya keep letting us know how it goes with the JA app.
I made changes to scripts in how system is mounted rw(ty colonel_lp) to be more universal. With cb applied, whichever hosts will now be copied to /system/etc/CrossBreeder/dnrd_root/master. And pixelserv started upon hosts change.
Might be able to get adblock applied without reboot.
You can try if you'd like, delete this from REMOVE_DNS_CLIENT/ INSTALL_DNS_CLIENT-
echo 1 > /proc/sys/kernel/sysrq 2>/dev/null
sleep 8
echo b > /proc/sysrq-trigger 2>/dev/null
reboot
busybox reboot
I'll update op to recent changes
Edit- Stayed up all last night working on fixes, so many little things, it's much different than when first uploaded, check it out.
Was trying to get Bypass ISP to stick 0.0.0.0(CB) with no luck, it's been gerry rigged, please someone help to fix
Edit2-nvm, my silly self didn't have dnsc in there
Sent from above using Xparent Tapatalk
Well, I just put the finishing touches on the JA/CB project, probably jinxing myself saying that. There may be a dedicated app to go along with this, still up in the air.
Please tell me if ya find any bugs.
So many thanks to colonel_lp for help with this.
My Thanks to idcrisis/fivefour
Much thanks to JustArchi
I'm wondering if this topic should be renamed??
Sent from above using Xparent Tapatalk
Started Wifi Tether, dnsmasq monitoring stopped dnsmasq stopped, but can't confirm tether working because no service plan
Sent from above using xda premium
Have a question for anyone that knows, when disabling local dns's with JA, it still shows up as my ISPs, that doesn't seem right. Am I missing something.
Sent from above using Xparent Tapatalk
PiggyFlooper said:
Have a question for anyone that knows, when disabling local dns's with JA, it still shows up as my ISPs, that doesn't seem right. Am I missing something.
Sent from above using Xparent Tapatalk
Click to expand...
Click to collapse
I thought that it is supposed to work like that, as you are disabling local DNS (= DNS server on your device), so going back to your providers DNS?
By enabling local DNS, you're phone starts acting like a DNS server itself.
But I could be very wrong here, don't know for sure.
Btw, your latest mod is working perfectly for my OnePlus One on ColorOs 4.4.4, using the JA app for configuration. Haven't tried it with the CB app yet, to be honest. Thank you for making things work!
But I don't really notice any difference in speed, smoothness or usability between cb and ja mod, do you? Could be different for other (older) phones with less ram or slower processor, but the OnePlus runs both mods equally smooth.
I was using cb merely for its ability to not only block ads, but erase them without any trace on a page as well. JA adblocking is working perfectly also.
I remember reading something in the past, about JA using different, more stable and newer techniques? Not sure if the difference between the two mods is big enough to notice?
Hello.
I've been asked by some fellows here at xda what settings I use for my general usage.
I've settled on my values and seem stable for everyday use.
So here's a script I made up, based on Fairpark profile from AKT Thread.
I consider them final and most likely won't need to update it, but if I do I'll post here.
It uses my own values I consider the best for battery saving without compromising performance much.
(benchmarks results are as good as stock)
I'm currently at 60% battery with 3 hours SOT, using chrome messenger and facebook over LTE.
Pretty nice I'd say, I had around 2 hours SOT at 50% with stock settings, same usage scenario.
You could further improve this with Lspeed from play store, and/or underclock the device although not recommended.
How to use:
Download the file, change the extension from .pdf to. sh and run this with every script execution app like script manager.
Run on boot is recommended.
All credits go to their respective owners, I just used what data was out there and tweaked the best values for my device, I cooked this, not made it from scratch, thanks everyone for providing to the community. (credits are also untouched on the script)
Update: @raystef66
Raystef made a flashable zip with the mod if you prefer it that way, should be more straightforward, flash it and you're done, you can find it here:
https://forum.xda-developers.com/showpost.php?p=74742554&postcount=26
Nice job!
Update #2: @raystef66
There is also now a magisk module available for this, pretty cool if you ask me.
Thanks Raystef!
https://forum.xda-developers.com/showpost.php?p=75631796&postcount=169
Update #3: @raystef66
There is an updated version of the magisk module available for this!
Thanks Raystef!
(the name may be test but it's 100% the same as the V3-2. )
https://forum.xda-developers.com/showpost.php?p=76244793&postcount=215
Thanks for this. It's it for stock or Los based roms?
joaste said:
Thanks for this. It's it for stock or Los based roms?
Click to expand...
Click to collapse
If I'm not mistaken this is not rom specific and can be used on any rom.
Happy tweaking!
Sorry for a noob question, but do you need to be rooted to run the script?
lilbluemirage said:
Sorry for a noob question, but do you need to be rooted to run the script?
Click to expand...
Click to collapse
how would you run the script otherwise?
lilbluemirage said:
Sorry for a noob question, but do you need to be rooted to run the script?
Click to expand...
Click to collapse
Choose an username... said:
how would you run the script otherwise?
Click to expand...
Click to collapse
Just as he said, don't worry we were all noobs once, no one was born and knew about this stuff.
You need root, doesn't work otherwise.
do i need a prop editor or a file explorer to use this?
gecko702 said:
do i need a prop editor or a file explorer to use this?
Click to expand...
Click to collapse
No need for a prop editor at all.
And no need for a file manager unless you want to put it on init.d.
Easiest way would be to just download script manager from the google play, find the file from inside the app and run it as root and on boot toggled.
nfsmw_gr said:
No need for a prop editor at all.
And no need for a file manager unless you want to put it on init.d.
Easiest way would be to just download script manager from the google play, find the file from inside the app and run it as root and on boot toggled.
Click to expand...
Click to collapse
ok thank you will try some reason my battery drops even at idle with greenify and amplify lol after an hr used to last longer 100% in hrs at idle im hoping for a proper amplify guide to set the blocks at the recommended seconds
cant download for some reason keeps giving me pdf error xD hmmmm maybe put it in a zip file? i click and takes me to the pdf reader in chrome
gecko702 said:
ok thank you will try some reason my battery drops even at idle with greenify and amplify lol after an hr used to last longer 100% in hrs at idle im hoping for a proper amplify guide to set the blocks at the recommended seconds
cant download for some reason keeps giving me pdf error xD hmmmm maybe put it in a zip file? i click and takes me to the pdf reader in chrome
Click to expand...
Click to collapse
I see.
Mine on idle takes literally hours to drop
Hope you figure out what's wrong
nfsmw_gr said:
Hello.
I've been asked by some fellows here at xda what settings I use for my general usage.
I've settled on my values and seem stable for everyday use.
So here's a script I made up, based on Fairpark profile from AKT Thread.
I consider them final and most likely won't need to update it, but if I do I'll post here.
It uses my own values I consider the best for battery saving without compromising performance much.
(benchmarks results are as good as stock)
I'm currently at 60% battery with 3 hours SOT, using chrome messenger and facebook over LTE.
Pretty nice I'd say, I had around 2 hours SOT at 50% with stock settings, same usage scenario.
You could further improve this with Lspeed from play store, and/or underclock the device although not recommended.
How to use:
Download the file, change the extension from .pdf to. sh and run this with every script execution app like script manager.
Run on boot is recommended.
All credits go to their respective owners, I just used what data was out there and tweaked the best values for my device, I cooked this, not made it from scratch, thanks everyone for providing to the community. (credits are also untouched on the script)
Click to expand...
Click to collapse
You should do some io-schedulers tuning too. ;~}
denf666 said:
You should do some io-schedulers tuning too. ;~}
Click to expand...
Click to collapse
I could yeah, good idea.
I've done that in the past but to be honest I didn't see much difference either in battery life nor in performance.
I may as well dig that up and update it just for the heck of it.
V2 Update.
I thought I wouldn't update this but I tried to make it a bit more efficient because I wasn't satisfied.
Without further ado, I've uploaded the V2 of the mod on this post and on the OP.
As usual change the .pdf to .sh and execute with script manager or your prefered script app. (or init.d)
Changes from V1:
Tried to optimize as completely as possible through multiple system sections.
More specifically:
Full interactive CPU Governor tweaks (based on ghostpepper this time though with some stricter frequency handling and hmp settings, still good performance though when needed)
IO (noop for battery efficiency, shouldn't affect everyday usage)
GPU (max freq available)
VM (dirty ration, dirty background, vfs cache and more)
Entropy (reduced for battery efficiency, no performance penalty on our device)
LMK (optimal values).
Try it and tell me how it compares to v1 after a couple of days of usage.
I don't think I can do better than that without hurting performance much.
Results.
Here's some benchmark results, battery results, and cpu frequency utilization stats with the mod applied.
I've never reached so much SOT with any device I owned, and I've owned plenty.
Hope that gets you all covered.
Keep in mind these are with the V2 version. Browsing, messaging, general light use.
Your usage scenario will change the battery life depending how much you push your device, but it should still be better than stock.
@raystef66 this may interest you.
nfsmw_gr said:
Here's some benchmark results, battery results, and cpu frequency utilization stats with the mod applied.
I've never reached so much SOT with any device I owned, and I've owned plenty.
Hope that gets you all covered.
Keep in mind these are with the V2 version.
@raystef66 this may interest you.
Click to expand...
Click to collapse
Have seen it my friend :good: Nice looking SOT (i've around4.-5h), nice battery slope. I'm over your benchmark results @ the moment, but the battery life interests me more.
Like said i will implement and test today. I've sent you a PM with other tweaks on MF5.0
Let's work on this
nfsmw_gr said:
Here's some benchmark results, battery results, and cpu frequency utilization stats with the mod applied.
I've never reached so much SOT with any device I owned, and I've owned plenty.
Hope that gets you all covered.
Keep in mind these are with the V2 version.
@raystef66 this may interest you.
Click to expand...
Click to collapse
Thanks for the tweaks. Can you tell me what ROM you're on?
raystef66 said:
Have seen it my friend :good: Nice looking SOT (i've around4.-5h), nice battery slope. I'm over your benchmark results @ the moment, but the battery life interests me more.
Like said i will implement and test today. I've sent you a PM with other tweaks on MF5.0
Let's work on this
Click to expand...
Click to collapse
Replying right now, lets do some magic
joaste said:
Thanks for the tweaks. Can you tell me what ROM you're on?
Click to expand...
Click to collapse
I'm on RR Latest Stable with Llamasweet kernel latest as well.
nfsmw_gr said:
Replying right now, lets do some magic
I'm on RR Latest Stable with Llamasweet kernel latest as well.
Click to expand...
Click to collapse
Thanks.
Is a reboot enough to undo the tweaks (assuming the script is not reapplied at boot of course)?
joaste said:
Thanks.
Is a reboot enough to undo the tweaks (assuming the script is not reapplied at boot of course)?
Click to expand...
Click to collapse
Yes it is, you should be clean after a simple reboot.
The recommended way is to execute it with script manager.
You could try putting it on init.d but I haven't tested it like that, you'll need to verify the values are correct if you use this method to be sure it's working.
nfsmw_gr said:
Yes it is, you should be clean after a simple reboot.
The recommended way is to execute it with script manager.
You could try putting it on init.d but I haven't tested it like that, you'll need to verify the values are correct if you use this method to be sure it's working.
Click to expand...
Click to collapse
Thanks again for the time taken.
I ran the script through Root browser classic and the settings changed on Candy7. I tried through init.d with KA, but couldn't get it to work (I don't use that often so perhaps did something wrong).
I'll let you know how it goes.