so i edited an apk using Ubuntu's normal archive viewer and saved it but it wont install onto my device, this there something i need to do to get it to install?
thanks
Related
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?
EDIT: Figured it out.
Care to share?
Yeah, will be nice if you could share this information with others
aitorTheRed said:
Yeah, will be nice if you could share this information with others
Click to expand...
Click to collapse
Man, I hate it when people do that...
1. Search for APK Manager in XDA and install it on your PC
2. Download and Install the Android SDK kit on your PC
3. Follow the instructions for APK Manager and place the APK file in the modding folder
4. Open APK Manager and select Decompile APK (Your APK file will be placed in a separate folder for you to work on)
5. Change what you want to change in the APK
6. Recompile the APK and sign it (unless it's a system file like framework, those are not signed)
A lot more is involved in modding an APK file and you really should know something about how the files inside the APK work before you go changing things, but in a nutshell, that's the basics.
Hope that helps!
What I have learned.
I had a specific question, but here is what I can tell you.
1. Setup APK Manager, it saves a lot of command line typing.
2. Pretty much always use option 9 and 11, never 1 or 3.
3. If you are simply changing graphics and not smali or XML files, don't use this, open it in 7zip and drag the files. Decompiling changes the image darkness sometimes.
4. Unless you are working on your own apk file, always say yes to 'is it a system apk', when it asks you to keep existing files, say yes. Delete from the 'keep' folder what you edited.
5. If you edit XLM files, delete resources.arsc from the file, this is where they all get compiled to.
6. You can use this for jar files, just rename to apk then back to jar when finished.
7. If you get an error try using option 20 to increase the memory to 1024.
8. If you edit jar files, delete classes.dex in the 'keep' folder when compiling.
9. Treat all files as signed system files (as noted above) and you will be much safer. If the file has a signature on it, this will save it.
Thanks for the info
Is there anything that can install system files. They won't install with ap manager so does it have to be pushed?
Sent from my Desire HD using XDA Premium App
Does anyone know an idiot's guide/tool for unpacking a rom, removing unwanted apk's and then repackaging it suitably for install. I can unzip and remove the apk's from the system/app but the problem I have is zipping the package up suitably for install, I understand that the package needs to be signed and I have seen a few guides using openssl and SignAPK but couldn't get a package that would install.
I know I can uninstall some of these apps using an uninstaller app but I would prefer they just weren't in my rom in the first place so I have a relatively clean rom - my phone is basically a glorified mp3 player that occasionally makes some calls and send the odd text so there are a fair few things I just don't need to be installed on the phone.
On my mini pro I'm using the SonyStyle GB rom
http://forum.xda-developers.com/showthread.php?t=1151499
Any help will be appreciated.
stikkki said:
Does anyone know an idiot's guide/tool for unpacking a rom, removing unwanted apk's and then repackaging it suitably for install. I can unzip and remove the apk's from the system/app but the problem I have is zipping the package up suitably for install, I understand that the package needs to be signed and I have seen a few guides using openssl and SignAPK but couldn't get a package that would install.
I know I can uninstall some of these apps using an uninstaller app but I would prefer they just weren't in my rom in the first place so I have a relatively clean rom - my phone is basically a glorified mp3 player that occasionally makes some calls and send the odd text so there are a fair few things I just don't need to be installed on the phone.
On my mini pro I'm using the SonyStyle GB rom
http://forum.xda-developers.com/showthread.php?t=1151499
Any help will be appreciated.
Click to expand...
Click to collapse
Open the zip in something like 7-Zip or WinZip or windows or whatever the default archive manager is on linux, delete the files you want and close it then install. that's it, signing is done on creation by the dev and isn't like a MD5 so it doesn't matter if you modify it
X10man
what i do is i have winrar and i just double click the rom zip file then go to system then go to app then delete the app (and the odex file if it has one) that simple and if you want to add an app just hit add (provided your still on system>app folder) browse to the apk file you want to add then hit hit ok. hope that helps
Cheers guys - from what I had read I thought I had to re-sign the package once I had edited it.
Okay, I've got what are probably really stupid questions. I'm trying to install Flash on my new Nexus 10. I'm brand-new to tablets, as you'll probably be able to tell from the following questions:
I downloaded the ZIP file on my computer, transferred it to Dropbox, and then put that archive in my SD.
But I can't figure out how to INSTALL it.
I just can't figure out what to do next. I've installed a thing called APK Installer and it doesn't seem to recognize that there's a program to install even after I've unzipped it IN the folder where the APK installer is.
I see no .exe anywhere in any of the folders in the archive.
Yes, I've turned on the ability to install from Unknown Sources.
What am I missing here?
THANKS for the help!
There is no flash version for devices whit Android +4.0 Your tablet runs 4.3 so no suport.
Sent from my Evo 3D GSM using xda app-developers app
So even these kewl apk versions won't work on my new tablet? It just seems retarded that I won't be able to watch Amazon Instant Video on my Nexus 10.
I think amazon will fix it i think
Sent from my Evo 3D GSM using xda app-developers app
grammartroll said:
Okay, I've got what are probably really stupid questions. I'm trying to install Flash on my new Nexus 10. I'm brand-new to tablets, as you'll probably be able to tell from the following questions:
I downloaded the ZIP file on my computer, transferred it to Dropbox, and then put that archive in my SD.
But I can't figure out how to INSTALL it.
I just can't figure out what to do next. I've installed a thing called APK Installer and it doesn't seem to recognize that there's a program to install even after I've unzipped it IN the folder where the APK installer is.
I see no .exe anywhere in any of the folders in the archive.
Yes, I've turned on the ability to install from Unknown Sources.
What am I missing here?
THANKS for the help!
Click to expand...
Click to collapse
what zip did you download and what is inside it please be specific
I want to extract the files from the APK to get the app installed,
the problem is that the system does not recognize the apk files anymore.
yosi1289 said:
I want to extract the files from the APK to get the app installed,
the problem is that the system does not recognize the apk files anymore.
Click to expand...
Click to collapse
if you want to just extract apk then it can be done by winrar but if you want to make it installable in your device then decompile it using apk tool
yosi1289 said:
I want to extract the files from the APK to get the app installed,
the problem is that the system does not recognize the apk files anymore.
Click to expand...
Click to collapse
I think you are trying to actually extract it on the device and not your computer. This is possible with easily with an app called RAR For Android available in the Playstore. It's a free download.
If you mean extracting .apk files from your phone to get elsewhere you can use an app called "ApkExtractor" available in Play store for free of charge.
It's an android device (4.2.2) and it doesn't recognize APK files
So I need to extract the APK files from my computer to my device so the app will be installed.