Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,051 Members 53,691 Now Online
XDA Developers Android and Mobile Development Forum

testers needed- reset your lock status flag

Tip us?
 
scotty1223
Old
(Last edited by scotty1223; 20th February 2013 at 11:26 AM.)
#1  
scotty1223's Avatar
Senior Member - OP
Thanks Meter 2162
Posts: 2,203
Join Date: Jan 2011
Default testers needed- reset your lock status flag

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://forum.xda-developers.com/show....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

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>cd c:\mini-adb_vigor

c:\mini-adb_vigor>adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HTxxxxxxxxxx    device


c:\mini-adb_vigor>adb shell
shell@android:/ $ su
su
shell@android:/ # dd if=/dev/block/mmcblk0p3 of=/sdcard2/mmcblk0p3
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:/ # exit
exit
shell@android:/ $ exit
exit

c:\mini-adb_vigor>adb pull /sdcard2/mmcblk0p3
2292 KB/s (33143808 bytes in 14.116s)

*modify mmcblk0p3 with a hex editor

c:\mini-adb_vigor>adb push mmcblk0p3mod /sdcard2/mmcblk0p3mod
2478 KB/s (33143808 bytes in 13.059s)

c:\mini-adb_vigor>adb shell
shell@android:/ $ su
su
shell@android:/ # dd if=/sdcard2/mmcblk0p3mod of=/dev/block/mmcblk0p3
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:/ # exit
exit
shell@android:/ $ exit
exit

c:\mini-adb_vigor>adb reboot bootloader

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://forum.xda-developers.com/show....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
The Delivery Guy
If someone has helped you,please click the THANKS button on that post.
Please post questions so others can benefit from the answers(<-this means do not PM me questions)
donate to my device fund
The Following 5 Users Say Thank You to scotty1223 For This Useful Post: [ Click to Expand ]
 
KyJelly69
Old
#2  
Senior Member
Thanks Meter 115
Posts: 565
Join Date: Apr 2010
Location: Indianapolis
Default Re: testers needed- reset your lock status flag

Is it not possible to dump that block before s-off for comparison?

Sent from my HTC6435LVW using xda app-developers app
Verizon HTC Droid DNA (S-OFF)(Hboot 1.54.0000)(TWRP 2.7.0.0)(Radio 1.01.01.1112) - CodefireX (jamiethemorris 5.6.4)
 
scotty1223
Old
#3  
scotty1223's Avatar
Senior Member - OP
Thanks Meter 2162
Posts: 2,203
Join Date: Jan 2011
Quote:
Originally Posted by KyJelly69 View Post
Is it not possible to dump that block before s-off for comparison?

Sent from my HTC6435LVW using xda app-developers app
yes. the dump i have is from an s-on phone. as i said above, the next step is to try and rewrite mmcblk0p3 line 0x8400 and flash it back,now that we have s off. that block is write protected while s on,so there was nothing we could do with this until now.

the before and after s off dumps wont show much different,with exception that 0x8400 is now 00 instead of 03. HTCU or HTCL do not change.

now if the 01 at 0x8408 disapears after s-off,that would be interesting...

maybe someone can shed some light on that character? as i mentioned,ive not seen it in any other phone ive checked.
The Delivery Guy
If someone has helped you,please click the THANKS button on that post.
Please post questions so others can benefit from the answers(<-this means do not PM me questions)
donate to my device fund
 
mopartonyg
Old
#4  
mopartonyg's Avatar
Senior Member
Thanks Meter 150
Posts: 650
Join Date: Jan 2011
Location: L.A. Area
scotty does it lock the device or just show locked? sorry if this is a noob bootloader question.
 
yutsoku
Old
(Last edited by yutsoku; 20th February 2013 at 03:32 PM.)
#5  
yutsoku's Avatar
Senior Member
Thanks Meter 67
Posts: 190
Join Date: Feb 2010
Location: Cincinnati, Ohio

 
DONATE TO ME
I'm S-Off, and this is what 0x8400 reads
Code:
00 00 00 00 48 54 43 55 01 00 00 00 00 00 00 00 ....HTCU........
I don't know if I want to reflash it though haha... I changed it..
let me go through my breathing techniques

...You just wanted to change the whole row to 00 right?
HTC Droid DNA
Current Rom: Android 4.4
Current Kernel:
~~~~~~~~~~~~~~~~~~~
Old Phones:
G1, Cliq, Cliq XT, Mytouch Slide, Droid Eris, Moto Droid, Droid Incredible, Samsung Fascinate, Thunderbolt, Galaxy Nexus, Samsung Galaxy S III



 
KyJelly69
Old
(Last edited by KyJelly69; 20th February 2013 at 03:50 PM.)
#6  
Senior Member
Thanks Meter 115
Posts: 565
Join Date: Apr 2010
Location: Indianapolis
Quote:
Originally Posted by yutsoku View Post
I'm S-Off, and this is what 0x8400 reads
Code:
00 00 00 00 48 54 43 55 01 00 00 00 00 00 00 00 ....HTCU........
I don't know if I want to reflash it though haha... I changed it..
let me go through my breathing techniques

...You just wanted to change the whole row to 00 right?
I don't think you change the 01 to 00 just the stuff before.
Or you could use the zip provided?

let us know...
Verizon HTC Droid DNA (S-OFF)(Hboot 1.54.0000)(TWRP 2.7.0.0)(Radio 1.01.01.1112) - CodefireX (jamiethemorris 5.6.4)
 
scotty1223
Old
#8  
scotty1223's Avatar
Senior Member - OP
Thanks Meter 2162
Posts: 2,203
Join Date: Jan 2011
Default Re: testers needed- reset your lock status flag

Quote:
Originally Posted by .torrented View Post
what exactly is this useful for? setting the hboot back to locked? or s-on?
Locked. For Warranty

Sent from my ADR6425LVW using Tapatalk 2
The Delivery Guy
If someone has helped you,please click the THANKS button on that post.
Please post questions so others can benefit from the answers(<-this means do not PM me questions)
donate to my device fund
 
scotty1223
Old
#9  
scotty1223's Avatar
Senior Member - OP
Thanks Meter 2162
Posts: 2,203
Join Date: Jan 2011
Default Re: testers needed- reset your lock status flag

Quote:
Originally Posted by KyJelly69 View Post
I don't think you change the 01 to 00 just the stuff before.
Or you could use the zip provided?

let us know...
Leaving the 01 could have adverse affects(brick) as well. What we need is a dump from a locked phone to be more sure. I am 95 percent sure a locked phone will have all zeros. But, I cannot guarantee that.

Sent from my ADR6425LVW using Tapatalk 2
The Delivery Guy
If someone has helped you,please click the THANKS button on that post.
Please post questions so others can benefit from the answers(<-this means do not PM me questions)
donate to my device fund
 
CharliesTheMan
Old
#10  
CharliesTheMan's Avatar
Recognized Contributor
Thanks Meter 2481
Posts: 3,666
Join Date: May 2009

 
DONATE TO ME
Quote:
Originally Posted by scotty1223 View Post
Locked. For Warranty

Sent from my ADR6425LVW using Tapatalk 2
Scotty sending you a PM
Help CharliesTheMan out by signing up for Copy with this link https://copy.com?r=lK6L1Y


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes