Android OS Forum banner

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

209485 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.
521 - 540 of 1471 Posts
"jlmr said:
look on page 191 of the cm7 gingerbread thread he built it of latest codebase of CM7

not sure if that counts as a change to framework
awesome thanks much
Just wondering, is if safe to install this if your running Jakebites Mod? Saw earlier it was a issue.
"jlmr said:
Rev just put out an update yesterday for cm7dx-gb just wanted to know if the 9-2 jar file will work. I'm guessing with an update to rom one would have to rerun this script.

Running CM7-GB DroidX
I just tested this and resulted in a boot loop. I'm sure it will get fixed before too long here though.
I ran script and it changed build.prop. I then manually replaced services.jar with 9/2, changed permissions and rebooted. Took way longer to reboot as per the open, but no problems so far.
1.9 progress report:

Ok so support on this is not dead. I rewrote my entire service.jar swap portion of the script completely and it is now easier for me to add ROM's. I currently have it tested and working on MIUI for the Droid X and for the OG Droid. I will have this version go through an extensive testing period prior to be uploaded.

1.9 will include:

#Check for busybox and installs correct version.
#Checks ROM and swaps service.jar automatically if supported
#Added support of ;
*OG DROID MIUI
*NS4G MIUI, CM7, and Oxygen ROM
*Droid X CM7 9.15 build support, and MIUI GB support
*Vortex ROM support
*Liberty ROM 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.

Fixes:
My initial plan to include fixes will be along the method of patches to be flashed in cwr hopefully, with 1.9.1 including the first one and so on...once all bugs are fixed or the vast majority of them I will see if including an update script that will auto boot into cwr and flash the patch for you.

Any questions or comments feel free to ask them.
See less See more
Have you narrowed down on the thing that makes our signal drop periodically?
'[TSON said:
;112379']Have you narrowed down on the thing that makes our signal drop periodically?
Still looking into this. Havent had a chance yet tbh, but i will. Are you able to run a logcat for me actually?
"iluvamk said:
How about Vortex rom
Vortex can be included. Just send be service.jar and build.prop.

Vortex and Liberty ROM will also be supported
Damn your popular bmc... lol everytime I try to send you an encyclopedia of ramblings, errrr I mean pm, your box is full!

Heh, let me know when you got space

Sent from my DROIDX using Tapatalk
"blackadept said:
Damn your popular bmc... lol everytime I try to send you an encyclopedia of ramblings, errrr I mean pm, your box is full!

Heh, let me know when you got space

Sent from my DROIDX using Tapatalk
Lol everytime I check it its full. Your probably better off emailing me lol
Anyone use version 1.5 with ssm-v3? It runs some other scripts... don't know if there would be conflicts.
salem said:
Anyone use version 1.5 with ssm-v3? It runs some other scripts... don't know if there would be conflicts.
+1 Would like to know if any of the scripts will work on the latest Sensei Mod build.:wink2:
"iluvamk said:
Any chance Sensi-Mod .602 will be added in next update?
"BMc08GT said:
Of course send me the services.jar and the build.prop and ill include it in 1.9
"JkdJEdi said:
+1 Would like to know if any of the scripts will work on the latest Sensei Mod build.:wink2:
1.9 is in the works and will support many roms.

Sent from my DROIDX running CM4DX-GB using RootzWiki Forums
Answers to general knowelege questions can be found here. http://goo.gl/tsvpc
"salem said:
Anyone use version 1.5 with ssm-v3? It runs some other scripts... don't know if there would be conflicts.
I will check into the scripts and make sure there is no conflicts. I may include this in my script so that if similar tweaks I.e. sysctl.conf, init.d it will only overwrite them if user wants(press y/n).

1.5 is only build.prop edits.

I have had a tester confirm that 1.9 is working on SSM though.
"JkdJEdi said:
+1 Would like to know if any of the scripts will work on the latest Sensei Mod build.:wink2:
1.9 will

Thankd shane for being the Q&A guy today lol
Just saw that MIUI 1.9.16 will be on the GB Kernel....1.8.2 will not work on this AFAIK. I will put out a temporary service.jar fix once the download becomes available and it will be incorporated into v1.9.

Cheers.
BMc08GT said:
Still looking into this. Havent had a chance yet tbh, but i will. Are you able to run a logcat for me actually?
I've never run one before but if you're willing to walk me through it then sure.
'[TSON said:
;114180']I've never run one before but if you're willing to walk me through it then sure.
Ive actually never ran one either. just understand how to read them. Sorry.
Can anyone confirm that the services.jar for OM/FGB works on BOTH OMFGB and OMGB?

Thanks.
521 - 540 of 1471 Posts
Status
Not open for further replies.
Top