yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] deboopi2:
Thanks a lot.

It worked in this way, much easier than installing another boot image.

1.28 installed and upgraded over 1.29 to 2.24.401.8.

So that's ok, now tomorrow monitor the signal and eventually swap the sim.

One question remains.

I know its my own fault I threw away the backup I took with CWM.

I did this because I switched to TWRP.

But if I'm back in a stable state with the phone (on stock version) I know I must make a backup.

But does a backup include the firmware and the boot image.

For the backups I took with TWRP I think this is not the case.

But if I ever need to go back to stock again, a full backup would be the easiest way, so how to acquire this.

---------- Post added at 11:14 PM ---------- Previous post was at 11:05 PM ----------

Well it's not completely allright.

I'm still on firmware 1.54 and s-off.

So probably the ruu didn't do the downgrade.

So what firmware do I need for stock 2.24.401.8 and where to find this one.

I still need to go back to s-on before going back to the shop.

I know and I have seen that it's not possible to put the phone back in a locked state, it's just going to relocked, will they make a problem of it?

So, still some steps to do, once again please put me in the right direction.
[One (M7) Android Development] ClydeB1:
Recovery backs up the rom, apps, data, boot and recovery (custom) images, but does not backup the firmware. So if you do restore the backup you would need to still flash the matching firmware (including stock recovery) to get back to stock.

As explained in my other post, 1.54 is the correct hboot for a 2.24 rom as well as that it is possible to lock the bootloader using revone but it shouldn't be necessary to go back to S-On
[One (M7) Android Development] rusteh:
Hello guys,

I plan on using the first method to return to stock as I need to return the phone to service.

Could someone tell me if it's ok to flash the deodexed stock ROM?

I am now running ARHD v22, I've made a backup using my OTG-USB and now I want to update the firmware. Will flashing this stock ROM and recovery work for that?

Here is my info:
[One (M7) Android Development] ClydeB1:
The deodexed stock rom is not true stock so you'd do better to flash the odexed version from here and then flash the matching stock recovery. Also flashing this will not replace/update your firmware and as you are s-on and on hboot 1.54 you currently can't update your firmware unless you get an original firmware package that matches your CID and model ID.
[One (M7) Android Development] deboopi2:
revone with newer hboot / flash OTA rom

Because of problems with my phone I had to go back to stock so I could get it back to the shop.

With lots of help on this forum I succeeded, so thanks to everybody that helped me.

What I did was

reboot into bootloader so downgrade with the RUU is possible

lock with fastboot oem lock, but relocked shows in the first line in bootloader

Run RUU 1.28 europe...exe

update all the ota's up to rom 2.24.401.8

lock with revone, bootloader shows locked

s-on with revone

remove revone from the phone

end with a HTC ONE set back to stock

But if ever I need to redo this I'd like it better if I do not have to downloads all the OTA's after going back to 1.28.

So I know there are roms in an exe file such as I used but there are also

ROMs as a zip file, are they complete, how to install them?

OTAs as zipfiles, how to install them, when downloading on the phone you can immediately install then, but if you have the zipfiles on your PC how to flash them manually?

So if anybody can help me out with those questions it would make life easier if I have to redo them.

Then there's still the use of revone.

I know revone is mentioned not to work with hboots higher than 1.44, see http://xdaforums.com/showthread.php?t=2314582&highlight=revone

So what does not work when hboot higher than 1.44.

Is it the unloack of the rom, so do we always need to go back to hboot 1.44 for doing this?

Locking and s-on seemed to work for me on 1.54.

If revone can only unlock on hboot 1.44, what do we need to do when on a higher hboot?

Do it the official way via HTC, but then they know you have unlocked your device.

Is there another tool that can unlock and has the possibility to lock again without showing relocked in the bootloader.

And then one remark for the OP.

There it says at

Going back to stock

Your bootloader will never be "LOCKED" again. You can't restore it. You can only relock it.

Revone isn't perfect either but it is not mentioned as a way to get your phone back into "LOCKED" state.
[One (M7) Android Development] knudsen81:
If i relock and put stock on my phone will i se could update ota's from htc?
[One (M7) Android Development] ClydeB1:
If you return to stock rom and stock recovery, there is no need to relock your bootloader and you can get the OTA when available.
[One (M7) Android Development] knudsen81:
Okay but i cant return to stock the file i fund is a older version that i had on
[One (M7) Android Development] deboopi2:
If it's the RUU you are talking about being older than the installed rom then you can do it.

Clydeb1 put me in the right direction, for more details have a look at my recent posts and Clyde's answers.

Essentially you have to boot in boot loader and then it is possible to run that RUU.
[One (M7) Android Development] ClydeB1:
Run command fastboot getvar version-main to identify the rom you will need to be full stock. If you can't find an ruu for that version then look in the general forum as there is a thread there that had links to ruu's and nandroid backups which may have the correct version for you. If you are S-Off you can also use the older version that you have.
[One (M7) Android Development] knudsen81:
Thanks for replay, my version is 2.24.401.8 but i can't find a ruu, but a guru reset zip i can use
[One (M7) Android Development] ClydeB1:
From the thread with a collection of backups and ruu's for the One, there is a stock 2.24.401.8 guru zip with stock recovery which is probably the one you found. With this rom you should be able to go back to stock rom and recovery.
[One (M7) Android Development] electronical:
The link in the OP to see the RUU variants (http://goo.gl/EabO6) is not working (at least for me), so i went hunting and came up with this list, available at this link: https://www.dropbox.com/s/fsr71xhinlzbeop/RUU_Variants.txt

But in case the latter stops working, i've pasted the entire content below. I hope this helps.

x.xx.61.x - Orange UK (United Kingdom)

x.xx.65.x - Orange CH (Switzerland)

x.xx.69.x - Orange PL (Poland)

x.xx.73.x - Orange FR (France)

x.xx.75.x - Orange ES (Spain)

x.xx.110.x - T-Mobile UK (United Kingdom)

x.xx.111.x - T-Mobile DE (Germany)

x.xx.112.x - T-Mobile AT (Austria)

x.xx.113.x - T-Mobile CZ (Czech Republic)

x.xx.118.x - T-Mobile PL (Poland)

x.xx.161.x - Vodafone UK (United Kingdom)

x.xx.163.x - Vodafone FR (France)

x.xx.165.x - Vodafone IT (Italy)

x.xx.166.x - Vodafone CH-DE (Switzerland - Germany)

x.xx.168.x - Vodafone GR (Greece)

x.xx.169.x - Vodafone AT (Austria)

x.xx.206.x - O2 UK (United Kingdom)

x.xx.207.x - O2 DE (Germany)

x.xx.401.x - World Wide English (WWE)

x.xx.415.x - Arabic (UAE/Middle East)

x.xx.468.x - Turkey

x.xx.497.x - Morocco

x.xx.498.x - WWE Brightpoint US (United States)

x.xx.502.x - Cingular US (United States)

x.xx.531.x - T-Mobile US (United Kingdom)

x.xx.631.x - Rogers Canada (WWE)

x.xx.651.x - Sprint US (United States)

x.xx.661.x - Telus WWE (Canada)

x.xx.666.x - Bell Canada

x.xx.707.x - Asia (WWE)

x.xx.708.x - Asia HK (Hong Kong)

x.xx.709.x - Asia TW (Taiwan)

x.xx.720.x - Asia (India)

x.xx.728.x - Virgin AU (Australia)

x.xx.751.x - Chunghwa Telecom (Taiwan)

x.xx.771.x - Hutchison 3G UK (United Kingdom)

x.xx.841.x - Telsra WWE (World Wide English)

x.xx.862.x - Voda-Hutch AU (Australia)

x.xx.901.x - TIM IT (Italy)

x.xx.911.x - SK Telecom (South Korea)

x.xx.980.x - Optus AU (Australia)

x.xx.1400.x - HTC China

x.xx.1401.x - ?

x.xx.1403.x - HTC China CMCC (China Mobile Communications Corporation)

x.xx.1540.x - HTC One U.S. Developer Edition

x.xx.1700.x - HTC One Google Edition
[One (M7) Android Development] nathan57971:
Since I'm S-On I reverted back to stock by installing the 2.24.401.1 stock ROM, flashed the stock radio/recovery and everything went fine. then i tried installing the 2.24.401.8 update through OTA and after the phone reboots to install the OTA the phone gets stuck on the red triangle. Can anyone tell me what i'm doing wrong?

before i unlocked and rooted my phone/installed custom recovery i was running 2.24.401.1 H.Boot 1.54 modelid: PN0710000
[One (M7) Android Development] nur.salikeen:
Did you relock back your bootloader?
[One (M7) Android Development] nathan57971:
No I didn't.. I was told it wasn't necessary.. Is that the problem?
[One (M7) Android Development] ClydeB1:
It's not necessary to lock bootloader in order to install the OTA. Are you sure the rom you flashed is completely stock (ie not rooted or deodexed etc) and that you used the correct matching recovery for the rom base? That red triangle and exclamation mark signifies stock recovery but if it is not flashing then there is possibly a problem either with your OTA download or the recovery version is not compatible with your current rom.
[One (M7) Android Development] nathan57971:
It worked now.. I think the OTA was corrupted the first time. Thanks
[One (M7) Android Development] magico1978:
Just a question off subject, We should flash boot after or before the ROM, I get stuck in a cyanogen 10.2 logo, in xperia ray,
[One (M7) Android Development] hoodedman:
bit a problem?

Hi guys!

I decided to go to STOCK! All went well I guess ;) but I want to clarify some things!

1) As far as I understood **Tampered** stays, unless I use 2nd method

2) Does 2nd method works with 2.24 ROMs, because RUUs are 1.xx? I am asking this because i tried and failed :( i had and error during the installation, something about wrong version or something

3) In the bootloader it says OS: 2.24.401.1, but in the "about" section it says 2.24.401.8!!! Is this normal?

Will appreciate some answers! ;)
[One (M7) Android Development] ClydeB1:
1. Tampered will stay unless you can get S-Off which will allow you to remove it.

2. You need to use the same ruu to match your current version. According to the info you provide you will need to use a 2.24.401.1 ruu. Without S-Off you can't flash an ruu that has an older hboot version than what you currently have, hence the error about wrong hboot version.

3. The OS showing in the bootloader is your true version, the bit in the about shows the version that the current rom you are using was built on.
[One (M7) Android Development] hoodedman:
1. Understood

2. Understood, but I could not find any 2.24.401 RUU executable, only 1.29.x :( and I could only get to STOCK by flashing odexed version of 2.24 and then stock recovery!

3. OK, I got it now!
[One (M7) Android Development] ClydeB1:
For point 2, yes in the absence of the 2.24 RUU you can use an odexed version of the stock rom and then flash the matching recovery (as you did), but as you are not S-Off you can't flash an RUU for 1.29 for example which you would be able to do if you had S-Off.
[One (M7) Android Development] Lorog:
hi,

I have some questions:

1. after unlocking how can I have OTA updates from htc?

2. can anybody upload an image of the phone informations I have to check in order to download the right RUU file?

3. what file from list do I need to do "Method 2 - flashing RUU (ROM Update Utility)"? .exe or .zip?

Thanks
[One (M7) Android Development] KennyLegend:
Great post.thanks OP
[One (M7) Android Development] knudsen81:
I have download guru but in the flash it's ask if i will flash 2.24.401.1 radio with stock recovery shall i flash the radio also?
[One (M7) Android Development] KennyLegend:
Sure. Go ahead. Youll be on the latest then.By the way...what type of guru file did u use and How did u flash it ?

[/COLOR]
[One (M7) Android Development] knudsen81:
this http://www.htc1guru.com/dld/guru_reset_m7_2-24-401-8-zip/ flash it with custom recovery
[One (M7) Android Development] KennyLegend:
Nice. I downloaded that earlier myself but was a little sceptical about it.
[One (M7) Android Development] knudsen81:
I can only wait for 4,3 ota to see if it's works

Sendt fra min HTC One med Tapatalk 4
[One (M7) Android Development] Lorog:
guys I have completed the unlocked procedure, after that I went to recovery but the phone shows a little image of the phone with a red triangle in it. There should be the stock recovery or I have to install it?

Thanks
[One (M7) Android Development] KennyLegend:
You were on hboot 1.54 right?
[One (M7) Android Development] knudsen81:
Yes I'm

Sendt fra min HTC One med Tapatalk 4
[One (M7) Android Development] Lorog:
guys I have hboot 1.54 and tried to flash custom recovery but " fastboot boot recovery.img" command does not work. how can I install recovery?
[One (M7) Android Development] langer hans:
New hboot doesn't support booting images.

Just flash it directly with fastboot flash recovery recovery.img

Gesendet von meinem HTC One mit Tapatalk 4
[One (M7) Android Development] gendis1979:
Hi to everybody,

I have a question.

I want to "clean" deeply the phone so I would like to do a wipe data and then format the system partition.

I am with root on arhd 13.

After format of system partition how should I proceed? Reboot on bootloader Install the and firmware and then rom again? Or rom will be enough? Will I loose the root?

Thanks
[One (M7) Android Development] ClydeB1:
1. You can still receive OTA updates after unlocking, but will need a stock rom with stock recovery in order to install the OTA.

2. Run command fastboot getvar version-main. This will tell you the RUU version you will need to use (or you can use a higher version for the same region code. In the version number, the 3rd set of numbers represents the region code, ie in 2.24.401.8, the 401 portion tells you the region and 401 for example = WWE - Worldwide English

That is correct for the stock recovery. From the red triangle screen press and hold power and vol up button to boot into stock recovery.

Depending on how deeply you clean you phone you may need to adb push or adb sideload the rom back to the sd card before being able to flash the rom. If you are using a custom rom, this would normally be rooted already so you wouldn't need to worry about root.
[One (M7) Android Development] gendis1979:
So how should I practically do?

Reboot in recovery to do wipe data and system format.

Then?

Connect to pc and restart in bootloader mode to flash the firmware?
[One (M7) Android Development] angusc:
If you are S-Off our you have a suitable non branded phone that has an RUU really available, why not just copy your sdcard contents to your pc and then run the RUU. That will completely wipe your device and then you copy back your sdcard contents from pc.

Sent with desire from My One
[One (M7) Android Development] gendis1979:
I am s-on and I can't go off
[One (M7) Android Development] crushalot:
These stock roms with aroma installers that I am building with the associated stock recovery now have there own thread here:

http://xdaforums.com/showthread.php?t=2471869

I have a few 4.3 stock roms up now and more to come.
[One (M7) Android Development] deboopi2:
restoring deleted apps

Since I had to take my phone back to the shop I restored it to full stock, OS 4.2.2 with hboot 1.54, s-on and locked.

So given the hboot 1.54 I will not be able to s-off it again when I get it back until someone (revone) finds a new exploit.

If I decide to unlock I will have to do it with HTCDev but then I loose some apps.

I'm thinking about unlocking so I can root again but I want to stay for a while on the stock rom.

Is it possible to get the deleted apps back by flashing the rom from this thread, will it also contain the lost apps and is it possible by restoring it that those apps get back to the data partition so I can install OTA's afterwards?
[One (M7) Android Development] zenderady:
Hi. I installed this rom for one thing and one thing only: to unlock my phone with the volume rocker!

I toggled the option inside sense 5 toolkit where it says I need root and a full reboot, which I did both but the phone does not wake with the use of the volume rocker.
[One (M7) Android Development] ClydeB1:
I presume you meant to post this in another thread as this is a guide and not a rom. If you are using Sense 5 Toolkit, do you have Xposed installed and have you opened Xposed Installer to ensure all framework components are installed and that the Sense 5 Toolkit is selected under modules?
[One (M7) Android Development] zenderady:
Yes you are right it had to be toggled inside modules. thanks
[One (M7) Android Development] ClydeB1:
And Toolkit selected under modules section in Xposed?
[One (M7) Android Development] Waiting4MyAndroid:
If using method 2 (RUU) to return to stock, shouldn't phone be s-off?

Sent From My HTC One GPe
[One (M7) Android Development] ClydeB1:
No, not necessary to be S-Off, but you can't use method 2 to downgrade to an earlier version without S-Off. So you can still run an ruu with S-On but then the ruu needs to match your CID and needs to at least match your current main version (or higher)
[One (M7) Android Development] NeoNikon:
my One would just not boot into recovery when i type in cmd "fastboot boot recovery.img" it just freezes the bootloader, what am i doing wrong? (bootloader is unlocked nicely)
[One (M7) Android Development] ClydeB1:
I seem to recall seeing a post saying that with the latest set of bootloaders that this command is no longer possible.
[One (M7) Android Development] NeoNikon:
i got frustrated and skipped booting it and instead i typed "fastboot flash recovery recovery.img" so i have the recovery and i am doing a backup but i have full beliefs that backup doesnt count as a backup in boot right?
[One (M7) Android Development] ClydeB1:
The only thing that won't be backed up is the stock recovery as you have just replaced that. Everything else should be stock. If you ever need to restore to stock you can restore the backup and then flash stock recovery and all is good.
[One (M7) Android Development] NeoNikon:
so its not a disaster. great thanks a lot!
[One (M7) Android Development] nathlynn22:
That's great is there a way to get my custom recovery nandroid backups off my phone to pc? Thanks
[One (M7) Android Development] ClydeB1:
Yes, just plug in USB and copy them over.
[One (M7) Android Development] nathlynn22:
I cannot see them when connected to pc. I go through file transfer and look in cwm folder but nothing in there but when I check in cwm recovery on phone and try restore I can see the dated backups?
[One (M7) Android Development] ClydeB1:
On your phone, check the path that CWM is saving to and try locating them via file explorer and then copy them to the root of your sd card. You should then be able to easily find them to copy to your pc.
[One (M7) Android Development] nathlynn22:
It says there saving to sdcard/clockworkmod/backup but there isn't a folder for backup in clockwork mod but I can see them on cwm recovery when I try restore quite annoying as I would like a copy on my pc if goes tits up
[One (M7) Android Development] angusc:
You need to follow this thread and add a link to your system then all will be good in recovery:

http://xdaforums.com/showthread.php?t=1991657

[MENTION=1754030]ClydeB1[/MENTION] it's a good thread to reference in your tools section or guides....

Sent with desire from My One
[One (M7) Android Development] nathlynn22:
Thanks downloaded Rom manager last night so all sorted
[One (M7) Android Development] ClydeB1:
Thanks bro, added to guides
[One (M7) Android Development] ooshnoo:
Phone freezes as soon as recovery boot.img is downloaded

Hey fellas..

I've unlocked the bootloader of new HTC One Unlocked, and when following step 8 for installing custom recovery...TWRP...the phone locks up immediately after it says the downloading of the boot.img was successful.

Specifically, what happens is that after this:

fastboot boot twrp.img

downloading 'boot.img'...

OKAY [ 1.250s]

booting...

OKAY [ 0.000s]

The phone locks up while in Fastboot USB mode and has to be restarted by holding down the power and volume down buttons. It doesn't boot into recovery at all.

Anyone with any ideas?

-A
[One (M7) Android Development] ClydeB1:
IIRC I saw a post (can't recall where) saying that on the latest hboot versions it is no longer possible to fastboot boot recovery. You will therefore have to rather skip those steps and flash the recovery instead. When taking your backup it will then backup your custom recovery and not the stock one. There are threads around that host stock recoveries so you can always get it back from one of these if you ever need it.
[One (M7) Android Development] ooshnoo:
Thanks Clyde.. you were right. While I can't fastboot boot, I was able to fastboot recovery and got the TWRP on there.

Couple more questions...

1. Will I still get OTA updates now that I have an unlocked boot loader and custom recovery? If not, I assume I'l have to flash back the stock recovery, yes?

2. I don't plan on rooting the phone...cuz my company's MDM will detect that and shut me down, but the only thing I want to do is install a custom kernel. Can I install the kernel, then flash back the stock Recovery, or should I not even bother?
[One (M7) Android Development] ClydeB1:
1. You will still get OTA updates but yes, you would need stock recovery in order to install them.

2. If you install a custom kernel the base rom will no longer be completely stock and installing an OTA may well fail because of this.
[One (M7) Android Development] sebastianwfh:
hi guys

i am trying to go back to stock here

i did have a copy of nandroid of stock rom without root but with custom recovery

so, how do i flasht the stock recovery before s-on it back and relock the bootloader?

is this the stock recovery? http://xdaforums.com/showthread.php?t=2158763
[One (M7) Android Development] ClydeB1:
You can find a number of different stock recoveries here. Try to match your main version from the rom to one of these.
[One (M7) Android Development] gsusx:
Hi

Listen I apologise in advance and i know i deserve a kick in the face, but I really want to upgrade to the latest firmware and realise that upgrading the rom alone doesn't have the desired affect. Anyway, I'm currently S-ON (boooo) and running arhd 30.0 ... i've been looking about for the last couple of hours but cant really find a definitive guide on how i can go about doing this. I'm on a htc one in the uk (on ee)can anyone be so kind as to hit me up with a link.... forever in your debt

Thanks

CJ
[One (M7) Android Development] ClydeB1:
With S-On you can only flash official firmware packages which are signed still. Most of the firmware.zip's floating around here are all edited which therefore breaks the signature and these can only be flashed if you are S-Off. Mike1986 has some stock firmware.zip files here, but am not sure if he has any for your region.
[One (M7) Android Development] angusc:
Which hour are you on as you can obtain S-Off if you are either 1.44 or 1.54 HBOOT.

Sent with desire from My One
[One (M7) Android Development] gsusx:
hiya

im on s-on on 1.44

tried the revone method last night and kept getting error code one, then realised that is because im on arhd 31

apparently i need to go back to stock 4.1.2 to enable this

anyone know where i can find a twrp flashable 4.1.2 image ??

thanks again ...
[One (M7) Android Development] crushalot:
I have a bunch of stock rom's that you could use here:

http://xdaforums.com/showthread.php?p=46236743#post46236743
[One (M7) Android Development] gsusx:
you my sir are a gentleman !!!!!

last question, unlocked htc one in england which flavour would you recommend :)
[One (M7) Android Development] ClydeB1:
Run command fastboot getvar version-main and try to find a matching rom in the list. If you don't find one then try one of the .401 based roms as close to the same base as your main version.