yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] ensign.fodder:
revone segmentation fault - Help?

I have already done the HTC unlock so if that is the source of all problem - let me know and it will end there.

If not then.

Win 7x64 PC & HTC One AT&T & HBOOT 1.44

Following the excellent Volmer instructions (copy paste mostly) I get to

C:\System\HTC>adb shell
shell@android:/ $ cd /data/local/tmp
cd /data/local/tmp
shell@android:/data/local/tmp $ ls
ls
revone
shell@android:/data/local/tmp $ chmod 755 revone
chmod 755 revone
shell@android:/data/local/tmp $ ./revone -P
./revone -P
revone v0.2.1

Gaining root access (thanks to Dan's motochopper)...Segmentation fault (core dumped)

After that I have tried a full power off and restart of One

Tried redoing the same steps multiple times (expecting different results != insanity)

Went to the XDA revone thread - Link and found no wisdom

All with no luck.

Did fastboot getvar all and got error

C:\System\HTC>adb reboot bootloader

C:\System\HTC>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4A.17.3250.20
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 1.26.502.15
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT34XW999999 <-I changed value
(bootloader) imei: 123456789012345 <-I changed value
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4301mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
getvar:all FAILED (status read failed (Too many links))
finished. total time: 0.047s

Going to remove HTC Sync and reboot PC to see if that helps.

Anything to add?

Thanks!
[One (M7) Android Development] Shizophren:
[/COLOR]

Yeah, why it's so small?

Can I flash it onto 401.1 and got all the improvements from 401.1?
[One (M7) Android Development] descenpet:
because it is a small update that is supposed to be flashed on top of 2.24.401.1. there is nothing wrong with that.
[One (M7) Android Development] guyd:
If you took the complete AT&T .15 OTA update, then you won't be able to S-Off.

They patched the H-Boot in the .15 OTA, but kept the same 1.44 version number. The latest T-Mobile OTA has the same issue.
[One (M7) Android Development] sajysaj:
Can't update firmware

Hi guys, first off, thanks for the ROM mike. Running 13.3 after a dirty flash from 12.3 and no problems at all. Wondering if anyone can help, I'm trying to upgrade my firmware from 2.24.401.1 to 2.24.401.8, but it keeps giving me the following error

writing 'zip'...

(bootloader) adopting the signature contained in this image...

(bootloader) signature checking...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

FAILED (remote: 42 custom id check fail)

I've tied flashing loads of times but keeps giving me the error.

Any help would be appreciated. I am S-off.
[One (M7) Android Development] scifitrekkie:
Did you change your CID when you s-off'd earlier?

Looking at this, looks like you CID doesn't match the firmware you are trying to flash
[One (M7) Android Development] sajysaj:
Thanks, looks like CID was the problem. Changed it and the update worked first time.
[One (M7) Android Development] ensign.fodder:
Thanks for the information! Would a reset to factory clear this issue? I am pretty sure the bootloader unlock wiped device and made an AT&T device update need to be applied again.

Thanks again for the tip.
[One (M7) Android Development] descenpet:
factory reset won't revert the firmware/hboot if that is what you are asking.
[One (M7) Android Development] WangChung:
SMASHED IT!!!!

[MENTION=1363323]vomer[/MENTION] brilliant guide! does exactly like it says on the tin!

i'm sporting S-OFF, Super CID, latest firmware and the latest ARHD 13.3 ROM (props [MENTION=1582496]Mike19[/MENTION]86)

peeps follow the guide, measure twice, cut once. you are a sure thing!

WC
[One (M7) Android Development] prim3:
New firmware is online:

http://xdaforums.com/showthread.php?p=44965212
[One (M7) Android Development] vomer:
Yup, but that is from the GE base (4.3).

Looks like new touch panel drivers were added too.
[One (M7) Android Development] prim3:
Yes you are correct ;)
[One (M7) Android Development] vomer:
I have created 2 sections in the main post now (one for 4.2.2 and one for 4.3). :good:

new radio might be worthwhile to try for folks on 4.2.2 roms.
[One (M7) Android Development] descenpet:
Nope that touch is same as 2.24
[One (M7) Android Development] vomer:
Ahh, maybe they are bringing it to GE roms now then :good:
[One (M7) Android Development] 99piotrek:
Hey....

Since 3.09 changes hboot to 1.55 any chance for keeping black hboot from 3.06?
[One (M7) Android Development] jaxtripp:
Just delete the hboot file from the firmware file before flashing. I did this on my one with no issues.

Big thanks to Vomer for the tips in performing this.
[One (M7) Android Development] Clselfridge:
Hey vomer thanks so much for this guide and keeping up with the latest firmware. This is the 3rd or 4th time i have come back here for the latest update. have never had even one hiccup following your well laid out instructions.
[One (M7) Android Development] maxal:
+1 worked for me to.;)
[One (M7) Android Development] vomer:
Cheers :highfive:
[One (M7) Android Development] LHCDeimos:
Great write up! Now successfully running latest 4.3 base firmware, with red letter's removed aswell. Feels great to be up to date on this device!
[One (M7) Android Development] KyMaP:
Can i downgrade hboot 1.54 to 1.44 ?
[One (M7) Android Development] toca79:
Guys i need help, I am a noob regarding htc modding and i would like to update my firmware to the 2.24.401.8 version (i have the 1.28), i unlocked the phone via htcdev, do i have to follow the s-off part of the procedure or can i jump to the firmware flash part?

Thanks
[One (M7) Android Development] descenpet:
you NEED s-off to flash any firmware linked here since they are not signed.
[One (M7) Android Development] toca79:
Ok thanks for the info, for the s-off, I can proceed directly even if my phone is unlocked, or do i have to go back to stock before doing it?

Thanks
[One (M7) Android Development] descenpet:
you can do it with unlocked. stock rom is not necessary but apparently it doesn't work well or doesn't work at all on gpe roms. you should be fine if you are on sense rom and your hboot/firmware support s-offing
[One (M7) Android Development] jonata:
hi,

wich file have you used to remove the red text ?

tks bro
[One (M7) Android Development] vomer:
there is a seperate thread for that stuff. Please refer to it - but I do not endorse it... too risky for some small pointless text.
[One (M7) Android Development] np231:
so revone failed everytime I tried to push the command. I had to use a terminal app and just do it from my phone. This just worked. Not sure what was the problem. All the other steps worked using my computer and command prompt.

So if anyone is getting the error with revone, just use a terminal command app from play store and use the same commands using this app. It will work!
[One (M7) Android Development] ico86:
I need help.

Stuck on step 5, i get this

Am I doing something wrong or??
[One (M7) Android Development] bobatomix:
Maybe your hboot is 1.54. It doesn't work with it... For the moment!

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) Android Development] ico86:
Yes, my hboot is 1.54.0000

I'll be watching this tread for updates...

Poslano sa mog HTC One koristeći Tapatalk 4
[One (M7) Android Development] Jostian:
It's been over a month already waiting for a version for 1.54, so don't hold your breath :cool:
[One (M7) Android Development] rpmccormick:
No reply in 3 pages? Let me ask a question this way... what F/W upgrades are others missing out on by not including adsp.img, tz.img, and cir.img from older firmwares?

Also, is there any difference in these firmwares (4.2 vs 4.3 vs TMO-not-in-1st-post) in regards to 42mbps 1700MHz HSPA+ support?
[One (M7) Android Development] Element515:
You said not to flash from our firmware and skip the one with touch drivers... So, is it not advised to skip versions? Or will newer ones have the same features from previous. The touch drivers were an exception?
[One (M7) Android Development] vomer:
Each firmware released has some changes made in different components of the phone. As I understand, firmware updates are not cumulative so it is better to flash all in sequence.

I don't think firmwares are cumulative on updates. Always a good idea to flash but so far the touch drivers were the only major one that was not included in all firmware releases.

Sent from my Nexus 7
[One (M7) Android Development] ntt2006:
Need back to s-on from hboot 1.55

My phone staying in hboot 1.55, now I want to s-on back, so can I flash stock hboot 1.44 again and use revone to s-on?
[One (M7) Android Development] descenpet:
Revone doesn't support s-on through it's binary. You just have to s-on using fastboot.
[One (M7) Android Development] the playa!:
Do I need to type the command "./revone -s 0 -u" if I'm unlocked already? My HTC One is rooted and on ARHD, and its also unlocked.
[One (M7) Android Development] vomer:
you can skip the revone part if you are already s-off. Just remember to change your CID :good:
[One (M7) Android Development] the playa!:
No, I need to make it S-Off, since my One is unlocked, do I still have to type that command? I believe "-u" unlocks the phone right?
[One (M7) Android Development] vomer:
Ya still do it.

Sent from my HTC One
[One (M7) Android Development] Arkanius:
Two small questions.

1) The latest 4.3 firmware has the new touch drivers?

2) hboot is updated, but I don't lose S-Off right? (Revone)
[One (M7) Android Development] descenpet:
1) same as 2.24's

2) correct
[One (M7) Android Development] Arkanius:
Superb. Just updated to the latest firmware.

Thanks!

Don't notice much difference in the touch response, then again, I wasn't complaining before
[One (M7) Android Development] jdsign:
Hey vomer, I just want to say Thank you.

I am totally exhausted after updating 3 versions of firmware in a row. On every attempt I got this evil looking error saying

ERROR: could not clear input pipe; result e00002ed, ignoring...
ERROR: could not clear output pipe; result e00002ed, ignoring....
ERROR: usb_write failed with status e00002ed
ERROR: usb_write failed with status e000404f
sending 'zip' (28171 KB)...
ERROR: usb_write failed with status e000404f
FAILED (command write failed (No such file or directory))
finished. total time: 0.001s

No command was accepted anymore. I then reconnected USB-plug during the installation process (to be honest, it took me while to really do that, because I was really afraid that the interruption of the update procedure could end up in a brick). After replugging the phone, the OEM styled bootloader came back (silver logo) and I just tried to flash on and it worked for me.

So if someone else get the same problems: keep calm, replug the USB cable, and keep on flashing. ;)

Thanks again, vomer.
[One (M7) Android Development] ElBeaner:
so we can go from whatever fw package we're on straight to latest 4.3 even though OP says to flash the 2.24?

I haven't S-Off'd my phone yet, I am still on hboot 1.44 running ARHD 13.3. I'm about to go to the new ARHD 20 which is based off lates 4.3 Sense and want the fw to match.
[One (M7) Android Development] descenpet:
should be fine to flash 3.09 straight since it has all images
[One (M7) Android Development] the playa!:
How do I update to the new firmware, I just S-Off'ed my One.
[One (M7) Android Development] fongnd:
problem flashing latest firmware 3.09.401.1

my background

S-OFF with supercid

C:\adb>fastboot getvar all

INFOversion: 0.5

INFOversion-bootloader: 1.54.0000

INFOversion-baseband: 4A.18.3263.15

INFOversion-cpld: None

INFOversion-microp: None

INFOversion-main: 2.24.401.1

INFOversion-misc: PVT SHIP S-OFF

INFOserialno: HT345W911556

INFOimei: 354439054387578

INFOmeid: 00000000000000

INFOproduct: m7_ul

INFOplatform: HBOOT-8064

INFOmodelid: PN0712000

INFOcidnum: 11111111

INFObattery-status: good

INFObattery-voltage: 3866mV

INFOpartition-layout: Generic

INFOsecurity: off

INFObuild-mode: SHIP

INFOboot-mode: FASTBOOT

INFOcommitno-bootloader: dirty-d16dc66985

INFOhbootpreupdate: 11

INFOgencheckpt: 0

all: Done!

finished. total time: 0.084s

when I flash I got this error...

C:\adb>fastboot flash zip c:\adb\firmware.zip

sending 'zip' (28171 KB)... OKAY [ 3.113s]

writing 'zip'... FAILED (remote: not allowed)

finished. total time: 3.167s

does the bootloader 1.54 prevent me from flashing firmware?

thanks for all the help.
[One (M7) Android Development] MoDriouch:
After that u have to use the same command again.

So use fastboot flash zip c:\adb\firmware.zip again and wait
[One (M7) Android Development] descenpet:
don't skip steps :p

rebootRUU first
[One (M7) Android Development] fongnd:
Thanks,

Missed the method above -> rebootRUU
[One (M7) Android Development] guyd:
Read the first post. The instructions are clear and well written.
[One (M7) Android Development] vomer:
These two posts cover why some people are having issues. Guys, reading and following the guide to the "T" is the only way :good:
[One (M7) Android Development] ElBeaner:
On the step where you first check for the current FW info, it says

Let's start by checking current system details. Type:

$ fastboot getvar all

On my Mac last night I was stumped as all could be as to why it would not get the info. I then read the rest of the post and noticed that later on you did the same code WITHOUT the $ sign and it worked. Just FYI :good:

As far as FW goes - I updated to 2.24.401.8 - I was previously on 1.29 FW. Did 2.24.401.8 have the new touch drivers or did I mess up by not doing 2.24.401.1 then .8? If I have to redo the FW ang to .1 then go .8 again I can, just want to make sure(FYI - I installed the latest TWRP and it works fine so I'm under the assumption that I have the new touch drivers)
[One (M7) Android Development] descenpet:
that $ is supposed to be part of your prompt and not part of the command :p
[One (M7) Android Development] ElBeaner:
lol, I realized that AFTER like 15 min of hair pulling

I was following everything as he wrote it and that was the only hiccup I had
[One (M7) Android Development] vomer:
Yup! :D
[One (M7) Android Development] gustav30:
I know there has been a few discussions about this but didn't find 100% clear answer. I'm currently on 1.27.531.11 T-Mobile S-off.

Should I flash in sequence like this?

2.17.401.1

2.24.401.1

2.24.401.8

Or can I go from my current T-mobile right to

2.24.401.8

Thanks!
[One (M7) Android Development] vomer:
I removed $ sign from the guide now to avoid any confusion :)
[One (M7) Android Development] vomer:
Flash 2.24.401.1 -> then go to any latest firmware. Make sure you install latest TWRP too as per guide.
[One (M7) Android Development] strickyy:
Solved.
[One (M7) Android Development] ElBeaner:
crap

So what should I do?

Cant I go from 2.24.401.8 -> 2.24.401.1 -> back to 2.24.401.8 then to the next set of FW's? Also I read that even though I'm on 4.2.2 it's still ok to flash the 4.3 FW's - that still the case?
[One (M7) Android Development] descenpet:
it's fine.

and 4.3(3.09) firmware has full set of images so it can be flashed on top of any firmware directly. and yes it works with 4.2 roms.
[One (M7) Android Development] vomer:
Ya you can go to an old firmware since you are soff. Yes you can install a 4.3 fw on 4.2.2 but I don't think this is ideal.

Sent from my Nexus 7
[One (M7) Android Development] ElBeaner:
Ok awesome, looks like I have soem work ahead of me tonight

phew, ok, looks like I'll be flashing .1 on my phone then back to .8, then I have to do this all over again on the wifes phone too.
[One (M7) Android Development] kash20:
Hi, on step 5, type

./revone -P

I'm not getting the error code 1, but instead getting the message

"revone failed (error code = 1)

1|root@m7:/data/local/tmp # "

any ideas, followed all the steps precisely and my current Hboot is 1.44
[One (M7) Android Development] rpmccormick:
EDIT: Reply to directly above... just keep trying. It took me like 3 attempts, rebooting twice each attempt.

Guys, if you open each zip file, you can see what is in it, and you can move the .bin files in and out of the zip. 2.14.401.1 has one .bin that no other does. 2.24.401.1 has two others that are not included in 2.24.401.8. If you want to have everything, you can do it in one flash, but you have to grab the .bin's out of all of the FWs and drop them in the single zip you will flash (all files from 2.24.401.8, the two missing that are in 2.24.401.1, and the one missing that is in 2.14.401.1). You can also play with individual .bin's from the GE edition firmwares as well.

I'd still like to know if there is a special radio or other FW for TMO using the 1700 band.
[One (M7) Android Development] lyrebird:
I need your help here.

I have followed the guide to upgrade the firmware to 2.24.401.8. Everything was fine.

now i want to upgrade the firmware to 3.xx version. I stuck at the "fastboot oem rebootRUU", no response after that, the phone stays at bootloader, and still responses to vol up and vol down. what is the problem?

Please let me know what I need to do to continue to the next step. thanks.

Update: It is solved. It is because of the HTC driver on the PC. I uninstalled the HTC driver, and everything worked.
[One (M7) Android Development] vomer:
Go back into your rom and start steps again.

Sent from my Nexus 7
[One (M7) Android Development] lyrebird:
Update: It is solved. It is because of the HTC driver on the PC. I uninstalled the HTC driver, and everything worked.

yes, i then rebooted the machine, then followed the tutorial:

adb reboot bootloader

fastboot reboot-bootloader

fastboot oem rebootRUU

then no more respone.

did the steps three times on two different PCs.

any idea?
[One (M7) Android Development] ClydeB1:
After running the adb reboot-bootloader command try running fastboot devices to see if your device is picked up (it should return the device serial number). If not it could be a driver problem
[One (M7) Android Development] lyrebird:
Update: It is solved. It is because of the HTC driver on the PC. I uninstalled the HTC driver, and everything worked.

looks like my device is lost after fastboot reboot-bootloader? the following is the screen shot.

c:\platform_tools>adb reboot bootloader

c:\platform_tools>fastboot devices

HT36NW906716 fastboot

c:\platform_tools>fastboot reboot-bootloader

rebooting into bootloader...

OKAY [ 0.041s]

finished. total time: 0.042s

c:\platform_tools>fastboot devices
[One (M7) Android Development] ClydeB1:
Odd, reboot your device and then try running the fastboot oem rebootRUU command after running the adb reboot bootloader command

EDIT: Just tried all three commands on my side and no problems. I would suggest trying to update your drivers by installing the latest version of HTC Sync
[One (M7) Android Development] senadaruc:
any help please?

Dear All,

I tried to search but no success, i am trying to S-OFF my HTC ONE with [ROM] Android Revolution HD 20.0 using this manual:

http://xdaforums.com/show....php?t=2365506

But i am getting this error all the time:

root@m7:/data/local # ./revone -P

revone v0.2.1

revone failed (error code = 1)

Can anybody PLEASE help me?

HTC Details:

M7_UL PVT SHIP S-ON RH

HBOOT-1.44.0000

RADIO-4A.14.3250.13

cid: O2___001

version-bootloader: 1.44.0000

version-main: 1.29.206.11

3.4.10-geee1312

12.4.0

Thanks
[One (M7) Android Development] senadaruc:
i have same problem any help.

i have same problem any help.
[One (M7) Android Development] kash20:
Had the exact same problem. The way I solved it was to avoid a 4.3 rom, so I went back and reflashed Android Revolution 13.3 and then tried the steps and it worked absolutely fine, then reflashed the latest Android Revolution 20.1 4.3 rom and everything was fine, hope that helps anyone else!
[One (M7) Android Development] rpmccormick:
It sounds to me like you guys are wasting your time flashing to a 4.2 and then back to a 4.3.

When I S-OFFed a long time ago, I got "revone failed (error code = 1)" too, then I rebooted and tried it again and got the error again. Then I rebooted and tried a 3rd time, and it worked perfect. In the revone some people had to try like 10 times before it worked. I think flashing back to 4.2 and then trying again, you just got lucky. (I could be wrong though, maybe there really is an issue with 4.3, but I think it is more likely that you just need to keep retrying -like it says all over the revone thread)
[One (M7) Android Development] 99piotrek:
Thanks [MENTION=1363323]vomer[/MENTION]

few months ago upgraded 2.17.401.1 to 2.24.401.1

Today 2.24.401.1 to 3.09.401.1

everything went smooooooth ... your guide's THE BEST

feels great to be UP TO DATE

:good::laugh:
[One (M7) Android Development] dlads:
Should be stickied.
[One (M7) Android Development] macavita:
why 2.24.401.1 is 20 mb and 2.24.401.8 is only 1.6 mb?

its safe to flash 2.24.401.8
[One (M7) Android Development] descenpet:
.8 is a small update to be flashed on top of .1
[One (M7) Android Development] exhibitA:
This is where I'm at right now;

C:\AndroidSDK\sdk\platform-tools>adb reboot bootloader

C:\AndroidSDK\sdk\platform-tools>fastboot getvar all

< waiting for device >

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.44.0000

(bootloader) version-baseband: 4A.14.3250.15

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.27.531.8

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno: XXXXXXXXXXX

(bootloader) imei: XXXXXXXXXXX

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0713000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 4307mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

getvar:all FAILED (status read failed (Too many links))

finished. total time: 0.065s

I'm running ARHD 20.0 & want to update the firmware.

My question is do I need to flash the 4.2 firmware first & then do the 4.3?

I ask because of this note in the OP;

Note: Do not skip flashing firmware 2.24.401.1 if you are on anything older than that right now. This firmware included much improved touch drivers which should be updated. Alternatively, you can download the touch panel driver img provided below and include it in your latest firmware zip archive.

Also, looking at Mike1986's thread here; http://xdaforums.com/showthread.php?t=2182823

It says you need to re-lock the bootloader? is that just for those firmware files? If so what's the difference between Mike's & these?
[One (M7) Android Development] descenpet:
you can skip everything else if you are flashing 3.09

"don't skip" is for when you are flashing 2.24.401.8

relock is only if you are s-on.
[One (M7) Android Development] Xx-Ness-xX:
Awesome, now my phone is s-off with latest firmware! Thanks Vomer! <3
[One (M7) Android Development] senadaruc:
Dear,

Thanks for the help and i rebooted and tried 100 times ;) and no success.
[One (M7) Android Development] augie7107:
I went down to 4.1 and revone worked on first attempt. I'm in agreement with other posters. Revone doesn't like 4.3.
[One (M7) Android Development] exhibitA:
Thanks for clearing that up. I was suspecting as much, just wanted to make sure.

:D
[One (M7) Android Development] ioni2ioni:
Hello. Great guide, thank you. I was on 1.29 fw and now i'm on. 8 but i don't know if it's ok when i change the phone off, for few seconds after i plug in there's a battery icon and the red text and after that the screen is like not completely off. It's about fw or it's recovery related? I'm on twrp 2.6.0.1 thanks