Back up boot IMG - HTC Desire C

Is it possible to backup a rom and restore from it with a different version... I have a cm10 backup(system only)I'm currently in cm10.1 can restore without having to flash boot IMG??? If not is there a way to restore without fastboot.

No you cannot use different version kernels on not corresponding version roms. No you cannot flash boot IMG without the android debug bridge
Sent from my HTC Desire C using xda app-developers app

me4488 said:
No you cannot use different version kernels on not corresponding version roms. No you cannot flash boot IMG without the android debug bridge
Sent from my HTC Desire C using xda app-developers app
Click to expand...
Click to collapse
Can I back up the system and boot...and successfully restore from different version without having to flash IMG?

Even of you have backed up boot, you still have to use fastboot to flash kernel. I think it's because we don't have s-off.. Now don't ask what is s-off, google it if you don't know

I do know what s-off is... why doesn't HTC pico have to flash kernel when change a rom? it is doesn't have s-off

yasir4abbas said:
Can I back up the system and boot...and successfully restore from different version without having to flash IMG?
Click to expand...
Click to collapse
You cant flash it without fastboot. You dont need to back it up as there are download links all over.

Related

[Q] How to flash a rom with a different kernel?

I am trying to flash the de sensed rom from wajeeh and he suggests that I should flash KozmickKick's RC1 Kernel. Those are two separate files so I have no idea how to flash it from kernel then rom.
Please help. I am still a beginner at with rooting and stuff
GlowingStar said:
I am trying to flash the de sensed rom from wajeeh and he suggests that I should flash KozmickKick's RC1 Kernel. Those are two separate files so I have no idea how to flash it from kernel then rom.
Please help. I am still a beginner at with rooting and stuff
Click to expand...
Click to collapse
Flash the Rom in recovery the go into bootloader and fastboot flash the boot.IMG unless you're s-off in which case you can download my s-off kernel version and just flash that in recovery too.
Sent from my HTC PH39100 using xda premium
Thank you for your help
Sent from my HTC PH39100 using XDA
How do you flash a kernel in fastboot?
GlowingStar said:
How do you flash a kernel in fastboot?
Click to expand...
Click to collapse
put the boot.img in the same folder as fastboot open the folder in a open area right click while hitting shift key pick command prompt at the prompt type fastboot flash boot boot.img hit enter of course your phone must be hooked up to the computer in fastboot usb mode
Thanks. I figured it out and now running de sense.

[Q] backingup stock recovery???

I would like to know as to how can i backup stock recovery? Bcoz, i wish to go S-off and unlocked via Revone method, then flash TWRP, flash a few mods, and then get back to stock recovery , s-off, locked bootloader. Is that all possible. Does a nandroid backup, backup's stock recovery as well???
Thanks in advance guys.
You can't do a nandroid without custom recovery so that is out of the picture. OTA zip files however contain the recovery file you need.
mathrania said:
I would like to know as to how can i backup stock recovery? Bcoz, i wish to go S-off and unlocked via Revone method, then flash TWRP, flash a few mods, and then get back to stock recovery , s-off, locked bootloader. Is that all possible. Does a nandroid backup, backup's stock recovery as well???
Thanks in advance guys.
Click to expand...
Click to collapse
If you're still on stock recovery at the moment - go into fastboot and command:
fastboot boot name_of_your_custom_recovery.img
This will just boot into custom recovery without flashing it. Do a backup and it will backup your stock recovery.
Sent from my HTC One using xda premium
redbull123 said:
If you're still on stock recovery at the moment - go into fastboot and command:
fastboot boot name_of_your_recovery.img
This will just boot into recovery without flashing it. Do a backup and it will backup your stock recovery.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Yes I am in stock recovery..
how do I know the name of the recovery?? Or do I need to name it by mnyself..... and after backup, which place do i need to find it in my phone to secure the backup copy....
Sorry, Limited to 8 thanks per day...
mathrania said:
Yes I am in stock recovery..
how do I know the name of the recovery?? Or do I need to name it by mnyself..... and after backup, which place do i need to find it in my phone to secure the backup copy....
Sorry, Limited to 8 thanks per day...
Click to expand...
Click to collapse
You'll need to download either CWM or TWRP. You can rename the download if you want to something like cwm.img or twrp.img to make it easier.
Once the backup is done it will be on your phones internal storage in the clockworkmod or TWRP folder - depending which one you choose to boot. Just copy it to your PC.
Sent from my HTC One using xda premium
redbull123 said:
You'll need to download either CWM or TWRP. You can rename the download if you want to something like cwm.img or twrp.img to make it easier.
Once the backup is done it will be on your phones internal storage in the clockworkmod or TWRP folder - depending which one you choose to boot. Just copy it to your PC.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
I will comeback to thank you after my limit of 8 thanks per day get expired
redbull123 said:
You'll need to download either CWM or TWRP. You can rename the download if you want to something like cwm.img or twrp.img to make it easier.
Once the backup is done it will be on your phones internal storage in the clockworkmod or TWRP folder - depending which one you choose to boot. Just copy it to your PC.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
One question though... i bought this phone as a used, and it was Tampered and Relocked. When I selected the recovery option, it booted the phone to somewhat stock like recovery, and then after some process, the phone rebooted, and the phone was totally Factory Reset.... everything in the storage was gone too..... so is there an way to check if it is indeed a stock recovery, or this is the normal behaviour of stock recovery...?
You need to unlock your bootloader before doing anything with custom recovery. Use Revone or the official HTC Dev method
Sent from my HTC One using xda premium
redbull123 said:
If you're still on stock recovery at the moment - go into fastboot and command:
fastboot boot name_of_your_custom_recovery.img
This will just boot into custom recovery without flashing it. Do a backup and it will backup your stock recovery.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Good tip
redbull123 said:
If you're still on stock recovery at the moment - go into fastboot and command:
fastboot boot name_of_your_custom_recovery.img
This will just boot into custom recovery without flashing it. Do a backup and it will backup your stock recovery.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
this method of just booting a custom recovery used to work with OLDER hboot versions. but it doesn't work with newer hboots. my hboot version is 1.54.0000 and when I use the command mentioned above, my bootloader menu just freezes!! guess I'll have to look for the OTA file then to find the stock bootloader!
pritam.paul.360 said:
this method of just booting a custom recovery used to work with OLDER hboot versions. but it doesn't work with newer hboots. my hboot version is 1.54.0000 and when I use the command mentioned above, my bootloader menu just freezes!!
Click to expand...
Click to collapse
Yep, I know. It worked when I wrote it, over 6 weeks ago.
Sent from my HTC One using XDA Premium 4 mobile app
redbull123 said:
Yep, I know. It worked when I wrote it, over 6 weeks ago.
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
uh, I see! guess I didn't notice the date!
pritam.paul.360 said:
this method of just booting a custom recovery used to work with OLDER hboot versions. but it doesn't work with newer hboots. my hboot version is 1.54.0000 and when I use the command mentioned above, my bootloader menu just freezes!! guess I'll have to look for the OTA file then to find the stock bootloader!
Click to expand...
Click to collapse
Not sure if it helps as I was still on 1.44 HBoot, but when I tried the command while the bootloader was locked, my bootloader would also freeze and I had to do a hard reset. Once I unlocked my bootloader, the boot command worked.
wckong said:
Not sure if it helps as I was still on 1.44 HBoot, but when I tried the command while the bootloader was locked, my bootloader would also freeze and I had to do a hard reset. Once I unlocked my bootloader, the boot command worked.
Click to expand...
Click to collapse
first of all, you must have your bootloader unlocked in order to boot/flash a custom recovery. you can't do so if your bootloader is locked. and secondly, yeah, I also had the boot command worked out before I had the 1.54 Hboot. I guess this one doesn't allow 'just' booting a custom recovery!

[Q] Bootloop after going GPE to a 4.4 Rom

A couple of months back I flashed my HTC One to a GPE Rom and then updating using OTA to Android 4.3 which was working fine.
Upon finding this: http://forum.xda-developers.com/showthread.php?t=2356654
I wanted to flash to 4.4 using it. I followed instructions and it said it installed fine.
However I'm no stuck in a boot loop.
I get the "HTc quietly brilliant" screen and then it reboots, and this loops.
I can hold down vol button and then select recovery but as soon as I do it reboots and I cannot get into recover. I've tried a few adb commands like adb reboot recovery etc. and it just says device not found. Any tips?
Is your bootloader unlocked? Custom or stock recovery?
Sent from my HTC One using Tapatalk
Ivanovic said:
Is your bootloader unlocked? Custom or stock recovery?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Before doing the flashing I was bootloader unlocked and was using clockwork mod if that is what you're asking.
You flashed a custom Google edition Rom or your converted your phone to Google edition (change cid,stock Rom,stock recovery) ?
Sent from my HTC One using Tapatalk
Ivanovic said:
You flashed a custom Google edition Rom or your converted your phone to Google edition (change cid,stock Rom,stock recovery) ?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
I didn't change anything, just flashed a Rom to make it a GPE. I just installed clockwork mod and flashed the rom.
this is the name of the rom I used
bigxie_m7_GPe_JWR66V_odexed-signed
Maybe the 4.4 you flashed isn't compatible. I suggest you flash back that Rom or restore your nandroid backup if any
Sent from my HTC One using Tapatalk
Ivanovic said:
Maybe the 4.4 you flashed isn't compatible. I suggest you flash back that Rom or restore your nandroid backup if any
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
How can I do this if my phone won't go into recovery and just keeps looping to boot screen?
Reflash cwm or twrp. You need the latest version.
Then flash again ARHD 5.1 Rom and make sure you full wipe.
Sent from my HTC One using Tapatalk
Ivanovic said:
Reflash cwm or twrp. You need the latest version.
Then flash again ARHD 5.1 Rom and make sure you full wipe.
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Same here. I even dunno how to flash a new recovery...i don´t have any access to the phone - only hboot...
Boot to bootloader. Choose fastboot and then connect your phone to PC.
Next step is to download the latest version of your favorite custom recovery and place it inside the fastboot folder. Open a command window and write fastboot devices to check that fastboot is working and then write the following:
Fastboot flash recovery filename.img
Sent from my HTC One using Tapatalk
Ivanovic said:
Boot to bootloader. Choose fastboot and then connect your phone to PC.
Next step is to download the latest version of your favorite custom recovery and place it inside the fastboot folder. Open a command window and write fastboot devices to check that fastboot is working and then write the following:
Fastboot flash recovery filename.img
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Ok,but there´s a little problem : ABD couldn´t find my device..
Download the latest HTC drivers. There are in the android development sub forum
Sent from my HTC One using Tapatalk
Ivanovic said:
Download the latest HTC drivers. There are in the android development sub forum
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Puh...recovery works again.Thanks ! But I got another question : Is it possible to flash a ROM directly by using ADB ?
No. But you can use adb to transfer a Rom to your sdcard using adb push command
Sent from my HTC One using Tapatalk
Ivanovic said:
No. But you can use adb to transfer a Rom to your sdcard using adb push command
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Like discribed in this thread ?
http://forum.xda-developers.com/showthread.php?t=1667929
Yes, that is the way to so it
Sent from my HTC One using Tapatalk
Ivanovic said:
Yes, that is the way to so it
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
It won´t work...
I´m not able to mount/unmount system with theTWPR 2.6.3.0...but it´s the only recovery that works. I couldn´t even find the right cwm recovery...damn...
I'm was having the exact same problem, and I believe it's because you're S-ON like I am (says in the first green line of the bootloader)
Problem is try as I might (rum runner, Moonshine, revone) I cannot for the life of me get my phone S-OFF
Rum runner tells me there is no adb connection to the device, yet moonshine has no problem there and it's driving me nuts.
Until you can get S-OFF (and if you manage it let me know how) you'll more than likely have bootloop issues with that ROM
DiCR7 said:
I won´t work...
I´m not able to mount/unmount system with theTWPR 2.6.3.0...but it´s the only recovery that works. I couldn´t even find the right cwm recovery...damn...
Click to expand...
Click to collapse
Make sure adb works and write the paths correctly. What kind of error did you get?
Sent from my HTC One using Tapatalk
Ivanovic said:
Make sure adb works and write the paths correctly. What kind of error did you get?
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
This one seems to be proper :
C:\Program Files\Minimal ADB and Fastboot>adb push Android_Revolution_HD-One_4.1
_GE.zip /sdcard/Android_Revolution_HD-One_4.1_GE.zip
2282 KB/s (452221989 bytes in 193.456s)
..but after that,,,unable to open the zip file..and the best - the zip file has gone!!
Hmm..with TWPR I´m not able to mount the sdcard..maybe thats the failure...

Can't return to stock ?

I tried to return to stock using mike1986 instructions. ie, download stock Rom and put on sd and download stock recovery for fastboot flash.
Problem was, when I tried to fastboot flash the recovery I got a message that "appeared" to be sayin the recovery was to big in size.
Does that make any sense to anyone, if so, can anyone suggest anything ?
Thanks
Edit, I'm s-on
Sent from my HTC One using XDA Free mobile app
10rdan said:
I tried to return to stock using mike1986 instructions. ie, download stock Rom and put on sd and download stock recovery for fastboot flash.
Problem was, when I tried to fastboot flash the recovery I
Does that make any sense to anyone, if so, can anyone suggest anything ?
Thanks
Edit, I'm s-on
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
I was having problems before had encrypted ruu instead of decrypted,not sure if that helps but fixed my problem to return to stock.make sure you have wright ruu for carrier
10rdan said:
I tried to return to stock using mike1986 instructions. ie, download stock Rom and put on sd and download stock recovery for fastboot flash.
Problem was, when I tried to fastboot flash the recovery I got a message that "appeared" to be sayin the recovery was to big in size.
Does that make any sense to anyone, if so, can anyone suggest anything ?
Thanks
Edit, I'm s-on
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
First off, Post a fastboot getvar all ( minus your imei no and serial no ).
Is your bootloader unlocked?
post links to recovery you were trying to flash and how you were trying to flash it?
bored_stupid said:
First off, Post a fastboot getvar all ( minus your imei no and serial no ).
Is your bootloader unlocked?
post links to recovery you were trying to flash and how you were trying to flash it?
Click to expand...
Click to collapse
Was trying to flash stock, 4.19.401.11, recovery via fastboot command after flashing stock Rom via twrp. Wouldn't flash, question is why ?
Handset is "found" with "adb device", just wouldn't flash recovery.
Sent from my HTC One using XDA Free mobile app
10rdan said:
Was trying to flash stock, 4.19.401.11, recovery via fastboot command after flashing stock Rom via twrp. Wouldn't flash, question is why ?
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
Without a fastboot getvar all and a screenshot of your bootloader, and how you tried to flash it, i cant say
bored_stupid said:
Without a fastboot getvar all and a screenshot of your bootloader, and how you tried to flash it, i cant say
Click to expand...
Click to collapse
I've gone back to, backed up, ARHD62 so can't give you what you're asking for. Thanks anyway.
Reason I wanted to go back to stock was to get latest firmware when it's released then re unlock bootloader etc and flash ARHD71. NOT s-off.
Sent from my HTC One using XDA Free mobile app
10rdan said:
I've gone back to, backed up, ARHD62 so can't give you what you're asking for. Thanks anyway.
Reason I wanted to go back to stock was to get latest firmware when it's released then re unlock bootloader etc and flash ARHD71. NOT s-off.
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
BTW, a getvar can be gotten no matter what ROM you are on... it would help identify your device, and if you do want to stay S-On, perhaps find a signed firmware.zip for your phone.

stuck on fastboot usb while boot to recovery

Hi guys!
So i unlocked my m7 and though i could flash a twrp custom recovery.
But somehow the phone stuck on fastboot usb when i boot to recovery via cmd command promp...
I got :
C:\xxxxxxxxx\mini-sdk>fastboot boot twrp-3.0.0-2-m7.img
downloading 'boot.img'... OKAY
booting... OKAY
But the phone won t boot to recovery.
The vol up/down doesn t work either so i had to use power button to shut down my phone..
Tried many times but it didn t work.
Somebody knows why is that ?
nARDOs said:
Hi guys!
So i unlocked my m7 and though i could flash a twrp custom recovery.
But somehow the phone stuck on fastboot usb when i boot to recovery via cmd command promp...
I got :
C:\xxxxxxxxx\mini-sdk>fastboot boot twrp-3.0.0-2-m7.img
downloading 'boot.img'... OKAY
booting... OKAY
But the phone won t boot to recovery.
The vol up/down doesn t work either so i had to use power button to shut down my phone..
Tried many times but it didn t work.
Somebody knows why is that ?
Click to expand...
Click to collapse
The "fastboot boot recovery.img" is not supported in hboot 1.54 to 1.61 (was only supported in 1.44). So you can't boot a recovery you must flash it over your stock recovery using "fastboot flash recovery twrp-3.0.0-2-m7.img":
Code:
fastboot flash recovery twrp-3.0.0-2-m7.img
fastboot erase cache
fastboot reboot-bootloader
Then reboot in recovery mode.
alray said:
The "fastboot boot recovery.img" is not supported in hboot 1.54 to 1.61 (was only supported in 1.44). So you can't boot a recovery you must flash it over your stock recovery using "fastboot flash recovery twrp-3.0.0-2-m7.img":
Code:
fastboot flash recovery twrp-3.0.0-2-m7.img
fastboot erase cache
fastboot reboot-bootloader
Then reboot in recovery mode.
Click to expand...
Click to collapse
Thanks
Got custom recovery.
Just need to find a stock recovery next time :good:
Another question: is the nandroid backup size that big ? it said 6504 MB and i have only about 2700MB available..
Need to free some space...........
nARDOs said:
Thanks
Got custom recovery.
Just need to find a stock recovery next time :good:
Another question: is the nandroid backup size that big ? it said 6504 MB and i have only about 2700MB available..
Need to free some space...........
Click to expand...
Click to collapse
Nandroid backup of? It depends what is included in the backup.... if the data partition is included and there were a lot of things saved on the phone then yes it can be really big.... Normally id say around 1.5 gb is normal when its a stock backup without any user data.
alray said:
Nandroid backup of? It depends what is included in the backup.... if the data partition is included and there were a lot of things saved on the phone then yes it can be really big.... Normally id say around 1.5 gb is normal when its a stock backup without any user data.
Click to expand...
Click to collapse
Was actually thinking of stock backup without user data.
Do i have to backup "Boot" also ? or only the "system".
nARDOs said:
Was actually thinking of stock backup without user data.
Do i have to backup "Boot" also ? or only the "system".
Click to expand...
Click to collapse
Boot is the kernel and system is the OS. I would recommend to backup both of them. Boot isn't very big so it worth being backed up.
Sent from my HTC One using XDA Labs
alray said:
Boot is the kernel and system is the OS. I would recommend to backup both of them. Boot isn't very big so it worth being backed up.
Sent from my HTC One using XDA Labs
Click to expand...
Click to collapse
OK.
Is the Root feature on TWRP stable ? Can i use it to root ?
alray said:
Boot is the kernel and system is the OS. I would recommend to backup both of them. Boot isn't very big so it worth being backed up.
Sent from my HTC One using XDA Labs
Click to expand...
Click to collapse
Hi again,
Can I find stock recovery.img on the nandroid file ?
Didn t find it t there.
nARDOs said:
OK.
Is the Root feature on TWRP stable ? Can i use it to root ?
Click to expand...
Click to collapse
If you are going to use twrp's root make sure you have a recent twrp version otherwise it will flash an outdated SU version and cause a Bootloop. But yes it's a reliable method, if you prefer you can flash the latest supersu.zip file from twrp.
nARDOs said:
Hi again,
Can I find stock recovery.img on the nandroid file ?
Didn t find it t there.
Click to expand...
Click to collapse
Stock recovery isn't included in a nandroid. What is your version-main number? Will try to find it for you.
Sent from my HTC One using XDA Labs
alray said:
If you are going to use twrp's root make sure you have a recent twrp version otherwise it will flash an outdated SU version and cause a Bootloop. But yes it's a reliable method, if you prefer you can flash the latest supersu.zip file from twrp.
Stock recovery isn't included in a nandroid. What is your version-main number? Will try to find it for you.
Sent from my HTC One using XDA Labs
Click to expand...
Click to collapse
Thanks mate.
Mine is 7.19.401.51.
nARDOs said:
Thanks mate.
Mine is 7.19.401.51.
Click to expand...
Click to collapse
yep make sure to use SuperSu 2.65
https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip
alray said:
yep make sure to use SuperSu 2.65
https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip
Click to expand...
Click to collapse
Thanks :good:
Do u know a better custom ROM which is not based on sense ?
I m thinking about miui v6 (don t know if there is stable miui v7 for m7) or cm12 (or stable cm13)

Categories

Resources