When I look in my sdcard, some of the apps that I've backed up end up as zip files. According to search, I should be able to just rename it from .zip to .apk
I did that, and tried to install, but it keeps giving me a warning that says this app cannot be installed on the phone.
Why? and how can I fix this so I can install these apps back?
Thanks
maybe because changing extension names on files makes them unstable. look in app private. im sure the zips came from the apps folder it happens like i said look in appsprivate folder
Related
I installed this from the market on my legend rom. I have created a nandroid backup of that rom and I'm now rockin the nonsense rom from team-slide (great rom by the way!). However I'm trying to find this on the market now and it seems like it is nowhere to be found. I've tried a variation of searches with no luck. So I thought, well I'll just restore my legend rom backup and adb pull the file from there. It was located in the /data/app as a .zip file while the other apps were .apk. Anyhow I was able to pull the file and its now on my computer. I then did a restore to my nonsesnse rom but I'm unsure how to get the zip file back on the phone. I can adb push it on there but it doesn't 'install' it per sey. Any ideas on how to get this app back on the nonsense rom?
You can place the apk on the sd card and then on the phone you can use astro to install it. If that doesn't work you can connect to the pc and use the "adb install" command.
Sent from my HTC Mytouch 3G Slide using XDA App
Part of the problem is that I don't see an apk file. The file is actually .zip in the /data/app path. The other files in the /data/app path are .apk files. Am I missing something here or is the apk file in another path? When I unzip the file on my computer there are multiple folders. If I had the actual apk then I might be in business. Any suggenstions on where it might be hiding?
go to app private in the backup that u got the zip from there should b the apk
update - app private had the apk, installed and working fine, thanks for all the help. So is it safe to say if it is a zip file the apk will always appear in app private? Why make this different from the other apks? Is it just developer specific i guess?
Does anyone get the error when trying to restore an app backup:
"For security your phone is set to block installation of applications not sourced in the Android Market?"
What am I doing wrong? I've rebooted many times thinking it would clear it up. Thanks.
Your phone needs to have side loading enabled. Follow the steps here any method will work
Also this post is in the wrong section it should be in the QA section of general.
chasesavestheday said:
Does anyone get the error when trying to restore an app backup:
"For security your phone is set to block installation of applications not sourced in the Android Market?"
What am I doing wrong? I've rebooted many times thinking it would clear it up. Thanks.
Click to expand...
Click to collapse
Did you enable Sideloading?
There's an alternative way that requires no monkeying around with the structure of your phone and a lot less software on your computer.
I backed up my apps with Titanium. It basically zips the .apk's into .tgz formats; mount your usb to the computer and browse to the Titanium directory. Copy the .tgz files to your desktop, and use Winrar (or similar) to extract the .tgz files. (Note: once you extract them, the .apk files don't have the .apk file extension. Rename the extracted files to add the .apk)
Use the Sideload Wonder Machine to reinstall your programs, gotten from here.
http://www.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine
Worked very well for me. If anybody's interested in this method, I can do a more detailed tutorial.
jeromekobriger said:
There's an alternative way that requires no monkeying around with the structure of your phone and a lot less software on your computer.
I backed up my apps with Titanium. It basically zips the .apk's into .tgz formats; mount your usb to the computer and browse to the Titanium directory. Copy the .tgz files to your desktop, and use Winrar (or similar) to extract the .tgz files. (Note: once you extract them, the .apk files don't have the .apk file extension. Rename the extracted files to add the .apk)
Use the Sideload Wonder Machine to reinstall your programs, gotten from here.
http://www.androidcentral.com/sideload-android-apps-all-you-want-sideload-wonder-machine
Worked very well for me. If anybody's interested in this method, I can do a more detailed tutorial.
Click to expand...
Click to collapse
But if you follow the steps to enable sideloading then you won't have to jump through these hoops to restore a backup. Plus your way may or may not restore any data associated with the apps.
You are correct, it did not reinstall the data. I apologize for not mentioning it. The only reason I mention doing it this way is because any of the five steps mentioned in the sideloading post, while easy for quite a few people, are not necessarily newbie friendly. It indeed has the drawback of not copying all the data over, only the app, but it seemed to me that it might be a little less intimidating to some people.
Mods please delete. I figured out my errors and all is well.
If anyone is having trouble with this as I was, please refer to these instructions. I'm sorry, I forget who posted them but credit to whoever you are. Big help.
1. Transfer the apk from your phone to your computer. It's probably in a place like data/app or data/data or the like
2. Open the apk with 7zip. Do not extract the whole thing, just open it. Inside you'll see a folder called "res"; transfer that somewhere on your computer.
3. Inside the res folder you'll see a bunch of folders. The images you want to edit are usually in a folder labeled "drawable", but you may have to look elsewhere
4. Find the background image you want to edit. It might be labeled widget_bg or something helpful like that.
5. Edit it how you want. In the case of transparency, you want to delete the background and make it entirely transparent. Save it in the same format and do not change the name. (Note- if your file has .9.png in it, you have to open your edited version using draw9xpatch or whatever in the Android SDK and save it through that as well)
6. Drag the res folder with your modified images back into the archive, using 7zip. You might want to use a duplicate of the apk, just to have the original on hand in case something goes wrong.
8. Place the modified apk into the place-apk-here-for-modding folder in the APK Manager folder
9. Open up script.bat. Select your project using option 22.
10. Do the following things- Extract APK (1), Zip APK (3), zip as regular apk (2), sign apk (4)
At this point you should have a signed version of the apk in the place-apk-here-for-modding folder. You can transfer it to your phone now and install it. Or install it directly onto your phone through apk manager if you have ADB enabled.
Click to expand...
Click to collapse
Thanks!
Wait a minute, you click on the application from your file manager, opening it in your App Manager, and it says Application not Installed?
That makes no sense at all. The only time I've encountered that is when I've tried using an app that was stored on my SD card, which wasn't put in. That app was on my homescreen too.
I'll have the .apk on my SD card somewhere and I'll try to install in through a file explorer with the error message above.
I tried installing through Dropbox, but that also gets me the error message. I've uninstalled all applications of the same name because that's what you're supposed to do. It's weird, I know. I'm trying to work through it right now.
see OP
10char
Same problem
Hello gentlemen, i have some problem with installing "slide it keyboard" and others applications. The messages is: application not installed. I tried everything, but nothing works... Please help me.
HTC desire 2.2 froyo
I was just wondering... when you download an app from the market, the apk file is clearly saved somewhere... but where? I mean, sometimes the download is successful, but the installation fails. instead of downloading the file again, I'd like to launch the downloaded apk and re-install directly. Anybody has a clue?
/system/data
EDIT: Oh, nevermind, I didn't realize you meant when the install fails.
If not on root/data/app than try root/mnt/asec/ and they have many folders wich have inner files that name "pkg.apk" but apk icon say about that file was installed...You can copy in external drive and change on original name.
Regards
miro666 said:
If not on root/data/app than try root/mnt/asec/ and they have many folders wich have inner files that name "pkg.apk" but apk icon say about that file was installed...You can copy in external drive and change on original name.
Regards
Click to expand...
Click to collapse
Thanks!
ZioGTS said:
...when you download an app from the market, the apk file is clearly saved somewhere...
Click to expand...
Click to collapse
/cache
The size of this partition may be the root of your install failed problems. When I first flash JVR, I hit the marked like a madman and just hit download on all the apps I regularly downloaded. The /cache partition quickly filled up and half of my installs failed. To make matters worse, the half downloaded files stayed in /cache and I had to manually remove them to regain the space (although I assume they would have been cleaned up next boot).
If the app installs successfully the apk is deleted from /cache and you can then find it in the locations mentioned by miro666.
So i had to get my N6 replaced becasue the top speaker was all wacked out, so i got the new one and hope someone can help me (i know there will be ) first i'm trying to copy the titanium backup files, i keep getting an error on certain files saying "cannot copy, device has stopped responding or has been disconnected" when clearly neither of those things have happened. I am on stock rooted & unencrypted. I tried searching but found no answer to this..
Just created an update.zip but when i look on the computer, i cannot see the file..
how are you trying to copy the backup files?
I usually copy it to an online storage (dropbox/box etc). Make sure you download and restore it to your new phone before wiping/returning your old phone.
I'll try dropbox, what i did was had it create an update.zip which contains apps+data so i could flash it in recovery on the new phone. I can see the file with root explorer on the sdcard, but when i plug it in to the computer i don't see the file..
I'm trying to drag the tibu folder to dropbox and it won't do anything...
ryanallaire said:
I'll try dropbox, what i did was had it create an update.zip which contains apps+data so i could flash it in recovery on the new phone. I can see the file with root explorer on the sdcard, but when i plug it in to the computer i don't see the file..
Click to expand...
Click to collapse
Are read/write permissions set on the file/directory?
Try moving it to your phones "Downloads" directory and see if it shows on your computer? Enable "view hidden file types".
rwxrwx-- the only part not checked is where it says others..
Edit: I tried checking the boxes next to others and it said permissions could not be changed..
blyndfyre said:
Are read/write permissions set on the file/directory?
Try moving it to your phones "Downloads" directory and see if it shows on your computer? Enable "view hidden file types".
Click to expand...
Click to collapse
I moved it to downloads, backups, with view hidden file types and still nada...
Ok i have it syncing to dropbox now, i 've never used dropbox to sync data so i did some reading and found out how. What i couldn't find was after it syncs to dropbox, do i restore apps+data to the replacement phone?