testers needed- reset your lock status flag

Search This thread

LakerStar25

Senior Member
Jan 25, 2011
511
88
LA
fastboot oem writesecureflag 3

And you don't really need to worry about your cid. No ones gonna plug it into a computer to check the cid.

Sent from my HTC6435LVW using xda app-developers app

I really don't think they care if it's s-off either. Plus zound if you s-on the cid will go back to normal if I remember right.

Sent from my 5 Senses of DNA
 

zounduser

Senior Member
Mar 2, 2012
6,025
1,934
sioux falls SD
Hey scottie, question........on my htc ONE i super cid by running command....fastboot oem writecid 11111111

I can run this same command on my DNA, so i can unlock my bootloader correct? I am s-off btw. Thanks man.


Sent from my HTC6435LVW using Tapatalk 4 Beta
 

shobon

Senior Member
Sep 9, 2010
611
256
Connecticut
Hey scottie, question........on my htc ONE i super cid by running command....fastboot oem writecid 11111111

I can run this same command on my DNA, so i can unlock my bootloader correct? I am s-off btw. Thanks man.


Sent from my HTC6435LVW using Tapatalk 4 Beta

If you're S-off, just use HTCdev and pick "other device" from the bottom of the list.
 

zounduser

Senior Member
Mar 2, 2012
6,025
1,934
sioux falls SD
Well, i already super cid my sh!t. And i got the unlock_code.bin, now i need to restore stock bootloader. Pretty sure it wont work on the engineer hboot. I tried twice to flash it, no dice. Any suggestions guys?

Sent from my HTC6435LVW using Tapatalk 4 Beta
 

zounduser

Senior Member
Mar 2, 2012
6,025
1,934
sioux falls SD
Btw, i just picked up limited edition red DNA. Im back on the big red 4g lte network! :) so, this is y im in this thread looking for a solution.

Sent from my HTC6435LVW using Tapatalk 4 Beta

---------- Post added at 11:17 PM ---------- Previous post was at 10:45 PM ----------

I got it guys. :) all good. Thanks.

Sent from my HTC6435LVW using Tapatalk 4 Beta
 

scotty1223

Inactive Recognized Contributor
Jan 3, 2011
2,813
3,056
Hey scottie, question........on my htc ONE i super cid by running command....fastboot oem writecid 11111111

I can run this same command on my DNA, so i can unlock my bootloader correct? I am s-off btw. Thanks man.


Sent from my HTC6435LVW using Tapatalk 4 Beta

i know youre sorted,but for others seeing this, when youre s off you can easily change CID with the command you said: fastboot oem writecid xxxxxxxx where xxxxxxxx is any cid-11111111,VZW__001,HTC__001,etc

with dna,there are not really any benefits once youre s off.

supercid lets you run other regional/carrier RUUs,but with vzw,there are only vzw ruus.

supercid lets you unlock a stock s on device,but once youre s off its un-needed. you can lock or unlock by simply flashing a zip file no need to bother with htcdev,tokens,or cid changes. http://xdaforums.com/showthread.php?t=2160677
 
  • Like
Reactions: jeremy46er

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    since the current s-off method is not resetting your lock status flag, i figured there would be a demand for this. it all started from this thread in the gsm evo 3d section: http://xdaforums.com/showthread.php?t=1970252

    *this is not a modified or hex edited hboot. this is resetting your lock flag,so that your phone will correctly display locked on the hboot screen

    ive verified the lock location on just about every s3 phone jpbear supports,as well as a couple s4 dual core devices- LTEvo,inc 4g LTE,and one S.

    ive had a friend dump his DNA mmcblk0p3 and the lock flag location is the same,with an extra character that ive not seen prior. he cannot test the mods,as he is dependent on his phone for work,and cant be without it.

    0x8400 on his dna looked like this:
    Code:
    03 00 00 00 48 54 43 55 01 00 00 00 00 00 00 00....HTCU........

    the "01" after 48 54 43 55 i have never seen on any other device.

    now that we have s off,we an explore this further. first test would be to dump mmcblk0p3, hex edit it,changing 0x8400 to 00000000,and reflash it. id like someone fairly savy to do this,as i cant gaurantee it wont melt your shiny dna into a smoldering pile of goo :eek:

    dump,edit and reflash in this manner:
    Code:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\Users\Scott>[COLOR="Red"]cd c:\mini-adb_vigor[/COLOR]
    
    c:\mini-adb_vigor>[COLOR="red"]adb devices[/COLOR]
    * daemon not running. starting it now *
    * daemon started successfully *
    List of devices attached
    HTxxxxxxxxxx    device
    
    
    c:\mini-adb_vigor>[COLOR="Red"]adb shell[/COLOR]
    shell@android:/ $ [COLOR="red"]su[/COLOR]
    su
    shell@android:/ # [COLOR="red"]dd if=/dev/block/mmcblk0p3 of=/sdcard2/mmcblk0p3[/COLOR]
    dd if=/dev/block/mmcblk0p3 of=/sdcard2/mmcblk0p3
    64734+0 records in
    64734+0 records out
    33143808 bytes transferred in 9.519 secs (3481858 bytes/sec)
    shell@android:/ # [COLOR="red"]exit[/COLOR]
    exit
    shell@android:/ $ [COLOR="red"]exit[/COLOR]
    exit
    
    c:\mini-adb_vigor>[COLOR="red"]adb pull /sdcard2/mmcblk0p3[/COLOR]
    2292 KB/s (33143808 bytes in 14.116s)
    
    [COLOR="Blue"]*modify mmcblk0p3 with a hex editor[/COLOR]
    
    c:\mini-adb_vigor>[COLOR="Red"]adb push mmcblk0p3mod /sdcard2/mmcblk0p3mod[/COLOR]
    2478 KB/s (33143808 bytes in 13.059s)
    
    c:\mini-adb_vigor>[COLOR="red"]adb shell[/COLOR]
    shell@android:/ $ [COLOR="red"]su[/COLOR]
    su
    shell@android:/ # [COLOR="red"]dd if=/sdcard2/mmcblk0p3mod of=/dev/block/mmcblk0p3[/COLOR]
    dd if=/sdcard2/mmcblk0p3mod of=/dev/block/mmcblk0p3
    64734+0 records in
    64734+0 records out
    33143808 bytes transferred in 18.937 secs (1750214 bytes/sec)
    shell@android:/ #[COLOR="red"] exit[/COLOR]
    exit
    shell@android:/ $ [COLOR="red"]exit[/COLOR]
    exit
    
    c:\mini-adb_vigor>[COLOR="red"]adb reboot bootloader[/COLOR]
    
    c:\mini-adb_vigor>


    if this is successful,some less experienced users are welcome to try flashing this zip files. see the following thread for zip file links and instructions: http://xdaforums.com/showthread.php?t=2155955

    again,this has not been tested on a quad core s4 phone. i cannot gaurantee the hex edit zips wil work,fail,or brick your phone.

    i just wanted to get this info to the comunity so we can figure it out :)
    3
    Lets say I flash this and Lock my bootloader... is it stuck like that or can I use my Unlock_code.bin to re-unlock it?

    This can only be done if you are s-off, in which case the bootloader will be locked, but you will still be s-off, meaning you can flash roms etc. If necessary, you can revert it and have both s-off and an unlocked bootloader. If you lock the bootloader with this and then change it back to s-on, it will be completely locked and you can then return it for warranty. But if you need to do it now, don't flash the files because they aren't correct right now; you will have to manually copy your mmcblk0p3 partition, hex edit it with the modified data from my post on page 3, and reflash it with the commands the OP.

    ---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------

    doesn't "fastboot oem lock" do the same thing ?

    Using the lock command will change it from ***UNLOCKED*** to ***RELOCKED***, so htc/vzw will still know that you unlocked the bootloader and possibly try to void your warranty. Using this, you can change it to ***LOCKED***, and it will appear to be the same as it was when you bought it.
    2
    i have a locked phone that was s-off when i got it and i never unlocked it, so i was able to flash the eng hboot without having to unlock, not sure if that would help or not.
    2
    ran it and received the following...

    261342+0 records in
    261342+0 records out
    133807104 bytes transferred in 35.374 secs (3782639 bytes/sec)

    not sure where and what file i am looking for to upload though