yashsingh1/xdaforums huggingface dataset:
[LG Optimus L9 P760, P765, P768, P769] xdrc45:
Gotcha... I was thinking that you were setting up a VM on your laptop. I'd much rather have Ubuntu installed than rum a VM too. I had a Ubuntu VM set up on my PC at one point but it was heavy and lagged a bit. I'd like to try a slim version of Ubuntu like Builduntu but my PC is 32 bit and my laptop is 64 bit but the charging port is messed up... I should just get it fixed and install Ubuntu on it and buy a new laptop.
[LG Optimus L9 P760, P765, P768, P769] bulletfreak:
Why ubuntu........everyone uses LFS. Lol

Help unlock the P769 here: http://www.change.org/petitions/lg-electronics-unlock-bootloader-of-optimus-l9-p769
[LG Optimus L9 P760, P765, P768, P769] shinobisoft:
I'm actually dual booting Windows 7 and Ubuntu 13.10.

[MENTION=5398167]bulletfreak[/MENTION]

I don't know what LFS is. Remember, I'm a Windows programmer. Also, the people I know use Ubuntu to build Android. I have successfully built with Ubuntu in the past so I'll stick with what I know. :)

Either or, the end result is the same. ;)
[LG Optimus L9 P760, P765, P768, P769] bulletfreak:
LFS is a book that tells you how to build your own distro. I was just joking

Help unlock the P769 here: http://www.change.org/petitions/lg-electronics-unlock-bootloader-of-optimus-l9-p769
[LG Optimus L9 P760, P765, P768, P769] ksjuggalo:
First off i have to apologize if this is a redundant question, It's not because didn't search. I have read each of the Unlock Bootloader threads so many times I can't remember if i read this or not......

Does allow mock locations make any difference?? i don't think I ever enabled that and have had no luck with unlocking. Could it be that the EURO rom trick needs to be able to use that to pretend its in a EURO region?

I may try it again with this enabled , but every time i try this i end up without a phone for HOURS!! lol So please if we already know this makes no difference, let me know before i try it....lol

EDIT Guess i need to change my sig
[LG Optimus L9 P760, P765, P768, P769] toyr99:
my cousin have a p760, bought on june 2013, in which way can i unlock the bootloader if he's on the v20c europe open?
[LG Optimus L9 P760, P765, P768, P769] BajoPrimate:
Hi toyr99, i got my p760 on August 2013 and unlocked it following cmahendra's guide:

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

Cheers. Good luck.

Sent from my LG P76020L-EUR-XX unlocked and rooted
[LG Optimus L9 P760, P765, P768, P769] lino08:
Please if you manage to arrive at the unlock screen dump your nv partition!
[LG Optimus L9 P760, P765, P768, P769] travioso:
Can't seem to find the post but I believe it was this thread.. at any rate, has the octopus box and cable gotten any progress? is it a surefire way to unlock any p769? Laptop crashed so have none of the links and that.. from metro this phone is only 29 bucks now.. suits my needs for time being just trying to think of a way for the ones that are keeping this phone to unlock it.. was thinking along the lines of a PayPal fund to get the box if it was a for sure thing.. just throwing it out there..
[LG Optimus L9 P760, P765, P768, P769] salvatore46:
news for unlock bootloader? ?

inviato dal mio l9 che diventerà g2
[LG Optimus L9 P760, P765, P768, P769] stunts513:
Well I may be able to unlock mine soon so I will try to post my nvram if we get the data plan soon. Had to update a huawei u8665 phone to cm 10.2 from gingerbread and update baseband then use a headset/Bluetooth headset on a phone the my friend dropped in butter and ruined the mic on to fulfill the condition of "mother has to have a smart phone too before we get a data plan" . I got lucky that the baseband update unlocked the carrier lock as well. Anyways I will try to help out if I can.
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
To quote my older brother. "May the force be with you."
[LG Optimus L9 P760, P765, P768, P769] salvatore46:
news?

inviato dal mio l9 che diventerà g2
[LG Optimus L9 P760, P765, P768, P769] stunts513:
if your looking for news i got it as far as v20b, then installed cwm via the method mentioned to flash radio fix and such, it went into recovery then low and behold my phone fell, the battery went flying, and now i'm stuck at a encrypting screen... i'm sure this is fixable via omap boot, but i'm hoping for something more simple. I found that by holding power, volume up and home button on this v20b instead of factory resetting i get into a "recovery mode" where i have adb shell access and can still gain superuser with su. I would love to just flash a kdz over again and try again but i can't get the update tool to detect my phone when its in s/w update mode. Think this screen is from the bootstrap i noticed? thinking of deleting it to see if it fixes anything.

edit: ok fixed that issue, had to figure out where the stupid hijack file was, i actually found it by looking through smali coding before the grep command completed...
[LG Optimus L9 P760, P765, P768, P769] ThEuNdYiNg1:
if thats the case then cant you run FROST on a unlocked lg l9 with stock rom flashed throught recovery and get the key that the bootloader reads from the boot image?

just my two cents
[LG Optimus L9 P760, P765, P768, P769] shinobisoft:
I honestly don't know. Since the weather has improved, I haven't had time to do much of anything regarding these L9's and/or android in general.
[LG Optimus L9 P760, P765, P768, P769] stunts513:
if anybody is curious on my progress i have been sitting here for a few days not receiving a token... I'm going to redo part of the process and hope it works out. Btw in the process of this i found out a way to unbrick from the nasty encryption error brick that has been reported rarely when rebooting out of cwm bootstrap, it requires you to factory reset the phone from said screen then boot the phone up by holding volume up +home+power, and let go right when the screen darkens, then run

adb shell "su -c 'rm /system/bin/e2fsck'"
adb shell "su -c 'mv /system/bin/e2fsck.bin /system/bin/e2fsck'"

and yea it kinda requires root, but at that point you should still have it or you wouldnt have been able to install cwm. The factory reset is because su just sits there otherwise, i'm assuming its waiting for supersu's grant to go through, so with supersu gone it just works. But if supersu is on the system partition you might be sol unless you can still get back into cwm.

Also thought i'd mention i kinda decompiled the bootloader, but i can't read machine code. Anybody else want to take a peek? I found all the unlock strings but i have no idea how to check what used them. If we can figure out what its checking before allowing oem unlock to come up then that would be useful as well.
[LG Optimus L9 P760, P765, P768, P769] bulletfreak:
Non. We all died

Help unlock the P769 here: http://www.change.org/petitions/lg-electronics-unlock-bootloader-of-optimus-l9-p769
[LG Optimus L9 P760, P765, P768, P769] shinobisoft:
That's already been done. If you're talking about viewing the boot loader with a hex editor, you are looking at LK assembly language, not machine code, sorry. There is no way to interactively debug the boot loader code to see which function is calling what.
[LG Optimus L9 P760, P765, P768, P769] stunts513:
i ran it through a decompiler... set the arm settings to what the processor architecture reported(roughly) and got a nice amount of machine code back, with things referencing other things and such but i cant make heads or tails of it.

Edit: Here's a random thought, think its possible lg is filtering who gets a token now based on ip address? i might try proxying through a European proxy and see what happens tomorrow. I'm just going to keep trying things and see if i can get this thing to unlock. Did i read we need signed files to boot from with omapboot? Ugh, if only i had more knowledge with coding.
[LG Optimus L9 P760, P765, P768, P769] Prozacthepro:
Hello! i bought my P760 in April-2013, few days ago i installed with KDZ the 20H ITA firmware. i'm stuck searcing a way to unlock the bootloader and install a Custom Rom (Cyano or Superluminal)...is there anything i can do?
[LG Optimus L9 P760, P765, P768, P769] stunts513:
Lucky, that model seems more likely to unlock than mine... It actually is meant to work with the firmware that gives us issues. You might be of more use to us than me if you can get the token and have a dump of your nvram from before and after. I assume the process on the p760 is the same as the p769 right? (Wait for someone that has been in this phones community longer than me and is more knowledgeable to answer)
[LG Optimus L9 P760, P765, P768, P769] Ntrasme:
I would like to tell any lurkers in this thread that are waiting for the bootloader to be unlocked to install CM, that there is a thread to install CM9 on locked bootloaders Here.
[LG Optimus L9 P760, P765, P768, P769] Ilxaot:
I've used it for two weeks or so, way too buggy. Plus, the developer kinda leaves you hanging. Like, he did a lot and all but he doesn't keep you posted on things. It's good thought if you absolutely must have it.. Camera quality is horrible though.
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
I expected that much. I never tried it but I had the feeling it was a WIP....or maybe we should call it WNP (work no progress)?
[LG Optimus L9 P760, P765, P768, P769] Ilxaot:
I dolphinately sea what you did there. :p
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
LOL....for a second I thought you got autocorrected.
[LG Optimus L9 P760, P765, P768, P769] Polloos:
More info of 2nd-init

Please, all developers check this:

http://droid-developers.org/wiki/Main_Page - look all wiki, more info!!

https://github.com/nadlabak/kernel/

https://github.com/nadlabak/2ndboot

https://github.com/a853/a853_2nd_init/

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

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

https://github.com/CyanogenDefy/android_device_motorola_jordan

just have to change the zImage without security error!

EDIT:

I am not a programmer and know little of this!

looking at the sources I could find this:

} else if (!strcmp(cmd, "oem-unlock")) {
/* reboot and go into the unlock mode in LK */
[B][COLOR="Red"]restart_reason = 0x77665533;[/COLOR][/B]
v |= OMAP4430_RST_GLOBAL_COLD_SW_MASK;

/* save restart reason in scratch memory for bootloader to read it */
if (sar_base) {
__raw_writel(restart_reason, sar_base +[COLOR="red"] 0xA0C[/COLOR]);
printk("Restart reason: 0x%x\n", __raw_readl(sar_base + [COLOR="red"]0xA0C[/COLOR]));
}
else {
printk(KERN_EMERG "omap4_get_sar_ram_base failed\n");
}

/* Scratch pad memory offsets from SAR_BANK1 */
#define OMAP_REBOOT_REASON_OFFSET	[COLOR="red"]0xA0C[/COLOR]
#define OMAP_REBOOT_REASON_SIZE	0xF /* till 0xA1B */

/*
* The SAR RAM is maintained during Device OFF mode.
* It is split into 4 banks with different privilege accesses
*
* ---------------------------------------------------------------------
* Access mode	Bank	Address Range
* ---------------------------------------------------------------------
* HS/GP : Public	1	0x4A32_6000 - 0x4A32_6FFF (4kB)
* HS/GP : Public, Secured
* if padconfaccdisable=1	2	0x4A32_7000 - 0x4A32_73FF (1kB)
* HS/EMU : Secured
* GP : Public	3	0x4A32_8000 - 0x4A32_87FF (2kB)
* HS/GP :
* Secure Priviledge,
* write once.	4	0x4A32_9000 - 0x4A32_93FF (1kB)
* ---------------------------------------------------------------------
* The SAR RAM save regiter layout is fixed since restore is done by hardware.
*/

according to I understood the reason why does not restart in bootloader is stored in SAR_BANK1. It's possible view the reason in SAR_BANK1?
[LG Optimus L9 P760, P765, P768, P769] Ilxaot:
^ This guy's legit.
[LG Optimus L9 P760, P765, P768, P769] stunts513:
[MENTION=5445285]Polloos[/MENTION]

If you are lucky you won't have to worry about a security error because someone says they made a 2nd init that is going to be beta tested. The way I see it if it is a kernel problem, we could use 2nd init as a stepping stone for a full unlock.

edit: wait i may have misspoken as i believe 2nd init doesnt allow for a custom kernel, though i have no idea about their process i thought it was mentioned being 2nd init but i think they said they were running their own custom kernel so idk.
[LG Optimus L9 P760, P765, P768, P769] ISITBRICKED:
I turtley get it

Sent from my unlocked LG P769 running AtonX unofficial CM11
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
LOL!
[LG Optimus L9 P760, P765, P768, P769] Ilxaot:
Whale then, you shore did.
[LG Optimus L9 P760, P765, P768, P769] seryioo:
Hi, were can I found the file emmc_appsboot on p760?
[LG Optimus L9 P760, P765, P768, P769] AlexRose23:
Everybody gave up on l9? No news in order to unlock bootloader?
[LG Optimus L9 P760, P765, P768, P769] steventechno:
Seems so. Everyone at this point have moved on to other phones. Too bad people aren't at least working on porting more ROMs to 2nd-init too instead of just exclusively Unlocked BLs because There is a CM9 for 2nd init (Even though it was designed for the p760 model) It starts and runs fine on the p769 after installing a hard to find patch but has it's compatibility issues (Upside down camera, landscape inverted, stuff like that) but seems to work just fine as is... It's actually pretty fast, especially compared to the LGCustom ROM we got out of the box. so If you feel desperate for something outside of LG's jb then it MIGHT be worth looking at.... even though it's dead in the water.
[LG Optimus L9 P760, P765, P768, P769] BajoPrimate:
Hi, my friends, life goes on, as always.

There is a lot of people with L9, not all of us are developers, but here we are.

You're not alone.

Cheers. Good luck.

Sent from my LG P76020p-EUR-XX unlocked and rooted
[LG Optimus L9 P760, P765, P768, P769] kuma82:
My other guide ;)

The way I unlocked.

My bad I just noticed you said "root".

CarlosWii5 video is using Lelus Root method, to install 2nd bootstrap, then reboot into cwm to flash a radio.

I have found that this is (mine & others) method has not worked for everyone. Some report that this hasn't worked for them. That's why I want another method.

I have however, personally unlocked 2 device this way. Plus several other people have as well.

Note:

My order of flashing 10e to 10g to 10a (i think wind) to 20d back to (another wind) to 10b (metro) finally I used fastboot to flash 10g (T-Mobile) u-boot and I didn't bother with the x-loader. Used the offline flash to root (swap 11th bin) & swapped out/replaced an extracted (from kdz) jellybean *769.fls. I renamed it to match the p760.fls (might not be spelled exactly like that).

I never made an official guide because it hasn't worked for all.

The second device I unlocked was a metropcs 10b (jellybean). The same way, except I didn't replace the 10g u-boot. The phone booted up normally (no Euro u-boot installed. So I used the dd command to replace it.

My friend broke his screen on the unlocked phone and got another metro and did the same steps and unlocked his device on his own. He got it on the second try. The first time he waited only 30 and the second try was 45.

BobZ unlocked his by performing the same method.
[LG Optimus L9 P760, P765, P768, P769] lwg45714:
The "root guide" included with carloswiis all in one file download. It contains 2 files ROOTlelusICS, and ROOTlelusJB. Kuma82, I acctually did use your guide for knowing how to flash the radio file. You should create a how to using the method you used as a backup if the orginal fails to work for people. This device is so inconsistent, theres got to be a file difference or SOMETHING in some phones preventing this. I don't think everyone that fails can be skipping/missing steps, its a pretty delicate process to be careless doing. Im POSITIVE I followed carloswiis guide to a T the first 10 or so tries with no success. I wonder if maybe the reboot to flash the RADIO file caused the issues issues or something.
[LG Optimus L9 P760, P765, P768, P769] shinobisoft:
Last night I managed to get my hands on GB source for x-loader and u-boot, for LGSU760 granted, but I may find what we need there. I just realized I need the source for P940, not SU760, although apparently the Optimus 3D is similar to L9.

I have a side job to go do shortly. Gotta make them dollars ;):eek: When I get home I'll have time to dig around some more. :silly:
[LG Optimus L9 P760, P765, P768, P769] kuma82:
I'll think about it. I would like to make a video but my PC is crap. Plus I rather have a foolproof way to unlock ;) so I plan on doing some more studying.

Go make that money :)

Yes we need p940 source. That board is exactly what we have in our device (I think).

I've done quite a bit of testing with the unofficial fastboot. I've mostly been using the p940 aboot in combination with other images. Both stages load (aboot & ?) However the aboot only responds to the p940 u-boot.

The (p940) signed u-boot & fastboot are not that much different (the signed has extra data in the beginning). I'll report back later with anything else I find useful.
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
Uh...from my understanding, the offline flash doesn't run on xp. It doesn't bring up language selection. I know this because my brother uses xp from time to time. :confused:

---------- Post added at 11:20 AM ---------- Previous post was at 11:10 AM ----------

These forums are getting on my nerves. I do everything as the video shows and can't unlock. I wait 30 minutes, 45 minutes, an hour, overnight....nothing. I paste over the fls...nothing. 30 minutes with wifi and 30 minutes with data....nothing. One hour with wifi one hour with data....nothing. Only wifi for 45 minutes....nope....45 minutes with data. To hell with this phone and forums.

Sorry for the rant....I get frustrated with some saying not to be lazy and follow the steps. And others skipping steps and it works for them. :(
[LG Optimus L9 P760, P765, P768, P769] kuma82:
That's why I don't want to make another guide, I'm sure you have been doing it properly (waiting until the fls to show up and then replacing the file). Take it easy, I can feel your pain and it hurts :,(
[LG Optimus L9 P760, P765, P768, P769] shinobisoft:
Located and downloaded P940 GB sources earlier this morning :D
[LG Optimus L9 P760, P765, P768, P769] Ilxaot:
Great news! Sorry if this sounds stupid, but how is this of assistance if it's GingerBread? Or does that even matter since they're similar?
[LG Optimus L9 P760, P765, P768, P769] shinobisoft:
The sources may help me figure out exactly how x-loader and u-boot actually work. The sources are written C. I happen to be a C/C++ programmer ( as a hobby btw ). In any case, from the sources I may be able to create a new u-boot and if need be a new x-loader to bypass all of LG's ( actually TMobile in my case ) security BS.
[LG Optimus L9 P760, P765, P768, P769] omgbossis21:
Not sure its the same but qualcom uses the aboot in with sb1 sb2 and sb3 and the tz (trustzone partition). Happen to have a list of the p940 partitions? Also mind hosting the p940 aboot for me to have a look at? I believe sb1 loads the aboot.
[LG Optimus L9 P760, P765, P768, P769] shinobisoft:
Updated the Findings post with the differences listed between my P769 nv partition and [MENTION=4447066]kuma82[/MENTION] nv partition.
[LG Optimus L9 P760, P765, P768, P769] omgbossis21:
Despite having modified 2 nv images and flashing to my phone and still not being unlocked.... I know I was running a unlocked u image however My x may not have been an unlocked copy (I think it was but not quite sure). Why not modify a nv image to match your info (while being sure to have a unlocked x and u copy on the phone, verified with the inverted lg logo for the u) and try again? If you are sim unlocked be sure to change back just in case.
[LG Optimus L9 P760, P765, P768, P769] kuma82:
No such thing as an unlocked x-loader. I have performed several offline flashes and the x-loader never gets replaced. The u-boot is the only thing that gets replaced (not all the time).
[LG Optimus L9 P760, P765, P768, P769] omgbossis21:
Alright, I never did compare the x from a locked an unlocked phone so I was going off assumption. In that case the nv partition data most likely makes no different unless it will allow for unlocking (I never tried to unlock while on the modified nv partition). Although with the modified one the phone worked just fine, calls etc, just still showed a locked bootloader.
[LG Optimus L9 P760, P765, P768, P769] kuma82:
Yeah I just checked a modified nv on my unlocked device, and it made no difference. I pretty sure the nv is a one time thing. If I remember correctly the nv get's sent some information (token) and aftewards it uses it to unlock the device. I would have to compare some more nv.img(s). I'm do some more hunting, I know a couple are scattered about in the forums. My nv contains a lot more blank data (00) then shinobisoft

, so I believe something was written to mine.

I was just diving through your thread and found this http://xdaforums.com/showpost.php?p=44796018&postcount=105

I have 11 01 at 0x4800

If we can get are hands on a L9 that is about to be unlocked and dump the nv.img prior to rebooting we might have the key to unlocking.

Update:

okay I flashed shinobisoft nv (with my imei & mac) and just pulled it from the system.

The nv.img changed

1. at 0x4800 go figure

it added "11 01"

2.It replace/changed the kdz version to what I'm currently running LGMS769AT-01-V10d-310-260-AUG-29-2013+0

it was LGP769AT-01-V20h-310-260-AUG-14-2013+00

3. It filled in the missing empty blank data.

shinobisoft nv stops at 0x3fff0

and mine stops at 0x7fff0
[LG Optimus L9 P760, P765, P768, P769] shinobisoft:
Just found this while browsing thru the sources for V20H...

[COLOR=DimGray]#if defined[/COLOR]([B][COLOR=Red]CONFIG_MACH_LGE_U2_P760[/COLOR][/B])
} [COLOR=Blue]else if[/COLOR] (!strcmp(cmd, "bootloader")) {
[COLOR=Green]/* reboot and go into the fastboot mode in LK */[/COLOR]
restart_reason = [COLOR=Magenta]0x77665544[/COLOR];
v |= OMAP4430_RST_GLOBAL_COLD_SW_MASK;
} [COLOR=Blue]else if[/COLOR] (!strcmp(cmd, "oem-unlock")) {
[COLOR=Green]/* reboot and go into the unlock mode in LK */[/COLOR]
restart_reason = [COLOR=Magenta]0x77665533[/COLOR];
v |= OMAP4430_RST_GLOBAL_COLD_SW_MASK;
[COLOR=DimGray]#endif[/COLOR]

One more thing. TMobile and the various other mobile operators were responsible for designing and writing their own x-loaders and possibly u-boots.

But from the code above, LG has disabled fastboot mode for all models but the P760. :rolleyes::rolleyes::rolleyes::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad:
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
Ha! I knew LG removed fastboot! :mad:
[LG Optimus L9 P760, P765, P768, P769] Ilxaot:
So um, CAN WE ENABLE IT?! :D
[LG Optimus L9 P760, P765, P768, P769] shinobisoft:
When I get the time, I'll transfer the P769 sources to my Ubuntu build machine, edit the nasty above #ifdef and #endif from the sources, sync with Android 4.1.2, and attempt to build. From what I'm reading, this should make everything but x-loader. If this works, then I'll also have files that can be pushed or flashed to other P769's running JB so that they can be unlocked with 'adb reboot oem-unlock'. This will build a new uboot, I think.

I may be able to do something similar for the P765 and P768 as well.
[LG Optimus L9 P760, P765, P768, P769] flyers00:
That's good news to hear,thanks for your persistence, if you need anything tested in the future please let me know
[LG Optimus L9 P760, P765, P768, P769] omgbossis21:
You can completely delete/erase your nv partition and it will rewrite it upon boot. The source will not compile a new u.img, the source is not available for the u on this phone. Their is a generic u source available but I don't remember where I seen it.
[LG Optimus L9 P760, P765, P768, P769] ttld1oh1:
[MENTION=4501943]shinobisoft[/MENTION]

If you can share the source, I might be able to give a hand (C/C++ only, no Assembly ;)
[LG Optimus L9 P760, P765, P768, P769] shinobisoft:
Links here. Link is in post #2 or #3 also ;) I've just skimmed thru some of the code. There's quite a bit to go over. The parts we are needing are in the kernel section. You'll see what I mean when you download the sources and and open the archive.