How to delete app that was installed via recovery as a zip file? - Nexus 7 Q&A, Help & Troubleshooting

I installed a handwriting app from another thread via twrp recovery by choosing install from zip file , so the nexus sees it as a stock app, only giving me the option to disable instead of delete. How do I uninstall it, now that it's a system app? I've searched all over the web and can't figure it out. I tried using titanium backup to do it, but it just boots me into twrp and I see no setting in there that let's you delete an app that you flashed via zip... Thanks!
Sent from my Nexus 7 using xda app-developers app

Restore the backup image you made before installing the app
Sent from my Nexus 7 using Tapatalk 2

If you know the name of the app and are rooted, you can go to /system/app and delete or rename the app. Disabling the app would work also. Why is that not ok?

I don't want to have things taking up unnecessary space. I'll try un installing by deleting that folder, since I didn't make a backup, I never imagined I would have to go so far as to restore just to uninstall an app, my mistake. I just can't believe that's the only way, I've restored before from backups and it's quite a lengthy process sometimes. At least when I used titanium backup.
Sent from my Nexus 7 using xda app-developers app

Solange82200 said:
I installed a handwriting app from another thread via twrp recovery by choosing install from zip file , so the nexus sees it as a stock app, only giving me the option to disable instead of delete. How do I uninstall it, now that it's a system app? I've searched all over the web and can't figure it out. I tried using titanium backup to do it, but it just boots me into twrp and I see no setting in there that let's you delete an app that you flashed via zip... Thanks!
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
If you are Rooted you can use Ron Toolbox from the store. It allows you to uninstall any app. Even System apps. I have been using it for some time and love it. It's great for getting rid of crapware installed by the OEM and Carriers that you don't want on your device. But it does require Root.

Thank you all, I am rooted. Deleting the apk in system /apps folder seemed to work, at least I no longer see it when I look in settings and downloaded apps. I will try rom toolbox though, thanks again for the quick responses!
Sent from my Nexus 7 using xda app-developers app

If it is an HTC phone with S-ON (i.e. no S-OFF), then then any change to the /system partition will be reverted on next reboot, so, yes, you can uninstall a system app, for example using TitaniumBackup, but it will re-appear after reboot.
If you don't have a nandroid backup, then you could open the original ZIP file that you flashed, look what it does, and create an UNDO.zip and then flash it. If it overwrites some existing files, then you can pull them from the original ROM.
For example, if all you need to do is remove some files:
1. Take the zip attached in this thread http://forum.xda-developers.com/showthread.php?t=2058944.
2. Unpack the zip.
3. Edit updater_script in a text editor, and modify the paths to the files you want removed.
4. Repack the zip.
5. Flash via recovery.
The operation can be done completely on the device if you have a proper file manager with archive support. I used TotalCommander which can open ZIPs and edit files in them, and when you press the back button it will ask you to repack the modified file back into the ZIP.
More info on creating your own flashable ZIP files:
http://forum.xda-developers.com/showthread.php?t=2290009

Related

Stock APKs

I was wondering if someone with all the stock apks could post them on a link for download. I'm unable to complete the Samsung update and I believe it's because I have some of the stock apks removed.
Sent from my SCH-I400 using XDA App
Here is a file with all the bloatware, but you need to use TiB in order to restore it...
http://www.megaupload.com/?d=FE6H6MJI
dfgged said:
Here is a file with all the bloatware, but you need to use TiB in order to restore it...
http://www.megaupload.com/?d=FE6H6MJI
Click to expand...
Click to collapse
Do I need the premium version? I can't figure out how to restore apps with .gz files.
No you don't, just copy ALL the files into the Titanium Backup folder, then launch TiB. If you scroll to the bottom, you should see all the apps with lines through them. click them,and then hit restore, easy as pie.
dfgged said:
No you don't, just copy ALL the files into the Titanium Backup folder, then launch TiB. If you scroll to the bottom, you should see all the apps with lines through them. click them,and then hit restore, easy as pie.
Click to expand...
Click to collapse
I feel like an idiot because this should be easy but I'm having issues. When I click the slashed out name of the app I want to install I don't have a restore option. I've tried running batch commands to do the install but that also doesn't work. I have BusyBox installed. Ideas?
Have you tried clicking the button that says "Problems?" yet?
dfgged said:
Have you tried clicking the button that says "Problems?" yet?
Click to expand...
Click to collapse
Yeah thats how you install busybox via TiB
Sent from my SCH-I400 using XDA App
ummm....
idk what else to tell you, any body else got any ideas?
Sdx stock app remover
Sent from my SCH-I400 using XDA App
bubby323 said:
Sdx stock app remover
Sent from my SCH-I400 using XDA App
Click to expand...
Click to collapse
So the directory SDX uses for restores is '/sdcard/sdx/backup/app/' but this directory doesn't exist. I've tried creating this directory and placing my .gz files in there with no luck. Any other ideas?
Google it, install the app, run it, navigate to /sdcard/sdx/backup and put all the bloat there, unmount your sd card, open the app again and find the restore option, check them all and hit restore, accept the superuser permissions, and your done. Then you can update with the update.zip I posted in the android development section for DL17.
Sent from my SCH-I400 using XDA App
bubby323 said:
Google it, install the app, run it, navigate to /sdcard/sdx/backup and put all the bloat there, unmount your sd card, open the app again and find the restore option, check them all and hit restore, accept the superuser permissions, and your done. Then you can update with the update.zip I posted in the android development section for DL17.
Sent from my SCH-I400 using XDA App
Click to expand...
Click to collapse
I've completed all these steps. However, when SDX installs it doesn't create the backup directory. I've tried manually creating this directory, placing the bloat I want to restore in the directory, and searching for the bloat via SDX but nothing shows up.
I'm having the same problem with Titanium Backup. TiB shows the bloatware I want to reinstall but doesn't actually have an option to restore.
Its been forever since ive used it its probally a diffrent folder name...just delete the folder you made go into the app and vackup an app then the directory will br on the sdk card delete the apk in there and place the bloat there and restore.
Sent from my SCH-I400 using XDA App
Well I realized why I couldn't see the bloat I wanted to restore in SDX. It's because SDX backups files as an .apk. The bloat I have is .gz backed up from TiB. I don't have original .apk's for the bloat I deleted only the .gz's from TiB. I still can't understand why TiB won't allow me to restore the apps with .gz's. It shows them on the list but there is no restore option.

[Q] Phone.apk lost, trying to reinstall [SOLVED!!]

Okay, this is the 2nd time this has happened.....my phone.apk has disappeared from my phone, EC09.
Last time I just blew everything up and started over. This time I refuse to do that. I'm using Dialer One, so at the moment, things are not urgent. But I do want my touchwiz dialer back.
I've backed up the app with Titanium Backup on a previous nandroid backup, and it will not restore the phone app on my current ROM. I've also tried using ADB and the install command, and I get a "install parse failed no certificates" error message.
Anyone have a way to solve this problem for me?
UPDATE: I found a valid backup from TiBu that worked for me and another user. Download this zip, unzip the files into your Titanium Backup folder on your SD card. Scroll through the apps/backups in TiBu until you find [Voicemail] Dialer 2.2.2, restore app+data. Should be good to go!
Download Dialer Tab Titanium Backup files
This seems to be a common thing happening on this phone. This also happened to me when i was running complete stock no root a while back and I had to do a hard reset to get it back. I don't know what the apks issue is but its happening to a lot of people and so far the only way to get it back that I know of is to do a hard reset.
I also lost dialer on EC09 awhile back, gave up trying to fix. Just have also just been using Dialer 1. Odd thing with it though is I had to dial 911 and it wouldn't let me, every time inputted numbers it would bring up my contacts and wouldn't let me dial it.
Sent from my SCH-I400 using Tapatalk 2
Well I guess it's mildly comforting to know I'm not alone with this problem. I know there must be a way to get the dialer back without a hard reset. I just got tired/overwhelmed of researching exactly how Android handles apk's and how ADB works.
I have the apk. I just haven't been able to get it on my phone properly.
Well, the problem has been solved.
Apparently the backup I made of the phone app through Titanium Backup was corrupt. I had an entire backup of my SD card on my hard drive and I tried restoring the phone app from that. Titanium Backup restored it fine.
I couldn't understand why TiBu would be unable to restore an app IT backed up! Apparently it wasn't unable to!
If anyone wants the three files created by the backup, I can zip them up and post them.
spearoid said:
Well, the problem has been solved.
Apparently the backup I made of the phone app through Titanium Backup was corrupt. I had an entire backup of my SD card on my hard drive and I tried restoring the phone app from that. Titanium Backup restored it fine.
I couldn't understand why TiBu would be unable to restore an app IT backed up! Apparently it wasn't unable to!
If anyone wants the three files created by the backup, I can zip them up and post them.
Click to expand...
Click to collapse
If not to much trouble I would like a copy of them, as my Tibu won't restore either and tried another method offered here somewhere without success and just gave up.
Sent from my SCH-I400 using Tapatalk 2
KJW979 said:
If not to much trouble I would like a copy of them, as my Tibu won't restore either and tried another method offered here somewhere without success and just gave up.
Sent from my SCH-I400 using Tapatalk 2
Click to expand...
Click to collapse
I'm pretty sure I should post this link elsewhere, but here you go!
Phone 2.2.2 backup up with TiBu
Nevermind I see it's resolved.
Okay since this is zip I believe it just gets installed through recovery, am I right. So when I try it just hangs at installing, had to pull battery to restart phone.
Sent from my SCH-I400 using Tapatalk 2
I'm sorry for not explaining things with the link. That is the three files that Titanium Backup creates when backing up an app. I zipped them into one file. Unzip them into your Titanium Backup folder on your SD card, and restore the phone app through Titanium Backup.
Well I give up, just going to stick with Dialer 1. Took zip, extracted and moved to Tibu backup folder, went into Tibu, didn't show up in apps list went to batch and reinstalled from batch mode and still nada. Tibu shows as installed but not there. Under application settings it shows 0.00 for file size, that can't be right, so guessing did not install.
Sent from my SCH-I400 using Tapatalk 2
fix!
No need for any flashing!!!
Just go into a file explorer (like root explorer) and go into system/app/ and look for the app the has disappeared and hold it down, a menu will pop up and go down to permissions.
there will be 3 columns. The first one should have all 3 boxes checked, the second column should only have the top box checked, and the last column should have all boxes UNCHECKED.
After you do that press ok and there should be a pop up saying that permissions were changed!
And that's it! Your app should be back! If not, try installing it after u change the permissions by pressing down on the app until u get a pop up and press open with, then pick apk handler, then just install, and it should work!
I'm new to the forums, so I hope this is helpful!
killjoy1179 said:
No need for any flashing!!!
Click to expand...
Click to collapse
No one has suggested or recommended flashing in this thread, to my knowledge.
Killyjoy's suggestion may very well work, but the file you downloaded from me might not have been the right one.
I have two trios of files that came from Titanium Backup when I was trying to restore the phone app. One trio has the word "phone" in it...and that's what you downloaded from me the first time, the other trio has the word "dialer" in it, and that is here
My initial instructions should still apply. Unzip these three files into your Titanium Backup folder of your SD card. Look in TiBu for "[Voicemail] Dialer"
You should see that there is a backup from 4/06/12. If the app shows as installed on your phone, I'd uninstall it (MAKE SURE you see that TiBu recognizes a backup exists first) and then restore the app+data from the backup.
That's how I got back up and running......if you want to give the TiBu method one more go.
spearoid said:
No one has suggested or recommended flashing in this thread, to my knowledge.
Click to expand...
Click to collapse
Sorry, I just browsed thru the comments real quick and thought I saw the word flashing in there lol. But this way definitely works, I lost my phone apk. 2 times after installing tb101 mod and I got it back both times.
I figured I'd post some screencaps so you guys could maybe understand what I was saying a little bit better.
Hope they help!
killjoy1179 said:
No need for any flashing!!!
Just go into a file explorer (like root explorer) and go into system/app/ and look for the app the has disappeared and hold it down, a menu will pop up and go down to permissions.
there will be 3 columns. The first one should have all 3 boxes checked, the second column should only have the top box checked, and the last column should have all boxes UNCHECKED.
After you do that press ok and there should be a pop up saying that permissions were changed!
And that's it! Your app should be back! If not, try installing it after u change the permissions by pressing down on the app until u get a pop up and press open with, then pick apk handler, then just install, and it should work!
I'm new to the forums, so I hope this is helpful!
Click to expand...
Click to collapse
Checked permissions they were right, used apk installer but get message saying not installed.
Sent from my SCH-I400 using Tapatalk 2
spearoid said:
No one has suggested or recommended flashing in this thread, to my knowledge.
Killyjoy's suggestion may very well work, but the file you downloaded from me might not have been the right one.
I have two trios of files that came from Titanium Backup when I was trying to restore the phone app. One trio has the word "phone" in it...and that's what you downloaded from me the first time, the other trio has the word "dialer" in it, and that is here
My initial instructions should still apply. Unzip these three files into your Titanium Backup folder of your SD card. Look in TiBu for "[Voicemail] Dialer"
You should see that there is a backup from 4/06/12. If the app shows as installed on your phone, I'd uninstall it (MAKE SURE you see that TiBu recognizes a backup exists first) and then restore the app+data from the backup.
That's how I got back up and running......if you want to give the TiBu method one more go.
Click to expand...
Click to collapse
This one worked, stock phone finally back, thanks for zips and help.
Sent from my SCH-I400 using Tapatalk 2
Excellent! I'll update the OP
Weird...I've tried the whole process using root explorer and its not working for me either...I know it can be done, so I'm going to keep working on it.
killjoy1179 said:
Weird...I've tried the whole process using root explorer and its not working for me either...I know it can be done, so I'm going to keep working on it.
Click to expand...
Click to collapse
If using Tibu to reinstall back up, I had to verify back up was there then uninstall in TiBu and then reinstall.
Sent from my SCH-I400 using Tapatalk 2
Ok so I think I've got it figured out.
You delete the app that's missing out of the system
/app folder.
Copy and paste the new app into the system/app folder.
And then check the permissions and then reboot and it should be there.
Note: the app that your replacing needs to be from the Same ROM. So just download the rom your using and extract the app and go from there.
So next time your app goes missing, try this method and let me know if it works.

Install the stock 4.2.2 Launcher into a ROM?

Hi,
I've been wondering if I could somehow push the stock 4.2.2 Launcher that comes with the stock jellybean update into lets say CM10.1? I always preferred the stock Launcher over all those different ones, is it possible though?
Take the app from the stock ROM located in system/app. I believe its called "launcher2".
Then just put it into the system/app directory of the other ROM. Also change the permissions to rw-r-r, and delete the old launcher that is there. (In the case of CM, I think the original launcher is trebuchet so delete that apk)
Sent from my HTC Desire using xda app-developers app
chromium96 said:
Take the app from the stock ROM located in system/app. I believe its called "launcher2".
Then just put it into the system/app directory of the other ROM. Also change the permissions to rw-r-r, and delete the old launcher that is there. (In the case of CM, I think the original launcher is trebuchet so delete that apk)
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
I tried that before and I couldn't get it to work, I also tried to install the "Launcher2.apk" and it refused to install, I managed to install it by doing the following steps:
1-Flash the stock ROM:
http://forum.xda-developers.com/showthread.php?t=2147281
2- Download Titanium backup and back-up the "Launcher2.apk" file.
3- Do a full reset to phone/cache/dalvik
4- Flash the latest RC1 CM10.1 or whatever ROM, then reboot.
5- Install TB again and then restore (App+Data) for the "Launcher2" file.
6-Reboot
7- When booted, choose the "Launcher2" as the default Launcher.
8-Finally, launch TB and deleted "Trebuchet", Reboot.
The procedure might take long and I'm not sure if there is an easy way to do it, but I got it to work that way.
Thanks!

[Q] Manually installing system app, reboot, no .odex

I recently rooted my stock AT&T Samsung Galaxy S4 (MF3) and have been implementing a few improvements that I've found on this thread but have run into a strange error twice already when trying to replace an existing system app with a modded version.
With other phones in the past I simply paste an app into system/app and set RW-R-R permissions, then reboot the phone. During the next boot it usually says "android is upgrading 1 of 1" and creates a matching .odex file in the /system/app folder and everything works perfect.
So far I've tried to replace the SecPhone.apk with a version that allows call recording, and the TetheringProvision.apk with one that will let me tether on my AT&T phone. In both instances I reboot, but it never says "upgrading", nor is an .odex file created, and then the app fails to work. With the TetheringProvision.apk I also kept getting a "failed to change permissions" error in ES File Explorer, so I retried with Root Explorer, and SMangager but none of them could change the permission on the apk once it was in the system/app folder (yes /system was mounted R/W). I'm not sure if this is related to the above problem or not.
Has anyone else had a similar issue? I have frozen most of the Samsung bloatware apps and while I've been careful, I suppose I could have accidentally frozen something important, but everything other than these replacement system apps seems to be working perfectly. I thought android automatically checked for new apps on every boot, but apparently not on my phone.
Is there any way to force an app check on boot? Thanks for the help.
So I guess no one else has had a similar issue...
Sent from my GT-I9505 using xda app-developers app
You can not mod a rom that is odexed...period, unless it is made for odex.
TheAxman said:
You can not mod a rom that is odexed...period, unless it is made for odex.
Click to expand...
Click to collapse
Sorry, what do you mean by "period, unless it is made for odex"? Can you or can't you?
Sent from my GT-P7510 using xda premium
stinky73 said:
Sorry, what do you mean by "period, unless it is made for odex"? Can you or can't you?
Sent from my GT-P7510 using xda premium
Click to expand...
Click to collapse
For an Odexed system, an Odex file is required to be installed along with the original file. So if a mod is created for an "Odexed" system, it will have a .odex file accompanying it that must be installed also. Installing a deodexed file into an odexed system doesn't work unless the deodexed file is split down into its 2 parts again (original file, plus .odex file)..
This was very helpful. Is there a guide you could recommend to me on how to make an odex file from the modded apk that I have so that I can get these programs working on my S4?
Sent from my GT-I9505 using xda app-developers app
stephend9 said:
This was very helpful. Is there a guide you could recommend to me on how to make an odex file from the modded apk that I have so that I can get these programs working on my S4?
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
Following article explains the odexing procedure "http://forum.xda-developers.com/showthread.php?t=1208320"

Unable to uninstall: com.sonyericsson.album_5.4.A.0.22.apk

I recently installed com.sonyericsson.album_5.4.A.0.22.apk, but like a noob I didn't read the description before hand and the apk file is actually only for Xperia Z2 System/Media/App ] Apks and Odex and Jar files for Z1
The apk installed as normal, however I can't find the application in my app drawer and using root explorer the album apk is not showing in system/app system/private app or any other location.
The problem is that I am not able to install the correct version as the wrong apk has to be removed somehow first, when I try to restore the version that used to work from titanium backup - it just hangs at restoring and never restores successfully. Trying to restore the apk directly from a file manager results in a "not installed" message - I think this is because the wrong apk is still hidden somewhere in my device.
Any suggestions guys? any suggestions will be highly appreciated :good:
Heres the thread from which I found the incorrect apk from:
http://forum.xda-developers.com/showthread.php?t=2665174
I've also attached the apk file here.
krohme said:
I recently installed com.sonyericsson.album_5.4.A.0.22.apk, but like a noob I didn't read the description before hand and the apk file is actually only for Xperia Z2 System/Media/App ] Apks and Odex and Jar files for Z1
The apk installed as normal, however I can't find the application in my app drawer and using root explorer the album apk is not showing in system/app system/private app or any other location.
The problem is that I am not able to install the correct version as the wrong apk has to be removed somehow first, when I try to restore the version that used to work from titanium backup - it just hangs at restoring and never restores successfully.
Any suggestions guys? any suggestions will be highly appreciated :good:
Heres the thread from which I found the incorrect apk from:
http://forum.xda-developers.com/showthread.php?t=2665174
I've also attached the apk file here.
Click to expand...
Click to collapse
If you installed it like a normal app (just opened the apk), then look into /data/app.
Someguyfromhell said:
If you installed it like a normal app (just opened the apk), then look into /data/app.
Click to expand...
Click to collapse
Thanks for the suggestion, but its not there either - strange.
Then how do you know, that it isn't gone yet?
The system wont allow me to install it again or any other com.sonyericsson.album.apk file, I'll keep checking system directories one by one until I find it.
Flash philz recovery, then download aroma file explorer from here http://forum.xda-developers.com/showthread.php?t=2236977 then, boot into recovery, begin to flash aroma file manager. Once the manager loads, navigate to the file you want to delete and do it that way
Sent from my SM-N9005 using XDA Premium 4 mobile app
speedyjay said:
Flash philz recovery, then download aroma file explorer from here http://forum.xda-developers.com/showthread.php?t=2236977 then, boot into recovery, begin to flash aroma file manager. Once the manager loads, navigate to the file you want to delete and do it that way
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I'll give this a try thanks bro :highfive:

Categories

Resources