[FIX] Ultra & Super Smooth Sense 4.0 Launcher (Rosie) + AutoRotate + Supercharged
Sense 4.1 launcher on base 2.17.401.2 renders this mod obsolete, the launcher is 60fps smooth and locked, with full 3d widget and LWP, an amazing achievement HTC, keep it up!
This mod is only for Sense 4.0 bases but you can still use this thread to supercharge your ROM
This mod is reverse .smali rewrite that's actually changing with each Sense release from HTC, requires lots of testing and many times major recoding, code samples can be found in this post in other words its not a simple variable switch
Ultra Smooth Launcher locks the frame rate during page scroll in Sense launcher (Rosie.apk)
Essentially it's an optimization which forces Rosie to flatten the layers depth effect in Sense widgets, this effect is resource heavy and the reason for frame drops or stutter, the stock kernel rarely ramps the CPU clock beyond 1GHz or 2 cores in Sense launcher, which is good for both the battery and temps but causes random lag when dealing with this effect.
Super Smooth Rosie
This will keep the layered widgets in the intial screen you begin scrolling from and freezes/flattens all the other pages until you stop scrolling.
It will satisfy those who don't want to completely lose the effect. There might still be a very slight frame rate drop during the initial 3D flip.
This mod is applied to both FxWorkspace.smali and FxWorkspaceClient.smali
Ultra Smooth Rosie
This mod goes even further, it completely disables the layers effect by flattening and freezing all homescreens during scroll. Locked liquid smooth 60fps!
Any lag or stutter you experience at this point is not caused by Sense launcher.
This mod is applied to both FxWorkspace.smali and FxWorkspaceClient.smali
This mod will simply replace your Rosie.apk and remove Rosie.odex if it's there, back up just in case!
It works on both custom and stock rooted ROMs (the zip file requires BusyBox)
No need for wipe and you can flash them over each other using recovery, the stock file is provided in case you want to go back
Links to other Sense 4.0 devices and older bases in the second post
Remaining random stutter & lag
Any stutter you experience after applying ultra smooth is no longer self caused by the Sense launcher itself.
You need to remember that switching ROMs every two days, means nothing will ever be smooth, simply because ROMs needs a while to settle everything and cache.
Equally Android's multitasking priority groups are likely to blame, you can try the following to apply Supercharger's OOM priority fixes and reduce random stutter.
There might still be a downloaded app or widget running amok in the background, running task manager will help you identify problematic apps.
Increase Interface Response
If this is not included in your ROM by default, add the following to build.prop, this will be added if you choose Miscellaneous & 3G tweaks in supercharger windowsmgr.max_events_.per_sec=200
UI Frame Rate Cap
This line is not needed since ICS is 60 by default, but if you add it to build.prop you will limit the UI FPS to your liking for example if you like 30fps, make sure to include the spaces: persist.sys.NV_FPSLIMIT = 60
Warnings
This will only work on ROMs based on the ruu file number included in the zip filename, therefore you will lose any mod applied to rosie, such as transparent app drawer or themes, you can ask forum members to provide an updated version of these mods or you can search in this thread many members are posting their version of this mod, also note if you ever uninstalled and restored the sense launcher through Titanium backup this zip file won't work, since TB restores the launcher to system/app/com.htc.launcher.apk, so you will have to unzip, rename and manually push the file.
Poll[VOTE] Do you want Official Sense Launcher locked @ 60FPS?
Please contribute to this poll! in the hope that HTC will remove this effect in future version of Sense or at the least provide an options to disable it and so provide an out of box locked smooth launcher experience.
A locked smooth launcher concludes the initial perception of the device performance. [UPDATE] Success! stock launcher is now locked 60fps smooth on update 2.17.401.2
Requests
Post your requests for specific ROMs and other Sense 4.0 devices and if myself or some other fellow XDAer find the time, we will apply it, you are required to post Rosie.apk along with the device name and firmware number.
Developers
You are welcome to include this mod, just please give credits
Donations
This mod in all its version took so much time from umy life, backtracking through the smali Rosie code, endless trying and testing, there was no global variable for this setting so i kept trying until i found out how to control the scrolling behavior with minimal code manipulation, so if this mod totally rocked your world or made your own ROM better, please consider donating, it will help encourage my future work and help my wife in forgiving me
Extracting & repacking classes
- Download Backsmali pack and extract to a folder of your choice
- Copy your stock Rosie.apk to the same folder
- use 1-UnpackClassoutFromRosie.apk.bat file is provided to extract classout folder from classes.dex inside Rosie.apk
- Mod the .smali files using notepad++
- Once you are done modding use 2-RepakClassout.bat to repack the classes.dex file
- rename Rosie.apk to Rosie.zip and replace the classes.dex file using winrar etc
- rename back to Rosie.apk
- Done
AutoRotate patch
- com/htc/launcher/settings/SettingsUtil.smali, find the method "isSupportOrientationChange" and change the last "const/4 v0, 0x0" in the method to "const/4 v0, 0x1"
Yayyyyyyyyy!!!!!
Thanks Hamdir brother
So I just woke up to see the freakin' ultra smooth rosie nailed on the head by Hamdir
So all glitches are gone as far as u have tested??
Device: HTC One
ROM: Renovate Nightlies
Kernel: Stock
CPU Controller: ROM Toolbox Pro
Be a nice fella and THANK those who have helped you!
Yayyyyyyyyy!!!!!
Thanks Hamdir brother
So I just woke up to see the freakin' ultra smooth rosie nailed on the head by Hamdir
So all glitches are gone as far as u have tested??
deal breaking bugs are fixed, re-written completely with clean code
but didn't test for a long time, so report what you find
the stock zip file is provided to restore as usual
yes as long as its the same base software number, keep in mind if Bindroid includes modes to Rosie or tweaks menu they will go away, better ask you Chef
yes as long as its the same base software number, keep in mind if Bindroid includes modes to Rosie or tweaks menu they will go away, better ask you Chef
awaiting your feedback guys
How to install
Edit sorry found it. Getting late here. Sorry.
Send from my Xtremed Bricked powered LeeDRoID One X
If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?