Hey guys. I've been trying to learn about framework on android with my Triumph. But everytime I change something inside, I get error when I load the ROM on my phone. The error is com.android.phone has stopped working.
I've been following instructions on how to use apktool, apk multi too, apkchanger and also baksmali.jar and smali.jar.
What I'm trying to do is trying to change color of notification bar text, lock screen texts, fonts and colors. But none of those work for me. I've tried one after one and they all gave me same error com.android.phone has stopped working. Then I get stuck in boot loop.
I tested with simple notification text color change by decompiling classes.dex out of services.jar and changing just a single line to change the color. Still gave me error.
It seems to me that I cannot modify anything inside framework folder or it'll throw error at me. I would like to know how you guys did it and what am I missing? I've tried using UOT Kitchen and the framework-res.apk cooked from there works just fine except it cannot change the color of the text since it's in services.jar.
I've tried compiling classes.dex with 512M parameter and without the parameter. Still got the same error. For other stuffs, in APK Multi Tool, I tried setting compression to 0, memory size to 512 and didn't work. Tried playing around with settings and still didn't work.I cannot figure out what I'm missing anymore.
TL;DR - Framework modification fail for everything, even the smallest change. Please help.
I've been following instructions on how to use apktool, apk multi too, apkchanger and also baksmali.jar and smali.jar.
What I'm trying to do is trying to change color of notification bar text, lock screen texts, fonts and colors. But none of those work for me. I've tried one after one and they all gave me same error com.android.phone has stopped working. Then I get stuck in boot loop.
I tested with simple notification text color change by decompiling classes.dex out of services.jar and changing just a single line to change the color. Still gave me error.
It seems to me that I cannot modify anything inside framework folder or it'll throw error at me. I would like to know how you guys did it and what am I missing? I've tried using UOT Kitchen and the framework-res.apk cooked from there works just fine except it cannot change the color of the text since it's in services.jar.
I've tried compiling classes.dex with 512M parameter and without the parameter. Still got the same error. For other stuffs, in APK Multi Tool, I tried setting compression to 0, memory size to 512 and didn't work. Tried playing around with settings and still didn't work.I cannot figure out what I'm missing anymore.
TL;DR - Framework modification fail for everything, even the smallest change. Please help.
