Android OS Forum banner

[Mod] Powerboost V2.2 rough RC ready for DX and D2/D2G [Possible Universal Unthrottle Exploit Found]

209648 Views 1470 Replies 176 Participants Last post by  BMc08GT
3
PB 2.1.0 is released EXCLUSIVELY on DX MIUI ICS 1.11.9.

PB 2.2 will released to all 8 devices. [Still WIP]
***Please note that PB 2.2 is UNIVERSAL to ALL devices, except for the swap recovery option. (Available to DX, DX2, D2, D2G, OG, Bionic, EVO, NS4G)

Please take time to read entire OP. Utilizes a much better install method and new method for running scripts

Huge Credit goes out to all these awesome people for helping me develop, test, and get this to where it is today. If i missed anyone please let me know!


Code:
<br />
JRummy16<br />
Droid Th3ory<br />
Razorloves<br />
fakiesk8r<br />
brentblend<br />
shane269<br />
iluvamk<br />
blacksantron<br />
blackadept<br />
mcansh.logan<br />
rooster<br />
synik4l<br />
shane norwood<br />
dbond306<br />
barracuda cm<br />
D3MONYK<br />
DXC<br />
raidzero<br />
There is many more just let me know!


MODS Description(Also available in terminal by typing PBhelp after yu gain root #)
HTML:
Build.Prop edits
These are edits made to the build.prop that I have changed to increase performance, battery life, and data speeds.

Cron
Cron is a popular time based job scheduler on Unix/Linux, and is super useful as you can virtually run any command or script periodically at certain times or dates.
---For this script I have cron erasing vm caches twice daily, at 2am and 2pm.

SD card speed increases
--increases speed of sdcard reads by reading 1024kb ahead

Sysctl tweaks
Edits to the sysctl.conf file in /system/etc/ These tweaks are for performance to allow device to run better.

File System Speed increases
Same as SD but for file systems

Swap(if device supports)
Swap moves inactive processes into virtual memory, allowing the device to not become laggy or slow down.
Powerboost Conservative CPU Governor Information:

From Kernel Documentation:
The CPUfreq governor "conservative", much like the "ondemand" governor, sets the CPU depending on the current usage. It differs in behaviour in that it gracefully increases and decreases the CPU speed rather than jumping to max speed the moment there is any load on the CPU. This behaviour is more suitable in a battery powered environment.


However, this gov is changed from your normal conservative governor. The changes are:
* Down Threshold changed to 40%--Steps down the CPU if usage is below 40%
*Ignore Nice Load is set to 1--ignore usage of not so important tasks
*Sampling rate changed to 160000--makes cpu change decision more frequent than default conservative
*Freq Step is set to 16-- CPU stepping will take place in 16% increments, thus allowing faster up-step of cpu levels, and quicker down-step of cpu levels=better battery life

The modifications are designed to increase battery life by allowing more emphasis on keeping cpu level down and allowing it to go back to min level quicker.


Current Bugs:
Mobile Network Settings will FC. Fixed in 2.2
Battery Icon in Status Bar Disappears for some users(Only seen in MIUI-but top bar works) Fixed in 2.1.0


Changelog
12.2.11
Universal Unthrottle Exploit Found. 2.1.0 scrapped and 2.2 in progress. Will feature much smaller zip, 1000 fewer lines of code, and only 1 zip for all devices.
11.24.11
Released Exclusively on DX MIUI ICS 1.11.9 test build.
Includes MANY MANY changes that will be addressed here upon official MD release.

10.10.11
MAJOR Overhaul of entire script.
#Check for busybox and installs correct version.
#Added support of ;
*OG DROID MIUI
*NS4G MIUI, CM7, and Oxygen 2.3 ROM
*EVO 4G Kingdom rewind 3d rom support
*DROID BIONIC [R3]BLURR3D v1.7 PBX support (Its already baked in that ROM
)
*Droid X CM7 9.15, 9.29 build support, and MIUI GB support
*Vortex ROM support(v2.0 and up)
*Liberty ROM support(v0.8)
*ICX 605 ROM support
*Liquid 3.0 support
*DROID X2 Eclipse v1.0 support
#checks throughout unthrottle process to make sure directories are in place
#Functional restore script that completely deletes all powerboost mods
#checktweaks script to make sure they installed correctly.
#Brand NEW interface for script.
#Much easier initial set-up process and much easier install process; no more need for Script Manager
#All scripts[unthrottle, checkmods, restore, mods] included in ONE script for added ease of use
#Allows users to pick DEVICE, ROM, and NIGHTLY/VERSION[if applicable]
#More tweaks
9.27.11
v1.9 abandoned. v1.95 in the works.major changes to be included.
8.30.11
Finally got script to cooperate with new updates. Cron, sysctl, sdcard speeds, file system tweaks, and more. New project home linked to google code. Succesfully tested on roms.
8.21.11
-Correct process of replacing classes.dex corrected by swapping out entire services.jar file. Script edited.
8.19.11
-Script optimized for increased speed and stability by including WORKING build.prop edits that are compatible with MIUI.
8.18.11
-Script Written and executable. Strips services.jar of all throttling files.


--------------------------------------------------------------------------

Please consider donating to my broke college student fund if you like my work. Any amount is appreciated.


PayPal Link
See less See more
  • Like
Reactions: 5
Status
Not open for further replies.
1 - 20 of 1471 Posts
Will this force close on mobile networks?

Sent from my DROIDX using Tapatalk
so i am taking that the script worked?

i am experiencing fc's (com.android.phone) when trying to open mobile network settings. I am unsure why at this point though. Do you know how to run a logcat?
BMc08GT said:
so i am taking that the script worked?

i am experiencing fc's (com.android.phone) when trying to open mobile network settings. I am unsure why at this point though. Do you know how to run a logcat?
I haven't ran it yet since I'm on liquid. So this script just replace the classes.dex file that has data throttle removed? I usually remove it manually. I always get force closure when I try to access mobile networks after I remove the data throttling and replace the classes.dex file.

Sent from my DROIDX using Tapatalk
Ya this is just a script that does it automatically for you. I am still getting the fc's too. Are you able to run a logcat of the error message it spits out when it you try to access it?
it just gives me a syntax error when i try to run the script
added new link to the op. had filesystems wrong.

hold on ill link the correct new one
ok now download. my apologies
figured out the issue with the 3gbooster on xda...incorporating a build.prop edit into my next script
BMc08GT said:
figured out the issue with the 3gbooster on xda...incorporating a build.prop edit into my next script
The issue of WIFI breaking when you run the 3G booster?

Also what are the commands to get you a logcat? I am not a noob by no means but I have never ran a logcat before.

EDIT: I ran the script but I dont think it changed anything because I have no FC on mobile networks. I am going to decompile the services.jar file and see if it did make changes. (I am on LIQUID)

EDIT 2: I decompilled the services.jar and it didnt have the data throttling removed. I went ahead and removed the data throttling. I couldnt attach the file it was too big.
  • Like
Reactions: 1
Hmm strange I'll have to take a look at it. Thanks for the heads up
bigshotrob22 said:
The issue of WIFI breaking when you run the 3G booster?

Also what are the commands to get you a logcat? I am not a noob by no means but I have never ran a logcat before.

EDIT: I ran the script but I dont think it changed anything because I have no FC on mobile networks. I am going to decompile the services.jar file and see if it did make changes. (I am on LIQUID)

EDIT 2: I decompilled the services.jar and it didnt have the data throttling removed. I went ahead and removed the data throttling. I couldnt attach the file it was too big.
Yes the issue of wifi being disabled. WiFi is still looking working me all day. Ive disabled and reenabled it a dozen times. ill pm the test script for you
OP updated with new script. Enjoy and let me know of any problems you run into. If your wifi is not working correctly, (although I have had ZERO problems after a dozen or so toggles of wifi and data) a reboot should suffice. If not navigate to /system in rootexplorer and mount R/W. Then delete the updated build.prop named "build.prop" and rename the old one "build.prop.old" back to "build.prop". and rebooot. then rerun the script and reboot.
Np hope it works for you. This is all brand new to me lol
Is this strictly for miui or has anyone else tried on a different Tom? Thanks
so far its only been tested on MIUI as it replaces the classes.dex of the services.jar in framework as well as some build.prop edits. but since MIUI is built off of CM7 i assume it should be compatible with CM. Just an assumption.
Just ran it, we'll see how my speeds improve.

EDIT: dropped from 625/413 kbps to 431/395 kbps after running.
:/

Gonna SBF and try again I think.
'[TSON said:
;66930']Just ran it, we'll see how my speeds improve.

EDIT: dropped from 625/413 kbps to 431/395 kbps after running.
:/

Gonna SBF and try again I think.
hm this is the first drop result i have encountered. try running more than one. it should stabilize around 1500ish on peak and 2200-2500 off peak.
Oh wow wtf big difference now that I ran a couple more:

1573/814 kbps
1703/540 kbps
2014/804 kbps
1955/727 kbps
1850/789 kbps

averages out to:
1819/735 kbps

before I was getting:
625/413 kbps

wow, insane. Thanks a lot!

EDIT: Yeah I definitely think that the thing with this is that it makes 3G really touchy when you first turn it on, speeds are a lot slower initially, but if I give it a couple minutes the speeds get REALLY fast. I just did 2 more tests after telling JuiceDefender to leave data alone...

2299/800
2006/798

Let my screen turn off, waited for 3G to turn on again, and did a speedtest right away:

1147/671
See less See more
1 - 20 of 1471 Posts
Status
Not open for further replies.
Top