HTC One question about system folder backup - One (M7) Q&A, Help & Troubleshooting

Hi everyone
I will try to explain my doubt.
I had a samsung galaxy S2 and when I tried to ROOT it and all that, the device ask me to do an EFS partition backup. Very similar stuff happens with Sony Xperia Z but in this case, I had to make a TA partition backup and then, make a system restore to drive the device to the default values (just the same values as when I bouhgt it)
So my question is, regarding to the mobile HTC ONE:
Can I make a XXXX folder (i mean, ANY folder) backup so that when I get the default values I can RECOVER that folder?
I have read a lot about HTC ONE but I don’t remember anything about this mentioned backups.
Thank you in advance!
Greetings.

Related

[SOLVED] Nandroid restores on two different phones? [UPDATE 7/26/09]

Hey all,
Are nandroid restores specific to one particular device or can they be interchanged between two G1's? I have a spare G1 that I play around with that has root while my other G1 doesn't have root. I am thinking about rooting the other one and wanted to know if I could just go through the rooting process, (radio, spl, cyanogen recovery etc) throw on a cyanogenmod or JF, then do a nandroid restore from the spare device with all my settings on it. I know that nandroid creates a unique numerical folder that has your latest backup in it so I wasn't sure if this folder would be seen by nandroid on a different phone.
Any thoughts?
EDIT:
Just wanted to update this thread in case anyone else wanted/needed to do this. As I suspected, I ran into folder name problems when trying to copy one nandroid restore to my spare phone and trying a restore. There is a simple fix however....
1) Perform a nandroid backup on the phone you WANT to backup.
2) Copy that nandroid folder from the phone to your PC.
3) Perform a nandroid backup on the phone you DON'T WANT to backup.
4) Copy that nandroid folder from the phone to your PC.
5) Compare the nandroid subfolder name (should be alpha-numeric starting with HT) of the backup you want to the name of the one you don't.
6) Change the name of the nandroid subfolder on the backup you want to restore to the same name of the folder you don't want. This way you fool nandroid into thinking that the backup was originally done on that phone.
7) Copy the entire nandroid folder (with the newly changed subfolder name) to the sdcard of the phone you want to restore.
8) Boot into recovery (power+home) and perform the nandroid restore. If the restore fails, you probably don't have the correct subfolder name. Return to step 5 and 6.
9) If the restore is successful, reboot and you should be all set!
Good question. I wouldn't have thought there would be issues with it bar of course your settings etc but then a wipe before would resolve that. Just make sure to do what you've said though (upgrade radio, SPL, recovery etc) first.
DirectMatrix said:
Hey all,
Are nandroid restores specific to one particular device or can they be interchanged between two G1's? I have a spare G1 that I play around with that has root while my other G1 doesn't have root. I am thinking about rooting the other one and wanted to know if I could just go through the rooting process, (radio, spl, cyanogen recovery etc) throw on a cyanogenmod or JF, then do a nandroid restore from the spare device with all my settings on it. I know that nandroid creates a unique numerical folder that has your latest backup in it so I wasn't sure if this folder would be seen by nandroid on a different phone.
Any thoughts?
Click to expand...
Click to collapse
It won't upgrade your SPL, radio, and recovery. If you look in the nandroid folder, you'll see exactly what is backed up. I think its the /system folder and the /data folder as well as something else. But if you have another phone that is already rooted and has the correct SPL, radio, and recovery, this will work.
Should be fine then as he's planning on doing the usual steps up until flashing the desired ROM of choice. Tell us how it goes DirectMatrix and if it works, please change your thread title to include [SOLVED] so we all know ^_^
NeoBlade said:
Should be fine then as he's planning on doing the usual steps up until flashing the desired ROM of choice. Tell us how it goes DirectMatrix and if it works, please change your thread title to include [SOLVED] so we all know ^_^
Click to expand...
Click to collapse
Gonna start rooting the other phone now so I'll keep this thread updated with whether nandroid backups are swappable between phones. I hope so as that will save me quite a bit of settings/data calibrations.
@h.nocturna... LOL, you have been dealing with n00bs too long in the Q&A section....of course nandroid won't upgrade my radio, SPL, and recovery, but I had a good laugh anyways. Thanks all for the advice

"Naming" a Nandroid Backup

Anyone know if there is a way to give a nandroid backup a name of your choosing? Sometimes when I'm flash and loading a bunch of different stuff I like to do nandroid backups before each one so I can save my phone in various states. unfortunately that means that just the date and time stamp naming convention isn't enough for me to locate the exact one I want to restore.
DaveKid said:
Anyone know if there is a way to give a nandroid backup a name of your choosing? Sometimes when I'm flash and loading a bunch of different stuff I like to do nandroid backups before each one so I can save my phone in various states. unfortunately that means that just the date and time stamp naming convention isn't enough for me to locate the exact one I want to restore.
Click to expand...
Click to collapse
Yep, drag them to your pc and just rename them!
That's the easy way anyway.
Whenever I flash a new rom and I like it, I backup a full clean install so I can start from scratch again, it's better then going through the syncing and logging in again.
I also store mine on the pc, so if my card gets fubar'd then I've still got them.
great idea....never even considered that.
thanks
Not to sound rude, but I would think that'd be the most obvious solution to your question.. o_0
DaveKid said:
Anyone know if there is a way to give a nandroid backup a name of your choosing? Sometimes when I'm flash and loading a bunch of different stuff I like to do nandroid backups before each one so I can save my phone in various states. unfortunately that means that just the date and time stamp naming convention isn't enough for me to locate the exact one I want to restore.
Click to expand...
Click to collapse
Just use any file explorer (Astro, ES, etc.) and rename the backup file to anything you like...
i just tried to restore a nandroid backup, i did as above says, i went on the PC and re-named backup as something i`d remember put it back on the Desire, and nandroid just fails instantly at `MD5 mismatch`
could this be because the folder name changes after the backup has been made??, thanks.
You don't even need a computer to name your backups. All you need to do is download ROM manager from the market (the free version will suffice). Then whenever you need to make a nandroid backup, open the app, choose "Backup current ROM" and it will automatically ask you to name your backup from the get-go so that there aren't any problems afterwards.
DJ 1 said:
i just tried to restore a nandroid backup, i did as above says, i went on the PC and re-named backup as something i`d remember put it back on the Desire, and nandroid just fails instantly at `MD5 mismatch`
could this be because the folder name changes after the backup has been made??, thanks.
Click to expand...
Click to collapse
I get the mismatch failed sometimes if my battery isn't sufficiently charged. Renaming the folder won't mess up your backup.
If you use ROM Manager, it will allow you to specify the name of the backup before you create them and it generates the appropriate MD5 sum.
quahog_convo said:
If you use ROM Manager, it will allow you to specify the name of the backup before you create them and it generates the appropriate MD5 sum.
Click to expand...
Click to collapse
Which is exactly what I said just two post before this one.
when you rename a nandroid backup on your phone using a file explorer, don't put spaces when you rename it, putting spaces gives it an md5sum mismatch.

Restore Nandroid backup from different phone?

Can I restore a nandroid backup from a friends phone on to my phone?
Are there any problems that may occur if I do this?
In theory it should work. AS LONG AS BOTH OF YOU TWO HAVE THE SAME PHONE!!!
Try it and find out, but remember:
ONLY YOU ARE RESPONIBLE FOR BRICKING YOUR PHONE NANDROID FIRST!
Yes..
On your sdcard is a folder named nandroid. Inside this folder is a folder named HTXXXXXXXXXXXXX. This is your device id. Inside that folder are folders with dates. These folders hold all of the images from the backup. You will want to take one of these folders and place it into the same folders on your sdcard. The device ID folder has to be your device ID.
location|| Device ID ||Name of Nandroid (Folder)
|------||-------------||-------------------|
/sdcard/HT01FHF02297/BDES-20100412-1746
You can also change the Name of the Nadroid folder for easir reference, but it can not have spaces
unCoRrUpTeD said:
Yes..
On your sdcard is a folder named nandroid. Inside this folder is a folder named HTXXXXXXXXXXXXX. This is your device id. Inside that folder are folders with dates. These folders hold all of the images from the backup. You will want to take one of these folders and place it into the same folders on your sdcard. The device ID folder has to be your device ID.
location|| Device ID ||Name of Nandroid (Folder)
|------||-------------||-------------------|
/sdcard/HT01FHF02297/BDES-20100412-1746
You can also change the Name of the Nadroid folder for easir reference, but it can not have spaces
Click to expand...
Click to collapse
Yeah, it can be done. In fact, I actually save all my nandroids to my computers for safety reasons (e.g., in case my SD card dies on me, or my nandroid becomes corrupted for some unknown reason(s)). Anyway, just place the nandroid in the nandroid/HT[whatever_u'r_id_is]/ on u'r sd card as uncorrupted states above. It shouldn't mess with u'r phone number or what not... but although, you may end up with the same contacts, lol. I'm not sure how that aspect of it works... Try it and find out
I wonder if the nandroid's use the device ID number to label each nandroid (within) the file and if it has to match the device being flashed to... anyway, let us know how it comes out if you do try it. And remember, nandroid u'r current setup first before trying it, just in case it messes up u'r phone for some reason. But I honestly don't fore see that happening. Good luck!
Sorry if i sounds stupid, but I'm not used to nandroid stuff. i understand most of it but in theory can i just place my sd card into my new aria (my current one has a broken screen) and nandroid backup it? should it be ok?
tripstermcgee said:
Sorry if i sounds stupid, but I'm not used to nandroid stuff. i understand most of it but in theory can i just place my sd card into my new aria (my current one has a broken screen) and nandroid backup it? should it be ok?
Click to expand...
Click to collapse
You should be ok. It will make a new device folder in the nandroid folder, then you can manually move your others over to the new one.
-----
Sent from my CDMA Hero. I got some hot Gingerbread-on-Hero action here!
No confirmation post
I wish he would have confirmed this works, I just got a lemon exchange from the SHack and I'm wondering if I have to set it all back up or if I can just restore to an old backup. I understand that this works in theory and I get the whole changing the device id thing but there is no confirmation that this works.
BUT i will try and give a yay or nay confirmation now.
Edit: IT DOES Work. I did this on a LG G2x. It did not have the device ID I expected., (worried me a little it was the wrong stuff), I assume some phone have this some don't, but as far as I can tell this worked just fine.
I'm geeked when i realized I had to redo my 12 emails and sign into a dozen or more apps and config all those personalized settings again I was pissed. But now I'm good.
Thanks XDA and all the Devs and Geeks out there that make this a great site.
no folder as nandroid only clockworkmod which as all my backup. opening a backup folder shows XXXXX.md5, XXXXX.vfat.tar, XXXXX.rfs.tar, XXXXX.rfs.tar, XXXXX.rfs.tar

[ H E L P ] EFS folder and files needed!!! Phone bricked!!!

Hi! Anyone can upload EFS folder \efs) ? You can attach as zip file. Doesn't matter, it's important to be there all files.
I bricked my phone and I want to unbrick. Please, anyone who is experimented, please help me!
Best Regards,
Cristian Silaghi
NO one found this folder on the galaxy mini....the phone can turn on or not?? if yes u can unbrick...
efs folders are unique you have just removed your imei now if you don't have your own backup nothing can be done
now your mobile is a mp4 player if anyone uploads his efs file his mobile will also be a mp4player
dheeraj (dhlalit11) said:
... if anyone uploads his efs file his mobile will also be a mp4player
Click to expand...
Click to collapse
Just because you're a Recognized Contributor, that doesn't mean you can bull****.
That is not true! Admit it, you don't know how pull the /efs ot from your phone
Like you said, /efs folder contains alot of things that are unique for each phone (WiFi MAC adress, IMEI, product code and what not), so we can't just give someone our /efs. Even if we could, the way of pulling those files from the phone are not known to me.
Wish we knew a way to backup it, when something like this happens - you just put the backup and away you go
just because am an rc that doesn't mean am bullying
nothing difficult in backing up efs file just go to /efs and copy those files to your sdcard and they will be backed up
but efs is visible only in operator specific models in normal phones imei is hardcodded in the mobile
mine galaxy s is of at&t and I can see the efs folder, prior of flashing roms on it I did a backup of that folder
and sometimes it got deleted then I just need to copy them back
can't see on original galaxy s of my friend
the thing is one imei cannot be used in two mobile there can be many conflicts and some also related to laws
only one sim can be used at a time on a single imei
that's why I said mp4player but you can still try to share your efs files if it works then just keep it else delete it
op if you have your operator specific firmware and it contains an efs.rfs file then you may have the possibility of getting back your imei
just try it, may work
dheeraj (dhlalit11) said:
just because am an rc that doesn't mean am bullying
nothing difficult in backing up efs file just go to /efs and copy those files to your sdcard and they will be backed up
but efs is visible only in operator specific models in normal phones imei is hardcodded in the mobile
mine galaxy s is of at&t and I can see the efs folder, prior of flashing roms on it I did a backup of that folder
and sometimes it got deleted then I just need to copy them back
can't see on original galaxy s of my friend
the thing is one imei cannot be used in two mobile there can be many conflicts and some also related to laws
only one sim can be used at a time on a single imei
that's why I said mp4player but you can still try to share your efs files if it works then just keep it else delete it
Click to expand...
Click to collapse
Things on Galaxy S and on our mini are a little bit different for that /efs matter, because nvdata.bin is in devblock5 or something like that, an on Galaxy S it's in a different place. Strange, but it is that way, i tried all the Galaxy S tutorials to make a backup and none of them worked.
And yeah, you cant just copy the folder since that will **** up th permissions and then the files are almost useless.
Yeah, he has a great MP4 now, unfortunately :/
I know imei is unique, thats why i said ''if we could give our efs''
just copying the efs files works great for me
I never changed permission of efs files
and had done it three times by just copying
If you distroy your IMEI becouse of bml/efs you can repair it with JTAG. Write full dump then repair its IMEI (to be the one from you stiker). Generaly this is a Service job becouse you dont't have the necessary tools.
i don't have this /efs folder, but i still can browse internet, call my friends, do a SMS, play music. Just like a normal phone do.
F4uzan said:
i don't have this /efs folder, but i still can browse internet, call my friends, do a SMS, play music. Just like a normal phone do.
Click to expand...
Click to collapse
if you cant see that doesn't mean you don't have efs
it is just that you cannot see it like you cannot see bootloader, kernel etc.

[Q] Problems Backing Up EFS info

Hi. I'm new to rooting and flashing ROM's. I have had a Samsung Captivate (Gingerbread) that I haven't been using for quite some time and I thought I might try to update it to KitKat. I have read that it would be important to back up the EFS file so that I can keep my IMEI info. I rooted my phone using the tutorial on these forums and tried to use EFS Pro, but was not able to get past "the device is not perm rooted". Various threads suggested changing adb status, but I could not find that information (though I was able to find the USB debugging selection). I know that the phone is rooted so I looked for an older copy of EFS Pro in case the newer versions had dropped support for the Captivate. I couldn't find one so I looked at other ways to back up the files, but most information was for other (newer) Samsung phones. I could not install Samsung Tools. I really don't want to proceed with installing KitKat before backing up the EFS information. How do I go about doing this? I have tried the search function on the forum for this device and couldn't find what I was looking for (or maybe I didn't understand the information). Any thoughts?
I hope flashing KitKat will be easier than this issue...
Thanks.
Curious D said:
Hi. I'm new to rooting and flashing ROM's. I have had a Samsung Captivate (Gingerbread) that I haven't been using for quite some time and I thought I might try to update it to KitKat. I have read that it would be important to back up the EFS file so that I can keep my IMEI info. I rooted my phone using the tutorial on these forums and tried to use EFS Pro, but was not able to get past "the device is not perm rooted". Various threads suggested changing adb status, but I could not find that information (though I was able to find the USB debugging selection). I know that the phone is rooted so I looked for an older copy of EFS Pro in case the newer versions had dropped support for the Captivate. I couldn't find one so I looked at other ways to back up the files, but most information was for other (newer) Samsung phones. I could not install Samsung Tools. I really don't want to proceed with installing KitKat before backing up the EFS information. How do I go about doing this? I have tried the search function on the forum for this device and couldn't find what I was looking for (or maybe I didn't understand the information). Any thoughts?
I hope flashing KitKat will be easier than this issue...
Thanks.
Click to expand...
Click to collapse
You could just manually backup your efs folder using a root explorer or through adb. Have that backup on your pc in case you lose your IMEI.
That being said, when it happens (which is fairly rare), a flash back to stock (KK4) usually fixes it and then you're fine to update/flash again.
Other EFS backup options would include:
1) EFS☆IMEI☆Backup by wanam >> his xda thread, his playstore listing.
2) [HOWTO]Comprehensive IMEI/EFS Backup lists two simple ways to permanently backup up IMEI on your phone. One is with adb, the other is with Terminal Emulator for those with rooted devices. The commands used are said to be based on "Samsung's built in backup." The thread is in the SGS3 forum, if nothing else is an excellent source of background information for backing up and restoring nvdata.
I tried to copy the efs folder using Root Browser because the adb method looked very involved. When I started Root Browser, it was able to see a Titanium backup that I had placed into the SD card even though I had formatted the SD card. I figured that the format didn't wipe the information so I proceeded to copy the efs folder over. However, after copying the folder, I stuck the card into my computer and did not see the folder and could not copy the folder over to my computer. Is it because the card is formatted differently than my computer or is it that the file is not compatible with Windows given that it is an Android folder?
Will copying the folder be enough for backing up? If it is this easy to restore the efs, why use EFS Pro? Is there something else with the folder that needs to be present in order to restore a phone that loses IMEI information?
Curious D said:
I tried to copy the efs folder using Root Browser because the adb method looked very involved. When I started Root Browser, it was able to see a Titanium backup that I had placed into the SD card even though I had formatted the SD card. I figured that the format didn't wipe the information so I proceeded to copy the efs folder over. However, after copying the folder, I stuck the card into my computer and did not see the folder and could not copy the folder over to my computer. Is it because the card is formatted differently than my computer or is it that the file is not compatible with Windows given that it is an Android folder?
Will copying the folder be enough for backing up? If it is this easy to restore the efs, why use EFS Pro? Is there something else with the folder that needs to be present in order to restore a phone that loses IMEI information?
Click to expand...
Click to collapse
If you have it on your SD card, it should be fine. The idea is to have it on something else than your device's internal memory in case something goes wrong and can't get it there.
As for efs pro, some devices can't manually backup like the Cappy or is not enough. But once again, it doesn't happen very often that you lose your IMEI.
Okay. That's great. I guess I can try my first ROM flashing to KitKat. Thanks.

Categories

Resources