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

Search This thread

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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

OOM%20%3D%206.png



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


1.%207-Zip.jpg



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.%207-Zip%20Extract%20services.png



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


3.%20OOM%20Charger.jpg



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.%20Download.jpg



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


OOM%20%3D%201.png



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/


7.%20OOM%20Upload.png



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


5.%20Services.jar%20Location.png



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


7.%20OOM%20Upload.png



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


6.%20Root%20Explorer%20Options.png



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


5.%20Services.jar%20Location%20-%20Copy.png



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


9.%20Permissions.png



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


OOM%20%3D%201.png



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. :cool:

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
 
Last edited:

patchseven

Senior Member
Jul 13, 2010
58
38
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

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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 :D

Backup and test and see if theres any improvement in preventing the launcher being killed off, and causing redraw
 
Last edited:
  • Like
Reactions: patchseven

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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.
 
  • Like
Reactions: drashran and oyam

jefflikesbagels

Senior Member
Oct 19, 2010
55
8
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

Retired Recognized Developer
Feb 12, 2011
4,274
1,977
Markham
well if you are using Apex why not just tick "keep in memory" option?
 

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
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
 

jefflikesbagels

Senior Member
Oct 19, 2010
55
8
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

I've tried this about 5 times, so I know I haven't missed a step. Maybe you're right about it not being compatible. I have the Verizon i535 GS3, so maybe there's a difference somewhere.

Thanks for the help though.
 

eggman89

Senior Member
Apr 15, 2012
760
148
Bangalore
Get Ram Manager from playstore.
Tick "Keep launcher in memory".

Solved the problem for me.
I only get redraws while coming out of games or something. Otherwise no redraw.
Trust me, it works.
 

eggman89

Senior Member
Apr 15, 2012
760
148
Bangalore
That's a scam.
You said it yourself, you get redraws when you come out of a game.... LOL

It's like saying "I never crap until I poop"

Umm..yes..Only if I play games like NOVA or so..
Before that; if I browse for 20-30 mins or even go to playstore for 10-20 mins and hit on Homescreen button; there would be a redraw.
No its not at all.
Sometimes even waking up phone after a long time would cause it.
Now absolutely now. Infact my phone doesn't redraw at all unless I do a very heavy task.
By games I didn't mean Angry Birds.
Give it a try; it really makes things better.
 

zeppelinrox

Senior Member
Dec 21, 2010
9,374
21,590
IN THE FREAKIN' OP
That dev STOLE my OOM grouping fix and calls it lock home in memory.

He used to call it Hard To Kill which was stealing my "brand names" so I had that app pulled off the market until it was changed.

None of it does a single thing for launcher priority.

It's all BS... you get the same thing by lowering your minfrees but that would require you to know what you're doing.

SuperCharge it and then you'll know what's BS and what isn't.

Otherwise, you don't know crap about what is possible.
 
Last edited:
  • Like
Reactions: UpInTheAir

UpInTheAir

Account currently disabled
Jan 17, 2011
7,965
15,909
Phuket, Thailand
That dev STOLE my OOM grouping fix and calls it lock home in memory.

He used to call it Hard To Kill which was stealing my "brand names" so I had that app pulled off the market until it was changed.

None of it does a single thing for launcher priority.

It's all BS... you get the same thing by lowering your minfrees but that would require you to know what you're doing.

SuperCharge it and then you'll know what's BS and what isn't.

Otherwise, you don't know crap about what is possible.

If that's the case, he's no "dev" then.

Doesn't take much to take someone's hard work and call it their own. Need to give appropriate credit and if need be, ask first.

Sent from my GT-I9300 using xda premium
 

eggman89

Senior Member
Apr 15, 2012
760
148
Bangalore
That dev STOLE my OOM grouping fix and calls it lock home in memory.

He used to call it Hard To Kill which was stealing my "brand names" so I had that app pulled off the market until it was changed.

None of it does a single thing for launcher priority.

It's all BS... you get the same thing by lowering your minfrees but that would require you to know what you're doing.

SuperCharge it and then you'll know what's BS and what isn't.

Otherwise, you don't know crap about what is possible.
Well I had no idea that he stole your work. Really sorry for that.
I can only tell from a consumer's POV that it actually works; and it's not a placebo.

Earlier if I browsed a page with lots of Images and go to home screen; it would re load.
Now it doesn't. At all.

I should commend you for it; since it's your work.
But it does work and now I'm not embarrassed to hand my phone for show off.
That relaod was crapping on my showoff :laugh:
 

zeppelinrox

Senior Member
Dec 21, 2010
9,374
21,590
IN THE FREAKIN' OP
Well I had no idea that he stole your work. Really sorry for that.
I can only tell from a consumer's POV that it actually works; and it's not a placebo.

Earlier if I browsed a page with lots of Images and go to home screen; it would re load.
Now it doesn't. At all.

I should commend you for it; since it's your work.
But it does work and now I'm not embarrassed to hand my phone for show off.
That relaod was crapping on my showoff :laugh:
It moves the launcher down a slot.

That's it.

It still gets killed in the same order as before.

I made the grouping limits more multitasking friendly.

Glad you enjoy getting screwed so much.

Now STFU about it because you still haven't a clue.

The app really is a piece of **** and represents all that is wrong with app development and kanging.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    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

    OOM%20%3D%206.png



    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


    1.%207-Zip.jpg



    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.%207-Zip%20Extract%20services.png



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


    3.%20OOM%20Charger.jpg



    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.%20Download.jpg



    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


    OOM%20%3D%201.png



    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/


    7.%20OOM%20Upload.png



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


    5.%20Services.jar%20Location.png



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


    7.%20OOM%20Upload.png



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


    6.%20Root%20Explorer%20Options.png



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


    5.%20Services.jar%20Location%20-%20Copy.png



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


    9.%20Permissions.png



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


    OOM%20%3D%201.png



    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. :cool:

    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
    2
    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.
    2
    No need to be pissed about it.
    I didn't steal your work or I have no affiliations with that program. It works for me and I'm trying to help others to solve the issue.
    by spamming threads that truly solve it by insisting on pimping an app that you know is a con job?

    You're not too bright and are happy that you got ripped off with a half ass fix.

    Dont help people get robbed.

    Howabout doing that.
    1
    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 :D

    Backup and test and see if theres any improvement in preventing the launcher being killed off, and causing redraw
    1
    That dev STOLE my OOM grouping fix and calls it lock home in memory.

    He used to call it Hard To Kill which was stealing my "brand names" so I had that app pulled off the market until it was changed.

    None of it does a single thing for launcher priority.

    It's all BS... you get the same thing by lowering your minfrees but that would require you to know what you're doing.

    SuperCharge it and then you'll know what's BS and what isn't.

    Otherwise, you don't know crap about what is possible.