yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Razvan:
Sir,

Please wait until mods will move this thread to the device specific forum for more relevant answers.

For more questions or to have full access please register an account on XDA forum.

Stand by

Good luck
[HTC Sensation] heavy_metal_man:
If your still on gingerbread your playstore may be called android market still. If you look in settings/about phone/software information/ does it state htc sense anywhere?
[JASJAR, XDA Exec, MDA Pro General] Malkav:
can anyone here help me get the settings for three uk as i have the device unlocked from orange and until i decide to either leave three or stay on them and use it on three as a contract handset i need there mms setting and there acsess to 3 world?
[JASJAR, XDA Exec, MDA Pro General] Midget_1990:
http://www.europe.htc.com/support/software/htcp3600.html

3rd download button
[JASJAR, XDA Exec, MDA Pro General] Malkav:
you misunderstand, i am asking for the settings for my universal/ jasjar/ spvm5000 not the trinity/ p3600....
[JASJAR, XDA Exec, MDA Pro General] Midget_1990:
i know, they work on any wm5/6 phone, htc just happened to make it 'for' the trinity.
[JASJAR, XDA Exec, MDA Pro General] zormic:
Can you, please post this or send it to my email since the download on HTC's site is not working.

Thanx
[Droid Ultra Q&A, Help & Troubleshooting] 10timesacharm:
Motorola Droid Ultra Erased....HELP. Thanks to anyone out there who even takes the time to read or reply. I get that my issue is probably petty in this forum but I just want a simple answer of move on it is impossible or you can try this. I am a complete newbie so pardon my lack of knowledge on the topic.

I had my phone locked with a pin. My darling six year old entered the pin however many times it take for it to magically start erasing itself. (BTW this is the second time this has happened and I thought I had safe guarded it from happening again.) I don't care about anything but the photos that I lost. Is there anyway to recover the photos or should I just move on and forget? I have not been using it hoping that there was a way to root the phone and recover something but upon reading lots and lots of things I think I am screwed because my phone is version 4.4.4. Can someone confirm or deny.

Thanks again for taking the time to read.
[Droid Ultra Q&A, Help & Troubleshooting] tecsironman:
You can try to retrieve your photos using a data recovery program. Search Google for get data back or just do a general search for USB data recovery

CM12 Inside DROID Ultra
[Droid Ultra Q&A, Help & Troubleshooting] 10timesacharm:
I tried that but because the phone is not recognized as a drive on computers there is no way to access the files for data recovery. Even programs that say they can to end up failing and the phone needs to be rooted.
[Droid Ultra Q&A, Help & Troubleshooting] tecsironman:
Wait are you using your phone now?

CM12 Inside DROID Ultra
[Droid Ultra Q&A, Help & Troubleshooting] 10timesacharm:
No. I tried to recover the files immediately after it happened. And found out about the USB Mass Storage no longer being an option in Android 4.0 phones thus causing issues for recovery. Everything I read then said the phone would need to be rooted but I am running version 4.4.4 and everything I have seen has said thus far it has not been done.
[Droid Ultra Q&A, Help & Troubleshooting] tecsironman:
Can't you just boot the phone up and use it ad a USB device in android. You can clearly see your downloaded files and such without being rooted

CM12 Inside DROID Ultra
[Droid Ultra Q&A, Help & Troubleshooting] 10timesacharm:
I am not following what you are saying. The files were deleted so nothing shows. I need to use a recovery program to gain access to the deleted files but cannot get to them without being able to access the phone as a USB storage device...not a camera or device which is all that is able to be done with MTP/PTP.
[Droid Ultra Q&A, Help & Troubleshooting] Lordomn:
unless you backed them up somewhere that's not on your phone then i don't think you can recover them
[Droid Ultra Q&A, Help & Troubleshooting] tecsironman:
Yes nothing shows but you want to recover deleted data from your phone. The only way is to mount the phone. So you can mount the phone in android when you transfer music and pictures from computer and phone it shows up as a drive in my computer. You can use data recovery software and run it on that drive. You don't need root since your pictures were not stored in the root of the device

Recover Deleted Files on Android In a Few Minutes!: http://youtu.be/tGw1fxUD-uY

CM12 Inside DROID Ultra
[Droid Ultra Q&A, Help & Troubleshooting] teerout:
i faced a similar situation and was not able to recover any photos. i tried a bunch of different methods and programs. i thought the most promising was an android app, that runs on the phone was diskdigger, but it didnt render any results.

i wish you the best
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Hello everyone! glad to be a new member of this amazing community! I am a new member with a tough problem, would love if I get ideas on how to solve it.

So After flashing stock unrooted GPe rom as per the most common methods circulating around (changing CID, MID, S-Off, etc), I was thrilled to see the boot splash screen change into google's except that it keeps booting into the bootloader; for some reason I could not get into recovery either (but I flashed TWRP again and it works now)

So as it stands now I have the following:

S-Off

Unlocked

Software status: Official

Working TWRP (which keeps saying NO OS IS INSTALLED)

Unable to mount /data (whatever that means) + "error: closed" when attempting to sideload the RUU roms via ADB

I did not install any firmware or kernels

and whenever I try to boot the OS I get put back in bootloader over and over.

As far as im concerned this phone seems bricked for me, but im also new so I wouldn't know, having said that, I am open for the most radical of options and procedures to get this working.

Thank you all in advance!
[One (M8) Q&A, Help & Troubleshooting] UniversalKID:
Flash it again via adb, the flashing command must be executed twice.
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
I get an error "E:Unable to mount '/Data'" as soon as I open up the sideload option. when attempting to sideload I get "error: closed". I am starting to sense I have a problem with my storage. what to do next?

Thank you so much for your reply!
[One (M8) Q&A, Help & Troubleshooting] UniversalKID:
That unrooted GPE was for dual sim? I see you have a dual sim.

Make a screenshot.

Details about the ROM would help.

Do a fastboot getvar all command also.
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Actually I don't know if the Rom is for dual sim or not, I figured as long as I get CID and MID right it should fit? pardon my ignorance on the matter. ill post a screenshot as soon as possible!
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Getvar all:

C:\Users\Megalith\Desktop\One_M8_All-In-One_Kit_v\data>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.21.213311491.A04G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 3.11.1700.5

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2:

(bootloader) meid:

(bootloader) product: m8_dugl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B17000

(bootloader) cidnum: GOOGL001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: c88f4560

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.017s
[One (M8) Q&A, Help & Troubleshooting] UniversalKID:
Delete the IMEI.
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
OP - Do you want it back to Sense?
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
I really prefer to get GPE working but sense is better than a bricked phone.

Also, thanks for the replies!
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Come to think about it now, I'd rather go to stock now if it all possible.
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
OK. First things first, did the GPe ROM ever work? The reason I ask it was designed for the single-SIM M8 so don't know if it worked with the dual-SIM version. If not, we should be OK to get back to stock...
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
It never booted up correctly no. I'd love if you can help me go to stock with such a messed up state my phone had gotten into.
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
We should be able to sort things out, but I'll need to get to a proper PC and get links together
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Thank you so much!
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
OK, this isn't particularly straight forward but should hopefully work...

Download the following files and place in your fastboot folder:

- Dual-SIM RUU - https://drive.google.com/file/d/0B17smFr95pleaW9iTFBiSUE2OVE/view?usp=sharing (rename to anything you want but I'd recommend ruu.zip, not ruu.zip.zip obviously!)

- htc_fastboot - https://www.androidfilehost.com/?fid=95897840722646249

- Sense FW - https://www.androidfilehost.com/?fid=23329332407589439 (again, rename to anything but I'd recommend firmware.zip)

1. First things first, boot into fastboot and set your CID to Super CID - fastboot oem writecid 11111111

2. Once done, reboot the bootloader and confirm it's done - fastboot reboot-bootloader

3. Assuming it's done, boot the phone into RUU mode - fastboot oem rebootRUU

4. Once in RUU mode, flash the firmware package - fastboot flash zip firmware.zip

5. It'll fail the first time and reboot. Do the exact same command again once back in RUU mode - fastboot flash zip firmware.zip

6. Once finished, reboot back to the bootloader to confirm it's on the white 'Sense' version - fastboot reboot-bootloader

7. Assuming it's done, reboot into RUU mode again - fastboot oem rebootRUU

8. Now flash the RUU using the HTC fastboot version - htc_fastboot flash zip ruu.zip

9. This will go through a few passes but once finished reboot to the bootloader - fastboot reboot-bootloader

10. Once back at the bootloader, disconnect the phone and go into stock recovery

11. Once in stock recovery, hold power and press volume up and once the menu appears do a factory reset

12. Once complete, reboot the phone

It should now boot back into the normal Sense ROM. Now if you changed your MID to the GPe one you'll need to re-root your phone and change it back using the guide by [MENTION=3437245]scotty1223[/MENTION] HERE but if you didn't change it then you're good to go!
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
That is amazing thank you, ill try it and get back to you asap.
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
I have two questions:

Will I still get OTAs even if I don't have the original CID and MID? (I remember the original CID which is J15 but I can't remember the mid).

Also, I am currently on custom recovery and in your guide above I do not see anything about flashing stock recovery, should I do that first?

Thank you again!
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
The RUU flashes everything stock, so it'll overwrite it all :)

I'd change the CID back to stock once it's all working again but the MID I'm not sure on so I'll see if I can find out for you
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
At step 8 I get an error "DNS server not authoritative for zone", how to resolve that?
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Nvm I resolved the DNS thin, but now I get error 41 model id check fail. It is probably because of bad MID isn't it? :(

Thank you again for helping me, I hope it is not much trouble.
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
Possibly, I'm trying to find out the original MID of the Dual-SIM M8 but struggling to find the information...I have the RUU ZIP but can't extract the android-info.txt file due to the encryption :(

Leave it with me...
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
0P6B64000

(bootloader) product: m8_dugl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B64000

(bootloader) cidnum: HTC__J15​
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
YES! thank you! I can remember that it was the original MID before I changed it. Thank you so much!
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Although it is not available in the post by scotty? is there an alternate way to change the mid number?
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
No, BUT I'm getting the RUU ZIP decrypted so once I have the link I can edit the android-info.txt to include the one you currently have and you'll be able to flash it. Not sure when I'll have it yet as waiting on someone to decrypt it for me. We'll get there eventually!
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Use the one given by scotty

http://xdaforums.com/showpost.php?p=54496351&postcount=111
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
Unfortunately you can only do that once the phone boots up! I'm getting the RUU ZIP decrypted so I can add the OPs current MID to the android-info.txt and then be able to flash it and then change the MID back to stock (phew!)
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Yep.. correct

Edit : I replied while I was stucked in heavy traffic ... as [MENTION=2605798]nkk71[/MENTION] said ... can change MID while in TWRP recovery. Also remember there is a flashable script that can do that too.
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
you read my mind, I was going to say I need to boot the phone to use ADB. I must say I truly appreciate what you are doing, all of you, thanks!
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
Basically, once the ZIP is decrypted, I can add the MID 0P6B17000 to the 'allowed' list and then you can flash it. Once you're up and running (with root) you can change it back again and then maybe flash the RUU again to get to 100% proper stock and be on your merry way! :D
[One (M8) Q&A, Help & Troubleshooting] nkk71:
decryption in progress, android-info.txt:

modelid: 0P6B64000
cidnum: HTC__001
cidnum: HTC__A07
cidnum: HTC__J15
cidnum: HTC__102
cidnum: HTC__Y13
cidnum: HTC__032
cidnum: HTC__A48
mainver: 3.33.401.6
btype:1
aareport:1
hbootpreupdate:12
DelCache:1

unfortunately I wont be upload till later today/tonight.

but if it's only about changing his MID, (sorry didnt read through the entire thread), he can do that while booted into TWRP
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
Finally arrived home ... tested change MID while in recovery ... yes, it works ;)

Changed from EU 0P6B10000 to HKG 0P6B63000 (as a test)
[One (M8) Q&A, Help & Troubleshooting] nkk71:
I actually prefer changing the tampered flag, setting locked/unlocked, and changing MID while booted into custom recovery, since that has root privileges by default, no need to 'su'
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I know no need for "su" ... no need for adb shell too ? Tested, it needs "adb shell"
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
I was not aware of that! So the OP could do all that in TWRP and then flash the RUU once the changes have been made? MUCH easier!

OK, revised guide...

1. First things first, boot into fastboot and set your CID to Super CID - fastboot oem writecid 11111111

2. Once done, reboot the bootloader and confirm it's done - fastboot reboot-bootloader

3. Assuming it's done, boot the phone into RUU mode - fastboot oem rebootRUU

4. Once in RUU mode, flash the firmware package - fastboot flash zip firmware.zip

5. It'll fail the first time and reboot. Do the exact same command again once back in RUU mode - fastboot flash zip firmware.zip

6. Once finished, reboot back to the bootloader to confirm it's on the white 'Sense' version - fastboot reboot-bootloader

7. Assuming it's done, flash TWRP using this version (rename it recovery.img) - fastboot flash recovery recovery.img

8. Once flashed, enter recovery and connect phone to your PC. Make sure drivers are installed correctly

9. Make sure the phone is shown when in recovery - adb devices

10. Get the phone into adb shell - adb shell

11. Once in shell mode, change the MID to the Dual-SIM version -

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x36\x00\x34\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384

12. Once done, exit shell - exit

13. Reboot phone to the bootloader and make sure the MID is correct - fastboot oem readmid (or check in the gatvar output)

14. Assuming it's done, reboot into RUU mode again - fastboot oem rebootRUU

15. Now flash the RUU using the HTC fastboot version - htc_fastboot flash zip ruu.zip (Should this part fail because the CID is wrong then change it to HTC__J15 and try again)

16. This will go through a few passes but once finished reboot to the bootloader - fastboot reboot-bootloader

17. Once back at the bootloader, disconnect the phone and go into stock recovery

18. Once in stock recovery, hold power and press volume up and once the menu appears do a factory reset

19. Once complete, reboot the phone

Optional (if not done at an earlier step)

20. Once confirmed all working, go back to the bootloader and change your CID back to stock - e.g. fastboot oem writecid HTC__J15

If anyone thinks this can be improved, please let me know! :D
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Thank you all for the efforts. However after successfully flashing recovery I still can't get into recovery when selected from the bootloader, it just brings me back to fastboot. What did I miss?

UPDATE: I managed to find a recovery that fits the dual sim. however when I put the code for changing the mid I get and attempt to "fastboot oem readmid" it says "Command error !!!"

But when I use getvar all I get modelid: 0P6B40\x00

Furthermore, flashing RUU is halted for some reason (FAILED remote: not allowed)
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
Do you mean recovery as in TWRP? I wonder if it's not compatible with the Dual-SIM?
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Probably not, I found another post with a compatible TWRP with dual sim specifically and it worked. However when I put the code for changing the mid and attempt to "fastboot oem readmid" it says "Command error !!!"

But when I use getvar all I get modelid: 0P6B40\x00

Furthermore, flashing RUU is halted for some reason (FAILED remote: not allowed)

I feel like im doing some basic mistakes so you will have to pardon my ignorance (and accept my immense thanks!)
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
Sounds like the MID hasn't written properly, and fastboot oem readmid only works in the bootloader not recovery (only adb works in recovery). Did you copy/past just this for changing the MID:

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x34\x00\x30\x00\ x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
The one above I got 0P6B40\x00 too

Try this code (copied from scotty's)

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x36\x00\x34\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384

---------- Post added at 11:33 PM ---------- Previous post was at 11:27 PM ----------

scotty's : x00\x36\x00\x34\x00\x30\x00\x30\x00\x30'

yours : x00\x34\x00\x30\x00\ x30\x00\x30\x00\x30' you have a space there too
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Tried the new code and got 0P6B6400000 which is correct I guess? thank you! although readmid command still shows an error in fastboot but I guess it is irrelevant now.
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
I got that too after the earlier wrong code.

Trying to fix mine .. but now testing whether it will affect when flashing firmware without correcting it.
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Flashing was successful! now I am trying to get into stock recovery showing me a phone with a red triangle/exclamation mark. Holding down and then pressing volume up after few seconds does nothing, I have never used HTC's stock recovery before if I get help with this I'd truly appreciate it (I am becoming more and more meticulous with the guide as I approach its end because I don't want to mess up anything!)
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Does factory reset need to be done from recovery exclusively? can it be done from OS (which it can boot into now) or from bootloader?
[One (M8) Q&A, Help & Troubleshooting] ckpv5:
That's for EddyOS to response.

Talking about going into recovery - after select recovery, hold volume up and press power button once, you'll be in recovery menu
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
I can never remember which way round it is (power then volume up or volume and then power). It's one of them anyway!

Glad you're working, though. Knew we'd get the eventually!

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

I copied it from Scotty's post here:

http://xdaforums.com/showpost.php?p=54496351&postcount=111

Obviously copied the wrong one! :D

I've corrected the guide on page 4 with the right MID code so now it should be available to others should they need it
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
Thank you guys so much! Finally got the phone to do something useful! If I can bother you with few more questions:

Is the factory reset still necessary? I can boot into sense and everything is working fine.

Will I get OTA updates with this build? even though I have S-Off and ramnants of my failed endeavors of GPe?
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
Not 100% necessary, but that's up to you. Personally, I'd do it to be on the safe side

And yes, you should get OTA updates so long as your CID and MID are correct and you don't root the device/change any system files
[One (M8) Q&A, Help & Troubleshooting] :
He can root it. Just not change sys files.
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
Not once on Lollipop. Google have changed the update process so ANY changes to /system stops the OTA from applying (might still be OK coming from KK to Lollipop, though but it's better to be safe than sorry). It's well documented on the Nexus 5 forums (and I've had three of them!)
[One (M8) Q&A, Help & Troubleshooting] Megaliths:
While you are at it Eddy since you've done so much work to help me, you could post this as a guide to restore any dual sim htc one m8 from the abyss haha! There might be others who need it and to be honest dual sim htc one m8 does not seem to be common or popular and guides/roms pertaining it are rather rare.

All in all I must say im so grateful for all the help! you can't imagine how much it depressed when things went wrong only to have you guys help me out especially Eddy, you are a hero!

I wish I could assign more than 8 thanks a day!
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
I'm just glad what I posted worked! It was kind of blind leading the blind but the theory was sound :)
[One (M8) Q&A, Help & Troubleshooting] nkk71:
hi guys,

yes "adb shell" is still needed (eg, this is for M7 users stuck with LOCKED bootloader but S-OFF example: http://xdaforums.com/showthread.php?p=54076760&postcount=300)

[MENTION=2258271]EddyOS[/MENTION] , the echo command you posted is correct, but due to a bug on xda, if it's not in a CODE section, it adds a space for some strange reason... I only realized it during the m7 days, when we had to reformat the entire userdata partition using mkfs, here's a copy/paste of your quote above (yes in the reply window there is no extra space):

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x36\x00\x34\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384

echo -ne '\x30\x00\x50\x00\x36\x00\x42\x00\x36\x00\x34\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p5 bs=1 seek=16384
[One (M8) Q&A, Help & Troubleshooting] EddyOS:
Yeah, I posted it again in 'code' but it does also seem the one I posted was wrong anyway but the guide on page 4 should now be correct (but I'll put it in code to be safe) :)
[One (M8) Q&A, Help & Troubleshooting] :
Sure ahahahaha