yashsingh1/xdaforums huggingface dataset:
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
i f*cked my phone up i mean everything works but no usb debugging.

i flashed image files from another optimus phone and i have a darkish blue screen color now.

can i format the partitions and reinstall with lg tool?

on lg tool my phone isnt popping up with a software version strange 0.o
[LG Optimus L9 P760, P765, P768, P769] villan.co:
lg's connection addresses are 165.244.64.206 and 117.52.19.150 - it was connecting to the 165 on port 9002 and to the 117 on port 80. not sure which one is for roms.

i tried this: https://165.244.64.206:9002/swdata/WDLSW/LGP769BK/ATMOBK/V20f_00/V20F_00.kdz

BUT, i cannot connect:

# wget https://165.244.64.206:9002/swdata/WDLSW/LGP769BK/ATMOBK/V20f_00/V20F_00.kdz
--2013-10-01 17:43:57-- https://165.244.64.206:9002/swdata/WDLSW/LGP769BK/ATMOBK/V20f_00/V20F_00.kdz
Connecting to 165.244.64.206:9002... connected.
GnuTLS: An unexpected TLS packet was received.
Unable to establish SSL connection.
#
# wget http://165.244.64.206:9002/swdata/WDLSW/LGP769BK/ATMOBK/V20f_00/V20F_00.kdz
--2013-10-01 17:44:10-- http://165.244.64.206:9002/swdata/WDLSW/LGP769BK/ATMOBK/V20f_00/V20F_00.kdz
Connecting to 165.244.64.206:9002... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-10-01 17:44:10 ERROR 404: Not Found.
#
# wget ftp://165.244.64.206:9002/swdata/WDLSW/LGP769BK/ATMOBK/V20f_00/V20F_00.kdz
--2013-10-01 17:44:17-- ftp://165.244.64.206:9002/swdata/WDLSW/LGP769BK/ATMOBK/V20f_00/V20F_00.kdz
=> `V20F_00.kdz'
Connecting to 165.244.64.206:9002... connected.
Logging in as anonymous ... ^C
#
# wget ftps://165.244.64.206:9002/swdata/WDLSW/LGP769BK/ATMOBK/V20f_00/V20F_00.kdz
ftps://165.244.64.206:9002/swdata/WDLSW/LGP769BK/ATMOBK/V20f_00/V20F_00.kdz: Unsupported scheme `ftps'.
#
firefox:
An error occurred during a connection to 165.244.64.206:9002. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
i cant connect either and i took out the 2 lines for the hosts file
[LG Optimus L9 P760, P765, P768, P769] bulletfreak:
No clue. Chromium error:

Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
[LG Optimus L9 P760, P765, P768, P769] villan.co:
[MENTION=4344625]Meda808[/MENTION] - did you ever try to flash your x-loader? your x-loader is the same as one from lelus's collection, but i have no idea which firmware version it's from:

cc4153c7cab85df79de1f9573e7d5691 /storage/software/systems/medaux/u.img
587eb7647728a005dc4e187420b115e2 /storage/software/systems/medaux/x.img
1192ebed4b655c2c58e344384d1387a3 /storage/software/systems/fastboot-lelus/p1.img
92c8b9577af27a464806ffd7dfb69d5b /storage/software/systems/fastboot-lelus/p1ics760.bin
5bb86742dbca9ba6f4fb47f48c731e08 /storage/software/systems/fastboot-lelus/p1ics765.bin
0dfa5f86d010cc539a358bf1f9e013d0 /storage/software/systems/fastboot-lelus/p1ics768.bin
1192ebed4b655c2c58e344384d1387a3 /storage/software/systems/fastboot-lelus/p1ics769.bin
c94fbfbbca219a596d5456baf40f8863 /storage/software/systems/fastboot-lelus/p1jb760.bin
b047b738a1a5a32e22a2a33671291b7c /storage/software/systems/fastboot-lelus/p2.img
8e855af36d4b1af93ff6d6203803cd45 /storage/software/systems/fastboot-lelus/p2ics760.bin
a0b9cd696597448e82a73b5c7e0a33b2 /storage/software/systems/fastboot-lelus/p2ics765.bin
cb112e9701aca7f7b0131219514c835e /storage/software/systems/fastboot-lelus/p2ics768.bin
b047b738a1a5a32e22a2a33671291b7c /storage/software/systems/fastboot-lelus/p2ics769.bin
d254f838cee74be77e6261fafe742c50 /storage/software/systems/fastboot-lelus/p2jb760.bin
cc4153c7cab85df79de1f9573e7d5691 /storage/software/systems/fastboot-lelus/p2jb769.bin
8c9d653a4aa34a9009eca9fe451bbe32 /storage/software/systems/softbrick-fix/1-x-loader-v20b.im
6de964077411ff6115553e0fbb873d81 /storage/software/systems/softbrick-fix/2-u-boot-v20b.img
be6309cfac78c72ede522de9db4acc80 /storage/software/systems/L9BootloaderHack/u-boot.img
48de340752231719e539b63cfbe73317 /storage/software/systems/L9BootloaderHack/x-loader.img
[LG Optimus L9 P760, P765, P768, P769] omgbossis21:
If you bootloop or freeze try a hard reset by holding power until it shuts down. I've wiped my NV partition And recovered from it before
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
can someone give me the fastboot commands to wipe all my partitions i flashed a bad image and got a darkish blue screen, its normal but its like the brightness is turned down and blue
[LG Optimus L9 P760, P765, P768, P769] kuma82:
The u-boot is smaller then the one you dump from your system. The u-boot extracted from the kdz is 512KB. The u-boot partition on the phone is 1,024KB. The extracted kdz u-boot does not fill up the entire partition. If you compare (with a hex editer) the u-boot extracted from the kdz & the u-boot pulled from the phone, you will see a bunch of blank data in the one pulled from the phone.
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
i fixed my phone i can tell you how to unbrick yours [MENTION=5327764]sentientsystem[/MENTION]

you gotta have the kdz into images put them in your fastboot folder

fastboot erase gpt1

fastboot erase boot

fastboot erase recovery

fastboot erase divxkey

fastboot erase misc

fastboot erase nv

fastboot erase fota

fastboot erase reserved

fastboot erase system

fastboot erase userdata

fastboot erase cache

fastboot erase persist

fastboot erase mlt

fastboot erase gpt2

some them will say it failed or cant find partition just keep going down the list

then the main ones to put back are

fastboot flash boot 2-boot.img

fastboot flash recovery 3-recovery.img

then use leus's fastboot to fastboot x and u back to phone and do s/w upgrade mode offline mode
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
Yeah. North Korean. My user name is actually from the Korean movie. My brother is freaking out over the stalker bait thing.... lol. [MENTION=5398167]bulletfreak[/MENTION] I came to the USA when I was a little baby. I know how to use a computer... haha. You guys are funny!

I was surprised at the number of visitors when I saw it earlier! :eek:
[LG Optimus L9 P760, P765, P768, P769] villan.co:
lmmfao, not sure WHY, but this text is in the binary for the LG hidden menu:

"Spanish doctor on Tuesday stood by his opinion that Fidel Castro is recovering from stomach surgery despite a newspaper report stating the Cuban leader is in a serious condition after a number of failed operations. When Senator Wayne Allard, Republican of Colorado, announced Monday that he would not seek re-election, the uphill battle for his party to reclaim the Senate in 2008 became an even steeper climb. Naomi Campbell was today sentenced to five days' community service and ordered to attend an anger management course after she admitted throwing a mobile phone at her maid"

also, found a place in the recovery.img where it stores keys. not sure what they are for, but i assume they are to verify the boot.img BY u-boot.img, but i don't see how they could be useful, unless they could be packed into cyomod to circumvent u-boot checking it - but that still would not be a true "unlock". trying to decompile the apk for the hiddenmenu to find out what it's checking to get at the bootloader flag, which may allow us to re-write it to SET the bootloader flag...
[LG Optimus L9 P760, P765, P768, P769] villan.co:
did all that quite a few times. didn't work. may be a hardware issue now...
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
i completely erased mine and im flashing 20b so maybe ill get it to unlock :) with all original files
[LG Optimus L9 P760, P765, P768, P769] villan.co:
yeah, they zero-fill the images, or, whoever pulled the other u-boots are "dd"ing them, which reads the entire partition, all 1024kb.
[LG Optimus L9 P760, P765, P768, P769] kuma82:
It's 10e ice u-boot

Open the u-boot up with a hex editor and search for "Welcome"

you will find the date September something below it.

My bad I mean 10e x-loader
[LG Optimus L9 P760, P765, P768, P769] villan.co:
meant to add that i'm using this http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images to unpack the recovery.img partition and boot.img - it doesn't mention recovery.img (i think), but it works on it. you gotta have some special maintenance programs to do it with though... see attached. after extracting v20b you can see that it truly is an open system (carrier-independant), meant to be run on p760. also, i noticed that the source code from LG is largely intact and seems to have files and binaries which can be simply "dropped" into the extracted images and packed back in with it.
[LG Optimus L9 P760, P765, P768, P769] villan.co:
also, when looking through the binaries of the hidden menu, it LOOKS like there is another "hidden menu hidden menu" with an option to unlock the bootloader. the question is (a) is that what i'm actually seeing in the classes.dex, and, (b) how the hell do you get it to show up on the phone ??? i see:

# "5Lcom/lge/hiddenmenu/bootloadunlock/BootLoader_Unlock;"	this is just the same hidden menu we've all seen...
# "bootloadunlock.BootLoader_Unlock"	probably some internal value pointing to the menu we have seen
# "BootLoader_Unlock.java"	probably the file that creates the menu we've seen
# "device_unlock_flag_read"	i think we can SET this if we rewrite the APK
# "BootLoader Unlock ChecK"	probably just the text for the menu entry
# "BootLoader Unlock"	^ but, if so, we would not neeeeeeeeeeeeeed, THIS TEXT!!!
# "Unlock"	possibly text for the unlock BUTTON

this is interesting, because in the main hidden menu, it does not say "bootloader unlock", instead it says, "bootloader unlock CHECK", same for the TITLE of the VIEW for that menu entry, as well as the TITLE for the BUTTON to view the status of the flag, as well as the TITLE for the POPUP of the value display dialog. there is NO WHERE that i have seen in the hidden menu, where it simply says "bootloader unlock"...
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
it may not have the proper permissions to be ran by a normal user
[LG Optimus L9 P760, P765, P768, P769] villan.co:
we are root ;)
[LG Optimus L9 P760, P765, P768, P769] Ilxaot:
You're like, the only girl here. So guys freak out and click your profile expecting an instagram link or a kik name. Lulz :p [MENTION=5412690]LaDY Vengeance[/MENTION]
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
yes we have root but like is it symlinked to work?

like is it symlinked to hidden menu

---------- Post added at 11:05 PM ---------- Previous post was at 11:01 PM ----------

ok i have a problem for some odd reason usb debugging doesnt connect to pc when its on but when i turn it off sd card connets to pc wtf is wrong with my phone
[LG Optimus L9 P760, P765, P768, P769] villan.co:
after RE-reading [MENTION=4816083]shucrut[/MENTION] 's decompiled hiddenmenu.apk (back when we were looking to determine if adbd was the culprit), i noticed that exact "bootloader unlock" text was in there as well, as a MENU function - this suggests that THERE IS A MENU TO UNLOCK YOUR BOOTLOADER. furthermore, it references "nv", multiple times, which i believe [MENTION=5407031]thasilenthacker[/MENTION] had also suggested as a possibility (correct me if it was another one of you guys).

i ran this, which, after reboot, caused the device to go into recovery mode:

# adb shell
shell@android:/ $ su -
root@android:/ #
root@android:/ # cat /dev/block/platform/omap/omap_hsmmc.1/by-name/nv
XXXXXXXXXXXXXLGP769AT-01-V20f-310-260-JUN-21-2013+00
XXXXXXXXXXX�L6260_MODEM_SIC_01.1305.00
root@android:/ #
root@android:/ # cat /dev/zero > /dev/block/platform/omap/omap_hsmmc.1/by-name/nv
sh: cat: <stdout>: No space left on device
root@android:/ #
root@android:/ # cat /dev/block/platform/omap/omap_hsmmc.1/by-name/nv
root@android:/ #

update: i can't access it via usb any more, even after reboot, so, might not want to do this.

update: after doing it again, via a terminal emulator app, and verifying the file was empty, and going into the boot-unlock-check menu, it still shows bootloader is locked.
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
[MENTION=5327764]sentientsystem[/MENTION] it was me lol

yeah it has to be nv that unlocks it because it has our imei in it which i think would transmit to lg and they would send the unlock token

and theres also another line of digits which seems like it would be some kind of unlock code or it refers to another file but idk right now
[LG Optimus L9 P760, P765, P768, P769] Ilxaot:
Progress is being made, progress, is being made(: Goodnight peoples, looking forward to this(:

God bless and stay safe :D
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
[MENTION=5327764]sentientsystem[/MENTION] btw did you unbrick your other phone using the fastboot commands and method i came up with?

---------- Post added at 11:34 PM ---------- Previous post was at 11:31 PM ----------

can someone try adb rebot oem unlock, try it without the - i would but usb debugging is f*cked on my phone now for some odd reason
[LG Optimus L9 P760, P765, P768, P769] villan.co:
[MENTION=5407031]thasilenthacker[/MENTION] - i guess you didn't see my reply to the bricked phone suggestion, but i already did all that before, and then some, and it is still in a bootloop.

also, i updated my previous post. zero-ing out the file doesn't change the status of the bootloader-unlock-check screen, so, there may be a value in there that represents the status, or like you said, provides a code to match against an unlock code. who knows.

what pisses me off is that my unlocked phone is bricked, so, now i can't check the other screens, like "sim unlock" to see if that unlocks the bootloader with the special number in the "nv" file. some one else might want to try it, but, remember, you only get 10 tries. i think it's near the top of the hidden menu. i would try the number before the LGP76* part. i would distribute who tries which number, that way a FEW poeple try only 1 time, instead of 1 person trying a FEW times ;)

WE WILL DOMINATE THIS PHONE!

\M/ (>_<) \M/
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
My brother was eyeing me the whole time I created my xda account. He would kill me if I put stuff like that on my profile... lol.
[LG Optimus L9 P760, P765, P768, P769] villan.co:
lmao, asians, gotta love 'em. indians are worse - you can't even TALK to an indian woman, you have to talk to her brother :D
[LG Optimus L9 P760, P765, P768, P769] villan.co:
i also noticed that if you flash v20b's x+u, in addition to the boot.img and restore.img, your touches are ONLY inverted on the x-axis - the screen is not cut in half, etc, with touches. update: ALSO, if you hit power, to make the screen sleep, and hit power again, it fixes the inverted screen and inverted x-axis as well :D
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
use the t-mobile kdz recovery,boot images and 769 x and u from fastboot and your phone should show you the lg logo if it does just put it into download mode and flash kdz, you might have to hold the vol + button for about 10 secs or at first try to wipe it vol+ home on boot. if you got the lg logo then you can fix it with offline flash :)
[LG Optimus L9 P760, P765, P768, P769] villan.co:
na, na, na, it's not that. i've done all that from 20b and 20f, and neither work. i get the 2nd stage boot - the animated boot, but then it reboots from there. i've erased all partitions, and put just v20f's stuff on it, then flashed v20f's kdz's 2 times, and still get the bootloop.

also, i still can't connect to the locked phone that i just screwed up via usb, even after softbrick-fixing it and multiple system-restores and multiple reboots.

also, i updated the link in the OP for the softbrick-fix.zip to be softbrick-fix-v20b.zip and will try to include another softbrick-fix for v20f if i can get the x-loader and u-boot files from some one. the new menu is more intuitive and more informative.
[LG Optimus L9 P760, P765, P768, P769] bulletfreak:
So now we have a hidden menu that has a unlock option. But there's still no eay to access it notmally? And does it do anything?
[LG Optimus L9 P760, P765, P768, P769] KindleUser:
Just curious, in your thread, when you put v20d OR v10b or something like that, do you mean the v20 from T-Mobile p769? If you could please respond, or someone, that would be greatly appreciated. Thanks
[LG Optimus L9 P760, P765, P768, P769] villan.co:
1st and 3rd OP updated, fwiw.
[LG Optimus L9 P760, P765, P768, P769] villan.co:
yes
[LG Optimus L9 P760, P765, P768, P769] villan.co:
found a guide for Decompile/Recompile apk | jar | sign + Basic editing xml/smali
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
if you get your phone working let me know if you can debug usb or if sd card will connect because mine wont connect to pc at all

---------- Post added at 02:07 AM ---------- Previous post was at 01:58 AM ----------

someone go into fastboot mode and type: fastboot oem unlock
[LG Optimus L9 P760, P765, P768, P769] villan.co:
yeah, i'm just about to get back to playing with them again. i just finished re-updated the 1st and 3rd posts again, to represent an up-to-date summary of understanding and resources. (i updated it about 6 times after i posted that i updated it, lmao).

oh, i also found a guide to fix my boot-loop, in my 3rd-f*cking post! i'm such a retard some times... i completely forgot that i figured that out before i fell asleep a couple days ago. i'll try it again and see if it works again - but this time things are a little different.

as far as the ubs-screwed phone (the locked one), i'm gonna flash my nv file back to it - the one i copied from it earlier today.
[LG Optimus L9 P760, P765, P768, P769] villan.co:
tried that a bunch of times as well - LG took that functionality out of THIS model of phone - not a "guess" - i actually read that elsewhere on xda ;) - i believe it was the "fastboot intro for noobs" or "official fastboot guide" or some thing like that - it was on the main xda page, so it seems reliable.
[LG Optimus L9 P760, P765, P768, P769] bulletfreak:
Why does LG hate us so much?
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
yeah i tried it and it said it could find it or something

---------- Post added at 02:29 AM ---------- Previous post was at 02:28 AM ----------

anyone else having an error where lg mobile update goes to the download screen and freezes at 20 sec?
[LG Optimus L9 P760, P765, P768, P769] villan.co:
you know what's funny? checkout only "fastboot oem" with nothing else - they've still got SOME thing in there. as a matter of fact ... hold on ... i'll see if i can find it ... a list of oem variables you are SUPPOSED TO BE ABLE TO GET from fastboot, but which LG has STRIPPED OUT:

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

yup - every time - like clockwork - i only EVER got the LIVE update to work ONE time - and it was useless :D.
[LG Optimus L9 P760, P765, P768, P769] villan.co:
[Guide] How To Setup And Use Fastboot

http://xdaforums.com/showthread.php?t=2277112
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
i have fastboot lol, idk its strange its showing i have firmware version:

its just blank lol it always worked online for me i guess ima have to do offline then

---------- Post added at 02:46 AM ---------- Previous post was at 02:41 AM ----------

so v20b still has some fastboot oem commands?
[LG Optimus L9 P760, P765, P768, P769] villan.co:
yeah, that was for a few other people in this thread.

no, it's built into the hardware - it's a protocol for flashing over usb that google developed for android (afaik). their on-chip firmware is built to use the fastboot protocol to flash the storage on the chip (which is why it's almost unbrickable) - it honors the fastboot protocol, except for that command, and a few others.
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
oh because mine says failed each time :(
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
I know, right? Only evil people would come up with this unlock process. LG employees probably come here to laugh at us.
[LG Optimus L9 P760, P765, P768, P769] villan.co:
http://villan.co/xda-dev/villan-kit-lg-l9-p769-unbrick-wipeout-cyomod.zip <==== BRAND NEW "VILLAN-KIT"

i put together a pretty good video guide for how to use the villan-kit for this phone, BUT, it got truncated for some reason. it works out any way, because i am going on 30 hours without sleep again, so, the video wasn't as "short and sweet" as it could have been, so, i'll remake it all over again tomorrow. it's on the main page of http://villan.co/
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
You know what's weird? My brother just got a Samsung Galaxy Tab 2 and it has the same TI OMAP 4430. He unlocked it in 5 seconds and already has CM 10.2 running on it. WTH.
[LG Optimus L9 P760, P765, P768, P769] villan.co:
[MENTION=500198]villan[/MENTION] - i'll BUY your screen name from you :confused:
[LG Optimus L9 P760, P765, P768, P769] villan.co:
yeah, that's why i keep saying i will never buy another phone that is not a samsung ;)
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
Me neither. I hope we can eventually unlock. I think I screwed up my fastboot. Now I get the P945 version......this just keeps getting better.
[LG Optimus L9 P760, P765, P768, P769] villan.co:
if you're talking about the fastboot.exe, just redownload the adb+fastboot kit in my list of links in post #1.

if you have LINUX, then use the new villan-kit-769 i just created and uploaded (look at one of my previous posts, or, the top of post #3 (i just updated it)).

i'm about to crash...
[LG Optimus L9 P760, P765, P768, P769] villan.co:
alright guys, i just got the 3rd post updated again to reflect the work i got done last night. it might help a lot of you out of some bad situations. i may have forgotten to update some parts, or explain some things, but, i'm tired, so, i'll do it tomorrow.

and, tomorrow i should have the other phone unlocked, unless i screw off and work on one of my sites :eek: - i'm crashing for the night / day.

peace \m/ (>_<) \m/
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
[MENTION=5327764]villan.co[/MENTION] thank you your villan pack saved my phone it wouldnt even restore on offline method i used ipeout using windows fastboot and then unbrick flash p769 ics xand u and wala offline update is working :)

---------- Post added at 11:40 AM ---------- Previous post was at 11:38 AM ----------

we will get this phone unlocked with a straight forward method that doesnt involve wonky/inverted screen and no kdz flashing :)
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
omfg really now my phone wont even go into s/w upgrade mode :(
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
Oh, no. You're pressing volume up and power at the same time?
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
yup, looks like im gonna have to get a replacement all it does is turn on and hang at lg logo.

metropcs is retarded so ill tell them i did a system update and it wont turn on :P

---------- Post added at 01:06 PM ---------- Previous post was at 01:00 PM ----------

i might just end up getting a samsung or htc phone most likely two easiest phone to unlock and htc actually support unlocking their boot loaders

---------- Post added at 01:11 PM ---------- Previous post was at 01:06 PM ----------

does the t-mobile galaxy s3 have 4g?
[LG Optimus L9 P760, P765, P768, P769] cris7i:
I can't get this phone to be seen by start.sh or unbrick.sh from the villan kit. I start them, press enter, put battery in then insert usb cable and the phone just presents me the screen with the battery charging. I'm running linux mint 14 and i've installed adb and fastboot using sudo apt-get install android-tools-adb/fastboot. Any ideas?