Android OS Forum banner

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

209482 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.
461 - 480 of 1471 Posts
Shane269 said:
Which phone? Which rom?

Sent from my DROIDX using RootzWiki Forums
Oh yeah DroidX running MIUI 1.9.9.1
Confirm running Miui 1.9.91 and trying battery usage leads to hot reboots. Also tried checking for cron install in terminal emulator
Sunday, enter, prep crowd but no number. Just fyi. Install if unthrottle.txt ran uneventfully wit reboot request at the end.
So if I understand correctly, this does not work 4 droid x running MIUI 1.9 .9 .1?

~Sent from my Droid X running MIUI 1.9.9
Well I gave this a whirl and I didnt see any difference. sigh But dont take my word for it though, Our area, thanks to the flood in NY our 3g service is dropping constantly.
would like to try this running CM7DX-GB latest one out, install instruction seem straight forward, but one thing i saw on the code.google site

"To verify cron is enabled open Terminal Emulator and type su and hit Enter. Then type pgrep crond
If it spits out a number it is working and you are good to go."

well i got nothing guess this would need to be running and havent had time to search on how to get this running, yes im looking for the easy way
or is this really needed for this script

thanks
Hey BMc, just wrapping up the last files I am pulling. Will be emailing you a zip with 15 builds ranging from stock .340 to stock.602 and all the associated roms for each on their latest build. Will included service.jar and build.prop for each. Should be done in a few minutes.
"D3M0NYK said:
Hey BMc, just wrapping up the last files I am pulling. Will be emailing you a zip with 15 builds ranging from stock .340 to stock.602 and all the associated roms for each on their latest build. Will included service.jar and build.prop for each. Should be done in a few minutes.
Thanks man big props for the assist
"jlmr said:
would like to try this running CM7DX-GB latest one out, install instruction seem straight forward, but one thing i saw on the code.google site

"To verify cron is enabled open Terminal Emulator and type su and hit Enter. Then type pgrep crond
If it spits out a number it is working and you are good to go."

well i got nothing guess this would need to be running and havent had time to search on how to get this running, yes im looking for the easy way
or is this really needed for this script

thanks
What busybox version do you have installed?
"fakiesk8r333 said:
ok so i have a question about the newest version of the script. once you get it to replace the jar files, how will it do that? Will the script move the jar file to the unthrottle folder and then copy it to the phone or will it copy it straight from the jar folder to the phone. just a random question, im not really sure how these scripts work lol
I currently am setting it up to run it all from unthrottle folder. Now whether I include the jar_files folder in the zip or make a separate folder that will need to moved into the unthrottle folder is still up in the air. Its currently sitting at 13MB and there is still one or two more jars to add.
"Jnehama said:
Confirm running Miui 1.9.91 and trying battery usage leads to hot reboots. Also tried checking for cron install in terminal emulator
Sunday, enter, prep crowd but no number. Just fyi. Install if unthrottle.txt ran uneventfully wit reboot request at the end.
You ran pgrep crond correct?
And not prep crowd?

Also the battery usage issue has been on other miui builds as well.
"as_daylight_dies said:
So if I understand correctly, this does not work 4 droid x running MIUI 1.9 .9 .1?

~Sent from my Droid X running MIUI 1.9.9
It does work. You just have to make sure you are on busybox v1.17.1 and you follow the directions for installation
BMc08GT said:
What busybox version do you have installed?
busybox v1.19.1-cm71 it would be one that came with rev's cm7dx
Just sent you the files BMc. Good luck. Heading to bed now as I gotta be at work in a few hours.
"BMc08GT said:
You ran pgrep crond correct?
And not prep crowd?

Also the battery usage issue has been on other miui builds as well.
Definitely pgrep crond. Did it several times. Rereading everything, is the busybox installed part of the script or do I need to update it myself? I just checked and still on 1.16.2. Will Give updating a try.
How/where do I check which version of busybox i have?
"Jnehama said:
Definitely pgrep crond. Did it several times. Rereading everything, is the busybox installed part of the script or do I need to update it myself? I just checked and still on 1.16.2. Will Give updating a try.
Went ahead and installed busybox 1.71 ran restore.txt and rebooted. Then reran unthrottle.txt and rebooted. Still no go. Took pic of scriptmanager in case it's not running right. I'm going to restore for now let me know what else to try.

Attachments

See less See more
you need
to put
the script
and the files
in
SDCARD/UNTHROTTLE/
or else it won't work!

are we clear guys? it's been like that since the .jar was added!
"Jnehama said:
Went ahead and installed busybox 1.71 ran restore.txt and rebooted. Then reran unthrottle.txt and rebooted. Still no go. Took pic of scriptmanager in case it's not running right. I'm going to restore for now let me know what else to try.
Copy and paste the whole thing into an email or a pm and ill take a look
Boot loop on CM4DXGB - 2011-09-08 build

I had Jakes mod v9 installed prior to executing unthrottled.txt.

I copied the services.jar from the CM4DX GB folder in the .jar files folder that was extracted from the zip to the unthrottle folder on the root of my sdcard.

I had the initial long boot delay at the CM7 boot logo, but at the end a constant quick boot-loop.

SBFed
jlmr said:
busybox v1.19.1-cm71 it would be one that came with rev's cm7dx
need v1.17.1
461 - 480 of 1471 Posts
Status
Not open for further replies.
Top