[Q] Theming Question - Android Q&A, Help & Troubleshooting

I downloaded a theme didnt like it so im flashing a back to stock .zip file...
I opened HtcClockWidget.apk and in it are a few folders some with xml files some with png files.
if I change(the color of a) png file using photoshop and save it back in the folder the same format. would i see the change when i flash the .zip file
example: i open this .png file....and replace it with the red one. Would i see the change when i flash back?

Related

Compiling framework res help

Hi i am trying to edit the framework res apk so i can change the text colour and the themed clock colour. I can decompile with apktool and change the colors.xml but after compiling framework res i just get stuck in a bootloop. I have tried just copying the reaources file to my original framework but still bootloops. I have searched google and here and finding it hard to find a solution. One thing i noticed in 7zip it says that for resources the OS is FAT but on the edited one it is UNIX as well as being a smaller file when compressed. If anyone can help that will be great.* Thanks
Sent from my GT-I9100 using XDA App
sign the apk as a system app.
no you shouldn't have to sign it just rename unsigned framework-res.apk to framework-res.apk and reflash to phone it shouldn't bootloop when you compiled did you select yes to system file and yes to copy everything then delete what was in keep file? If its an XML when you delete from keep file you have to delete the file you modified also.
txr33 said:
One thing i noticed in 7zip it says that for resources the OS is FAT but on the edited one it is UNIX as well as being a smaller file when compressed.
Click to expand...
Click to collapse
Did you choose Store as the compression method when adding the Resource file to your original apk?
mattfox27 said:
no you shouldn't have to sign it just rename unsigned framework-res.apk to framework-res.apk and reflash to phone it shouldn't bootloop when you compiled did you select yes to system file and yes to copy everything then delete what was in keep file? If its an XML when you delete from keep file you have to delete the file you modified also.
Click to expand...
Click to collapse
I originally just renamed mine and got a bootloop. Signed it as a system apk and stuck it in an update.zip and flashed it and it worked. Also, as the above post mentions, store must be selected as the compression method.

Creating a CWM zip file

I have some changes that I like to make to the Settings.apk, Systemui.apk, and framework-res.apk. Typically, I just pull these files from the Rom I'm using, edit the images in the drawable folders, and then copy them into the system files on my phone. I'd like to be able to create a zip file to do this for me. It looks like I can take someone elses update package and edit the "update script" file to do this. Is it that simple or is there more to it? What other files are important to creating an updater zip.
Thanks
Sent from my SAMSUNG-SGH-I777 using xda premium
BigMc71 said:
I have some changes that I like to make to the Settings.apk, Systemui.apk, and framework-res.apk. Typically, I just pull these files from the Rom I'm using, edit the images in the drawable folders, and then copy them into the system files on my phone. I'd like to be able to create a zip file to do this for me. It looks like I can take someone elses update package and edit the "update script" file to do this. Is it that simple or is there more to it? What other files are important to creating an updater zip.
Thanks
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
Just head over to perkas files stash (google it) and look for a empty system cwm.
Now you just have to make folders in this zip and add your files. example you want framework-res.apk and systemui.apk flashed.
So open the cwm zip and add a folders called app and a folder called framework.
The zip will be/system and so with the folders it creates /system/framework/framework-res.apk and system/app/SystemUI.apk. Etc
This empty system cwm should have all the folders you need for the zip

how to change gingerbread stock music background

please help me to change gingerbread stock music background in tabview i.e the background of song list, artist, album etc..
please anyone,,(
I guess....
Okay.. Unzip that Original file.... Can you see that file? If you can see that .xml file?
Then... Just Put it(edited & compiled xml file) original apk file for replacement!
As you said, that xml file is belongs resource file.. You can't see that xml file before decompiling apk file...
check this out.
-Did you signed the apk file after building?
you must decompile...editing.. compile.. signing.... and then copy & put that resource file to the original one.
92st said:
Okay.. Unzip that Original file.... Can you see that file? If you can see that .xml file?
Then... Just Put it(edited & compiled xml file) original apk file for replacement!
As you said, that xml file is belongs resource file.. You can't see that xml file before decompiling apk file...
check this out.
-Did you signed the apk file after building?
you must decompile...editing.. compile.. signing.... and then copy & put that resource file to the original one.
Click to expand...
Click to collapse
thanks but I already tried all, but nothing helped,, I found an alternate way, btw thx

Possible to flash certain files within an APK?

is it possible to flash only certain files contained in an APK? For instance if I want to modify a XML file in systemUI.apk, can I just flash that file or do I have to flash the whole systemUI.apk containing the modified file?
folder structure within flashable zip:
single file: \system\app\systemui.apk\res\values\drawable.xml
vs
whole apk: \system\app\systemui.apk
holtenc said:
is it possible to flash only certain files contained in an APK? For instance if I want to modify a XML file in systemUI.apk, can I just flash that file or do I have to flash the whole systemUI.apk containing the modified file?
folder structure within flashable zip:
single file: \system\app\systemui.apk\res\values\drawable.xml
vs
whole apk: \system\app\systemui.apk
Click to expand...
Click to collapse
You can't just flash anything in an apk file... But you can replace a file in an add-on using morph or vr theme... For more info search...
And if you want any reference to learn how vr theme works then you can see my atomods... In its theming section...
Thank you...
Send from my Galaxy far far away nexus...

[Q] Decompiling APK's with renaming

Can you decompile APK with just renameing it to the ZIP or RAR files.
Then you can extract it and you get all the files inside the apk.
then you can edit xml files and simply rename it back to APK.
I was just wondering is this right and safe way or you shouldn't decompile it like that?

Categories

Resources