Script {APP} CPU Sleeper, The Battery Saver Mod! 07/11/2012 1.9 - Verizon Samsung Galaxy S III

App Version:
CPU Sleeper
~Free to all XDA Memebers
~ Must Be Rooted to use App
What is it?
Its a fairly simple App that will put CPU 1/2/3 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1/2/3 back ONLINE.
How does it work?
Since we have Dual & Quad core CPUs, we have a CPU 0 and a CPU 1/2/3, core 0/1/2/3, while the screen is off we really only need to have 1 core active "CPU0", this App will make sure CPU 1/2/3 shuts off while the screen is off, then resumes normal usage when the screen comes back on.
Compatibility?
Works with any Dual Core & Quad Core Devices!
~ICS
~Gingerbread
Battery Saving?
Battery savings all depends on Usage & idle times.
App Download: CPUSleep.apk
Credits:
Handlerexploit for co-creation of this wonderful App.
Script Version!
Code:
This time I present to you a script that will in theory (and so far for me, in reality) save us some battery without having to risk our hardware with undervolting! I present to you...
[B]CPU Sleeper[/B]
[QUOTE]Honestly the Script can be made to work with any Dual Core / Quad Core! The Only Problem is you need to be Rooted!
~ Currently the issue with CM9, is that the boot becomes incomplete while in init.d folder without Modification to the sysinit..
~ however, with any rooted device you can download the script & continue to use it via a script manager app on every boot.
~ With the Script Manager App, this script virtually can run on any Multi-Processor CPU
Hope that clears things Up,
~~Eugene[/QUOTE]
[U]What is it?[/U]
Its a fairly simple script that will put CPU 1 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1 back ONLINE.
[U]How does it work?[/U]
Since we have dual core CPUs, we have a CPU 0 and a CPU 1, core 1 and core 2, while the screen is off we really only need to have 1 core active, this script will make sure CPU 1 shuts off while the screen is off, then resumes normal usage when the screen comes back on.
[B][COLOR="red"]WARNING! READ THIS![/COLOR][/B]
This script relies on init.d OR script manager! CM9, for some reason, tends to run this at the exact same time it runs some other script (I forget atm which) and it will clash, causing no boot! CM9 users MUST use the script manager version install! Flex Reaper appears to work fine with it as init.d. I strongly urge you to use the script manager version of this, NOT the flashable version. Always make a nandroid backup before modifying the system, including this!
[U][COLOR="Red"]Instructions[/COLOR][/U]
Available in 2 versions, script only version which you can place wherever you want and run however you want, or a CWM/TWRP flashable zip that will place the file for you in /system/etc/init.d and set permissions.
[I]Version 1: Flashable[/I]
Same as any of my flashable releases, I did most of the work for you!
Make a full backup
Download to external SD card
Install from SD card
Pick the cpu sleeper zip file
it'll be almost instant
reboot
Shouldn't be any need to clear caches or anything like that.
[I]Version 2: Script only[/I]
This can be run in 2 ways, via init.d support, or via script manager. Both are pretty similar, and can be done a number of ways, however this is the basis of how.
[U]Init.d supported kernel:[/U]
Make a backup!
Download the script file, making sure no extensions get added onto the file. Copy the file to /system/etc/init.d and set the permissions to the following:
XOX
XOX
XOX
Once done, reboot the system, and it will take effect when your system is finished rebooting.
[U]Script Manager[/U]
This method is probably the better method, and should work with any kernel/ROM. Download the script file, making sure no file extensions get added, and copy it to /system/etc. Set the file permissions to:
XOX
XOX
XOX
Once done, load up script manager, select browse as root (if it isn't already set from the crossix mod method in the guide) then browse to /system/etc and select the script file S98cpu_sleep, then select ROOT and BOOT options. After this is set, reboot system.
[U]What do I do if I can't boot after using this?[/U]
You made that backup, right? Ok, then here is what you do.
Hold the power button until the tablet powers off
Press and hold the volume down button, next to the screen lock switch
Press and hold Power (while holding volume down)
Once the recover kernel message comes up, release the buttons
In CWM go to advanced, mounts, mount system, then format system
In TWRP, go to wipe, then wipe system
In CWM go to restore, advanced restore, restore ONLY system
In TWRP select restore, then uncheck all so ONLY system is checked
After restoring system, wipe cache and dalvik cache, then reboot system.
System should boot normally.
[B]Downloads[/B]
Available in 2 versions, script only version which you can place wherever you want and run however you want, or a CWM/TWRP flashable zip that will place the file for you in /system/etc/init.d and set permissions.
Dual Core:
Download: [COLOR="Red"]Script Only - Recommend Install via Script Manager App[/COLOR]
[URL="http://d-h.st/N1N"]CPU Sleeper script only[/URL]
Quad Core:
Download: [COLOR="Red"]Script Only - Recommend Install via Script Manager App[/COLOR]
[url=http://www66.zippyshare.com/v/9249467/file.html]cpusleep[/url]
Thanks to [COLOR="DarkGreen"]pio_masaki[/COLOR] for rewriting the OP

CPU1 is anyway offline until there is >90% load on CPU0... Not sure exactly how this would help at all...

rohan32 said:
CPU1 is anyway offline until there is >90% load on CPU0... Not sure exactly how this would help at all...
Click to expand...
Click to collapse
In regards to testing, results speak for them selfs.
~Eugene

eugene373 said:
In regards to testing, results speak for them selfs.
~Eugene
Click to expand...
Click to collapse
What results?

so there is a LOT of cpu parameters in ICS that include multiple variables that go far far into more detail than a simple screen off = 0 core only type scenario.....how do those parameters of the ICS kernel get handled?

App Download: CPUSleep.apk
Version 1.3 Release Notes:
~ Fixed issue with Phone getting hot
~ Secondary Cores will now Disable while Talking on Phone if Needed
~ Secondary Cores Now Come back online
~ Fixed Superuser Notification being displayed every second
~ Fixed Cores Coming back online while screen is Off
~ Phone's while charge semi-faster while not being used
~ Fixed Lag issue when coming back online
~ Auto-Start on Reboot is still borked

can anyone confirm this working? imean it should, because it works on other carrier but better safe than sorry

Stryker1297 said:
can anyone confirm this working? imean it should, because it works on other carrier but better safe than sorry
Click to expand...
Click to collapse
Considering you need root, and no one has been able to obtain that yet on Verizon, I would say there's no way to get a confirmation yet.

Weird host for the file but I will give this app a shot tonight.
Sent from my SCH-I535 using Tapatalk 2

Is the only option in app to start it??
Sent from my SCH-I535 using Tapatalk 2

Whats the verdict, any performance reviews ?
Sent from my SCH-I535 using Tapatalk 2

drmanhattan said:
Whats the verdict, any performance reviews ?
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
I've seen no improvement any where
Sent from my SCH-I535 using Tapatalk 2

luke1333 said:
I've seen no improvement any where
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
likely not since I stopped updating this thread...
I was told this phone doesn't have root yet.

I've installed it but haven't seem much difference but its too early to tell. Is there is any proof that all the CPU cores are running when the phone screen is "off"? As others have mentioned, I would think the cores would automatically be throttled.

This phone does have root. I'm rooted now. Invisiblek supplied it a few days back.
Sent from my SCH-I535 using xda premium

Zaf9670 said:
This phone does have root. I'm rooted now. Invisiblek supplied it a few days back.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
I just updated to the last version that was posted on the market...
Let me know how that plays out..

Bought it yesterday, here's what I've got so far. Gps, data, and sync on.
Sent from my SCH-I535 using Tapatalk 2

EM2_Rob said:
Bought it yesterday, here's what I've got so far. Gps, data, and sync on.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Seems pretty solid (and way better than what I get right now), I'm going to give this a try myself.

EM2_Rob said:
Bought it yesterday, here's what I've got so far. Gps, data, and sync on.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Solid but it looks like you didn't even turn the screen on at all.

eugene373 said:
What is it?
Its a fairly simple App that will put CPU 1/2/3 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1/2/3 back ONLINE.
Click to expand...
Click to collapse
ercDROID said:
Solid but it looks like you didn't even turn the screen on at all.
Click to expand...
Click to collapse
That's kind of the point isn't it? Though I think a better example would be if someone supplied a "before" screen and "after" screen with similar times for the top 3 or top 5.

Related

[ROM] NFX-Shift STOCK Version 2.0 deodexed/odex updated 3/19/11

Updated: 3/19/2011
NFX-Shift.Deodex.STOCK.V.2.0
NFX-Shift.Odex.STOCK.V.2.0
This will not wipe your data, ALthough always best to start fresh!
- [Kernel] [GPL] Sense 2.6.32.21 OC/UV 1.51GHZ (CFS-Smartass-TUN) Thanks to bcnice20
- Default CPU clock will be 1.0ghz with ondemand , changable thru setcpu or if you want to edit the kernel directly. I have never been a fan of the overclocking apps as once the system is boot they need to wait for the SU to grant permissions for the settings. this way it is from boot.
Remove the script below to use setcpu
If you would like to change the defaults in the kernel just look in system/etc/init.d/ 80screenstate_scaling
echo 245760 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1209600 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
System Currently boot at 1.2 ghz with the script. if you have issues with this speed remove the sript and reboot. This will allow for the settings in the kernel to boot at 1ghz.
- Unlocked 3G USB tethering & Sprint Hotspot - no need for any other apks aka wired or wireless tether
- Read ahead fixed to 256k for the SDcard (speed fix) - should increase the read times from sdcard
- 5meg limit on the mms
- Tweaks for the system to increase overall performance
- 4 in 1 menu w/hibernation (photo at bottom of post)
- Fixed 1x / 3g to be accurate
- zip align apps installed on data automatically
- Annoying ads in programs are blocked
Added:
Astro File Explorer
Titanium Backup
Updated:
Sprint VVM
Maps
Market
there where other just cant recall them
Ok, If you experience issues please in your post list the issues clearly so I wont miss them. I would perfer maybe list them first then explain them underneath.
Thank you!
On you Sdcard there is a folderfor the apps that have been removed, for easy restore
Removed_Apps/
AdobeReader.apk
amazonmp3.apk
GenieWidget.apk
Kindle-1.0.2.80600055-OEM-SingleSign.apk
nascar09-prod-release.apk
Quickoffice.apk
sfl-prod-release.apk
Sprint_Navigator.apk
Sprint_TV.apk
SprintZone.apk
Download ODEX
Download DEODEX
New posts for the Version 2.0 will begin After post #212
Tanks to all the testers your names will be added later when I have a little more time....
Sweet! Glad to see you developing roms even b4 you've received your shift lol. Downloading now
Sent from my PG06100
good deal nand welcome to the shift. ha ha. bout to test this out know. ive tried out some of your hero stuff and seen the good work you've done.
I did a full wipe before flashing, and it booted up, but does not seem to have a functioning launcher. If I turn the screen off, and back on, I see the lock screen, but swiping down results in a black screen.
Make sure you have cache wiped too, sounds like maybe a corupt download.
I've been running this for four days and have not had a single hiccup.
Sent from my HTC Evo Shift 4G
cloverdale said:
I did a full wipe before flashing, and it booted up, but does not seem to have a functioning launcher. If I turn the screen off, and back on, I see the lock screen, but swiping down results in a black screen.
Click to expand...
Click to collapse
if you can could you get me a ddms or logcat while booting so I can see what may be causing this issue for you.
As I said previously I dont have amy shift yet so I can only possibly track down the issue if you can grab a logcat or ddms report of the issue.
Thanks
glad to see the thread is getting active... will download and post feedback
BrandoKC said:
Make sure you have cache wiped too, sounds like maybe a corupt download.
I've been running this for four days and have not had a single hiccup.
Sent from my HTC Evo Shift 4G
Click to expand...
Click to collapse
The cache was wiped.
coming from a hero forums I was waiting for you to throw something up here that was slick and simple DL-ing
Sent from my PG06100 using XDA App
nfinitefx45 said:
if you can could you get me a ddms or logcat while booting so I can see what may be causing this issue for you.
As I said previously I dont have amy shift yet so I can only possibly track down the issue if you can grab a logcat or ddms report of the issue.
Thanks
Click to expand...
Click to collapse
I apologize, I already did a nandroid recover. Everything went through fine on the logcat, but after boot it kept giving me an error in regard to wakelock not responding. I probably had a bad download. I will try again this weekend (have to go meet the wife right now) and let you know the results. I am really excited to run this, so I am sure I can get it to work eventually. Thanks a lot for your work on this.
Running well for me, and I'm using bcnice20's oc-uv sense kernel with it ... albeit according to quadrant a little slower than the stock odex rom with the same kernel.
dhero1 said:
Running well for me, and I'm using bcnice20's oc-uv sense kernel with it ... albeit according to quadrant a little slower than the stock odex rom with the same kernel.
Click to expand...
Click to collapse
Well that is great then considering odex vs deodexed, cause we all now that there is about a 15 to 20% loss with deodexing a rom. Once I get my shift I will odex and really get into slimlineing the rom, just like the HeroC
Man it is great to see you here!! When I sold my hero, the guy wanted to keep your ROM that I was running on it. Paypal is about to see some action once I try this out.
Getting good quadrant scores on this rom:
Sent from my PG06100
Dread 7us said:
Getting good quadrant scores on this rom:
Sent from my PG06100
Click to expand...
Click to collapse
Which version of quadrant? 1.1.5?
Sent from my PG06100 using Tapatalk
Great to see you here man! I'm super stoked we got some good developers on the shift now. I cant wait to see what comes next
Any way to add the power widgets like CM6 had on the pull down menu? I loved having all my stuff soo easy to turn on/off. Usually I didnt like Sense because it slowed down the phone but the shift is super fast with it. I'm looking forward to the odex version your planning on making. Thanks for your hard work!
d1msum4lyfe said:
Which version of quadrant? 1.1.5?
Sent from my PG06100 using Tapatalk
Click to expand...
Click to collapse
Actually 1.1.1. I tried standard edition from market (1.1.7) and get about the same (a little less first run). I don't have 1.1.5 to try.
Sent from my PG06100
fifedogg said:
Great to see you here man! I'm super stoked we got some good developers on the shift now. I cant wait to see what comes next
Any way to add the power widgets like CM6 had on the pull down menu? I loved having all my stuff soo easy to turn on/off. Usually I didnt like Sense because it slowed down the phone but the shift is super fast with it. I'm looking forward to the odex version your planning on making. Thanks for your hard work!
Click to expand...
Click to collapse
Yes there is a mod for it in the EVO forum, just need to port it to this, but cant do it yet till I actually get the phone so I can test
I am new to all this rooting and installing new roms, so please bare with me. I have downloaded this rom twice to my computer, but can not get it to install on my phone. I have extracted the file to my sd card, did a data wipe on phone, went to install zip from sd, but cannot "find" and install new rom. Any suggestions? At least I have found out how to do recovery.
Aaargh! said:
I am new to all this rooting and installing new roms, so please bare with me. I have downloaded this rom twice to my computer, but can not get it to install on my phone. I have extracted the file to my sd card, did a data wipe on phone, went to install zip from sd, but cannot "find" and install new rom. Any suggestions? At least I have found out how to do recovery.
Click to expand...
Click to collapse
Don't extract it, leave it as a zip to flash

[TUT][Script]v6 Supercharger and Kick Ass Kernelizer script WORKS

Hello. The supercharger script by zep worked great on my galaxy ace. Now, has anyone been able to use it with the tab+? I think it would be a huge help to remove kauncher redraws and in improving the battery life. Do you guys think it would work on our tab? Our brothers from the gtab 10.1 were able to use it. http://forum.xda-developers.com/showthread.php?t=1256796&page=24
Click to expand...
Click to collapse
EDIT. 12/29/2011
Okay. Since no one bothered to reply, i took the risk and applied the script. To cut to the chase, IT WORKS. There are no launcher redraws and my tab sure feels a lot smoother. I also have 400 used RAM instead of 600 after a restart. Not to mention, i now have 6037 AnTuTu benchmark score as opposed to the 5700 that i got before supercharging.
------------------------------------------------------------------------
EDIT. 12/31/2011
------------------------------------------------------------------------
EDIT. 02/02/12
(I updated the versions to their latest in accordance with zepp's latest released scripts. supercharger 5.2 and KAK 3.1. The steps to be followed are still the same.)
If anyone wants to try, here are the steps that i followed.
BUT first things first.
CREDIT GOES TO zeppelinrox FOR HIS GREAT WORK ON THIS SCRIPT.
I ALSO WOULD LIKE TO THANK mroneeyedboh FOR THE STEPS HE PROVIDED OVER THE GTAB 10.1 FORUMS.
Original supercharger thread http://forum.xda-developers.com/showthread.php?t=991276
GTAB 10.1 supercharger guide http://forum.xda-developers.com/showthread.php?t=1256796
P6200 CWM and Root by garyd http://forum.xda-developers.com/showthread.php?t=1392348
***You MUST be rooted and have busybox 1.18.2 or upper (I have 1.19.3)***
So let's cut to the chase!
DOWNLOAD THE FOLLOWING.
v6 Supercharger script U9 RC5.2 http://forum.xda-developers.com/attachment.php?attachmentid=877591&d=1327834355
Script Manager https://market.android.com/details?id=os.tools.scriptmanager&feature=search_result
Zepp's original post with the log changes http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021
Save the supercharger script anywhere on your storage
Run Script Manager and press Browse as Root (the one under Install). When the SU dialog appears press allow.
While on Script Manager, browse to where you save the supercharger script click it
A new window would appear. Press the "Su" icon under the Run button at the upper left hand corner. Press Run.
A lot of codes would appear. Some sort of system check bla bla bla. Just a little patience...
"Press Return Key... and Come Get Some!!" would appear. DON'T PRESS THE RETURN KEY. Press anywhere and press any key and then press enter.
You would then see a lot of options 1-31. Please enter number 9.
It would now run the setting we chose. Like lowmemkiller values, OOM groupings, Kernel/Mem Tweaks, etc..
If an option to not use Build.prop appears, cause it might cause boot loops, then allow the creation of local.prop (i think. i can't remember). Just follow your heart. haha
Press the back soft key. "Script is running. What do you want?" Choose Kill.
Since we're all using stock ROMs (for the moment), press the back soft key until you reach the ROOT directory. Then open the Data folder and click on the 99Supercharger.sh
Then under the Run button, press the icon for Su and Boot. This would automate the supercharger script upon boot. Then press run and then kill the script.
Run the first script again (yup the one from Step 1). and now, choose option number 30. It would now super clean the system and restart.
DONE! Feel the difference!
If I missed anything, please inform me.
You could also install the Kick Ass Kernel Tweaks (KAK) from here http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021. Get the update 3 RC3.1
KAK Direct Download http://forum.xda-developers.com/attachment.php?attachmentid=877590&d=1327834355
IMPORTANT!!!!! Just follow the steps from above and be sure not to apply the IO Tweak as it is very unstable and might cause boot loop
Then using step number 11, navigate to 98KickAssKernelizer.sh and make it run upon boot.
Reboot your device and DONE!
Based on MY observations, here are the changes that I noticed.
Completely no launcer redraws (wherein the widgets disappear and appear. it's like refreshing in windows), I'm using the default Touchwiz UX.
There is no delay with the Task Switcher. (the third soft key) Before applying the script, I had like 1-1.5 second delay with it. Now it only has 0.5 or so.
The RAM usage is stable at 530-570. Compared to 660 before supercharging
The best part about this script is that multi-tasking has been easier. Jumping from one app to another is now a breeze. Applications start faster than before.
The thing is, our tablet is already blessed with great hardware which is why it is already fast and smooth to begin with. BUT, there is always room for improvements. FACT.
BR
That's impressive!
I have the P6210. Are you using the P6200 with the 3g?
Dan
Interesting find. Would you mind sharing the installation process. From the original post seems quite easy, but on the 10.1 tread it looks way more complicated.
P_
rp518dan said:
I have the P6210. Are you using the P6200 with the 3g?
Dan
Click to expand...
Click to collapse
Yes. i have the P6200 with 3G. I think the process and result would be the same with the P6210.
pakalrtb said:
Interesting find. Would you mind sharing the installation process. From the original post seems quite easy, but on the 10.1 tread it looks way more complicated.
P_
Click to expand...
Click to collapse
okay. i'll update it in a while.
just tried it, enabling the 99supercharger.sh and 98kickasskernel.sh at boot threw me into a boot loop. it said to make sure to enable at boot, so i did. will give it another try or just manually add custom lines to build.prop ..
chrisrotolo said:
just tried it, enabling the 99supercharger.sh and 98kickasskernel.sh at boot threw me into a boot loop. it said to make sure to enable at boot, so i did. will give it another try or just manually add custom lines to build.prop ..
Click to expand...
Click to collapse
really? I wonder why. I did not encounter any boot loop. Could you check my steps that i just posted and compare it with the steps that you did?
Also, what busybox version did you use?
I think it's with the KAK Tweak. Maybe you applied the IO scheduler?
as quoted from zeppelinrox
Updated August 1: Added Kick Ass Kernel Tweak Installer but without io scheduler tweaks. Use this new script if you try the regular Kick Ass Kernel Tweak Installer and get a boot loop! (My apologies to those that got the boot loops )
Click to expand...
Click to collapse
SOURCE: http://forum.xda-developers.com/showpost.php?p=15948434&postcount=1127
And you think that I would wait for tutorial or tester to try it out !?!?!
OK, I did the following :
1) downloaded the script and put it in the sd card ( not external sd ) root
2) downloaded and installed script manager
3) run the SM and selected the script
4) selected run as root and hit the RUN
5) selected 1 as scrolling speed
6) selected 9 ( MegaRam 2 )
7) selected 17 = Exit
8) broswed back to ../data and selected the 99supercharger.sh file
9) selected the run as root and run at boot option
10) Save and Exit the SM
11) Rebooted
All fine ( I mean no bootloop ) but to be quite honest NOTHING changed in terms of performance. I double checked that the script was run at boot and it did, since the values have been changed.
But the benchmarks are the same and the tab seems lagging as usual.
Also the amount of free RAM have not changed from previous stock configuration.
I fear that the main problem is GoLauncher, that seems to have slowed down the tab even more after the last update.
P_
---------- Post added at 12:01 PM ---------- Previous post was at 11:44 AM ----------
chrisrotolo said:
just tried it, enabling the 99supercharger.sh and 98kickasskernel.sh at boot threw me into a boot loop.
Click to expand...
Click to collapse
What do U mean by boot loop, and how did you get out of it ?
P_
pakalrtb said:
And you think that I would wait for tutorial or tester to try it out !?!?!
OK, I did the following :
1) downloaded the script and put it in the sd card ( not external sd ) root
2) downloaded and installed script manager
3) run the SM and selected the script
4) selected run as root and hit the RUN
5) selected 1 as scrolling speed
6) selected 9 ( MegaRam 2 )
7) selected 17 = Exit
8) broswed back to ../data and selected the 99supercharger.sh file
9) selected the run as root and run at boot option
10) Save and Exit the SM
11) Rebooted
All fine ( I mean no bootloop ) but to be quite honest NOTHING changed in terms of performance. I double checked that the script was run at boot and it did, since the values have been changed.
But the benchmarks are the same and the tab seems lagging as usual.
Also the amount of free RAM have not changed from previous stock configuration.
I fear that the main problem is GoLauncher, that seems to have slowed down the tab even more after the last update.
P_
Click to expand...
Click to collapse
Hmmm.. Maybe it's because we have different applications installed, settings, etc. With my experience, there are some very noticeable changes.
Completely no launcer redraws (wherein the widgets disappear and appear. it's like refreshing in windows), I'm using the default Touchwiz UX.
There is no delay with the Task Switcher. (the third soft key) Before applying the script, I had like 1-1.5 second delay with it. Now it only has 0.5 or so.
The RAM usage is stable at 530-570. Compared to 660 before supercharging
The best part about this script is that multi-tasking has been easier. Jumping from one app to another is now a breeze. Applications start faster than before.
I think it may hav had to do with changing the I/O tweaks from local.prop to build.prop, it said it was dangerous. after reboot about 20 sec or so SuperUser toast says script manager was granted root permissions, meaning the 98/99.sh scripts were loaded. I didnt run the v6script at boot. after about the 3rd reboot, I had time to go into app drawer and quickly drag uninstall and it stopped constant reboot.
tried the instructions in the OP and i can confirm this works on my P6200 and solved a lot of the lag I had.
Sent from my GT-P6200 using xda premium
Hmm, I had originally used the V8 version . I have uncharged, wiped the cache and recharged it with RC4 9V . But still the same. I do not see any difference from the original performances and the Antutu Benchmark gives pretty much the same results as before. I was hoping my tab would fly out of my hands after this hack ......... but not really
Curious to read about others, it looks like we have only 3 brave souls so far
P_
pakalrtb said:
Hmm, I had originally used the V8 version . I have uncharged, wiped the cache and recharged it with RC4 9V . But still the same. I do not see any difference from the original performances and the Antutu Benchmark gives pretty much the same results as before. I was hoping my tab would fly out of my hands after this hack ......... but not really
Curious to read about others, it looks like we have only 3 brave souls so far
P_
Click to expand...
Click to collapse
Haha yeah. And I am hoping that there would be more brave souls in the Development Section.
What score did you get in the Antutu Benchmark?
5648/5804/5727 three consecutive tests.
uncharged everything and got back to stock config : 5654/5841/5708
After uncharging I still got left a 1000HP Super-(6,12,200,220,240,275).sh file in ../data
P_
Bump.
No more testers?
P_
I am giving it another shot .
The only noticeable difference is that the amount of available RAM is always around 300 mb. BUT this also tend to decrease ( sometimes to 100 ) with extended use. With stock configuration I'd have 100/250 available, with the system bumping it up to about 300 when it was going lower than 100.
As for the quick access button, it's definitely snappier when you turn the device on, but it goes back to about 1 sec after a while.
I have a P6200 and applied the script, look smooth then before applied the script. Thanks for the instruction
Hey just wondering if anyone knows how to remove this script..Thanks!
Sent from my GT-P6200.
DevilBeyond said:
Hey just wondering if anyone knows how to remove this script..Thanks!
Sent from my GT-P6200.
Click to expand...
Click to collapse
It has an option to unsupercharge. It's listed in the menu with the different options of supercharging etc.
I'm currently suggesting that people do NOT use this script.
There are bugs in the GT-P62x0 kernel(s) that can (and do) cause kernel panics. Under normal circumstances, those panics would cause your tablet to simply reboot.
However, this "supercharger" script overrides a kernel parameter and prevents the kernel from rebooting on a panic, instead forcing it into an infinite loop. Instead of the bug rebooting your tablet, it causes your tablet to be frozen (if the screen is off, it appears to be a so-called sleep of death.)
To make matters worse, if this situation occurs when the tablet is running on battery power (not plugged in), then the infinite loop will completely deplete your tablet's battery (which can harm it.)
Take care
Gary
I have used supercharger on my phone without issue but after
reading what Gary discovered, I won't be using it again.
Thanks Gary

Script {APP} CPU Sleeper, The Battery Saver Mod! [high-jacked from sgs2 thrd]

I take no credit for this guide. i found it on the samsung galaxy s2 dev section.
eugene373 is the O.P.
so any shout out, fist bumps, high 5's, hitting of the THANKS button- make sure to send them his way.
Link to original thread
http://forum.xda-developers.com/showthread.php?t=1739457
Below is a copy/pasted version of whats in the main thread. Just spreading valuable information
"App Version:
CPU Sleeper
~Free to all XDA Memebers
~ Must Be Rooted to use App
What is it?
Its a fairly simple App that will put CPU 1/2/3 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1/2/3 back ONLINE.
How does it work?
Since we have Dual & Quad core CPUs, we have a CPU 0 and a CPU 1/2/3, core 0/1/2/3, while the screen is off we really only need to have 1 core active "CPU0", this App will make sure CPU 1/2/3 shuts off while the screen is off, then resumes normal usage when the screen comes back on.
Compatibility?
Works with any Dual Core & Quad Core Devices!
~ICS
~Gingerbread
Battery Saving?
Battery savings all depends on Usage & idle times.
App Download:
Credits:
Handlerexploit for co-creation of this wonderful App
This time I present to you a script that will in theory (and so far for me, in reality) save us some battery without having to risk our hardware with undervolting! I present to you...
CPU Sleeper
Quote: Honestly the Script can be made to work with any Dual Core / Quad Core! The Only Problem is you need to be Rooted!
~ Currently the issue with CM9, is that the boot becomes incomplete while in init.d folder without Modification to the sysinit..
~ however, with any rooted device you can download the script & continue to use it via a script manager app on every boot.
~ With the Script Manager App, this script virtually can run on any Multi-Processor CPU
Hope that clears things Up,
~~Eugene
What is it?
Its a fairly simple script that will put CPU 1 OFFLINE when the screen turns off. Once the screen comes back on, it will allow CPU 1 back ONLINE.
How does it work?
Since we have dual core CPUs, we have a CPU 0 and a CPU 1, core 1 and core 2, while the screen is off we really only need to have 1 core active, this script will make sure CPU 1 shuts off while the screen is off, then resumes normal usage when the screen comes back on.
WARNING! READ THIS!
This script relies on init.d OR script manager! CM9, for some reason, tends to run this at the exact same time it runs some other script (I forget atm which) and it will clash, causing no boot! CM9 users MUST use the script manager version install! Flex Reaper appears to work fine with it as init.d. I strongly urge you to use the script manager version of this, NOT the flashable version. Always make a nandroid backup before modifying the system, including this!
Instructions
Available in 2 versions, script only version which you can place wherever you want and run however you want, or a CWM/TWRP flashable zip that will place the file for you in /system/etc/init.d and set permissions.
Version 1: Flashable
Same as any of my flashable releases, I did most of the work for you!
Make a full backup
Download to external SD card
Install from SD card
Pick the cpu sleeper zip file
it'll be almost instant
reboot
Shouldn't be any need to clear caches or anything like that.
Version 2: Script only
This can be run in 2 ways, via init.d support, or via script manager. Both are pretty similar, and can be done a number of ways, however this is the basis of how.
Init.d supported kernel:
Make a backup!
Download the script file, making sure no extensions get added onto the file. Copy the file to /system/etc/init.d and set the permissions to the following:
XOX
XOX
XOX
Permissions should be set at 755 or r-xr-xr-x
Once done, reboot the system, and it will take effect when your system is finished rebooting.
Script Manager
This method is probably the better method, and should work with any kernel/ROM. Download the script file, making sure no file extensions get added, and copy it to /system/etc. Set the file permissions to:
XOX
XOX
XOX
Permissions should be set at 755 or r-xr-xr-x
Once done, load up script manager, select browse as root (if it isn't already set from the crossix mod method in the guide) then browse to /system/etc and select the script file S98cpu_sleep, then select ROOT and BOOT options. After this is set, reboot system.
What do I do if I can't boot after using this?
You made that backup, right? Ok, then here is what you do.
Hold the power button until the tablet powers off
Press and hold the volume down button, next to the screen lock switch
Press and hold Power (while holding volume down)
Once the recover kernel message comes up, release the buttons
In CWM go to advanced, mounts, mount system, then format system
In TWRP, go to wipe, then wipe system
In CWM go to restore, advanced restore, restore ONLY system
In TWRP select restore, then uncheck all so ONLY system is checked
After restoring system, wipe cache and dalvik cache, then reboot system.
System should boot normally.
Downloads
Available in 2 versions, script only version which you can place wherever you want and run however you want, or a CWM/TWRP flashable zip that will place the file for you in /system/etc/init.d and set permissions.
Dual Core:
Download: Script Only - Recommend Install via Script Manager App
CPU Sleeper script only
Quad Core:
Download: Script Only - Recommend Install via Script Manager App
cpusleep
Download: ClockworkMod Recovery .zip for T989 / I727
CPU_Sleeper.zip
Thanks to pio_masaki for rewriting the OP"
Always be careful when taking stuff from other devices especially not from HTC.....this mod writes to mmcblock24 partition as system. For us that partition is cache. Flashing to the wrong partition can bork stuff or maybe even brick. Also I'm pretty sure our v3 kernel has this feature.
I would pull the download link before someone bricks
So did the OP test this? I'm glad XMC posted a comment, otherwise I'd be bricked.
Sent from my MIUI V4
AgentCherryColla said:
So did the OP test this? I'm glad XMC posted a comment, otherwise I'd be bricked.
Sent from my MIUI V4
Click to expand...
Click to collapse
it worked for me, i backed up and restored all my apps and data with titanium on my sgs2 and restored on my myt4gs and evrything seemed to be running fine with the script
xmc wildchild22 said:
Always be careful when taking stuff from other devices especially not from HTC.....this mod writes to mmcblock24 partition as system. For us that partition is cache. Flashing to the wrong partition can bork stuff or maybe even brick. Also I'm pretty sure our v3 kernel has this feature.
I would pull the download link before someone bricks
Click to expand...
Click to collapse
pulled links, ill test it out a bit more on my device
but if you flashed the zip yo may not have been so lucky
Nawwwwty, very nawwwwty
I believe v3 does do this anyway, don't quote me on that though.
Sent from my myTouch_4G_Slide using xda app-developers app
xmc wildchild22 said:
Always be careful when taking stuff from other devices especially not from HTC.....this mod writes to mmcblock24 partition as system. For us that partition is cache. Flashing to the wrong partition can bork stuff or maybe even brick. Also I'm pretty sure our v3 kernel has this feature.
I would pull the download link before someone bricks
Click to expand...
Click to collapse
the op has the app in the play store
https://play.google.com/store/apps/...wsMSwxLDEsImNvbS5ldWdlbmUzNzMuY3B1LnNsZWVwIl0.

[Guide] Supercharger V6 for everyone, make your phone faster

I wrote this guide for originally in elk759's JB CM10 thread, but with some modifications it works with every ROM and every phone.
I thought other guides were too hard to understand so I concluded all neccessary information and nothing more.
This guide is for Windows, because it uses a Windows tool to make the process MUCH easier. This only affects the modding of services.jar, so look at the original Supercharger thread for instructions withot the Windows tool.
Here are the benefits of using SUPERCHARGER, I cn approve that it works, it's faster, more apps can run and no launcher redraws!
___________________________________________________________________________
Sources:
http://forum.xda-developers.com/showpost.php?p=12058585&postcount=1
http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021
zeppelinrox said:
What's it do?
It makes your phone FAST... super snappy with better multitasking!
It rearranges and fixes the OOM Groupings and Priorites and lowmemorykiller values.
So basically, it's a COMPLETE MEMORY MANAGEMENT FIX!
It's the ONLY one of it's kind
NO LAUNCHER REDRAWS, faster than ever, multitasking is better... why?
Because it works with the lowmemorykiller and letting it work the way it's meant to work.
Also, because of the rearrangement, it works the same on all roms!
The problem with using minfree tweakers like AMM or AKMO is that it doesn't work the same on all roms.
Secondary apps may be in slot 3 on some roms but in slot 5 in others!
That's why you hear people comment "I tried AKMO but it didn't do anything..."
Most likely it didn't do anything because the apps weren't sitting where they were expected to be.
So fasten your seat belts and enjoy the ride!
Click to expand...
Click to collapse
zeppelinrox said:
And -=Maximum Overdrive=- was born!
Upside: You can run up to 70 apps if you have enough RAM.
Downside: NONE
Click to expand...
Click to collapse
zeppelinrox said:
The Kick Ass Kernelizer
What Does The Kick Ass Kernelizer Do?
Memory Management++
MFK Calculator Info - explanation for vm.min_free_kbytes
LinuxInsight - The /proc filesystem documentation (Fantastic!)
XDA [REF] Startup script speed tweaks OP by hardcore
XDA Speed up your system with the noop scheduler
TCP Speed & Security
Security and Hardening the TCP/IP stack to SYN attacks
Click to expand...
Click to collapse
zeppelinrox said:
The 3G TurboCharger
In case of connection issues, see the notes in the 3G TurboCharger section at the top of /system/build.prop!
Homework/Background Info... see the folllowing links for resources used.
XDA Thread 1
XDA Thread 2
XDA Thread 3
Wi-Fi AfterBurner.
XDA Thread (Faster WIFI - N Standard Enabling)
The 3g build.prop tweaks aren't really anything new... but I did put a new spin on it! ;^]
You can find various individual configurations but as far as I know, my script is the only one that lets the user choose from more than one configuration.
Click to expand...
Click to collapse
___________________________________________________________________________
IF YOU HAVE ANY PROBLEMS, LOOK FIRST AT THE Q&A BELOW!
1. Prerequisites:
SuperCharger_Starter_Kit_xxx.zip (contins busybox, sqlite and zipalign)
[*]V6_SuperCharger_for_Android-Update9_RC11_xxx.sh.pdf
Script Manager for starting scripts (on first run enable root browse AND run every script with su rights, the skull and bones symbol)
ES File Explorer (with root rights in settings->root management)
optionally: Terminal Emulator
Recommended for everyone and REQUIRED for 4.0+ Roms:
pepcisko's Windows tool for patching services.jar
Place the V6_Supercharger script and the Supercharger_Starter_Kit.zip content to "/sdcard/V6"
Place the Windows tool somewhere on your Hard Drive
Install the required apps
2. Installation of Starter Kit:
Start SManager and confirm root rights when browsing
go to sdcard/V6/1_SuperCharger_Starter_Kit and click on StartMeUp.sh
select the SU button (skull + bones) and RUN it as script and follow the instructions (install at least busybox for being safe that everything works)
3. Patching services.jar
Background information (could be very useful):
Patching the services.jar gives you the multitasking mod. Apps shouldn't restart all the time, they will stay in RAM as long as they can.
Patching the services.jar is REQUIRED for Android 4.x.x, but you don't have to use multitasking mod.
For the other Android versions it isn't required, you only need this if you want to have multitasking mod, too.
If you have Sense 4.0+ and want multitasking mod, you have to follow this, more complex tutorial.
But you can also use this method, but your visible app limit stay at 8 Apps, instead of 50!
extract the Windows tool and launch it
You can choose between online mode (phone drivers needed) or offline mode, I'll explain offline mode:
make sure you have root rights in ES Explorer and that you mount system as R/W (read/writable)
copy the services.jar from /system/framework to your SD, and connect your phone to PC
move the services.jar to the framework folder of the Windows tool directory
in the windows tool specify your Android version + if the rom is odexed/deodexed
now press "enter" -> "y" for supercharge -> "enter" for die die-hard launcher -> "enter" -> "y" for multitasking -> "enter" -> "y" to delete temporary files
You have patched the services.jar, now you have two options (both files are in "dist" directory):
Place the update-signed.zip on sdcard and install it via recovery
OR
Place the modded services.jar (and if odexed rom the services.odex too) to /system/framework and overwrite. Then you have to set owner and permissions:
In Terminal Emulator
su
(confirm SuperUser Request)
busybox mount -o remount,rw /system
cd /system/framework
chown 0.0 services.jar
chmod 644 services.jar​
Now go into recovery (or stay there after flashing update-signed.zip) and wipe cache & dalvik cache.
On your next reboot apps should be optimized.​
4. Supercharger Installation
Remember: I can't promise, that the guide is always up to date. So it could happen that after an update of the script, the option numbers are different. Look at the text on the right side of the option
start the /sdcard/V6/V6_SuperCharger... script with SManager with SU rights
follow the instructions of driver options: You will be asked for Scroll Speed but also various tweaks which can improve the performance
The script calculates the preferred FreeMem size, you can use them or set your own prefered size:
After you have declined to use the calculated option you are in Driver's Console, you can choose between 33 options.
The Options 2 to 9 set the MinFree size, for the different Ram Size of the devices.
For the Desire I recommend option 6 which is called "balanced". You can try a lower or a higher option, too.
Lower values are better for Multitasking, higher values are better for the speed on the visible app.​
go back to driver options and type 21 for Nitro Lag Nullifier, confirm with N (could be unstable, you don't have to use this)
After you are finished press option 17 for Engine Flush and after that option 32 for SuperClean& Restart
After the restart you should open SManager again and navigate to /system/etc/init.d, click on S99SuperCharger and enable SU + Run on Boot.
Press Save. This should avoid issues if you want to launch Supercharger Script again (for me it worked without doing that)​
Widgets for easy and fast freemem change:
For compairing settings, you can make widgets, settings will be changed instantly:
- you have to select the option you want to use as a widget (e.g. option 5 of supercharger) one time in V6_Supercharger script
Your selected options will appear as a small script in sdcard/V6_Supercharger/PowerShift_Scripts
- long press on home screen, click on Widgets and select SManager
- choose the script you want to use (e.g. 512HP_UnLedded...)
Q&A Supercharger
Q: Supercharger says "sorry, your rom wipes service entries on boot". Is it an issue?
A: No you can ignore it. You'll stay supercharged. (thx to abelle_abelle for the hint)
Q: Supercharger says that I'm only 75%/50% supercharged. What is the reason?
A: Propably the services.jar hasen't been patched right. Check if the services.jar is replaced and if the owner and the permissions are right. Try it out with offline mode in the Windows tool.
Q: Do I have to patch the services.jar again after rom update?
A: If you flash the rom you have to replace the original services.jar again. I don't know if you can use the previous patched services.jar.
Q: Do I have to run the whole script again after a rom update?
A: You have to run the Supercharger script again, but it has stored the last settings and can restore them. Then you have to Wipe Cache & Dalvik, reboot and set /system/etc/init.d/S99SuperCharger to run with SU rights + at boot.
Q: Did my settings stick?
A: If Supercharger says "100% supercharged" everything should be fine. If you think there is something wrong, because of a particular message paste the log text in pastebin.com and give me the link in your post.
Q: Do I have to install the Supercharger StarterKit?
A: No, you cann try it without this first if you want. BUT some busybox versions doesn't work with Supercharger (everything below 1.16.2 and even some versions above 1.16.2.
The StarterKit installs a recommended version.
Q: My phone is getting slower from time to time.
A: This can happen if you don't reboot often (1 or 2 days). The cache is growing and there is less and less RAM.
If you don't want to reboot all the time you can make the EngineFlush in V6_SuperCharger (option 17) and a script will be created (!FastEngineFlush.sh). You can make a widget for it after you set it as favorite or launch it normally in Script Manager.
A more detailed guide about making widgets is written above.
Q: Everythings (apps and launcher) stucks after NitroLagNullifier/V6 Supercharger installation. What can I do?
A: The user abelle_abelle had this issue. He had to hard reset his device (hard reset wipes your partitions -> deletes your data) and had to reinstall the rom.
Q: Are there any possibilites to make my rom even faster?
A: Yes, with KickAssKernelizer (KAK):
http://forum.xda-developers.com/showpost.php?p=32508611&postcount=35
Maybe I will write a bit more detailed guide for this. You can see what it does at the benefits of Supercharger at the top of my first post.​----------------------------------------------------------------------------------------------------------------------------------------------------------
It took me long to test and to write please give a Thanks if I helped you
Also thank the creator of the scripts (check links)
Reserved for possible addition and Q&A
Have been using this for some time, and I can confirm it works.
Sent from my toaster.
I'm stuck in the CM logo screen after installing service.jar (online mode) and wiped davlink and cache.
aledex said:
I'm stuck in the CM logo screen after installing service.jar (online mode) and wiped davlink and cache.
Click to expand...
Click to collapse
Which Rom you are using?
Androidmarketuser said:
Which Rom you are using?
Click to expand...
Click to collapse
I'm sorry, I thought I edited the post. I'm using Elk's CM10 for Desire.
After trying several times to wait after having wiped cache and davlink (and fixed permissions) I re-flashed the rom and tried to apply the superchager script.
Problem 1: not enough spaces on the system (I'm using INT2EXT)
Problem 2: supercharger only at 50%
Problem 3: Apex launcher not recognized
Should I try to re-do everything, maybe this time with the offline method? But how to avoid the system space problem?
aledex said:
I'm sorry, I thought I edited the post. I'm using Elk's CM10 for Desire.
After trying several times to wait after having wiped cache and davlink (and fixed permissions) I re-flashed the rom and tried to apply the superchager script.
Problem 1: not enough spaces on the system (I'm using INT2EXT)
Problem 2: supercharger only at 50%
Problem 3: Apex launcher not recognized
Should I try to re-do everything, maybe this time with the offline method? But how to avoid the system space problem?
Click to expand...
Click to collapse
First off, I used it for CM10 too but without int2ext.
The reason for 50% is propably the unpatched service.jar(at beginning I had this issue too)
First, I would try to use the offline mode, the utility propably hasn't patched anything so try if it's working by manual way.
Just put the service.jar on PC, patch it and replace it. Then start the Supercharger V
script gain and it should be 100%.
otherwise do that:
On your SD Card there should be a Supercharger.html with a "log" or sth like that, please send it to me.
Additionally check if there is a "V6 Supercharger" folder on your SD, created by the script.
And check the output of the Windows tool! Be sure you have phone drivers on your PC and your phone is connected without SD Card Read if you use online.
-------------------------------------------
The space on system shouldn't be a problem, you have to use at least 250mb system (so stock hboot), int2ext only mounts /data on ext, so as I understood it is used for fatsys hboots which have 450mb system and NO space for data...
Why do you think that the space is a problem? Where did you notice it?
The APEX problem can be discussed after getting the rest work...
Please give feedback whether it worked or not
Androidmarketuser said:
First off, I used it for CM10 too but without int2ext.
The reason for 50% is propably the unpatched service.jar(at beginning I had this issue too)
First, I would try to use the offline mode, the utility propably hasn't patched anything so try if it's working by manual way.
Just put the service.jar on PC, patch it and replace it. Then start the Supercharger V
script gain and it should be 100%.
otherwise do that:
On your SD Card there should be a Supercharger.html with a "log" or sth like that, please send it to me.
Additionally check if there is a "V6 Supercharger" folder on your SD, created by the script.
And check the output of the Windows tool! Be sure you have phone drivers on your PC and your phone is connected without SD Card Read if you use online.
-------------------------------------------
The space on system shouldn't be a problem, you have to use at least 250mb system (so stock hboot), int2ext only mounts /data on ext, so as I understood it is used for fatsys hboots which have 450mb system and NO space for data...
Why do you think that the space is a problem? Where did you notice it?
The APEX problem can be discussed after getting the rest work...
Please give feedback whether it worked or not
Click to expand...
Click to collapse
Here's my problem:
1 - Installation of starter kit:
http://i50.tinypic.com/dqp5qf.png
2 - Patch of services.jar went ok with offline mode, but when I try to change permissions
http://i45.tinypic.com/34drlog.png
(this problem is obviously related to point 1)
Supercharger.html in attachments
aledex said:
Here's my problem:
1 - Installation of starter kit:
http://i50.tinypic.com/dqp5qf.png
2 - Patch of services.jar went ok with offline mode, but when I try to change permissions
http://i45.tinypic.com/34drlog.png
(this problem is obviously related to point 1)
Supercharger.html in attachments
Click to expand...
Click to collapse
Do you have stock hboot?
Try to delete some unnecessary preinstalled apps with file explorer.
(I search for some which you could delete...)
Edit: in system/app/ you can delete at least Calenar.apk, ES File Explorer.apk and Email.apk (after backup I think you can delete Gallery2.apk too, don't know how this affects on camera)
This should free at least 4mb and should be enough.
The file was just a help file and not a log, sorry for the mistake, thought it would create a og, but you have showed me the eroor with the pics...
Hey mate can you make a youtube video showing the steps. I understand better with visuals, and thanks for sharing.
Sent from my HTC Desire using xda app-developers app
Androidmarketuser said:
Do you have stock hboot?
Try to delete some unnecessary preinstalled apps with file explorer.
Click to expand...
Click to collapse
Yes I have stok hboot, and this is the first time I try to install V6 on a JB rom.
Concerning the lack of space I've done like you said, thank you!... BUT when I try to install binay 3.1 (which should fix the segmentation faults) it points out that it's only for ICS and aborts the installation. So I fixed the permission manually.
Now I'm going to check the rest and see what happens.
Fixed permission, flashed update-signed.zip, wiped davlink and cache, rebooted and... well, after HTC logo the screen turned off and only the hardkeys were illuminated
I'm going to flash the rom again and start from the beginning for the third time.
aledex said:
Yes I have stok hboot, and this is the first time I try to install V6 on a JB rom.
Concerning the lack of space I've done like you said, thank you!... BUT when I try to install binay 3.1 (which should fix the segmentation faults) it points out that it's only for ICS and aborts the installation. So I fixed the permission manually.
Now I'm going to check the rest and see what happens.
Fixed permission, flashed update-signed.zip, wiped davlink and cache, rebooted and... well, after HTC logo the screen turned off and only the hardkeys were illuminated
I'm going to flash the rom again and start from the beginning for the third time.
Click to expand...
Click to collapse
I saw that you are going to install Paranoid anyway, I have flashed CM10 recently so I have to redo my Supercharger and I will explain it in detail for you.
I will edit this post but give you a overview first.
I recommend to flash Gapps first and then enable a2sd.
Try installing Supercharger without the use of Starter Kit, Busybox, SQlite and SU binaries (v3.2) are preinstalled (if you want to check for update anyway check it in SuperUser app)
StarterKit is designed to give everyone the TESTED busybox version, to avoid problems, but try it without the installation of StarterKit, just if it doesn't work because of busybox get the one of StarterKit (I will try it with preinstalled version, not the one of StarterKit)
So here are my steps, I'll try:
1. patch services.jar with offline mode, then put the output service.jar with ES File Explorer in /system/framework
2. With terminal emulator I will set the permissions and the owner
3. I will launch the Superuser script.
You can try this while I am using this method, too, but in any case I will report if it works or not
Edit: I decided to make a video, for this I will use StarterKit too, to show everything.
chico1620 said:
Hey mate can you make a youtube video showing the steps. I understand better with visuals, and thanks for sharing.
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
I'll have to see, I have only a camera of the year 2005 or a old samsung phone of the year 2008/2009
I don't know if the quality would be good enough + I would do it only for 4.0+ ROM
Androidmarketuser said:
I'll have to see, I have only a camera of the year 2005 or a old samsung phone of the year 2008/2009
I don't know if the quality would be good enough + I would do it only for 4.0+ ROM
Click to expand...
Click to collapse
Does not matter my problem is the terminal coding i dont want to mess it up and change something crucial.
Sent from my HTC Desire using xda app-developers app
chico1620 said:
Does not matter my problem is the terminal coding i dont want to mess it up and change something crucial.
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
I'm currently making a video but I don't know if I can upload it today, but tomorrow you'll have it in any case
Quality is good I noticed.
Androidmarketuser said:
I'm currently making a video but I don't know if I can upload it today, but tomorrow you'll have it in any case
Quality is good I noticed.
Click to expand...
Click to collapse
Omg ty mate, i will be looking forward to it. Im also trying to follow your guide and see how things go, jopefully i succeed
Sent from my HTC Desire using xda app-developers app
Androidmarketuser said:
I saw that you are going to install Paranoid anyway, I have flashed CM10 recently so I have to redo my Supercharger and I will explain it in detail for you.
I will edit this post but give you a overview first.
I recommend to flash Gapps first and then enable a2sd.
Try installing Supercharger without the use of Starter Kit, Busybox, SQlite and SU binaries (v3.2) are preinstalled (if you want to check for update anyway check it in SuperUser app)
StarterKit is designed to give everyone the TESTED busybox version, to avoid problems, but try it without the installation of StarterKit, just if it doesn't work because of busybox get the one of StarterKit (I will try it with preinstalled version, not the one of StarterKit)
So here are my steps, I'll try:
1. patch services.jar with offline mode, then put the output service.jar with ES File Explorer in /system/framework
2. With terminal emulator I will set the permissions and the owner
3. I will launch the Superuser script.
You can try this while I am using this method, too, but in any case I will report if it works or not
Click to expand...
Click to collapse
Thank you, you are very patient and nice!
Yes I'm indeed trying Paranoid, because it solves the big problem I had with Elk's CM10 (wifi not working with wifi networks with PEAP), although it is slower and I intend to revert back as soon as the problem is fixed.
I will try your method, hoping that the hateful fragmentation fault problem doesn't occur anymore. :fingers-crossed:
aledex said:
Thank you, you are very patient and nice!
Yes I'm indeed trying Paranoid, because it solves the big problem I had with Elk's CM10 (wifi not working with wifi networks with PEAP), although it is slower and I intend to revert back as soon as the problem is fixed.
I will try your method, hoping that the hateful fragmentation fault problem doesn't occur anymore. :fingers-crossed:
Click to expand...
Click to collapse
Thanks for you thanks
I don't know if it is rally the segmentation (or whatever it's called) because it only occurs in ICS, if you want to install the su binary of the StarterKit it says NO because you don't need this (I think so)
I will upload a video tomorrow and I hope it solves your problem, for me everything's working fine
Does reinstalling the rom gets rid of the script? Because I'm currently using mildwild 5.0 and when I installed the supercharger script the rom got slightly slower, so I was wondering if reinstalling the rom gets rid of the script. Maybe I picked the wrong choices when installing the script I'm gonna wait for you to make a video so I can correctly do it.
Sent from my HTC Desire using xda app-developers app
chico1620 said:
Does reinstalling the rom gets rid of the script? Because I'm currently using mildwild 5.0 and when I installed the supercharger script the rom got slightly slower, so I was wondering if reinstalling the rom gets rid of the script. Maybe I picked the wrong choices when installing the script I'm gonna wait for you to make a video so I can correctly do it.
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
Reinstalling the rom deletes supercharger, because system is wiped (i think so)
The Video will show how you install the script, there aren't man decisions which you can choose incorrectly.
The speed is especially affeced by multitasking mod (keeps apps in memory, a bit less RAM for games) and freemem options which you choose in supercharger script, I recommend Option 6 for balanced settings.
AS I said the video only shows the basic things (and only for 4.0+)...
Edit: Video wont have many anotations, will be under time pressure
Sent from my HTC Desire using xda app-developers app

[User Thread] Mazout360's CM10.1 Weeklies for the LG-P999

The reason for this User Thread is so that we can keep the development thread clean. Post in the development thread only if you have something useful to contribute such as a logcat, or any dev-related comments. Post any suggestions, bug reports, questions or comments about the rom in this thread,
What's working and what's not?
Working:
Camera - Yes, this means Camcorder also works! 1080P Video shooting and playback work great.
Bluetooth
WiFi
Audio
SD Card Storage
Battery Meter
And of course Hardware Acceleration!
Not Working:
RIL (Mobile Network) - This means no calls, no SMS, no Data, no anything related to the functions of your SIM Card! T-Mobile WiFi Calling also doesn't work.
Information On Dual Booting Roms
Since we currently have an issue with the network radio on our CM10 roms, most people will not be able to use this rom as a daily driver, and would prefer to stay on a fully functioning GB rom. This dual booting method lets us have the best of both worlds! You can have a buttery smooth and fast CM10 rom for enjoying all of Android Jellybean 4.2.1 goodies and a fully function Gingerbread rom when ever you need to make a call and such. For now, this is the best we can do. It's simple and very fast to switch between roms. What else could you ask for? ;D
Installation Instructions Including Dual Booting
DISCLAIMER
I (WE) AM NOT RESPONSIBLE of any damages to your device related to the use of this ROM or the dualboot toolkit. You do this at your own risk. Even though this has been tested and works well, using NVFLASH may brick your device if done incorrectly.
This ROM comes in two flavours: The dualboot toolkit or the Original flashable ROM
Dualboot ROM Instructions
WARNING! NVFLASH will format EVERYTHING, including internalSD. Make sure you backup your important files on your externalSD card
PART 1 - Resizing system partition
1) Unzip the dualboot toolkit and unzip NVFLASH_Resizer-G2X.zip.
2) Power off your phone and remove the battery. Keep vol. up and vol. down held and plug the phone via USB to a WINDOWS computer.
3) Windows should add an "APX driver". Go to control panel -> Device manager and right click on it -> Update driver -> search in system. Then, browse to the drivers folder inside the NVFLASH package and choose nvidiausb.inf. Approve any error messages (Windows 8 users read my FAQ). Install the Nvidia Fastboot driver.
4) Unplug your phone and hold down vol.up and vol.down. Replug it again and double click on flash.bat inside the NVFLASH folder. KEEP BOTH BUTTONS HELD DOWN DURING THE WHOLE PROCESS!.
5) When NVFLASH is done, unplug the phone and put back the battery. Reboot into recovery with power + vol. down. Plug it back and go to mounts and storage -> mount USB storage. If your PC asks to format the internal SD card, select yes.​
PART 2 - Installing ROMS
1) Download the desired "call/SMS" ROM and extract boot.img from it's flashable zip. Rename it to boot1.img. Extract Step3_bootimg.zip from the dualboot toolkit and copy-paste boot1.img into system/boot, replacing the file that is already there. Repack Step3_bootimg.zip.
2) Copy-paste your desired ROM into the 0dualboot folder and send it to your device SDcard with everything it contains (your device should already be in the "mount USB storage" menu).
3) From the recovery, flash Step1_enabler.zip. When the screen goes black, hold power + vol. down to get back into recovery.
4) Flash your desired ROM, then Step2_ROM1.zip. Reboot to the OS.
5) You should have a Systemchanger app. Open it, click on "Switching" and give root permissions. When the screen goes black (again...), hold power + vol. down to get into recovery.
6) Flash ROM2.zip and Step3_Bootimg.zip and reboot in the OS
And there you go! To switch from one OS to another, just open the systemchanger app and click on "switching"!
Credits to bihariel for the original method. See the original thread here.​
Original flashable zip ROM instructions
1) Boot into recovery with power + vol. down
2) Wipe data/cache, then mounts and storage -> format system
3) Flash this ROM
4) Advanced -> Wipe dalvik cache and fix permissions
5) Reboot and enjoy!​
Special trick : In settings, go to About phone and click 6 times on Build number. This will pop up the developer and performances options. In performances options, CPU settings, change the governor from INTERACTIVE to SMARTASSV2.
Downloads
ROM with DUALBOOT Toolkit ***BETA***
DOWNLOAD HERE!
Original flashable ZIP (For single boot)
DOWNLOAD HERE!
Credits
See Mazout360s original thread here for the full list!
Thanks to bihariel for the original method for the Optimus 2X which I adapted for the P999. Great job!
Special thanks to Core Memory for helping me start this project[/CENTER][/QUOTE]
*All Information On this User Thread is from Mazout360s Thread in the Dev forums. Credits go to him for the Instructions/Downloads/Etc.
Quick template for now.. I'll update it as soon as I can.
Mazout Kernel on Stock 2.3.4
I flashed Mazout360's GB kernel over kwes' rooted 2.3.4/March 2012 basebannd. Was running pretty smooth, but had some problems
> Bluetooth icon at top of screen did not turn off "connected" status when I turned off my headset (BlueAnt q2.1)
> Had a few freezes. Installed SetCPU to keep max speed at 1015MHz but still some stops. Some out of nowhere, some in the middlle of doing stuff
> Finally started shutting down often. Tried to get a terminal emulator from the Market, but Market started crashing, even after several reboots. Could not get a kmsg to send.
Reinstalled my nandroid. No time at the moment to play more, need my phone reliable for some days to come. Hope lots of people try this kernel out and that I get more time with it. Nice to have new Dev activity for the G2x.
Quick question, i was wondering if it matters what zip tool we are using? Can i use 7zip for this, or should i use winzip?
Sent from my Mazout driven Reborn Hellbird.
grantusmantus said:
Quick question, i was wondering if it matters what zip tool we are using? Can i use 7zip for this, or should i use winzip?
Sent from my Mazout driven Reborn Hellbird.
Click to expand...
Click to collapse
Shouldn't matter, but I always use Winrar.
Micro SD card not detected
I was following along the steps and everything was going well until step 5 in part 1. when i rebooted my phone into recovery and pulged it into the PC nothing happened even though i followed exactly what the steps say, then i continued on and everything was going well until the end, where i found out that i couldn't get the data that I backed up to my Micro SD card because the phone doesn't see it.
Please help, I'm a noob around here.
I appreciate all the great work
did this project die?
reeshmd23 said:
did this project die?
Click to expand...
Click to collapse
No it didn't. My build computer broke and I need to setup a new HDD with my build environment. I'll make a new version as soon as possible.
hello,
I have dualboot now with hellfire2.4.2 and cm10 mazout's. So one is cm 7 and the other one is cm 10, I want to flash kernel but how? If I flash cm7 kernel will it block the cm10 rom or vice-versa?
guys I have just realized that I do not have dualboot after that steps
5) You should have a Systemchanger app. Open it, click on "Switching" and give root permissions. When the screen goes black (again...), hold power + vol. down to get into recovery.
6) Flash ROM2.zip and Step3_Bootimg.zip and reboot in the OS
I had systemchanger app and clicked on switching after that I flashed mazout's rom then when I open app drawer in cm10 rom, I noticed that I do not have systemchanger app anymore nor camera app.?? what should I do? If I do all steps all over again sould it be working ?
0b095 said:
hello,
I have dualboot now with hellfire2.4.2 and cm10 mazout's. So one is cm 7 and the other one is cm 10, I want to flash kernel but how? If I flash cm7 kernel will it block the cm10 rom or vice-versa?
guys I have just realized that I do not have dualboot after that steps
5) You should have a Systemchanger app. Open it, click on "Switching" and give root permissions. When the screen goes black (again...), hold power + vol. down to get into recovery.
6) Flash ROM2.zip and Step3_Bootimg.zip and reboot in the OS
I had systemchanger app and clicked on switching after that I flashed mazout's rom then when I open app drawer in cm10 rom, I noticed that I do not have systemchanger app anymore nor camera app.?? what should I do? If I do all steps all over again sould it be working ?
Click to expand...
Click to collapse
If you flash another ROM, you have to flash the corresponding stepX....zip file right after before rebooting, else you won't have the dualboot app.
Since android 4.2.2 just got out, I'll wait until it gets stable and make my upcoming build out of it For now, my phone battery doesn't work very well so I can't really test anything until I get a new one.
Hey. I got everything to work and am dualbooting nicely. My problem is kernel. I flashed a recent CM7 with this and everything went fine. Then I went to install the most recent CM7 kernel from Maz (the OC) and that works until I switch to Rom2 and back. Then the wifi gets an error and wont do anything. The kernel wont stick. Did I miss something?
Also, last night went to bed with my phone charging and when I woke up my phone was burning hot. Had Max OC at 1100.
Thanks! Works great having a taste of 4.2.1 and a phone!
Sent from my LG-P999 using xda app-developers app
Mazout360 said:
If you flash another ROM, you have to flash the corresponding stepX....zip file right after before rebooting, else you won't have the dualboot app.
Since android 4.2.2 just got out, I'll wait until it gets stable and make my upcoming build out of it For now, my phone battery doesn't work very well so I can't really test anything until I get a new one.
Click to expand...
Click to collapse
thank you, I see the problem now, and two question more; do I have to redo PART 1 - Resizing system partition everytime when I install different rom combinations or reinstall same roms and does that Resizing system partition harmful/useless or slows down the phone IF I only use 1 ROM?
I'm considering the dual boot, but want to know if it's possible to go back to single boot if/[hopefully] when radio is fixed. I suppose it'll be a matter of using original nvflash and format to have only one partition?
*edit1* Ok, now I'm getting my toes wet with this. fastboot.bin...what am I doing with this? The instructions say "install NVidia fast boot." Ok, but how? Or, has it already been installed with APX? I'm confused.
*edit2* ok I have dual boot! Wow this is interesting. Been running it through different combinations of reboots through system changer, and it seems when I update gb to the latest mazkrnl it won't stick after switching to jb and back again.
Do I need to use the boot.img from the kernel and repack it into step3?
Sent from my LG-P999
Oh shoots. Somewhere along the line I managed to break the wifi
MAC address comes up as unavailable in jb, just says error whenever I try to turn it on in gb. I'm thinking start the process over?
Sent from my LG-P999
adamiscool said:
Oh shoots. Somewhere along the line I managed to break the wifi
MAC address comes up as unavailable in jb, just says error whenever I try to turn it on in gb. I'm thinking start the process over?
Sent from my LG-P999
Click to expand...
Click to collapse
You need to flash a kernel. I am having the same problem, but flashing a kernel after switching back to GB fixes everything.
Edit: fyi I use maz's latest kernel 0205OC
Sent from my LG-P999 using xda app-developers app
Freakthis08 said:
You need to flash a kernel. I am having the same problem, but flashing a kernel after switching back to GB fixes everything
Click to expand...
Click to collapse
So, you mean that after using system switcher app, do power+vol up and flash kernel? Because any time I've tried that it only works on the first instance when i boot into gb. Once i go to jb and back again, the kernel goes back to stock. I'll try again though. Maybe fix permissions too!
Sent from my LG-P999 using xda app-developers app
adamiscool said:
So, you mean that after using system switcher app, do power+vol up and flash kernel? Because any time I've tried that it only works on the first instance when i boot into gb. Once i go to jb and back again, the kernel goes back to stock. I'll try again though. Maybe fix permissions too!
Sent from my LG-P999 using xda app-developers app
Click to expand...
Click to collapse
When you system switch back to GB, reboot back into recovery and flash a kernel. I wouldn't say it goes back to stock because if it did there wouldn't be a wifi error like that. But for some reason JB works fine nothing wrong I have seen yet, though I just noticed I don't have a camera/gallery.
After switching back and forth so much I just flash the kernel and don't do anything else because nothing has seemingly changed if I wipe anything or fix anything.
If Maz has answer for this I would be much appreciated or anyone else for that matter.
Sent from my LG-P999 using xda app-developers app
Edit: figured it out. A new boot1.img does need to get made with the new kernel already installed.
I created a new boot.img per the instructions on the original dual boot for p990 thread with maz kernel. Then I repacked step3_bootimg. Reflashed rom2 and the step3, then voila! So, you have to redo a couple steps if you want to update one rom's kernel.
Pic no longer related.
guys im having some trouble, when i go to the systemchanger app and grant permission instead of the screen going blank it gets stuck on a screen with two lg logos.
i think i havent installed the fastboot drivers correctly. i assumed it gets installed when i run flash.bat, but it may need to be installed seperately. if it needs to be installed how do i do it cause its just a .bin file and i have no idea what to do with it
---------- Post added at 10:20 PM ---------- Previous post was at 10:15 PM ----------
adamiscool said:
I'm considering the dual boot, but want to know if it's possible to go back to single boot if/[hopefully] when radio is fixed. I suppose it'll be a matter of using original nvflash and format to have only one partition?
*edit1* Ok, now I'm getting my toes wet with this. fastboot.bin...what am I doing with this? The instructions say "install NVidia fast boot." Ok, but how? Or, has it already been installed with APX? I'm confused.
*edit2* ok I have dual boot! Wow this is interesting. Been running it through different combinations of reboots through system changer, and it seems when I update gb to the latest mazkrnl it won't stick after switching to jb and back again.
Do I need to use the boot.img from the kernel and repack it into step3?
Sent from my LG-P999
Click to expand...
Click to collapse
hey, i have the same question, did u install the fastboot.bin separately or does it get installed with the flash.bat???

Categories

Resources