Post Reply

[FIX] Ultra & Super Smooth Sense 4.0 Launcher (Rosie) + AutoRotate + Supercharged

16th May 2012, 12:24 AM   |  #1  
hamdir's Avatar
OP Recognized Contributor
Beirut
Thanks Meter: 13,589
 
21,158 posts
Join Date:Joined: Aug 2008
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.

It's available in two flavors: screenshots

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

Sense 4.0 - HTC One X (international) - Downloads

- Smooth Rosie mods for test Base 2.05.401.2

- Smooth Rosie mods for test Base 2.05.401.2 + AutoRotate

- Smooth Rosie mods for test Base 1.29.401.11

- Smooth Rosie mods for test Base 1.29.401.11 + AutoRotate

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.

Supercharger
Supercharger's patched services.jar for One X test base 2.15.401.5
Supercharger's patched services.jar for One X test base 2.05.401.2
Supercharger's patched services.jar for One X base 1.29.401.11 + tutorial

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

Last edited by hamdir; 14th August 2012 at 09:00 AM.
The Following 104 Users Say Thank You to hamdir For This Useful Post: [ View ]
16th May 2012, 12:25 AM   |  #2  
hamdir's Avatar
OP Recognized Contributor
Beirut
Thanks Meter: 13,589
 
21,158 posts
Join Date:Joined: Aug 2008
Older versions and variations are posted here:

Sense 4.0 - HTC One X | international
- Downloads for test Base 2.05.401.2 + AutoRotate
- Downloads for test Base 2.05.401.2
- Downloads for official Base 1.29.401.11 + AutoRotate
- Downloads for official Base 1.29.401.11
- Downloads for official Base 1.29.401.7

Sense 4.0 - HTC One X | AT&T, Rogers (thanks to sk806)
- [MOD][PORT] (5/22/12) SMOOTH & ULTRASMOOTH ROSIE |1.82|Windows & Mac Installers

Sense 4.0 - HTC One S (thanks to he_stheone64)
- [MOD] Supersmooth Rosie & 6x5 App Drawer - lagfree and smoother experience
Quote:

Mini Guide - How to apply the fix to Sense 4.0 Rosie.apk

The modified code
A lot of lines were added so to find out what was changed:
- Download the full version of notepad++
- Download the Modded and Stock, FxWorkspace.smali & FxWorspaceClient.smali files
- Use the Plugins>Compare in notepad++ to compare each file with its stock alternative, it will highlight the added code for you
- The only difference between Ultra and Super is FxWorkspaceClient.smali file, where there are two conditions :cond_9 switched to :cond_3a

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"

Sense 3.x - Previous Devices
[FIX][GUIDE] Ultra & Super, Liquid Smooth Rosie for Sense 3.0>3.6 ROMs v1.1
Last edited by hamdir; 4th July 2012 at 11:01 AM.
The Following 12 Users Say Thank You to hamdir For This Useful Post: [ View ]
16th May 2012, 12:26 AM   |  #3  
hamdir's Avatar
OP Recognized Contributor
Beirut
Thanks Meter: 13,589
 
21,158 posts
Join Date:Joined: Aug 2008
Smooth Sense 4.0 Launcher mods for HTC One X (international) - base 1.29.401.7 | HD Resolution | Deodexed

The zip files will erase both Odexed Rosie.apk/.odex files and replace them with a single Deodexed Rosie.apk file
Last edited by hamdir; 27th May 2012 at 11:31 AM.
The Following 13 Users Say Thank You to hamdir For This Useful Post: [ View ]
16th May 2012, 12:29 AM   |  #4  
emmaair's Avatar
Senior Member
Flag Nuremberg
Thanks Meter: 15
 
150 posts
Join Date:Joined: Apr 2011
More
U are the best!
16th May 2012, 12:54 AM   |  #5  
DanteGR's Avatar
Senior Member
Flag Thessaloniki
Thanks Meter: 1,009
 
3,023 posts
Join Date:Joined: Dec 2010
More
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??
16th May 2012, 01:00 AM   |  #6  
hamdir's Avatar
OP Recognized Contributor
Beirut
Thanks Meter: 13,589
 
21,158 posts
Join Date:Joined: Aug 2008
Quote:
Originally Posted by DanteGR

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
The Following 3 Users Say Thank You to hamdir For This Useful Post: [ View ]
16th May 2012, 01:03 AM   |  #7  
DanteGR's Avatar
Senior Member
Flag Thessaloniki
Thanks Meter: 1,009
 
3,023 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by hamdir

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

Thank you sir
16th May 2012, 01:09 AM   |  #8  
inzaghi75's Avatar
Senior Member
Thanks Meter: 1,677
 
2,739 posts
Join Date:Joined: Oct 2009
More
Can we use it with other roms like Bindroid?

Gesendet von meinem HTC One X mit Tapatalk 2
16th May 2012, 01:19 AM   |  #9  
hamdir's Avatar
OP Recognized Contributor
Beirut
Thanks Meter: 13,589
 
21,158 posts
Join Date:Joined: Aug 2008
Quote:
Originally Posted by inzaghi75

Can we use it with other roms like Bindroid?

Gesendet von meinem HTC One X mit Tapatalk 2

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
Last edited by hamdir; 16th May 2012 at 01:23 AM.
16th May 2012, 01:24 AM   |  #10  
Goku80's Avatar
Senior Member
Flag Within the Matrix
Thanks Meter: 6,565
 
9,354 posts
Join Date:Joined: Mar 2012
More
Quote:
Originally Posted by hamdir

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

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in One X Android Development by ThreadRank