yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] phynix5800:
OMG is this legit? Can't believe it :eek:. Got to be the easiest hack evar.

Guys, did any of you use something different than

0x000000000000000000000000000000000000000000000000 00000040000000c8

for the fuse? I'm asking, because it seems to be write-once.
[LG Optimus 4X HD] cupidstunt:
I used the one from this thread:

http://xdaforums.com/showthread.php?t=2180138

I extracted it into the same directory as adb and fastboot

at LG fastboot mode i entered the command:

fastboot flash recovery recovery-6028.img
[LG Optimus 4X HD] @non4:
Nevermind I done it, didn't realize the echo command was through terminal not adb. Now all we need is a .bat file or script for noobs :D

Sent from my rooted P880
[LG Optimus 4X HD] ch3:
holly s..... after so many [LGE_SECURITY]Unlock premission denied, it's finally seems to bet unlocked!!!

Just booted in to CWM!!! Now will try to install CM10 :))))
[LG Optimus 4X HD] cupidstunt:
I know!

[LGE_Security] unlock permission granted!!!!
[LG Optimus 4X HD] Fladder72:
S/W Update says "Bootloader State: Unlocked" after kdz flashing. And Hidden Menu too... :victory:

DZ flashing with LG Flashtool not tried yet. :D
[LG Optimus 4X HD] J-_-M-_-C:
it works!!!!!! finally running cm10.1
[LG Optimus 4X HD] cupidstunt:
You can do it through adb shell too.

just enter adb shell in command prompt, then SU
[LG Optimus 4X HD] Vosetal:
Congrats now we are all unlocked. :) .

I think you should use original recovery from clockworkmod site to avoid problems with CM OTA update.
[LG Optimus 4X HD] tulen_kobi:
Can this work for another versions of bootloader?
[LG Optimus 4X HD] lgauer:
Scripts

:o YES! :fingers-crossed:
[LG Optimus 4X HD] Zeph90:
Great !! It works
[LG Optimus 4X HD] Apoena:
WOW!!!!! In the end a simple solution... It works! I'm currently doing a CWM backup and downloading CM10.1

BTW, I did not flash the CN kdz... it worked on my EUR kdz I had flashed the 1st day it came out. I think we can skip a few steps there.... just modify the odm_reserved file, push it back to /sys/firmware/fuse/,

I did run the fastboot unlock, but I'm not sure if it was necessary... I checked the hidden menu and it already said unlocked before, but I didn't try to push CWM then...

After fastboot unlock I was able to push CWM and voila!! Happy dance!

Whoever said mondays were bad days?? hehehe...
[LG Optimus 4X HD] cupidstunt:
Just a warning, I tried to update the recovery using ROM manager and when I tried to reboot into recover it hung at the LG logo.

I've reflashed Dexter's recovery in fastboot mode and I'm back in business though
[LG Optimus 4X HD] phynix5800:
I just flashed CWMTouch with ROM Manager and its working like a charm!

Awesome times ahead for us! :cowboy:
[LG Optimus 4X HD] magickone:
Will this work on any P880? Even operator branded phones? :)
[LG Optimus 4X HD] Fladder72:
Me too... CWM from Rom Manager works:good:
[LG Optimus 4X HD] cupidstunt:
worth a shot if you're brave!

Nothing ventured, nothing gained.

On a serious note though, does anyone know if permanent damage can be done using this method??
[LG Optimus 4X HD] Newbleeto:
Working on branded too!

I can confirm this working on a Vodafone branded APRTBK 268-01, previously unlockable.

Freedom for ALL!!
[LG Optimus 4X HD] Apoena:
I just did it on my 724-07 VIVO/Brazil branded phone. I had flashed the EUR 20a when it came out, nothing more...
[LG Optimus 4X HD] frajobs:
Request for a Tutorial :)

Hi all,

i´m new to this Forum, and i would like to ask if somebody can do a Tutorial for this new Method, because i dont really get the Points :(

I would love to unlock my LG P880 :) Nice Phone but atm to much battery drain ;)

I ask for this because i´m a noob at coding and stuff, so pls help me :)

on sgs I it was so easy xD

thanks

frajobs
[LG Optimus 4X HD] Erus Tyrannus:
Did you unlock the bootloader? you made it? I am downloading KDZ files now.
[LG Optimus 4X HD] exFAT:
To all confused people

This is a simple script for unlocking the bootloader on your devices. Download it and run it with root in terminal emulator or script manager.

https://www.box.com/s/4jhgrlhajvpcsgtc1avp

EDIT: script edited, changed the end 0 to an 8 (mine was 0 so o.O)

Also, added the md5sums of the files involved so you can see if it was written to successfully.

EDIT2: Updated script and stripped out most of unnecessary stuff based on my observation here (http://xdaforums.com/showthread.php?p=40597604)

Can someone try it now and see if it works? THANKS
[LG Optimus 4X HD] tiflao:
How ejecute the script?

Enviado desde mi LG-P880 usando Tapatalk 2
[LG Optimus 4X HD] fire3d:
scriptmanager or filemanger (most of them can do that)
[LG Optimus 4X HD] Swoncen:
Thank you! Did anyone try it with 232-10? ;)
[LG Optimus 4X HD] Apoena:
Yes, I suggest you read this thread from the begining to understand what you are doing first. If you have any questions you can PM me if you want.
[LG Optimus 4X HD] roy8846:
Brilliant news, anyone can make a bat for windows, or should I do it on the phone??
[LG Optimus 4X HD] Emin3ms:
Error at step 10, when I push power & vol- I get LG security error. :/

What have i to do at step 8? I did nothing :x

EDIT : due to the missing signature? what is the solution?
[LG Optimus 4X HD] thecresta:
Script states:

0x00000000000000000000000000000000000000000000000000000040000000c0

Should the last digit be 8?
[LG Optimus 4X HD] Emin3ms:
Step 9 is with PC (cmd) or o4x (terminal) ? thx

And I installed recovery from ROM manager.
[LG Optimus 4X HD] xathanatosx:
doesn't work...262.01

is it possible to do anything with cmd? thank's
[LG Optimus 4X HD] @non4:
You enabled root in script manager/terminal first?

Sent from my rooted P880
[LG Optimus 4X HD] Fladder72:
yes... 8

0x00000000000000000000000000000000000000000000000 000000040000000c8
[LG Optimus 4X HD] Voltaine:
This doesnt work for me (enabled root in script manager)

-> security error :(
[LG Optimus 4X HD] @non4:
Try to edit the file manually and report

Sent from my rooted P880
[LG Optimus 4X HD] Derjan23:
Sorry that my explanation was not exactly how I had done it once. I've tried so much and I've probably forgotten the most important step.

Please help me to improve the manual. The CN version must therefore not be flashed.

But in the end it works but every... :laugh:
[LG Optimus 4X HD] Trigun:
Is this what was in your original odm_reserved file? Matches what I have with the 262-01 (0x0000000000000000000000000000000000000000000000000000008000000000) I'll give this method a try when I get a chance and report back.

---------- Post added at 02:13 PM ---------- Previous post was at 02:11 PM ----------

Did you correct the script? the 0 at the end of the chain on line 5 needed to be changed to an 8.
[LG Optimus 4X HD] laufersteppenwolf:
i just wrote a script that can be run in windows and is a lot easier for noobs (and faster for that matter ;) )

all you need to do is to extract it and run the BL_unlock.bat

the script will do all steps for you ;)

please report back, because i can't test it... (already unlocked, you know... :D )
[LG Optimus 4X HD] stuben32:
Get in !!! :)

I had the EUR-Open even though it showed in phone info as 234-000

Already had root, so just did the biz in Terminal - rebooted and voila

Flashed the latest Touch CWM from their site, and now i'm CM with latest gaps -

Feel the love for Derjan23 - after all the negativity when the post first went up!!

Needs to be a stickie!!!

Have faith :)
[LG Optimus 4X HD] Voltaine:
@ laufersteppenwolf

Doesnt work for me neither

It says unlocked in cmd window but bl unlock check in hidden menu still says locked

There is a line in the cmd window that looks like this:

sh: cat: <stdout>: Invalid argument
[LG Optimus 4X HD] Derjan23:
Thanks for your script, i update my TUT :good:
[LG Optimus 4X HD] cupidstunt:
You da man!:good:
[LG Optimus 4X HD] laufersteppenwolf:
could you give me the whole text from cmd please? or better a screenshot ;)
[LG Optimus 4X HD] Voltaine:
Here is the requested screenshot
[LG Optimus 4X HD] laufersteppenwolf:
thanks, but i can't find a mistake in the script... anyone else experiences this?
[LG Optimus 4X HD] Voltaine:
YEAAAAHHHHHHHH!!!!!!

I tried the manual method and it worked!!! BL unlock check now says unlocked

Despite the fact that your script didnt work for me--> thanks for your efforts laufersteppenwolf

And of course all the other who discovered this method
[LG Optimus 4X HD] @lbert:
Seems a lot of work given another method now exists to unlock 20a UK and DE with a simple text file edit!
[LG Optimus 4X HD] arnookie:
Please tell us more. Ware and how with the text file edit?
[LG Optimus 4X HD] cupidstunt:
That method was born in this thread!

Just ignore the first post and read though, no need to install the Chinese kdz
[LG Optimus 4X HD] xathanatosx:
it say's invalid argument
[LG Optimus 4X HD] Erus Tyrannus:
What i am doing wrong?

See attached.
[LG Optimus 4X HD] laufersteppenwolf:
don't type

su -c "cat /sys/firmware/fuse/odm_reserved > /data/local/tmp/odm_reserved"

type

su
cat /sys/firmware/fuse/odm_reserved > /data/local/tmp/odm_reserved
....
...

;)
[LG Optimus 4X HD] pierg75:
Great news!

Out of curiosity, what do you get from the odm_reserved after the manual cat?

Do you get the "right" numbers?

Or is somebody still getting the "ffffff...."?
[LG Optimus 4X HD] Erus Tyrannus:
I am still getting error.

Sorry i am noob =(
[LG Optimus 4X HD] mario.gacv:
eopubl applied

I'm also getting those "ffff..." but the bootloader says Unlock, so I think it's ok.
[LG Optimus 4X HD] @lbert:
Ah, I stand corrected. I saw the CN rom and felt anything that would over write a perfectly good working stock 20a was a bad idea. So never read on..great work, major thanks!

---------- Post added at 09:33 PM ---------- Previous post was at 09:32 PM ----------

The change to the file doesn't seem to be persistent but the unlock remains after rebooting. I'd ignore the ffff thing.
[LG Optimus 4X HD] JAsko_san:
Guys, does this metod work for the 232-10 firmwares ??? I would like to try it - but I'm currently not home. Does anyone had luck with this metod ????

Thanks
[LG Optimus 4X HD] sPEADy:
Unlocked successfully using this method here is Germany 262-000 nice work.

Just curious can this sort of process be used to relock :P ?
[LG Optimus 4X HD] fire3d:
it should work with any i think
[LG Optimus 4X HD] xathanatosx:
permission denied after tmp to fuse.......bored!!!!!!!!!!!!!
[LG Optimus 4X HD] laufersteppenwolf:
in theory: no :p due to the fact that it's stored in fuses, you can't re-write it... once written, always written... (yes, i know that it can be "slightly modified", but not the way we want to...)

have you ever tried another unlock procedure? if yes, which one(s)?
[LG Optimus 4X HD] Fladder72:
Unfortunaly the BL Fuse has no proper fuse... ;)
[LG Optimus 4X HD] future81:
I always trusted him when he first post that he unlocked with cn version -hes just late in making this guide -actually i think cn version method can be relockable method for those didn't unlock yet
[LG Optimus 4X HD] roy8846:
Delete tmp folder

then

su root

cat /sys/firmware/fuse/odm_reserved>/data/local/tmp/

Goto local/ and edit tmp file using file editor / text editor to

0x000000000000000000000000000000000000000000000000 00000040000000c8

change name of tmp file to odm_reserved

then

echo /data/local/odm_reserved >/sys/firmware/fuse/odm_reserved

It wouldn't work for me so I checked and had a tmp folder already (empty), I deleted it and the above worked.

It created a file under /local for me called tmp, try

su root

cat /sys/firmware/fuse/odm_reserved>/data/local/tmp

if it still doesn't work?
[LG Optimus 4X HD] Trigun:
Ran this on 262-01 but it didn't work, it said "bootloder is unlocked now" but when I checked the hidden menu it still said locked. So I did the steps one by one and ran into an issue with "cat /data/local/tmp/odm_reserved > /sys/firmware/fuse/odm_reserved" changed it to "echo /data/local/tmp/odm_reserved > /sys/firmware/fuse/odm_reserved" and that did it (kicked myself for not noticing it earlier when I read the batch file).
[LG Optimus 4X HD] Fladder72:
I have edited the batch file...

http://xdaforums.com/showpost.php?p=40593956&postcount=67
[LG Optimus 4X HD] exFAT:
The echo command will write the text /dqta/local/tmp/odm_reserved to /sys/firmware/fuse/odm_reserved , but not the unlock code?
[LG Optimus 4X HD] Trigun:
The echo command will write (or actually overwrite/add) the unlock code to /sys/firmware/fuse/odm_reserved. When i used the cat command I got cat: <stdout>: Invalid argument which lead me to believe it was not allowing the overwrite (thought it might be a permissions thing). When I use cat in command line most times I'm going to an empty file so it's not an issue but remembered that echo is better for this type of situation.

When I look in the file now the unlock code is there.
[LG Optimus 4X HD] exFAT:
That's really strange. The echo command you used will not write the contents of the file, but rather the file name.

---------- Post added at 10:32 AM ---------- Previous post was at 10:02 AM ----------

That's really strange. The echo command you used will not write the contents of the file, but rather the file name.

EDIT:

I realised that if you echo anything that isn't in the unlock code format to /sys/firmware/fuse/odm_reserved , the system will instantly overwrite it back, but depending on how many letters you tried to write, the end will be replaced with random letters/digits

e.g. Originally 0x00000000000000000000000000000000000000000000000000000040000000c0

then if you echo "yolobl"

It turns into 0x0000000000000000000000000000000000000000000000000000004000ffffff

Which explains why the echo command works - it doesn't echo the unlock code, but rather the text string "/data/local/tmp/odm_reserved" (note- string is 28 characters long) , so it causes it to turn into 0x000000000000000000000000000000000000XXXXXXXXXXXXXXXXXXXXXXXXXXXX (note- 28 characters at the back have been changed, same as text string we echoed earlier)

Where X is a random letter (usually f, but e and d can appear).

Which presumably means unlocked since it replaces the original 0x0000000000000000000000000000000000000000000000000000008000000000

which means locked.

So we just need to echo anything >=10 characters in length (I think) to /sys/firmware/fuse/odm_reserved to unlock the bootloader.

Can someone with a locked bootloader try this command:

su

echo 1234567890 > /sys/firmware/fuse/odm_reserved

Then check if it is unlocked.

Thanks!
[LG Optimus 4X HD] Trigun:
I think you are probably right. I just rechecked the file and it is showing "fdffffffcafffffffdfffefeffed" at the end. Hidden menus says unlock. Since I can't go backwards I guess we will have to wait for someone who is locked to confirm. I thought I checked the file contents after I did this. Well it will be good to know if that is all it takes.
[LG Optimus 4X HD] DavidXanatos:
Well;

Hex to Bin

0000 0040 0000 00C8 -> 0000 0000 0000 0000 0000 0000 0100 0000 0000 0000 0000 0000 0000 0000 1100 1000

ffff fdff fefe ffed -> 1111 1111 1111 1111 1111 1101 1111 1111 1111 1110 1111 1110 1111 1111 1110 1101

I think any string that sets the bold bits will do the work.

@ Derjan23

did I read correctly that you managed to set almost all of your fuses and now have:

0x000000000000000000000000000000000000fdffffffffff ffffffffffffffff

and the BL is still unlocked?

Thats good news that would mean that the boot loader can not be relocked.
[LG Optimus 4X HD] OopsWare:
take a look at v20a kernel souce arch\arm\mach-tegra\tegra_odm_fuses.c we can found function fuse_store() perform the fuse write

at 1st it check the input string. if leads "0x" or "x", ignore it . and then convert the string into hex by char_to_xdigit() ,

invalid hex charactor convert to -1 ( "f" ) .

before convert it'll chech the length of the input string, if length too long (max then 64), will cause error and return.

when we edit a linux text file, editor will add a 0x0a(new line) at end of the file, it may cause the file size big, so cat command will no work

command like this maybe more better, i think:

echo 0x00000000000000000000000000000000000000000000000000000040000000c8 > /sys/firmware/fuse/odm_reserved
[LG Optimus 4X HD] future81:
deleted
[LG Optimus 4X HD] @non4:
I wonder if we are even changing it directly, I edited it to those values but when I did echo /data/local/tmp/odm_reserved > /sys/firmware/fuse/odm_reserved I had unlock after reboot but my odm_reserved reads:

Nothing like what I edited it to. GBR 234-000 Now running cm10.1 so I'm happy :D

Sent from my rooted P880
[LG Optimus 4X HD] exFAT:
I already detailed this phenomenon in my post on the previous page. What happens is that a text string is written (NOT the hexadecimal unlock code) to /sys/firmware/fuse/odm_reserved, and then the phone immediately overwrites it back with the default value. However, for some strange reason, the characters at the end part of the string will get modified (depending on how many characters were in the text string wrote to it), usually to the letters f, d, e. This counts as an unlocked code.

In essence, the discoverer lucked out. The prevailing belief was that the unlock code was being written to the phone, which is false. What happens is that the 28 character text string "/data/local/tmp/odm_reserved is written to /sys/firmware/fuse/odm_reserved" ; after system overwrite, a 28 character long series of letters replaces the original end 28 characters, allowing unlock.

So, could anyone with a locked bootloader try

echo 1234567890 > /sys/firmware/fuse/odm_reserved

to unlock the bootloader?
[LG Optimus 4X HD] xathanatosx:
unlocke!!!!!!!!!!!!!!!!!!!!! yesssssssssssssssssssss CWM installed wow wow wow

I'm creating a backup.zip ;) and than.........CM

My question is......if i reflash a kdz or dz will i lose the unlock?
[LG Optimus 4X HD] Kanad:
Hi All,

I have rechecked the threads and all the firmwares where bootloader was unlocked says "Security On" whereas people from these threads reported" Security OFF", what does this mean? Is it a complete bl unlock instead of just bypass?

Regards,

Kanad
[LG Optimus 4X HD] future81:
look at this

/data/ local / tmp /

fdf ff f ffcaf f f f f f

odm_reserved

f d f f fefeff ed

so its typically converted non hex chars to f except at data part (a shouldn't be f)

so echo 40000000c8 > /sys/firmware/fuse/odm_reserved

should do the job
[LG Optimus 4X HD] laufersteppenwolf:
well, as you may know, fuses can be written from (binary) 0 to 1, but if a 1 is written once, you can't change it back to a 0 ;) so the more combinations you are "echo'ing", the more "f" you will get (f is the max value in hex code ;) )

it should remain unlocked, but i don't know if someone has tried it yet ;)
[LG Optimus 4X HD] exFAT:
Not sure if this is related, but I can't seem to get my odm_reserved back to my original 400000000c0 after repeated echoes of random numbers

u0_a118@android:/ $ cat /sys/firmware/fuse/odm_reserved
0x000000000000000000000001324675949466fdfffffffefffffffdffffffffff

The more I echo, the more screwed up it gets :D
[LG Optimus 4X HD] laufersteppenwolf:
yeah, that's what i've said ;) once a 1 is written, it will remain forever ;) no chance to write a 0 again ;) ("f" in hex code is "1111" in binary)
[LG Optimus 4X HD] Nosehole:
Hi guys, I created an account just now to verify this.

Just issuing echo 40000000c8 > /sys/firmware/fuse/odm_reserved as root and doing a reboot unlocked my Bootloader (at least according to the hidden menu)

No data loss occured.

Looking at the odm_reserved file also gives me correct (0x00...040000000c8) value.

For the record, I went from official V10h with root to official V20a EURO-XXX.
[LG Optimus 4X HD] OopsWare:
hex value can be 0~9, a~f or A~F, other charactor convert f

echo command only write the file path name into fuse but the file contents

/dat a/local/ tmp/odm_ reserved
fdff ffffcaff fffffdff fefeffed
[LG Optimus 4X HD] future81:
i think OP should be updated and it'll work at first time not for those already unlocked

1 step do the job
[LG Optimus 4X HD] exFAT:
Lololol even better twist.

I tried to boot into fastboot using adb reboot oem-unlock

It denied me, saying unlock permission was denied. Though I can boot up using kholk's kernel.
[LG Optimus 4X HD] xathanatosx:
i reflash kdz euro open and bootloader is still unlocked.

i'll root it and flash cwm again

edit: rooted and cwm v6.0.2.8 installed but i cant install CM

it says: assert failed: getprop ("ro.product.device") ect ect.
[LG Optimus 4X HD] future81:
well i think u should be aware and don't flash any stock room
[LG Optimus 4X HD] DavidXanatos:
I'm aware of that,

My question is rather does the bootloader stays unlocked once all fuses ar blown (set to 1)

or if there is a fuse that once blown relocks the bootloader for ever and ever.

I'm not happy with having run the buggy script and writing junk to the file,

but on the other side I'm extremely glad that it worked anyways.

David X.
[LG Optimus 4X HD] Vosetal:
get official cwm from clockworkmod.com
[LG Optimus 4X HD] Fladder72:
Unlock stays after flahing. I flashed with LG flashtool. After reboot set USB Debuging on, "adb reboot bootloader" let me enter Fastboot Mode ("Now ready"...).

Recovery flashed without rooting my device via sideload... ;)
[LG Optimus 4X HD] exFAT:
Well I flashed GBootmenu then booted into recovery, then I reflashed CWM touch and booted into recovery, then I rebooted. All done manually via Terminal Emulator.

No problems so far other than it registering as locked but otherwise functioning as unlocked (but w/o fastboot).
[LG Optimus 4X HD] xathanatosx:
ok official pushed ;)

i'm installing cm now, few seconds

whaiting for bootloop CyanogenMod end....

edit: all ok ;)
[LG Optimus 4X HD] Freddowar:
262-01 Unlocked!!!!
[LG Optimus 4X HD] arnookie:
Anyone tried the official v20a_00.kdz uk update through update tool and if you did can you unlock it with official unlock?

I noticed today the official LG update tool shows official v20a update is available so just wondering if it can be officially unlocked or if it still has locked bootloader.
[LG Optimus 4X HD] @non4:
On the firmware thread it's been reported unlockable, exactly one day late too :D

Sent from my rooted P880
[LG Optimus 4X HD] arnookie:
Think ill try official update and unlock with official unlock then. : O-)

So glad LG saw sence and decided to make uk phone unlockable.
[LG Optimus 4X HD] @non4:
There is an advantage to the other method though, no data wipe :D

Sent from my rooted P880
[LG Optimus 4X HD] :
hi, i just just ran the modified script from this:

http://xdaforums.com/showpost.php?p=40593956&postcount=67

without doing any of the steps and my bootloader status says unlock.

is it really unlocked or do i have to do all the steps?

how do i check if it is truly unlocked?

thanks

V20-234-UK
[LG Optimus 4X HD] Teddy24:
Big Thanks, now it's unklocked!!!!

:D:D:D:D:D:D
[LG Optimus 4X HD] Trigun:
Did you use the unsecure boot image once unlocked?
[LG Optimus 4X HD] DavidXanatos:
whats the different between the "unsecure boot image" and a "secure boot image" ?
[LG Optimus 4X HD] Benny100:
I can not flashing unsecure boot image
[LG Optimus 4X HD] @non4:
Looks like you are not rooted, you need to grant superuser permissions to adb shell for it to work

Sent from my rooted P880
[LG Optimus 4X HD] laufersteppenwolf:
when you flash CM, you flash a "unsecured" boot image, too. ;) the CM rom comes with its own boot.img, a.k.a kernel ;)

there's no "big" difference. e.g. the unsecured boot lets adb run as root right away (from boot on) ;)
[LG Optimus 4X HD] pierg75:
OK, something weird is happening here:

Status: Lock

Status Lock

So, Am I the only one not able to unlock it???

BTW, adb unlock results in the classic permission denied.
[LG Optimus 4X HD] DavidXanatos:
To my understanding you should already be unlocked, you don't need to run adb unlock.

Reboot your phone and check what does the hidden menu says.

Also you can just try flashing CWM if oyu can boot into it poweer + vol- that i guess you are successfully unlocked.
[LG Optimus 4X HD] pierg75:
Already tried to reboot and the hidden menu says lock.