5,603,646 Members 37,172 Now Online
XDA Developers Android and Mobile Development Forum

[Guide] Fix / Reduce SGS3 Home Launcher Redraw - Tested on TouchWiz

Tip us?
 
UpInTheAir
Old
(Last edited by UpInTheAir; 19th June 2012 at 10:18 AM.)
#1  
Recognized Contributor - OP
Thanks Meter 3861
Posts: 3,911
Join Date: Jan 2011
Location: Phuket, Thailand
Tutorial [Guide] Fix / Reduce SGS3 Home Launcher Redraw - Tested on TouchWiz

This basic guide was requested by a few users who found the Elite Dev zeppelinrox instructions a little overwhelming, so I found a "little" time to whip this up for you and others.

This guide is written for rooted deodexed SGS3 ROMs only with TW OOM priority above 1 (lower value = higher priority and less likely to be killed off). The patch sets the OOM value of the HOME Launcher to 1.
Use Auto Memory Manager (AMM) to check TouchWiz Home OOM priority >1
Menu > Running Processes > Group by OOM grouping

++ For those using an alternative Home Launcher (eg. Apex), ensure that it is set as "default/home" launcher, so that OOM priority for only the HOME Launcher is changed. Any change to home launcher default will require reboot into CWM recovery and wipe advanced/dalvik. ++
Note: For Apex, I have only checked for OOM priority change, not for redraw.

Below: Unpatched ALF2 TW OOM Priority = 6




TWO METHODS POSTED IN THIS GUIDE:

1. Modify your downloaded ROM.zip from Windows PC
2. From running ROM on Device

METHOD #1

* Modify your downloaded ROM.zip from Windows PC

Requirements:

1. 7-Zip
2. Root & CWM Recovery Thanks Chainfire!
3. Deodexed "ROM.zip" : Example = GT-I9300_WanamLite.XXALF2.V1.2.NO-WIPE.zip
4. Nandroid backup in CWM Recovery

1. Using 7-Zip on the PC, extract the services.jar from the ROM.zip system/framework/
a) Right click on ROM.zip > 7-Zip > open archive





b) Open system/framework
c) Extract services.jar to somewhere on the PC you can find it (Do not close 7-Zip system/framework/)





2. Upload the extracted services.jar to ICS OOM Priority Charger , follow the instructions there......





3. Download the patched services.jar to PC (the CWM.zip file may not work as itíll most likely require the updater-script modified)




4. Naviagte to your patched services.jar, left click (hold) and drag into the open 7-Zip system/framework
5. Close 7-Zip & copy ROM.zip to sdcard
6. Boot into CWM Recovery, Nandroid backup
7. Wipe cache & advanced/dalvik
8. Flash ROM.zip
9. Use AMM app to check TouchWiz Home OOM priority =1





10. Enjoy


METHOD #2

* From running ROM on Device

Requirements:

1. Root
2. Root Explorer app or similar (instructions are for Root Explorer)
3. Deodexed ROM
4. Nandroid backup in CWM Recovery

1. Open up device browser http://android.mimic.ca/





2. File upload > choose file > Root Explorer > phone menu > home > system > framework > services.jar





3. This will exit to the ICS OOM Priority Charger webapp
4. Upload





5. Download > Save As "services.jar" > OK
6. Open Root explore and navigate to /sdcard/Download
7. Long tap services.jar > copy





8. Back > back > system > framework
9. Mount R/W





10. Paste > overwrite
11. Set permissions: long tap services.jar > permissions > rw-r--r--





12. Reboot
13. Use AMM app to check TouchWiz Home OOM priority =1





14. Enjoy


Note: Some widgets (weather) may occasionally redraw as their OOM priority may allow them to be killed off, but you should see reduced TW Launcher redraw.

HUGE THANKS to subvertbeats@XDA for pointing me in the right direction and of course blk_jack@XDA for ICS OOM Priority Charger and especially zeppelinrox@XDA for the services.jar patch instructions.

Added Disclaimer: All your own risk. I am not responsible for anything you may try here. I didn't make you do it, blah blah blah
THANKS costs nothing.......

SGT-P6810 : Developer of :
 
SkyHigh Kernels for SGT 7.7 : P6810 & P6800

SkyHigh JB ROMs for SGT 7.7 : [ROM] 04 Dec [Aroma] [P6810 / P6800] Multi-Language & Multi-Window JB 4.1.2 | SkyHigh [v3.0]

P6810 + kernel & P6800 (discontinued)

[TWEAK] SGT 7.7 Battery Calibration [Fuel Gauge Reset]

[Guide] Flash Official JB 4.1.2 Firmware on P6810 Wi-Fi Device

+ Many other guides, mods & contributions

Other current device Samsung Galaxy S4 : GT-I9500 : Omega ROM
The Following 13 Users Say Thank You to UpInTheAir For This Useful Post: [ Click to Expand ]
 
patchseven
Old
#2  
Member
Thanks Meter 32
Posts: 51
Join Date: Jul 2010
Just to clarify, reading into the script a little it seems the priority changer changes the priority of the "home launcher", rather than "touchwiz home" itself in services.jar....

Am I reading this correctly?

So if someone were using, say Apex launcher as default home, this will still work as intended, and reduce the redraws on whichever app set as deafult home?

If so thank you VERY much
 
UpInTheAir
Old
(Last edited by UpInTheAir; 19th June 2012 at 06:45 AM.)
#3  
Recognized Contributor - OP
Thanks Meter 3861
Posts: 3,911
Join Date: Jan 2011
Location: Phuket, Thailand
Quote:
Originally Posted by patchseven View Post
Just to clarify, reading into the script a little it seems the priority changer changes the priority of the "home launcher", rather than "touchwiz home" itself in services.jar....

Am I reading this correctly?

So if someone were using, say Apex launcher as default home, this will still work as intended, and reduce the redraws on whichever app set as deafult home?

If so thank you VERY much
Just testing for you now.............
AMM > Apex OOM = 5
Set Apex as "home" launcher
Reboot and wipe dalvik
Check with AMM > Apex OOM = 1

YES, I belive it will, should work/help, I will edit my OP

Backup and test and see if theres any improvement in preventing the launcher being killed off, and causing redraw
THANKS costs nothing.......

SGT-P6810 : Developer of :
 
SkyHigh Kernels for SGT 7.7 : P6810 & P6800

SkyHigh JB ROMs for SGT 7.7 : [ROM] 04 Dec [Aroma] [P6810 / P6800] Multi-Language & Multi-Window JB 4.1.2 | SkyHigh [v3.0]

P6810 + kernel & P6800 (discontinued)

[TWEAK] SGT 7.7 Battery Calibration [Fuel Gauge Reset]

[Guide] Flash Official JB 4.1.2 Firmware on P6810 Wi-Fi Device

+ Many other guides, mods & contributions

Other current device Samsung Galaxy S4 : GT-I9500 : Omega ROM
The Following User Says Thank You to UpInTheAir For This Useful Post: [ Click to Expand ]
 
oyam
Old
#4  
Junior Member
Thanks Meter 31
Posts: 28
Join Date: May 2012
Default Where to get ROM.zip?

Quote:
Originally Posted by UpInTheAir View Post

1. Using 7-Zip on the PC, extract the services.jar from the ROM.zip system/framework/
a) Right click on ROM.zip > 7-Zip > open archive
thanks, where do i get this ROM.zip,can i deodox my stock services.jar and follow these steps?
 
UpInTheAir
Old
#5  
Recognized Contributor - OP
Thanks Meter 3861
Posts: 3,911
Join Date: Jan 2011
Location: Phuket, Thailand
Quote:
Originally Posted by oyam View Post
thanks, where do i get this ROM.zip,can i deodox my stock services.jar and follow these steps?
The "ROM.zip" refers to a any custom ROM that is in .zip format used to flash from CWM Recovery.

Example: GT-I9300_WanamLite.XXALF2.V1.2.NO-WIPE.zip

Most custom ROMs are installed this way, so using method #1, you can just replace the services.jar before copying the custom ROM.zip to you sdcard for flashing.

I'll update the OP, again.
THANKS costs nothing.......

SGT-P6810 : Developer of :
 
SkyHigh Kernels for SGT 7.7 : P6810 & P6800

SkyHigh JB ROMs for SGT 7.7 : [ROM] 04 Dec [Aroma] [P6810 / P6800] Multi-Language & Multi-Window JB 4.1.2 | SkyHigh [v3.0]

P6810 + kernel & P6800 (discontinued)

[TWEAK] SGT 7.7 Battery Calibration [Fuel Gauge Reset]

[Guide] Flash Official JB 4.1.2 Firmware on P6810 Wi-Fi Device

+ Many other guides, mods & contributions

Other current device Samsung Galaxy S4 : GT-I9500 : Omega ROM
The Following 2 Users Say Thank You to UpInTheAir For This Useful Post: [ Click to Expand ]
 
oyam
Old
#6  
Junior Member
Thanks Meter 31
Posts: 28
Join Date: May 2012
Quote:
Originally Posted by UpInTheAir View Post
The "ROM.zip" refers to a any custom ROM that is in .zip format used to flash from CWM Recovery.



Most custom ROMs are installed this way, so using method #1, you can just replace the services.jar before copying the custom ROM.zip to you sdcard for flashing.

I'll update the OP, again.
Cool, thanks i will give a try
 
jefflikesbagels
Old
#7  
Member
Thanks Meter 8
Posts: 45
Join Date: Oct 2010
I've been trying this method many times, but to no avail. I'm currently running on the NoSympathy OTA ROM. I've tried both methods, as well as using adb push/pull then copying it to the folder, then fixing permissions, and still nothing. It's like that website for patching the services.jar isn't working. Apex Launcher is still set to 6, no matter what I've done.

Any ideas?
 
watsa
Old
#8  
watsa's Avatar
Recognized Developer
Thanks Meter 1997
Posts: 4,276
Join Date: Feb 2011
Location: Markham

 
DONATE TO ME
well if you are using Apex why not just tick "keep in memory" option?
Galaxy S4 I337M (Black)

My Previous Work (Samsung Captivate)
Apex: http://forum.xda-developers.com/arch.../t-952588.html
Pinnacle: http://forum.xda-developers.com/arch...t-1247829.html
 
jefflikesbagels
Old
#9  
Member
Thanks Meter 8
Posts: 45
Join Date: Oct 2010
I have, but I still get the redraw problems.
 
UpInTheAir
Old
#10  
Recognized Contributor - OP
Thanks Meter 3861
Posts: 3,911
Join Date: Jan 2011
Location: Phuket, Thailand
Quote:
Originally Posted by jefflikesbagels View Post
I've been trying this method many times, but to no avail. I'm currently running on the NoSympathy OTA ROM. I've tried both methods, as well as using adb push/pull then copying it to the folder, then fixing permissions, and still nothing. It's like that website for patching the services.jar isn't working. Apex Launcher is still set to 6, no matter what I've done.

Any ideas?
Either your missing a step, ROM not compatible, permissions not set properly etc.

Have you rebooted after patching and wiped dalvik and cache in recovery?

Also, You could try to edit manually, link to zeppelinrox instructions in the OP. This may be a little overwhelming for some though.

Also, try his v6 supercharger script, this may help too. I think this has the option to patch during the setup process (read his thread)

Sent from my GT-P6810 using xda premium
THANKS costs nothing.......

SGT-P6810 : Developer of :
 
SkyHigh Kernels for SGT 7.7 : P6810 & P6800

SkyHigh JB ROMs for SGT 7.7 : [ROM] 04 Dec [Aroma] [P6810 / P6800] Multi-Language & Multi-Window JB 4.1.2 | SkyHigh [v3.0]

P6810 + kernel & P6800 (discontinued)

[TWEAK] SGT 7.7 Battery Calibration [Fuel Gauge Reset]

[Guide] Flash Official JB 4.1.2 Firmware on P6810 Wi-Fi Device

+ Many other guides, mods & contributions

Other current device Samsung Galaxy S4 : GT-I9500 : Omega ROM

Tags
home screen redraw, home screen reloading, touchwiz launcher, touchwiz launcher redraw, tw launcher redraw
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes