yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] mike1986.:
Dev edition comes unlocked so you can probably use goo manager.
[One (M7) Android Development] caseuno:
Nice. Saves me some hassle. Gonna be getting it on Tuesday. Thanx for the quick reply
[One (M7) Android Development] poczynek:
All I can say is wow! Finally a simple and foolproof guide! Mike, dunno how you get the time or the patience or indeed the wherewithal to keep doing such sterling work. Bravo! Deserving beer! 7EL95968DL834034B
[One (M7) Android Development] maddie01:
Hi mike1986,

What an awesome tutorial. I will have the Developer Edition tomorrow! I did not know where to start with this since the bootloader is already unlocked!

Now, I have away to go step-by-step....thanks for the work!

I will probably Root the device and stick with stock ROM until I have a chance to research...I used to use ElementalX Kernel on my OneX, with Viper ROM...any recommendation on a good solid custom ROM for the One, Developers Edition?
[One (M7) Android Development] mike1986.:
Thanks mate! I never get a beer for writing a guide so its something new to me :D cheers!

Sent from my HTC One X+
[One (M7) Android Development] mike1986.:
Rock solid and optimized stock rom with few important mods in aroma - maybe android revolution? :)

Sent from my HTC One X+
[One (M7) Android Development] nanohits:
I basically have a MAc at home, is there any guide for how to do it on a MAc instead of Windows machines?

Thanks a lot for your efforts.
[One (M7) Android Development] mike1986.:
I will expend the guide for Mac users soon.
[One (M7) Android Development] kantiarion:
I try to install recovery.

E:\htc_one\recovery>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.190s]
booting...
OKAY [ 0.002s]
finished. total time: 1.198s

I have the problem explain in FAQ 2.

I try to "fastboot erase cache"... nothing.

I try to boot in recovery "fastboot boot recovery.img"... nothing.

Any ideas?

modelid: PN0710000

cidnum: ORANG202
[One (M7) Android Development] JoeNeckbone:
I just relocked bootloader, (Hulu does not work if unlocked and veetle doesn't work if rooted). Could not have been any easier (used method 2). Thank you so much!
[One (M7) Android Development] vizzy:
Have you tried re-flashing the recovery? I had a similar experience with my last phone and if i re-flashed the recovery it worked.
[One (M7) Android Development] Sango2:
Just wanted to clarify, does this assume it has a custom recovery? I tried to do this using the stock recovery however it does not work. I tried both SD Card and from phone storage however I get invalid operation and the phone simply restarts. It is like I can never get to the next screen (if it does have one) which shows what kind of packages I can install (like what I seen on S3 using stock recover, see attached).
[One (M7) Android Development] vizzy:
Yeah you need a custom recovery:

'Now that your bootloader is unlocked and you have custom recovery flashed, you should decide what you want to do next. Let's assume you want to flash a custom ROM.'
[One (M7) Android Development] kantiarion:
I tried several time. I also tried to relook and unlook again.

No results...

Any other idea?

Can it be a problem with CID?
[One (M7) Android Development] mike1986.:
The picture shows stock recovery.
[One (M7) Android Development] Sango2:
Ok, that seems to make sense. I was assumption you can jump the section and just get to the root part directly if I did not want a custom rom.

So you mean it needs a custom recovery like what vizzy mentioned? I was under assumption you could use the stock recovery like an autoroot from Chainfire where you can root without changing the recovery, which was done on my S3.

Just to clarify, the "invalid operation" from "apply from phone storage" is normal for the stock recovery?
[One (M7) Android Development] langer hans:
Did you try to erase cache, and directly afterwards boot the recovery?

Also I would try to completely power off the phone, then start into fastboot mode by using power+vol-, then trying to boot recovery again.
[One (M7) Android Development] kantiarion:
I try again and is working...

Thank you.
[One (M7) Android Development] angusc:
Errrrrr, DEV Edition comes out of the box with unlocked bootloader. It should say "unlocked" but not "tampered" as standard.

Sent with desire from My One
[One (M7) Android Development] Ardmanz:
I need to go back to stock.

My phone was originally three branded. Would I still be able to flash RUU_M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13. 3231.27_10.31.1131.05_release_310878_signed.exe on it?

Then use the three nandroid backup?
[One (M7) Android Development] Ardmanz:
Right, I'm back to stock completely (still with s-off but I want to leave that until I'm sure) but....there doesn't seem to be any recovery installed at all.

If I go into bootloader and select recovery nothing happens for ages then I get the red triangle. Shouldn't the HTC recovery load? How can I fix this?
[One (M7) Android Development] langer hans:
If I'm not mistaken, that is all the stock recovery does. If youre unsure, you can flash another stock recovery.
[One (M7) Android Development] Evollution:
I wanna install Polari Office 4.x on this ROm but i get App Not installed .. so is there any way to force this installation ?
[One (M7) Android Development] Bluewall:
Tried to install it in /system/apps with chmod 664?

Envoyé depuis mon HTC One en utilisant Tapatalk 4 Beta
[One (M7) Android Development] Evollution:
with that app i do this ?
[One (M7) Android Development] Roberts56:
Right I have decided to jump on the custom rom band wagon...

I have unlocked bootloader and rooted. I wanted to install the Android Rev HD ROM and when I download it on my mac it does not appear as a .ZIP?

Also when I go into recovery its using TWRP not clockwork mod....do I need clockwork mod to flash the rom?

Im a serious n00b and would appreciate any help on this!

Thanks guys
[One (M7) Android Development] matt95:
you can use both TWRP and CWM that's up to your preferences, which is the format that you're getting?
[One (M7) Android Development] Roberts56:
Ah right ok thank you

Well when I download it, it does not keep it in .zip format. Like it automatically unzips and its just a folder containing all the files and folders?
[One (M7) Android Development] angusc:
That's not right it should remain as a zip file. How our with what are you downloading the ARHD file?

Sent with desire from My One
[One (M7) Android Development] Roberts56:
My mac is playing games on me. It seems it automatically unzips my download and puts the ACTUAL zip in the trash!

Right I'm about to flash.....this is my first ever custom rom for the HTC One...do I need to back up? I just restored all my apps? Is this necessary?

Thanks!
[One (M7) Android Development] angusc:
This is the best way:

1) first make a copy of your sdcard contents to your pc.

2) copy the ARHD Rom file on to your sdcard.

3) boot in to recovery by powering off your phone then holding the VOL down button and then holding the power Byron together.

4) select "install zip file".

5) select "choose zip file".

6) navigate to the ARHD Rom file.

7) start the install process.

8) select full wipe during the installer (aroma) process unless you want to keep ask your current installed apps.

9) fully boot the newly installed Rom when prompted to do so.

10) after about 30 mins Browse your sdcard again from PC and if anything missing delete contents and replace with your backup from pc.

Sent with desire from My One
[One (M7) Android Development] Roberts56:
I will give this a shot now

You are the man....thanking you!
[One (M7) Android Development] Henkjoost:
thats safari, under preferences > general, uncheck [ ]Open safe files after downloading...
[One (M7) Android Development] Nfahajan:
Im on locked bootloader is it possible to install 4.2.2 using fastboot or is it must to unlock BL??
[One (M7) Android Development] langer hans:
If you are completely on stock, then you might get the update soon via OTA. If you want to use a custom rom you either need to unlock or go s-off.

Gesendet von meinem GT-N5100 mit Tapatalk 4 Beta
[One (M7) Android Development] ghostryder12:
4.2.2 is being released in Europe right now. Probably the UK next. I read somewhere that it would be released in the US sometime this month.

Sent from that FBI van parked down the street.
[One (M7) Android Development] gavinfabl:
Help I am going nuts over my problem. I had ARHD v12, was rooted and S-Off. However, I flashed the new firmware and device got wiped. So I thought might as well go totally stock. So following Mike's instructions and getting the files for the stock odexed rom and recovery I proceed.

However, I am now left in an odd position and don't know what to do. My device shows my bootloader is locked but it still shows S-Off in the line underneath. Then in Tell HTC I get red text to say this is a test device.

So how do I get back to s-on , remove the red text and be ready to receive the OTA in the UK for 422 2.24.

In software it shows I have android 4.2.2 and software 2.17 which doesn't make sense.

Help me please.

Thanks
[One (M7) Android Development] descenpet:
How did your firmware wiped your data when you are s-off. I guess you followed wrong instructions.

If you want to go stock and get ota, you need to get 1.28 ruu. That 2.17 most probably won't get ota.

If you have s-off, the test device thing will show up on stock Rom. You will still get ota even with s-off so you have to decide what you really want later on. Not sure if you can s-off again with official 4.2.2 ota.

Software info just show the Rom build and not firmware. It won't be same number unless you are completely stock.

If you really want s-on, fastboot oem writesecurityflag 3 should do it. Make sure you are on stock hboot before that
[One (M7) Android Development] S_Dot:
Got a question using the RUU to go back to stock. I have the Developer's Edition, would I need to lock bootloader? I mean, my device comes with bootloader unlocked.

Thanks,
[One (M7) Android Development] gavinfabl:
Thank you so much for your help. I will try that now.
[One (M7) Android Development] descenpet:
you are s-off right?

any RUU will work without relocking.
[One (M7) Android Development] TarekElsakka:
Hey mike 1986!

I updated my device to the latest OTA, 2.24.401 and that of course updated my HBOOT as well to 1.55. The thing is, I want to make a Nandroid Backup of the stock recovery, system and everything else so that I can go back to stock whenever I want, however, the command "fastboot boot recovery.img" doesn't seem to work. I tried it on my Mac several times and on terminal it says "success" but the bootloader on my device just freezes and nothing happens and I'd have to hard reboot it.

!

Do you know why that is happening? Could it be an issue with the latest HBOOT? I am S-OFF with unlocked bootloader by the way. Thanks
[One (M7) Android Development] T-BoneFL:
stuck at HTC Splash Screen (with red warning)

DELETE.
[One (M7) Android Development] mariotme:
Same thing happening to me on PC running Windows 8.

Someone please advise
[One (M7) Android Development] mike1986.:
HTC might have blocked this in new hboot.
[One (M7) Android Development] chazar:
Official update stucked.

Hello.

I had my HTC One rooted with TWRP and SuperSU. Lately I got notification that there is 4.2.2 update finally available. I wanted to install by official update to not have to backup and restore all my apps and data. To install official update I removed SuperSU with it's option to clean root completely and then I returned to stock recovery and cleared cache. After that I allowed official update to install. Unfortunately it stuck in 1/4 of the progress bar. What did I made wrong? I'm thinking that maybe the update was copied to cache so when I cleared it when I returned to stock recovery I also cleared update files and that's the problem? What should I do now? Should I stop it?

If so, is it bricked? Thanks in advance.
[One (M7) Android Development] chazar:
Ok, after forcing 3 times to reboot it finally passed the moment where it got stuck and it works again :) , so don't bother. Cheers.
[One (M7) Android Development] TarekElsakka:
So how do we make a Nandroid Backup of the stock recovery and system so that we can go back to stock 2.24 at any time without having to go through the hassle of installing RUU and such? Would flashing a custom recovery and backing up boot, system and data and then when I want to go back to stock later on install that Nandroid Backup and then flash stock recovery? And is the stock recovery for international devices still the same when you have an updated HBOOT (1.55)?

Thanks mike!
[One (M7) Android Development] robt772000:
So I am trying to return to stock. I went back to s-on, relocked the bootloader and flashed stock recovery. I have super cid 11111111 so I flashed the euro ruu 1.28 and its running fine BUT when I tried to ota update it says that the software is modified. What can I do?

Edit: I flashed the asia ruu and its all good now.
[One (M7) Android Development] prunzzz:
The problem was MID mismatch!!

By the way, which asian ruu you flashed??

Did you get OTA after that??!!

Like, i am fully stock and in INDIA

Still didnt get OTA!!

Tell me what you did after flashing RUU if you got 4.2.2 OTA after that
[One (M7) Android Development] P05TMAN:
So the ROM I'm on is .401 but my phone was originally AT&T 1.26.502.12.....which method should I use? I'm kinda confused....
[One (M7) Android Development] prunzzz:
Get fastboot getvar mainver

If it returns, .401 (even on a stock rom and stock recovery) (BTW which rom it is?) Then just change to european CID

This method may change if you dont have stock rom

HIT THANKS BUTTON IF I HELPED YOU
[One (M7) Android Development] RaptorMD:
In a pickle and could use some help. I decided to return to stock 4.1.2 and I did follow the procedure to go back to stock using the RUU, and the RUU installer keeps saying "Sending" with the progress ......... going on and on and its been running for about 30-40 minutes and hasn't finished. I can't stay up all night with it, afraid to pull the plug and lose the device recovery, not sure what to do. Any help is appreciated.
[One (M7) Android Development] RaptorMD:
I am now officially screwed. After a 1.5 hours the device stopped responding, I am now stuck at either the bootloader screen and Fastboot or I can powerdown. My computer no longer recognizes my phone. I have removed and installed the drivers twice to no avail. I am not sure what to do at this point.

I have tried my wifes Windows 7 computer but that is inconclusive at this time. I am a man without a phone at this moment. If you can help me I have a thread going here http://xdaforums.com/showthread.php?t=2357826 since I am getting error 170 and stuck.

HELP :crying: Thank you.
[One (M7) Android Development] LTKred:
CRC Files from HTCDev.com

Hey,

I have downloaded the HTC One Telstra CRC file from the HTCDev website, its only 99mb. I know its not an RUU exe but is there any way to make a compatible RUU for my phone from the CRC zip file?

In fact, im not even entirely sure what the CRC file is for or what it does?!

Any help or info would be great, thanks!
[One (M7) Android Development] angusc:
Yeah it didn't work for me either after updating the official route to 2.24.401.1. I could only install custom recovery and back up then with CWM and root already installed.

Sent with desire from My One
[One (M7) Android Development] descenpet:
yup. cmd/terminal will show as if it went through fine but phone will just sit on fastboot screen and freeze.
[One (M7) Android Development] angusc:
Down load the all in one toolbox from here:

http://xdaforums.com/showthread.php?p=40493789

Use it to tee install your drivers for adb and fastboot. See to left panel in program once you run it on your PC.

Next ensure your volume is up on your PC so that you can hear the sounds of plugging and unplugging your USB cable to phone.

Press and hold power button until the touch buttons flash, continue to hold the button then release. One button lights go out immediately hold the VOL DOWN button and the power button. This should get your phone in to bootloader mode.

If you see bootloader screen then good, plug in USB and confirm it switched to fastboot USB.

If you see nothing on screen, did the pc make any connection sounds?

Run either of these commands from your PC command prompt:

cd c:/android sdk/platform-tools (not you have to change the above directory to match where you have adb installed).

Then run:

adb devices (See if you get your phone serial number to show on command window)

If nothing then run:

fastboot devices (see if you get your phone serial number to show in command window).

Hopefully the drivers on your PC are working and you can connect with your phone in either adb or fastboot.

Start here and report back.

Sent with desire from My One

---------- Post added at 12:57 PM ---------- Previous post was at 12:56 PM ----------

Why would you want to install something that you know nothing about what it's for.......if you got money to brick then good luck x :p

Sent with desire from My One

---------- Post added at 01:00 PM ---------- Previous post was at 12:57 PM ----------

Need to know what RUU you tried to run.

Also what is the output if you run this command in fastboot (assuming you get your drivers working again):

fastboot getvar all

Need to know if you are s-off.

Sent with desire from My One
[One (M7) Android Development] RaptorMD:
Thank you for the help. I am d/l the All in one root tool kit right now.

The RUU I was trying to install is RUU_M7_UL_JB_50_BrightstarUS_WWE_1.29.1540.16 and it is the right one for my Developer Edition HTC One.

If I try to hold down the power button the only thing that happens in the phone will keep rebooting into the Bootloader, the soft keys do not flash at all, at this point I don't think there is any ROM on the phone.
[One (M7) Android Development] angusc:
What happens when you plug and unplug the USB cable to your pc?

It's yours the developer edition 64gb?

That RUU should have worked as that's what I flashed a few days ago.

Sent with desire from My One
[One (M7) Android Development] RaptorMD:
I still get USB Device not recognized, I am following the instructions on the all in one root kit and but I do not get Fastboot USB at all. I think my device is fubar.
[One (M7) Android Development] LTKred:
wow, thanks...that was um, extremely helpful...lol

all I want to know is if the .zip files downloaded from HTC Dev under the category "type" named as "crc" are in any way related to an RUU file, if so, can they be turned into an RUU at all?

here's what i mean...

any ideas? :p
[One (M7) Android Development] descenpet:
those are kernel source codes. not that i know how to read the code but you can choose search type "kernel source" and it will list those only. easy conclusion.
[One (M7) Android Development] NxNW:
I don't know if his comment was helpful per se, but it was 100% appropriate. You appear to have no idea what you are looking at. You are not going to make an RUU out of random stuff you find on htcdev.com

I'm not saying this to make you feel bad but rather to save you time and keep this thread on topic. So maybe you think people aren't being helpful but they are.
[One (M7) Android Development] angusc:
Try restarting your PC if it doesn't install the drivers the first time round. I found that installing the drivers with the tool kit always worked for me.

I'm jumping on a plane soon so hope you get sorted out..... Decepet or good first will help you for sure.

Sent with desire from My One
[One (M7) Android Development] LTKred:
yeah i got that far, noticed that myself when looking, but thanks. that was more helpful. :good:

---------- Post added at 01:47 PM ---------- Previous post was at 01:38 PM ----------

Believe me, you wont make me feel bad at all lol. However I now know what it was I downloaded from HTCDev, it was kernel source code. I wasn't expecting to make anything from random files i downloaded from HTCDev, nor do I need to, I was simply asking if it could be done. But now I know it cant be.

However, there's help, which i got from user: descenpet... Then there's "appropriate", yet, unhelpful comments such as "Why would you want to install something that you know nothing about what it's for.......if you got money to brick then good luck"... I wasn't asking how to, nor was I going to install or try to install anything, nor was I going to brick my phone by doing such things.

So, it may have been appropriate, but it certainly wasn't helpful. But thanks for the input. Appreciated :)
[One (M7) Android Development] NxNW:
Ha ok then looks like we're all good then. Gotta agree descenpet is helpful by any definition..
[One (M7) Android Development] LTKred:
yeah sure is and yep we all good :D
[One (M7) Android Development] RaptorMD:
Thank you. I did install the drivers via the tool kit, but no joy usb device is still not recognized. Since I have no custom Recovery, no way to turn on USB Debugging (no ROM) and stuck at Fastboot with no Fastboot USB option I am not sure what to do next.
[One (M7) Android Development] alishak:
backup stock recovery?!

I also have the same problem with the new Hboot 1.54. I'm Not able to boot custom recovery to backup stock recovery using nandroid!!!

Is there any other way to backup stock recovery besides nandroid?
[One (M7) Android Development] descenpet:
just flash custom and backup other things. if you want original, get it from firmware package and flash manually.
[One (M7) Android Development] RaptorMD:
Came in to work, and was able to get my phone restored finally. Not an easy thing but its back to stock. Got it unlocked again so I am now going to take it slow.
[One (M7) Android Development] alishak:
I guess I'll do that then. You mean extract the image from the official ruu's on the htcdev site ?

If not, could you please direct me . Thanks :D
[One (M7) Android Development] descenpet:
there are signed firmware.zips taken out from official OTA released some days ago. you can find the link in firmware thread. those contain stock recovery.
[One (M7) Android Development] angusc:
Great news! Very glad to hear that. Are you trying to get to Europe Rom 2.24.401.1?

Well I just did my DEV Edition by the following method:

1) s-off using revon.

2) change CID to 11111111

3) change MID to PN0710000

4) run RUU 1.28.401.7

5) change CID to HTC__001

6) receive first OTA update and installed.

7) change CID to HTC__Y13

8) received OTA to 2.24.401.1

9) change CID back to 11111111

Sent with desire from My One
[One (M7) Android Development] Nfahajan:
Hello can anyone help me i just unlocked my bootloader and i want 4.2.2 so should i just flash mikes 4.2.2 zip stock rom and is it the same as the ota update release by HTC??

Also after Installing the odez zip if i get back to stock recovery will I be getting OTA updates in the feature??
[One (M7) Android Development] descenpet:
It is not the same.mike hasn't make flashable zip for the new ota HTC just released. Current version mike has released won't get ota because that is not official release. If you want ota that much,you should just flash ruu and get ota and stay stock .
[One (M7) Android Development] Nfahajan:
Besides ota all the other things are same right??I just cant wait 4.2.2 :(

I can download otas later from mikes firmware updates right??
[One (M7) Android Development] descenpet:
So your original Rom is not 1.29.401.x? If you are on custom Rom or repacked stock rom, you should install a 4.2.2 Rom to work with new firmware. Using new firmware with old Rom just won't work.
[One (M7) Android Development] Nfahajan:
My original rom is 1.29.401.16 and CID is HTC_001 and MID-071000..So can i just install using this rom http://xdaforums.com/showthread.php?t=2224752&page=73??And the update the rom to ota released by mike in here http://xdaforums.com/showthread.php?t=2182823??