Android OS Forum banner

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

209483 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.
361 - 380 of 1471 Posts
"D3M0NYK said:
So here is what I have found, some ROMS by default have the busybox in system/bin while imoseyon (and I am assuming BMc's) tweaks put it in system/xbin. Hence why the deletion of the one in system/bin seems to be necessary.
My script doesn't install busybox currently. Next update will. Delete and versiobs of busybox yu have via root explorer in bin or xbin. Grab the busybox installer from the market choose 1.7.1 or newer and install it in system/xbin. Then try it. Also make sure yu don't have a cron folder already and make sure yur build.prop is clear of any of my edits(ro.ril entries at bottom) before running the unthrottle script
"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
Certainly can ill work on and maybe add an option that lets yu select if yu want it in next update
"BMc08GT said:
My script doesn't install busybox currently. Next update will. Delete and versiobs of busybox yu have via root explorer in bin or xbin. Grab the busybox installer from the market choose 1.7.1 or newer and install it in system/xbin. Then try it. Also make sure yu don't have a cron folder already and make sure yur build.prop is clear of any of my edits(ro.ril entries at bottom) before running the unthrottle script
Ill give it a shot. Any idea though what would be causing the decrease in speeds?
Not exactly sure of what is causing the decrease in speeds. I saw this once and it was rectified by clearing out my build prop. I had 4 sets of my edits in there somehow
"BMc08GT said:
Certainly can ill work on and maybe add an option that lets yu select if yu want it in next update
Thank you kind sir.
Any luck with the Stock Rooted 602 BMc?
"yearn said:
Any luck with the Stock Rooted 602 BMc?
Still trying to find time to unthrottle it. It will get done tho
  • Like
Reactions: 1
still trying to figure out why this hates me so much lol. Since trying to use the .jar version on gb cm it just causes boot loops for me. sbf'ed twice, not a knock at your work as I love it and have used it since your first release, just can't figure out why it keeps boot looping me. Anybody else get boot looping when using the new jar version on cm4dxgb?
"blackadept said:
still trying to figure out why this hates me so much lol. Since trying to use the .jar version on gb cm it just causes boot loops for me. sbf'ed twice, not a knock at your work as I love it and have used it since your first release, just can't figure out why it keeps boot looping me. Anybody else get boot looping when using the new jar version on cm4dxgb?
Something changed in the most recent nightly so it isn't working for now. I am sure it will be fixed before too long. You could roll back to an older nightly.

Sent from my DROIDX using RootzWiki Forums
"blackadept said:
still trying to figure out why this hates me so much lol. Since trying to use the .jar version on gb cm it just causes boot loops for me. sbf'ed twice, not a knock at your work as I love it and have used it since your first release, just can't figure out why it keeps boot looping me. Anybody else get boot looping when using the new jar version on cm4dxgb?
What version of cm4dxgb you using? It works on 8/29 and previous. I need to update the services.jar for it
ahh yes using the newest release, also managed to get some logs and it was acting wacky with a couple custom lib files I made for gps and video. So will roll back to 8/29 for time being, also give me time to figure out why my libs decided to be stupid and go crazy over the tweaks. Thanks bmc and shane, preciate y'alls quick response.
I just tried it on APEX 2.0 RC3

i removed my duplicate busybox in the bin folder beforehand

pre

183/350kbps ping116
191/176 118
469/317 118

after
255/544 131
523/432 122
722/412 114
See less See more
Hello everyone. New to the site and love it so far, Here is a question for all who are running MIUI 1.8.19 as that is what I am running on the ol X. Has anybody else encountered the issue that post #69 had on page 7. I too am having that issue. I mean it is not a big hindrance I would much rather have faster speeds than know battery stats. Just curious as to the cause of this.
Hey tried this on shuji 2.1.... Seems to be ok.. Just that cron error.

Edit... Cron error went away after a reboot and rerunning the script. Then I checked build.prop and noticed I had two sets of the tweaks (ro.rll) sent the file to my comp and edited it in NotePad taking the last set of tweaks out and replaced it back in /system. Reboot. All is well.
"Blacksantron said:
Hey tried this on shuji 2.1.... Seems to be ok.. Just that cron error.

Edit... Cron error went away after a reboot and rerunning the script. Then I checked build.prop and noticed I had two sets of the tweaks (ro.rll) sent the file to my comp and edited it in NotePad taking the last set of tweaks out and replaced it back in /system. Reboot. All is well.
Good to know its working. Make sure there is a blank line at bottom of the build prop
"BMc08GT said:
Good to know its working. Make sure there is a blank line at bottom of the build prop
Yeah... When ya open it in NotePad there are little boxes that represent a null line.. Leave the last box
yep..
http://code.google.com/p/powerboost/downloads/detail?name=.jar files.zip&can=2&q=#makechanges

Jar folder has been added to download list. In it you will find a suprise for you CM4DX-GB users. ;)
BMc08GT said:
http://code.google.com/p/powerboost/downloads/detail?name=.jar files.zip&can=2&q=#makechanges

Jar folder has been added to download list. In it you will find a suprise for you CM4DX-GB users. ;)
Very nice BMc08GT, downloading now along with 9/02 CM4DX-GB. Will let you know all about the miracles you have wrought in a while. Thank you again for your work.
:x
Logo-looping on 8/29. yay more SBFing...
361 - 380 of 1471 Posts
Status
Not open for further replies.
Top