[Q] Can't install apks or move apks to app folder - EVO 4G Q&A, Help & Troubleshooting

I'm on Fresh Evo and the video camera force closes....
So, i tried uninstalling the htccamera and installing the camera.apk from CMs rom, since that camera is much better than htccamera.
Anyway, I've tried putting the apk on the sdcard and when I click on it to install, it says "application not installed."
If I try moving the apk to the system/app folder I get an error "java.io.filenotfound/system/app/Camera.apk(permission denied)
I've tried pushing and pulling from adb, also with errors.
I'm fully rooted, is there something I'm missing? a Checkbox somewhere? I've allowed installing applications from unknown sources, so that's not it.
Any help would be appreciated. Thanks

I don't know if it will work for the camera, but when installing a system app, I use root explorer (which isn't free from the market) to mount r/w permissions in the system/app folder so that I can copy and paste the app inside that folder. Then I long press the app and click on permissions, then only check the boxes for Owner/Read, Owner/Write, Group/Read, and Other/Read. The app then installs itself when I reboot the phone.

shortydoggg said:
I don't know if it will work for the camera, but when installing a system app, I use root explorer (which isn't free from the market) to mount r/w permissions in the system/app folder so that I can copy and paste the app inside that folder. Then I long press the app and click on permissions, then only check the boxes for Owner/Read, Owner/Write, Group/Read, and Other/Read. The app then installs itself when I reboot the phone.
Click to expand...
Click to collapse
Downloaded Root Explorer, finally was able to copy the camera.apk into the system/app folder. Success there, but...
Changed all the permissions like you said, then clicked on the apk to install it. A window opened up with an install button, clicked it, and then it came up with the message "application not installed." I rebooted and it looked like the camera installed, it showed up in the app list, but when I click it, it force closes, comes up with an error "we're sorry, camera has closed unexpectedly, com.android.camera, please try again.
Any ideas on how to get passed the force close. It's doing exactly what the htccamera would do when I tried to use the video camera.
Thanks in advance.

Related

[Q] Unable to reinstall some apps

I've searched for this and no luck... I'm using Myn's Warm 2.2 RLS4 and trying to reinstall some of the removed .apks that are in the optional folder, and others that I have moved myself using Root Explorer. Some of them I could just click and they would install via the app installer with no problem. However, I'm getting an "application not installed" message for some.
I've tried installing from the folder (with success for some apk's) and also tried moving the files back to the original location system/app and installing from there. (I've also had this work in one instance). In addition, I've tried rebooting and wipes of dalvik in between attempts.
An example: I moved HTCTwitter to the sd card and the app (Peep) was gone as expected. Next I tried reinstalling to test whether or not it would work and got the dreaded "app not installed" message. After that I tried just moving file back to the original location using root explorer and a restart. The file moved to the correct location, but no sign of the app. I tried installing from within system/app and same "app not installed".
This is not isolated to this ROM for me. Had same issue with AVA Froyo. Any help would be appreciated.
Thanks
Are the one's that you are having trouble with "System Apps"?
It seems like it's mostly the apps that came pre-installed like Peep in the example and I remember the issue with Teeter as well. I recall having an issue with twitter, when I moved it thinking it was the peep app and could not reinstall that app. However, I went to the mkt and the twitter app install with no problem.
So, yes. It seems like systems apps.
Try setting your permissions mask to match an installed app. While you're at it check ownership and chown to match.
Oh yeah I'm sure you're first uninstalling, then installing a new.
kperry1911 said:
I've searched for this and no luck... I'm using Myn's Warm 2.2 RLS4 and trying to reinstall some of the removed .apks that are in the optional folder, and others that I have moved myself using Root Explorer. Some of them I could just click and they would install via the app installer with no problem. However, I'm getting an "application not installed" message for some.
I've tried installing from the folder (with success for some apk's) and also tried moving the files back to the original location system/app and installing from there. (I've also had this work in one instance). In addition, I've tried rebooting and wipes of dalvik in between attempts.
An example: I moved HTCTwitter to the sd card and the app (Peep) was gone as expected. Next I tried reinstalling to test whether or not it would work and got the dreaded "app not installed" message. After that I tried just moving file back to the original location using root explorer and a restart. The file moved to the correct location, but no sign of the app. I tried installing from within system/app and same "app not installed".
This is not isolated to this ROM for me. Had same issue with AVA Froyo. Any help would be appreciated.
Thanks
Click to expand...
Click to collapse
Try using adb what you need to do is place your apk in your androidsdk tools folder, open cmd, cd to your androidsdk/tools folders, and push the apk to there location wanted. Example pushing gmail would be as follows.
Code:
Adb remount
Adb push gmail.apk system/app
An reboot
Sent from my unrEVOked using xda app
Thanks. Going to give adb a try. I saw that suggestion somewhere else too. It seems like just copying to system/app places the file there, but doesn't have the same effect as adb push.
Also, I did try matching permissions when I was having issues with teeter trying to use root explorer. The strange thing is that I was able to do this a few months ago with the same apk, if I recall correctly, by just installing from Astro file mgr.
Thanks for the help guys.
-kp
Iirc the only time I ever got that message was when froyo apps2sd lost its links and I filled my phone memory with apps.
What's your memory?
Sent with Super-Sonic Vision using XDA app.

[Q] Fresh EVO 3.5 FM Radio

Hello all! I rooted my EVO last month, and am running the Fresh EVO 3.5 ROM. The developer removed many of the OEM "apps" including the FM radio. (I use quotes, because things like the FM radio aren't just apps... it's part of the functionality of the phone, and without it, you're removing a capability of the phone.)
In order to get it back, I tried installing from the SD card where he stored all the removed apps, which the developer himself says wouldn't work. No surprise, it didn't work. "Application not installed"
I moved it to system/app and tried to install, whence I'm again told "Application not installed."
Downloaded the .apk (found by searching some forums), moved it into system/app and tried installing it with the same result ("Application not installed").
Tried using "AppInstaller" on the .apk, same result.
I'm frustrated that this ROM, while great in every other respect, has killed some of the functionality of my phone. If someone could help me get the FM radio back, I'd greatly appreciate it. Thank you!
Try flashing this file from your recovery the same way you installed the Fresh ROM. It will install the HTC FM Radio app in your system/app. Without a zip file like this you would normally need to use an application like Root Explorer.
http://dl.dropbox.com/u/3000044/FM_Radio-FreshEvo-3.5.0.1-02142011.zip
P.S. Even though this is the app section its more for developing and modifying apps. In the future you should post basic questions like this in the Q&A section.
Thanks for the help and advice.
Your .zip did install the FM radio and widget files to the system/app folder, but they still will not install. I get the same message as I did before.
Also, I have Root Explorer - that's how I moved the .apk to the system/app folder in my original attempt.
I posted a tweaked apk in flipz's thread a few month's back that should install for you, by flashing from recovery. You can give it a shot as well.
http://forum.xda-developers.com/showpost.php?p=9989719&postcount=7252
here you go, just flash
I guess I am not sure what issue you are having. I am running Fresh with out FM radio installed. I was able to use root explorer to move the file to system/app, then set the permissions, and reboot and once I was back into the launcher I was able to use the HTC radio app which was not there before. After doing that I restored my backup to before having the radio app installed and tried again using the zip file I supplied, rebooted, and I was able to use the app.
^ And for some reason, I was not able to do the same. The file was in system/app, but it would not install.
Toxin715 - Worked beautifully! Thank you!
Out of curiosity, do you have anything similar for the radio widget? I get the "Application not installed" error with that, as well... it's not as big of a deal, though.
Mathman85 said:
The file was in system/app, but it would not install.
Click to expand...
Click to collapse
If you have moved the apk to /system/app on your phone you do not need to install it, just reboot.
Mathman85 said:
^ And for some reason, I was not able to do the same. The file was in system/app, but it would not install.
Toxin715 - Worked beautifully! Thank you!
Out of curiosity, do you have anything similar for the radio widget? I get the "Application not installed" error with that, as well... it's not as big of a deal, though.
Click to expand...
Click to collapse
No problem, glad to help. Um you also need the widget?
Toxin715 said:
No problem, glad to help. Um you also need the widget?
Click to expand...
Click to collapse
Lol, that's my zip...
brandenk said:
If you have moved the apk to /system/app on your phone you do not need to install it, just reboot.
Click to expand...
Click to collapse
If that had been the case, I would've never bothered trying to install it, because "FM Radio" would've shown up in my apps and I'd have been happy to post that the issue was resolved. After rebooting when I had moved it to system/app with Root Explorer, it was not in my apps list, so I tried to install it (to no avail). Even after flashing the .zip you posted (after which I had to reboot to get out of recovery), it was in system/app, but not in my apps list; when I clicked on it in Root Explorer, I was given the "Application not installed" error. Even after flashing the .zip that Toxin715 and JsChiSurf posted, it was in system/app, but not in my apps list - the difference here was that when I went into Root Explorer and clicked on it, it let me install it, so now that issue is resolved.
Similarly, the widget is in system/app, but I assure you that I am not able to use the widget (I was going to post screen shots, but since I'm a n00b, the forum won't let me).
Toxin715 - Yes, if you could provide insight (or a .zip) for the widget, I'd be extremely grateful.
JsChiSurf - Thank you! I now see that it's your .zip, I just happened to try it directly from what Toxin715 had posted, so I didn't realize it at the time. Out of curiosity, what made your .zip any different from the others that I've tried and had no success with?
And open question to all who are reading - why would the app not show in my apps list if it is installed in system/app? Could something have gone wrong during the install of my ROM that perhaps a re-flash might correct?
Here's what I did to get it to work (using Root Explorer):
1) Copied HTCFMRadio.apk from fresh-removed-apks folder on my SD card
2) Navigated to system/app folder and clicked on "Mount R/W" button to make folder writable.
3) Pasted HTCFMRadio.app file in the system/app folder
4) Modified the permissions to match the other apps (rw-r--r--)
5) Rebooted the phone
That worked perfectly for me. I didn't modify the permissions at first and wasn't able to view the app in my app drawer. After I modified the permissions and rebooted, the app showed up as installed and worked perfectly.

Toward working google apps

[Market downloads cause a market FC]
grab: //goo-inside.me/gapps/gapps-gb-20110729-signed.zip
Install a file manager (or mail yourself the relevant APKs)
Install the Google Services Framework apk, as well as, say, the Books app.
Open books. Add your Google account. If you have apks for other Google apps, you can install them and they should behave.
GMail works fine. Maps works fine. Market falls over on download.
Which one is gmail and which one is google reader? What abotu voice?
blacked out gmail 2.3.5: http://www.mediafire.com/?26pujxmqvmaubjb
sound like device id issue which we did nookcolor before
obra said:
[Market downloads cause a market FC]
grab: //goo-inside.me/gapps/gapps-gb-20110729-signed.zip
Install a file manager (or mail yourself the relevant APKs)
Install the Google Services Framework apk, as well as, say, the Books app.
Open books. Add your Google account. If you have apks for other Google apps, you can install them and they should behave.
GMail works fine. Maps works fine. Market falls over on download.
Click to expand...
Click to collapse
nm - grabbed the wrong file
Hmmm...I downloaded the zipfile, copied the unzipped files over to the Kindle, and tried to install using ES File Explorer. I was able to install YouTube just fine, but when I tried to install the "GoogleServicesFramework.apk" file, the installation failed with an "Application Not Installed" error message. Any ideas?
Yes, I do have the "Unknown Applications" permission set correctly, as I've sideloaded and installed a bunch of other stuff.
doug2311 said:
Hmmm...I downloaded the zipfile, copied the unzipped files over to the Kindle, and tried to install using ES File Explorer. I was able to install YouTube just fine, but when I tried to install the "GoogleServicesFramework.apk" file, the installation failed with an "Application Not Installed" error message. Any ideas?
Yes, I do have the "Unknown Applications" permission set correctly, as I've sideloaded and installed a bunch of other stuff.
Click to expand...
Click to collapse
I've already side-loaded dropbox to speed things up a bit over here.
doug2311 said:
Hmmm...I downloaded the zipfile, copied the unzipped files over to the Kindle, and tried to install using ES File Explorer. I was able to install YouTube just fine, but when I tried to install the "GoogleServicesFramework.apk" file, the installation failed with an "Application Not Installed" error message. Any ideas?
Yes, I do have the "Unknown Applications" permission set correctly, as I've sideloaded and installed a bunch of other stuff.
Click to expand...
Click to collapse
I have the same issue
I'm at work and my kindle is supposed to arrive today... but now that there is root, has anyone tried to install gapps by restoring them via titanium backup?
"Can't establish a data connection to the server"
Update 3:
Working Google Apps:
Voice
Talk
Maps
YouTube
Reader
Google+
Books
Gmail
Partially Working:
Market (Force Closes when updates or downloads are attempted)
UPDATE 2: All of my gapps are working now with the exception of Market. Any ideas as to how to get market running?
UPDATE: I was able to sign into my account, but the only app that doesn't force close is books. Market and gmail both force close when I try to open them.
I am online and able to surf the internet right now on my fire just fine . . . but for some reason when I try to sign into my google account I get the error
"Can't establish a reliable data connection to the server.
His could be a temporary problem or your phone may not be provisioned for data services. If it continues, call Customer Care."
Any ideas?
I am rooted and have BusyBox installed​
Everything is working great for me except Talk, which won't install.
As far as the market, I have no problem installing it, but it doesn't create an icon. If I choose to open the market immediately after installing, however, it opens, and works flawlessly.
For those with the market issue, you may want to chmod the vending.apk to 6775 to correct permissions. Maybe that'll help? You'll have to do it locally with a terminal emulator though, I've had no luck getting ADB to give me root access.
The reason I mention chmod is, I had originally pushed the files out to the system/app folder manually, and set permissions, but I had no way to open the apps that way, since the fire is very picky on what it gives icon space to, unlike vanilla android.
DarkSi08 said:
Everything is working great for me except Talk, which won't install.
As far as the market, I have no problem installing it, but it doesn't create an icon. If I choose to open the market immediately after installing, however, it opens, and works flawlessly.
For those with the market issue, you may want to chmod the vending.apk to 6775 to correct permissions. Maybe that'll help? You'll have to do it locally with a terminal emulator though, I've had no luck getting ADB to give me root access.
The reason I mention chmod is, I had originally pushed the files out to the system/app folder manually, and set permissions, but I had no way to open the apps that way, since the fire is very picky on what it gives icon space to, unlike vanilla android.
Click to expand...
Click to collapse
This worked PERFECT. market works now - installed the apk by opening it from file manage on the kindle, then navigated to /data/app and fixed permissions - as to your google talk issue, I just copied talk.apk directly into /system/app, fixed permissions, and rebooted, and it showed up in ADW Launcher as installed and worked perfectly - doesnt show up in the kindle launcher tho.
abremel said:
This worked PERFECT. market works now - installed the apk by opening it from file manage on the kindle, then navigated to /data/app and fixed permissions - as to your google talk issue, I just copied talk.apk directly into /system/app, fixed permissions, and rebooted, and it showed up as installed and worked perfectly.
Click to expand...
Click to collapse
What are the correct permissions?
ckong1 said:
What are the correct permissions?
Click to expand...
Click to collapse
rw-r--r--
644? i think is the number?
I wasn't able to launch google talk from kindle launcher, but once I installed Go Launcher talk came up right away and works.
ckong1 said:
I wasn't able to launch google talk from kindle launcher, but once I installed Go Launcher talk came up right away and works.
Click to expand...
Click to collapse
mybad. I'm an idiot. Yeah, I have adw launcher installed - it showed up on there, not the kindle launcher.
abremel said:
mybad. I'm an idiot. Yeah, I have adw launcher installed - it showed up on there, not the kindle launcher.
Click to expand...
Click to collapse
Ah, makes sense. I haven't considered installing any other launchers yet.
I wonder what it is about the stock launcher that suppresses installed apps from showing up. It makes no sense to me that gmail and maps would show up as they should, but not the marketplace and talk.
Ok got Talk working perfectly. What's the correct permissions for the market?
ckong1 said:
Ok got Talk working perfectly. What's the correct permissions for the market?
Click to expand...
Click to collapse
rwx for owner, just r for the other 2. I'm unrooted now so i can no longer see the numbers...
Still getting FC's for the Market app...
ckong1 said:
Still getting FC's for the Market app...
Click to expand...
Click to collapse
did you install it by copying over the apk to the device and selecting it, or copy it directly to /system/app - it force closed on me if i copied it to /system/app, but if i just copied it over to the internal sd, selected it and installed, and then fixed the permissions of the installed vending.apk in /data/app, it worked.
---------- Post added at 07:54 PM ---------- Previous post was at 07:48 PM ----------
I'm curious, does anyone have calendar working and properly syncing yet? That's one I haven't been able to figure out.

Stock email app apk?

In my haste on my freshly rooted Nexus, I used Titanium Backup to uninstall some apps I don't use that I know I can get from the market if I ever wanted them, but I got a bit quick and uninstalled the stock Email app instead of freeze it (in case I ever wanted to use it). I did a factory reset but that doesn't bring it back so my question is, can anyone post the apk and tell me where to put it to get it back? I think the proper location is /system/app, is that correct? Thanks.
Yep, /system/app. There are two APKs with the Email icon: EmailGoogle.apk and ExchangeGoogle.apk. I've attached both as a ZIP.
Thanks a lot!
OK so I'm still a bit new to this. I used root explorer to mount /system/app as r/w and changed the permissions on the EmailGoogle.apk to rwxr--r--. I already have ExchangeGoogle.apk. I have enabled "allow non-market apps" in my settings but I'm still getting "application not installed" when i try to install it. What am I missing? I used the RootToolkit to unlock and root my Galaxy Nexus, but I do have some experience using adb from the past with rooting my Droid. Do I need adb to install this?
crankerchick said:
OK so I'm still a bit new to this. I used root explorer to mount /system/app as r/w and changed the permissions on the EmailGoogle.apk to rwxr--r--. I already have ExchangeGoogle.apk. I have enabled "allow non-market apps" in my settings but I'm still getting "application not installed" when i try to install it. What am I missing? I used the RootToolkit to unlock and root my Galaxy Nexus, but I do have some experience using adb from the past with rooting my Droid. Do I need adb to install this?
Click to expand...
Click to collapse
You won't be able to install it, just use a root explorer (such as ES File Explorer) to manually copy the file to /system/app, it should then show up as installed.
Ah ok. I did a reboot and it's still not in my app drawer.
crankerchick said:
Ah ok. I did a reboot and it's still not in my app drawer.
Click to expand...
Click to collapse
I wasn't thinking; you'll need the ODEX as well. I've attached both files, just copy them both into /system/app and let me know if that works.
That did it! Excellent!

[Q] Note 2 Gallery/Lockscreen wallpaper help

Had the bright idea to delete the stock gallery app while clearing bloatware. Unbeknownst to me, that was needed to set the lock screen wallpaper to anything other than the stock wallpapers. I use quickpic instead. Now I can't set a picture as the lock screen background (I can change wallpaper).
I've tried reinstalling the gallery, but when choosing to set the paper from the home screen, the gallery option does not show up. Is there a way to again associate the gallery, or an alternative app to do so?
SilveradoZ71 said:
Had the bright idea to delete the stock gallery app while clearing bloatware. Unbeknownst to me, that was needed to set the lock screen wallpaper to anything other than the stock wallpapers. I use quickpic instead. Now I can't set a picture as the lock screen background (I can change wallpaper).
I've tried reinstalling the gallery, but when choosing to set the paper from the home screen, the gallery option does not show up. Is there a way to again associate the gallery, or an alternative app to do so?
Click to expand...
Click to collapse
I'm no expert, but have you restored gallery back to /system/app or did you just click on .apk and chose to install it? Because if you installed it, it went to /data/app - maybe that's the reason it does not function as it supposed to?
And second, try to run it as an app - see if it starts in first place, maybe there's something else missing. Perhaps you deleted odex file as well, and because of this it does not start?
Just did a little experiment - restored apk and odex files back to /system/app - and option to change wallpaper appeared again. No reboot needed.
Move gallery apk to system/app and set the permissions to rw-r-r aand reboot.
akp.ajinkya said:
Move gallery apk to system/app and set the permissions to rw-r-r aand reboot.
Click to expand...
Click to collapse
I believe you both are right, as I just installed like normal. Noob issue though, when I go to copy and paste the apk into system/app, I get a permission denied message. I'm rooted of course and granted es file explorer su privileges, so I'm not sure why. Any suggestions?
Thanks for the help
SilveradoZ71 said:
I believe you both are right, as I just installed like normal. Noob issue though, when I go to copy and paste the apk into system/app, I get a permission denied message. I'm rooted of course and granted es file explorer su privileges, so I'm not sure why. Any suggestions?
Thanks for the help
Click to expand...
Click to collapse
You need to remount /system as read-write, just like you did before removing apps (if you removed them manually). Go to your terminal emulator or use ./adb shell get superuser (by typing "su") and type: mount -o rw,remount /system
After that you can move files to*/system. Just don't forget to reboot or remount /system as read-only when done.
Root explorer allows pasting and permissions changing. I'm not sure I'm using the right apk. I had a nexus one that installed and worked (though not able to change lock screen). I uninstalled it, and installed 2 different versions of the Samsung app. It never gets recognized on the reboot like the nexus one did. I assume I'm using the wrong one. Any link to an official one? I am on 4.1.2 stock.
Thanks again
SilveradoZ71 said:
Root explorer allows pasting and permissions changing. I'm not sure I'm using the right apk. I had a nexus one that installed and worked (though not able to change lock screen). I uninstalled it, and installed 2 different versions of the Samsung app. It never gets recognized on the reboot like the nexus one did. I assume I'm using the wrong one. Any link to an official one? I am on 4.1.2 stock.
Thanks again
Click to expand...
Click to collapse
I'm using 4.1.2 stock, so here are files from my /system/app:
http://ge.tt/11an8Gz
Sha256sum:
9f1a440e1aefb1bed74c0c8b0cdd0e462d24d70cad3da7063034db5f905f2d52 SecGallery2_Galaxy.apk
cf96394bcce1c1b07915265b953074d79960f530b4872770597f6cd4349ffd0e SecGallery2_Galaxy.odex
Good luck, and let me know if this helps.
P.S. Next time you clean you ROM, just move files to some location (for example your PC) Comes in handy later, I know that from my own painful experience
Userius said:
I'm using 4.1.2 stock, so here are files from my /system/app:
Sha256sum:
9f1a440e1aefb1bed74c0c8b0cdd0e462d24d70cad3da7063034db5f905f2d52 SecGallery2_Galaxy.apk
cf96394bcce1c1b07915265b953074d79960f530b4872770597f6cd4349ffd0e SecGallery2_Galaxy.odex
Good luck, and let me know if this helps.
P.S. Next time you clean you ROM, just move files to some location (for example your PC) Comes in handy later, I know that from my own painful experience
Click to expand...
Click to collapse
Any specific way to install it all back? I put everything back in system/app and rebooted. Nothing changed, it's not installed, and Android didn't "Update Apps" on the reboot. I try to install it with package installer like any other app and that fails. I've tried your odex and mine (which was never deleted).
That's great advice!

Categories

Resources