[SCRIPT][HOW-TO]Make Live Wallpapers Smoother!
So I was searching around the Internet to find a way to make live wallpapers smoother. And I found a tutorial
on another forum, tried it, and it worked like a charm, so I decided to post the tutorial on XDA Developers. Credits for this go to boimkun, a member of the Symbianize
If you don't make to waste time on making the script, I have uploaded mine for you. Download the script
-An application for making scripts (in this tutorial we are using GScript)
1. Open GScript
2. Click Menu, and then click "Add script"
3. Tick "Needs SU" if it's not ticked
4. Set the script name, and type in the text box below:
renice -15 `pgrep android.process.acore'
Note: "android.process.acore" stands for your launcher process name. You can use android.process.acore for ADW Launcher and Launcher Pro
5. Save the script and execute it
You must run the script on every boot.
Optional (I haven't tried this, but works very smooth without this as well):
Originally Posted by boimkun
Maybe you want to try to renice the live wallpaper too (this may slow it down, I would not suggest to do it). To do this
- launch the terminal
- write 'ps' then press enter
- will appear a list of processes. here you should find one that has a name similar to the LWP you're using (for example, I'm using Pixel Zombies Infection and the process name is haydenTheAndroid.liveWallpaper.pixelZombies)
now you can renice it either from terminal or from GScript.
To renice from terminal:
- check the number *** which the process has in the PID row. You have to remember this number
- write 'su' then press enter. now you have root privileges
- write 'renice N ***' where N is the nice number you want (20=minimum priority ; -20=maximum priority, which you obviously don't want). You can set it to 20 to give the LWP the minimum priority
To renice from GScript go in the script you already created and add a similar line, by substituting "-15" with "20" and the process name with your LWP's process name.
You should now see an increased smoothness when scrolling homescreens and app drawer
That was all for this tutorial. Please post a comment, whether this script works for you or not.
"If you think you can, therefore, you can." - Unknown
"A journey of a thousand miles begins with a single step." - Confucius
"Question everything." - Einstein
"Don't let anyone tell you what you can't do."
Android Ultimate Toolbox Pro Updated as of 4.5.2013
Boot Animation Factory Updated as of 1.6.2013
Boot Animation Creator Obsolete
Boot Animation Previewer Obsolete
D802 16GB: Android 4.4.2 KitKat (stock)
HTC EVO 3D: CyanogenMod 11