[DEV][MOD][HOW TO] Galaxy S3 Touchwiz Misc Rom Mods

sbreen94

Inactive Recognized Developer / Inactive Recognize
Apr 18, 2012
5,292
22,655
0
Hey there everyone! Thought i'd do a little knowledge dump and post up a bunch of guides and things that you can tweak in your rom. Probably will be most helpful for up and coming Devs, but could benefit anyone! I will update this guide with more mods as i get time :)

You will need knowledge of how to decompile apk's with apktool and knowledge of smali/baksmali. (I will not go over this) I also recommend notepad++ for editing.

These are currently based on the latest Verizon MD3 premium suite 4.1.2 update

With Said Lets get started!


]
SecLauncher2.apk Mods​


Enable Wallpaper Scrolling on Touchwiz Launcher​


Decompile SecLauncher2.apk
Navigate to res/values/bool.xml

Find this line:
Code:
    <bool name="config_fixedWallpaperOffset">true</bool>
Change to:
Code:
    <bool name="config_fixedWallpaperOffset">false</bool>
Recompile the app and then you are done!


Framework-res.apk Mods​

For all these mods you will need to decompile framework-res.apk

Enable Full 360 Degree rotation

Navigate to res/values/bools.xml

Find:
Code:
    <bool name="config_allowAllRotations">false</bool>
Change To:

Code:
    <bool name="config_allowAllRotations">true</bool>
Unplug doesnt turn on screen

Navigate to res/values/bools.xml

Find:
Code:
        <bool name="config_unplugTurnsOnScreen">true</bool>
Change To:

Code:
        <bool name="config_unplugTurnsOnScreen">false</bool>
Permantly Disable Help text on lockscreen

Navigate to res/values/bools.xml

Find:
Code:
            <bool name="config_isHelpOverlayEnabled">true</bool>
Change To:

Code:
            <bool name="config_isHelpOverlayEnabled">false</bool>
Change Low Battery Values

Navigate to res/values/integers.xml

Find:
Code:
                <integer name="config_criticalBatteryWarningLevel">5</integer>
    <integer name="config_lowBatteryWarningLevel">15</integer>
    <integer name="config_lowBatteryCloseWarningLevel">20</integer>
Change To:

Code:
                <integer name="config_criticalBatteryWarningLevel">1</integer>
    <integer name="config_lowBatteryWarningLevel">5</integer>
    <integer name="config_lowBatteryCloseWarningLevel">10</integer>
You can change these to whatever you want but this is what i have.


Change Help Text on Lockscreen

Navigate to res/values/strings.xml

Find:
Code:
            <string name="lockscreen_unlock_guide_text">Swipe Screen to Unlock.</string>
Change To:

Code:
                    <string name="lockscreen_unlock_guide_text">HYPERDRIVE</string>
You can change this text to have it say whatever you want on the lockscreen

After editing and performing these mods then recompile and you are done!


Miscellaneous Mods​


Hide any app from the app drawer​


Decompile your apk you want to hide
Navigate to AndroidManifest.xml

Find this line:
Code:
    <category android:name="android.intent.category.LAUNCHER" />
Change to:
Code:
    <category android:name="android.intent.category.GADGET" />
Now recompile your app, and you have to do one other thing. Whenever editing the AndroidManifest you must resign your app or it will force close. You can use a program like APK-Multi Tool to do this if you want!





Enjoy and Hit the Thanks button if you like these! :)
 

sbreen94

Inactive Recognized Developer / Inactive Recognize
Apr 18, 2012
5,292
22,655
0
Wow! How did I miss this before? This great! Thank you!

Tapatalk 4 sucks
Great bro
I hope they are useful to you. Check out my s4 guides too. Most of them should be compatable with s3 too :)


Sent from my SCH-I545 using xda premium
 
  • Like
Reactions: TheDriller
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone