Welcome to CyanogenMod
![]() |
Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
|
Odin Flash Loses your Unlock/Freeze Code
#1
Posted 27 September 2010 - 02:22 PM
I tried using the codes I got from my original bml3.bak file. I then tried getting the codes from the bml3 on my phone again and nothing. There wernt any codes on the phone. So needless to say, Looks like I'll have to get a unlock code from T-Mobile.
#2
Posted 30 September 2010 - 09:36 PM
Okay, so after playing around with some files I've come up with this fix.
follow the directions:
adb shell su dd if=/dev/block/bml3 of=/sdcard/bml3.bakMount then copy the file off your phone.
Download HxD (HexEditor)
open the file in HxD
search for SSVN
on the text side, you see SSNV and a bunch of garbled text, then FFFFFFFF
replace the F's with the original unlock code then save it
run the following command:
<path to sgux2.exe> bml3.bak example: cd\ cd GalaxyS cd Unlock sgux2.exe bml3.baksgux2.exe will now see your unlock code from the bml3.bak file.
I'm working on figuring out a way to push the bml3 block back to the phone now, so keep an eye on this thread.
#3
Posted 30 September 2010 - 10:19 PM
in-order to push/pull from the vibrant, you have to modify the playlogos file.
Thanks to Eugene, this has already been done for us, you just need to flash them.
once that's done, you can then run some commands to push the bml3 block back to the phone, and it will read your unlock code.
(I'll test it when I get home. Dont have a AT&T sim here at work.)
I will be working on a "One-Click" fix for this as well. Viral has offered his assistance if needed as well. Thanks man.
What the 1-Click will do is make it so if you don't know your code, it will create one for you
#4
Posted 01 October 2010 - 02:03 AM
Warranty Replacement on the way.
New Vibrant will be here Tues/Weds.
#5
Posted 06 October 2010 - 06:12 PM
Krylon360, on 01 October 2010 - 02:03 AM, said:
Warranty Replacement on the way.
New Vibrant will be here Tues/Weds.
Looking forward to any update. I have a captivate with the FFFF code where the unlock used to be - so even my original unlock code fails. I wonder if flashing back to stock would fix - I doubt it as i just flashed back to stock and did the upgrade to JH7 (the 2.1 maintenance release).
Any idea why many that update to Froyo - which is an Odin flash - don't lose the unlock? Is it using Odin with individual files that causes the issue?
Any details you have - and methods to fix would be great.
#6
Posted 06 October 2010 - 09:07 PM
#7
Posted 06 October 2010 - 09:35 PM
Krylon360, on 06 October 2010 - 09:07 PM, said:
I would love to find how the /EFS directory gets built - you would think that flashing a phone (somehow) would cause it to read the chip and create whatever files it needed regarding the IMEI. Seems silly that all this flashing and repartitioning can't clear the thing 100%. Maybe it is Samsung's security feature and the flash certain files at the factory through a different tool.
#8
Posted 07 October 2010 - 01:04 PM
It is in french, but apparently it is a way to tell the phone it is completely unlocked. I have not tried it, but the offsets in my nv_data.bin on the Captivate match up exactly to his galaxy S file.
Can anyone read french and review the comments - it seems like it could be the way to go and not even need an unlock code.
#9
Posted 07 October 2010 - 05:48 PM
Either way, next task is reviewing the nv_data.bin
I have a feeling thats where the freeze code is stored. I'll pull the nv_data and bml3 off my new phone to see where they are stored.
Im going to attempt to make a generic code ex. 12345678 for both the unlock and freeze codes.
#10
Posted 07 October 2010 - 08:00 PM
http://forum.xda-dev...9&postcount=107
I may give it a go tomorrow. Just need some down time to deal with reflashing everything in the event of a failure - or the possible brick.
If just editing the NV_data.bin works, i guess there is no reason to edit and replace bml3 - seems to easy to just put a code in what part of the NV_data.bin when they went to all the trouble to hide it elsewhere in the file.
Edited by alphadog, 07 October 2010 - 08:01 PM.
#11
Posted 07 October 2010 - 08:51 PM
#12
Posted 07 October 2010 - 11:29 PM
Krylon360, on 07 October 2010 - 08:51 PM, said:
Saw your post on XDA Vibrant Forum - seems with FFFFFFF at the place of the old unlock code, but also at the place where Helroz was working. I would be interested in hearing if you know what the different blocks are for.
Good luck, I am looking forward to being educated.
#13
Posted 08 October 2010 - 02:49 AM
I just threw in an old Cingular SIM Card (obviously also non-active) and it didn't prompt an unlock screen either. I did back everything up with Titanium backup before I moved to JI6, but as far as I can tell, everything is working well for me.
#14
Posted 08 October 2010 - 03:38 PM
I'll be working on this tomorrow. I have a clan match tonight, so wont have much time.
#15
Posted 11 October 2010 - 11:26 PM
Krylon360, on 08 October 2010 - 03:38 PM, said:
I'll be working on this tomorrow. I have a clan match tonight, so wont have much time.
no new news yet?
#16
Posted 12 October 2010 - 04:28 PM
#17
Posted 12 October 2010 - 05:28 PM
Krylon360, on 12 October 2010 - 04:28 PM, said:
No worries.... just checking in myself. Looking forward to whatever you come up with.













