[Q] Quick firmware related question - HTC Sensation

Hey guys, just a quick question, must we always flash the firmware zip file first in bootloader before flashing a custom rom?
I ask this because I had already flashed the latest firmware (3.33.401.6) ages ago, I've been using albinoman887's CM 10.2 rom and Carbon Rom without any problems (well actually, I do have battery issues and 2 small minor issues). But today, I decided to check my firmware version using fastboot command
fastboot getvar version-main
Click to expand...
Click to collapse
and I got something like 1.24.401.1.
Well, that's obviously wrong, so I flashed the firmware again and this time it shows the proper version.
So I was just wondering, does doing a full wipe or flashing a new rom affect the firmware at all? Must we flash it everytime prior to flashing a new rom? I don't understand how my firmware was changed even though all I've been doing is switching between JB custom roms.

chaoscreater said:
Hey guys, just a quick question, must we always flash the firmware zip file first in bootloader before flashing a custom rom?
I ask this because I had already flashed the latest firmware (3.33.401.6) ages ago, I've been using albinoman887's CM 10.2 rom and Carbon Rom without any problems (well actually, I do have battery issues and 2 small minor issues). But today, I decided to check my firmware version using fastboot command and I got something like 1.24.401.1.
Well, that's obviously wrong, so I flashed the firmware again and this time it shows the proper version.
So I was just wondering, does doing a full wipe or flashing a new rom affect the firmware at all? Must we flash it everytime prior to flashing a new rom? I don't understand how my firmware was changed even though all I've been doing is switching between JB custom roms.
Click to expand...
Click to collapse
It happened to me too and I still don't know what caused it to change. Maybe it changed after I performed S-Off or maybe it changed after flashing ViperS 3.1.2.
Edit: It is not causing any problem as your actual firmware is same. You can flash any ICS/JB rom with this firmware. No need to flash firmware before flashing ROM.
Sent from my Sensation

MrJukeHardbane said:
It happened to me too and I still don't know what caused it to change. Maybe it changed after I performed S-Off or maybe it changed after flashing ViperS 3.1.2.
Sent from my Sensation
Click to expand...
Click to collapse
Hmm......ok so now do you flash the firmware every time before you flash a new custom rom then?
For me, the 1st time I flashed the 3.33 firmware was when I've had S-OFF first, then I flashed the firmware and then the custom ROM after, in the proper order.
But I still don't know if I need to flash the firmware everytime or not.

chaoscreater said:
Hmm......ok so now do you flash the firmware every time before you flash a new custom rom then?
For me, the 1st time I flashed the 3.33 firmware was when I've had S-OFF first, then I flashed the firmware and then the custom ROM after, in the proper order.
But I still don't know if I need to flash the firmware everytime or not.
Click to expand...
Click to collapse
No. I never flashed firmware as my firmware is already 3.33 and it just shows 1.24.401. I just flash any ICS/JB Rom and it boots perfectly that means I've latest firmware. There's no need to flash firmware even if it shows 1.24.401
Sent from my Sensation

MrJukeHardbane said:
No. I never flashed firmware as my firmware is already 3.33 and it just shows 1.24.401. I just flash any ICS/JB Rom and it boots perfectly that means I've latest firmware. There's no need to flash firmware even if it shows 1.24.401
Sent from my Sensation
Click to expand...
Click to collapse
Well, I'm the exact same with you, I could still flash JB or ICS custom roms even though mine says 1.24.401.
However, I read somewhere that it's not accurate to check under Settings for the firmware version as it could have been edited in build.prop. The safest way to check is to put your phone in fastboot mode and run the CMD command:
fastboot getvar version-main
Click to expand...
Click to collapse
I read that today and decided to check it again to make sure, and my firmware version comes up as 1.24.401. I then decided to flash the 3.33 firmware again, this time after running the same fastboot command, I get the proper firmware version shown as 3.33.xxx.x (can't remember what it was).
So ya, I think something must have went wrong....

Related

[S4] Flashing from CM10 to TrickDroid 7.1 does not work

Hey Guys,
yesterday I wanted to revert my ROM from CM10 to TrickDroid 7.1. In TWRP 2.2.1 I wiped caches and did a factory reset and then flashed TD 7.1 following torxx's instructions (wipe, install ROM, flash boot.img with his boot flash script, let the ROM boot). After the reboot the phone hang. The startup sound came through but then no further action for about 7 Minutes.
Was that too little time waiting? Or is there any other issue interfering the boot process after reverting from Android 4.1.1 to 4.0.4 Sense?
If anyone can help is much appreciated. Even if I look stupid afterwords
Burkhard
herzbert said:
Hey Guys,
yesterday I wanted to revert my ROM from CM10 to TrickDroid 7.1. In TWRP 2.2.1 I wiped caches and did a factory reset and then flashed TD 7.1 following torxx's instructions (wipe, install ROM, flash boot.img with his boot flash script, let the ROM boot). After the reboot the phone hang. The startup sound came through but then no further action for about 7 Minutes.
Was that too little time waiting? Or is there any other issue interfering the boot process after reverting from Android 4.1.1 to 4.0.4 Sense?
If anyone can help is much appreciated. Even if I look stupid afterwords
Burkhard
Click to expand...
Click to collapse
Perhaps your hboot does not allow flashing or boot.img? Have you tried the fastboot method of flashing boot.img? How about reverting to a nandroid of a sense based ROM, then flashing TD?
el_smurfo said:
Perhaps your hboot does not allow flashing or boot.img? Have you tried the fastboot method of flashing boot.img? How about reverting to a nandroid of a sense based ROM, then flashing TD?
Click to expand...
Click to collapse
Prior to CM10 I was on latest stock ROM. Before that I had custom ROMs. HBoot on my phone after the OTA update is 1.14. Flashing the boot image of CM10 was no problem.
In order to use the phone I reinstalled CM10 and it works.
The boot images were flashed within fastboot. I do not know any other way to flash a boot image.
I dont have a nandroid backup.
Checked MD5?
torxx said:
Checked MD5?
Click to expand...
Click to collapse
They correspond.
If nothing else helps I will try to install the latest RUU and then flash a ROM. But I wanna circumvent the relock and unlock procedure.
Btw: Did anybody notice that the unlock code changes after an update of HBoot? Nobody mentioned that when the new base was released.
Same here... But fine now
herzbert said:
They correspond.
If nothing else helps I will try to install the latest RUU and then flash a ROM. But I wanna circumvent the relock and unlock procedure.
Btw: Did anybody notice that the unlock code changes after an update of HBoot? Nobody mentioned that when the new base was released.
Click to expand...
Click to collapse
Hey there,
I was having the same problems as you messioned. I flashed the boot.img through fastboot myself and some how it then worked Did not have an problems with flashing the boot.img before. But maybe its worth a try.
Of course you need to use fastboot!!
Did not try yet to flash the RUU. There was an update of CM10 yesterday. The heavy battery drain is gone with this update and there is no urgent need to go back to TrickDroid right now.
herzbert said:
Prior to CM10 I was on latest stock ROM. Before that I had custom ROMs. HBoot on my phone after the OTA update is 1.14. Flashing the boot image of CM10 was no problem.
In order to use the phone I reinstalled CM10 and it works.
The boot images were flashed within fastboot. I do not know any other way to flash a boot image.
I dont have a nandroid backup.
Click to expand...
Click to collapse
HBoot 1.14 is the problem. Anything above 1.09 needs special steps to flash unlike simply flashing with twrp as with 1.09 and below.
Sent from my HTC VLE_U using Xparent SkyBlue Tapatalk 2
LikeaG2root said:
HBoot 1.14 is the problem. Anything above 1.09 needs special steps to flash unlike simply flashing with twrp as with 1.09 and below.
Alright, so, what are these special steps? Can you tell? If its not flashing the within recovery and push the boot.img via fastboot to the phone I would be very interested. My previous HBoot version was 1.13. Flashing ROMs was never a big deal. Also not going to CM9 and back to sense based ROMs.
Click to expand...
Click to collapse
I am on hboot 1.14 and it worked via fastboot. Like you mentioned yourself you reinstalled CM10 and it booted, therefore your previous flash of the boot.img didn't work. So just flash the boot.img via bootloader and fastboot and you should be good...
HighRoIIer said:
I am on hboot 1.14 and it worked via fastboot. Like you mentioned yourself you reinstalled CM10 and it booted, therefore your previous flash of the boot.img didn't work. So just flash the boot.img via bootloader and fastboot and you should be good...
Click to expand...
Click to collapse
I did also flash the boot.img via fastboot. Why do you say that anyway? Is there another method to flash a boot.img?
you didn't mention wiping System as part of the full wipe--needs done
Partially solved
rugmankc said:
you didn't mention wiping System as part of the full wipe--needs done
Click to expand...
Click to collapse
Right, I did not mention it because system is wiped by TWRP during flashing the ROM. So there was no need to wipe it seperately. But maybe my mistake was not to wipe data and the new "asec" folder messed things up.
I'll never know because yesterday I did a complete wipe including the SDCard. Afterwards I was able to install TrickDroid flawlessly.
Thank you all for your efforts.

Viper XL and boot.img

Hey guys I just wanna to check and make sure I'm doing everything right before I flash cause I don't need anymore paperweights
1.I have successfully unlocked my bootloader and installed twrp recovery and rooted.
2. Now I want to back up my entire setup: rom, apps, setting, data, everything so that if I ever want to return to stock then I can. I have booted into twrp and ran backup and selected all options. Is that how you perform a nandroid backup in twrp or is there more to it?
3. I want to install team venom viper xl rom. Do I have to first flash boot.img first or is the kernel the same in stock and viper xl so that isn't necessary? Do I have to do I factory reset first or what?
I'm still new to this stuff so please bear with me. Thank for all your help!!
ImagioX1 said:
Hey guys I just wanna to check and make sure I'm doing everything right before I flash cause I don't need anymore paperweights
1.I have successfully unlocked my bootloader and installed twrp recovery and rooted.
2. Now I want to back up my entire setup: rom, apps, setting, data, everything so that if I ever want to return to stock then I can. I have booted into twrp and ran backup and selected all options. Is that how you perform a nandroid backup in twrp or is there more to it?
3. I want to install team venom viper xl rom. Do I have to first flash boot.img first or is the kernel the same in stock and viper xl so that isn't necessary? Do I have to do I factory reset first or what?
I'm still new to this stuff so please bear with me. Thank for all your help!!
Click to expand...
Click to collapse
Wipe flash Rom flash boot IMG sit back enjoy
ImagioX1 said:
Hey guys I just wanna to check and make sure I'm doing everything right before I flash cause I don't need anymore paperweights
1.I have successfully unlocked my bootloader and installed twrp recovery and rooted.
2. Now I want to back up my entire setup: rom, apps, setting, data, everything so that if I ever want to return to stock then I can. I have booted into twrp and ran backup and selected all options. Is that how you perform a nandroid backup in twrp or is there more to it?
3. I want to install team venom viper xl rom. Do I have to first flash boot.img first or is the kernel the same in stock and viper xl so that isn't necessary? Do I have to do I factory reset first or what?
I'm still new to this stuff so please bear with me. Thank for all your help!!
Click to expand...
Click to collapse
Different kernel. it is using the 2.41 RUU. So go ahead and flash the boot.img
Here's what you should do for any new ROM with a different kernel.
Wipe System
Factory Reset
Flash boot.img
Flash the ROM
flash gapps (if AOSP based)
reboot and have fun
When doing a nandroid backup, it is only necessary to backup
System
Data
Boot
Ok thanks for your response but I'm still a little confused. First did I back up my current rom properly so that I can return to it later on? Secondly does viper and boot img have to be flashed or can they be installed from sdcard via twrp? If they have to be flashed whats the fastboot command.?
ImagioX1 said:
Ok thanks for your response but I'm still a little confused. First did I back up my current rom properly so that I can return to it later on? Secondly does viper and boot img have to be flashed or can they be installed from sdcard via twrp? If they have to be flashed whats the fastboot command.?
Click to expand...
Click to collapse
You backed up fine, it just takes up a little more space.
You have to extract the boot.img from the ROM and put it in the same folder as fastboot.exe
open command prompt, and navigate to the folder fasboot.exe is in and do the following command
fasboot flash boot boot.img
If it gets stuck at waiting for device, reboot into your bootloader, boot into fastboot from there. and then try again.
ImagioX1 said:
Ok thanks for your response but I'm still a little confused. First did I back up my current rom properly so that I can return to it later on? Secondly does viper and boot img have to be flashed or can they be installed from sdcard via twrp? If they have to be flashed whats the fastboot command.?
Click to expand...
Click to collapse
Viper is the Rom u flash it from twrp it's. azip file that's fkashable so make it easy and flash viper there and than flash the boot IMG from fastboot the command is all over the forums I thinks it fastnoot flash boot.img
don't be confused. read.
you always have to flash boot.img in fastboot "fastboot flash boot boot.img" then flash the zip in twrp make sure to wipe, and don't download international roms. you still have to flash the boot.img from your backed up rom.
like a hundred threads asking the same stuff because no one wants to read
DvineLord said:
don't be confused. read.
you always have to flash boot.img in fastboot "fastboot flash boot boot.img" then flash the zip in twrp make sure to wipe, and don't download international roms. you still have to flash the boot.img from your backed up rom.
like a hundred threads asking the same stuff because no one wants to read
Click to expand...
Click to collapse
I'm sorry but I did read. I saw that if you have the same kernel as that of the rom you're flashing you don't have to flash boot.img. So I asked to see if stock and viper have the same kernel. I don't want to flash anything that will brick my phone.
Now one more question if you don't mind answering. I also saw that you can't downgrade RUU. So if viper is based on 2.41 RUU and stock is 2.20 RUU then will I be able to go stock after flashing viper?
I really do appreciate yalls help. i would be where I am if it weren't for you.
ImagioX1 said:
I'm sorry but I did read. I saw that if you have the same kernel as that of the rom you're flashing you don't have to flash boot.img. So I asked to see if stock and viper have the same kernel. I don't want to flash anything that will brick my phone.
Now one more question if you don't mind answering. I also saw that you can't downgrade RUU. So if viper is based on 2.41 RUU and stock is 2.20 RUU then will I be able to go stock after flashing viper?
I really do appreciate yalls help. i would be where I am if it weren't for you.
Click to expand...
Click to collapse
Yes. Just wipe you system and do a factory reset , and flash the boot.IMG for 2.20 and then flash the Rom.
If you want true stock 2.20 then you will have to relock your bootloader and then run the 2.20 RUU. You would only want to do this if making a warranty claim or something. If you want stock rooted, then yes, do what I said above
Sent from my HTC One XL using xda app-developers app
absolutelygrim said:
Yes. Just wipe you system and do a factory reset , and flash the boot.IMG for 2.20 and then flash the Rom
Sent from my HTC One XL using xda app-developers app
Click to expand...
Click to collapse
Ok got it. I do appreciate your help. Flashing now.
downgrading only refers to the ruu not the zipped roms. so you can't run 1.85 ruu after running 2.20 ruu/ota but you can still flash a rom based on 1.85.
if you are reflashing the same rom you don't have to reflash boot.img but if you are flashing a new rom then you need to flash boot.img. 7-zip will tell you the crc32 of files so you see tell if it's a different checksum.
Viper Xl's great. Seems to be slightly slower than stock on some task, but the lack of bloatware, and the extensive customization is worth it. Haven't found any bugs or nothing so far. If anyones familiar with viperxl though what is the last app in the app drawer? Its got a chinese name? When it loads it says Dolby Surround but all the writing is in chinese?
ImagioX1 said:
Viper Xl's great. Seems to be slightly slower than stock on some task, but the lack of bloatware, and the extensive customization is worth it. Haven't found any bugs or nothing so far. If anyones familiar with viperxl though what is the last app in the app drawer? Its got a chinese name? When it loads it says Dolby Surround but all the writing is in chinese?
Click to expand...
Click to collapse
That's because you flashed the Voodoo mod, it's apart of the mod, theres a chinese part and a english one called "Dolby Digital" or "Dolby Surround"
When I flash ViperXL 3.1.0 JB do I need to flash a radio too? My phone has hboot 1.4 and software 2.2, so I understand that I cant flash radio with hboot 1.4? Does this mean I need to downgrade my hboot/software version?
CrossFire78 said:
When I flash ViperXL 3.1.0 JB do I need to flash a radio too? My phone has hboot 1.4 and software 2.2, so I understand that I cant flash radio with hboot 1.4? Does this mean I need to downgrade my hboot/software version?
Click to expand...
Click to collapse
Most people have good luck w/out flashing another radio.
ronnie498 said:
Most people have good luck w/out flashing another radio.
Click to expand...
Click to collapse
Hmm. Might there be a patch I'm missing out on? I just flashed one file -ViperXL 3.1.0 JB - Android File Host (692MB)
edit- Works now after another reinstall installed boot image first this time.

back up/restore

I have h-boot 1.14 withe twrp recovery, I backed up my phone with a previous rom i had and my question is would I have to install the image again after i restore the phone or should the phone restore without any problems.
cal4877 said:
I have h-boot 1.14 withe twrp recovery, I backed up my phone with a previous rom i had and my question is would I have to install the image again after i restore the phone or should the phone restore without any problems.
Click to expand...
Click to collapse
Most of the time yes you will have to install the boot .img manually coming from a different base or Rom... But say if you're on viper and your back up is the same base sense Rom you probably wouldn't have to reflash it... But if coming from cm10 or anything else yes
a box of kittens said:
Most of the time yes you will have to install the boot .img manually coming from a different base or Rom... But say if you're on viper and your back up is the same base sense Rom you probably wouldn't have to reflash it... But if coming from cm10 or anything else yes
Click to expand...
Click to collapse
Awesome thanks man, also im currently running nocturnals dirty rom I believe this is a AOKP rom, now if i want to flash another AOKP or any other CM10 base rom wouldnt the image be the same? or the i have to flash another image of the rom aswell?
cal4877 said:
Awesome thanks man, also im currently running nocturnals dirty rom I believe this is a AOKP rom, now if i want to flash another AOKP or any other CM10 base rom wouldnt the image be the same? or the i have to flash another image of the rom aswell?
Click to expand...
Click to collapse
Be safe and flash it
Is it necessary to reflash rom before restore or can you just fastboot flash boot.IMG and just restore backup?
Sent from my One X using xda premium
I believe you have to flash boot. IMG and than restore according to the comments up there
I just wish we had to option to downgrade the software/hboot without going thru all those steps listed, I remeber i had the htc inspire and you will be able to downgrade hboot by choosing a downgraded version of Ruuu files.
cal4877 said:
I just wish we had to option to downgrade the software/hboot without going thru all those steps listed, I remeber i had the htc inspire and you will be able to downgrade hboot by choosing a downgraded version of Ruuu files.
Click to expand...
Click to collapse
Yeah I loved the inspire that's what got me into android... But I got my phone on hboot 1.09 I've never done the downgrade process but I heard it can be pretty simple

[Q] OTA Update downloaded, but didn't install.

So the official OTA Jellybean update has been out for awhile now, but I'm just now trying to get to the bottom of my issue. My issue being that my OTA update downloaded but didn't install. Please note that, 1. I am an amateur with roms and such, and 2. My phone is rooted.
I have opened the OTA zip file with the Rom Manager's Rom Pre-installation, but I am lost on what to do from there. I figure there is a way I can install this update on my phone manually.
One more thing, I have tried flashing a rom before, but there was an error and I had to restore to my stock rom.
Attachment is a screenshot of the Rom Pre-installation screen.
Sent from my HTC One X using xda app-developers app
I would suggest not using Rom Manager for anything. Flash it in recovery. Plus that looks like an old version.
Sent from my Evita
If you have custom recovery installed, OTA will fail. OTA is looking for stock recovery to perform the install. If it doesn't find it, it stops.
Unlocked bootloader may also cause OTA to fail, can't remember.
timmaaa said:
I would suggest not using Rom Manager for anything. Flash it in recovery. Plus that looks like an old version.
Sent from my Evita
Click to expand...
Click to collapse
As I said, previously, I have had issues with flashing roms. But according to Rom Manager, it says the zip I have is a "Rom addon". Should that give me a different result than flashing a rom?
redpoint73 said:
If you have custom recovery installed, OTA will fail. OTA is looking for stock recovery to perform the install. If it doesn't find it, it stops.
Unlocked bootloader may also cause OTA to fail, can't remember.
Click to expand...
Click to collapse
Well, that's the cause of the issue. I have TWRP installed, and I have an unlocked bootloader.
caskla said:
As I said, previously, I have had issues with flashing roms. But according to Rom Manager, it says the zip I have is a "Rom addon". Should that give me a different result than flashing a rom?
Click to expand...
Click to collapse
ROM Manager is for flashing custom ROMs, and in the case of the "addons" for custom mods packaged as flashable zips. I would not expect it to install official OTAs.
What "issues" have you had with flashing ROMs? If you are rooted and bootloader unlocked, I wouldn't typically recommend to install OTAs at all. Install a custom ROM or stock rooted (if you want a stock type ROM), otherwise, why did you unlock in the first place?
Also, if you are SuperCID (probably the case since you are rooted) and S-on, you are lucky the OTA didn't install. It would have bricked the phone. Same thing if you try to RUU. If you really want to return to stock, you either need to change back to the proper AT&T CID, or S-off, then run the RUU.

[Q] Installing the updated kernel and firmware for CM

Hey,
right now I'm on CM 10.1 (2013 03 12 nightly) and I want to update to the latest CM 10.2 nightly.
However after flashing the nightly I get a bootloop. I found out that CM started using a new kernel which I have to update first. And in order to do so, I need to update the firmware as well. http://forum.xda-developers.com/showthread.php?t=2322755
It says that the new firmware is 2.15.0000. But when I enter the bootloader it displays that I am already on 2.15.0000:
http://abload.de/img/img_68993jl4l.jpg
Note: I haven't updated the firmware or anything yet. But it appears that I'm already on the new firmware, right?
But then: why am I getting bootloops when flashing the new nightles? Do I have to flash the new kernel manually in fastboot? Or does TWRP does it all by itself? Do you think I can try flashing the kernel because HBOOT is 2.15.0000 or do I have to do the tutorial?
Sorry, I'm kind of new to this whole flashing thing, so pleas be patient with me..
Oh btw: the model is ville
Thank you guys.
//Oh I just remember that I did the htc sense jb update when it came out _before_ flashing CM. And that jb update should include the new firmware right? So I can just proceed with flashing the new kernel in fastboot?
Your hboot is fine for the ROM. You're S-On so you need to flash boot.img after flashing the ROM. That's your problem.
Sent from my One S using xda app-developers app
abracadabra11 said:
Your hboot is fine for the ROM. You're S-On so you need to flash boot.img after flashing the ROM. That's your problem.
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
Okay, I just did that and it seems to work.
There were some problems with the CM account and a lot of crashes but after that it seems to work just fine.
Thank you

Categories

Resources