made a big noob mistake, help please!!! :-( - Hero CDMA Q&A, Help & Troubleshooting

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!

Related

Nandroid Question

I recently did a nandroid backup and it worked. I then flashed a theme that I thought I liked but didn't so I ended up using the restore nandroid process in recovery mode and it worked. I then changed the name of the first folder inside of the Nandroid folder so I know which ROM it is. I then ended up flashing another theme that I did not like. I tried to do a nandroid restore but this time I get an error says to do "nandroid-mobile.sh restore" or something like that from ADB.
How do I do the restore from ADB? I would use the CMD correct? I tried looking for possible command using CMD but could find nothing. Anyone know why this happened. Why I get this error? I use to get this error all the time on my G1 so I instead would use SwitchRom, but does anyone know if a SwitchRom exists for NexusOne?
PS- dont post across multiple forums

Phone Re-booting continuosly

**** ****. I was messing around with the options in Titanium Backup Pro and selected an option that said that i can remove a few apps that have been linked to my ROM and free upto 80 MB in memory. It had something to do with Dalvik Cache. The software said that the phone will restart after the process. But the phone gets stuck at the HTC Quietly Brilliant Brilliant" white screen and re-boots. I tired Pulling out the battery, Wiping cache, Factory reset using CWM but the problem continues. What do i do? The phone is hardly 3 weeks old. Its still S-ON, rooted and unlocked at htcdev.com
Can you not restore a nandroid? Or try flashing a rom that doesn't need s-off like CyanogenMod 7.
Sent from my Incredible S using xda premium
InsertDumbNick said:
**** ****. I was messing around with the options in Titanium Backup Pro and selected an option that said that i can remove a few apps that have been linked to my ROM and free upto 80 MB in memory. It had something to do with Dalvik Cache. The software said that the phone will restart after the process. But the phone gets stuck at the HTC Quietly Brilliant Brilliant" white screen and re-boots. I tired Pulling out the battery, Wiping cache, Factory reset using CWM but the problem continues. What do i do? The phone is hardly 3 weeks old. Its still S-ON, rooted and unlocked at htcdev.com
Click to expand...
Click to collapse
Restore your nandroid, I think I remember you posted that you had one.
Nonverbose said:
Restore your nandroid, I think I remember you posted that you had one.
Click to expand...
Click to collapse
Yeah i tried doing that. But get this error message in CWM:
Code:
Couldn't open directory.
No files found.
The Backup is in a folder "2012-02-12.06.04.17" and this folder is in the sd-card root. Do i have to copy the files in this folder to the root as well??
Edit: I forgot to mention that the above nandroid backup folder was saved in my computer and the sd card on which i had made the backup initially was involved in multiple formats during my futile attempts to gain S-OFF ..
InsertDumbNick said:
Yeah i tried doing that. But get this error message in CWM:
Code:
Couldn't open directory.
No files found.
The Backup is in a folder "2012-02-12.06.04.17" and this folder is in the sd-card root. Do i have to copy the files in this folder to the root as well??
Click to expand...
Click to collapse
You shouldn't have to. Was the backup created in cwm? Have you checked that the files are in the folder? What option were you using to restore your backup?
Another option would be to installed a custom ROM.
I guess if you are using CWM, the folder will not be on root.
As far as I remember, it use to be in some folder named CWM or ClockWorkMod something like that.
I guess the folder "2012-02-12.06.04.17" should be under "\clockworkmod\backup\" folder.
Not quite sure as I am using Ext4 recovery now.
But guess someone around here should tell you the correct folder structure.
And, I guess if you could try to mount card on your computer you will be able to see and modify the folder and put it in right place with correct backup directory.
I think i have to create a few folders since the path that CWM is looking for the recovery doesn't exist. Can you tell me the correct path so that i can create an identical location to copy the backup to??
It'd literally take you 5 mins to install a custom rom? And then in theory your fine will work perfectly. Then just set it up and create a nandroid.
When I had problems I formatted the SD card and only left the CWM files on. Then it restored/worked fine.
Sent from my Incredible S using xda premium
InsertDumbNick said:
I think i have to create a few folders since the path that CWM is looking for the recovery doesn't exist. Can you tell me the correct path so that i can create an identical location to copy the backup to??
Click to expand...
Click to collapse
way2shree was correct in his post about the file structure. I think you need to do a bit of research before you do any serious damage to your phone.
vizzy said:
It'd literally take you 5 mins to install a custom rom?
When I had problems I formatted the SD card and only left the CWM files on. Then it restored/worked fine.
Sent from my Incredible S using xda premium
Click to expand...
Click to collapse
Like i said the SD card on which CWM made the backup was formatted many times. Completely. So i had copied the folder with the backup to the computer.[Newb mistake. I realized the hard way]. And no the path is not \clockworkmod\backup\. Thanks anyway shree. Also i think CM7 is the only 1 that can be flashed with a S-on phone. so ill keep that as a final option since i still like sense.
Nonverbose said:
way2shree was correct in his post about the file structure. I think you need to do a bit of research before you do any serious damage to your phone.
Click to expand...
Click to collapse
I looked all over the place and found only this \clockworkmod\backup\<date> . Made both the folders but still not recognized. Can anyone confirm that this is in fact the correct path??
Phew. Atlast got the backup restored. THank you guys for all your help. Looks like i wont be doing anything android related for the next MONTH till i at least have a general idea of wth im doing.

[Q] Stuck at the "cm7" screen [UPDATE: Bootloop Logcat Attached!]

I was trying to mount the memory card by using the usb mass storage mode in a rescue disk but the mobile restarted itself a couple of times.. Later on I tried to mount the usb from cwm5 but was unsuccessful. In between all this, I do not know what happened (improper mounting/unmounting?) my device is now not booting into the OS.
Tried reinserting the battery.. no difference. Tried removing the memory card, stuck on "android" logo.
When I restart the mobile, it goes till the end of the bootscreen "Entering system" but then it reverts back to "cm7" boot screen and is stuck there.
My memory card is ok since i tried to mount it using cwm5 in windows and its working fine.
Can anyone let me know any quick solution to this as I need it working urgently?
I am using latest Apocalypse rom with firekernel kernel and amarrullz(???) script.
Did you considered reflashing the ROM?
Sent from my GT-S5830 using xda app-developers app
I know, but i have lots of data in that rom which I still need. I think it's fixable, that's why am posting.
redlag said:
I know, but i have lots of data in that rom which I still need. I think it's fixable, that's why am posting.
Click to expand...
Click to collapse
You Are In a Boot Loop ... Put In Your Particular Case I Would Advice ... Flash Stock! Install CWM To Restore Mounting Points And Then Flash CM7
SnowPluralism said:
You Are In a Boot Loop ... Put In Your Particular Case I Would Advice ... Flash Stock! Install CWM To Restore Mounting Points And Then Flash CM7
Click to expand...
Click to collapse
But boot loop is more of when you are stuck on "android" screen. I am stuck on boot animation.
Update : I made a fresh installation of Apocalypse.
Restored backup of sd-ext : lots of fc but working.
Restored backup of data : stuck at book animation.
I am thinking maybe some broken application is causing this.. any way to find out for sure?
once happened to me with apocalipse. I lost the data.
Sorry for bad english.
redlag said:
But boot loop is more of when you are stuck on "android" screen. I am stuck on boot animation.
Update : I made a fresh installation of Apocalypse.
Restored backup of sd-ext : lots of fc but working.
Restored backup of data : stuck at book animation.
I am thinking maybe some broken application is causing this.. any way to find out for sure?
Click to expand...
Click to collapse
No its not! Boot loop is what i said ! ... And if u followed my advice u would see that i am right !
Sent from my GT-S5830 using xda premium
how long it will take to install new ROM ?
KradeYana SGY said:
how long it will take to install new ROM ?
Click to expand...
Click to collapse
Less then 10 minutes.
Sent from my GT-S5830 using xda premium
SnowPluralism said:
Less then 10 minutes.
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
10? :what: less than a minute to flash and less than 3 minutes for first boot.
Insert witty sentence here
I already did install a new rom last night! But i still need data from previous rom... like sms and whatsapp and other apps.. so I have made a nandroid backup just in case.
Can anyone help me in solving it or recovering the data from the nandriod atleast? Tried appextractor but it wasn't able to restore sms and didn't show whatsapp only! TB didn't help too. I guess its due too d2sd script due to which these apps are not able to locate the data. Any other app which might work?
redlag said:
I already did install a new rom last night! But i still need data from previous rom... like sms and whatsapp and other apps.. so I have made a nandroid backup just in case.
Can anyone help me in solving it or recovering the data from the nandriod atleast? Tried appextractor but it wasn't able to restore sms and didn't show whatsapp only! TB didn't help too. I guess its due too d2sd script due to which these apps are not able to locate the data. Any other app which might work?
Click to expand...
Click to collapse
Maybe opening the nandroid backup manually with 7zip and such. Look up inside your data and system .img files. Use the files inside to create a flashable zip with the data from the apps you most desperatly need. done by using a flashable zip for a rom, deleting everythin inside it except for META-INF, and looking at the updater-script file to make mount /data and flash to /data instead of flashing to /system, place the folder with the data you need inside the zip.
dxppxd said:
Maybe opening the nandroid backup manually with 7zip and such. Look up inside your data and system .img files. Use the files inside to create a flashable zip with the data from the apps you most desperatly need. done by using a flashable zip for a rom, deleting everythin inside it except for META-INF, and looking at the updater-script file to make mount /data and flash to /data instead of flashing to /system, place the folder with the data you need inside the zip.
Click to expand...
Click to collapse
I am getting what you are trying to say but seems like I don't need it. I was able to restore the sd-ext partition which had all the data.. seems like sms file is corrupt? But anyhow, I think most of the data is there now, but no apps! I can see the ".asec" files in ".android_secure" backup but have no idea how to make apk out of these? Any though how nandriod is able to do that or any script for that?
Logcat Attached.
Anyone??
Sent from my GT-S5830 using Tapatalk 2

[Q] Please Help!! (TWRP BACKUP)

Please help me! I was on Sense 5 rooted with twrp installed. Decided id try out the new CM 10.1 for the HTC ONE. So i backed up my system, data and everything else and proceeded to install CM. Decided it wasnt for me, went to TWRP, went to restore and there are no files there? What happened? I can see I only have 6GB storage available so the file is there somewhere!! How do i flash the backup? i read about a twrp utility or that the file structure is off?
Thanks for your help!!
UPDATE: When I go into a file manager, the backup from today is there.. it is in TWRP> BACKUPS> HT34JXXXXXX> (2013-05-14 @ 8:06 AM)
and inside that folder are the usual backup files. BUT IT STILL WONT SHOW UP IN TWRP WHEN I PRESS "RESTORE"
Anyone? I'm dieing here!!!
Reflash recovery, and see if now work.
I've restored yesterday my backup and no prob with TWRP.
And search your file in sdcard/0
If it will not work, reflash rom.
Don't know if this happened but I had a galaxy s3 before I got the htc one and I understood that cyanogenmod is a 4.2.2 type of rom and we have a 4.1.2 rom. A lot of peeps in the galaxy's forum would have trouble going back to touchwiz roms because the say flashing a 4.2.2type of rom partitions the memory files differently so then the 4.1.1 stock or custom roms. You may have to somehow unroot the phone and "push" the phone back to stock using your computer. People had to do that before with the s3. Hope that helps maybe. I have to go to work now. Good luck
Should I try to flash clockwork mod? Just go into the play store, download and flash from within the app? I don't understand I made a full nandroid it is in my phone and on my computer.. Why can't twrp recognize it?
Okaay said:
Should I try to flash clockwork mod? Just go into the play store, download and flash from within the app? I don't understand I made a full nandroid it is in my phone and on my computer.. Why can't twrp recognize it?
Click to expand...
Click to collapse
CWM can't restore TWRP backup.
If you backupped your rom with TWRP, this will restore it.
Did you try to see in sdcard/0?
Guich said:
CWM can't restore TWRP backup.
If you backupped your rom with TWRP, this will restore it.
Did you try to see in sdcard/0?
Click to expand...
Click to collapse
This is in the stock cm10 file manager. This is the exact backup I'd like to restore but when I go into the recovery and press on restore, nothing shows please keep responding!!!!
For team win recover the files need to be in /sdcard/0 the number zero or it won't be recognized. Move the directory structure to /sdcard/0. Also copy the directory with the backup to your computer in case.
Can we see the whole directory structure of where these files are located? like /recovery/2012305/ or where ever it happens to be?
nullkill said:
For team win recover the files need to be in /sdcard/0 the number zero or it won't be recognized. Move the directory structure to /sdcard/0. Also copy the directory with the backup to your computer in case.
Can we see the whole directory structure of where these files are located? like /recovery/2012305/ or where ever it happens to be?
Click to expand...
Click to collapse
Yeah man, I'll post the pics. Here they are looks as though it is in 0/
I just backed up the cm ROM just to see what would happen and now when I go to restore, the cm10 backup is the only one there and I can't locate it in file manager anywhere
Sent from my HTC One using xda app-developers app
Okaay said:
Yeah man, I'll post the pics. Here they are looks as though it is in 0/
I just backed up the cm ROM just to see what would happen and now when I go to restore, the cm10 backup is the only one there and I can't locate it in file manager anywhere
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Search the SD card for boot.emmc.win you should get two results one from the original backup and one from the new one. You need to get both the backups together. Also copy your original backup to your computer so you have a copy of it in case you need to wipe or something.
nullkill said:
Search the SD card for boot.emmc.win you should get two results one from the original backup and one from the new one. You need to get both the backups together. Also copy your original backup to your computer so you have a copy of it in case you need to wipe or something.
Click to expand...
Click to collapse
This is what I see... Someone please help, the backup I wanna restore is already I'm TWRP folder on the internal storage but no files show up when I try the "restore" option in the recovery
Sent from my HTC One using xda app-developers app
Okaay said:
This is what I see... Someone please help, the backup I wanna restore is already I'm TWRP folder on the internal storage but no files show up when I try the "restore" option in the recovery
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
OK so did you copy your backup to your computer yet???? Well if not now would really really be the time to do that. Looks like there is a issue with how CM is doing the SD card and TWRP. So first copy the backup off of your phone. Should I say it again? COPY THE BACKUP OFF YOUR PHONE. Now go get the correct RUU for your phone. Run that sucker and restore the phone to stock. You will need to relock your bootloader. Once that is done put TWRP back on your phone and copy your backup to the phone.
Ran into this myself. Because of 4.2.2's support for multiple users, it segments the internal storage into pieces(i.e. 0 for first user, 1 for second user, 2, 3, so on). I didn't realize this and had to start from scratch.
Copy your TWRP backup(and anything else you don't want to lose) to your computer and delete the 0 file. Re-add your files to the internal storage(be sure to keep a copy on your computer). Then reboot into bootloader, fastboot erase cache, reflash, and reboot into recovery. Don't let the CM10.1 ROM start up, otherwise you'll be doing it again.
Alternatively, use the All-In-One toolkit to adb sideload a non-CM10.1 ROM onto your phone, delete the 0 folder(after transferring to your computer what you don't want to lose, of course), reboot recovery, and attempt to restore.
Thanks guys, got it working
Sent from my HTC One using xda app-developers app
This is the same problems people with the GNex came across moving back from 4.2.2 to 4.1.2 last year - you have to remember the internal memory changed and manually move fles to the non-0 folders! You guys should read up more before jumping head long into a new Android version!
Glad it's sorted now though
nullkill said:
For team win recover the files need to be in /sdcard/0 the number zero or it won't be recognized. Move the directory structure to /sdcard/0. Also copy the directory with the backup to your computer in case.
Can we see the whole directory structure of where these files are located? like /recovery/2012305/ or where ever it happens to be?
Click to expand...
Click to collapse
OOPs--sorry this must be an HTC specific problem--sorry for poking my Samsung nose in...
Maybe I am not understanding the thread but--
In my Galaxy Note2 all my TWRP backups, and I have about 5, are all in ext.sd. card and I have used it to restore on several occasions--could be a device specific situation, but in Note2 it's fine to have them in ext.sd card.

[Q] Questions regarding compressed recovery img and data on note 4

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

Categories

Resources