Android OS Forum banner

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

209490 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.
381 - 400 of 1471 Posts
"[TSON said:
"]:x
Logo-looping on 8/29. yay more SBFing...
Did yu use new jar for cm4dx or the old one? The folders are labeled accordingly. 8.29 is for the old version and 9.2 will work on 9.2 ans should work on 8.30-9.1 as well although its untested.
er, I used whichever one came with 1.8.2..
"[TSON said:
"]er, I used whichever one came with 1.8.2..
Hm it was working for other people I thought let me read back and check
"[TSON said:
"]er, I used whichever one came with 1.8.2..
You need to change out the default jar file for the CM4DX one. I used it on 8/29 build with no issues.
Working like a charm on 9/02 BMc. Pulling 1.5-2.0 down. Excellant work again sir.
worked when I swapped out the jar file. I wish that could be automated :/
"[TSON said:
"]worked when I swapped out the jar file. I wish that could be automated :/
I'm looking into it. Hopefully its possible
"BasfordXela said:
BMc08GT, can you make a copy of this without the unthrottle or is this the only thing that power booster really offers? I am asking because even tho I'd like my data to be unthrottled I usually turn mine off at the house because drains battery a lot due to poor reception, and with the unthrottle it makes it where you can't. So I figure I could still use whatever other tweaks you have in the program.. if you can't that's fine..but thanks
Hey basford for the time being you could actually delete the service.jar file out of the unthrottle folder completely, which will prevent the swap with the unthrottled one. The rest of the tweaks will still apply. You will get a cp error but it will still work.
Update is in the works.
Stupid?. Does it swap service.jar file in framework?
"iluvamk said:
Stupid?. Does it swap service.jar file in framework?
Yep that's where the swap takes place
Just flashed from 8/30 that was running BMc's 1.5 script pulling in max of 2.4Mbps, to 9/2 with BMc's 1.8.2 gonna see what i can pull in for the speeds
After running 1.82 I checked propertiea of service.jar in framework and it didn't show that had been updated. I rebooted and it rebooted very fast. So I then manually replaced service.jar then ran the script and rebooted. Reboot took a lot longer. Seems to download faster over 3g..
"iluvamk said:
After running 1.82 I checked propertiea of service.jar in framework and it didn't show that had been updated. I rebooted and it rebooted very fast. So I then manually replaced service.jar then ran the script and rebooted. Reboot took a lot longer. Seems to download faster over 3g..
What rom are you running? Were any errors spit out when running script?
9.02 CM7GB with Jakebytes. No errors popped out in script manager and crom spit out numbers in terminal. Rebooted after running scripts first time and it rebooted as fast as usual. Thats way I checked the modified date on service.jar in framework. Said it hadn't been updated. That's when I manually replaced with your service.jar and reran scripts and rebooted. That reboot took way longer. Maybe I didn't set up the unthrottle folder right to begin with. There was datathrottle.txt, another txt file and then the service.jar file that I manually put there.

PM me if u want more info.
Also I know the script ran because my build.prop was modified @ the time I ran it.
"iluvamk said:
9.02 CM7GB with Jakebytes. No errors popped out in script manager and crom spit out numbers in terminal. Rebooted after running scripts first time and it rebooted as fast as usual. Thats way I checked the modified date on service.jar in framework. Said it hadn't been updated. That's when I manually replaced with your service.jar and reran scripts and rebooted. That reboot took way longer. Maybe I didn't set up the unthrottle folder right to begin with. There was datathrottle.txt, another txt file and then the service.jar file that I manually put there.

PM me if u want more info.
Ok well the service.jar that comes in the unthrottle folder is for MIUI by default. The manual copy/paste from the jar folder to the unthrottle folder is necessary for the roms that are supported. Hopefully I can have this be automatic and I'm looking into implementing it in v1.9
The unthrottle zip I downloaded had no service.jar on it. It had two files in it - classes.dex and dataunthrottle.txt. That's it. No service.jar. I downloaded the zip from your op. Do you have another link that I could try to see if its different then the one I have?
Never mind I just figured out what I did wrong.
Keep updating. Auto detect would be sweet.
381 - 400 of 1471 Posts
Status
Not open for further replies.
Top