edit framwork res apk how to? - Galaxy S I9000 Q&A, Help & Troubleshooting

if i turn my apk file to zip file and i extract all what in and i editing a xml file into, when i wiil flash the file its will work?

i haven`t any experience with it ,but you need a tool like APK-Tool to decompile and after your adaption you have to compile it new ...
MAybe this link can help you ...hope it does ...
http://forum.xda-developers.com/showthread.php?p=43348990#post43348990
JBPORTAL said:
if i turn my apk file to zip file and i extract all what in and i editing a xml file into, when i wiil flash the file its will work?
Click to expand...
Click to collapse

Related

Recompile APK help

I'm a noob at this... I searched the forum but couldn't find any information.
Could someone more knowledgeable explain to me how to decompile and recompile apk's?? More specifically the framework-res??
I read that you can't simply unzip and then rezip... so what do I have to do?
The apk's are zip files that contain the resources (icons, bitmaps, sounds, etc.) as well as the code compiled in a classes.dex file. You can replace the resources after deodexing, but I don't think you will be able to change the compiled code in classes.dex unless you have the source code.
Sent from my SAMSUNG-SGH-I897 using XDA App
So for instance... if I have a clockwork flashable battery mod... and I unzip that... and edit colors of icons in the framework-res.apk, then can I just save the files, recompress and it will still flash properly?
And another thing.. if you have a clockword flashable .zip how do you change it so that you can flash via stock recovery? I know that simply renaming it to update.zip and trying via stock will not work. Is it a hard process, do I need a special program on my pc??
make your life easier..
search xda for Apk Manager
jslee1020 said:
So for instance... if I have a clockwork flashable battery mod... and I unzip that... and edit colors of icons in the framework-res.apk, then can I just save the files, recompress and it will still flash properly?
And another thing.. if you have a clockword flashable .zip how do you change it so that you can flash via stock recovery? I know that simply renaming it to update.zip and trying via stock will not work. Is it a hard process, do I need a special program on my pc??
Click to expand...
Click to collapse
I am not sure about editing apk's. To create a flashable zip file through stock recovery, you need to have the META-INF folder correctly created with a working updater script and the manifest and certificate files that you get by signing the zip file. Look into playing with the HTC android kitchen on the chef central section here to automate that process.

[Q] simple question about apk files

OK- so i extract this framework-res.apk file in the rom, and i change a few of the icons, and now clearly it's time to save the changes in the framework-re.apk form, but HOW?!?!?!
and that..............^ is the question. how to compress an extracted apk file back?
Use 7-zip or WinRAR.
krystalho said:
Use 7-zip or WinRAR.
Click to expand...
Click to collapse
how am i supposed to do that? there's no compress to apk options, or should i first compress to zip then rename the format to .apk?

[Q] Framework Jar File

I am trying to create a reboot option for my galaxy tablet. I am in the proccess of using smali/baksmali to edit some files...the problem is when I adb pull the framework jar there is no classes file in the zip. The only thing in there is the META-INF obviously and a file called preloaded classes...this is considered just a file, not a class file. Should I not have a .class file?
EDIT-------------------------------------------------
I looked, what I mean is that there is no classes.dex file
Thanks
Found the problem. I am using a stock rom that hasn't been deodexed. I had to use baksmali to deodex the framework.odex file. Of course if you do this you have to have the right bootclasses in the folder or the file will not decompile right, and from what I have read you need that to happen in order to compile it back into a odex file. I should deodex the whole rom, but I am still new at this and don't want to create a boot loop
-Peace

Can Anyone provide a link for Tiamat wifi module driver

Tried to download tiamat-031412-bcm4329.ko.7z but it's giving me an error when I try to open it. Help pls.
Try to re-edit the extension to zip.
Sent from my Incredible S
mdk83 said:
Try to re-edit the extension to zip.
Sent from my Incredible S
Click to expand...
Click to collapse
Unfortunately that didn't work.
Is file on your phone or computer? What zip program do you use on your computer?
File on computer....tried WinRAR and 7zip.
I know you can open it in winzip and then do a save as and save it as a zip file. Not sure that will help.
Did you use the convert feature in WinRAR?
Is the download corrupt?
I'll try Winzip now see what happens.
WinZip failed too...any help?
What exactly is failing?
acme anvil said:
What exactly is failing?
Click to expand...
Click to collapse
"Cannot open file. Does not appear to be a valid archive".
Sounds like it's corrupt. Download again.
Downloaded multiple times...that's why I'd like it if anyone could link me a good file :/
Cmon guys I seriously need help I can't use my phone!
Download playground and kernel and reflash.
I cannot flash the kernel...because I'm on S-OFF and I need to adb push the Wifi module driver...now to do that I need to change the name of the file in the zip. But I can't access the zip...
But isn't the Wifi module in the rom? If you are s-off, download the rom via computer, copy to sd card and flash. Do the same with the kernel. Unless I'm missing something.
The file isn't for unpacking as I remember you just need to edit the filename and remove the .7z extension and copy it over the current one.
It should only be S-ON users that had to do this as I remember too.
nsordk said:
The file isn't for unpacking as I remember you just need to edit the filename and remove the .7z extension and copy it over the current one.
It should only be S-ON users that had to do this as I remember too.
Click to expand...
Click to collapse
Hmm I thought the filename I had to edit was in the actual zip. Thanks...
You can't just rename a 7zip file you need to extract and than re-compress the files into a zip file.
Sent from my HTC Incredible S using xda premium
itsbeertimenow said:
You can't just rename a 7zip file you need to extract and than re-compress the files into a zip file.
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
You may also be able to open in winzip and do as a save as and save it as a zip file.

Update.zip => signature and manifest sha1

Hello,
I have a working update.zip file for install apk in recovery mode.
I would like to change an apk in the zip file but I need to resign it and regenerate manifest files.
How can I do that ?
Many thanks
Hugo

Categories

Resources