Related
okay heres the problem, i flash roms regularly so i have a few nandroid backups. what i did was rename the backup folders to the name of the roms so i could keep up with them, i just wiped a previous rom and tried to restore a nandroid backup that i renamed and i keep getting restore error. i'm pretty sure its becaused i renamed them, can anyone tell how i can get the orginal folder caption back for the roms i backed up, and to top it off i renamed my stocked 1.5. thanks in advance
winterstormhaku said:
okay heres the problem, i flash roms regularly so i have a few nandroid backups. what i did was rename the backup folders to the name of the roms so i could keep up with them, i just wiped a previous rom and tried to restore a nandroid backup that i renamed and i keep getting restore error. i'm pretty sure its becaused i renamed them, can anyone tell how i can get the orginal folder caption back for the roms i backed up, and to top it off i renamed my stocked 1.5. thanks in advance
Click to expand...
Click to collapse
what is the error? is it run nandroid-mobile.sh from adb?
i tried to restore using the flash rec method. this is what im getting, error : run 'nandroid-mobile.sh restore via adb, problem is i dont know how to through adb i've always used the flash rec method
winterstormhaku said:
i tried to restore using the flash rec method. this is what im getting, error : run 'nandroid-mobile.sh restore via adb, problem is i dont know how to through adb i've always used the flash rec method
Click to expand...
Click to collapse
That usually means you have too many backups on the sd card, move some to your pc and you should be fine..........
Also make sure there are no spaces in the name of the folders, and that your battery isn't too low
-------------------------------------
Sent via the XDA Tapatalk App
It seems the problem was that i added spaces when i renamed the folders. Removed the spaces and problem fixed . Thanx a lot for all the help!
Hi all!
Well, thanks to everyone for their donations-- without you, this wouldn't be possible.
I present to you, one stepping stone towards custom ROMs: the shipping ROM on the device, backed up as a NANDROID.
What is this?
This is the shipping ROM on the device. There are no changes to this ROM besides being rooted.
Click to expand...
Click to collapse
How do I use this?
Extract the contents of this file to your SD card (external SD card) under
Code:
/clockworkmod/backups/
and you will end up with a
Code:
/clockworkmod/backups/revo_stock
folder.
Run Clockwork on your device, and select "Backups and Restore" then "Advanced Restore". Select "revo_stock" as the backup to restore, and choose to restore ONLY "system".
(You can also restore boot.img, but it is unnecessary, and I only left that in there for future use.)
Click to expand...
Click to collapse
What does this backup include?
This backup ONLY includes /system and boot.img. There is no recovery.img in this backup, nor is there a /data or /cache.
Click to expand...
Click to collapse
Will I lose my apps or information if I restore this backup?
No you will not, this backup will not touch your /data partition.
Click to expand...
Click to collapse
Why is this useful?
Accidentally erased something important in /system?
Removed something and now 4g Hotspot doesn't work?
Restore this, and it'll fix that... of course all the stock OS will come back, but hey-- you get a second chance
Click to expand...
Click to collapse
Downloads
http://goo-inside.me/private/iomonster/files/revo_stock.zip
Special thanks to Snipa and s0up for hosting this file for me, as I really really really hate upload sites.
Click to expand...
Click to collapse
Contact Me!
Got an issue with this release? Post here!
Want to contact me privately? PM me on XDA or Rootzwiki
Twitter your thing? Follow me, @tylerfixer on Twitter
Join the official LG Revolution dev IRC channel at freenode on #lgrevolution
I'm IOMonster on IRC!
Click to expand...
Click to collapse
thanks icecube, i hit refresh all yesterday waiting for this!!!!!!!!!!!!!!!!
leemsami said:
thanks icecube, i hit refresh all yesterday waiting for this!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
i meant thecube!!
Haha! No worries, it's 3:30AM
do i push this through adb or do i extract it on windows then put it on my sd card.
leemsami said:
do i push this through adb or do i extract it on windows then put it on my sd card.
Click to expand...
Click to collapse
Extract through windows and put on your SD card in the proper folder.
its telling me that i have a md5 mismatch!!! i will try downloading it again.
Thanks cube please keep up the hard work! I wish I could do something to help other then sending some $$$ I would love to help bring the revolution along.
Viva la revolution.
Did anybody use this yet. i tried and it says my md5 does not match. i tried numerous times
Haven't tried it yet but I checked the MD5 against the images and they are correct.
Ah, sorry, forgot to state select "Advanced Restore" or whatever it's called-- JUST restore system.img.
If you select "Restore" it looks for the /data and recovery.img in the nandroid.md5 file, and when it doesn't find it, it errors out with an md5 error.
I'll edit the instructions now...
Just tested this. I can't advanced restore the system.img either. Comes back with MD5 mismatch. I can restore my own backups without a hitch however.
[Edit] I forgot to mention. There's a carriage return on the Rooted Factory-Stock ROM MD5 file. Removing it didn't seem to matter. I was thinking that maybe it was the culprit.
Agh! you just gave me the answer... I saved it in windows, rather than linux, so the line endings are wrong...
If you're able to, just open the file nandroid.md5 in Notepad++ or something like it, and remove the extra blank line, and change the line endings to UNIX style.
Thanks, I'll re-upload the .zip when I'm on a faster connection.
The actual .img files themselves are good, though.
thecubed said:
Agh! you just gave me the answer... I saved it in windows, rather than linux, so the line endings are wrong...
If you're able to, just open the file nandroid.md5 in Notepad++ or something like it, and remove the extra blank line, and change the line endings to UNIX style.
Thanks, I'll re-upload the .zip when I'm on a faster connection.
The actual .img files themselves are good, though.
Click to expand...
Click to collapse
thanks thecube, it worked with the notepade++ steps and unix style.
re-uploaded. Should work just fine now.
Is there a version of this with everything? In other words, not just system but data, etc. I somehow am stuck in CWR...don't have a nandroid backup. I pushed this to the right place on the SD card, did the system restore, but it still repeatedly boots into CWR. Is there anything that will do a FULL restore instead of just system?
Thanks in advance.
MarkyD311 said:
Is there a version of this with everything? In other words, not just system but data, etc. I somehow am stuck in CWR...don't have a nandroid backup. I pushed this to the right place on the SD card, did the system restore, but it still repeatedly boots into CWR. Is there anything that will do a FULL restore instead of just system?
Thanks in advance.
Click to expand...
Click to collapse
Hm, so you did a data wipe from within Android. Yep, that'll get you stuck in CWR, but it's not a problem with the backup, it's that the LG bootloader isn't happy with Clockwork.
When installing Clockwork, did you make the p8 backup?
so im having the same problem i even started a thread too but im an idiot and didnt make that p8 backup because the md5sum didnt match so i stopped there but clockwork still seem to flashed to the phone now im in clockwork everytime i boot up was wondering any way to work around this if not guess imma just get a new phone until there is a way
rodney323 said:
so im having the same problem i even started a thread too but im an idiot and didnt make that p8 backup because the md5sum didnt match so i stopped there but clockwork still seem to flashed to the phone now im in clockwork everytime i boot up was wondering any way to work around this if not guess imma just get a new phone until there is a way
Click to expand...
Click to collapse
There is a way, I just haven't written it into an easy-to-use program yet.
For now, if you haven't made a p8 backup, the easiest method is for you to come on IRC and have me adb into your phone and fix it for you.
If I get a spare moment though, I will work on a stuckinclockwork.zip that you can flash using clockwork to get you out of clockwork.
Stuck in clockwork fix:
http://forum.xda-developers.com/showthread.php?p=15501302#post15501302
Hi
First post here, I'm new to Android and rooting but I know my way around computer systems in general so hoping you guys can help me, haven't seen a thread about this exact problem so far.
I've semi-bricked (bootlooped) my Samsung Galaxy Ace running Gingerbread, having rooted it last month using the upd_1 package and enjoying a bloatware-free phone, happily installing apps onto my second partition on my SD card. I've not changed my ROM, just the stock is good enough for me for now. However I was getting continually prompted by Homescreen Selector nags at powering up for some reason and I thought I could disable it by applying Freeze using LInk2SD, but since doing that I continually get the Samsung logo, the orange "explosion" (I'm with Orange) then a vibration and the whole cycle repeats. My guess is the operating system can't find the selector.apk app since I froze it.
I thought the solution would be simple - use adb shell to rename back from selector.fro to selector.apk. However I'm unable to find any such file in my system/app folder. There are a load of other apk and odex files but not that one. When I type su I get "permission denied", though I definitely rooted my phone but I don't think I have my bootloader unlocked.
I don't have CWM installed or any backups unfortunately (yes, I know...), so even if I took one now prior to a factory reset, surely the same problem would come back if I were to restore from any backup I were to take now. I can get into Recovery and Download screens ok but don't want to restore the whole ROM unless I have to, since I know it's only one APK that is at fault.
So, please can anyone tell me how to locate the selector.fro file to turn it back to selector.apk? Or can't I do that without unlocking the bootloader first, or is there another solution?
Many thanks in advance,
Graham
Wouldnt it be possible to make a zip of the selector.apk and flash it? Rename the zip-file to "update" (since you're unable to browse to your specific file).
QNBT said:
Wouldnt it be possible to make a zip of the selector.apk and flash it? Rename the zip-file to "update" (since you're unable to browse to your specific file).
Click to expand...
Click to collapse
Hi, thanks for the response
Do you mean copy a zip of selector.apk to the SD card and run it from there, same as I did when I rooted? Where can I obtain a copy of that apk from? I can't find it on my computer or via Google...
gkey2112 said:
Hi, thanks for the response
Do you mean copy a zip of selector.apk to the SD card and run it from there, same as I did when I rooted? Where can I obtain a copy of that apk from? I can't find it on my computer or via Google...
Click to expand...
Click to collapse
You can extract it from the ROM's zip file, just locate it as you would on your phone.
But I don't have a ROM zip file. I'm not using a custom ROM, just stock. I may go down the custom ROM route one day, but for now I just want my phone to work again in the quickest way possible.
All I need is a copy of the original stock home selector APK. Can anyone help here please?
Found the file!
Never mind, got the apk from another thread. Flashing tonight...
I'll bite... A bit of a kerfuffel upgrading from ARHD 51 to 52. But, I'd taken a backup of the 51 image and ported it to my laptop using the ROM Manager download server. However, when I try to restore the file (by installing the ZIP it created), it fails on me. Am I doing something wrong? There's no option in ROM Manager to restore the ZIP file. Anyone have this problem and knows how to resolve it?
And yes, I know this may not be the optimal place for this thread, but frankly I can't find a better place. Just looking for someone who may have an idea to help
TIA
diceman725 said:
I'll bite... A bit of a kerfuffel upgrading from ARHD 51 to 52. But, I'd taken a backup of the 51 image and ported it to my laptop using the ROM Manager download server. However, when I try to restore the file (by installing the ZIP it created), it fails on me. Am I doing something wrong? There's no option in ROM Manager to restore the ZIP file. Anyone have this problem and knows how to resolve it?
And yes, I know this may not be the optimal place for this thread, but frankly I can't find a better place. Just looking for someone who may have an idea to help
TIA
Click to expand...
Click to collapse
Well, you can just copy/paste the backup zip onto your pc. Re-transfer it to THE CORRECT DIRECTORY on the internal storage of the One. If you have, it will restore perfectly. I've tried a TWRP backup, that worked like a charm. NO reason why CWM would be different.
raghav kapur said:
Well, you can just copy/paste the backup zip onto your pc. Re-transfer it to THE CORRECT DIRECTORY on the internal storage of the One. If you have, it will restore perfectly. I've tried a TWRP backup, that worked like a charm. NO reason why CWM would be different.
Click to expand...
Click to collapse
Yea, tried that. I may have a corrupt ZIP or something like that. I'll play with it some more.
Thanks for response
Hey Everyone,
I am new to XDA forums,(have used it for troubleshooting in the past but just registered today)
I am also new to android and linux, personally i don't use my phone for anything other than calls or games(i mostly do pc's), however my wife does a lot, she has written her own code, does mods, etc...., and we are both stumped. I am asking this on her behalf, due to a terminal illness she has lost the ability to do several things. On April 30th the lollipop update was pushed to her Note 4 (T-mobile US branded) and it wiped out all of her app data as well as her entire SD card. My question is in 2 parts one regarding the TWRP backup for this phone, and another regarding recovering the SD data from this phone(please let me know if i need to break this out into multiple sections of the site).
We have a TWRP backup that was compressed and loaded onto her cloud storage on 4/27/15, and we are unable to figure out how to get TWRP to recognize it without giving an error about the binary code or just not working period. Here is what we have tried(On advice not just from other XDA posts but various android forums as well)
Using TWRP(7zip for unpacking and repacking)
1. Downloaded the TWRP back up into windows
2. Renamed all files of the back up to be .tar, with the exception of boot which was converted to .img
3. Added Meta-Inf file from what was suppose to be stock ROM( she was not running a custom on this phone)
4. Re-archived everything back into Zip and sideloaded.
result : Error in binary code
Using Odin
1. Converted recovery (file only from backup) to md5 using Cygwin
2. Flashed using Odin
Result: Gained back a few programs but no app data or text histories
We have also tried varying versions of this, i.e. converting extra files or renaming extra files and receive the same issue. I am wondering if it is just an issue with the cloud stored compressed backup(or more likely i dont know what im doing)?
Second question comes from above, I was able to recovery all of the data from the SD card(everything was stored here, app data, recovery files, imgs, everything). When recovering the data it split everything up so all the sub peices of each recovery file are spread out is there a way to combine the individual file parts that were recovered from the SD card into functional android files again?
As i mentioned before i have never really dealt with this type of thing before but i want to try and fix this for her as between the 2 issues she has lost 5 years of data.
Thank you so much for your responses.
Hi, what you need to do is put the backup back into the exact same form it was before, an uncompressed, unzipped folder, then put it into the exact directory where TWRP puts backups when it makes them, and then in TWRP choose the option to restore. If you put the backup in the correct directory, TWRP will see it and allow you to choose it to restore it. Basically you just wanna put the backup back where it was before and then restore it in TWRP.
I wasn't sure if you had done this or not. If you have the backup folder with all the contents in their original form, it should work. I've even moved a backup from one phone onto another phone, exact same model of course, and then restored that backup onto the new phone!
I've never converted a backup into another form to be flashed another way, like Odin or as a zip in TWRP. Although I guess it could be possible it seems like it could be pretty messy.
Also if the TWRP backup was for a kit at build it will not restore on the lollipop baseband. You will need to Odin back to the kitkat NK4 build them you should be able to take the data.
Sent from my SM-N910T using XDA Free mobile app
ShrekOpher said:
Also if the TWRP backup was for a kit at build it will not restore on the lollipop baseband. You will need to Odin back to the kitkat NK4 build them you should be able to take the data.
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
YrrchSebor said:
Hi, what you need to do is put the backup back into the exact same form it was before, an uncompressed, unzipped folder, then put it into the exact directory where TWRP puts backups when it makes them, and then in TWRP choose the option to restore. If you put the backup in the correct directory, TWRP will see it and allow you to choose it to restore it. Basically you just wanna put the backup back where it was before and then restore it in TWRP.
I wasn't sure if you had done this or not. If you have the backup folder with all the contents in their original form, it should work. I've even moved a backup from one phone onto another phone, exact same model of course, and then restored that backup onto the new phone!
I've never converted a backup into another form to be flashed another way, like Odin or as a zip in TWRP. Although I guess it could be possible it seems like it could be pretty messy.
Click to expand...
Click to collapse
Thank you both for the suggestions i will give them a try shortly and i will provide an update on how things go.
Yeah, if you put the backup folder in the right directory, which is either internal or external sdxard/TWRP/BACKUPS/serial #/, you could restore just the data at least and it ought to be mostly ok. You ,might need to clear data in an app here or there if they force close.... or if it's too much then yeah, Odin back to KitKat and restore the desired components of the backup.
YrrchSebor said:
Yeah, if you put the backup folder in the right directory, which is either internal or external sdxard/TWRP/BACKUPS/serial #/, you could restore just the data at least and it ought to be mostly ok. You ,might need to clear data in an app here or there if they force close.... or if it's too much then yeah, Odin back to KitKat and restore the desired components of the backup.
Click to expand...
Click to collapse
Thank you for this, i double checked we had it in the right directory, but it still failed. At first it said something about a missing md5, but i tried again and i was able to get the log for the failure though. (attached below)
Hmm, I looked at the logs trying to make sure you chose to Restore in TWRP and not Install. If so it's possible the backup could have gotten altered or corrupted in the transferring back and forth. If you get it intact as it was, it SHOULD work, but I'm but sure what else to do at the moment. I hope you get it working
Sorry for the delay
Hey Everyone,
Sorry for the delay its been a long week, bad thing after bad thing kept happening. I was able to try your suggestions and i put together some additional information in hope this might help us try and figure it out.
*I must figure out how to recover, texts, contacts, call locks. My default texting app was google messenger.
So I figured I would start with the phone
I am using a Samsung SM-910T on 4.4.4 (build *ANK4) It was pretty Vanilla -> rooted, but running the stock ROM
1. The phone was set to do a full internal backup nightly using the online nandroid backup (by H3r3T1L)
2. Backups were set to be in TWRP backup format and to save to an external SD card, then to compress before being uploaded to google drive
3. Backups were set to delete from SD card after the upload was finished.
What happened
1. When stock 5.0.1 firmware OTA came out i was trying to dismiss the notification but apparently hit "accept" by mistake, causing the system to crash.
2. While restoring the phone, i attempted to download the most recent backup from the google drive and flash the zip to restore my data.
3. This Zip would not install, and i noticed all of the backups uploaded had the same anomally-a few of the files were 0 bytes
4. I downgraded the phone to ANK4 based on the above recommendation but it has made no difference.
5. I still get updated binary error and each time i flash the zip, my OS gets wiped.
6. I have tried instructions to just unzip and flash , to put zips in twrp backup folder, to build new file with meta-inf, etc. and nothing seems to work.
When the SD card got deleted I was able to retrieve some data from the deleted SD card, but don't know where the text messages are located or how to combine them back into a usable format. Or at the very least be able to extract the SMS/MMS history.
I hope this extra information helps. In any way im am desperate to try and fix this for my wife.
I believe you can use Titanium Backup to extract files from a TWRP image. If you can't extract anything from the backup it's either corrupted, in the wrong place, or in the wrong form - that is due to the compression decompression not being compatible (all zip programs are not equal). Best of luck.
BTW, you must restore TWRP files not install them.
Sent from my SM-N910T using XDA Free mobile app