yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] jurapura:
Big problem

Hi guys,

im new here so no harsh feelings.

I have a big problem that is from this area but cant fix it.

I have m7 (m7_UL pvt ship on rh)

hboot 1.61.0000

model id: pn071xxxx

cid: 11111111

Sense 6

So here is the explanation..

Im tryin for 3 days to fix this phone but this one is so weird. It is bougt for small money because its in poor condition. As i know it is rooted and unlocked...! Now the problem... it keeps loosing sim connection or somethin...for example yesterday had signal,and today only for about 3,4 minnutes after one of 32846524 restarts that ive done. in settings there is no visible IMEI like its erased ( i know its not but when pfone is on IMEI cant bee seen)....tried downgrading it tried a lot of stuff from previous posts but cant do nothing. tried also this... http://htc-one.wonderhowto.com/how-...actory-settings-for-warranty-repairs-0149204/ but stucked during instalation...now again on sense 6.

So please if someone knows what to do..step by step check by check...!

And sry again if my post is wrong place.

If someone is interested to help me please send me private msg.( i repeat im digging for 3 days all about it on this forum and others and cant get annything...so )

And yeah...sim is not recognized like it is not even in the phone...
[One (M7) Q&A, Help & Troubleshooting] Skybet:
As I've been posting and reading anywhere I copy here the end of my story of softbricking and succeeding in restoring a working Rom with the help of Nkk71.....

I sum up my experience for future reference:

- Some steps are mandatory:

-- unlock bootloader (can be done via HTC offiicial site)

-- install a custom recovery (I chose TWRP)

- Some steps are not needed and can get you mad

-- gain s-off status (impossible as per present day with bootloader 1.57 and soft brick status)

-- after you have a functional rom you can get s-off via sunshine

- The one REALLY INDISPENSABLE quality: patience!!!!!!!!!!!!!

This was my guilt in first place, but I think It has not been explained with proper strenght in forums and guides, so I state it here LOUD: BOOT TIME IS BETWEEN 5 AND 20 MINUTES. when you feel the urge to power off... WAIT. And then Wait again....

One really useful piece of info: the splash screen is just the first animation, if you come to a second animation you have passed the blocking point!!!

Then a close look at matching the Rom with kernel-CID-etc: there is a real mess out there with ROMS, so be supersure to have a compatible one, then check the MD5 of the file

From the recovery mode then install the file (that should be sonewhere on the phone, previously copied) and you'll be up and running.

Keep confident: if it is just softbricked you'll be able to restore a working rom...
[One (M7) Q&A, Help & Troubleshooting] zinder33:
Finally on stock thanks a alot mate...if i still root and will i b able to get ota and able to install it or have to use ota root keeper??
[One (M7) Q&A, Help & Troubleshooting] The Inquisition:
I'm getting this message when trying to do a system update.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Can u post a fastboot getvar all (remove IMEI and serialno)
[One (M7) Q&A, Help & Troubleshooting] The Inquisition:
(bootloader) version: 0.5

(bootloader) version-bootloader: 1.44.0000

(bootloader) version-baseband: 4A.13.3231.27

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.28.401.7

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

(bootloader) serialno: xxxxx

(bootloader) imei: xxxxxx

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: HTC__039

(bootloader) battery-status: good

(bootloader) battery-voltage: 4257mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT
[One (M7) Q&A, Help & Troubleshooting] nkk71:
I just checked that backup you used (http://www.htc1guru.com/dld/m7-cwm-nandroid-backup-cid-htc__039-1-29-980-2-2013-05-11-zip/), and it's made for

ro.aa.maincid=OPTUS001

ro.aa.modelid=PN0714000

ro.aa.cidlist=OPTUS001,TELNZ001,VODAP021,HTC__039

and if you look here: http://xdaforums.com/showthread.php?t=2223236 you'll see that Australia has indeed MID PN0714000.

did you change MID?
[One (M7) Q&A, Help & Troubleshooting] The Inquisition:
Well ****. I think I did because I was getting a MID error for an earlier part. I must have forgotten to change it back. What do I need to do to change it back?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
yep you need to change it back, there's a tool here (that doesnt require ENG HBOOT, etc), check it out: http://xdaforums.com/showthread.php?t=2535365

since you're still on hboot 1.44, you can use the "fastboot boot CWM.img" method to boot to CWM without having to flash it, then use the tool to set MID back to PN0714000.

(I haven't tested the tool myself, so check it out first)

EDIT: just saw that the OP recommends TWRP, you can also use "fastboot boot <name of twrp>.img" to boot to TWRP instead of CWM.
[One (M7) Q&A, Help & Troubleshooting] The Inquisition:
I'm getting this error message when attempting to boot into recovery (both with cwm and twrp)

downloading 'boot.img'...

OKAY [ 1.716s]

booting...

FAILED (remote: not allowed)

finished. total time: 1.719s
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Did u lock bootloader? If so, use "revone -u" to unlock, and then do it.
[One (M7) Q&A, Help & Troubleshooting] The Inquisition:
Yep, the bootloader was locked. Once unlocked I was able to change MID and relock everything. Seems to be fine now. Thanks again. Hopefully no more questions will pop up.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Hope everything went smoothly, I've updated my guide for different MIDs, sorry you had to go through all the trouble of changing MIDs.
[One (M7) Q&A, Help & Troubleshooting] The Inquisition:
Yep it looks like all updates have gone through and I'm back to stock.
[One (M7) Q&A, Help & Troubleshooting] zinder33:
Cant tell you mate how happy i am u made my christmas before santa could gift me.. lols...awesome super duper battery life and already 22 hrs on battery and still got 50% left .....i am happy as hell thanks mate....merry xmas in advance

---------- Post added at 04:35 AM ---------- Previous post was at 03:59 AM ----------

One question i would like to ask do i have to install custom recovery to get root and still my ota will work like on,stock ..i am missing 4-5 mods which are very essential i guess like long press back button ...

Just if you could guide abt if i do how shall i proceed thanks
[One (M7) Q&A, Help & Troubleshooting] nkk71:
to be able to flash root you will need a custom recovery, but if you don't want to mess with stock recovery (to receive the OTAs), and since you're S-Off, just downgrade hboot back to 1.44 (see first post), then use "fastboot boot <name of recovery>.img, install SuperSU: http://xdaforums.com/showthread.php?t=1538053

reboot and you should be good.

merry xmas to you too :)
[One (M7) Q&A, Help & Troubleshooting] zinder33:
So that means downgrading hboot to 1.44 and installing custom recovery and superuser will still let me recieve and install ota??

I just want root to have some tweaks and and want to recieve ota thats it ...if somehow there is a light at the end of tunnel...?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
by downgrading hboot to 1.44, you will be able to use "fastboot boot <name of recovery>.img" instead of having to flash/install it (as in "fastboot flash recovery <name of recovery>.img), but using "fastboot boot" you will not affect the "stock recovery" which is already installed, and you will therefore be able to receive OTAs without any problems.

the reason you need hboot 1.44, is because "fastboot boot" doesn't work in hboot 1.54+.
[One (M7) Q&A, Help & Troubleshooting] zinder33:
I did exactly what you said downgrade hboot now on 1.44 and fastboot boot twrp.img installed superuser

So i now i will be to get ota and install ..thanks tonne mate...
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Once you receive an OTA, you

may

loose root (not sure), so you'd have to do the process again after an OTA.

Cheers
[One (M7) Q&A, Help & Troubleshooting] zinder33:
Idk about ota making root gone but rebootin makes the phone lost the custom recovery but works fine..is the custom recovery sticks till we reboot..?? ....as such root works fine....
[One (M7) Q&A, Help & Troubleshooting] nkk71:
not the rebooting that lost custom recovery, let me explain:

In order to get OTAs working properly you need "stock recovery", so in order not to mess around with that, you used "fastboot boot recovery.img" (only works on hboot 1.44), this allows you to get into custom recovery,

without it actually being installed on your phone

.

If you had flashed recovery ("fastboot flash recovery recovery.img"), then it would stick on your phone (even after reboot),

but

won't allow OTAs to install

.

Hope that makes it clearer.
[One (M7) Q&A, Help & Troubleshooting] clsA:
Ok I'll bite .. what did [MENTION=2605798]nkk71[/MENTION] tell you that I seemed to have missed ?
[One (M7) Q&A, Help & Troubleshooting] nkk71:
hey mate, nothing in particular, most likely he did not wait long enough for the ROM to boot up (it does take about 15mins or so after a clean flash)

but basically all we did is

confirm TWRP was working

check MD5 on the download (I had him download MaximusHD 46.0 since it's known to work well with sunshine)

had him do a real format of the phone (Format Data, /system and /cache), then reboot recovery (Point D) just in case

though I prefer adb push (old habits die hard :silly:), he actually used MTP to transfer the ROM

installed MaximusHD, made sure the installer (not aroma) went through correctly (ie formatting partitions, extracting system, data, flashing kernel, etc) **(1)

let him boot up, and it worked just fine (actual bootup took 2 mins from bootsplash to bootupanimation, and about 10mins to finally boot the rom)

**(1) the reason for making sure that the installer-script actually went through properly is that on some recovery versions the getprop("ro.product.device") returns null (a bug in aroma combined with newer TWRPs) and installation wouldnt actually go through, if you check MaximusHD 46 you'll actually notice the device check was removed:

ui_print("-- Checking Model ID");

[B]#assert(getprop("ro.product.device") == "m7"); [/B]
[I]^^ if this was not commented out, and returned null, then
installation would have aborted and nothing would be installed[/I]

ui_print("-- Success!");
ui_print("-- Model ID - HTC One");
ui_print("-- Ok to proceed");
[One (M7) Q&A, Help & Troubleshooting] clsA:
So you basically did what I suggested here >> http://xdaforums.com/showpost.php?p=59491574&postcount=1951

He had already factory reset / cleared cache from stock recovery before flashing TWRP

He tried viperone and CM12 even after I had already suggested MaximusHD 46 ;)
[One (M7) Q&A, Help & Troubleshooting] nkk71:
yep pretty much :D

possibly the [real] formatting of data, system and cache could have helped if something was messed up, but i have no real reason to think it was
[One (M7) Q&A, Help & Troubleshooting] clsA:
Off Topic: are you considering the M9 in the near future ? I'm pretty happy with my M8 and may hold on to it for most of this year.

whatever direction your heading in could influence my decision. I have an AT&T LG G3 D850 here and the development for it is nothing like the HTC's

They seem to have a pretty tight community but their struggling with LG's kernel giving "Security Error" when porting stuff from the international models. I'll be giving this G3 away to my grand kid next month, I did mange to get lollipop / root and TWRP on it for now.

anyway let me know what direction your heading in, and keep in touch
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Well honestly, i'm a bit disappointed with the M9 (as I was with the M8)... they're merely small progressive steps (IMHO), no edge to edge display, that silly black bar at the bottom like the M8 (yes i know there's "technology" under it, but still)

But truth be told, even though the footprint of the M8 really stretched what I would carry as a phone, and the camera still being outdated, I did end up getting one, anyway.

The slightly smaller footprint (though thicker), [supposedly] better camera (i dont do selfies, so dont care about the front facing one :p), and my personal preference for HTCs, I am inclined to get one.... still have to see about that supposedly overheating issue. But all in all, I may very well be getting one. :cyclops:
[One (M7) Q&A, Help & Troubleshooting] clsA:
I updated my M8 last night to Insertcoin 7 with Sense 7 and it's looking pretty good. 5.1 should be coming pretty soon, so the M8 should have quite a bit of life left in it. The developer community will diffidently determine if I get the M9 of not. If you and Mike1986 and baadnewz and the ViperOne guys all get m9's, I'll most likely follow pretty quickly and sell the M8 while it still worth something.
[One (M7) Q&A, Help & Troubleshooting] hacka247:
Anyone know why I can't see my cid.
[One (M7) Q&A, Help & Troubleshooting] hacka247:
Strange I can't see my cid
[One (M7) Q&A, Help & Troubleshooting] nkk71:
it's cause you're s-on, cid will no longer show

but x.xx.61.x would indicate you're on Orange EDIT, i meant O2, so CID is O2___001 or O2___102

"fastboot getvar all" would confirm that
[One (M7) Q&A, Help & Troubleshooting] hacka247:
Cheers.

Thanks for that
[One (M7) Q&A, Help & Troubleshooting] Skybet:
Well.... yes it's unfair to thank just nkk71, you and many others on the community have been extremely useful, and very kind to take care of such a noob......

I cited nkk71 because I met him on a chat and he spent 40 minutes guiding me step by step in real time to the solution, so it has been the man running the last mile.....

But thank thank thank to you and all the community! You all make the world a better place, this is how politics should be done......

---------- Post added at 07:51 PM ---------- Previous post was at 07:42 PM ----------

And just to be honest..... you0r the one that put me on the right way in first place.

It was following you're advice that I formatted, isntalled TWRP etc.

I did it the morning after as I did'nt want to go through bootloader unlock if possibile, then I desperately searched a way to go s-off to change CID to superCID in the belief that this would let me falsh ROMs that would otherwise be rejected.

And MaximusHD was my first try, well before Venom and CM12, but it did'nt work. Or.... possibly it did work only I was'nt waiting enough... so I probably flashed 4 consecutive working Rom (5 considering the OTA update) and just failed to wait enough....

Would'nt it be a good idea to write on the boot screen somewhere soemthing like "if this is first boot please wait 30 minutes before switching off" ?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Actually I think you were right first time x.xx.61.x looks like orange mainver.

O2 is x.xx.206.x :good:
[One (M7) Q&A, Help & Troubleshooting] clsA:
it's all good ...me and nkk71 go back a ways he's excellent and very patient
[One (M7) Q&A, Help & Troubleshooting] Skybet:
One more thing......

the only thing i really miss from the iOS ecosystem is the integrated full backup on icloud, which made it far easier to restore a backup right where you started....

Yes Carbon-Titanium.... but stock on every device, and without need to root? Why google does'nt think about it?
[One (M7) Q&A, Help & Troubleshooting] clsA:
you now have custom recovery / Nandroids and to be honest HTC Backup in the phone settings has always worked just fine for me.

Pictures / videos sync automatically to my PC and Dropbox and I have a boatload of Google drive space (over 100 gigs)

and your not updating and chasing down the next Jailbreak every 2 months
[One (M7) Q&A, Help & Troubleshooting] Skybet:
Sure... power users do not need it as are probably backed up in many ways (I'm all cloud by now, combining 50gb dropbox and 17 gddrive and 2tb always on fixed ip NAS at home)

Infact it only took me let say one hour to fully restore my phone. However the layout of home pages is lost, app setting are gone etc. As much as I enjoy going thorugh the re-setup process (it's alaways an occasion of getting rid of old thinghs you don't like-need anymore) it can be frustrating and is definitely time consuming.

I don't understand the philosphy behind not giving to the unrooted user the possibility to backup.... even Apple prison-like ecosystem allows it.... why not big G?
[One (M7) Q&A, Help & Troubleshooting] clsA:
HTC Backup in the settings restores app settings, home screens, downloads all my installed apps, recovers SMS and call history

try it. I just did a Total wipe last night and installed InsertCoin 7 with Sense 7 on my M8 and never lost anything.

just sign in to google / sign in to HTC / restore the backup / wait for everything to restore and your good to go
[One (M7) Q&A, Help & Troubleshooting] Skybet:
Well the HTC M7 is actually my wife phone, I own a Note2, so I can't try it right now... but I will....

On Note2 maybe the paid version of Titanium combined with free space on Gdrive would do the trick....

Just don't know if backups then can be scheduled and in this case are incremntal or not.

How is it with HTC Backup?
[One (M7) Q&A, Help & Troubleshooting] clsA:
it's all automatic and incremental
[One (M7) Q&A, Help & Troubleshooting] nkk71:
as are you, and i would like not only to thank you, but to feel privileged to think of you as a friend/colleague/whatever you call "us" in here :o

as well to all the other guys/gals (i dont think i need to mention them, we all know who we are)

thanks to all of you
[One (M7) Q&A, Help & Troubleshooting] ..alwazs:
Hi,

I have used a naindroid Backup to get the stock rom. Now I want to lock my phone bu the instructions to lock my HTC doesn't work. I can't use shell commands or boot a recovery like cwm over fastboot
[One (M7) Q&A, Help & Troubleshooting] nkk71:
can you provide more details? from the above statement i can only assume you cannot boot into a recovery because you're no longer on hboot 1.44 ("fastboot boot <name of recovery>.img" only works on hboot 1.44)

please post a "fastboot getvar all" excluding IMEI and s/n

as well as the steps you have already done
[One (M7) Q&A, Help & Troubleshooting] alray:
http://xdaforums.com/htc-one/help/noob-question-how-to-lock-set-s-t3058383

Just to let you know he also posted in that thread with a little more info.
[One (M7) Q&A, Help & Troubleshooting] nkk71:
ah, thanks didnt see that

[MENTION=5958224]..alwazs[/MENTION], alray is quite right, you just need to follow the

ruu.zip method

as he mentioned

so flash (no need to boot) a custom recovery

remove tampered, set LOCKED

flash the ruu.zip (twice, make sure it says successful at the end) using the 1.28.401.7 ruu.zip (mirror in post #7)

boot up once to make sure all is ok, do not take OTAs

if you really have to, set S-ON

remember the 1.xx ruu's will have problems on Windows 8/8.1

if you have no access to Windows 7 / Linux you could use a newer RUU, but I would only do that if you got s-off using sunshine, so in case something goes wrong, you can S-OFF again and start from scratch
[One (M7) Q&A, Help & Troubleshooting] jurapura:
thx m8 for reply,

I have managed to restore working rom.

my phone was not "bricked"...or I only think so..in fact i restored working ROM but no sim card detection again. s-off status..pfff i have bootloader 1.61.0000 and that confuses me. I guess there is no chance for downgrading that so i could continue doing all the rest in my general intention to put that phone to stock rom and lock it.
[One (M7) Q&A, Help & Troubleshooting] HollowLeon:
[MENTION=2605798]nkk71[/MENTION] please help, I followed exactly what your guide tells me. it succeeded on my phone, but my friend's is another story. everything went well until it tried to reboot after flashing the RUU. it keeps rebooting after a while showing just the notification bar and keep booting to the same screen all over again repeatedly ...

[IMG="hh"]http://i58.tinypic.com/vdn2hw.jpg[/IMG]

here's the getvar info, please help me ASAP!

C:\Android>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.44.0000

(bootloader) version-baseband: 4A.14.3250.13

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.29.707.3

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

(bootloader) serialno: XXXXXX

(bootloader) imei: XXXXXX

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0714000

(bootloader) cidnum: HTC__044

(bootloader) battery-status: good

(bootloader) battery-voltage: 4233mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

getvar:all FAILED (status read failed (Too many links))

finished. total time: 0.078s
[One (M7) Q&A, Help & Troubleshooting] yelped:
Hi, does this method of returning to stock and S On work for Sprint as well? Is there any other directions that I need to skip or change?

Thanks!
[One (M7) Q&A, Help & Troubleshooting] nkk71:
try reflashing the ruu, then do a factory reset in stock recovery (once you enter stock recovery, hold VOLUP and press POWER to get to the menu)

kinda sounds like that infamous missing baseband issue, so hope it's not a hardware problem

yes the steps are the same, but you

have to use Sprint RUU(s)

only (do not try a non Sprint RUU, like the ones in this thread!!!
[One (M7) Q&A, Help & Troubleshooting] iuly_vn:
I need a little help, please. M7 was unlocked and S-OFF via revone metod. Now there is a stock 7.19.401.2 hboot 1.61.... updateing via HTC OTA. The phone has never been rooted.

So, I must to lock it in status Locked /not Relocked/ and get S-ON - need for warranty /cammera issue/. :)

Can i do it with above guide /for which I am grateful/, downgrading first hboot from 1.61 to 1.44, then flash it via PC Ruu 1.24.401.13 or another stock suitable with this /1.44/ hboot version, and finally via revone metod lock the fnone in status Locked and get S-ON. Is there any danger to downgrade from hboot 1.61 to 1.44? :confused:

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.61.

(bootloader) version-baseband: 4T.35.3

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 7.19.401.2

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

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: HTC__032

(bootloader) battery-status: good

(bootloader) battery-voltage: 4059mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirt

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!