[Q] What version & how to tell - Vibrant Q&A, Help & Troubleshooting

Hello,
How can I tell what version a *.apk file is before I move it to the phone and open it?
I have many email.apk versions and would like to see, which version it is in Win$ows before I try to open and install it on my Vibrant.
Here is an example from the Vibrant-Droid-Razr 2.1 from Fishman.
Tx,
The_Toggle

Apk files are actually zip files, or something similar. You can see what is inside them using file managers on the phone, or probably unzip on a PC. I took a look at one I had, and found the version number by viewing the AndroidManifest as a text file.

Related

[Q] Renaming APKs

I usually download my apks in my computer and send them to my phone so I could archive them or send them to friends easily. The problem is, their file names are very long and hard to read in the phone. If I rename the apk files, would it affect installation-wise, ie it will install as another 'version' of that app. So let say if i installed a renamed apk and update it with another version of the same app, would it interfere?

How to extract files from ROM

Hi,
As the new ICS 4.0.3 seems to have gotten rid of the libraries required for call recording, I am willing to extract the relevant libraries from a 2.3.6 ROM, replace and give it a shot. I already have a few of them with me, for example Official DXKL3.
I need to extract the following 3 files -
system/lib/libaudiopolicy.so
system/lib/libaudioflinger.so
system/lib/libaudio.so
How can I extract these files from a ROM?
On you pc or on you phone click extract here. And will be exctracted about 6 files. Navigate to system app and find wht app you want. Copy and replace. I guess I understood right what you mean.
Get a utility program like 7Zip, IZarc, WinRar on your PC & open up the zip/tarfile & you can see the individual files & extract same.
However...
What you're attempting to do will not work. Different framework.
Points for thinking outside the box tho.
Thanks... Though when I use 7z, it only extracts zImage,factoryfs, etc., only a handful of files. I cannot see the individual files in the file system. Also 7z cannot extract these files anymore...
Ahh I think I was talking about already "cooked" ROM, and you guys are talking about the source? Sorry I am very new to the terminologies used. If that is the case I will check if I can find these files in the source tarball.
Try another program if 7Zip doesn't work. Try IZarc. I can see every file in the roms I have with it.
MistahBungle said:
Try another program if 7Zip doesn't work. Try IZarc. I can see every file in the roms I have with it.
Click to expand...
Click to collapse
I tried but still couldn't open XXLPQ ROM with IZarc. Thanks anyway...
hirak99 said:
Hi,
As the new ICS 4.0.3 seems to have gotten rid of the libraries required for call recording, I am willing to extract the relevant libraries from a 2.3.6 ROM, replace and give it a shot. I already have a few of them with me, for example Official DXKL3.
I need to extract the following 3 files -
system/lib/libaudiopolicy.so
system/lib/libaudioflinger.so
system/lib/libaudio.so
How can I extract these files from a ROM?
Click to expand...
Click to collapse
to open *.img file inside the rom download diskinternal linux reader and mount the img file inside the app.
tried and tested when i needed to copy a file from another rom.
Solution you find here :
h__p://sconcauteam.com/forum/index.php?threads/how-to-windows-extract-deodex-sign-and-zipalign-an-official-rom.1325/

Android file naming convention error. Cannot revert

Greetings.
First details:
T-Mobile Galaxy S3 (T-999)
Android version: 4.0.4
Baseband: T999UVLEM
Kernel: 3.0.8-611599-user
Build Number: IMM76D.T999UVALEM
Problem:
I attempted to utilize the HyperX camera mod (allowing 30fps, and 30Mbit superfine settings etc) which required copying the Camera.apk over to the /system/app folder, (while deleting/renaming the old samsungcamera.apk and samsungcamera.odex files).
Here's where is gets tricky: Using Root Browser Lite I navigated to that system/app folder and renamed the files to *.apk.old" to keep them in case of problems. but, APPARENTLY I accidently renamed the Odex file to what is now shown as "SamsungCamera.odex?old". Upon using the mod I now get a force close on ALL video so I wanted to revert back, but I can't rename it BACK to .odex because of the question mark in the file name... nor can I delete it, etc. I tried to mv the file through ADB but a LV command shows the filename listed on two seperate lines.. as if it sees the "?" as a line break.
It lists it like this:
SamsungCamera.apk.old
SamsungCamera.odex
old
SamsungIME.apk
etc etc
I can't rename it through ADB because i can't figure out how to get the filename syntax correct and I can't rename it in root browser because it can't handle the file period, now.
Anyone know how to fix this? ultimately either a solution to fix it... or undo it would be amazing... I know the XDA group is amazingly intelligent..... Can anyone help me?
Please?
I can't attach files, just get someone to post the file you need. I think that should work. Also, maybe try a different file explorer like ES.
Update: ES File Explorer shows the file listed as "SamsungCamera.odex old" (note the space). Attempts to rename it through ES result in "file operation failed" popup for a second., Root Browser Lite lists it as "SamsungCamera.odex?old" (note the "?") and attempts to rename or change permissions through that program result in a "superuser permission granted" popup, but nothing changes. end result: neither work.
If the file is truly just "corrupted" or named wrong somehow, then the system isn't seeing it at all, correct?!?!? So a replacement stock odex would suffice?
Hopefully? At this point I just want the stock T-Mobile Galaxy S3 camera functionality (HD video) to work, again. Even in 720p.... However that is possible, I'll do it.
PLEASE?!?!?
ANYONE? Bueller? Bueller? ??
No video on a brand new phone isn't exactly fun..
Can anyone shed some light on renaming this file after this?? or provide the GS3 "SamsungCamera.odex" file?
Problem solved (by using another copy of the stock Odex)
For posterity:
Just to follow up.. The problem was solved with help from a member on this forum who provided the "SamsungCamera.odex" file for my T-Mobile GS3 phone, as followed in this thread.
If anyone else has this problem, or simply just needs the odex file... please see this link to this thread for that attachment.
thank you, again.

[Q] Language settings, JP audio w/EN subs and text, Final Fantasy IV

Hello all. I recently bought Final Fantasy IV and was disappointed to find there was no language setting in the game that I could find. Ideally, I would like to play with Japanese audio and English subtitles. Launching normally under USA locale plays English vocals and subtitles. I was afraid that the Play store variant would only come with English audio, but I found by changing my Nexus 7 language settings to Japanese, that it would in fact contain and play with JP audio and JP subtitles. I can't understand why , this being the case that there isn't an easy in application language switching option that I can see.
All the components are there. Does anyone know how I could somehow edit the files to play JP audio and English subs? Copy the JP audio track to the English version of the game seems the most straightforward , if I could figure a way to do it. Anyone have ideas for this process? Programs I will need to unpack the apk or game data and edit what needs to be etc...? Thanks.
To th ebest of my knowledge, it appears that I'll probably need to unpack the .obb file somehow. The .apk is small. Does anyone know of an suitable utilities to unpack and repack/sign if need be .obb an/o .apk firles?
I've seen a few posts on the forum suggesting that I simply rename the .obb to .zip, .rar etc... and it will simply be able to be extracted. Sadly, this doesn't seem to be the case. I've been attempting to use 7zip to extract the archive with a number of renamed file types and every time it claims that it doesn't seem to be a valid archive etc.... Others have suggested 7zip works for this in other cases, but I'm not sure why it is failing now. Do I need to use a specific program to see if it is a valid archive?
Edit: I also tried with WinRAR and to no effect - the same problem where it reports that there is no archive present etc...
At the moment I'm trying this with an edited/sideload ready version of FFIV 1.2.3 (which has both the .apk file of a few megabytes and the .obb of a few hundred megabytes), at least until I can pull the exact copy off my device. I'd really appreciate any insight. What do I need to open/extract the .obb and why is it not appearing with 7zip? Thanks.
I'm going to try and get another copy of the files from another source (pulled directly from my Nexus 7 or Nexus 4) onto my Windows PC etc...
RanceJustice said:
I've seen a few posts on the forum suggesting that I simply rename the .obb to .zip, .rar etc... and it will simply be able to be extracted. Sadly, this doesn't seem to be the case. I've been attempting to use 7zip to extract the archive with a number of renamed file types and every time it claims that it doesn't seem to be a valid archive etc.... Others have suggested 7zip works for this in other cases, but I'm not sure why it is failing now. Do I need to use a specific program to see if it is a valid archive?
Edit: I also tried with WinRAR and to no effect - the same problem where it reports that there is no archive present etc...
At the moment I'm trying this with an edited/sideload ready version of FFIV 1.2.3 (which has both the .apk file of a few megabytes and the .obb of a few hundred megabytes), at least until I can pull the exact copy off my device. I'd really appreciate any insight. What do I need to open/extract the .obb and why is it not appearing with 7zip? Thanks.
I'm going to try and get another copy of the files from another source (pulled directly from my Nexus 7 or Nexus 4) onto my Windows PC etc...
Click to expand...
Click to collapse
Huh... I'm not sure how to help you too. Just a simple beginner. But using .zip or .rar worked for me. Just that the file names were all long and weird. Also, every file appears as a .file extension
open obb file
Hi,
did you tried to open *.obb using "jobb" application from Android SDK?

[Q] editing .so file

Howdy.
I'm trying to modify a .so file (libflashplayer.so), but have run into a few problems:
I first tried editing the file after it was installed from an .apk. This appears to work at first, but the edited file is quickly replaced with the original.
I then tried editing the file in the .apk package. This causes the package to fail to install (I'm guessing because the md5 in the certificates no longer matches)
Aldo tried moving a folder with the .so files from the .apk (com.adobe.flashplayer-1 which is what is created when the .apk installs correctly) directly into /data/app-lib/.The directory was created successfully but appears to be immediately deleted.
Is there a way to accomplish what I'm trying to do? If so how?
Other possibly relevant info:
My device is rooted
I did not write the code for anything in the .apk, I got it from a link on xda (pretty dubious i know but I couldn't find another option)
I'm using cyanogenmod 10.2 (based on android 4.2 I believe).
I'm editing the file with a hex editor to change a a few characters ("AND" to "WIN")

Categories

Resources