yashsingh1/xdaforums huggingface dataset:
[One (M7) General] scotty1223:
just curious... why did you ever change your MID in the first place? :confused:
[One (M7) General] Pomeranez:
To make a SIM unlock
[One (M7) General] dr.scofield:
help needed

I have evita-utl (middle eastern variant) which flashed evita-ul ruu and bricked .. and relifed by evita-ul dll because no dll for this variant .. and my mid changed for that .. it's now "PJ8312000" and i want back to "PJ8350000" so i can recover my partition and blocks

what is my script??

I know .. i will do it on my own risk .. but please help me if you can to fix it .. i want it (PJ8350000)
[One (M7) General] scotty1223:
i assume that your device is s off? do you know what block the MID lives in,for evita-ul or utl?

the what part of the command is fairly easy to come up with,the where is the harder part ;)

assuming its in the same place,well need to look at p6(or whatever partition is "mfg") so dump that and upload,nd pm me a link,unless you allready know the exact location
[One (M7) General] dr.scofield:
Yes I'm s-off .. and I'm dumping p6

Thanks very very much for your help

---------- Post added at 11:07 PM ---------- Previous post was at 10:47 PM ----------

it seems i can't pm you .. here is the p6

and i will remove it after .. thanks

---------- Post added at 11:24 PM ---------- Previous post was at 11:07 PM ----------

I open it .. and found current mid .. so I guess it is
[One (M7) General] scotty1223:
ok i got it. remove your link,and give me a sec...
[One (M7) General] scotty1223:
ok,for PJ8350000:

[B]echo -ne '\x50\x00\x4A\x00\x38\x00\x33\x00\x35\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384[/B]

if you for some reason need to change it back to PJ8312000:

[B]echo -ne '\x50\x00\x4A\x00\x38\x00\x33\x00\x31\x00\x32\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384[/B]
[One (M7) General] dr.scofield:
WOOOOOOOHOOOOOOO (bootloader) modelid: PJ8350000 thanks .. i will continu in my fix with blocks .. and if i succeeded i'm gonna make a thread for other poor middle eastern people and mention this cod by you
[One (M7) General] scotty1223:
awsome sauce! definately send me a link when you get your thread up,id like to see what your fix involves :cool:
[One (M7) General] cronojay:
im having issues fro changing from 71300 to 71200 dev edition. heres my get var output

C:\Android>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.56.0000

(bootloader) version-baseband: N/A

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: UNKNOWN

(bootloader) serialno:

(bootloader) imei: 355195000000010

(bootloader) meid: 00000000000000

(bootloader) product:

(bootloader) platform: HBOOT-8064

(bootloader) modelid: *********

(bootloader) cidnum:

(bootloader) battery-status: good

(bootloader) battery-voltage: 3565mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: UNKNOWN

(bootloader) commitno-bootloader: dirty-4dab9d12

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.076s

C:\Android>

any help here greatly appreciated. i can use fastboot commands but no adb and solid black screen
[One (M7) General] scotty1223:
You have a black screen in hboot/fastboot? Answers to the questions in the m8 thread?
[One (M7) General] cronojay:
scotty we can use this thread as the other one is not in topic
[One (M7) General] scotty1223:
first thing that comes to mind is install a patched hboot(or maybe an old 1.44 hboot) so you can attempt to fastboot boot either a recovery or your boot image. if you can get something running with adb access we can definately write p5 back. not sure if there is a way to do it otherwise,as p5 is not a parition usually written by fastboot.

if the phone will go into ruu mode, you can also try running a ful ruu.
[One (M7) General] cronojay:
The issue i come across is when i run a boot, recovery it gives me a error:no remote when going through fastboot. Im going to try tomorrow morning and will send you some results, thanks
[One (M7) General] scotty1223:
do you haVE an appropriately packed zip file?

are you putting the phone into ruu mode? is that command successful?
[One (M7) General] cronojay:
this is the output for fastboot oem rebootRUU.

C:\Android>fastboot oem rebootRUU

...

(bootloader) Start Verify: -1

OKAY [ 0.051s]

finished. total time: 0.053s

i get a -1 and heres the output when running ruu.zip

C:\Android>fastboot flash zip C:\Users\cronojay\Downloads\truu.zip

< waiting for device >

target reported max download size of 440397824 bytes

Invalid sparse file format at header magi

sending sparse 'zip' (430072 KB)...

OKAY [351.425s]

writing 'zip'...

FAILED (remote: not allowed)

finished. total time: 1224.757s

I am going to try the downgraded hboot.. heres my output

C:\Android>fastboot flash zip h144.zip

target reported max download size of 440397824 bytes

sending 'zip' (501 KB)...

OKAY [ 0.026s]

writing 'zip'...

FAILED (remote: not allowed)

finished. total time: 0.035s

any ideas scotty
[One (M7) General] russellvone:
do you have the RUU also? I mean, not just the rom.zip from it.

if you have the RUU.exe, place your device into RUU mode.

fastboot oem rebootRUU

then run the RUU.exe...maybe it'll work, I know it'll probably fail the first time, but do not fret, leave your device in RUU mode and simply run the RUU.exe again.

just an idea, I'm not trying to jumble your mind, or step on scotty's toes while he is giving effort to help also.

good luck I'd like to know the outcome of everything, so I'll keep an eye on the thread
[One (M7) General] scotty1223:
unofrtunately,nothing really coming to mind. running the .exe is a good idea,if you have to ,you can possibly still change your cid to match available ones,since you can still use some fastboot commands.

failing that,jtag may be your last option,or an insurnace claim :(

you could always call josh at mobile tech videos and discuss jtag with him.

sorry the other thread has put your phone into a bad situation.
[One (M7) General] only_love:
I have a Sprint HTC one

Here is getvar detail

version: 0.5

(bootloader) version-bootloader: 1.56.0000

(bootloader) version-baseband: N/A

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno: FA38VS............

(bootloader) imei: **********************

(bootloader) meid: ******************

(bootloader) product: m7_wls

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0720000

(bootloader) cidnum: SPCS_001

(bootloader) battery-status: good

(bootloader) battery-voltage: 3819mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-4dab9d12

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

So the point is i wanna to do MID for India, currently my sim is not working . so please tell me the Right command for GSM (India)
[One (M7) General] russellvone:
I was only helping, in the M8 thread.

I had no idea that he had an M7.

I do feel apologetic that it was my help that **cked his M7.....

would you feel sorry if I went to the HTC OneSV thread asking for the terminal commands to change my MID and used them in my HTC One M8?

looks like I can't afford to help inside my own devices community.

peace.
[One (M7) General] scotty1223:
No one is blaming you. I should have had some bigger warnings up in the original post from the beginning. Your advice was fine, and I had even thanked you for it. The comment was not intended to blame any users that have helpd one another with in that thread.

And yes, I feel bad when device damage results from any commands or threads I have initiated, even when the damage is from incorrect use by the user.
[One (M7) General] scotty1223:
What is the mid for India?
[One (M7) General] nkk71:
Sorry, maybe I should stay out of this :o

But how are you going to change a CDMA phone into a GSM phone?
[One (M7) General] scotty1223:
Good catch,I didn't notice that. :o

Sorry ,this thread is not for sprint or vzw devices
[One (M7) General] nkk71:
Yes I understand that, but changing MID, is not going to change the hardware on your phone which is CDMA and not GSM... the

hardware

is completely different, and no amount of changing software can change your hardware.
[One (M7) General] only_love:
Any suggestion to unlock sim carrier which support Indian GSM Sim, i have Sprint HTC one S-off and ARHD 70 Rom. i tried many unsuccessful effort .....;)
[One (M7) General] nkk71:
scotty, you mean this one: http://xdaforums.com/showthread.php?t=2586704

PS: ARHD 70.0 isn't Sprint compatible, how are you able to run it?
[One (M7) General] MrKaon:
My phone's mid at the moment is PN071****, is not that strange? :p
[One (M7) General] nkk71:
Learning something new every day :)
[One (M7) General] scotty1223:
Yep, that's the one :)
[One (M7) General] nkk71:
Yeah, some people refer to that as SuperMID (in

theory

same as SuperCID), but I don't think it's a good idea, cause

if i'm not mistaken

, there is no such thing as SuperMID.
[One (M7) General] scotty1223:
Yes, that is normal if you were s-offed using a Java Card
[One (M7) General] only_love:
Just because was change the firmware ... Running good ;)
[One (M7) General] nkk71:
And still learning :good: :laugh:
[One (M7) General] MrKaon:
What do you suggest my friend? shall I leave it like that or change it to PN7010000 PN0710000
[One (M7) General] nkk71:
Well if you do change it, please

be very careful

, PN7010000 is not the same as PN0710000, even one wrong digit, missing digit or extra digit can get you into big trouble.
[One (M7) General] scotty1223:
I personally would change it. I do not like to leave the device super CID or "super MID" as I like to call that.

Just make sure that you change to the correct mid if you have a Verizon, Sprint, or other unique CDMA device.
[One (M7) General] jalal.arkat:
please make for PN0751000

i change my htc one dual to PN0710000

ineed back to PN0751000

pleaseeeeeeeeeee

thanks.
[One (M7) General] scotty1223:
added to second post. can i please get a fastboot getvar all for your phone? xxx out your esn and imie
[One (M7) General] Jyotirdeb:
0P6B65000 is india's mid
[One (M7) General] purple_chronic:
Help Please.

So long story short, I've been off the scene and I just got this phone, in 1 day i got S-off , TWRP recovery and root, I needed to upgrade my HBOOT to try out new roms, but it always failed to update due to modelid, So I decided to change the MID, I was tired so I read this and I changed my MID on the HTC One X (AT&T) Model ID PJ83100 following this method( Dont ask me why, lol) and now I want to change it back.

By any chance someone can post an entry for me to do that?

Example :

enter the following:

adb shell

su (if needed to get a # prompt)

Code:

echo -ne '\x50\x00\x4e\x00\x30\x00\x37\x00\x31\x00\x32\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384

But to change it back to stock PJ83100.

Can I run the RUU for this model id and be fine? (RUU Zip M7 HTC Google Edition_3.06.1700.10)

Thanxx in advance.
[One (M7) General] scotty1223:
for starters,this is the m7 forum,so no,you cannot run an m7 ruu.

second,you should have thot about your predicament prior to blindly rushing in to it. not to mention that you have a different device that could have had its mid in a different location,leaving you with a hard bricked phone. please aquire a little more knowledge of what youre doing and why before you rush in to things in the future.

that said(assuming your MID location is the same since this apparently changed the mid on your device) the command to return an ATT ONE XL(EVITA) back to PJ8310000 would be:

echo -ne '\x50\x00\x4A\x00\x38\x00\x33\x00\x31\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384
[One (M7) General] purple_chronic:
You are Def The King Right now. Thank You!!

I also want to apoligize for being an idiot, I was really tired(after a 12hr shift).

C:\fastboot>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.14.0002

(bootloader) version-baseband: 0.19as.32.09.11_2

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) product: evita

(bootloader) platform: HBOOT-8960

(bootloader) modelid: PN0712000

(bootloader) cidnum: HTC__621

(bootloader) battery-status: good

(bootloader) battery-voltage: 4169mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 1a7fdca3

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

ITS ALIVE!!! THANK YOU AGAIN!!
[One (M7) General] tausift0:
I need MID for Sprint. PN0700000

Please help.
[One (M7) General] nkk71:
Sprint is PN0720000 not PN0700000

the echo command can be found a few pages back http://xdaforums.com/showpost.php?p=51077629&postcount=45

and you should know that Sprint has a completely different partition layout than the m7_u and m7_ul models! so stop messing with MIDs!!
[One (M7) General] scotty1223:
added to second post,apparently id forgotten to do that :o
[One (M7) General] curtido:
Hi guys,

I have a Sprint Htc one with last OTA update, hboot 1.57, I can convert to International MID and install last Android Revolution HD rom without problems ? If yes what the correct steps ?

Thanks !
[One (M7) General] scotty1223:
No. You cannot do it.
[One (M7) General] curtido:
delete pls
[One (M7) General] huang_ted:
Rogers to Telus

I am trying to change MID of HTC desire 601 from rogers to Telus: 0P4E20000 to 0P4E23000. Would you be able to generate the code for this?
[One (M7) General] Zvuv1:
Hi!

I tried to change MID on my One Mini

The original MID was PO5821000 (Asia) and I tried to change it to PO5820000

I used this command:

echo -ne '\x50\x00\x4f\x00\x35\x00\x38\x00\x32\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384 conv=notrunc

But my MID was changed to PO5820000x80x20x00x00x00x0

Where is the mistake?
[One (M7) General] scotty1223:
first i dont know what layout 601 uses. if ive looked before i cannot find any notes describing it. to keep the off topic chatter out of this thread,youll need to PM me results of:

fastboot getvar all

and

cat /proc/emmc

and

cat proc/partitions

no idea where your error is,exactly. could be an issue with windows and other programs hijacking your comunications with the phone. youll need to dump,upload,and send me a link to p6
[One (M7) General] saint19:
Hi man.

I bought this version...HTC M7 AT&T and I want to conver it to GPE. Here is the info...

C:\adbandfastboot>fastboot getvar all

< waiting for device >

INFOversion: 0.5

INFOversion-bootloader: 1.57.0000

INFOversion-baseband: 4M.27.3218.14

INFOversion-cpld: None

INFOversion-microp: None

INFOversion-main: 5.12.502.2

INFOversion-misc: PVT SHIP S-ON

INFOserialno: Hxxxxxxxx

INFOimei: 3xxxxxxxxxxxxx

INFOmeid: 00000000000000

INFOproduct: m7_ul

INFOplatform: HBOOT-8064

INFOmodelid: PN0712000

INFOcidnum: CWS__001

INFObattery-status: good

INFObattery-voltage: 4288mV

INFOpartition-layout: Generic

INFOsecurity: on

INFObuild-mode: SHIP

INFOboot-mode: FASTBOOT

INFOcommitno-bootloader: dirty-1f512bb6

INFOhbootpreupdate: 11

INFOgencheckpt: 0

all: Done!

finished. total time: 0.045s

I read all the things that I have to do and seem "easy" but should be done carefully, my question is: Could I keep the same CID and model ID? or I have to change those to GPE numbers.

Thanks, this is my 1st HTC phone...
[One (M7) General] alray:
1st, never post IMEI and SERIALNO, edit your post and remove these numbers.

If you want to do a full GPE conversion using a RUU you must change your MID and CID to match the RUU

GPE MID: PN0712000

GPE CID: GOOGL_01

you already have the right MID and your cid (CWS__001) should also work with GPE RUUs. However you will need s-off to use the GPE ruu so you should change your cid to GOOGL_01 when s-off:

fastboot oem writecid GOOGL_01
fastboot reboot-bootloader

keep in mind: never relock your bootloader and s-on when using GPE firmware.
[One (M7) General] scotty1223:
If all you want to do is flash roms from recovery,there is no need to change cid.

As was said,if you want to do a full conversion that will recieve stock ota updates,then cid change is needed.

However..

You are not able to change anything,since you are s-on.
[One (M7) General] saint19:
That's the problem...until now my phone still have s-on. I have tried everything...firewater, moonshine, rumrunner but nothing seems to work. Any other option apart of sunshine?
[One (M7) General] scotty1223:
Not to my knowledge. If the freedom of s off is not worth the cost of sunshine to you,you can always enjoy gpe roms flashed in recovery. You can do.that while s on and unlocked.
[One (M7) General] saint19:
Well, I think that I killed my phone...now doesn't load and just stay in HTC screen...

Thanks for the reply, next time I will try sunshine :(
[One (M7) General] scotty1223:
the chances that you have killed an s-on device are slim to none. you likely just need to flash your boot image,or to reflash a new rom.

-make sure rom used is

for your device

-make sure youve met any requirements set by the rom dev in the first post.

-mkae sure your download matched an md5 sum if provided(if you just asked "whats an md5 sum?" stop right now,and google that)

*always make a nandroid backup of a working rom

*wipe data/factory reset (very important. you can also wipe cache and dalvik cache for good measure)

-flash rom

-to be safe,flash boot image via fastboot(i am not sure if recovery can install boot on whatever hboot youve got)
[One (M7) General] saint19:
Thanks for the reply...I forget that S-on thing, so, the phone seems to be fine until now.

The phone just have 3 weeks in my hands, so, not info is in there yet. I will restore to AT&T stock and use sunshine...

Thanks again for the help.
[One (M7) General] Zvuv1:
sorry, off topic
[One (M7) General] Slim Jim Guy:
I would like to ask something about the Super MID, because I couldn't find any information.

So if you use a Java Card to S-OFF the phone, then the MID changes to PN071****.

Does that mean that this way it would accept any RUU and I don't need to change anything when I want to use a GPE or a HTC_Europe variant?
[One (M7) General] scotty1223:
If you use a java card and diag file,the mid is changed. If you want to run different ruus without changing the mid and cid to correct versions,all you need to do is supercid (11111111). There is no need to change the mid,super cid eliminates the carrier and model id checks.

Id use caution howerver,as there were a couple unexplained bricks of evita and Ville when folks OTAed to ics with supercid.
[One (M7) General] limker:
Hi,

When i use "fastboot getvar mid" i get PN071****. How can i see the full var?
[One (M7) General] scotty1223:
that is your full mid. Your phone has been s-offed with an HTC Java Card. I call it "supermid" (Like supercid)

Just change it to whatever you need it to be.
[One (M7) General] limker:
What are the advantages of doing that? (noob here)
[One (M7) General] scotty1223:
in my opinion its safer. there were a couple random,unexplained bricks with other devices when trying to OTA with supecid.

more than likely,leaving your "supermid" wont cause any prollems,but i feel the safest scenario is the correct cid and mid for the firmware you want to run.
[One (M7) General] limker:
Uhm, i understand. So, what mid you recommend? And i have cid 11111111 and S-OFF with latest update from OTA. M7_UL
[One (M7) General] scotty1223:
What is your current build number? Do you want to stick with that,or convert to something else?
[One (M7) General] limker:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.29.3218.08
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.12
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN071****
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4251mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!

And my Build Number : 6.09.401.12 CL366813 release-keys

I guess stick with this.
[One (M7) General] scotty1223:
sorry i forgot to come back and reply to you. i would change your cid to HTC__001 (thats 2 underscores)

fastboot oem writecid HTC__001

convert mid to PN0710000 using directions in the first post

hope that helps :)
[One (M7) General] limker:
Ohhh, sorry, i had to reboot to see changes. Its now set to HTC__001. Thanks!

It says:

(bootloader) Start Verify: 0
(bootloader) Input CID is not super CID
(bootloader) Start Verify: 0
OKAY [ 0.066s]
finished. total time: 0.069s
[One (M7) General] aaki_rocker:
can i convert my verizon m7 to m7_u or m7_ul ?
[One (M7) General] scotty1223:
no
[One (M7) General] aaki_rocker:
sad :(

i have no use of cdma in india.

i use only gsm and cant flash wwe roms.
[One (M7) General] scotty1223:
Sorry. Your best bet is to try and sell it or trade it and obtain and actual gsm model
[One (M7) General] shpitz461:
I converted an AT&T M7 to TMO, everything seemed great. Once I flashed TMO RUU (7.18), and it booted up, my SIM is no longer detected. I was detected before I tried the conversion. Any idea what can be wrong?
[One (M7) General] esternin:
A fantastic source of information, thank you!

I would only add that a simple way of checking whether things worked, right away, is

dd if=/dev/block/mmcblk0p6 bs=1 count=16 skip=16384

You need 16 bytes to represent the 8 characters of the name.

I do have a questiom though. According to http://en.wikipedia.org/wiki/List_of_LTE_networks the two carriers use the same LTE bands:

Bell: 700b ch 17 / 1700 ch 4 / 1900 ch 2

Verizon: 700c ch 13 / 1700 ch 4 / 1900 ch 2

So why, oh why I cannot use a Verizon phone (unlocked, S-OFF, MID and CID adjusted) on a Bell Mobility (Canada) network? http://cdn3.xda-developers.com/images/smilies/confused.gif

Is it simply a matter of not having the right radio.img flashed in?

(I asked in another thread, http://xdaforums.com/showpost.php?p=62262333&postcount=703, but you may not be monitoring 70+ pages of it...)

If you have any suggestions, I would really love to hear.

Cheers!
[One (M7) General] scotty1223:
no idea what could be wrong,other than a coincidental malfunction of the sim or reader. theres isnt anything in the process that should have hindered the sim card reader. ive converted many different devices to different variants with no issue.

sorry,no idea what it would take to make it work. the vzw sim is not locked,and if the carrier uses bands the phone is slotted to recieve,id think it would work fine. vzw and sprint variants are not the same as their GSM counterparts,and its in general a very bad idea to interchange firmware. if the phone doesnt work as is(firmware wise) youre best course of action is to sell it or trade it for a different variant.

i did see somewhere a thread about using some cdma tools to change available bands hardware permitting. not sure if that may help you or not. i think it was in the m8 section(but may have been m7 or m9 :o ) if i can find it ill post back the link
[One (M7) General] shpitz461:
yeah, it had nothing to do with the conversion, the SIM slot was dirty, I cleaned it up and it was fine.