Hello guy I was able to build cm12.1 for my xperia z3c
But now I want to change the stock theme with a custom theme, which I will build with android studio.
My problem is now that i will get a "customtheme.apk" and I dont know with which file I have to replace with in the cm source directory. I only know how to change build.prop before building the rom (android/system/out/.......z3c/system/build.prop)
Unfortunatly I couldnt find the directory where the "theme files" were.
So my question for you guys is, do you know where the directory is? Or am I totaly in a wrong path and I have to replace it with framework-res.apk or something like that. Or have i to edit framework-res.apk?
As you can see I am completly lost guys. I need your help to proceed.
Related
I have been trying to modify the framework-res.apk to create a custom theme, but every time I would end up in a bootloop, so I did some digging and what I have found is that the file size of the original framework-res.apk is 9.32mb. Once I rebuild it whether I modified anything or not the rebuilt .apk is only 7.34mb. Upon further inspection it seems to leave out all of the "value" named folders from the newly built .apk, and it does this whether I use APKTool or APK Manager(even though I say keep files). Has anyone else had this problem?? Anyone have a solution??
i'm changed some files of the framework-res.apk and rebuild it(use apktool ) ,not sign it but zip of this file ,it wolud be work well .but when i'm copy the chended of the framework-res.apk recover the same file in the 1108031959 cm7 nightly updata file,i ;have a boot loop.what's the matter with my update file,and it seems the framework-res.apk bring about this issue .some who know this ????and how to Modify frankwork-res.apk
when you modded framework from any gb rom, you have to modded the systemUI too!
exactly what you have to modify i dont know, but surely if you use uot-dakra understanding that i explained to you!
I had My Wildfire rooted(CM7 Nightly Rom).
By default System folder doesnt have build.prop file. i extracted the build.prop from the rom and pasted with few changes.
for eg. default ringtone to Rigel.ogg(orginal config Playa.ogg)
But my phone isn't changing Playa.ogg(Default) to Rigel.ogg
What i concluded is andorid is not reading the build.prop file
any suggestion?
Thanx
rahul16011988 said:
I had My Wildfire rooted(CM7 Nightly Rom).
By default System folder doesnt have build.prop file. i extracted the build.prop from the rom and pasted with few changes.
for eg. default ringtone to Rigel.ogg(orginal config Playa.ogg)
But my phone isn't changing Playa.ogg(Default) to Rigel.ogg
What i concluded is andorid is not reading the build.prop file
any suggestion?
Thanx
Click to expand...
Click to collapse
Idk if I'm right , but since by default it has no build.prop that means it won't read that file .
Forever living in my Galaxy Ace using XDA App
So can u please tell me how to make my Phone read the configuration mentioned in build.prop??
Hmm, wich nightly do you have?
CyanogenMod-7-Nightly-buzz
My only tip is make sure you are using a plain text exitor like notepad or notepad++ because otherwise the formatting can stop the roms from working.
Thanks for your reply..
actually i figured it out myself.
"Build.prop only works at the time of flashing"
I flashed my wildfire with updated build.prop and it reflected the changes that i made.
my real motive was to use timescape widget with Arc launcher.
can you guide me with this.
Guys,
I really need your help here!!
I beginning to try to create status bar themes for sense 3.6 ROMs on 3.33 base but am getting a bit stuck.
I've pulled all the .pngs I want to edit from SystemUI.apk (decomplied with Multi APK Tool), edited them using photoshop and saved them (Keeping the filenames the same) then recompiled to get the new APK (ensuring it is still named SystemUI.apk).
I don't know how to create flashable zips so have used root explorer to replace the original SystemUI.apk file with my new one and set permissions to rw-r--r-- and rebooted but nothing changes.
I don't know if I need to edit more than these image files (like stuff in framework.res.apk) or if there's anything else apart from image editing I need to do. Can anyone please guide me on this?
Once I can do this, I would love to be able to create flashable zips, to flash new themes and I have found odd bits of info here and there online about how to create them, but I am still unsure about this, so if anyone can help me with that as well, it would be great.
Can anyone please help/guide me here?]
Thank you :fingers-crossed:
wildcardspv said:
Guys,
I really need your help here!!
I beginning to try to create status bar themes for sense 3.6 ROMs on 3.33 base but am getting a bit stuck.
I've pulled all the .pngs I want to edit from SystemUI.apk (decomplied with Multi APK Tool), edited them using photoshop and saved them (Keeping the filenames the same) then recompiled to get the new APK (ensuring it is still named SystemUI.apk).
I don't know how to create flashable zips so have used root explorer to replace the original SystemUI.apk file with my new one and set permissions to rw-r--r-- and rebooted but nothing changes.
I don't know if I need to edit more than these image files (like stuff in framework.res.apk) or if there's anything else apart from image editing I need to do. Can anyone please guide me on this?
Once I can do this, I would love to be able to create flashable zips, to flash new themes and I have found odd bits of info here and there online about how to create them, but I am still unsure about this, so if anyone can help me with that as well, it would be great.
Can anyone please help/guide me here?]
Thank you :fingers-crossed:
Click to expand...
Click to collapse
Hi,
Look HERE
Hi Im using cm10.1 on my desire s.
I'm using latest apktool. I'm trying to mod in call screen to make more transparent I did found out how to do it thanks to XDA.
but when I recompile it I got error as in screenshot.
I installed framework-res.apk from my rom and decompiled phone.apk
than I edited Phone\res\layout\in_call_screenui.xml that's it.
when I try to recomple it. I get errors in Phone\values\strings.xml which I didn't even edited. I don't get error in every values folder though.
so what am I doing wrong here? can any1 help please?
You may need to install another resource apk, look in your framework folder for one and retrace your steps to make sure you didn't miss anything.