Restoring a single file via recovery - Sprint LG G3

Hi all. I was fooling around with the build.prop file to try and enable split window for all apps. Turns out, I can't get past the LG splash screen. I can get into recovery, but is there any way to take the backup I made of that file and replace it via recovery, or am I going to have to do a full restore? If I have to do a full restore, is there anyway to backup my data first?
Is there any way to create an update file that will just replace the one file with my backup?

CrzyBoy2599 said:
Hi all. I was fooling around with the build.prop file to try and enable split window for all apps. Turns out, I can't get past the LG splash screen. I can get into recovery, but is there any way to take the backup I made of that file and replace it via recovery, or am I going to have to do a full restore? If I have to do a full restore, is there anyway to backup my data first?
Is there any way to create an update file that will just replace the one file with my backup?
Click to expand...
Click to collapse
Try booting into recovery and using adb to push over the fixed build.prop
Sent from my LGLS990 using XDA Free mobile app

Related

[Q] URGENT HELP NEEDED. Galaxy s2 not booting after changing framework-res.apk

I can see there is already a similar thread in this section but there is no solution in it!
Anyways im using a Rooted Galaxy s2. with 2.3.4 villainrom flashed on it.
I changed the framework-res.apk file using root explorer after renaming the original file there......i restarted my phone and now it is hanging on the first screen with the yellow triangle!
have i bricked the phone?!?
I cant access bootloader or the recovery. whenever i pres power,volume up and home simultaneously, the same thing keeps occuring. freezing on the first screen!
help what do i do!!!!!!
EDIT::::::: stupid me. i can access the recovery menu now. i'd like to access the system folder and try to solve the problem but i dont know how to. i can mount USB STORAGe. but when i press MOUNT \ SYSTEM nothing happens. how can i access the system folder ?
sosolid4u09 said:
I can see there is already a similar thread in this section but there is no solution in it!
Anyways im using a Rooted Galaxy s2. with 2.3.4 villainrom flashed on it.
I changed the framework-res.apk file using root explorer after renaming the original file there......i restarted my phone and now it is hanging on the first screen with the yellow triangle!
have i bricked the phone?!?
I cant access bootloader or the recovery. whenever i pres power,volume up and home simultaneously, the same thing keeps occuring. freezing on the first screen!
help what do i do!!!!!!
EDIT::::::: stupid me. i can access the recovery menu now. i'd like to access the system folder and try to solve the problem but i dont know how to. i can mount USB STORAGe. but when i press MOUNT \ SYSTEM nothing happens. how can i access the system folder ?
Click to expand...
Click to collapse
Just restore "system" from your nandroid backup.
You did a nandroid backup, right?
The quickest and best thing to do would be to do a factory reset if you can and then flash another rom with odin, or just flash another rom.
Can I ask why you wanted to remove or move that file?
free-sidux said:
Just restore "system" from your nandroid backup.
You did a nandroid backup, right?
Click to expand...
Click to collapse
u basically screwed ur rom,i would siggest flashing other rom or the same rom via odin
free-sidux said:
Just restore "system" from your nandroid backup.
You did a nandroid backup, right?
Click to expand...
Click to collapse
noo =(
i have a titanium backup on my phone. as well as a cwm backup.
i dont understand the whole mount \ system feature.
I mount the \ system, but nothing happens. i assumed that allowed me to view the system folder on my computer?? Since when i mount USB storage i can see my USB storage!
drreality said:
u basically screwed ur rom,i would siggest flashing other rom or the same rom via odin
Click to expand...
Click to collapse
the rom zip file is still on my sd card....could i just flash the rom back on the same way i did it the first time ? (through CWM install zip from sd card)
hehe
nandroid backup = cwm backup
restore your backup and try screwing up with your ROM again : )
ended up re-flashing the same rom.
phone started up perfect with all the settings intact.
thanks for help guys

[Q] twrp nand backup

Noob ? I just downloaded twrp when I go to recovery what should I back up there's so many options I really don't know which one to pick. Should i pick all of them and compress or some and compress .please be specific.
LOL... it depends on what youre trying to do?
Mostly, youre going to use recovery to flash zip files... kernals, roms, tweaks etc mostly come in the form of zips, so you'll see one option to install a zip file....
Another thing to do, is wipe your phone before a flash, again done with recovery...You'll go to the WIPE menu, and wipe cache, dalvik, (do it a few times to be sure) and do a data wipe before flashing ROMs, this will ensure a flawless install
Lastly you use nandroid to "backup" the current state of your phone, you do this BEFORE flashing a rom... its like a failsafe, if something F's up during your flash, you can restore this "nandroid" backup to restore you phone to its exact state prior to your flash...
So, nandroid back ups, restoring, flashing zips, and wiping are your basic uses of recovery
getmoneygreen said:
Noob ? I just downloaded twrp when I go to recovery what should I back up there's so many options I really don't know which one to pick. Should i pick all of them and compress or some and compress .please be specific.
Click to expand...
Click to collapse
Stick with the ones that are already "x'd" off. The only option that I'd suggest adding is Wimax. That will back up your wimax partition, which contains your RSA keys, which are essential to 4g working (lose your RSA keys, lose your 4g forever, so it's good to keep them backed up). Compressing the backup is optional. It will save a considerable amount of space if you choose to compress them, however the backups will take quite a bit longer to complete. I made two backups that were not compressed, and saved them to my computer, because they were over 1GB each, which is absurd. I now compress all of my backups, and all seems well.
Thank you soo much you guys helped me out a lot
If you don't mind me asking, what were the original TWRP recovery options that were selected. When I did my first Nand backup after S-off and rooting I selected all the options to be safe. Then when I went to go make another back up everything was still selected and I know I do not need all those options. Thanks.
PdawG43 said:
If you don't mind me asking, what were the original TWRP recovery options that were selected. When I did my first Nand backup after S-off and rooting I selected all the options to be safe. Then when I went to go make another back up everything was still selected and I know I do not need all those options. Thanks.
Click to expand...
Click to collapse
To answer your question If I'm correct from top to bottom the first two and also include the Wimax and the compress files .so that's four X's.that's what I have
I did a Nand backup having the first 3 and then Wimax and then when I tried to flash to that backup my phone went black and shut off (thought it had bricked on me) was able to get it to reboot by doing volume down + power button. Am I missing something? Or am I just being dumb when it comes to flashing from a Nand backup?
Are you still having problems with the nand back ups pdawg
So we should wipe data to factory settings before doing the back?
Also, where does titanium backup come into play?
Sent from my PG86100 using XDA Premium App
I haven't had time to try it again yet. Though later tonight I will try again when I flash viper rom 1.3
I checked everything under the sun in nandroid menu, so when I go to nandroid options then restore i choose the one I want to restore, it flashes then when I reboot it just sits on the HTC EVO screnn forever! almost 20 min so far. is anybody else having this issue? am I doing something wrong? I did pull the battery once and rebooted but still nothing. I backed up a couple of nice set ups I would like to have back. any ideas would be great
jajuan said:
So we should wipe data to factory settings before doing the back?
Also, where does titanium backup come into play?
Sent from my PG86100 using XDA Premium App
Click to expand...
Click to collapse
To answer your question about Titanium. This app will back up all your apps--apps only, not your entire system.
This is useful when you flash a new rom because that new rom will not include all the apps you had (obviously). Instead of fishing for each one in the market, simply re-download Titanium and use it to restore your apps (and data if you like). I really don't use Tatanium as much as I used to. This is because I don't download a crapload of apps and when I install a new rom it doesn't take me very long to re-download the ones I like from the market.
BUT, if you have an app that you can't get through the market, then Titanium is vital to restoring it.
Hope this helps.

System and user apps accidentally frozen

READ AT THE END OF THIS POST FOR THE SOLUTION
I accidentally used Titanium Backup's widget to frost all system and user apps, leaving mi phone in a infinite boot animation loop. I dont have aNandroid Backup and I would really love to solve this issue without flashing.
I found at Titanium Backup's troubleshooting webpage that I could use this command with adb to solve my issue:
Code:
Type the following command (replace with /dbdata/system/packages.xml if you have a Samsung phone):
busybox sed -n 's/<package name="\([^"]\+\)".*enabled="false".*/\1/p' /data/system/packages.xml | while read PKG; do pm enable "$PKG"; done
but it just says: No such file or directory (yes, I changed /data to /dbdata as stated in the webpage)
Any idea on how to solve this issue?
Thank you!
**EDIT:
This is the way I managed to get my phone working again without having to flash or wipe:
1. Boot in recovery mode and used adb pull command to extract "packages.xml" and "packages-more-backup.xml" from /data/system/
2. Open both files with Wordpad and replaced all protection="2" or "3" lines to protection="1".
3. Also, and very important, replaced all enabled="false" lines to enabled="true"
4. Boot in recovery again and used adb to delete old "packages.xml" and "packages-more-backup.xml" files and push the new ones.
5. Reboot and Voila!
6. Boot once again in recovery mode and fix permissions to avoid any problem.
Hope that this could be usefull to someone else having this horrible problem.
Thank you all!
Checked for that file on my phone, it doesn't exist in /dbdata/system/, but it does in /data/system/
It's probably fixable from the command line with Linux but that is over my head, one option would be to Odin or heimdel back to stock, and start from scratch. You might need a jig to get into dlmode.
Sent from my SAMSUNG-SGH-I777 using xda premium
nitox.n2o said:
Checked for that file on my phone, it doesn't exist in /dbdata/system/, but it does in /data/system/
Click to expand...
Click to collapse
I tried with /data too but same result.
shadow65781 said:
It's probably fixable from the command line with Linux but that is over my head, one option would be to Odin or heimdel back to stock, and start from scratch. You might need a jig to get into dlmode.
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
I know I could do that but I would really like to restore my system as it was
Help please
I wonder what would happen if you removed the app (its apk) via adb from /data/app. Would it retain the freeze settings? Something to consider trying.
This happened to me. I reflashed the ROM without wiping and all was back to normal
Sent from my FrankenTAB using Tapatalk
Simba501 said:
I wonder what would happen if you removed the app (its apk) via adb from /data/app. Would it retain the freeze settings? Something to consider trying.
Click to expand...
Click to collapse
Pretty sure that's not gonna work because the frozen apps settings are at packages.xml file, but I can't access it I don't know why
jhermit said:
This happened to me. I reflashed the ROM without wiping and all was back to normal
Sent from my FrankenTAB using Tapatalk
Click to expand...
Click to collapse
I tried doing that right now but it didn't worked
I got a little too punchy with titanium on my 3 year old original Galaxy tab 7 and froze a samsung system app. Got irreversibly stuck is soft brickland - Tried various methods before giving up and hitting the wipe and reset to factory restore in the system recovery mode. Everything was backed up except recent photos, so it was more annoying than the end of the world.
Odd thing was when it reset to factory, it appeared to do just that, yet when I plugged it into PC and mounted it - the memory was full and all my files and app data files were there - untouched. The apps themselves have gone except one - Superuser is still there, Does Superuser somehow override being reset? and act as a guardian of your data in the event of reset?
Odd. I was expecting to run some file recovery software to a salvage what i could, but viola - it was all there.
shokuchi said:
I got a little too punchy with titanium on my 3 year old original Galaxy tab 7 and froze a samsung system app. Got irreversibly stuck is soft brickland - Tried various methods before giving up and hitting the wipe and reset to factory restore in the system recovery mode. Everything was backed up except recent photos, so it was more annoying than the end of the world.
Odd thing was when it reset to factory, it appeared to do just that, yet when I plugged it into PC and mounted it - the memory was full and all my files and app data files were there - untouched. The apps themselves have gone except one - Superuser is still there, Does Superuser somehow override being reset? and act as a guardian of your data in the event of reset?
Odd. I was expecting to run some file recovery software to a salvage what i could, but viola - it was all there.
Click to expand...
Click to collapse
Wrong forum dude
Sent from my Zanpakuto using Getsuga Tensho!
<deleted>
ZIP for unfreezing apps
For those, who accidentally frozen important system app: here quick solution without factory reset, reflashing and ADB
It automatically edits files as described in first post.
You should have unlocked bootloader. If no, ZIP useless because unlocking wipes all data.
Download both ZIP's and just flash them via custom recovery (TWRP / CWM)
If first throws error try second and vice versa. 2nd with mark "New" contains newer updater-binary that must be compatible with recent TWRP.
Then all apps will be unfrozen, so phone will boot.
Fix compatible with all Android versions.
Note: also you can somehow (ADB or filemanager in TWRP) delete file /data/system/0/package-restrictions.xml
More correct to edit that file which ZIP actually do, but deleting not harmful too.
tags: unfroze apps, auto-unfroze, defrost apps, unfreeze apps, 5596
Bonoboo said:
For those, who accidentally frozen system app there is quicker solution without factory reset and ADB.
It automatically edits files as described in first post.
Just flash this ZIP through recovery and all apps will be unfrozen.
Compatible with all Android versions.
Click to expand...
Click to collapse
THANKS MAN!! i just signed up to say thanks! you just saved my life :highfive:
Bonoboo said:
For those, who accidentally frozen system app here quicker solution without factory reset and ADB
It automatically edits files as described in first post.
Just flash this ZIP through recovery and all apps will be unfrozen, so phone will boot.
Compatible with all Android versions.
tags: unfroze apps, auto-unfroze
Click to expand...
Click to collapse
Thanks very much for the zip. It worked great
Same Problem
Does anyone have an updated version of that zip? I also froze an app linked to the device and it won't boot, even after factory resetting it. Tried running the zip on my t-mobile GS4 (probably newer than that zip) from the SD card in recovery mode, however it didn't unfreeze it.
Any help greatly appreciated!
pianoplayer55 said:
Does anyone have an updated version of that zip?
I also froze an app linked to the device and it won't boot, even after factory resetting it.
Click to expand...
Click to collapse
1. To flash that ZIP you need have custom recovery (CWM or TWRP), not stock.
No update needed, it still works in this case.
2. That strange. Maybe you not really performed reset?
Double check all and try again.
Bonoboo said:
1. To flash that ZIP you need have custom recovery (CWM or TWRP), not stock.
No update needed, it still works in this case.
2. That strange. Maybe you not really performed reset?
Double check all and try again.
Click to expand...
Click to collapse
Yup, unfortunately I did select wipe data on the recovery screen. I am also stuck in an infinite boot up loop and cannot access the phone to install any apps. How can I use a custom recovery to run the zip file if i cannot access the phone? Instructions much appreciated. Thanks again.
pianoplayer55 said:
How can I use a custom recovery to run the zip file if i cannot access the phone?
Click to expand...
Click to collapse
ZIP – it's not app.
Again, you need to install custom recovery.
Here link to TWRP and how install it via Odin on PC.
You need place that ZIP on sdcard.
Enter in recovery (don't know how on your model), select Install > find ZIP > confirm > reboot,
Bonoboo said:
ZIP – it's not app.
Again, you need to install custom recovery.
You need place that ZIP on sdcard.
Enter in recovery (don't know how on your model), select Install > find ZIP > confirm > reboot,
Click to expand...
Click to collapse
Downloaded TWRP with Odin and ran custom recovery without a change after the zip (this must have been a deeper-rooted problem in the OS itself), however in the meantime I formatted the system partition, removing the operating system. Installed Kies and ran the update. It reinstalled the OS and I'm good now. Most stuff was backed up anyways. Thanks guys for your time :good::good:
Which apk is the culprit?
Man, I wish I'd found this thread before restoring my phones internal ROM. Had it rooted and set up in every way I like except removing bloatware.
Using TB, I froze a system apk that shut down my System UI and sent the phone bootlooping. What I'm trying to determine is WHICH apk(s) I froze that caused this. I thought I had researched each one that didn't seem obvious, but I musta missed one or one of the 'obvious' ones wasn't so obvious.

[Q] Complete backup before rooting?

Is there a way to do a complete backup before rooting the device?
Thanks.
If I find something I will let you know
Sent from the only smartphone designed by Chuck Norris
If i am understanding it correctly...Rooting doesnt affect anything in the system or the phone..just lets you access the root of the system..so technically nothing will change at all...you will have everything same as it was before rooting...
If u are trying to flash a custom rom, for which you need to have custom recovery....Then you can take nandroid backup...of the whole system (with app and data)..
Unfortunately, there is no way to make a complete backup of the phone without customizing the device slightly using 'unofficial methods'.
In order to make a complete backup, you need to replace the recovery menu (this is the menu you get if you hold down the Power&Vol+&Vol- buttons with the phone completely off).
It is also supposedly possible to get a full backup with the phone booted but you have to have root so that apps can access directories that are normally system protected (this however is not recommended).
So unfortunately, you have to do one or the other in order to get a complete backup and the preferred method is to install the CWM recovery menu (now at beta 4 for the Note if I am correct), then do a complete backup, then flash the modified kernel that has root already enabled. Feel free to correct me as I have not yet gotten around to doing this yet.
littlewierdo said:
Unfortunately, there is no way to make a complete backup of the phone without customizing the device slightly using 'unofficial methods'.
In order to make a complete backup, you need to replace the recovery menu (this is the menu you get if you hold down the Power&Vol+&Vol- buttons with the phone completely off).
It is also supposedly possible to get a full backup with the phone booted but you have to have root so that apps can access directories that are normally system protected (this however is not recommended).
So unfortunately, you have to do one or the other in order to get a complete backup and the preferred method is to install the CWM recovery menu (now at beta 4 for the Note if I am correct), then do a complete backup, then flash the modified kernel that has root already enabled. Feel free to correct me as I have not yet gotten around to doing this yet.
Click to expand...
Click to collapse
viny2cool said:
If i am understanding it correctly...Rooting doesnt affect anything in the system or the phone..just lets you access the root of the system..so technically nothing will change at all...you will have everything same as it was before rooting...
If u are trying to flash a custom rom, for which you need to have custom recovery....Then you can take nandroid backup...of the whole system (with app and data)..
Click to expand...
Click to collapse
Ok, Thanks guys. I guess I'll root first then make a full nandroid backup.

sgs3 bricked

Hey everyone. I installed jelly bean on my gs3 and i didn't liked it (a little lugging). Thank God i made a backup before this process using cwm. But now when i tried to open this app in my phone it said something about application version. I tried using sgs3 toolkit but my phone now cannot boot into the system and using the recovery image i cannot find the restore folder (which i managed to copy it the sd card before). How can i restore my phone using that backup i have done before??
So you have a backup, but it does not work, or you can not find it?
Sent from my WT19i using xda app-developers app
I have a backup but since my phone won't boot i do not know how to install it. I have that backup on my pc too..
Boot into recovery (vol up, home & power) and restore...
Sent from my GT-I9300 using xda app-developers app
Maybe you should try booting to download mode and flashing stock via odin and worry about your backup after your phone is in working order
Sent from my GT-I9300 using xda app-developers app
When i go into recovery and press restore it says it does not locate any file to use. But i have copied the backup folder before all this mess to the root of the phone.
Does anyone knows how to use sgs3 toolkit to restore??
di you put your backup into /clockwordmod/backup?!? i mean it should be there but if it isnt it would be unecessary to do a full fresh install
Greets
Sent from my Xperia X10 using xda app-developers app
Try and get the restore folder on your extSdCard and make sure you try to restore from ext sd in CWM.
Sent from my GT-I9300 using xda app-developers app
When i go into recovery there is not a choice to make backup or restore. Also i do not have an external sd card..
Flash CF root and CWM recovery as it looks like you have stock recovery .
jje
antros48 said:
But now when i tried to open this app in my phone
Click to expand...
Click to collapse
What app?
antros48 said:
it said something about application version.
Click to expand...
Click to collapse
What exactly?
antros48 said:
I tried using sgs3 toolkit but my phone now cannot boot into the system
Click to expand...
Click to collapse
So what did you do in the toolkit?
antros48 said:
and using the recovery image i cannot find the restore folder (which i managed to copy it the sd card before).
Click to expand...
Click to collapse
What do you mean? You can't find the folder where you backed up to? You don't have sdcard/clockworkmod/backup?
antros48 said:
When i go into recovery there is not a choice to make backup or restore.
Click to expand...
Click to collapse
So you don't have CWM? Just flash it with the toolkit
Ok done it. When i reboot the screen is black but the boot sound is playing normally, so i cannot see anything although it seems that the phone is on. Also when i boot into recovery mode and i try mount the phone, nothing happens..
Ok sorry for being so misunderstood, it is because i try at the same time to fix it.. Here how it is right now, when i boot in my phone the boot sound is playing but the screen is black. For the recovery image part, i have flashed cwm but when i go in recovery mode i cannot mount the phone to copy the backup file in cwn folder. And as i said before i already have a backup folder which i want to use to restore my phone. That's all that matters right now..Thank you for your answers btw
Just restore the backup
That is the point,i cannot do that.
So the backup is not on your phone?
Before messing up the phone i copied it on internal sd card, but not in the backup folder of cwm but on the root of the phone
When in recovery, open adb on the computer, type
shell
mv -r [YOUR BACKUP FOLDER PATH] sdcard0/clockworkmod/backup
Or actually, the more straightforward way would be to wipe data, then boot the device and move the backup folder into the cwm directory from there

Categories

Resources