This is an automatic installer for the lagfree script and the dalvik fix build.prop changes.
It does detect if you're using ICS or GB and does set it up accordingly.
Explanation and credits are in post 2. Manual instructions on how to apply this without the installer are at post 3. Have fun!
Most easiest way to check if the tweak script works is to open terminal before installation and type:
Code:
cat /proc/sys/vm/*
After flashing the zip do the same thing again and check if the numbers have changed (which they should have done).
pastime1971 said:
tony and i have worked out a flashable zip of init.d script + build.prop mod
there are two types of installations. choose one you like.
* system installation *
buttery-system.zip : edits /system/build.prop & installs /system/etc/init.d/99tune
to revert it, simply re-flash ROM.
you have to flash this every time you flash a ROM.
* user installation *
buttery-local.zip : edits /data/local.prop & installs /data/local/userinit.d/99tune
buttery-local-remove.zip : reverts /data/local.prop & removes /data/local/userinit.d/99tune
this changes /data/ and therefore, the effect is permanent unless you change it manually, which is the reason for buttery-local-remove.zip
# do a nandroid backup always.
# it probes if ROM is GB or ICS and apply mod accordingly. (only tested on ICS. please test it and feedback on GB.)
# to check if it is working, do the following in terminal
Code:
getprop | grep dalvik
getprop cm.buttery.active
cat /proc/sys/vm/*
!!! this script is based on vork kernel installer. the credit goes to vork team (benee and kiljacken)
Click to expand...
Click to collapse
Please give pastime1971 a "Thanks" at the following post: original post by pastime1971
Credits to whom they belong:
This idea has been ported over from the G2x forum (link, by flak0).
Thanks goes to flak0 and batoo.
The original thread of the tune.sh script (by batoo) can be found here.
and of course to pastime1971 who did the most work for this great installer. Thank you so much!
What does it do?
atb1183 said:
dexopt flags:
m=y -> use mapping, optimize the dalvik code
u=n -> NOT a uniprocessor, optimize for multicores
v=n -> do Not verify , breaks some old app compatibility but dalvik get a bit more speed (tonyp: doesn't work in Android 2.3!)
o=v -> im not sure, i think this sets optimization level to the highest. but again, not sure. alternate is o=a.
might wanna look into the /proc/sys/vm/dirty_ratio tweaks, cant remember exactly and im quite surprise many roms dont have these tweaks in the init.d scripts
it specifies how much cache/junk data to keep in memory. if the ratio is high, after a while, so much crap is kept that it waste your ram and slow the phone down.
Click to expand...
Click to collapse
Manual instructions:
Read this properly! This guide requires some knowledge of editing system files and running scripts.
It wouldn't harm to do nandroid backup! I didn't do one and everything worked fine - but it's on your own risk! You have been warned!
(if your phone won't boot anymore wiping /system and reflashing your ROM should restore everything without you loosing any data).
First we need to edit some dalvik dexopt flags in the build.prop (you can do that with the build.prop app from the market):
backup your build.prop
edit your build.prop
ICS: change dalvik.vm.dexopt-flags=.... to dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n
GB: change dalvik.vm.dexopt-flags=.... to dalvik.vm.dexopt-flags=m=y,o=v,u=n
right below add: dalvik.vm.execution-mode=int:jit
ICS only: change windowsmgr.max_events_per_sec=... to windowsmgr.max_events_per_sec=300
comment out dalvik.vm.heapgrowthlimit if it exists by placing a # in front (or delete the whole line).
save
Now Reboot to Recovery and Wipe Dalvik + reboot
Now you need to download and extract the attached tune.sh script and place it into /sdcard
Either run the script with Terminal Emulator or with the Script Manager app (don't forget to use root)
For the first method: Open the "Terminal Emulator" app and type:
Code:
su
cd /sdcard/
sh tune.sh
You're done. But you need to run the script after every reboot - or just place it under /system/etc/init.d/, rename it to "90tune" and set the permission to "rwxr-xr-x", then it will run automatically at each reboot.
Have fun!
@tonyp....
well just that I am a bit busy at office and saw ur thread fortunately....I would wait for people to give their comments, experience on GB (as I use DJ 1.5 beta from Carburano )and also the CWM flashable file so I dont need to do all that hardwork and reserve that for the office
Thanks once again mate
As soon as I'm able I will try and test this on GB and ICS. Maybe in the evening.
Thanks for bringing this to our attention Tony
Sent from my LG-P990 using XDA
tonyp said:
I'm "porting" over some information from the G2x forum (link) which should possibly help against the well known decreasing speed of the phone after some uptime.
At the G2x forum they're pretty excited and talking from buttery smoothness.
Thanks goes to flag0 and batoo.
The original thread of the attached script (by batoo) can be found here.
Read this properly! This guide requires some knowledge of editing system files and running scripts for now.
Edit: Good news, I linkes an app to edit the build.prop and included instructions how to run the script. Now it's pretty straightforward and you should be done in 10-15minutes.
It would be possible to create a flashable zip which does these steps for you, but creating a script which edits values in the build.prop isn't that easy and takes some time. If it works well it will get incorporated by the ROM devs anyway - owain already said at the G2x forum that he will include it in a later build.
It wouldn't harm to do nandroid backup! I didn't do one and everything worked fine - but it's on your own risk! You have been warned!
(if your phone won't boot anymore wiping /system and reflashing your ROM should restore everything without you loosing any data).
First we need to edit some dalvik dexopt flags in the build.prop (you can do that with the build.prop app from the market):
backup your build.prop
edit your build.prop
change dalvik.vm.dexopt-flags=.... to dalvik.vm.dexopt-flags=m=y,v=n,o=v,u=n
right below add: dalvik.vm.execution-mode=int:jit
change windowsmgr.max_events_per_sec=... to windowsmgr.max_events_per_sec=300
comment out dalvik.vm.heapgrowthlimit by placing a # in front (or delete the whole line).
save
Now Reboot to Recovery and Wipe Dalvik + reboot
Now you need to download and extract the attached tune.sh script and place it into /sdcard
Either run the script with Terminal Emulator or with the Script Manager app (don't forget to use root)
For the first method: Open the "Terminal Emulator" app and type:
Code:
su
cd /sdcard/
sh tune.sh
You're done. But you need to run the script after every reboot - or just place it under /system/etc/init.d/, then it will run automatically at each reboot.
Have fun! Works like a charm for me!
I only tested it with CM9 (owain build #77).
If you want to test that out in GB (either Stock or CM7) you probably shouldn't touch "windowsmgr.max_events_per_sec" (don't do step 5 above!).
Please give some feedback!
Click to expand...
Click to collapse
Thanks bro its flak0 though lol
Sent from my LG-P999 using xda premium
Crashing my Cm7 ROM
Goodmorning,
Ive just tried the tweak, but it just crashed my Phone. After updating the Build.prop the phone, just wouldnt start up anymore.
Restored backup.. and up and running again!
Im running Temasek CM7.
Just so you know!
Regards!
WyCkson
wyckson said:
Goodmorning,
Ive just tried the tweak, but it just crashed my Phone. After updating the Build.prop the phone, just wouldnt start up anymore.
Restored backup.. and up and running again!
Im running Temasek CM7.
Just so you know!
Regards!
WyCkson
Click to expand...
Click to collapse
I'm pretty sure this is cm9 ics only as it says ics in the title.
Sent from my Optimus 2X using XDA
Shadowchaz said:
I'm pretty sure this is cm9 ics only as it says ics in the title.
Sent from my Optimus 2X using XDA
Click to expand...
Click to collapse
OP states: 'If you want to test that out in GB (either Stock or CM7) you probably shouldn't touch "windowsmgr.max_events_per_sec" (don't do step 5 above!).'
Ximo F. Verde said:
OP states: 'If you want to test that out in GB (either Stock or CM7) you probably shouldn't touch "windowsmgr.max_events_per_sec" (don't do step 5 above!).'
Click to expand...
Click to collapse
You are right, missed that line! Thanks for clarifying.
flak0 said:
Thanks bro its flak0 though lol
Click to expand...
Click to collapse
lol sorry for that
I tried it with owain 78, I placed the script in init.d after editing build.prop and before rebooting, and it works perfect for now, no lag at all. Thanks tonyp,
Enviado desde mi LG-P990 usando Tapatalk 2
Tried on XXmrHyde's unnoficial 8 - works likec harm - that's great!
sergiob8 said:
I tried it with owain 78, I placed the script in init.d after editing build.prop and before rebooting, and it works perfect for now, no lag at all. Thanks tonyp,
Click to expand...
Click to collapse
Make sure to set the permission to rwxr-xr-x
Code:
chmod 0755 /system/etc/init.d/tune.sh
DAMN! Went back to CM7 because of this lag.
CM9 was unusable for me because I needed my phone to run properly at work.
I'm some kind of forced to flash
Don`t feel a need to do anything like that for CM7
Runs like a charm for the last few days.
I created a flashable zip to install the tune.sh script into init.d: http://d-h.st/NFq
You still need to manually edit the build.prop. I probably won't create an installer for that because this will probably get incorporated into the ROMs anyway.
tonyp said:
I created a flashable zip to install the tune.sh script into init.d: http://d-h.st/NFq
You still need to manually edit the build.prop. I probably won't create an installer for that because this will probably get incorporated into the ROMs anyway.
Click to expand...
Click to collapse
i was forced to get back to CM7 like others cause of this lag... will try this script later but
thanks a lot man, good to see people like you helping comunity.
it works for me, system is very fast
BUT google play store force closes instantly -.-
Player9446 said:
it works for me, system is very fast
BUT google play store force closes instantly -.-
Click to expand...
Click to collapse
After manual method, my play store still works flawless
Sent from LG 2X using Tapatalk 2 Elite
Player9446 said:
it works for me, system is very fast
BUT google play store force closes instantly -.-
Click to expand...
Click to collapse
Clear market data. Are you using cwm touch?
Sent from my LG-P990 using XDA
Related
As normal, it's not my fault if you fubar your tab by flashing this or if zombies come and speedhump your cat. You've been warned.
Well, hello there, some of you may know me from my vzwtab (7") work, but I'm sure most of you don't.
No matter, I just finished deodexing my framework and app folders, so I decided to share with you.
This isn't anything special, just you're stock system that's been deodexed, I did not remove any programs, there are really only three or so 'bloatware' apps on here, so I didn't bother.
If you would like to, just use root file explorer (or your preferred method) to remove them.
In addition to the stock items I have added pershoot's SU/Busybox/misc package (SOURCE) All credit goes to him for that.
If there's anything else, just let me know. I have tested this on my own rooted tab and everything seems to work fine and be stable.
If you notice any issues, please format/clear both Dalvik & normal Cache. It's probably the cause.
Features
Deodexed flashable system
Pershoot's SU/Busybox/misc pacakage (nano, VIM, all kinds of other goodies)
Changelog
06212011- r1 - Initial Release
Known Issues
You may have to go through and manually delete your odex's in /system/app/ and /system/framework/ but the apk's and jar's no longer call them. (I can't get the amend format command working right. if you want to tell me how, please!)
Installation
Reboot into CWM either via ROM Manager or via power off, volume down + power, volume down to CWM icon and volume up to select.
Select Install Zip from SD Card
Navigate to location of zip and select okay
Clear Cache and Dalvik Cache (in advanced)
Reboot
Make themes for me
Download
HERE
Lastly, if you like my work, donate to me so I can donate money to devs that make my world easier (and therefore yours).
awesome finally someone to break ground for the Samsung Galaxy tab! Thanks will try it out!
Not sure if it matters but is this for retail or I/o version? Does it matter since it is basically the same tab?
For any ideas: maybe you could include a way for hulu to work without any work arounds? And maybe some lag fixes. Although that may be solved with a custom kernel.
Sent from my PC36100 using XDA Premium App
Decided to test this on the retail version.
The only problem is that root is broken because there are two su binaries installed.
/system/bin/su - installed from file Samsung_Galaxy_Tab_10.1_root.zip when you rooted the device.
/system/xbin/su - installed when you added [Tools] – SU/BusyBox/Misc – Galaxy Tab 10.1 (Update: 6/18/11).
To fix:
http://forum.xda-developers.com/showpost.php?p=14016703&postcount=18
------
the /system/bin/su binary need to be removed.
Su does not work on the tablet with two su binaries installed.
Use adb to remove /system/bin/su
adb remount
adb shell
cd /system/bin
rm su
reboot
I tried running titanium backup prior to a reboot after removing /system/bin/su and it would not work. I uninstalled/reinstalled and it worked, but a reboot may have fixed the problem.
I manually deleted all the odex files - no problems so far. I will provide an update later if I have problems.
------------
You can remove /system/bin/su when you update the image again.
JD
Yeah, I just noticed that myself actually. Don't know why I didn't catch it before.
Anywho, I think I'll prolly push an update to this tomorrow after I write a script to remove the odex's. It was my initial thought, but I thought it would be easier to used the updater-script to do it, but looks like just writing an additional one will be best.
Glad the su thing didn't confuse you too much!
Sweet thanks for this. Going to give it a whirl!
I flashed the Samsung_Galaxy_Tab_10.1_root.zip after flashing the Rom. Everying is working fine.
I didn't need to remove su from anywhere.
Thanks!
Sent from my GT-P7510 using XDA Premium App
Same here
Sent from my GT-P7510 using XDA Premium App
Any chance you can add a browser.apk that gives access to Google Labs?
Sent from my GT-P7510 using Tapatalk
touchpro247 said:
I flashed the Samsung_Galaxy_Tab_10.1_root.zip after flashing the Rom. Everying is working fine.
I didn't need to remove su from anywhere.
Thanks!
Sent from my GT-P7510 using XDA Premium App
Click to expand...
Click to collapse
You will only have problems when you try to run an app that requires root (Root Explorer, Titanium backup....).
danielsjam said:
You will only have problems when you try to run an app that requires root (Root Explorer, Titanium backup....).
Click to expand...
Click to collapse
Nope, not at all. They both run fine. Thanks tho. Others may have that problem, I don't.
touchpro247 said:
Nope, not at all. They both run fine. Thanks tho. Others may have that problem, I don't.
Click to expand...
Click to collapse
If you have both su binaries - and all works - good to hear. I will flash again, but will reboot a second time to see if it matters. Those apps did not run until I remove the su from bin.
Strange how two devices with the same specs operate different on certain software.
JD
shouldn't that have been:
cd /system/bin ?
i didn't try mine w both since i didn't want hassle of find out if it worked or not. no reason for 2 su's.
danielsjam said:
Use adb to remove /system/bin/su
adb remount
adb shell
cd /system/app
rm su
reboot
JD
Click to expand...
Click to collapse
madsquabbles said:
shouldn't that have been:
cd /system/bin ?
i didn't try mine w both since i didn't want hassle of find out if it worked or not. no reason for 2 su's.
Click to expand...
Click to collapse
Yes - my bad - should be /system/bin - will correct it.
Thanks
Jd
Its because one su has the correct permissions and the other doesn't.
Sent from my GT-P7510 using XDA Premium App
how about adding some screenshots ??
pflorin said:
how about adding some screenshots ??
Click to expand...
Click to collapse
Looks just like stock...
So whats this have that stock doesnt,,,whats the pro's to flashing as opposed to what I already have?
concept0 said:
Looks just like stock...
Click to expand...
Click to collapse
camblue said:
So whats this have that stock doesnt,,,whats the pro's to flashing as opposed to what I already have?
Click to expand...
Click to collapse
When themes become available you'll be able to flash them. You'll aslo be able to flash a few other mods...
Sent from my GT-P7510 using XDA Premium App
anaphora68 said:
Any chance you can add a browser.apk that gives access to Google Labs?
Sent from my GT-P7510 using Tapatalk
Click to expand...
Click to collapse
No, you're more than welcome to sideload an apk's you wish however.
I'll push out an update today that gets rid of my silly su mistake, gimmie a couple hours.
Glad you people are enjoying it.
requires Root (Superuser/Busybox), and a kernel that supports "init.d" scripts (script files that are stored in /system/etc/init.d/).
The script also has a partner called V6 supercharger they go pretty well together heres a link to the V6 supercharger by zeppelinrox
this script is so easy to use but users might have problems using it so here is a easy install for you all to use i have converted it to run on non samsung phones by renaming the file and removing processes connected to the stock samsung apps
Have Clockwork recovery installed
Download the update.zip from the bottom of the post
Reboot into recovery and install the update.zip
Now for the really easy part
Using Root Explorer navigate to ect/init.d and select mount RW now scroll down to the "97loopy_smoothness_tweak" file and open it in the text editor within root explorer and you will see the 3 main sections to the script they are called
At the start of the script you will see this
Code:
USER_LAUNCHER=""
you need to add the launcher you currently use so that it gets locked in
Resident system apps
Other system apps
Other apps
in the 3 sections you will see lines one code that look the same which are
Code:
if [ $PROCESS_1 -eq "0" ]; then PNAME="com.android.phone"; NICELEVEL=-20; if [ `pidof $PNAME` ]; then renice $NICELEVEL `pidof $PNAME`; PROCESS_1=1; P_CHECK=`expr $P_CHECK + 1`; fi; fi;
All you do to add a app you want to keep in memory for as long as possible is to edit the script and change these values for e.g the stock dialer to go contacts
Code:
PNAME="com.android.phone";
to
Code:
PNAME="com.japps.contactpro";
that will keep Go Contacts EX locked in the background so everytime you wish to use the GC EX dialer you wont have to wait for it redrawing before using it.
To find the process names goto the data/data folder and all the folders you see in there are the process names used by the apps e.g. the com.android.vending folder is the process name for the vending.apk aka market app.
Just to let users no this script will not auto start the apps on reboot and once you first select the app you have added to the script after reboot you will have to wait for the app to redraw the app again into the memory slot once it has done that the app will remain in a cache type(hidden) form until you run the app again then it will return to ram in the foreground.
lpy of XDA said:
What this script hopes to achieve:
- Entering your PIN with minimal/no delay/lag
- Minimising delay with lock screen pattern/unlock (not the time it takes to wakeup, but the touchscreen response lag)
- Having smoother notifications on the status bar, and smoother pulldown menu response
- Minimising Launcher lag while Media Scanner is running (can scroll through screens without heavy pauses)
- Minimising lag when scrolling through the market while icons are still loading
- Installing/Uninstalling apps while continuing other tasks
- Minimising/eliminating intermittent lag spikes in gaming
- No delay in being able to answer phone calls
... you get the idea
Click to expand...
Click to collapse
Thanks goes to the creator lpy @XDA
tweak source:
http://forum.xda-developers.com/showthread.php?t=1137554
Download:
http://www.mediafire.com/?g4fte3m87t3ukui
Install via CWM as update.zip ???
Have you tested this? I'm doing backup right now, and I might, but I'm looking at the script, and it says it's for Galaxy S. There's also a part on one of the first lines where you have to specify your launcher. Also, I don't think the scripts it our init.d even begin with "S_..", but rather with a two digit number, e.g. "06swapon".
EDIT: I edited the file to point to my launcher "com.fede.launcher", and touched nothing else. Named it "18smooth" or something of the sort, and put it in /system/etc/inid.d. The system failed to boot(never got past the second "LG" screen. Maybe it's the rom I'm using, but this is not working so far. I hope your promised tutorial is of use.
nutterbg said:
Have you tested this? I'm doing backup right now, and I might, but I'm looking at the script, and it says it's for Galaxy S. There's also a part on one of the first lines where you have to specify your launcher. Also, I don't think the scripts it our init.d even begin with "S_..", but rather with a two digit number, e.g. "06swapon".
EDIT: I edited the file to point to my launcher "com.fede.launcher", and touched nothing else. Named it "18smooth" or something of the sort, and put it in /system/etc/inid.d. The system failed to boot(never got past the second "LG" screen. Maybe it's the rom I'm using, but this is not working so far. I hope your promised tutorial is of use.
Click to expand...
Click to collapse
yes i have tested it and it works i will be uploading a modded one for the update.zip but if you install it just rename it to 97smoothnees, it asks for the launcher you currently are using e.g. adw launcher but if you have any worries wait until tomorrow for the tut
I think this is helping with battery management because my battery seems to be going down slower
Sent from my GT540 using XDA Premium App
Let's hope I'm wrong. Looking forward to that tutorial.
Downloaded it, and flash'd it in cwm on my girlfriends gt540. In her opinion, it makes a noticeable difference.
Sent from my Nexus S using XDA Premium App
Oki, so I install this script and I must say that it's working. ;-)
Tut added hopefully you can all understand it
Hmm, I don't know why but I don't have "97loopy_smoothness_tweak" in folder.
pRo_lama said:
Hmm, I don't know why but I don't have "97loopy_smoothness_tweak" in folder.
Click to expand...
Click to collapse
let me have a quick check to see whats going on
eoghan2t7 said:
Have Clockwork recovery installed
Download the update.zip from the bottom of the post
Reboot into recovery and install the update.zip
Click to expand...
Click to collapse
I did this and when i'm trying to do next i can't find the file in etc/init.d folder
pRo_lama said:
I did this and when i'm trying to do next i can't find the file in etc/init.d folder
Click to expand...
Click to collapse
i just tried the update.zip again there and it installed fine for me what clockwork version are you using?
but you can extract the zip file and manually add the file to the init.d folder and give it these perrmissions
xxx
xxx
xxx
I have 4.0.1.4.
When I apply script, reboot phone then on screen with PIN I don't have any delay.
pRo_lama said:
I have 4.0.1.4.
When I apply script, reboot phone then on screen with PIN I don't have any delay.
Click to expand...
Click to collapse
try adding it manually to see what happens.
So I must manualy add the file into system and then continue with tutorial ???
yes you coy the script to the ect/init.d folder then continue with the tut
ok, i'm going to try it ;-)
Can't download please mirror on another hoster.
Sent from my GT540 using XDA Premium App
Should this method not eat battery rather than conserving it? As apps run in background correct me if m wrong....
Sent from my GT540 using XDA App
What this does is speed up your tab. Its crazy how well zepplinrox got this to work, but it makes the tablet fly. It doesnt require more battery, nor stress the hardware any. It alters and fixes the OOM groupings, lowmemorykiller and the priorites. I don't want to get into the nitty gritty, but do it and I'm sure you will be amazed!
If you do not have the init.d folder, then you need to load a custom rom. Some custom roms will have this folder. Read on page two, zepplinrox explains it more.
Here is the process to get the supercharger to work and stick on out tabs. Its all spelled out on the original post ( by zepplinrox ) , but this is the short and sweet version.
You need to be rooted and have busybox 1.18.2 or lower.
First off go here and download the script : www.mediafire.com/?w6682pwu52ty5o6
Then download this app : https://market.android.com/details?id=os.tools.scriptmanager&feature=search_result
1. Then you run the script manager and find the V6 script that we first downloaded.
2. When you click on the script, the manager will open,( Make sure the run as root box is ticked under the "run" button ) just hit run in the top left of the screen.
3. Then, you have to just click in the black anywhere and the keyboard will open. Select a number 1, 2, or 3 , this is how fast the text will scroll. Being the screen is so big, select number 1. You will be fine. Hit enter on the keyboard, then lower the keyboard away.
4. You can now see a lot of options, don't get nervous. The script does it all itself. Being that we have so much ram already, the minfrees are already huge, but can be bigger . So options 1 - 7 are smaller than the stock minfrees. You can use either setting 8 or 9. I'm using the setting number 9. So to select the minfrees you want ( either number 8 or 9 ), click on the screen to bring up the keybpard, and hit the number you want ( again 8 or 9 only )!
5. Once that is done you will see the script run some info in front of you. It will say to reboot but don't yet. Type the number 17 in, and you will see it say bye etc. Ok, once it says bye, hit the back soft key in our launcher. Now navigate to this on the screen that in front of you. Keep hitting back until you get to the ''/'' of the tablet. Rom there you will click on ''system'', then click on ''etc'' and lastly on '' init.d '' . In there you will see a file called '' 99SuperCharger'' . Click on that and the script manager will open again, but you need to select certain boxes this time before hitting run. When the screen comes up hit '' run as root '' and '' run on boot ''' and hit save. Once that is done hit run ( nothing happens here, so don't expect to see anything scrolling) , then back out using the back arrow in our launcher. Then reboot your tablet, and that's it. The custom minfrees now stuck, and your supercharged!
Thanks to zepplinrox for this script!
P.s. to find out of the script stuck, reload the FIRST V6 script. Select your speed like we did, then once it is all loaded up you will see a line in there that says prior mifrees ( prior is still your current ) . Just match that up with the number you selected at first.
Thats it.
Here is the op on supercharging, from zepplinrox forum.xda-developers.com/showthread.php?t=991276
Sent from my Galaxy Tab!
so what does this do exactly?
In a nutshell, its a memory manager.
It will speed up your phone, multiasking etc. Its kinda crazy how well it works, and does not require more battery life like overclocking does. What it does it rearrange the OOM groupings, lowmemorykiller and priorties.
Sent from my Galaxy Tab!
cool thanks for the quick reply, can this be used in conjunction with a Task's ROM and pershoot's kernel?
I think I'll wait for others to test this out first seems too good to be true
mickey78 said:
cool thanks for the quick reply, can this be used in conjunction with a Task's ROM and pershoot's kernel?
Click to expand...
Click to collapse
yes. you can use in on basically anything bro.
yes it works anything android based. And for the skeptics, its been out for sometime now. Look here..
forum.xda-developers.com/showthread.php?t=991276
That's the op on this.
Sent from my Galaxy Tab!
Samsung Adrenaline Shot
This has been developed for some days and I am using on my Captivate, it's amazingly fast. I know some files are HC based but written for GB, maybe someone take a look and see if it will work?
http://forum.xda-developers.com/showthread.php?t=1236779
I use SAS, not USAS as it is just a script.
I've been using it for a while on my evo and the same with the tablet. All works well.
Sent from my Galaxy Tab!
I'll follow this thread closely. It always amaze me how a small group of people working together can achieve things beyond what Google themself can achieve with their OS.
Im getting permission denied during the last step (run as boot etc.)
Any ideas? My tab is deffo rooted as other apps that require root work fine.
Cheers!
I haven't got the init.d? What's wrong? I'm using broadcom KH7.
Here is a screen shot.
same for me, i dont get the init.d folder. I saw many permission denied lines in the script, so i run the script again with root. It doesnt help and i restart my Tab... and now i am in a bootloop. So i restore my backup, but can someone tell me what i do wrong?
Thx in advance
Flash
Edit: same for me, like klass1 , i use the Broadcomb stock too
klass1 said:
Here is a screen shot.
Click to expand...
Click to collapse
I also have the same problem, running stock rom.
Is root required?
Hey sorry guys, I'm out of the house. But yeah root required, I think. But not 100% sure as I have always been rooted. And as far as not seeing the init.d folder.. are you fellas all the way back to the '/' in the script manager? Go system, etc,init.d and the 99SuperCharger should be there. In sure why you can't see back that far. Are all or you guys rooted that are having issues? The ron type doesn't matter, as these folders are universal on all roms.
Also I too received some denied lines, but all is working as should. So that shouldn't be an issue.
Sent from a miui powered HTC Evo.
Yes, I am all the way back at / going to /system/etc and I could NOT find the init.d folder after running the script. I am rooted and using the Broodcomb ROM for GT-P7500. I have the same problem the other guys have. Help please!
i didnt have it either, the init.d folder, so i ran a kernel tweak from the creator of V6 scrpit and that created a init.d folder for me then i ran the script again and there it was the 99Suercharger file. So i think you can just create the folder your self, no need to run the kernel tweak, just ad new folder to system/etc called init.d that should fix it for thoose that dont have it created by the script.
And did you noticed a good speed improvment?
Sent from my GT-P7500 using xda premium
How do you create a folder?
Hello my fellow Android crack flashers! So Volk and I have wrote(him) and tested(me) his g2x nullifier for our phones. Well it works flawlessly! Which his thread is here. So with our learning adventures he has helped me port it to the O2x. So here is the run down. This was originally created as the g2xscrubber was insufficient enough for our flashberry addiction, and on top of that if wouldn't wipe our /cache either.
So the domino effect has begun. This is a simple script that will wipe your internal partitions cleaner then a whistle and get it dam near like new status, perfectly ready for a ROM. Like as if you just purchased it and didnt have any data on it nor a ROM and needed to be flashed. And yes it came all tricked out like that with CWM and all.. haha
So here it is...
The O2x Nullifier
This uses a special command in combination with a special file to overwrite the internal partitions with 0's, hence "Null" for 0 and "-ifier" for the fact that it does something. It also formats the partitions afterward, including /cache too! Enjoy!
Some brief need to knows:
1. This is a little lengthy process so please bear with it. The longest wipe is on /data which will take about 7 minutes. Obviously, make sure you have plenty of battery life before running it. I've ran this Nullifier like 20 times in the last two days of first testing and on average its about 1204 seconds or about 19.8 minutes, on average. The Single pass zip is only half of the time of course. Or you can just watch the progress bar. After 20 times of nullifing and log pulling in 2 days, im pretty dang sure the bar is accurate. So enjoy!
2. ONCE THE NULLIFICATION PROCESS HAS BEEN COMPLETED DO NOT, I REPEAT, DO NOT TURN OFF OR LET YOUR PHONE DIE BEFORE FLASHING A ROM OR RESTORING... or you will brick your phone.
3. I will provide help, support, etc. for this, but as always flash at your own risk and I am not responsible if you turn your phone into your next non-aerodynamic frisby.
Enjoy!
Also I have now decided to copy the log to sdcard at completion (thanks to DARKSIDE for the idea). But from now on the log created in /tmp while in cwm is now copied to sdcard as O2x-Nullified-recovery.log. So it will still be deleted from RAM but never lost any more!!!!! muhahahahahahah... love it!
Thanks go to Волк aka Volk for letting me test and learn from his G2x Nullifier script. And also to owain94 for helping me make sure that this thing will run ok on the O2x, since I dont actually have the O2x..
Also if is doesn't work, please we need logs. You need to use a file explorer or put the external sdcard into your pc and grab and upload or pm me the log from your sdcard the file will be named 'O2x-Nullified-recovery.log'
mini change log:
1.2 -> fixed sleep command, 1.2
1.3 -> updated binary script and added /cache info per vadonka's advice
1.3.1 -> Bad zip... reupped
1.3.2 -> zipped with 7zip should work now.. dumb winzip... reupped
skipped to 1.5 -> updated script and binary. Also removed /cache format command; instead do a manual wipe for now
skipped to 2.0 -> updated script and binary again. Manual format still.
2.1 -> No more manual /cache wipe and working progress bar!
2.2 -> Single/Dual pass zip options. Thanks to Volk for error check and darkside for log creation idea. Added support for su660
nice work mate!
Ok so i'm hijacking this post to use while i'm at work (with crappy lowest bid PC) and using this FOR MY TEST UPLOADS ONLY. THIS WILL CONSIST OF G2X TESTS GETTING READY FOR THE O2X... DO NOT DOWNLOAD ANY ATTACHMENT ON THIS POST OR ATTEMPT TO FLASH IT BECAUSE IT WONT WORK FOR YOU UNLESS YOU HAVE A G2X!
Thanks a lot mate
da-pharoah said:
This was originally created as the g2xscrubber was not sufficent enough for our flashberry addiction.
Click to expand...
Click to collapse
Remember to read first, if your question hasn't already been asked or answered, ask and maybe you'll get it posted in the Q&A post.
Pharoh, what did you fix I see nothing wrong.
>.>
carburano said:
Thanks a lot mate
Click to expand...
Click to collapse
No worries
Волк said:
Remember to read first, if your question hasn't already been asked or answered, ask and maybe you'll get it posted in the Q&A post.
Pharoh, what did you fix I see nothing wrong.
>.>.
Click to expand...
Click to collapse
lol nice catch.. was in a hurry to leave from work. Fixed now.
Hi friend...
just tried but it's not working... E: Can't Open /sdcard/O2x Nullifier beta 1.zip (bad) Installation Aborted...
Interesting, there will be a log in cache/Recovery can you send it to one of us and we can have a look. It may have not been zipped correctly. Or heck, I'll dl it right quick and have a look.
Ah, it's not signed. One sec.
new link.
http://db.tt/YeuzWktM
Error status 6...
Did you made the updater script in Linux, mac or windows?
If Mac or windows what text editor did you use?
Did you ever edited the updater script if yes what text editor did you use?
Sent from my LG-P990 using xda premium
owain94 said:
Error status 6...
Did you made the updater script in Linux, mac or windows?
If Mac or windows what text editor did you use?
Did you ever edited the updater script if yes what text editor did you use?
Sent from my LG-P990 using xda premium
Click to expand...
Click to collapse
used win7 and notepad++
error with op link or updated link by Волк?
carburano said:
Hi friend...
just tried but it's not working... E: Can't Open /sdcard/O2x Nullifier beta 1.zip (bad) Installation Aborted...
Click to expand...
Click to collapse
Волк said:
Interesting, there will be a log in cache/Recovery can you send it to one of us and we can have a look. It may have not been zipped correctly. Or heck, I'll dl it right quick and have a look.
Ah, it's not signed. One sec.
new link.
http://db.tt/YeuzWktM
Click to expand...
Click to collapse
OP updated thanks again Волк!
Why not just use the nvflash based v10b flashing released by Paul on modaco. I use that when I really want to clean everything up. Since it is V10b, easy to install CWM recovery using psneuter (thought it is not required) and can be done with a simple dd command directly.
hackworks said:
Why not just use the nvflash based v10b flashing released by Paul on modaco. I use that when I really want to clean everything up. Since it is V10b, easy to install CWM recovery using psneuter (thought it is not required) and can be done with a simple dd command directly.
Click to expand...
Click to collapse
Well really thats kind of a longer process.. thats a rom, this is just a tool to wipe clean your internal storage. Basically take it back to like new status, but still having full root ability. CWM will flash the rom of your choice after your done with the nullification process and manual /cache wipe. This will not take you back to a predetermined state (in terms of a rom), it will leave your phone a nice paper weight however until you decide to flash a rom.
nice work!
i have a little advice for you. use this method for the cache wipe and no need to manual wipe cache anymore
unmount("/cache");
run_program("/sbin/mke2fs", "/dev/block/mmcblk0p2");
run_program("/sbin/tune2fs", "-O", "extents,uninit_bg,dir_index,has_journal", "/dev/block/mmcblk0p2");
run_program("/sbin/e2fsck", "-fy", "/dev/block/mmcblk0p2");
run_program("/sbin/tune2fs", "-o", "journal_data_writeback", "/dev/block/mmcblk0p2");
run_program("/sbin/e2fsck", "-fy", "/dev/block/mmcblk0p2");
this create an ext4 partition, if you want ext3 just skip the first tune2fs row, and use the -j option in the mke2fs.
mke2fs recreate a new empty partition no need to fill with zeroes before, so the nullifying parts is unneded, just use the mke2fs. its enough, except if you want to wipe the data for reason.
I still receiving get the error message:
E: Can't Open /sdcard/O2x_Nullifier_1.2.zip (bad) Installation Aborted (Status 6)
Click to expand...
Click to collapse
What I'm doing wrong?
ev!denz said:
I still receiving get the error message:
What I'm doing wrong?
Click to expand...
Click to collapse
its because the update-binary is a bit old
use a newer update binary.
vadonka said:
its because the update-binary is a bit old
use a newer update binary.
Click to expand...
Click to collapse
How can I use a newer one?
Darn it! Ok im on my way to work.. I'll see if I can get around the limitations there an update for y'all...
Sent from my LG-P999 using xda premium
ev!denz said:
How can I use a newer one?
Click to expand...
Click to collapse
just replace the update-binary file in the META-INF\com\google\android\ directory
pull it from the cm7 kang for example.
vadonka said:
just replace the update-binary file in the META-INF\com\google\android\ directory
pull it from the cm7 kang for example.
Click to expand...
Click to collapse
OP updated
I have been looking through the recent ICS threads and people have had alot of out of memory problems, so I thought I would post this easy to understand tutorial (well I hope it will be easy to understand)
Before starting, on Miroslav's Project Icecream Swift, you need to download busybox installer and install version 1.18.2, busybox included will not correctly determine minfrees.
First download the latest version of V6 at the end of this post, then copy it to your SD card and run it with Script Manager (from the market).
Choose your prefered scrolling speed and in the latest version its pretty much automated, you just have to say yes no a few times but it will auto detect the best settings based on the RAM of the device.
Also do not superclean and reboot, we need to do something else before we reboot.
Ensure you have a file explorer that can view the /system partiton before continuing.
On your phone browse to http://android.mimic.ca
Then click browse and choose your file explorer, and find services.jar in /system/framework then upload it.
After this the site will modify the services.jar and offer a download for it, to make it easy lets just use the update.zip so select that and download it.
Using the stock browser atleast it will go to /sdcard/download.
After this reboot to recovery, scroll to mounts and storage and mount /system manually (when I did not do this it didn't write the modified file) then install the zip.
Wipe dalvik cache and reboot, first boot will take a long time while its upgrading applications then run the V6 supercharger script to confirm you are 100% supercharged and you have your hard to kill or die hard launcher.
Note: On AOKP (atleast this version) because it doesn't have init.d (think its that one) before you first reboot to install services.jar you will need to browse in script manager to /data and find the 99SuperCharger.sh file and make it run on boot to get 100% supercharged.
I don't know if its important but every new rom I use I repatch services.jar just to be safe.
Any questions post here (also if the file doesn't download let me know and I'll upload it and post the link.)
Recovery zips for AOKP and Icecream Swift services.jar can be found below, just mount /system manually and i"nstall zip from sdcard" sorry it took a bit
For me i just use swap works good enough
For me not. Even if i use swap when i try to use gplay and listen music, music app closes itself. (Miro's latest ron)
Sent from my GT540 using xda premium
coto39 said:
For me not. Even if i use swap when i try to use gplay and listen music, music app closes itself. (Miro's latest ron)
Sent from my GT540 using xda premium
Click to expand...
Click to collapse
Thats because swap is not technically used as RAM, what it does is suspends background apps using up RAM, then puts that state in to swap, the apps cannot run from the swap partition, so if you are listening to music and using the browser you will notice this, if you have twitter open, then open a link from a twitter post, the state of twitter gets pushed to the swap partition, to allow the browser to open and run, you then close the browser and it pulls twitter from the swap partition back to RAM giving the illusion of multitasking.
V6 actually gives multitasking by making sure android does not close apps when you have a fair amount of RAM left.
delsus said:
Thats because swap is not technically used as RAM, what it does is suspends background apps using up RAM, then puts that state in to swap, the apps cannot run from the swap partition, so if you are listening to music and using the browser you will notice this, if you have twitter open, then open a link from a twitter post, the state of twitter gets pushed to the swap partition, to allow the browser to open and run, you then close the browser and it pulls twitter from the swap partition back to RAM giving the illusion of multitasking.
V6 actually gives multitasking by making sure android does not close apps when you have a fair amount of RAM left.
Click to expand...
Click to collapse
Thanks for the explanation. I tried to apply supercharger (latest version, Update9RC8.2) to IceCreamSwift second official release bug when it try to apply minfrees the phone reboots.... The version you left works but don't shoy current minfrees, just shows: , , , , ,
coto39 said:
Thanks for the explanation. I tried to apply supercharger (latest version, Update9RC8.2) to IceCreamSwift second official release bug when it try to apply minfrees the phone reboots.... The version you left works but don't shoy current minfrees, just shows: , , , , ,
Click to expand...
Click to collapse
Hmm thats wierd, I have always been able to see them, but if it works it works
delsus said:
Hmm thats wierd, I have always been able to see them, but if it works it works
Click to expand...
Click to collapse
Don't know why but everytime i try to use the script with latest miroslav ICS i got an exception when try to appy supercalculator minfrees then a reboot.
With latest version of the script i can see original minfrees= "1,1,1,1,1,1,1" and when i try to apply new one = Poof! reboot!
Did you installed another busybox or something?... This rom without the script sucks in multitasking matter. (open one app and the others will be closed, is monotasking )
coto39 said:
Don't know why but everytime i try to use the script with latest miroslav ICS i got an exception when try to appy supercalculator minfrees then a reboot.
With latest version of the script i can see original minfrees= "1,1,1,1,1,1,1" and when i try to apply new one = Poof! reboot!
Did you installed another busybox or something?... This rom without the script sucks in multitasking matter. (open one app and the others will be closed, is monotasking )
Click to expand...
Click to collapse
I'll check it on new version of miro's rom tonight when I charge my phone (battery is dead right now) but I normally use the default busybox, it could be that the default has been changed on this rom, download busybox installer from the market and try a version on there, they are all complete so should have no problems on that end, lemme know if it still doesn't work.
delsus said:
I'll check it on new version of miro's rom tonight when I charge my phone (battery is dead right now) but I normally use the default busybox, it could be that the default has been changed on this rom, download busybox installer from the market and try a version on there, they are all complete so should have no problems on that end, lemme know if it still doesn't work.
Click to expand...
Click to collapse
My issue was cause by the minfrees calculated by supercalculator (option 10). Using option 2 is ok but, still have 9-5mb free and if i open 2 apps -> one of them close itself (and like you said, swap does't help with that)... so i have to go back to sdsl 2.0 :/
coto39 said:
My issue was cause by the minfrees calculated by supercalculator (option 10). Using option 2 is ok but, still have 9-5mb free and if i open 2 apps -> one of them close itself (and like you said, swap does't help with that)... so i have to go back to sdsl 2.0 :/
Click to expand...
Click to collapse
Hmm, I'll try myself soon, havent noticed the problem before, I'll report back
coto39 said:
My issue was cause by the minfrees calculated by supercalculator (option 10). Using option 2 is ok but, still have 9-5mb free and if i open 2 apps -> one of them close itself (and like you said, swap does't help with that)... so i have to go back to sdsl 2.0 :/
Click to expand...
Click to collapse
Ok I just resupercharged my phone running miroslav's rom, and I did see your problems, I fixed it downloading busybox installer and using busybox version 1.18.2 and it will detect your minfrees.
Also updated OP with this info and the patched services.jar files.
delsus said:
Ok I just resupercharged my phone running miroslav's rom, and I did see your problems, I fixed it downloading busybox installer and using busybox version 1.18.2 and it will detect your minfrees.
Also updated OP with this info and the patched services.jar files.
Click to expand...
Click to collapse
I did this, but when i run the script for second time to confirm if it worked, it says:
Launcher is DIE-HARD! ie. SUPERCHARGED
but after says:
OOM Grouping Fixes ARE NOT in Effect
...
Current values DON'T MATCH Prior SuperCharge!
this means that didn't worked???
I use miroslav last update 20/05/12
arperalta3 said:
I did this, but when i run the script for second time to confirm if it worked, it says:
Launcher is DIE-HARD! ie. SUPERCHARGED
but after says:
OOM Grouping Fixes ARE NOT in Effect
...
Current values DON'T MATCH Prior SuperCharge!
this means that didn't worked???
I use miroslav last update 20/05/12
Click to expand...
Click to collapse
Did you use busy box installer to install busy box or are you just using the version pre installed? The CM9 one will not work with V6.
Sent from my LG-GT540 using XDA
delsus said:
Did you use busy box installer to install busy box or are you just using the version pre installed? The CM9 one will not work with V6.
Sent from my LG-GT540 using XDA
Click to expand...
Click to collapse
I used busybox installer to get the version 1.18.2
arperalta3 said:
I used busybox installer to get the version 1.18.2
Click to expand...
Click to collapse
Using root explorer check /system/etc/init.d and see if there is a supercharger script in there.
If not try supercharging again, reboot and check, if its still not working find the 99supercharger.sh script and select "run on boot" and reboot, it should work after this.
delsus said:
Using root explorer check /system/etc/init.d and see if there is a supercharger script in there.
If not try supercharging again, reboot and check, if its still not working find the 99supercharger.sh script and select "run on boot" and reboot, it should work after this.
Click to expand...
Click to collapse
thanks, the script is in /system/etc/init.d, i will try to run the script with the option "run on boot" in script manager later
arperalta3 said:
thanks, the script is in /system/etc/init.d, i will try to run the script with the option "run on boot" in script manager later
Click to expand...
Click to collapse
Before you select "run on boot" just try to supercharge again, something could have messed up a little when you applied the minfrees, init.d scripts should run on boot anyway.
delsus said:
Before you select "run on boot" just try to supercharge again, something could have messed up a little when you applied the minfrees, init.d scripts should run on boot anyway.
Click to expand...
Click to collapse
weird weht i run the script in the end it says that everything is ok and active, but when i reboot and clean davilk chache and run again, it says that isnt ok
I have applied V6 Supercharge on this IceCreamSwift ROM. If I do Wipe Data/Factory Reset, do I need to apply V6 again?
Yes