Most people will be thinking "it's transparent by default isn't it?" by now
In some cases, no.
So here's a guide to make it so it is, using apktool
1.) Pull your current framework-res.apk using ADB to your folder where apktool is
2.) Run this command:
3.) When it's done, open the "bools.xml" file in framework-res/res/values
4.) Edit the following lines:
To make the homescreen bars transparent:
To make lockscreen bars transparent:
BONUS:
To make lockscreen rotate:
To enable all rotation orientations:
These are fairly easy edits, there might be some more that you want to do, have a look, but be careful (and "Dianne" is this Dianne if you're wondering)
5.) Go back to your command prompt and run
6.) Run this:
7.) On the device, download ZipSigner and open it
8.) Choose /sdcard/framework-res.apk and the "platform" key, and then sign
9.) Go back to your command prompt and run the following commands:
NOTE: If you are on a low end device, you must add or change the build.prop to have this:
Thanks to lagloose for the heads up!
10.) Your device will reboot with the new framework installed. If it's bootlooping, use these commands:
This will revert to the one before you installed
In some cases, no.
So here's a guide to make it so it is, using apktool
1.) Pull your current framework-res.apk using ADB to your folder where apktool is
2.) Run this command:
Code:
java -jar apktool.jar d framework-res.apk
4.) Edit the following lines:
To make the homescreen bars transparent:
Code:
<bool name="config_enableTranslucentDecor">true</bool>
Code:
<bool name="config_enableLockScreenTranslucentDecor">true</bool>
BONUS:
To make lockscreen rotate:
Code:
<bool name="config_enableLockScreenRotation">true</bool>
Code:
<bool name="config_allowAllRotations">true</bool>
These are fairly easy edits, there might be some more that you want to do, have a look, but be careful (and "Dianne" is this Dianne if you're wondering)
5.) Go back to your command prompt and run
Code:
java -jar apktool.jar b framework-res
6.) Run this:
Code:
adb push framework-res/dist/framework-res.apk /sdcard/
7.) On the device, download ZipSigner and open it
8.) Choose /sdcard/framework-res.apk and the "platform" key, and then sign
9.) Go back to your command prompt and run the following commands:
Code:
adb root
adb shell mount -o rw,remount /system
adb shell cp /system/framework/framework-res.apk /system/framework/framework-res.bak
adb shell cp /sdcard/framework-res-signed.apk /system/framework/framework-res.apk
adb shell chmod 644 /system/framework/framework-res.apk
adb reboot
NOTE: If you are on a low end device, you must add or change the build.prop to have this:
Code:
ro.config.low_ram=false
10.) Your device will reboot with the new framework installed. If it's bootlooping, use these commands:
Code:
adb root
adb shell mount -o rw,remount /system
adb shell cp /system/framework/framework-res.bak /system/framework/framework-res.apk
adb reboot
Last edited: