yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
If your new to Linux and are likely to only use it for this one operation I would say just go strait 12.04 32bit.

You shouldn't get any problems setting it up on that. :good:

I know nkk71 has a bit about setting up Linux here in this guide, but if it's any help I have a mini guide here http://xdaforums.com/showthread.php?p=54272479. Never fails ;)
[One (M7) Q&A, Help & Troubleshooting] hacka247:
Many thanks guys.

Yes a bit new to linux.

Will see if I can get it sorted later in the day and will update you guys.

Thanks for all your help.
[One (M7) Q&A, Help & Troubleshooting] hacka247:
fantastic

got my htc one sorted.manage to get it locked and restord to original state.

fantastic guide.

have now returned my phone to EE for them to try and fix it within 28 days or replace it .my mic seems to have packed up as i could hear people but they could not hear me.its not the no sound bug as i know all about that but lets see.

many thanks

nkk71

Danny201281
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Happy days :) Good to know you got it sorted. Hope the repair is quick :good:
[One (M7) Q&A, Help & Troubleshooting] hacka247:
yep

i followed your link for the usb setup for ubuntu and that version seemed to of worked as the other version did not work.

i thank you both.

happy happy days

Merry Christmas and a happy new year when it comes to all you guys and all of the

XDA crew.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
It shall be added :o ... once i make the final revision to this guide, haven't been updating it much, too many lines :eek:

Nice :good:

Good luck with repair, hope you get it back quickly :)
[One (M7) Q&A, Help & Troubleshooting] antrophogus:
Hi all,

I currently have phone with RUU re-installed, Re-locked message, s-on.

I want to return my devices for a lot of purple spots on my devices camera when taking photos in poor light conditions.

Is there another free way to get you device back to s-off to get it to "locked" since romrunner does not seem to work with me and firewater has been discontinued?

Thanks!
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Depends on your current Hboot and Firmware if your on the latest Firmware hboot 1.57 then Sunshine is the only way :good:

If your not sure post

fastboot getvar all

Remove your IMEI and Serial number before posting
[One (M7) Q&A, Help & Troubleshooting] antrophogus:
c:\Users\Desktop\htcone>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4T.27.3218.14

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 5.11.401.10

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

(bootloader) serialno: xxxxxxxxxxx

(bootloader) imei: xxxxxxxxxxx

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: HTC__E11

(bootloader) battery-status: good

(bootloader) battery-voltage: 3993mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-e47fb74b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.047s

So basically, I will have to spend already $25 to be able to use my warranty?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
yep, sunshine s-off ($25) is now you're only way of getting s-off. sorry
[One (M7) Q&A, Help & Troubleshooting] antrophogus:
Sorry to bother you agian, but just for the sake of beeing sure.

So there is not other way off getting my phone back to fully stock to be able use my waranty?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Well you could use the Guru Reset ROM, to set your phone back to stock ROM. But the problem is there is no way of getting bootloader to say LOCKED without s-off, you can only get it to say RELOCKED

the TAMPERED banner may or may not disappear, I'm not entirely sure about it (a full RUU will usually reset the tampered flag, but not sure if a Reset ROM will do as well)

The Guru Reset ROM for

(bootloader) version-main: 5.11.401.10
(bootloader) product: m7_ul
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__E11

is located here https://www.androidfilehost.com/?fid=23501681358543706

from this thread: http://xdaforums.com/showthread.php?t=2759000

but even

IF

the tampered flag gets reset (don't think it will though), you will only get bootloader to say RELOCKED.
[One (M7) Q&A, Help & Troubleshooting] morgan150:
So in order to gain full stock and remove the flags my handset needs to be S-OFF?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Yes, you can only remove TAMPERED and set LOCKED (as opposed to RELOCKED), using S-OFF
[One (M7) Q&A, Help & Troubleshooting] halfboss:
hi guys when i flash a ruu.zip what time i need to send the file ??? it's an half hour who is stuck on sending :/ what i do now ???
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
If you have HTCsync installed, Uninstall it but leave the drivers installed reboot your pc and flash the RUU again :good:
[One (M7) Q&A, Help & Troubleshooting] hacka247:
i got a bit worried at one point when i did it and i could say not sure at what poit but it took around 20-30 min after one command waiting and waiting and it did finish.i.cant remember if it was the ruu part but id say give it at least 30-45 to be sure or do as Swansea said.

i did not uninstall HTCsync and all worked fine.

trail and error and help from hear will see you through bud.it did me.
[One (M7) Q&A, Help & Troubleshooting] hacka247:
hi.

thanks to this guide i got my phone locked to original state.

i will be getting my phone back from the repair shortly.

im currently s-off what would be best and easiest guide to root my phone again as i cant fully remember how to proceed.

my phone will be locked and s-off .i used ([Guide] Firewater S-Off) guide the last time but because i will be s-off already im not sure if i can use that same guide again to unlock and root my phone

Any help will be appreciated.

thanks agin in advance for your help
[One (M7) Q&A, Help & Troubleshooting] nkk71:
good to hear, glad everything worked out. :good:

depending how your phone comes back:

1- hboot 1.44 (pre June 2013) -> you can revone a chance

2- hbtoo 1.54/1.55 -> you can try rumrunner

3- the easiest, and known to work for all M7s (unless you have an

extremely

rare variant) is to use Sunshine S-OFF (but it does cost $25)

(firewater has been discontinued, so dont bother trying that)
[One (M7) Q&A, Help & Troubleshooting] hacka247:
should get phone back in a few days but i should already be s-off.could i still use one of the above just to unlock and root it?

i thought thows were mainly to get it s-off?

i did use firewater the last time but that was when i was locked and s-on and it worked but this time i should be s-off already

thanks again
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Well if the device does come back with s-off, you should be able to flash a modified firmware package containing a custom recovery instead of the stock recovery. Then you can unlock with a dd command or the HTC1Guru bootloader reset tool in recovery without the need for HTCDev.

Rooting is easy just reboot the phone from the custom recovery and it will prompt you to root the device say yes. When its rebooted luanch your SuperSU app and update the bineries if needed and your done. Or simply flash a prerooted custom rom :good:
[One (M7) Q&A, Help & Troubleshooting] hacka247:
ok thanks.

i await my phone and will update all.
[One (M7) Q&A, Help & Troubleshooting] hacka247:
got phone back. working ok now but yep,now s-on. LoL.

latest latest OS thow i suppose.might have to use sunshine now to S-off again as its come back H Boot 1.57.

this guide is great as my warrenty was not void due to me restoring my phone to original state.

Lovly.

now i need to move on to s-off my phone agine and back to basics

cheers guys for all ya help
[One (M7) Q&A, Help & Troubleshooting] HollowLeon:
Please help me. I followed the guide and able to removed the "tampered" and "unlocked", i also able to S-ON back my phone. Problem is, everything went smoothly but the kernel version gave me a heart attack. It isn't the same as the original untouched HTC like below. I want to send my device for warranty but I'm afraid they'll say my device is voided :(
[One (M7) Q&A, Help & Troubleshooting] cyrusct82:
What is the problem?

Did you look at software version?

Did you see that is different?
[One (M7) Q&A, Help & Troubleshooting] HollowLeon:
the software is different, the problem is under the kernel version. "root" and "and", im afraid when they see the root they'll retract back my warranty. is it?
[One (M7) Q&A, Help & Troubleshooting] cyrusct82:
That is the name of the machine where the kernel was compiled. Not means that you have root. Or you was rooted.
[One (M7) Q&A, Help & Troubleshooting] HollowLeon:
so it has no link whatsoever with the warranty?
[One (M7) Q&A, Help & Troubleshooting] cyrusct82:
If you have S-ON, LOCKED bootloader and no TAMPERED flag then you are good to go. If you would have a rooted system then the tampered is triggered or a security error in bootloader screen if you are in the condition mentioned above.
[One (M7) Q&A, Help & Troubleshooting] alray:
Maybe this should now be updated (because firewater is discontinued) to something like:
[One (M7) Q&A, Help & Troubleshooting] justpete:
I have 1.57 - but Sunshine says I need an .. undebuggable boot.img.

Anyone know how I go about doing that? I tried the one from CWM Bell stock rom and it said the same thing...
[One (M7) Q&A, Help & Troubleshooting] nkk71:
try flashing this ROM: https://www.androidfilehost.com/?fid=23501681358543706

(during installation: unselect stock recovery, unselect stock radio, unselect root) then run sunshine
[One (M7) Q&A, Help & Troubleshooting] justpete:
I don't say this often, but..

I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU

I should have posted in this thread a long, long time ago. It would have saved me about 40 hours of my life.

Thanks dude.
[One (M7) Q&A, Help & Troubleshooting] threejean:
Hey folks,

Looking to upgrade to Sense 6 and eventually Lollipop. Right now I'm unlocked with TWRP 2.8.4.0

c:\ADB>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.56.0000

(bootloader) version-baseband: 4T.24.3218.09

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 4.18.502.7

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

(bootloader) serialno:

(bootloader) imei: 4

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0712000

(bootloader) cidnum: CWS__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 4048mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-c6bbb6d4

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

It was suggested that I go with Guru_Reset_M7_5.12.502.2_clsA.zip. Do I flash this first or flash 5.12.502.2.firmware.zip first?

Thanks!!
[One (M7) Q&A, Help & Troubleshooting] clsA:
lol didn't trust me huh .... i also suggested converting to the developers edition with the instructions here

http://xdaforums.com/showpost.php?p=58087799&postcount=11

and it doesn't matter which you flash first ... the firmware may contain the stock recovery... which means if you flash it first you would have to flash TWRP Again
[One (M7) Q&A, Help & Troubleshooting] threejean:
Hey, it's not that I don't trust you, I was just a bit confused because it's not clear from everything I've read (in regards to my situation) what gets flashed when. My old Inspire was never this confusing. So here's my plan:

Flash guru_reset rom, fkash firmware, re-flash TWRP, re-root, wait for Lollipop :)
[One (M7) Q&A, Help & Troubleshooting] alray:
why not just using the 6.07.1540.2 ruu?
[One (M7) Q&A, Help & Troubleshooting] clsA:
I was just messing with you ;) ... I didn't answer earlier because i was out
[One (M7) Q&A, Help & Troubleshooting] threejean:
I like At&t roms
[One (M7) Q&A, Help & Troubleshooting] alray:
ok its up to you ;) But you know dev version is the same thing just without at&t bloatware and is getting updates faster? Just want ot make sure you know this.
[One (M7) Q&A, Help & Troubleshooting] threejean:
hey alray, if I get the 5.xx rom working, maybe I'll give the 6.xx a try :good:
[One (M7) Q&A, Help & Troubleshooting] Panpan_99:
htc one m7ul (PN0710000) sim lock after JTAG rescue .:(:(

I thereby restore the

IMSI

in my device. ; ;

Thanks.
[One (M7) Q&A, Help & Troubleshooting] kuzeykutupdayisi:
I'm trying to get my bootloader to locked status but I'm getting this error;

Using Ubuntu 14.4 on VirtualBox, I flashed hboot 1.44, managed to remove tampered flag but can't get my bootloader to locked. It gives that error. Any help would be appreciated.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
adb shell !!! you need to open an adb shell to

your device

first, right now you're "dd"ing to your

actual PC

!!!!!
[One (M7) Q&A, Help & Troubleshooting] kuzeykutupdayisi:
How do I do that? Writing adb shell suffices?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
yes, type "adb shell" then you should have the command prompt / terminal on your phone, then you can use the dd commands
[One (M7) Q&A, Help & Troubleshooting] kuzeykutupdayisi:
When I write "adb shell" now it says "error: insufficient permissions for device"

When I write "adb devices" it says "??????????????? no permissions"

Using TWRP 2.6.3.3 if it matters.

EDIT: I have used Guru Bootloader Reset tool to lock my bootloader. Now I'm ready to flash RUU.exe. Would RUU.exe work fine on Windows 8.1 x64? Or should I have to use Win7?
[One (M7) Q&A, Help & Troubleshooting] alray:
post the output of "fastboot getvar all" minus your imei and serialno
[One (M7) Q&A, Help & Troubleshooting] kuzeykutupdayisi:
I'm on Hboot 1.44, CID:HTC__M27 MID:PN07100. It's unlocked GSM device (Turkey) Can't use fastboot cuz I'm on Windows 8.1 and hboot 1.44 doesnt work and for some reason VirtualBox can't connect to my device. It's saying it's busy or something like that. Anyways I'm downloading this RUU.exe which matches my CID; http://www.htc1guru.com/dld/ruu_m7_..._10-33-1150-01_release_311663_signed_2_4-exe/

I just need to know flashing it on Windows 8.1 would cause any issues or not.
[One (M7) Q&A, Help & Troubleshooting] alray:
Are you sure its PN0710000 and not PN0711000 ?

Is your phone s-on or s-off?
[One (M7) Q&A, Help & Troubleshooting] kuzeykutupdayisi:
I'm s-off. And yeah my mid is PN0711000. It is written on my phone.
[One (M7) Q&A, Help & Troubleshooting] alray:
so use the .zip ruu in ubuntu. .exe ruu will not work on hboot 1.44 + win 8 (see faq #1 of this thread)

fastboot oem rebootRUU
fastboot flash zip ruu.zip
fastboot flash zip ruu.zip
fastboot reboot
[One (M7) Q&A, Help & Troubleshooting] kuzeykutupdayisi:
[YOUTUBE][/YOUTUBE]

The thing is I can't connect my device to VirtualBox when it's in fastboot mode. It says something along the lines of "device is busy with another request" or something and won't connect to VirtualBox. Because of that I can't use fastboot on Ubuntu.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
I see you used the bootloader reset but just so you know to fix your permissions issue on Linux

In the terminal type

killall adb

Disconnect the usb cable and count to 5 reconnect then type

sudo adb devices

Now twrp will have adb permission :good
[One (M7) Q&A, Help & Troubleshooting] alray:
Don't use virtualbox! Boot ubuntu from a usb drive and you'll be fine. Read the faq 5) at post #2.
[One (M7) Q&A, Help & Troubleshooting] kuzeykutupdayisi:
I don't have any usb drives at the moment that's the problem :D
[One (M7) Q&A, Help & Troubleshooting] alray:
burn it on a cd and use the cd to boot unbuntu without installing it on your computer.
[One (M7) Q&A, Help & Troubleshooting] kuzeykutupdayisi:
Okay thanks adb is now working but now when I type "fastboot devices" it says "no permissions fastboot"

What do I do?

EDIT: Quick googling gave me an answer. Disregard this.

---------- Post added at 11:50 PM ---------- Previous post was at 11:28 PM ----------

(bootloader) ...... Successful

(bootloader) start image[rcdata] unzipping & flushing...

(bootloader) [RUU]UZ,rcdata,0

(bootloader) [RUU]WP,rcdata,0

(bootloader) ...... Successful

OKAY [198.537s]

finished. total time: 268.953s

ubuntu@ubuntu:~/Downloads$ fastboot reboot-bootloader

< waiting for device >

It's now stuck on green bar. What do I do next?

EDIT: I DID IT!! Thank you guys so much!
[One (M7) Q&A, Help & Troubleshooting] nkk71:
glad everything worked out, but just FYI:

FAQ #4: .... ----> fastboot may need su privileges, so you'll need to issue fastboot commands with "sudo fastboot ..."
[One (M7) Q&A, Help & Troubleshooting] muabaylentroi:
I've forgotten my cid num, which stock firmware can I flash and upfate OTA? Help me. :(

INFOversion: 0.5

INFOversion-bootloader: 1.44.0000

INFOversion-baseband: 4T.27.3218.14

INFOversion-cpld: None

INFOversion-microp: None

INFOversion-main:

INFOversion-misc: PVT SHIP S-OFF

INFOserialno: SH365W*********

INFOimei: 3578640***********

INFOmeid: 00000000000000

INFOproduct: m7_ul

INFOplatform: HBOOT-8064

INFOmodelid: PN0710000

INFOcidnum: 11111111

INFObattery-status: good

INFObattery-voltage: 3745mV

INFOpartition-layout: Generic

INFOsecurity: off

INFObuild-mode: SHIP

INFOboot-mode: FASTBOOT
[One (M7) Q&A, Help & Troubleshooting] nkk71:
first edit and remove your serial number & IMEI from previous post

if you want to use an RUU, you can use any unbranded international CIDs:

HTC__001 --> HTC-WWE
HTC__016 --> VODA-Africa-South
HTC__032 --> HTC-EastEurope
HTC__102 --> HTC-GER
HTC__203 --> HTC-FRA
HTC__304 --> HTC-SPA
HTC__405 --> HTC-ITA
HTC__A07 --> HTC-Russia
HTC__E11 --> HTC-Dutch
HTC__J15 --> HTC-GCC
HTC__Y13 --> HTC-Norway

then use a x.xx.401.x edition RUU, such as the 1.28.401.7 (linked in post #7) or the 4.19.401.9 found on androidruu.com

BUT

, if you're only interested in updating your phone, you can flash an unsigned firmware and install a stock ROM... that would accomplish the same thing

this guide is mostly about returning your phone to 100% "out-of-the-box" (including fully wiping everything), for the purposes of warranty or selling the phone.
[One (M7) Q&A, Help & Troubleshooting] muabaylentroi:
[MENTION=2605798]nkk71[/MENTION] thanks sir. I'm trying with HTC__001 and 4.19.401.9.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
since you're s-off, there's no need to relock bootloader either

so keep bootloader unlocked, and

stay s-off!!!!

flash this first: https://www.androidfilehost.com/?fid=23329332407574077

fastboot oem rebootRUU
fastboot flash zip fw_4.19.401.9_custom.zip

...wait a few seconds, then again:

fastboot flash zip fw_4.19.401.9_custom.zip
fastboot reboot-bootloader

then you can run the 4.19.401.9 RUU

remember that RUU will wipe everything off your phone including internal storage!!
[One (M7) Q&A, Help & Troubleshooting] muabaylentroi:
[MENTION=2605798]nkk71[/MENTION] sir, firmware 4.19.401.9 RUU exe don't run on my PC (windows 7) - after show agreement screen, I choose accept and click "Next", it disappear and nothing happened.

I've search for 4.19.401.9 RUU zip but I can't find it. Can I download the first zip firmware (1.28.401.7) in #7 and flash via fastboot? Do I need to do something before flash that zip? I don't need my bootloader show locked, relocked is ok :) I just need update via OTA :)
[One (M7) Q&A, Help & Troubleshooting] nkk71:
strange worked fine for me (also Windows 7 64bit) just yesterday

and of course you can use the 1.28.401.7 ruu.zip, it would just take more ota's (1.xx -> 2.xx -> 3.xx, etc)

i also have the 4.19.401.9 decrypted ruu but I was unable to flash it (gave me errors), but the 1.28 (decrypted zip) and 4.19 (RUU.EXE) worked fine for me. (i think it was something with my pc setup, not sure what exactly)
[One (M7) Q&A, Help & Troubleshooting] muabaylentroi:
I try to flash 4.19.401.9 in another PC and success. I 've got an OTA update. Thanks you so much, sir. You make my day. ;)
[One (M7) Q&A, Help & Troubleshooting] threejean:
Hey alray,

I ran the guru_reset and it seems to working fine. I have not done the firmware yet, is it really necessary?

Thanks!
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Boot to the stock rom and disable the "Fast Boot" option in power settings. This has nothing to do with fastboot in the bootloader. It forces the device to boot faster this prevents the device from loading the boot loader ;)
[One (M7) Q&A, Help & Troubleshooting] :
It doesn't run on my laptop also. Which laptop you have ?

Mine is dual core with 2 Gb ram.

it runs fine on my brother's laptop which is latest 4th generation i3 processor with 4gb ram.

Both laptops have windows 7.

Don't know why it does that on my laptop. after agreement it disappears as you said.

I used my brother's laptop to return to STOCK.
[One (M7) Q&A, Help & Troubleshooting] alray:
Sometime RUU.exe takes long time to start. I have flashed my phone this morning with the 6.07.1540.2 ruu.exe and it took almost 10 min for the ruu to start. Not sure what is causing this...
[One (M7) Q&A, Help & Troubleshooting] :
I know it takes long time to start. But it disappears on my pc altogether.

On my brother's pc, it runs fine.
[One (M7) Q&A, Help & Troubleshooting] alray:
I could try to disable your AV and see if it solve the issue.
[One (M7) Q&A, Help & Troubleshooting] threejean:
Thanks, got it working!
[One (M7) Q&A, Help & Troubleshooting] muabaylentroi:
My laptop is Thinkpad T410, Core i5 M520 and 4GB of RAM. It's doesn't run.

In my friend's desktop with Core i3 Haswell 4150 and 4GB of RAM, it's works fine. But as sir [MENTION=2605798]nkk71[/MENTION] said, RUU takes a long time for loading. :) I think RUU needs a powerful CPU to run.

Me and my friend are using windows 7 ultimate 64bit.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
well it will take longer on slower PCs, but if it exits when you click next (make sure by checking Windows Task Manager), then it's probably some incompatibly either due to interfering software (eg antivirus), or some outdated/incompatible support files, i think RUU.exe need M$ visual C redistributable files (not sure)

so you could check Windows Event Viewer for potential error messages
[One (M7) Q&A, Help & Troubleshooting] :
I've successfully ran the RUU.exe on my pc which was not running thanks to this guy's useful post.

RUU.exe needs Microsoft Visual C++ 2008 redistributable x86 specifically.

I don't know why but as soon as I installed it, it begins running on my pc too.

I had Visual C++ 2008 x64 version as i'm using x64 bit version of Windows 7. But RUU specifically needs x86 version.

Link to original post which helped me, http://xdaforums.com/showpost.php?p=58217247&postcount=12