yashsingh1/xdaforums huggingface dataset:
[One (M7) Android Development] ArunOnline:
mike, is it possible to do the rooting alone steps using stock recovery? I downladed the rooting-tools zip file to the internal storage, got into stock recovery menu, but there is no option to select the file there. The only option there is to "apply from phone storage" or "apply from SD card"... tried both but it doesn't flash the zip file. I haven't unlocked or flashed custom recovery as I just want root for Titanium Backup.
[One (M7) Android Development] mike1986.:
You need custom recovery for that. But it should be possible with custom boot.img....
[One (M7) Android Development] drspikes:
Surely perform the steps needed for the fresh Nandroid backup using temporary recovery then use rooting tools from that?
[One (M7) Android Development] langer hans:
Either that, or flash the recovery. Your choice.
[One (M7) Android Development] maddie01:
Hi all, can't you put the stock recovery back later if you run the Stock RUU later ?

Or do you have to do it before you flash the custom recovery like TWRP...and I assume TWRP is the best one to use?
[One (M7) Android Development] Joseng:
Help~~

I forgot to backup the stock recovery before flash custom recovery image,

please help me if anyone have the stock recovery backup from HongKong version 1.29.708.4.

Thanks alot!!
[One (M7) Android Development] langer hans:
I am not sure if I understand correctly. If you want to use RUU later you can put stock recovery on later. Other than that you can keep TWRP or CWM. What is better? Don't know, both are good and it is mainly a personal choice. I stick with CWM, cause I don't like how TWRP handles sdcard and nandroids.

---------- Post added at 05:46 PM ---------- Previous post was at 05:41 PM ----------

If I'm not mistaken stock recovery isn't version dependent, so you could just get the latest stock recovery fromhere: http://android-revolution-hd.blogspot.de/p/android-revolution-hd-mirror-site-var.html
[One (M7) Android Development] maddie01:
Quick one. I did the custom recovery and installed superuser but when I do Root Checker it does say Rooted, but says BusyBox Not Found? Do I need to re-install something?
[One (M7) Android Development] mike1986.:
It depends if you flash only superuser or together with Busybox :)
[One (M7) Android Development] descenpet:
install busybox? :D
[One (M7) Android Development] maddie01:
Hi Mike86,apologies as I thought it was a package deal? My fault. I will look for a download for Busy Box and install....wow, I feel like a serious NOOB...

Sent from my HTC One using Xparent Skyblue Tapatalk 2
[One (M7) Android Development] mike1986.:
Busybox is included in my Rooting Tools :)
[One (M7) Android Development] maddie01:
Got it, I am am set. Just need to look at the ROMs now...thanks very much for the help.

Sent from my HTC One using Xparent Skyblue Tapatalk 2
[One (M7) Android Development] huxley309:
Unlocked my one, and installed superuser and cwm, but it's saying i don't have root access?!

Can anyone help?

Im trying to backup my stock rom before going ahead.

Also does franco kernel work with this device or is there a better choice?
[One (M7) Android Development] descenpet:
you only need unlocked and cwm to backup your original stock rom. you don't need super user for that.
[One (M7) Android Development] huxley309:
Trouble is cwm keeps saying the phone needs to be rooted in order to work, superuser not found at etc.

Yet the phone is rooted, i go into bootloader, and there it is unlocked plain as day.

Don't know what cwm is playing at.
[One (M7) Android Development] descenpet:
you mean you can't flash cwm? are you trying to flash it from within android? unlocked =/= rooted
[One (M7) Android Development] huxley309:
That's right, i get the feeling i've missed a step, perhaps go into stock recovery and go into fastboot mode and flash cwm from there perhaps?

So grab the apk of cwm, and rename it recovery.img?

This is my first htc, if this was a nexus id have it finished ages ago.
[One (M7) Android Development] descenpet:
the instructions are on first page. did you read first page? you can't flash recovery from within android unless you have root. if you are unlocked and not rooted, you can flash it or sideload it from fastboot.

quoting mike from first page

Flashing custom recovery

What you need to know before flashing custom recovery:

After flashing custom recovery you can always revert to your stock recovery. This procedure will be described later.

Your bootloader needs to be "UNLOCKED". "LOCKED" or "RELOCKED" bootloaders can't flash custom recovery.

This operation will cause your bootloader to show "TAMPERED" text below "UNLOCKED".

For safety reasons, first what you should do is nandroid backup inside recovery. You might need it during "going back to stock" procedure.

Download custom recovery of your choice and rename it to recovery.img

Move recovery.img to c:\mini-sdk location

Connect your device to the PC

Boot your device in fastboot mode (like you did during unlocking bootloader - power off the device and turn it on using power + vol down buttons and select "FASTBOOT")

Open up command prompt ( Start > Run > type cmd and hit enter ). The window that appears is called Command Prompt. <click here to see the image>

Navigate to where you unzipped "mini-sdk" package (type in Command Prompt: cd c:\mini-sdk). Note: make sure the path is not c:\mini-sdk\mini-sdk

In the Command Prompt type following command: fastboot boot recovery.img

Command above will not permantently flash custom recovery, but it will just boot it. Why? Because that way we can backup your original, stock recovery image before we replace it with custom one.

Perform a nandroid backup.

After nandroid backup is done, reboot the device in fastboot mode again.

In the Command Prompt type following command: fastboot flash recovery recovery.img
[One (M7) Android Development] huxley309:
I did, im just trying to make sense of it, so i grab the apk of cwm, rename it to recovery.img and sideload it through fastboot?
[One (M7) Android Development] descenpet:
the cwm you download will be named something like recovery-clockwork-6.0.3.2-m7.img

you don't really need to rename it actually. you can just sideload/boot it and backup your original rom first(then it will backup your original recovery too) then flash it to recovery.

or you can just flash it to recovery, then you can backup your original stock rom, except recovery.
[One (M7) Android Development] huxley309:
Yeah got that, did the whole fastboot recovery which rebooted the phone, went to nandroid to perform a backup and that's *****ing about no root.

Oh i see, boot cwm then i can backup the original hmm ok brb.

---------- Post added at 08:32 PM ---------- Previous post was at 08:25 PM ----------

Ok trying to boot cwm in fastboot with no luck, i may just give up and just flash the thing.

---------- Post added at 08:43 PM ---------- Previous post was at 08:42 PM ----------

Ok no luck, when i reboot.img it says on the pc it's done, phone reboots straight to android.

When i try flashing, cmd says unable to determine filename, yet the things right grr....
[One (M7) Android Development] langer hans:
Are you actually trying to flash an APK?

Download cwm.img from here: http://xdaforums.com/showthread.php?t=2173863

Go into fastboot mode and do the following:

fastboot erase cache

fastboot boot recovery-clockwork-touch-6.0.3.2-m7.img
[One (M7) Android Development] huxley309:
Tried that no luck, mind it's renamed to just recovery.img.

I'll rename it back to original, and see if that works.
[One (M7) Android Development] langer hans:
The name shouldn't matter. Can you redownload it, maybe your image got corrupted.
[One (M7) Android Development] huxley309:
No luck, it just reboots to android, double checked everything, filenames directories all is good this end.

Tried flashing, again unable to determine the filename.

Edit - Yeah tried grabbing again, no luck same problem.

I do have pdanet and sdk installed from my galaxy nexus, would that be a hindrance at all?

---------- Post added at 09:10 PM ---------- Previous post was at 08:58 PM ----------

Great now it says tampered unlocked.......
[One (M7) Android Development] langer hans:
The command for flashing is: fastboot flash recovery recovery.img

You may have missed the first 'recovery'
[One (M7) Android Development] descenpet:
so what did you tamper? did you managed to flash cwm?
[One (M7) Android Development] huxley309:
Wtf it's decided to do it, i changed nothing, this is with boot.img

Currently booted into cwm, no idea why it's decided to work all of a sudden.

I did see a quick flash of red letters saying this device is for testing purposes.

Now backing up the boot image phew.

Guess now it's throw on whatever i fancy and install from sd card as per usual?
[One (M7) Android Development] langer hans:
Yes, you are okay now. For further flashing please also check the FAQ. You may notice some freezes in AROMA and recovery not booting. It is answerred there ;)
[One (M7) Android Development] huxley309:
Thanks for that, and anyone else who helped got there in the end.

My head hurts after all that, on my gn you can go straight into cwm, but on this you still have to go through htc's little bit first.

Anyway i'll read up, and have a go at part two tomorrow.
[One (M7) Android Development] Joseng:
I download the stock recovery and its work!

Thank you:laugh:!
[One (M7) Android Development] Prolife:
fastboot boot recovery.img

does this command work with locked bootloader?
[One (M7) Android Development] langer hans:
Nope.

Gesendet von meinem Nokia 3310 via SMS
[One (M7) Android Development] harlenm:
Do you have the files necessary to do this on an at&t phone?
[One (M7) Android Development] langer hans:
The process is the same for AT&T as in international version.

Gesendet von meinem Nokia 3310 via SMS
[One (M7) Android Development] descenpet:
the files are same for international/att/tmo
[One (M7) Android Development] harlenm:
I need the stock att rom
[One (M7) Android Development] descenpet:
you are talking about going back to stock?
[One (M7) Android Development] harlenm:
Yes, I got the files in another post. Thanks anyway.
[One (M7) Android Development] WastedJoker:
Whenever I use the oem lock command my phone gets to "Security Warning" and as such I cannot flash anything.

Method 2 doesn't work :(
[One (M7) Android Development] duluu:
is there a way to debrand my phone?

cheers
[One (M7) Android Development] vizzy:
Custom rom, or root the stock you are currently running and go into /system and delete all of the branding. You could replace the bootup screen logo etc etc.
[One (M7) Android Development] langer hans:
What exatly does it say? Does it ask for confirmation? If so, you have to confirm the re-lock. After that is done and bootloader shows RELOCKED, you can flash a RUU.
[One (M7) Android Development] horsetastic:
Ok so looking through no-one else has posted this. Just decided to return to stock. Recovered stock nandroid. Flashed stock recovery. Relocked bootloader. It actually wiped all my data. And now I can't even do a stock factory reset. Stock recovery seems broken. Bootloader is showing standard tampered, Relocked but also Security Warning. What did I do wrong? Or are there different stock recoveries depending on carrier?

I have a Three UK phone btw.....it's working fine. I just can't wipe and stock recovery seems broken. Going to try unlocking Bootloader again flashing cwm. Re-restoring stock nandroid and so forth. See if maybe I screwed up somewhere.
[One (M7) Android Development] bobsie41:
I have exactly the same problem as you and the same symptoms except I am trying to return to T-Mobile UK stock 1.28.61.7

I flashed the 1.28.401 recovery and mine too is broken. This is serious, if I need a 1.28.61.7 recovery as I now think, it maybe very difficult, if not impossible to acquire. If this is the case, I may never be able to get my firmware updated. :(

If you have any joy or find any info on your situation, I would appreciate it if you would keep me posted as will l. :confused:
[One (M7) Android Development] horsetastic:
Well for you I think there is an RUU already so you can restore stock recovery that way and remove both security warning and TAMPERED flags....

However I have managed to fix the issue my end. Here's what I did....

went back to bootloader and unlocked again. Flashed cwm recovery. Re-installed the apps that go missing when you unlock bootloader (thanks to Paul O Brien), re-flashed stock recovery using Mikes stock_recovery.rar.....Inside the archive there's an flash recovery windows.bat, just double click that and huzaar you have stock recovery. Then relocked bootloader again and rebooted and I now have my completely stock, unrooted 3 phone back....No security warning showing so far :)

Edit:

FAIL! Just thought I'd try a factory reset again and it failed.....I actually think that there must be carrier branded recoveries now.....
[One (M7) Android Development] bobsie41:
I'm quite worried about this now. No RUU for 1.28.61.7 and not much hope of getting one. Hope some genius has a solution. :(
[One (M7) Android Development] horsetastic:
Think I might have found an issue but will test and let you know.
[One (M7) Android Development] dandiele:
does anyone have a mirror for the stock recovery? I see the link on the http://android-revolution-hd.blogspot.com/p/android-revolution-hd-mirror-site-var.html but the link has no mirrors it says. any idea were to find it? I have a nandroid but forgot to choose to backup stock rocovery...

EDIT:GRRRR USE AT YOUR OWN RISK THE RECOVERY IS NOT BOOTING. after alot of searching I am downloading the file located here http://xdaforums.com/showthread.php?t=2261221 this link has a MEGA.co download link with a full nandroid for t-mobile, I am guessing this will have the stock recovery that I can install following the guide at http://xdaforums.com/showthread.php?t=2265618
[One (M7) Android Development] bobsie41:
''7.In the Command Prompt type following command: fastboot boot recovery.img

8.Command above will not permantently flash custom recovery, but it will just boot it. Why? Because that way we can backup your original, stock recovery image before we replace it with custom one.

9.Perform a nandroid backup.''

Wish I had followed this advice before I went blundering in. :(

[MENTION=1582496]Mike19[/MENTION]86

I am trying to return my device to stock but unfortunately (stupidly) I unlocked the bootloader, installed cwm recovery, rooted then took a nandroid. My firmware is 1.28.61.7 and I am just starting to experience the joys of a branded device for the first time.

I have restored my nandroid, unrooted it and flashed the stock 1.28.401 recovery but I am unable to boot into it as it appears to be broken.

My question is, do I need a recovery that is specific to my rom (1.28.61.7) or is it that I am doing something else wrong. I fear that if I can't get back to stock now, I may never be able to update my firmware. :(

Any advice and observations would be much appreciated.
[One (M7) Android Development] W!M:
Hi Mike, maybe a stupid question but I've followed the instructions in you're Guide and I unlocked my phone without problems.

But I absolutely want to make a Nandroid Backup of my current (original) ROM and when I try by running the "fastboot boot recovery.img" command with TWRP 2.5.0.0. recovery there seems to be no mounted storage on my HTC ONE to write to.

I can't mount the data partition with the mount command in TWRP . . . . what do I do wrong?
[One (M7) Android Development] horsetastic:
I think we need to call on people with stock phones on different carriers to do this to at least see if the recovery.img files differ depending on carrier. Also wish I had done this prior to simply flashing custom recovery!
[One (M7) Android Development] mahesh_9j:
Help Required !

Hi All,

I am using ONE DE and trying to flash customer recovery so that I can root and intall ARHD ROM on it. But when I am using the commands fastboot erase cache

fastboot boot recovery.img

The handset reboot in the normal mode i.e goes to the home screen. It's not booting in the recovery. Tried possible ways but no success. Is there anyone here who's carrying a ONE DE and successfully flash the custome recovery ? Please share the steps so that I can also try the same.

Thanks in advance.:good:

Mahesh
[One (M7) Android Development] langer hans:
Try CWM instead.

Gesendet von meinem Nokia 3310 via SMS

---------- Post added at 05:51 PM ---------- Previous post was at 05:50 PM ----------

Does fastboot show any error?

Have you already unlocked the phone?

Gesendet von meinem Nokia 3310 via SMS
[One (M7) Android Development] mahesh_9j:
No Errors on fastboot. I am using Developer edition and it comes with unlocked bootloader.
[One (M7) Android Development] langer hans:
Did you use TWRP or CWM?

Try another version.

Sometimes just booting the recovery doesn't work for no reason...
[One (M7) Android Development] mahesh_9j:
I tried this with CWM.

Let me try with TWRP...will update

thanks

---------- Post added at 01:39 AM ---------- Previous post was at 01:16 AM ----------

Tried with TWRP....still the same issue...
[One (M7) Android Development] langer hans:
When you enter fastboot, do you hard-reboot the phone?

What normally works is shutting down the phone via menu, from there enter bootloader, erase cache, boot recovery.img. I never had problems with that :/

Maybe someone else can help here?
[One (M7) Android Development] mahesh_9j:
Bro, done

tried with ONE All in one toolkit and it worked in one shot :)

thanks
[One (M7) Android Development] W!M:
CWM did the job ;)
[One (M7) Android Development] mechjman:
Hi Mike,

Was reading the article you posted in regards to unlocking bootloader via HTCDev which will cause a wipe of the data partition which contains some stock apps. The question is that now have been resolved with latest stock OTA that has been pushed around the world?

As I'm itching to use your ROM and if your ROM already contains the wiped apps then it's not too bad as I like the stock apps but the concern is if I need to restore to stock and the recovery images that I will make will have missing apps because of the unlock, then how are we suppose to go back to stock and get OTAs? besides waiting for firmware.zip updates :P
[One (M7) Android Development] hugebulge:
Is there a att ruu out there anywhere? Gotta return my phone because of a lifted speaker grill. Thanks
[One (M7) Android Development] mike1986.:
1. I highly doubt this is fixed in latest OTA

2. My custom ROM have all these apps so actually after flashing my ROM you'll have them back.
[One (M7) Android Development] mechjman:
Thanks for the reply, Mike!

Does relocking the device also causes the user partition to be wiped again? if not, then restoring a stock image back up and relocking it to get an OTA would be safe? I'm not sure if restoring backups will overwrite user partitions.
[One (M7) Android Development] ccpzcp:
please help me i have rooted my htc 64gb dev edition now i want to go back to stock but cant i tried ruu exe of htc dev site but cant go back i have tried flashing zip file with tool kit but cant pleease help me for going back to stock
[One (M7) Android Development] EddyOS:
This is a question for Q&A not this ROM-specific thread...
[One (M7) Android Development] bobsie41:
My usual reply would usually be have you re-locked your bootloader before running the RUU. mmmmmm

EDIT Did you have you're device in fastboot mode when trying to run the RUU?

---------- Post added at 05:50 PM ---------- Previous post was at 05:45 PM ----------

I've noticed you skulking around here have you got/are you getting the ONE?
[One (M7) Android Development] langer hans:
Relocking won't wipe data as I read in another thread. Only unlocking again will.
[One (M7) Android Development] EddyOS:
VERY tempted, upgrade is in July so we'll see what happens around that time...hopefully CM 10.1 will have matured more by then too!
[One (M7) Android Development] P05TMAN:
How would I back up all my data before unlocking? Just copy all of my folders with Sync to my PC?

Also, I really like the torch app and clock app, is there any way to back those up to before unlocking? Prolly not because they are in /data, yeah?
[One (M7) Android Development] bobsie41:
There is a flashable zip to restore everything that is lost in this development section. I can't link because I am on my phone at the moment. Credits to Paul O'Brien.
[One (M7) Android Development] P05TMAN:
Awesome! Thanks!! If you do find it, please post. I'll see if I can turn it up & link it here also for future users.

---------- Post added at 04:17 PM ---------- Previous post was at 04:08 PM ----------

Here is the thread by paulobrien with the zip to restore missing apps! Whoop whoop!! http://xdaforums.com/showthread.php?t=2200628&highlight=restore+missing+apps
[One (M7) Android Development] ccpzcp:
you are right i didnt locked the bootloader but after locking it ruu went smooth thanx dude but whats the use of dev editon if we have to lock it for running ruu and after that again get token and unlock it than whats the use of dev edition
[One (M7) Android Development] boroboy69r:
Links for method 1 return to stock on arhd site not working mate

Sent from the 1
[One (M7) Android Development] P05TMAN:
Would someone please mind answering/suggesting: How would I back up all my data before unlocking? Just copy all of my folders with Sync to my PC?
[One (M7) Android Development] mike1986.:
What kind of data? Pictures/music/contacts/messages?
[One (M7) Android Development] P05TMAN:
Thank you for replying :)

I guess all the data that would be erased once the bootloader is unlocked. I'm not sure what all is deleted during that process though, everything I've read just says it 'wipes phone data'. I know I can't do a nandroid, but really am more concerned about my app data and saved files like pics, yeah

Contacts I know are backed up by Google, messages aren't that big of deal, but sure I can export a back up to Drive
[One (M7) Android Development] mike1986.:
You can't backup all data without doing NANDROID backup. You need to decide what do you want to save. First of all, copy content of your virtual SD card to the pc.
[One (M7) Android Development] P05TMAN:
Ok. Thank you!
[One (M7) Android Development] can7:
Hi i followed method 1 but htc is now stuck at htc one screen ? anyone know how to fix this ?

also when i try to flash recovery image d/l in the first post i get this

:\mini-sdk>fastboot flash recovery recovery.img

sending 'recovery' (9594 KB)...

OKAY [ 1.229s]

writing 'recovery'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 2.380s

but if i unlock the bootloader again it boots ok ?
[One (M7) Android Development] boroboy69r:
Have you got the 401 version

Sent from my HTC One using Xparent Skyblue Tapatalk 2
[One (M7) Android Development] can7:
yes i have the 401 Orange UK (United Kingdom)
[One (M7) Android Development] descenpet:
first post listed orange UK as 61 though http://xda4.androidrevolution.nl/db_mirror/ROMs/RUU_Variants.txt

check yours with fastboot getvar mainver
[One (M7) Android Development] boroboy69r:
I think its .401 cid htc__001

Sent from my HTC One using Xparent Skyblue Tapatalk 2
[One (M7) Android Development] dayze0:
5 Star FANTASTIC GUIDE

5 Star FANTASTIC GUIDE,

Great job on this Guide Mike, good to see some DEV step up and clarify things :good:
[One (M7) Android Development] shadwell_lad:
Mike - when I try this the 'sysrw' command is not found. Any suggestions on how I can unroot (I have SuperSU installed but trying to unroot from that app doesn't work)?