backup question - HTC One V

i just wanted to know since a nandroid backup backs up the boot.img of a rom as well as the data, could i make different "stock" backups of roms and just format the system and factory reset and restore roms from backups? like say i back up pacman rom, then go to stock. can i just reflash pacman without the boot.img (say i dont have a computer) and restore the backup? would that make the boot.img work? cause if so i could have one backup of each rom on my 16gb sd card and just reflash when i need it. thanks guys

sneakysnake16 said:
i just wanted to know since a nandroid backup backs up the boot.img of a rom as well as the data, could i make different "stock" backups of roms and just format the system and factory reset and restore roms from backups? like say i back up pacman rom, then go to stock. can i just reflash pacman without the boot.img (say i dont have a computer) and restore the backup? would that make the boot.img work? cause if so i could have one backup of each rom on my 16gb sd card and just reflash when i need it. thanks guys
Click to expand...
Click to collapse
Which recovery are you on and are you primoc or primou?..... I don't think the recovery will actually backup the boot.img even though it says it does... someone else might be able to answer better though

Sorry forgot that but I'm primoc with twrp 2 recovery on Pac man 19.3
Sent from my HTC One V using xda premium

sneakysnake16 said:
i just wanted to know since a nandroid backup backs up the boot.img of a rom as well as the data, could i make different "stock" backups of roms and just format the system and factory reset and restore roms from backups? like say i back up pacman rom, then go to stock. can i just reflash pacman without the boot.img (say i dont have a computer) and restore the backup? would that make the boot.img work? cause if so i could have one backup of each rom on my 16gb sd card and just reflash when i need it. thanks guys
Click to expand...
Click to collapse
No it wont..... U have to flash boot.img again.....even though its backed up, it is not restored due to S-on

rohov said:
No it wont..... U have to flash boot.img again.....even though its backed up, it is not restored due to S-on
Click to expand...
Click to collapse
Damn thanks!
Sent from my HTC One V using xda premium

Related

Nandroid Backups! (need a bit knowledge)

Hi guys! So I mess with my phone all the time, switching kernels etc. I am running the ARHD 7.1.0 ROM and I did a Nandroid backup in CWM just in case anything bad happens to it.
I came from a Galaxy S2 though and was thinking of some questions that came into my mind. It would be nice for u to tell me that:
1. Does the backup flashes the "boot.img" automatically? or u have to "fastboot flash boot boot.img"??
2. Does it backs up the kernel?
3. Does it backs up my personal data like the SMS, Contacts and settings etc?
4. What will happen if I restore my stock nandroid backup over this?
5. Can I restore some other person's HTC One X's Stock/Custom ROM backup? Will it work?
THANKS!! ^_^
what version of RUU u have there ? is it an Asia_India? 1.29.720.11?
WasifSal said:
Hi guys! So I mess with my phone all the time, switching kernels etc. I am running the ARHD 7.1.0 ROM and I did a Nandroid backup in CWM just in case anything bad happens to it.
I came from a Galaxy S2 though and was thinking of some questions that came into my mind. It would be nice for u to tell me that:
1. Does the backup flashes the "boot.img" automatically? or u have to "fastboot flash boot boot.img"??
2. Does it backs up the kernel?
3. Does it backs up my personal data like the SMS, Contacts and settings etc?
4. What will happen if I restore my stock nandroid backup over this?
5. Can I restore some other person's HTC One X's Stock/Custom ROM backup? Will it work?
THANKS!! ^_^
Click to expand...
Click to collapse
1. Yes, it flashes the boot.img automatically no need to use adb.
2. Yes, it backs up the kernel you we're on when you made the backup.
3. Yes, the backup will restore things to the exact state your phone was in when you made the backup. But if your really paranoid use something like titanium backup first to back up SMS etc.
4. If you restore your stock backup it will return your phone to complete stock but you will keep root access.
5. Yes technically you could restore another person's backup but I'd be careful doing that as it may cause some problems with corruption.
Sent from my SCH-I535 using xda premium
shimp208 said:
1. Yes, it flashes the boot.img automatically no need to use adb.
2. Yes, it backs up the kernel you we're on when you made the backup.
3. Yes, the backup will restore things to the exact state your phone was in when you made the backup. But if your really paranoid use something like titanium backup first to back up SMS etc.
4. If you restore your stock backup it will return your phone to complete stock but you will keep root access.
5. Yes technically you could restore another person's backup but I'd be careful doing that as it may cause some problems with corruption.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Thanks bro! U rawk! \m/
GUARDIANBD said:
what version of RUU u have there ? is it an Asia_India? 1.29.720.11?
Click to expand...
Click to collapse
??
WasifSal said:
Thanks bro! U rawk! \m/
Click to expand...
Click to collapse
Well there is some confusion.
A backup doesn't flash anything.
The restore won't flash the boot.img.

[Q] Do I ALWAYS have to flash a new boot image when installing a rom?

Hello,
I'm coming from a HTC Desire, and when reading the guides how to install roms on the HOX, the neccesity to flash a separate boot.img for every rom via fastboot was new to me.
Is this always the case? And lets say I have a stable 4.0.4 installation and want to mess around with CM10 - I get that have to flash the CM10 boot.img before installing the ROM, but would I then also have to re-flash my old boot.img before rstoring my old nandroid backup, or is the boot image included in the backup?
Thanks aheasd for an answer,
saxelfur
i guess yes.. you have to re-flash the boot.img of the rom that you are restoring...
faiz02 said:
i guess yes.. you have to re-flash the boot.img of the rom that you are restoring...
Click to expand...
Click to collapse
Okay, thanks - so I suppose right now there is now way to restore a backup from a different rom on the go. Oh well, I should be able to live without that
saxelfur said:
Okay, thanks - so I suppose right now there is now way to restore a backup from a different rom on the go. Oh well, I should be able to live without that
Click to expand...
Click to collapse
You do not have to flash the boot.img before restoring a nandroid backup...Y
ou restore everything, boot.img included.
panooos said:
You do not have to flash the boot.img before restoring a nandroid backup...Y
ou restore everything, boot.img included.
Click to expand...
Click to collapse
Great, even better!
panooos said:
You do not have to flash the boot.img before restoring a nandroid backup...Y
ou restore everything, boot.img included.
Click to expand...
Click to collapse
Not true; if you're restoring a backup which used a different boot.img than the one you already have installed, you need to manually flash the boot.img from your nandroid backup in fastboot.
The reason we have to use fastboot to flash the boot.img is that, thanks to HTC's security policies, it is not possible to write to the boot partition from recovery. Hence when you flash a ROM the boot.img isnt written, and has to be manually flashed. This also means that when you restore a backup in recovery it is still unable to write to the boot partition, so the boot.img from your backup is not written and must also be flashed manually.
hopscotchjunkie said:
Not true; if you're restoring a backup which used a different boot.img than the one you already have installed, you need to manually flash the boot.img from your nandroid backup in fastboot.
The reason we have to use fastboot to flash the boot.img is that, thanks to HTC's security policies, it is not possible to write to the boot partition from recovery. Hence when you flash a ROM the boot.img isnt written, and has to be manually flashed. This also means that when you restore a backup in recovery it is still unable to write to the boot partition, so the boot.img from your backup is not written and must also be flashed manually.
Click to expand...
Click to collapse
Really? I once flashed a kernel and could not pass the loading screen...everything got fixed as soon as i restored my backup...
Lucky for you. But these guys are correct. The only way to flash boot is through fastboot.
Recovery restore cannot restore a boot.img
Sent from my HTC One X using xda app-developers app
panooos said:
Really? I once flashed a kernel and could not pass the loading screen...everything got fixed as soon as i restored my backup...
Click to expand...
Click to collapse
Yep. Boot partition simply isn't writable from recovery (without s-off). There's no difference between recovery trying to write a boot.img from a zip on /sdcard and recovery trying to write a boot.img from a folder on /sdcard (if there was we would just need to modify recovery to treat new flashes as restores to get around the problem).
I'm not saying it won't work if you don't; if you're switching between Sense ROMs or restoring an earlier version of the ROM you're using then there's a good chance that the ROM will still boot and run fine, but you'll be running with the kernel & ramdisk you had before the restore.
Always learning sth new... Ty
Sent from my HTC One X using xda app-developers app
Well shoot. How do I get the boot.img from the stock rom that came with it. It wasn't exactly in standard .zip format for me to extract the .img......
If you did a nandroid backup it's there in plain sight.

Nandroid restore Problem

Hello to all,
I have Arc with ICS .587 installed and rooted, CWM is Also installed. Whenever i try to restore my Backup i end up in bootloop, sometines its restored but somethings are not working like no service, some widgets are Gone, cant get into Phone settings as the setting button is completly gone from phone.
Please can good Samaritan help me
Thanking All in Advance
Do you Wipe Data/Factory Reset/Cache etc before restore?
did you changed kernel?
if you chanege the name of the backup, things will not work.
gabimx said:
did you changed kernel?
if you chanege the name of the backup, things will not work.
Click to expand...
Click to collapse
yes....not change the name of backup...
moreover if you have flashed a zip and it didn't go fine....there is a possibility that the istallation have spoiled the backup or file of kernel...(for all I know it happened to me in this way)
Yes Guys i do make a full wipe before restore, and after making a backup i transfer it to pc for Safe storage, so whenever i need it i transfer it back to cloclworkmod folder
centi50 said:
Yes Guys i do make a full wipe before restore, and after making a backup i transfer it to pc for Safe storage, so whenever i need it i transfer it back to cloclworkmod folder
Click to expand...
Click to collapse
If u flash custom kernel, u need to also flash wifi modules before rebooting after restore...
I dont Flash custom Kernel, everything is stock, by the way My Arc is Bootlocked so customs kernels
While you make backup does cwm show any errors? have you checked the log ? Does the restore process complete without errors ? And do you fix permissions and mount system /data etc before restoring ?
nikufellow said:
While you make backup does cwm show any errors? have you checked the log ? Does the restore process complete without errors ? And do you fix permissions and mount system /data etc before restoring ?
Click to expand...
Click to collapse
Backup Completes without Error, and no i do not Fix permission or Mount System/Data before restore.
centi50 said:
Backup Completes without Error, and no i do not Fix permission or Mount System/Data before restore.
Click to expand...
Click to collapse
Then do it ! and try again .
This is what is happening to me. Lets say am Running on GB Rom e.g X-Gamer, now i want to try lets say Optimax Rom, i backup my Current ROM which is X-Gamer, then i try to restore it to see if its works, and i find that it works. so Flash ICS Original Sony ROM and root it. in the end i Have Sony Stock ROM.587 and CWM installed. So far am ok.
Now i Install ICS based ROM like Optimax or JellySandwhich. Everything goes Fine, so i Backup That ROM too and keep a copy on my Laptop. Now i decide to go to my old backup of X-Gamer, i Boot to recovery do a full wipe + i mount data/system and fix permission as i have CWM 5.5.0.4. which has permission option in it. i continue to restore my X-Gamer Backup. After Finnishing of course without error. i reboot the phone and Bam!!. Bootloop.
I reflash GB.42 with Flashtool, root it and install CWM. Boot to recovery and try to restore my X-Gamer backup, and WOLA!! it's restored.
same with ICS Backup. Reflash Stcok Rom root it and restore the ICS backup i made, and it works.
As i know i may be wrong (am a noob) The backup is a snapshot of the rom, so regardless of what rom someone is running when he restores the Backup, he should be back to that ROM in the backup and not to reflash first the corresponding Stock ROM in order for the Backup to work.
Please somebody help and shade some light
Have you used the same recovery all the time? Switching recoveries can "sometimes" not flash backups properly. Either that or it didn't back it up properly in the first place. TBH there's not much we can can do. The backup is corrupted and for that it is causing bootloops and braking things. All I can suggest to you is to reinstall a fresh install of the ROM and then try an advanced restore of your applications and data just not the Boot.img or the system.img
Sent from my Galaxy Nexus using xda premium
Jessie-James said:
Have you used the same recovery all the time? Switching recoveries can "sometimes" not flash backups properly. Either that or it didn't back it up properly in the first place. TBH there's not much we can can do. The backup is corrupted and for that it is causing bootloops and braking things. All I can suggest to you is to reinstall a fresh install of the ROM and then try an advanced restore of your applications and data just not the Boot.img or the system.img
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I have tried to use same recovery, but same result. restoring backup across different ROM does not work for me it seems. I have to have a working corresponding rom as the backup am trying to Resotre. for example if i want to restore my backup of GB ROM, i have to have a working GB Rom already on Phone. I Can't restore an ICS Rom while my Phone is On GB and vice verser.
centi50 said:
Please somebody help and shade some light
Click to expand...
Click to collapse
Flashing an ftf also flashes the kernel, so restoring a GB backup when you originally installed ICS or vice versa will give you issues as CWM doesn't backup your kernel.
XperienceD said:
Flashing an ftf also flashes the kernel, so restoring a GB backup when you originally installed ICS or vice versa will give you issues as CWM doesn't backup your kernel.
Click to expand...
Click to collapse
Thanks XperienceD for Clarifying. now i undersatnd. Just wanted to ask is it possible to flash A GB Sock Kernel on an ICS ROM or vice versa, then using the backup to restore thru CWM, as this will save time than to reflash the ftf, root it and install CWM just only to restore your backup.
centi50 said:
as this will save time than to reflash the ftf, root it and install CWM just only to restore your backup.
Click to expand...
Click to collapse
This is why it's better to unlock your BL, then it's just a flash of a kernel then restoring your backup.

[Q] Bit of a noob question regarding backups and switching ROMs

I just want to confirm this and it might be a foolish question... But if I'm using AOKP and I have a CM10.1 backup, can I do a restore to that backup and it will restore to that ROM as well? Or do I need to re-flash CM10.1 before restoring the backup?
Thanks, still figuring all this out!
The backup contains everything of the rom. Apps/contacts...you name it. Make sure when you are coming from another rom back to the backup to flash the boot.img from the backup !
Mr Hofs said:
The backup contains everything of the rom. Apps/contacts...you name it. Make sure when you are coming from another rom back to the backup to flash the boot.img from the backup !
Click to expand...
Click to collapse
Thanks for the quick answer! It actually looks like CWM automatically does the boot.img as well! At least for AOKP back to CM10.1...
Thanks again!
A nandroid backup contains all ! ,the recovery at the time of backing up. Even the boot.img. restoring a nandroid backup wont restore the boot img. It needs to be flashed manually

[Q] Quick Question on boot.img from Nandroid recovery...

Hey guys, just a quick question about restoring from a nandroid backup. Let's assuming I'm using custom rom A and made a nandroid backup of it. Then later on, I change to custom rom B and made another nandroid backup of that.
Well, assuming the boot.img from both custom rom A and B are different, then say if I were to restore back to custom rom A, I would have to re-flash the boot.img for that rom correct? OR, will restoring custom rom A from the nandroid backup also flash the boot.img for me automatically?
I came from other phones where flashing a new rom or from a nandroid backup is simply a one-step process. HTC One X is the first phone I've used where I have to deal with flashing the boot.img as an additional step as well, so just wanna confirm if this is the case for a nandroid restore as well.
chaoscreater said:
Hey guys, just a quick question about restoring from a nandroid backup. Let's assuming I'm using custom rom A and made a nandroid backup of it. Then later on, I change to custom rom B and made another nandroid backup of that.
Well, assuming the boot.img from both custom rom A and B are different, then say if I were to restore back to custom rom A, I would have to re-flash the boot.img for that rom correct? OR, will restoring custom rom A from the nandroid backup also flash the boot.img for me automatically?
I came from other phones where flashing a new rom or from a nandroid backup is simply a one-step process. HTC One X is the first phone I've used where I have to deal with flashing the boot.img as an additional step as well, so just wanna confirm if this is the case for a nandroid restore as well.
Click to expand...
Click to collapse
You have to flash the boot.img for the ROM you're restoring through fastboot. Recovery cannot flash boot.img for you since you need S-OFF, which impossible to achieve (let's not go there).
tomascus said:
You have to flash the boot.img for the ROM you're restoring through fastboot. Recovery cannot flash boot.img for you since you need S-OFF, which impossible to achieve (let's not go there).
Click to expand...
Click to collapse
yup got it. Thanks!

Categories

Resources