[Samsung Galaxy Nexus] dechronic:
Yeah I am ahead of you on that...It didn't work the last time I tried it. I was tired though so maybe I did it wrong..going to try it again right now...

Will let you know how it goes

---------- Post added at 12:51 PM ---------- Previous post was at 12:27 PM ----------

Ok I tried that and it didn't work again...

Let me give you the procedure I created. I am using Windows 10 64bit.

I have created some batch files to automate as much of the process as possible.

I created a batch file to grab the images based on state

3.bat unlocked
OR
3.bat locked

The script fails with an error if I don't use the correct term.

It creates two folders called "1u" and "1l" and it downloads the images to the /sdcard/dumps but I removed the -$state so that each folder will have the same names (see why later).

I grab the files from each state without rebooting to no more than the bootloader or recovery (TWRP). I then run a binary compare of each of the folders.

fc /b 1l\* 1u\* > c.txt

I have the output of those two folders below, which shows the only change is in the misc partition.

However, if I flash the unlocked misc and reboot the bootloader it still shows as being locked... I am wonder if is changing something on the system partition and maybe that is why it becomes in accesible from TWRP unless you wipe it. Maybe an extra security feature. I formatted the userdata partition after flashing the misc partition too so as to rule out that.

Any other suggestions?

Comparing files 1L\aboot.img and 1U\aboot.img
FC: no differences encountered

Comparing files 1L\abootbak.img and 1U\abootbak.img
FC: no differences encountered

Comparing files 1L\apdp.img and 1U\apdp.img
FC: no differences encountered

Comparing files 1L\cmnlib.img and 1U\cmnlib.img
FC: no differences encountered

Comparing files 1L\cmnlibbak.img and 1U\cmnlibbak.img
FC: no differences encountered

Comparing files 1L\config.img and 1U\config.img
FC: no differences encountered

Comparing files 1L\DDR.img and 1U\DDR.img
FC: no differences encountered

Comparing files 1L\devinfo.img and 1U\devinfo.img
FC: no differences encountered

Comparing files 1L\dpo.img and 1U\dpo.img
FC: no differences encountered

Comparing files 1L\fsc.img and 1U\fsc.img
FC: no differences encountered

Comparing files 1L\fsg.img and 1U\fsg.img
FC: no differences encountered

Comparing files 1L\grow.img and 1U\grow.img
FC: no differences encountered

Comparing files 1L\hyp.img and 1U\hyp.img
FC: no differences encountered

Comparing files 1L\hypbak.img and 1U\hypbak.img
FC: no differences encountered

Comparing files 1L\imgdata.img and 1U\imgdata.img
FC: no differences encountered

Comparing files 1L\keymaster.img and 1U\keymaster.img
FC: no differences encountered

Comparing files 1L\keymasterbak.img and 1U\keymasterbak.img
FC: no differences encountered

Comparing files 1L\keystore.img and 1U\keystore.img
FC: no differences encountered

Comparing files 1L\laf.img and 1U\laf.img
FC: no differences encountered

Comparing files 1L\limits.img and 1U\limits.img
FC: no differences encountered

Comparing files 1L\metadata.img and 1U\metadata.img
FC: no differences encountered

Comparing files 1L\misc.img and 1U\misc.img
00000444: 10 18
00000464: 22 74
00000465: 5C 6F
00000466: 22 6B
00000467: 61 65
00000468: 75 6E
00000469: 74 5F
0000046A: 68 63
0000046B: 5F 6F
0000047C: 22 65
0000047D: 22 63
0000047E: 00 75
0000047F: 00 72
00000480: 22 65
00000481: 5C 5F
00000482: 22 69
00000483: 73 64
00000494: 25 22
00000495: 6C 5C
00000496: 6C 22
00000497: 75 6B
00000498: 5C 65
00000499: 22 79
0000049A: 22 5F
0000049B: 00 6F
0000049C: 22 70
0000049D: 5C 5F
0000049F: 33 31
000004A0: 35 36
000004A1: 33 31
000004A4: 41 33
000004A5: 18 A7
000004A6: 6F B2
000004A7: 06 AF
000004A8: 61 63
000004A9: 64 75
000004AA: 65 72
000004AB: 72 65
000004B4: 14 1C
000004BC: 41 33
000004BD: 18 A7
000004BE: 6F B2
000004BF: 06 AF
000004C8: 24 2C
000004CC: 14 1C
000004D8: 4D 55
000004E8: 3C 44
000004EE: 33 31
000004EF: 35 36
000004F0: 33 31
000004F8: 88 90
00000528: 75 3A
00000529: 74 20
0000052A: 68 25
0000052B: 5F 75
0000052C: 74 5C
0000052D: 79 22
0000052E: 70 22
0000052F: 65 00
00000534: 5C F7
00000535: 22 F7
00000536: 22 87
00000537: 00 F8
00000538: 03 A8
00000539: 20 F1
0000053A: FE 01
0000053B: A1 08
00000548: 88 90
0000054C: 4C 54
00000594: 4C 54
000005A0: 4C 54
000005A4: 41 33
000005A5: 18 A7
000005A6: 6F B2
000005A7: 06 AF
000005B0: 4C 54
000005D8: 41 33
000005D9: 18 A7
000005DA: 6F B2
000005DB: 06 AF
000005F0: 4C 54
000005F4: 40 08
000005FC: 41 33
000005FD: 18 A7
000005FE: 6F B2
000005FF: 06 AF
0003B040: 0C 61
0003B041: 0A 64
0003B042: 43 65
0003B043: 61 72
0003B044: 6C 2E
0003B045: 69 61
0003B046: 66 6E
0003B047: 6F 64
0003B049: 6E 6F
0003B04B: 61 64
0003B04C: 2C 28
0003B04D: 4C 1D
0003B050: 0C 08
0003B051: 55 26
0003B06C: 14 10
0003B06D: 56 27
0003B2E8: 30 18
0003B2E9: 03 D0
0003B2EA: 01 10
0003B2EB: 01 1B
0003B2EC: FF 73
0003B2ED: 30 EB
0003B2EE: 0D 05
0003B2EF: 06 00
0003B52C: FC 00
0003B52D: 16 00
0003B52E: 31 00
0003B52F: 4D 00
Comparing files 1L\modem.img and 1U\modem.img
FC: no differences encountered

Comparing files 1L\modemst1.img and 1U\modemst1.img
FC: no differences encountered

Comparing files 1L\modemst2.img and 1U\modemst2.img
FC: no differences encountered

Comparing files 1L\msadp.img and 1U\msadp.img
FC: no differences encountered

Comparing files 1L\oem.img and 1U\oem.img
FC: no differences encountered

Comparing files 1L\persist.img and 1U\persist.img
FC: no differences encountered

Comparing files 1L\persistent.img and 1U\persistent.img
FC: no differences encountered

Comparing files 1L\pmic.img and 1U\pmic.img
FC: no differences encountered

Comparing files 1L\pmicbak.img and 1U\pmicbak.img
FC: no differences encountered

Comparing files 1L\rpm.img and 1U\rpm.img
FC: no differences encountered

Comparing files 1L\rpmbak.img and 1U\rpmbak.img
FC: no differences encountered

Comparing files 1L\sbl1.img and 1U\sbl1.img
FC: no differences encountered

Comparing files 1L\sbl1bak.img and 1U\sbl1bak.img
FC: no differences encountered

Comparing files 1L\sdi.img and 1U\sdi.img
FC: no differences encountered

Comparing files 1L\sec.img and 1U\sec.img
FC: no differences encountered

Comparing files 1L\ssd.img and 1U\ssd.img
FC: no differences encountered

Comparing files 1L\tz.img and 1U\tz.img
FC: no differences encountered

Comparing files 1L\tzbak.img and 1U\tzbak.img
FC: no differences encountered

Comparing files 1L\vendor.img and 1U\vendor.img
FC: no differences encountered