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.
281 - 300 of 1471 Posts
are you sure you're holding the right buttons to get into recovery? it changed in GB i think
yeah finally got into bootloader after about 50 tries the phone was actually freezing at the boot logo. sbfed 3 times now and it keeps getting stuck at boot animation. get into stock recovery and hit the search button...nothing. now what do i do?
I wanna say its the volume down button. But check the forums b/c I've been in 2nd int roms for a while now. If you can't find it let me know and ill get it for you.
i tried every button, got an sbf from somewhere else trying it now...
got it to boot finally...had me scared there for a little while. never had a problem like this before. has anyone gotten it to work on cm4dxgb?
Will the script for Shuji 2.0 work to unthrottle the data on Stock rooted 602?
Just tried on a fresh install of the latest CM4DXBG and it is bootlooping BMc. Wanted to try on fresh to make sure i didn't goof anything up. going to see if i can restore services.jar via adb.
1loudsvt said:
got it to boot finally...had me scared there for a little while. never had a problem like this before. has anyone gotten it to work on cm4dxgb?
I had it working on the 8/29/11 build just fine. Its the 08/30/11b that I am having issues with.
"D3M0NYK said:
I had it working on the 8/29/11 build just fine. Its the 08/30/11b that I am having issues with.
What was changed from 8/29 to 8/30b? I pulled the services jar from 8/28. So its possible that something may have changed with one of the files? But it usually only changes on kernel switches
"yearn said:
Will the script for Shuji 2.0 work to unthrottle the data on Stock rooted 602?
No. Send me your services jar
Installed fine last night on CM4DX GB. Just ran a speed test and the results are fantastic!
Like I said it works fine on nightly 8/29 but not on 8/30b. I tried one more time with no other tweaks in place to make sure. Do you need the service.jar BMc? I can pull it for you in a few min.

*EDIT* Grabbing the .602 services.jar on my way to 8/30b CM4DXGB so I can get you both if needed.
I really want this script but I'm going to wait til i hear confirmation that Shuji 2.0 is definitely working and the exact steps someone used who has it working on 2.0. It seems it may be working for some and not for others.

Sent from my DROIDX using Shuji
alphabets, you can run 1.5 on anything and it will boost it, but you will not be unthrottled.
"D3M0NYK said:
alphabets, you can run 1.5 on anything and it will boost it, but you will not be unthrottled.
I was running 1.5 prior to this. Used the restore.txt then loaded 1.8.2

Sent from my DROIDX using Shuji
ahh ok, yeah i forgot about reading your post, kinda tired right now, my apologies.
I've tried restoring and redoing the script a couple times now and still crond is not running. Any ideas?
Liquid, busybox 1.16.2
Have you tried updating your busybox? Just curious.
D3M0NYK said:
Have you tried updating your busybox? Just curious.
Doing that now...
"D3M0NYK said:
ahh ok, yeah i forgot about reading your post, kinda tired right now, my apologies.
No prob man...appreciate the help!

Sent from my DROIDX using Shuji
281 - 300 of 1471 Posts
Status
Not open for further replies.
Top