SOLVED - Edited my Switchpro, but it will not let me reinstall apk. - EVO 4G Q&A, Help & Troubleshooting

Yea, I'd found the apk, and I've replaced the picture (just the dot color underneath the widgets)
Now my problem is that the damned thing won't install. I've tried just renaming it to zip and replacing the picture, and then using the apk manager to xtract, replace, rezip, and resign.
Both ways, I get "Application not installed". I know this is doable because I've seen other people with it done, but any help with what I have going on would be great.

Bumper Carts: I really need this answered.

This doesn't fix your problem, but is a quick work around. Try using root explorer or adb to put the apk in system/app. I guess resigning edited apks is only necessary if they're going in data/app. I do this all the time to skin fancy widget.
Ps, if you use root explorer, don't forget to change permissions back to their default settings.

vinscuzzy said:
This doesn't fix your problem, but is a quick work around. Try using root explorer or adb to put the apk in system/app. I guess resigning edited apks is only necessary if they're going in data/app. I do this all the time to skin fancy widget.
Ps, if you use root explorer, don't forget to change permissions back to their default settings.
Click to expand...
Click to collapse
It's a data app so I definitely needed to install it the package way, but my problem was that I had to uninstall the original through the market first.
Thanks for the input!.

Related

[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.

Livewallpaper on Bonsai

Hi All,
I was wondering if I could put out a request for some APKs. I would like to have live wallpapers on Bonsai and have tried putting livewallpaper.apk and the picker into my Epic but I don't have Root Explorer and I can't seem to change the permissions on those files. Right now all of the APKs I found have Read Yes Write Yes and the other one No. All of the APKs in my app directory have Read Yes Write No and other one No. Could someone post those APKs with permissions set like that? I don't know if that is my exact problem or if it is worth it to buy RE for only that purpose.
TIA,
DD
I believe its been mentioned before that ES File Explorer brings most of the Root Explorer functionality for free. I could be wrong though since ive never tried it myself. Worth a shot though if its just a permissions issue.
doggiedog said:
Hi All,
I was wondering if I could put out a request for some APKs. I would like to have live wallpapers on Bonsai and have tried putting livewallpaper.apk and the picker into my Epic but I don't have Root Explorer and I can't seem to change the permissions on those files. Right now all of the APKs I found have Read Yes Write Yes and the other one No. All of the APKs in my app directory have Read Yes Write No and other one No. Could someone post those APKs with permissions set like that? I don't know if that is my exact problem or if it is worth it to buy RE for only that purpose.
TIA,
DD
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App
U can also use sdx stock app removal app, just put the apk in the adx folder on the SD card and go Into the app then to manage backups and got restore
Set From My 3.0.1 Bonsai Epic 4g
Thanks. I have tried everything. I could not change the permissions using sdx or ES File manager. All I could do with those programs was access the system directories. Unless I am doing something wrong, I will either need to get Root Explorer and change the permissions or get altered livewallpaper apks.
I think the frankenstine rom thread has a flashable zip for live wallpapers
Sent from my SPH-D700 using XDA Premium App
doggiedog said:
Thanks. I have tried everything. I could not change the permissions using sdx or ES File manager. All I could do with those programs was access the system directories. Unless I am doing something wrong, I will either need to get Root Explorer and change the permissions or get altered livewallpaper apks.
Click to expand...
Click to collapse
U don't need to change permissions in the sdx app removal app...
Set From My 3.0.1 Bonsai Epic 4g
OK. I think I may be confusing some people.
I would like to have Live Wallpapers in Bonsai since it's been removed. I did some research and found that you need to install the livewallpaper apks into the system/app directory. I did that using ES File Manager and rebooted. It didn't work. I did some more research and a few people had the same issue. The solution was to make sure the permissions in the livewallpaper apks was exactly the same as the permissions as the other apks in the apps directory. The apks in the directory all have Read Yes, Write No and Hidden No. All of the livewallpaper apks I found had permissions set up as Read Yes, Write Yes and Hidden No. I figure if I change the Write from Yes to No, it might work. I'm not 100% positive which is why I don't know if it's worth it to buy Root Explorer just to experiment. I'm hoping someone can provide me with the livewallpaper and livewallpaperspicker apks with altered permissions that have those settings.
Estewa_619, I will try that ROM. Thanks!
Tried the Frankenstein ROM livewallpaper apks and it still didn't work. The permissions are still set up as Read Yes, Write Yes and Hidden No.
doggiedog said:
OK. I think I may be confusing some people.
I would like to have Live Wallpapers in Bonsai since it's been removed. I did some research and found that you need to install the livewallpaper apks into the system/app directory. I did that using ES File Manager and rebooted. It didn't work. I did some more research and a few people had the same issue. The solution was to make sure the permissions in the livewallpaper apks was exactly the same as the permissions as the other apks in the apps directory. The apks in the directory all have Read Yes, Write No and Hidden No. All of the livewallpaper apks I found had permissions set up as Read Yes, Write Yes and Hidden No. I figure if I change the Write from Yes to No, it might work. I'm not 100% positive which is why I don't know if it's worth it to buy Root Explorer just to experiment. I'm hoping someone can provide me with the livewallpaper and livewallpaperspicker apks with altered permissions that have those settings.
Estewa_619, I will try that ROM. Thanks!
Click to expand...
Click to collapse
This is very easy to solve. Go to midnight rom and download it to computer. Open up the midnight extras folder and you will find lots of zip files in there that are all flashable in CWM. Just extract the folder, then copy the live wallpaper zips you want onto your sd card, then flash in CWM.
Alternatively, what I normally do is download the rom you want to flash (Bonsai). Open it up on your pc. Navigate to system/apps. Paste the livewallper apks into that directory. Then flash normally. This will include any files you want in the system/app folder.
davidrules7778 said:
U can also use sdx stock app removal app, just put the apk in the adx folder on the SD card and go Into the app then to manage backups and got restore
Set From My 3.0.1 Bonsai Epic 4g
Click to expand...
Click to collapse
Just used this method on bonsai 3.0.1 , worked just fine. Thanks!
Sent from my SPH-D700 using XDA App
All I did was download the flashable zip from frankenstine post and I flashed it in cwm and it worked for me
Sent from my SPH-D700 using XDA Premium App
mis3 said:
This is very easy to solve. Go to midnight rom and download it to computer. Open up the midnight extras folder and you will find lots of zip files in there that are all flashable in CWM. Just extract the folder, then copy the live wallpaper zips you want onto your sd card, then flash in CWM.
Alternatively, what I normally do is download the rom you want to flash (Bonsai). Open it up on your pc. Navigate to system/apps. Paste the livewallper apks into that directory. Then flash normally. This will include any files you want in the system/app folder.
Click to expand...
Click to collapse
7zip (windows) is what u want to use 2 open the zip but DO NOT EXTRACT it!!! Well in 7zip paste the apks u want into system/apps. Then close 7zip. Move the rom 2 ur sdcard and flash as u would normaly. U can also replace the boot/shutdown animation and a few other parts of the rom that you can add or subtract stuff from. I hope this help as not to sound offensive but u seem a bit newbish and 7zip isa great tool for viewing zip files w/o extracting them took me a good deal of time 2 find this handy tool, hope this helps ya out...
Sent from my Epic4G isn't that enough? *disclaimer* I may not know what I'm talikin bout, plz take w/ a grain of salt or sheen style it "I was banging 7 gram rocks and finishing em... because I'm me" -if thats winning I'm losing....
If any of u have the Android sdk installed, this is a 10 second push using adb - fwiw
Sent from my SPH-D700 using Tapatalk
I tried all of the cut and pasting techniques. None of them worked. I came across this online:
Code:
adb push LiveWallpapersPicker.apk /sdcard/
adb shell
Code:
su
remount rw
cat /sdcard/LiveWallpapersPicker.apk > /system/app/LiveWallpapersPicker.apk
exit
exit
I went into the dos shell and sure enough it worked!
Thanks for all the suggestions!
http://forum.xda-developers.com/showpost.php?p=12014836&postcount=13
<smacksforehead>
Here are the .zips from the midNIGHT ROM extras folder... Flash one of these, should work.
But the adb method works just as well... Maybe even faster.
Moved to Q&A.

How to get an APK file form different ROM to work

I like to try similar apps side by side.
For example, I would like to try different camera apps in my phone.
How can I use an apk file of camera extracted from a different ROM and install in my current ROM without removing the stock app.
I tried to push an apk from another ROM to the /system/app folder with appropriate permissions. This did not work. I got an FC.
Is there a way I can accomplish this without much changes?
You have to push it to that folder, but also set the permissions. This is also depending on if it's not tied into the framework. I'm on my phone so I can't dig around right now.
Edit: after changing permissions to 644, reboot.
PonsAsinorem said:
You have to push it to that folder, but also set the permissions. This is also depending on if it's not tied into the framework. I'm on my phone so I can't dig around right now.
Edit: after changing permissions to 644, reboot.
Click to expand...
Click to collapse
thanks for your advice.
What I am trying to do is make an apk I can push or install which would act like an independent application so that I can still keep the stock application.
meazz1 said:
thanks for your advice.
What I am trying to do is make an apk I can push or install which would act like an independent application so that I can still keep the stock application.
Click to expand...
Click to collapse
As long as they're not named the same, so that you're new one won't overwrite the original. You can have multiple apps in the app drawer with the same name. Make a nandroid and give it a shot.
PonsAsinorem said:
As long as they're not named the same, so that you're new one won't overwrite the original. You can have multiple apps in the app drawer with the same name. Make a nandroid and give it a shot.
Click to expand...
Click to collapse
what name are you referring to? Is it the "camera.apk" or "HTCCamera.apk" name or something within the .apk file.
can you give me a hint?
meazz1 said:
what name are you referring to? Is it the "camera.apk" or "HTCCamera.apk" name or something within the .apk file.
can you give me a hint?
Click to expand...
Click to collapse
The .apk name that gets pushed to the system app folder. Example, I run CM7. There is an app called Camera.apk which I don't really like, so I push MiuiCamera.apk to that folder, set the permissions and reboot. Now in my app drawer, there are two Cameras with different icons, (I usually wind up removing the stock Camera.apk).
If the new camera I used was named Camera.apk as well, it would just overwrite the original camera, replacing it, which is something you said you didn't want.

[Q] VeNuM ROM Question - Removed Apps

Hey guys, I just installed VeNuM's new ROM version, but I can't install the removed apk's. Any ideas?
Thanks.
Push them to the /system/apps folder and reboot
I use root explorer to do this
sent from the near past
That didn't work. Maybe I'm not reading it right. Could you expand for a newbie?
Which apps are you trying to install?
sent from the near past
You need to set the permissions too... after copying the apk to system/apps long click it and go to permissions and then set too: read/owner on, Group on, others on. Then Write/owner on (turning on by clicking the corresponding box). All the other boxes will be empty. Hit OK. This will make sense when you do it... Reboot phone... You should be good to go...
VeNum ROM Question
Again, sorry for being such a Noob here, but I really like this ROM and desparately want to use it.
So, you said to extract the APKs to the "system/app" folder. I didn't see it a "system or a App" folder, or I'm not in the right place. I am viewing the files structure via Root Explorer on my phone.
Thanks for the patience and the help.
All the basic Epic Touch apks. Weather, clock, gmail, etc.
Permissions
Ok, I found the files, placed the apks where you said to, changed the permissions as instructed, but the apk still will not install.
I'm trying to install the Samsung Weather apk. Some will install, but most of the original system apks won't.
Any clue?

[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