Android OS Forum banner

[MOD] Powerboost v2.0 [PLEASE READ ENTIRE OP]

24787 Views 58 Replies 20 Participants Last post by  BMc08GT
PB 2.0 is now LIVE!

Please take time to read entire OP. Utilizes new install method and new method for running script

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 />
There is many more just let me know!
Pre-Reqs to able to Run Script successfully:
Code:
<br />
*Run restore script if running previous versions of Powerboost.(or reflash ROM)<br />
Thats it<br />
Installation Instructions
Code:
<br />
1) Download PB-2dot0_final.zip<br />
2) Flash PB-2dot0-final.zip in clockwork recovery.<br />
3) Open up terminal emulator and type the following:<br />
[CODE]<br />
su (enter)<br />
buysbox mount -o remount,rw /system (enter)<br />
busybox chmod 755 /system/xbin/powerboost (enter)<br />
powerboost (enter)<br />
4) Download JRummy16's Busybox Installer when prompted(Unless you are have it installed)
****The script will type everything for you--Just pick what version you want(Free or PRO)
****Busybox v1.19.0.git.adrynalyne is REQUIRED!****
5) Once back in Terminal, run option 1 to create backup directory
6) Follow the rest of the prompts as directed
7) Enjoy!
[/CODE]

MODS Description
Code:
<br />
[U]Build.Prop edits[/U]<br />
These are edits made to the build.prop that I have changed to increase performance, battery life, and data speeds.  <br />
<br />
[U]Cron[/U]<br />
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.<br />
---For this script I have cron erasing vm caches twice daily, at 2am and 2pm.<br />
<br />
[U]SD card speed increases[/U]<br />
--increases speed of sdcard reads<br />
[U]<br />
Sysctl tweaks[/U]<br />
Edits to the sysctl.conf file in /system/etc/ These tweaks are for performance to allow device to run better.<br />
<br />
[U]File System Speed increases[/U]<br />
Same as SD but for file systems<br />
<br />
[U]Swap(if device supports)[/U]<br />
Swap moves inactive processes into virtual memory, allowing the device to not become laggy or slow down.<br />
<br />
[U]Dirty Battery Calibration[/U]<br />
[B](Mod by Droid Th3ory)[/B]<br />
This mod sets the level when the phone is rebooted the first time after you run option 3. It sets the battery level reported by the OS and creates the battstats.bin file.  This in laymans terms means that it wipes the battstats.bin file for you and calibrates it to what the current battery level is and adjusts according to that, thus eliminating the need to actually manually wiping battstats.bin and calibrating it yourself. :)<br />
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.

-----------------------------------------------------------------------------------------------------------------------

DOWNLOAD:

MAIN LINK

Mirror 1 (provided by iluvamk)

Here is a video installation guide done by DroidModderX. (Changed terminal emulator commands res is the same)
BIG thanks to him for this.

For those of you on an untested rom, all options are available to yu except for Option 2(unthrottle), and if you would like added support please sendthe services.jar file located in /system/framework/ to me via pm or email/gtalk: [email protected]

Current Bugs:
Mobile Network Settings will FC.
Battery Icon in Status Bar Disappears for some users(Only seen in MIUI-but top bar works)

Fixes:
My initial plan to include fixes will be along the method of patches to be flashed in cwr hopefully, with 2.0.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.

Code:
[I]Changelog:[/I]<br />
10.10.11 <br />
MAJOR Overhaul of entire script. <br />
#Check for busybox and installs correct version. <br />
#Added support of ;<br />
   *OG DROID MIUI<br />
   *NS4G MIUI, CM7, and Oxygen 2.3 ROM<br />
   *EVO 4G Kingdom rewind 3d rom support<br />
   *DROID BIONIC [R3]BLURR3D v1.7 PBX support (Its already baked in that ROM :wink2:)<br />
   *Droid X CM7 9.15, 9.29 build support, and MIUI GB support <br />
   *Vortex ROM support(v2.0 and up)<br />
   *Liberty ROM support(v0.8)<br />
   *ICX 605 ROM support<br />
   *Liquid 3.0 support<br />
   *DROID X2 Eclipse v1.0 support<br />
#checks throughout unthrottle process to make sure directories are in place <br />
#Functional restore script that completely deletes all powerboost mods <br />
#checktweaks script to make sure they installed correctly. <br />
#Brand NEW interface for script.<br />
#Much easier initial set-up process and much easier install process; no more need for Script Manager <br />
#All scripts[unthrottle, checkmods, restore, mods] included in ONE script for added ease of use<br />
#Allows users to pick DEVICE, ROM, and NIGHTLY/VERSION[if applicable]<br />
#More tweaks <br />
9.27.11<br />
v1.9 abandoned. v1.95 in the works.major changes to be included.<br />
8.30.11<br />
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. <br />
8.21.11<br />
-Correct process of replacing classes.dex corrected by swapping out entire services.jar file. Script edited. <br />
8.19.11<br />
-Script optimized for increased speed and stability by including WORKING build.prop edits that are compatible with MIUI. <br />
8.18.11<br />
-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. :)

View attachment 3423
See less See more
  • Like
Reactions: 1
Status
Not open for further replies.
21 - 40 of 59 Posts
Add me to the list of status 0 errors while trying to flash is recovery. Running Eclipse 1.1.
I got the same status 0 error when trying to flash in recovery. I'm running Liberty DX2 RC1.

Sent from my DROID X2 using Tapatalk
"jhwarehouse said:
I got the same status 0 error when trying to flash in recovery. I'm running Liberty DX2 RC1.

Sent from my DROID X2 using Tapatalk
Has to do with different update-binary between devices I will put out an update soon :)

Extracting the zip and moving unthrottle folder to /sdcard/ and powerboost to /system/xbin can be done manually as well ffor time being
  • Like
Reactions: 1
Did that, but when it prompts me to put in what Tom I'm using liberty isn't on there =[ everything else worked tho
xaalfx said:
Did that, but when it prompts me to put in what Tom I'm using liberty isn't on there =[ everything else worked tho
So it flashed for yu?

Liberty isn't supported for x2 -yet. Only eclipse at the moment. It will be tho
  • Like
Reactions: 1
okay so im a bit confused by everyones replies.
is there confirmation of this working on eclipse 1.1 or 1.0? it says 1.0 should work in OP but i didnt see anyone say it will flash. thanks for any replies
BMc08GT said:
So it flashed for yu?

Liberty isn't supported for x2 -yet. Only eclipse at the moment. It will be tho
No, I manually pushed the files and followed the rest of the instructions =]
Work is being done to make this multi-device compatible again. Please stay tuned and do not lose hope
See less See more
Looking forward to it. Not sure if it matters to you but the x2 mounts the internal storage to /sdcard, and /sdcard-ext is the actual SD card. On eclipse this is changed to mount the internal storage to /sdcard-ext and the SD card to /sdcard.

Sent from my DROID X2 using Tapatalk
I changed back the sd card and internal storage on eclipse 1.1 before i flashed the speed script so that's not the issue ......I tried it a few times too.
need someone to send me update-binary from any zip for the X2 to [email protected] please upload it or zip it up
See less See more
I can send it. But, I'm kind of a noob. Not quite sure what you need. Is it the update script from the meta-inf folder?
Low00Ranger said:
I can send it. But, I'm kind of a noob. Not quite sure what you need. Is it the update script from the meta-inf folder?
Update-binary but yes. Same location as the updater-script
I couldn't find an update binary in the meta-inf folders for any of the roms I have on my sd card. The only thing that I have that had one was one of the speedy scripts. Does it matter?
Will this work on dx2 running liberty? Also does it boost 3g?
03civicdx said:
Will this work on dx2 running liberty? Also does it boost 3g?
Unthrottling is currently not supported on liberty for the x2. But the rest of the options are (3-5). And yes it boots 3G
See less See more
BMc08GT said:
Unthrottling is currently not supported on liberty for the x2. But the rest of the options are (3-5). And yes it boots 3G
Cool thanks!
Same here. Eclipse 1.2....installation error.
A test build is posted on my irc channel #pboost on freenode. To get it to work for the X2 just download on computer and swap out the update-binary with one from a rom for the X2. There are two located in my zip-one in main zip /META-INF/com/google/android and one in the sdcard/unthrottle/flashme.zip/META-INF/com/google/android/

Let me know if you guys have any trouble or have any questions


Installation Instructions have also changed and the txt file is in the zip /sdcard/unthrottle/
See less See more
Page 124 of PB Droid X thread lists changelog for 2.1.0 and thread merger
check it out
See less See more
21 - 40 of 59 Posts
Status
Not open for further replies.
Top