[Q] (Q)run META INF on android 2.3 platform - Android Q&A, Help & Troubleshooting

Help installation/RUN for META INF application on Android 2.3 OS

saurabh_1999 said:
Help installation/RUN for META INF application on Android 2.3 OS
Click to expand...
Click to collapse
What? Are you talking about the META-INF folder in .apk files? It's a folder, not a file or application you can run/install. It is a part of apk files.

I have a zip file with some libraries and a META-inf folder, so after copying the libraries in system/lib do i have to copy the META-inf files also? Tried google but didn't get much info. Help appreciated.

Related

Extract *.apk?

If I have a *.apk that I download, is there anyway to backup/extract it?
The apk is really just a ZIP file. Try renaming the file to whatever.apk.zip and open using your favorite ZIP utility. You should be able to view all the contents. Resources (such as images) can be extracted. The java code is compiled into a .dex file so you can't view the raw code, but there are utilities (like this one) to decompile it: http://dedexer.sourceforge.net/
ghostfaced said:
The apk is really just a ZIP file. Try renaming the file to whatever.apk.zip and open using your favorite ZIP utility. You should be able to view all the contents. Resources (such as images) can be extracted. The java code is compiled into a .dex file so you can't view the raw code, but there are utilities (like this one) to decompile it: http://dedexer.sourceforge.net/
Click to expand...
Click to collapse
Right but how do I find the *.apk if I am downloading it off of the market?
apps are located in data/app/
There are also various apps in the market that will backup apps.
I use appmonster incedently.
7zip can extract and view contents of an apk without renaming.
backup and reinstalling apps....
view the first link in my signature.
I used MyBackup Pro to do a backup of my apps onto the sd card, then I used ASTRO file manager to navigate to /sdcard/rerware/MyBackup/AllAppsBackups where I found the file LastBackupApps.zip. I then used androzip or something similar to unzip that file and it contained the apk for every one of the apps I backed up.
how to extract .apk.p files
ghostfaced said:
The apk is really just a ZIP file. Try renaming the file to whatever.apk.zip and open using your favorite ZIP utility. You should be able to view all the contents. Resources (such as images) can be extracted. The java code is compiled into a .dex file so you can't view the raw code, but there are utilities (like this one) to decompile it: http://dedexer.sourceforge.net/
Click to expand...
Click to collapse
I have a zip file with .apk.p files in it which are exracted with package_extract_file in the updater script. Is there a way to manually extract these, since renaming to .zip doesn't help if I open them with any unzipper program?
Thanks
lxrose said:
I have a zip file with .apk.p files in it which are exracted with package_extract_file in the updater script. Is there a way to manually extract these, since renaming to .zip doesn't help if I open them with any unzipper program?
Thanks
Click to expand...
Click to collapse
I believe the files you are referring to - the files ending in ".p" - are "patch" files. They only appear in the OTA download .zip file, and they are worthless to you. They are not complete files, but just enough data to patch the corresponding 1.5 app .apk so that it turns into the 2.1 version.
If you want the complete .apk files which they correspond to, just download the Leak-V3 .zip file, extract the "system.img" file, and then unpack that file using the "unyaffs" utility (search for it, you'll find it at code.Google.com).
bftb0
bftb0 said:
I believe the files you are referring to - the files ending in ".p" - are "patch" files. They only appear in the OTA download .zip file, and they are worthless to you. They are not complete files, but just enough data to patch the corresponding 1.5 app .apk so that it turns into the 2.1 version.
If you want the complete .apk files which they correspond to, just download the Leak-V3 .zip file, extract the "system.img" file, and then unpack that file using the "unyaffs" utility (search for it, you'll find it at code.Google.com).
bftb0
Click to expand...
Click to collapse
Thanks for the info. I thought I can update the apk files manually, because from recovery it doesn't work (it is a rooted image, so signature not accepted) and there are some fixes in the new update that I wanted to give a chance.
Unable to install ddx1.14.jar in my HTC wildire
I hve downloaded dexeder.jar file in to my SD card. but i can't install it in my HTC wildfire...
it shows an error...
"ddx1.14.jar cannot be installed because critical information is missing from the application file (MIDlet-Name). Please contact the application provider for more information."
Help me Pls..... Thanks in advance.....
apk download
did you search for the apk online?

Edit Apk files

anyone can tell me how to edit apk files and change the name of applications.
and how to use apkedit application.
To start with APK files are just zip files. Rename the extension from .APK to .zip and u would b able extract it. I will post more as soon as get on a PC.
Sent from my LG-P500 using XDA Premium App
hey still i want more information about how to edit apk files and change the name of the application
Never done it, but this might me helpful: http://code.google.com/p/android-apktool/
Doesn't get much easier than Apk Edit
thanks for the help everyone but still anyone can give more information then please post
Download
http://code.google.com/p/android-ap...ame=apktool-install-windows-2.2_r01-3.tar.bz2
Extract it using your favoirate zip application.
Requirements:
* JRE 1.6 (Java Runtime Environment)
Get the apk file which u wanna hack in the folder where you have extracted the apktool. (Like c:\apktool)
Rename the .apk to .zip and extract it. (talk.apk is now talk.zip and after extraction we have folder talk)
You will find AndroidManifest.xml in that folder.
Open it with Notepad++ (I prefer Notepad++)
You will find android:label and the name of app and icon details and many more thing change all you want but dont mess up the structure.
open command prompt then cd to the folder where you have extracted apktool. then type .
apktool.bat b "folder name" "APK name" . (Eg. apktool.bat b talk notalk.apk)
Tip: If you are not getting me i think you shouldnt do it......

[Q] meta-inf find

i want to find meta inf folder in stock rom where is this folder i want to create a custom rom and for that this folder is very very necessarily needed
The META-INF folder is in the root of flashable .zip files. If you're not looking at a flashable .zip file, you probably won't find that folder.

Rename lib folder

I have a problem. I renamed the lib folder to liba in order to have a backup , and then i wanted to copy a lib folder called libb with modified libraries.
After i renamed the lib folder to liba everything stopped so i restarted my phone and now it only boots into recovery mode. I need help to find a way to rename the liba folder back to lib but from windows. Is there any way ?
Thank you.
by the way, i have a huawei ascend g740 aka orange yomo

Device app porting

Hello
I have an Android device based on Tegra CPU and with 5.1 Lollipop installed.
It has few own apps installed on it that basically are a custom menu and few apps that run on it.
I downloaded an update of it which contains:
boot.img, file_contexts, system.new.dat, system.patch.dat and system.transfer.list
I managed to extract the system.new.dat file to obtain a system folder which I don't know if it's only an update of the system folder on the device or the full folder instead.
Whithout root I copied the system folder out of the device with the apps that I want.
I'd like to run theese apps on another android device.
What do I need to get out of the device in order to try this apps to run?
Only the apps in system/app folder or there are also libraries that I need?
By don't know about, I copied out of the device also the lib folder.
I'd like to try on android studio the apps firstly.
Is there any way to know if an app needs libraries and which ones?
Thank you so much
Giulio
You can learn how to port app here : https://forum.xda-developers.com/showthread.php?t=2476050

Categories

Resources