[Galaxy Note 3 Themes and Apps] amk19:
Fix for "Show disabled apps" bug in Galaxy Note 3 (KitKat) TouchWiz Launcher

Hi,

This mod is for fixing the TW Launcher bug present in Galaxy Note 3 (N9005) 4.4.2 Kitkat. (Present Only in Latest Kitkat firmware like UGNG1,UGNH1,UGNI4)

Bug description: Suppose you have disabled some apps, but you can't see or enable them from App drawer (TW Launcher), because Show disabled apps options will be grayed out as soon as you disable any App from Settings or from (TW Launcher) App drawer. And Show disabled apps will be available if you haven't disabled any apps. In short, Show disabled apps is behaving in opposite way.

My Note 3 details:

Variant: SM-N9005,

ROM: Stock odexed ROM-rooted,

Firmware: N9005XXUGNG1,

Region: BTU.​

This guide will explain in detail on How to fix it. and I hope it might be useful for somebody. :)

Their might be other ways to implement it. but I am writing the steps which I have followed.

You Need:

1. Windows PC.

2. JRE installed.

3. Download the required tools from here. You can get the latest aapt.exe here, apktool.jar here, baksmali.jar and smali.jar files here

So here is the step by step guide on how to do it.

1. Copy framework folder (/system/framework) from your phone to C:\apktool\system\framework folder of your PC, and SecLauncher4.apk, SecLauncher4.odex files from your phone (/system/priv-app) to C:\apktool folder of your PC.

2. baksmali the SecLauncher4.odex present in C:\apktool folder using the command

-d path of directory where framework files are placed.​

-x target .odex file (in our case it's SecLauncher4.odex)​

3. Once command is completed, you will see a folder named out in C:\apktool.

4. Navigate to C:\apktool\out\com\android\launcher2, and search for the file MenuAppModel.smali.

5. Open the file and search for .method isDisableAppListEmpty.

6. Change the red line to, as shown below for fixing the Show Disabled apps bug in Launcher.

7. Once changes are done, smali the out folder present in C:\apktool using the command

-o the name of newly created .dex file.​

out is the folder name.​

8. Once you see the classes.dex file in the folder, then push this .dex file into SecLauncher4.apk file using the command

9. After the command in Step 8, Size of apk file should increase, Now Zipalign the apk using the command.

10. Now you will see a new apk file named "SecLauncher4_new.apk", Copy the SecLauncher4_new.apk to your phone and rename it to SecLauncher4.apk, This is deodexed .apk file, and you can directly push this apk into your phone path /system/priv-app using RootExplorer and set the permission to rw-r--r--, and delete the SecLauncher4.odex file from the priv-app folder.

Restart the phone, and you should be able to disable and enable the unwanted apps from Touch Wiz Launcher.

11. If you want to create the SecLauncher4.odex file from the SecLauncher4.apk file then their are few more steps, which involves Terminal Emulator, but this apk will work fine. Please delete or remove the SecLauncher4.odex file from the system/priv-app folder and keep only SecLauncher4.apk, because this apk is deodexed and working fine for me.

Here are the steps to Create .odex from .apk file:

a. Copy the modified .apk file to Phone Internal Storage, for example: /storage/emulated/0/app/SecLauncher4.apk and download dexopt-wrapper from here.​

b. Unzip dexopt-wrapper.zip and Copy dexopt-wrapper file to system/bin folder of your Phone using Root Explorer and set the permission to 0755 or rwxr-xr-x.​

c. After Setting the correct permission, Download and install Terminal Emulator, and open it.​

d. Type the following commands as shown below to generate .odex from .apk file

su - This is to grand super user permission.​

​

dexopt-wrapper path-of-apk path-of-newly-created-odex - Once this command is executed, you should see a success message on Terminal Emulator.​

e. Now you will find a modified .odex file in /storage/0/emulated/app/ . Replace the original .odex with the modified file. Take a back up of Original .odex file​

For enabling Ripple ink effect with fingers or without S-pen, check out here...

For enabling Particle Effect or Lens Flare Effect on LockScreen please check out here

Hit THANKS button, If I helped You.​