yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] squabbi:
Hello!

1. You can unroot from the device.

2. You can still receive official updates, ONLY if you have stock recovery installed.

3. After an update you'll have to root again.
[One (M8) Android Development] jakTomas:
thanks for your answers :)

may i ask , how can we install stock recovery after rooting the device and keep the root ?
[One (M8) Android Development] squabbi:
I have similar instructions in the second post but I'll outline them here.

Link for stock recoveries. (It's near the end of the first post).

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

So, you can leave your device rooted.

Go into the boot loader and flash the stock recovery (make sure it's the same version (mainver).
[One (M8) Android Development] jakTomas:
so just to be clear here ,, i can just flash the stock recovery STOCK RECOVERY 1.54.401.5 after rooting the device ? " fastboot flash recovery recovery.img " ,, that's it ??

sorry for asking much :)
[One (M8) Android Development] squabbi:
Sorry for the confusion. The second post doesn't cater for your needs. The steps outlined above is when you are already rooted. The one in the second post is if you want to root.

Yeah, so you'll need to do the steps above instead.

Thanks! [emoji4]
[One (M8) Android Development] jakTomas:
ahaaaaaaaaa , so 2nd post steps on how to root and keep the stock recovery

the steps you've mentioned above use only if you already rooted and want to flash stock recovery ?

am i correct ?
[One (M8) Android Development] squabbi:
Yes sir! Thats right!
[One (M8) Android Development] jakTomas:
thanks for your help :)
[One (M8) Android Development] squabbi:
No worries! Let me know if you run into any issues! :laugh:
[One (M8) Android Development] jakTomas:
hey man ,, i've unlocked the bootloader ,, now when i try to boot the recovery ( PHONE ON FASTBOOT MODE )

C:\M8 ToolKit\Data>fastboot boot "C:\M8 ToolKit\Data\philz_touch_6.43.6-m8.img"

creating boot image...

creating boot image - 10240 bytes

downloading 'boot.img'...

OKAY [ 0.172s]

booting...

OKAY [ 0.001s]

finished. total time: 0.176s

C:\M8 ToolKit\Data>

its not working ,, the phone will boot to the home screen and not to the Recovery ,,,

why ??
[One (M8) Android Development] squabbi:
You may have to be S-Off for this. But in the boot loader with Fastboot USB.

it should hang for a bit then boot to the recovery.
[One (M8) Android Development] jakTomas:
i've used the original method ,, now i have CWM recovery ,,

i've tried next to run this command fastboot flash recovery recovery.img ,and downloaded this file STOCK RECOVERY 1.54.401.5

now i have this file in M8 ToolKit\Data and when trying to run the command , i'm getting the following error :

C:\M8 ToolKit\Data>fastboot flash recovery recovery.img

target reported max download size of 1830711296 bytes

error: cannot load 'recovery.img': No error

HELP MAN :D
[One (M8) Android Development] squabbi:
You can use the toolkit for this.

Goto the fastboot button and then look at the flash section. Select the partition, (recovery) then press the '...' and find your recovery img.

The problem was that there was no such file as 'recovery.img' in the folder. Using the toolkit is better. :)
[One (M8) Android Development] jakTomas:
DUUUUDE ,, HEEELP

after the root i'm having bootloop ,,

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

wanted to download one of these , SW version is 1.54.401.5 ,, but what is CID HTC__001 and CID HTC__102 , CID HTC__J15 , CID HTC__K18

please help :'(
[One (M8) Android Development] squabbi:
Woah! How did you get into a bootloop?

CID is the carrier ID of your phone. It means it supports those CIDs.
[One (M8) Android Development] jakTomas:
downloaded xposed installer :'(

how can i find my CID ???
[One (M8) Android Development] squabbi:
Oh I was thinking of that. You can flash a zip in recovery that disables xposed. Just have a look in the sdcard when flashing a zip.

You can find your cid in fastboot and then in the fastboot menu in the toolkit and use getvar and select a variable to check.
[One (M8) Android Development] jakTomas:
factory reset solved the issue ,,but root still there ,,, i want to flash stock rom , and re-install stock recovery , and re-lock the booter

how can i do that ???

did what you told me to do with the toolkit ,, still unable to flash the recovery

getting :

fastboot flash recovery C:\M8 ToolKit\Data\Recoveries\stock recovery 1.54.401.5 recovery.img

target reported max download size of 1830711296 bytes

error: cannot load 'C:\M8': No error

how can i solve this ??
[One (M8) Android Development] squabbi:
I thought I fixed the issue where there are spaces in the file.
[One (M8) Android Development] jakTomas:
how can we fix that ,, i want to remove the root , flash stock recovery and lock the bootloader
[One (M8) Android Development] squabbi:
You can try using the command prompt and type:

fastboot flash recovery *drag the recovery img here*
[One (M8) Android Development] jakTomas:
did that ,, faced the following error :

C:\M8 ToolKit\Data>fastboot boot "C:\M8 ToolKit\Data\philz_touch_6.43.6-m8.img"

creating boot image...

creating boot image - 10240 bytes

downloading 'boot.img'...

OKAY [ 0.172s]

booting...

OKAY [ 0.001s]

finished. total time: 0.176s
[One (M8) Android Development] MattMJB0188:
Great tool. If I have the developer edition, all I have to do is hit recovery and it will flash a custom recovery, right? All I have interest in doing is flashing custom roms. I would be coming directly from stock.
[One (M8) Android Development] squabbi:
The developer edition is much easier to work with as the boot loader is already unlocked.

That's exactly what you have to do. :3
[One (M8) Android Development] MattMJB0188:
Thanks. That's what I thought. So glad I went with the developer edition.
[One (M8) Android Development] squabbi:
Introducing 2.0-Beta1 for public testing!

Hey guys! I love raw stuff and some do too! So I present to you the next generation of the HTC One toolkit. Some things are still missing but if you want to test out the basics, feel free to do so! :)

Download at the second post!

[MENTION=3753223]k1ll3r8e[/MENTION]
[One (M8) Android Development] JacksoNxy:
Does xposed installer cause a bootloop when i root my m8 with your toolkit :confused::confused:

I just need the root for greenify and xposed installer ;) Want to keep everything stock with OTA etc..
[One (M8) Android Development] squabbi:
No, using this toolkit to root will not bootloop your device after installing xposed. I'm running it and it's fine. It's probably his fault.

We can do that. :) There is a tutorial in the second post for that. Give it a go.
[One (M8) Android Development] JacksoNxy:
Thanks for the fast reply :) I'll try that at the weekend, have to wait for a windows 7 PC because i'm on Mac :-/
[One (M8) Android Development] squabbi:
Ah no worries. :) Let me know if you have further questions along the way. :)
[One (M8) Android Development] as0k:
If i wanna do a nandroid backup on everything just when i get my phone, before i start to unlock/root it, can i do this with "Backup"-button? :)

And if later on i restore that backup, does my phone get exactly the way it was when i bought it?

Thanks!
[One (M8) Android Development] squabbi:
The backup button does an adb backup. For a nandroid you'll have to do it yourself in recovery.

So it will take your phone back to the same state as when you backed it up. :)
[One (M8) Android Development] FrankJHTC:
Me too!!!!...?

Enviado desde mi HTC One_M8 mediante Tapatalk

---------- Post added at 09:49 PM ---------- Previous post was at 09:47 PM ----------

With an adb backup we can restore the phone like before root it?

Enviado desde mi HTC One_M8 mediante Tapatalk
[One (M8) Android Development] squabbi:
Adb backup only backs up applications and its data. You should make a nandroid whilst booting the recovery image.

fastboot boot recovery.img
[One (M8) Android Development] FrankJHTC:
Thanks

Enviado desde mi HTC One_M8 mediante Tapatalk
[One (M8) Android Development] squabbi:
HAZAR! Introducing my all new Toolkit! v2

Yes, it's here now; the long awaited re-release with a complete recode! :)

Images are in the first post. Download link at the top (black bar)

Or here: Click me. :good:

Thanks for your support guys! :victory: Let me know anything missing in the new one! :D
[One (M8) Android Development] trancoss2:
Thanks
[One (M8) Android Development] squabbi:
2.0.0.1 Released!

Version 2.0.0.1 has been Uploaded!

Please update to 2.0.0.1 via WyUpdate or download it again. :)

This time the update is available to those on 1.x.x.x. ;)

This adds [MENTION=3437245]scotty1223[/MENTION] 's bootloader ADB commands. :)
[One (M8) Android Development] squabbi:
New update, (already?!)

Another new update is now uploaded! :D (v2.0.0.2)

This introduces one menu with [MENTION=1102297]Sneakyghost[/MENTION] 's FUU guide. :)
[One (M8) Android Development] Sneakyghost:
Aussi Ausssi Aussi! :D

Good job, mate!

mobile post... lazy typing...
[One (M8) Android Development] soylukral:
download link doesnt work..

EDIT: works now..
[One (M8) Android Development] FANISTELROOY:
Does this method void the warranty? Is there any way to go back to stock to have full warranty?
[One (M8) Android Development] squabbi:
You could try use towelroot to root your phone then use firewater to gain s-off. That way you could return to stock and the lock the bootloader again.
[One (M8) Android Development] FANISTELROOY:
Thanks for the info!

I saw firewater, but I am not sure which method should I use.

http://firewater-soff.com/instructions/

Instructions (normal, rooted device method)

Instructions (WeakSauce method - some m8 models and maybe others)

Instructions (temp-root method)

I just want to root my device.

As I know towelroot is not permanent root.

So, based on that I should use the 3rd one, but on the instructions says: "This will typically only work on M7 and older devices with android version 4.3 or lower."
[One (M8) Android Development] squabbi:
I used towelroot but I needed to update the SU binaries anyways. If you don't want to risk the warranty void by using HTC Dev's bootloader unlocking process, try using towelroot, then install this Super User manager, chainfire's will not let you continue if you are using an outdated binary.

This seemed to allow me to gain SU access to apps even if there was no dialog to accept or deny. See if this works out for you: Super SU

Also try using [MENTION=3437245]scotty1223[/MENTION] 's unlock bootloader ADB commands if you don't need S-Off, otherwise you could go through the firewater method.

Hope this is insightful! :)
[One (M8) Android Development] FANISTELROOY:
It did not work for me :(

I am thinking that this might work:

1. towelroot

2. firewater (but which of the 3 methods??)

3. unlock bootloader http://xdaforums.com/showthread.php?t=2708571

4. flash supersu.zip

What do you think?

The next option is through sunshine?
[One (M8) Android Development] GTX1:
I downloaded via the link in OP and the application updated but now the application wont actually start. I double click the toolkit exe, file explorer blinks, then nothing.

The updater still works, but I'm already updated so it does nothing for me. This happens on both my Win8.1 and Win7 drives.
[One (M8) Android Development] Sojourner353:
That happened to me also, a reboot solved the problem for me.
[One (M8) Android Development] squabbi:
Try using the first method (already rooted).

If you still want to keep everything else stock boot the recovery image instead of flashing it.
[One (M8) Android Development] FANISTELROOY:
I tried first and third method.

The first failed at the part where is the su folder, because it does not exist.

And the third one could not work the temp-root.

So, only sunshine left!

I just want to root to remove ads, to use some other apps that need root such as ntfs mount, and also flash the cerberus anti-theft (not very important) to make it difficult to remove.

I don't want custom roms, kernels etc...
[One (M8) Android Development] squabbi:
Hmm.. That's what you mean my permanent root? ;)

I did it the old fashioned way where I unlocked the bootloader, booted recovery image then flashed super user.

(Did you not want to void warranty?) Otherwise Sunshine is left!
[One (M8) Android Development] FANISTELROOY:
I do NOT want to void warranty, that's why I am looking for something. All methods say to use HTCDev.

So, I have only sunshine left!
[One (M8) Android Development] squabbi:
Its a shame that its so much trouble. If it were easier to update SU binaries on HTC devices towelroot would have worked fine.

But looking around Sunshine works well for other M8 users. :)
[One (M8) Android Development] GTX1:
Reboot isn't working for me. :(
[One (M8) Android Development] squabbi:
I'll fix it up for you. I'm at school at the moment. :)
[One (M8) Android Development] GTX1:
That would be great. I downloaded the file in the OP, it updated, and now every time I double click on the application it acts like its going to open with file explorer graying out but then it never opens.
[One (M8) Android Development] squabbi:
Empty
[One (M8) Android Development] squabbi:
It seems to be an issue with the updater on the actions after the update. When I updated 2 dlls were deleted, are there missing files for you? If they are try extracting the 2 dlls into the same folder as before.

Sorry for the troubles!
[One (M8) Android Development] GTX1:
Yep, I extracted 3 Dll's from the posted version in the second/first post and now it works.

Thanks man.
[One (M8) Android Development] sardroid:
Hi squabbi- when my friend start Run Firewater with your Tool, he get this: http://imgur.com/OSoEAkP

What to do?Will your Tool work with soft 2.22.401.4 ?
[One (M8) Android Development] AliSohikish:
Is it work for m8 dual sim?
[One (M8) Android Development] squabbi:
Yes it should. :)
[One (M8) Android Development] Sn8kbordin:
In "s-off" firewater screen the "reboot (important)" button doesn't work.

Is my phone supposed to reboot?

Also your software crashes at start after update in XP.

---------- Post added at 08:35 AM ---------- Previous post was at 08:28 AM ----------

And it downloads "universal ADb drivers" but it won't install them. XP says "installer package could not be opened. Verify that it exists and that you can access it or verify that it is a valid Windows Installer package" - FIXED, I renamed your folder that's why it didn't work.

Still, In "s-off" firewater screen the "reboot (important)" button doesn't work.

Is my phone supposed to reboot?

:(
[One (M8) Android Development] tyfoxx:
I having all kinds of issues.. With s - off
[One (M8) Android Development] squabbi:
I'm very sorry guys. I've been delayed for the past week. I'll be doing an update now.
[One (M8) Android Development] :
VZW issue

So the newer version of M8 is unable to be unlocked through HTCDev. ToolKit will not work for us.... But I just wanted to say great job on this toolkit. Very easy to use and UI is very nice! Hoping that Firewater Method gets an update soon but very unlikely with the release of SunShine. Keep up the great work!
[One (M8) Android Development] shayp:
Is HTCDEV unlock still a problem with the new versions on Verzon ? because i wanna try it on someones phone but i dont want to brick it.

thanks !
[One (M8) Android Development] mariosaraylian:
Infected download!

The download of the ToolKit I got here had a virus in it......whats up with that????????
[One (M8) Android Development] squabbi:
Where's the result? I'm sure it's clean.
[One (M8) Android Development] squabbi:
Our 2.0.1.0 update is around the corner!! It features a recovery downloader which tells you of there is a newer version on the server. :)
[One (M8) Android Development] Captain_Throwback:
FYI - I'm not sure what versions of TWRP are downloaded by the tool, but I have a build that works on all the variants here: http://themikmik.com/showthread.php?t=16278

I know the official site has 3 different versions, but with my build, only one is necessary. I'm not sure if you want to include that as an option or not, but I figured I'd let you know. The Holofied theme that goes along with mine also has some cool features, like fastboot flashing boot image support from right within recovery.
[One (M8) Android Development] :
HtcDev has been locked down since day 2 of release. Won't brick if you try it will just get the MID160 error message.
[One (M8) Android Development] squabbi:
That's even better! :) Thanks.
[One (M8) Android Development] JellyTooth:
thanks but little question!!

does this work on HTC one M8 (Dual SIM) ?

sorry i ask cuz i am afraid it might permanent brick my device making it unrecoverable :confused:
[One (M8) Android Development] squabbi:
New version released! V 2.0.1.0

Hey guys! Version 2.0.1.0 has been uploaded, please update it through the application. :)

Notiable changes are the recovery downloader that has been added.
[One (M8) Android Development] Roma80:
When i try to check the TWRP Version (i click on the GSM Version), your tool crash :)
[One (M8) Android Development] squabbi:
Ohh I think I left something out! I'll get back to you. :)
[One (M8) Android Development] squabbi:
Okey I pushed out a new update. Try updating and let me know. The new version is 2.0.1.1. :)
[One (M8) Android Development] Roma80:
Thanks, but it crash again in the second time and i'm a little confused ;)

I select TWRP - GSM and click check. The tool ask to download the xxx (sorry i forgot) and international version. I click ok and it downloaded.

At the end your tool tell me the AT&T Version is downloaded?!

I look in the folder and the filename was TWRP - GSM.img

Its a little confusing.

Next bugs:

- the server version is 2.7.1.0 - its wrong, its 2.8.1.0

- your version is empty

- when i try to check the gsm version again, it crash like before --> i delete the recovery und settings folder in the data folder, but it crash

I hope it helps for you, thank you for your work bzw your tool :)
[One (M8) Android Development] squabbi:
Ah ok thanks for the crash info! :)

The AT&T version and the international one both relate to GSM, so the img that was downloaded was correct.

- Server version is the one I have on my server. I'll have to reupload, unless I think of another way. :) Thanks for letting me know that there was 2.8.0.1!

- The version is empty because there has not been one previously downloaded.

- The Data folder should remain there, its where the settings are stored for the recoveries downloaded. If they are missing it may crash.

I'll see if I can replicate the same problem on my end.

Thanks, :)
[One (M8) Android Development] squabbi:
[MENTION=5740785]Roma80[/MENTION] I've been looking for the problem and I've found it! After you download the recovery its supposed to write the version number of the server to the .ini file in the settings folder but it writes a blank space.

So I've removed the downloading feature for now and I'll see if it can make a return, but for now I'll be doing the recovery flashing part.

That will be tomorrow, I've got to sleep now! :)

Thanks for waiting! :)
[One (M8) Android Development] squabbi:
Well, it seems to be not working as it should. I'll be trying to fix it up later but I'll be most likely to remove the downloading part and include links and a flasher.

I'll work on it tomorrow, bed time for me! :)
[One (M8) Android Development] Roma80:
- i had downloaded one image. when i start the tool again, maybe your tool should show the version

- i deleted not the data folder, only the subfolder recoverys and settings for testing, but it not helps

hope that helps and make things clearer :)

EDIT: yeah thanks for lunch :)
[One (M8) Android Development] mrocca:
Root while keeping stock recovery on 4.4.3

Hi All,

Can I use this tool to root my M8 after the latest Android 4.4.3 update?

I want to root while keeping stock recovery, I have already got the img to unlock the bootloader from HTCDev.

I'm not planning to S-OFF right now, just getting root access.

Thanks for your advice!
[One (M8) Android Development] squabbi:
I have a tutorial that already covers this. :) You want to flash the custom recovery and flash the root package. After that's done search up 'Stock backups M8' on google and find the XDA link. Scroll down to the stock recoveries section of the post and find one that corresponds to your software version. Once you download the stock recovery, flash it back! :)

let me know if you need any more help!
[One (M8) Android Development] mrocca:
Thanks squabbi!!

You meant the procedure in post #2, right? I read it, Thanks!

I think I'll be OK flashing the stock software.

Have a great day
[One (M8) Android Development] Guessphx:
quick question

I am getting my m8 today and I will be rooting putting a custom recovery and s-off. Will I be able to accomplish that with this toolkit? I'm not new to this I am just making sure so I'm not wasting time. Thank you in advance!
[One (M8) Android Development] squabbi:
For now this toolkit can put a custom recovery but it doesn't include the su zip to flash. I'll have to add that in later on.
[One (M8) Android Development] knights.JayTana:
Any link for Firewater Tool? Cant seem to enter in their site.
[One (M8) Android Development] squabbi:
Hey everyone! Version 2.0.2 has been released! :) Update with wyUpdate from the application or check the XDA downloads tab.
[One (M8) Android Development] sbiricuda:
Thank you squabbi, this Toolkit is amazing. I used it to unlock and root a few months ago.. I'm totally unable to use adb and adb commands - quite worried to mess up my precious device - and it's amazing to see I could use it now to gain S-OFF!

Any plan to include a way to update firmware too?

This is another thing that, no matter how hard I keep searching and reading, doesn't look easy for me.

Very well done, thank you again for your work!
[One (M8) Android Development] R3VX:
Doesn't work for me, downloaded the latest one.

Windows 8.1 64bit here
[One (M8) Android Development] Prinz069:
Hi there,

as I'm a total ADB noob I want to ask you before bricking my brand new M8 if this tool is safe to use.

Am already unlocked but I'm scared to S-Off or getting rid of red flag/ Tampered or SuperCid'ing.
[One (M8) Android Development] squabbi:
Thank you for your comment! I can definitely take a look at doing that. :)
[One (M8) Android Development] sbiricuda:
Cool, can't wait :)
[One (M8) Android Development] squabbi:
I would say thousands of people have used it and haven't complained. (Yet). ;) It makes it pretty easy to do all that. You can remove tampered in the adb bootloader commands section. :)
[One (M8) Android Development] squabbi:
What seems to be not working? Is the application not opening?
[One (M8) Android Development] R3VX:
Yeah the application won't open up at all.

I got the latest net framework etc installed.

I even tried running compatibility mode.
[One (M8) Android Development] squabbi:
Are all the DLLs extracted as well?
[One (M8) Android Development] sbiricuda:
The firewater procedure says that it is mandatory to completely uninstall any htc driver for the process to be successful.

Is this still true if I want to go S-oFF through the toolkit?
[One (M8) Android Development] zaki aziz:
hi guys ... just curious about one thing.. or might i've missed some discussion ..

Once hTC device rooted and super User / SU installed, what about original radio? normally when u tried to do factory wipe or reset, does radio going mess up. Unable to do FOTA update.. am i right?
[One (M8) Android Development] R3VX:
There are 2 DLL's in the folder :

AndroidCtrl.dll

TaskDialog.dll
[One (M8) Android Development] Prinz069:
Download again from another mirror. Had that also and downloaded again. Works fine here.

---------- Post added at 06:17 PM ---------- Previous post was at 06:15 PM ----------

I know but I'm still feared :D

What happens if I'm going to remove red flag/ tampered and it somewhere stucks? I don't know ADB commands to get it back to life then.
[One (M8) Android Development] squabbi:
Yes remove HTC sync. :)
[One (M8) Android Development] squabbi:
I haven't looked at anything like that. OTA updates should still download. But if you want you could back up your current radio.