How to view app version from apk file on pc? - G1 Q&A, Help & Troubleshooting

Does anyone know how I could see the version of the app just from the apk file without using a G1? So purely on pc?

If you unpack the apk (it's basically just a zip) it should be in AndroidManifest.xml
/Mats

ZilverZurfarn said:
If you unpack the apk (it's basically just a zip) it should be in AndroidManifest.xml
/Mats
Click to expand...
Click to collapse
Not correct. AndroidManifest.xml is in a binary format once its in the apk file.
I wrote a small tool named apkSpy that can do what the op requested, see here:
http://forum.xda-developers.com/showthread.php?p=14523375

APK Info

Related

step by step guide

hi, in very new to android and would like to change some things on the framework with my things. ive found out how to change the png files in the apk files but when im putting it back together its requiring a signature.
can someone help me with this one?
Hope this helps,...
Re-Sign APK after Customizing????
system files cannot be signed with testkeys. just put the pngs back in the apk, the signature is not checked for validity, only for existence...
kendong2 said:
system files cannot be signed with testkeys. just put the pngs back in the apk, the signature is not checked for validity, only for existence...
Click to expand...
Click to collapse
i didnt understand that 100 % so youre saying that i can't edit the png files in the system folder?
Svarstad2k said:
i didnt understand that 100 % so youre saying that i can't edit the png files in the system folder?
Click to expand...
Click to collapse
so what did you mean in your first post?
you get the png from the apk. you edit the png. you put the png back into the apk. do not extract the apk, do not resign the apk.
sry, can't say it simpler.
okay, with you now.
but then its a new question: how can i get out the png files without extract the apk file?
kendong2 said:
so what did you mean in your first post?
you get the png from the apk. you edit the png. you put the png back into the apk. do not extract the apk, do not resign the apk.
sry, can't say it simpler.
Click to expand...
Click to collapse
tried to just repack the apk file and install without resigning it.
Install from sdcard...
Finding update package...
Opening update package...
E:Can`t open /sdcard/update.zip
(bad)
Installation aborted.
any idea?

How to view .apk files

Can someone explain how to open a .apk folder to view the files within? Also how to convert it back again with changes made to it? I would like to open the attached folder and change the dialer tones. I tried doing this changing the files in the ui but it didn't change the tones. My belief is they are wrapped in the .so
pretty sure its not in an .so because i dont see a .so tied to that apk. it would either be tied into the smali or you could make changes to the xml to point to different sounds.
Pirateghost said:
pretty sure its not in an .so because i dont see a .so tied to that apk. it would either be tied into the smali or you could make changes to the xml to point to different sounds.
Click to expand...
Click to collapse
My apologies. I'm working with two issues one is an .so and then there is this one, which is indeed an .apk.
So can you explain how I open this?
Get 7zip for windows, install it, open apk with 7zip file manager
tomween1 said:
My apologies. I'm working with two issues one is an .so and then there is this one, which is indeed an .apk.
So can you explain how I open this?
Click to expand...
Click to collapse
studacris said:
Get 7zip for windows, install it, open apk with 7zip file manager
Click to expand...
Click to collapse
but in order to edit any of the xml you will need apk manager.

[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?

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.

edit framwork res apk how to?

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

Categories

Resources