Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,599 Members 38,632 Now Online
XDA Developers Android and Mobile Development Forum

(Tutorial) How to Mod Dark look on PA 4 Custom Rom

Tip us?
 
aldiandrew
Old
#1  
aldiandrew's Avatar
Senior Member - OP
Thanks Meter 85
Posts: 129
Join Date: Sep 2010
Location: solo
Default (Tutorial) How to Mod Dark look on PA 4 Custom Rom

Hi, this is my first tutorial mod for droid razr, i will share how to change black gradient looks on Paranoid Android Rom become to solid black like on Slimkat rom with TRDS mode On xD . Some people maybe use xposed framework and module but i try to mod the framework because i dont use xposed . This mod also affect on other apps which use holo dark background like root explorer, safestrap, calculator etc.

For this Mod you will need

- PA rom ( i currently use PA 4 beta 7 for umts spyder)

- Apk tool/apk multitool/Ricky Kitchen tool etc

- Notepad ++

- Winrar/Winzip

- Patient and brain LOL

1. First you must know how to decompile and compile APK, i am using Ricky Rom Kitchen for doing this but you can another apps too like APK Multitool, APK tool etc

2. Now time to mod, first take your framework-res.apk from rom (its located on system/framework) and decompile it

3. Now open with notepad++ >> framework-res.apk/res/drawable/background_holo_dark.xml

4. You will see this
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:startColor="#ff000000" android:endColor="#ff272d33"" android:angle="270.0" />
</shape>

5. Change android:endColor="#ff272d33"" with android:endColor="#ff000000" and save them

6. Compile it again but its not finish yet

7. Now on your apktool you will see unsignedframework-res.apk , open it with winzip and delete Meta-inf folder and androidmanifest xml and copy Meta-inf folder and androidmanifest.xml from original framework-res.apk

8. Rename unsignedframework-res.apk become framework-res.apk and copied back to your phone ( i recommend made a backup rom or just flashable zip framework-res.apk just in case if it failed and bootloop )

9. Now with Root Explorer copy your Framework-res.apk to the /system and set permission first RW-R-R and move it to framework folder, if its ask to overwrite answer yes

10. Reboot your phone and enjoy

this is how its look

credit :
- PA Rom for great work
- xda for great forum
- google for great machine lol
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-05-30-04-37-07.png
Views:	108
Size:	66.8 KB
ID:	2770075   Click image for larger version

Name:	Screenshot_2014-05-30-04-30-51.png
Views:	94
Size:	62.2 KB
ID:	2770076   Click image for larger version

Name:	Screenshot_2014-05-30-04-37-17.png
Views:	77
Size:	83.5 KB
ID:	2770077   Click image for larger version

Name:	Screenshot_2014-05-30-04-31-01.png
Views:	60
Size:	83.3 KB
ID:	2770078  
- Nokia 5510 (Sold)
- Nokia Ngage QD (Sold)
- Motorola ROKR E1 (Sold)
- Motorola Q9h (wm 6.5)
- Hisense SF Andromaxi (Stock Rom Mod - Sold)
- Huawei X6 (CM 10 - Sold)
- Nexian mi320 (Nexperia Rom)
- Jiayu G3S Turbo (MIUI 4.2.1 - Sold )
- Motorola Droid Razr XT910 (Paranoid Android 4 - broken lcd)
- Nexian Mi438 (Dark Monkey Rom)

- mycolorscreen profile : http://mycolorscreen.com/aldiandrew@XDA/
The Following User Says Thank You to aldiandrew For This Useful Post: [ Click to Expand ]
 
aldiandrew
Old
#2  
aldiandrew's Avatar
Senior Member - OP
Thanks Meter 85
Posts: 129
Join Date: Sep 2010
Location: solo
update with flashable zip, just instal it with your custom recovery

1. AOSPA Dark without crt animation >> https://www.dropbox.com/s/4v5wbap7da...aospa_dark.zip

2. AOSPA normal (back to original) >> https://www.dropbox.com/s/017fps0lzx...spa_normal.zip
- Nokia 5510 (Sold)
- Nokia Ngage QD (Sold)
- Motorola ROKR E1 (Sold)
- Motorola Q9h (wm 6.5)
- Hisense SF Andromaxi (Stock Rom Mod - Sold)
- Huawei X6 (CM 10 - Sold)
- Nexian mi320 (Nexperia Rom)
- Jiayu G3S Turbo (MIUI 4.2.1 - Sold )
- Motorola Droid Razr XT910 (Paranoid Android 4 - broken lcd)
- Nexian Mi438 (Dark Monkey Rom)

- mycolorscreen profile : http://mycolorscreen.com/aldiandrew@XDA/
The Following 2 Users Say Thank You to aldiandrew For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes