Restore System Apps through ADB - LG Nitro HD

Can I do this with my lg nitro? I first deleted some system apps through nobloat. Since some settings options started to crash I decided to hard reset. Well that didn't do anything and I lost the backups as well. SO then I use root explorer to put the system apk in the system app folder. I do it but then I couldn't install any apps. Internal error 110. I realize my packageinstaller system app is off and I can't turn it on. I have no other apps on my phone anymore besides the ones that came with it and superuser and can't add any more. Help please!!!!!
I bought it off ebay so att store exchange is not an option and they have no inventory of this phone for warranty.

just curious, when you restored something with root explorer, did you fix permissions on restored files?

lol i am a noob. Fix permissions? Most likely no. Also I just copied the system apk and odex files from my sd card to the system/app folder using root explorer.

In that case it won't hurt try this first:
highlight all files that you copied (root explorer has multi selection feature), then long press on any of the highlighted files and select permissions, set "read" on all, and "write" only on owner, everything else uncheck.

after I hard reset I lost root explorer and all of my other apps from the market. I cant install them again.

Oh, I see.
So, did you try replace /system/app/PackageInstaller.apk ?
How do you know it's not running?
Another thing try if you haven't tried yet is to clear market's cache and data: Settings -> Applications -> Manage Applications -> All -> Market
And someone suggested pull out sdcard.
And then finally there is this tutorial:
http://lifehacker.com/5714300/how-to-fix-installation-unsuccessful-errors-in-the-android-market

didn't work. How can i replace thew packageinstaller.apk?

i cant even hard reset or factory restore anymore

Related

Deleting System Apps

Rooted using Unrevoked. Have Root Explorer installed and Titanium. I know the system apps are in the folder: System/Apps When using Root Explorer I don't have the options. To uninstall the apps bit I can delete them. However, after deleting them the programs are still there. Same thing happens when I try to do it with Titanium. Is there something I'm overlooking?
System Apps do not get installed/uninstalled. Deleting them is all you need to to. However, since it appears you are still running the stock ROM you need to make sure you delete the corresponding odex file too.
I only had the stock ROM for about a day before I rooted and installed a different ROM (which was deodexed). BUT, I recall reading that both files need to be deleted.
I suggest that instead of deleting the files place them in a backup folder just in case you might need them later on. As mentioned before you must move the APK and its associated ODEX file if it has one. Sprint applications tend to be updated so uninstall the updates then move the Sprint applications using the aforementioned method.
Sent from my HTC EVO 4G. EVOke (v.) - Summon into action or bring into existence, often as if by magic.
so i have to move the sprint apk files and odex files (if applicable) before I can delete them? I already tried deleting them w/o backing them up or changing their location but they keep coming back!
SantinoInc said:
so i have to move the sprint apk files and odex files (if applicable) before I can delete them? I already tried deleting them w/o backing them up or changing their location but they keep coming back!
Click to expand...
Click to collapse
Are you mounting the apps folder with "rw" privileges before deleting?
Yes, I am. I have no clue what I'm doing wrong. I swear to god these ****ing apps come right back after I reboot the phone. I delete them with Titanium and/or Root Explorer and after a little while they pop up again. I have no idea what is going on. I rooted with Unrevoked 3.21...maybe something didn't go right?
I also can't get BusyBox to install which is a major pain in da ass because so many apps need it

[Q] framework-res.apk reinstall

Somehow, the framework-res.apk; browser.apk; HTCDialer.apk; HTCclockwidget.apk were all moved to app backup in the sdcard in the storage optimizer file.
I have tried to reinstall, and it states it is a system application and asks if I still want to replace. I hit ok then install. It moves forward and the done, but it states that application not installed.
This has the WiFi access on it, and I am most concerned about not being able to use the WiFi.
What can I do, EVO 2.2.
You should be able to do it with adb shell.
thanks, I was going tl try, I am just new, as you can probably tell. I am trying to set up.
scabbitt said:
Somehow, the framework-res.apk; browser.apk; HTCDialer.apk; HTCclockwidget.apk were all moved to app backup in the sdcard in the storage optimizer file.
I have tried to reinstall, and it states it is a system application and asks if I still want to replace. I hit ok then install. It moves forward and the done, but it states that application not installed.
This has the WiFi access on it, and I am most concerned about not being able to use the WiFi.
What can I do, EVO 2.2.
Click to expand...
Click to collapse
I'm not sure I understand how that happened, and I'm slightly confused by it. Are you sure those files were actually moved, and not copied to the sd card? I didn't think the phone would even be able to run without the framework-res.apk.
Anyways, to answer your question, you can use Root Explorer (3 or 4 bucks in the market, and well worth it) or ES File Explorer (free) to make changes in the system folder. I use root explorer to add/remove system applications all the time. You just need to click a button within the root explorer app to mount the system read write. Once you do that, you can add, delete, edit, etc anything in the system folder. just navigate to /system/app. Good luck.
Edit: and of course, as the other poster suggested, you would also be able to do it with ADB, if you're familiar with it.
i think they were copied, yes, but they are not in use, and I need to get them back to the proper place for use. Thanks, I will try root explorer.

Saving or Storing .apk's

I'm about to start buying a few different apps, and want to save them on my PC so I can have them for either future use or if I am gonna be wiping my phone, returning it, getting another phone, etc... Anybody save them straight to their computer from amazon.com, or can I pull them off my phone thru Kies after dowloading from the market? Then I guess I'll also need to know how would I get the apk running once I put it on my SD Card? Sorry in advance if this is a dummy question- it's my first run at this and there are tons of different opinions and people pitching their softwares on google search and youtube that span back to 2009, so I'd like to see what someone who knows how and has a T989, Thanks!
Download astro file manager (free) from the market and u can back up your apk's. Save them to ur sd card and transfer it to ur pc.
Sent from my SGH-T989 using XDA
zero86ea said:
Download astro file manager (free) from the market and u can back up your apk's. Save them to ur sd card and transfer it to ur pc.
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
+1
Sent from my SGH-T989 using XDA
You can also use JRUMMY6 apps - Ultimate app manager pro or ROM Toolbox Pro. This will save the apk as well as the settings for that app.
CincoDeDrinko said:
I'm about to start buying a few different apps, and want to save them on my PC so I can have them for either future use or if I am gonna be wiping my phone, returning it, getting another phone, etc... Anybody save them straight to their computer from amazon.com, or can I pull them off my phone thru Kies after dowloading from the market? Then I guess I'll also need to know how would I get the apk running once I put it on my SD Card? Sorry in advance if this is a dummy question- it's my first run at this and there are tons of different opinions and people pitching their softwares on google search and youtube that span back to 2009, so I'd like to see what someone who knows how and has a T989, Thanks!
Click to expand...
Click to collapse
Here's a quick guide:
1) Download and install a file explorer application that can write to the system partition. You can use ROOT explorer or ES file explorer. I'm not sure if astro has system writing capabilities.
2) Go into the application and enable root access and the ability to write to system. For ES, you go into settings then scroll down and check "Up to Root" and "Root Explorer" and "Mount File System"
3) Navigate to the apk files that you want to save. For user apps, it's under /data/apps and for system apps (memo, contacts, etc.) it's under /system/apps. Now you probably default to /sdcard so you'll have to go up one more level to reach the root directory (it'll just be "/") to access system or data. Save those apks.
4) If you want to restore these apks to a future phone/ROM, it's the same idea, except you just have to copy paste the files to the directory that you found them in. But you have to watch out for odexed/deodexed apps because they're not compatible. So if you go into /system/apps or /data/apps and you see a .odex file after each respective .apk file, you won't be able to install those apps to a ROM that is deodexed. If you go into those directories and you only see .apk files, you won't be able to install those apps on a stock ROM (almost all custom ROMs are deodexed).
5) All you have to do is copy the files into the directories and reboot, you don't have to install them or anything. Some will say that you should change the permissions to (rw- r-- r--) but I've tried both ways anecdotally and I don't think it makes a difference whether you do or not.
Although I'm not sure why you want to go about it this way, if you have titanium backup it'll do all your backing up and restoring for you. The only thing that I use this method for is for the memo.apk which I use but isn't included on all ROMs. TB doesn't back this up because it's a system app. So this process is really only necessary for system apps.
yoft1 said:
Here's a quick guide:
1) Download and install a file explorer application that can write to the system partition. You can use ROOT explorer or ES file explorer. I'm not sure if astro has system writing capabilities.
2) Go into the application and enable root access and the ability to write to system. For ES, you go into settings then scroll down and check "Up to Root" and "Root Explorer" and "Mount File System"
3) Navigate to the apk files that you want to save. For user apps, it's under /data/apps and for system apps (memo, contacts, etc.) it's under /system/apps. Now you probably default to /sdcard so you'll have to go up one more level to reach the root directory (it'll just be "/") to access system or data. Save those apks.
4) If you want to restore these apks to a future phone/ROM, it's the same idea, except you just have to copy paste the files to the directory that you found them in. But you have to watch out for odexed/deodexed apps because they're not compatible. So if you go into /system/apps or /data/apps and you see a .odex file after each respective .apk file, you won't be able to install those apps to a ROM that is deodexed. If you go into those directories and you only see .apk files, you won't be able to install those apps on a stock ROM (almost all custom ROMs are deodexed).
5) All you have to do is copy the files into the directories and reboot, you don't have to install them or anything. Some will say that you should change the permissions to (rw- r-- r--) but I've tried both ways anecdotally and I don't think it makes a difference whether you do or not.
Although I'm not sure why you want to go about it this way, if you have titanium backup it'll do all your backing up and restoring for you. The only thing that I use this method for is for the memo.apk which I use but isn't included on all ROMs. TB doesn't back this up because it's a system app. So this process is really only necessary for system apps.
Click to expand...
Click to collapse
TI backup also just requires the pro license key to be stored in the same location as the backup directory. this way you can change roms and get Ti pro back without needing to re purchase.
Sent from my SGH-T989
try using root explorer
then goto the data/app directory copy your apps and move to whatever folder that you like. then if you want you could sign up for minus and upload all your apks (they have a 2gb upload limit so it works great). Or just connect hercules to computer and pull files from folder you copied to to your computer.
rom tool box pro backs up ALL your installed apks on your sd. manual install and market installed.

[Q] [Help]Can't restore apps after moving them back from sd card to system/app folder

I'm using a Xperia ARC
Recently I have unlocked the bootloader, and rooted the firmware (0.62) by recovery method, and removed some system apps by using root explorer (the method of moving xxx.apk to sd card).
However, the Play Store always force close when I click "accept" to download apps, so I tried to move back all the system apps from the sd card to system/app folder. But after moving them back, and had a reboot, those apps still did not appear in the app drawer, it seems that they can not be restore successfully. I open root explorer and go to system/app folder, and click on the apk files, an installation window pops up and asking for permission for installing, rather than replacing <---- this proves that those system app are not restored yet, even I moved them back to the system/app folder.
Sorry for my poor English and hope you guys could understand what I am saying. Still not getting into Play Store and thinking of flashing a Generic Global ROM if the problem still cannot be solved........
natural4862 said:
I'm using a Xperia ARC
Recently I have unlocked the bootloader, and rooted the firmware (0.62) by recovery method, and removed some system apps by using root explorer (the method of moving xxx.apk to sd card).
However, the Play Store always force close when I click "accept" to download apps, so I tried to move back all the system apps from the sd card to system/app folder. But after moving them back, and had a reboot, those apps still did not appear in the app drawer, it seems that they can not be restore successfully. I open root explorer and go to system/app folder, and click on the apk files, an installation window pops up and asking for permission for installing, rather than replacing <---- this proves that those system app are not restored yet, even I moved them back to the system/app folder.
Sorry for my poor English and hope you guys could understand what I am saying. Still not getting into Play Store and thinking of flashing a Generic Global ROM if the problem still cannot be solved........
Click to expand...
Click to collapse
First of all, check the permissions after transfering the files.
And,before moving the apps,you must make a backup of the apps using TitaniumBackup app.This app completely backs-up your files and can restore the apps just as perfect.
I suggest you to flash the generic rom and root again but this time,make backups using TitaniumBackup app and then remove the bloatware..
Many thanks! TB works great!

Most needed files & folders from 98.30.1

I started this for several reasons.
1) For those who have deleted some system/app(s) & want to manually restore to get ready for the KK ota.
2) /persist dilemma. It is only on our phone yet both recoveries allow you to format it but do not back it up!!!! http://forum.xda-developers.com/showpost.php?p=48941876&postcount=2061
3) /firmware Also not backed up. Both recoveries format it. But Rsd lite will restore it.
I put some very obscure folders here & they may never be needed! DO NOT GO & restore these just because I attached them! If it ain't broke don't fix it!
Get the full zip here http://batakang.com/ftp/?dir=devs/mhous33/XT907/98.30.1
It is the largest one there!
You can extract even a single system/app with Explorer free & paste it with es file to get OTA ready
But some /partitions are only on the phone. Some are created on boot
1 folder not ANYWHERE BUT ON YOUR PHONE is /persist.
Persist permissions are here
http://forum.xda-developers.com/showthread.php?t=2589790
Some wonder why Vzw does not want us rooting?
/Firmware is in the xml/fxz.
/System/app
/Vendor
/Firmware
/System/media.... stock boot animation/Dst animation.
Use Rom Manager fix perms for now. It has never failed me. Set them to all. Then run RM>fix permissions & reboot.
Permissions & ownership need to be set before use.
Rom Manager fix permissions is one good reason to have that app even if it did not WORK on our M, but it does.
Updated op.
So apps from "Data/App" can be deleted and still get the OTA, just don't delete apps from "System/App", is that correct?
VannMann said:
So apps from "Data/App" can be deleted and still get the OTA, just don't delete apps from "System/App", is that correct?
Click to expand...
Click to collapse
You got it.
You, Sir, are the greatest. Have been wondering about this. Finally got root, so I deleted the amazon and some verizon apps fron "Data/App". Thanks!!
VannMann said:
You, Sir, are the greatest. Have been wondering about this. Finally got root, so I deleted the amazon and some verizon apps fron "Data/App". Thanks!!
Click to expand...
Click to collapse
2 things
1)You don't want to "delete" data apps & no need to root to uninstall them. Settings, apps, downloaded, select.... 2)Also the ones you mention sound like system apps?
I deleted them from the Data/App, so they would not be in my app drawer. And all of my system apps are still there, just looked.
Didn't think about disabling them, I got root happy, been to long without it, lol.
aviwdoowks said:
I started this for several reasons.
1) For those who have deleted some system/app(s) & want to manually restore to get ready for the KK ota.
2) /persist dilemma. It is only on our phone yet both recoveries allow you to format it but do not back it up!!!! http://forum.xda-developers.com/showpost.php?p=48941876&postcount=2061
3) /firmware Also not backed up. Both recoveries format it. But Rsd lite will restore it.
I put some very obscure folders here & they may never be needed! DO NOT GO & restore these just because I attached them! If it ain't broke don't fix it!
Get the full zip here http://batakang.com/ftp/?dir=devs/mhous33/XT907/98.30.1
It is the largest one there!
You can extract even a single system/app with Explorer free & paste it with es file to get OTA ready
But some /partitions are only on the phone. Some are created on boot
1 folder not ANYWHERE BUT ON YOUR PHONE is /persist.
Persist permissions are here
http://forum.xda-developers.com/showthread.php?t=2589790
Some wonder why Vzw does not want us rooting?
/Firmware is in the xml/fxz.
/System/app
/Vendor
/Firmware
/System/media.... stock boot animation/Dst animation.
Use Rom Manager fix perms for now. It has never failed me. Set them to all. Then run RM>fix permissions & reboot.
Permissions & ownership need to be set before use.
Rom Manager fix permissions is one good reason to have that app even if it did not WORK on our M, but it does.
Click to expand...
Click to collapse
So is there a package with all the system app .apks somewhere in this mess of links lol, sorry for I'm guessing a very obvious question
Delerios said:
So is there a package with all the system app .apks somewhere in this mess of links lol, sorry for I'm guessing a very obvious question
Click to expand...
Click to collapse
Dl #9 systemAPP!!!

Categories

Resources