yashsingh1/xdaforums huggingface dataset:
[LG Optimus L9 P760, P765, P768, P769] villan.co:
i NEVER thought that was possible - i'm on linux, so why would i need to edit my hosts file for LGE??? evidently, i had done this when i tried to run those LGMS on wine or mono... bangs head on desk...

# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 x1.xenian.me x1

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

127.0.0.1 villan.dev
127.0.0.1 r.villan.dev
127.0.0.1 x.villan.dev

127.0.0.1 csmg.lgmobile.com
127.0.0.1 csmgdl.lgmobile.com
#
[LG Optimus L9 P760, P765, P768, P769] villan.co:
oh, fwiw, i'm trying to compile the source code for android now ... and for omapboot ... i'm out of place, for a noob :eek:
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
keep up the good work.

i should have my new l9 tomorrow.
[LG Optimus L9 P760, P765, P768, P769] CROSSFREEZE:
ahhh just had cap locks on for some other reason and didnt feel like retyping it at that moment....

caps dont really mean anything with me

---------- Post added at 03:33 AM ---------- Previous post was at 03:30 AM ----------

i ended up just moving past the linux thing i can go back into it, but i finally got everything working

i flashed cyano 10 for p769 and would constantly get a bootloop

so instead i just started hard-fix or hard-reseting whatever its called and it booted up just fine... but no keyboard and not computer connection

so i need to go get an sd card tomorrow when stores open again to fix everything and get all my apps on it... but so far SUCESS???
[LG Optimus L9 P760, P765, P768, P769] villan.co:
i hope it's an LGLC ;)

same here. if some one uses ALL capps, i assume caplock stuck on - who cares. if they have SOME caps, i assume "emphasis". but, i think he was just playin with ya ;)
[LG Optimus L9 P760, P765, P768, P769] CROSSFREEZE:
i had that problem last night i opened cmd and typed

set devmgr_show_nonpresent_devices=1

then had to update the drivers via device manager (something to the effect of adroid phone or adb device)

which ussually had errors

then turned off my phone

plugged it in holding the vol up and it finally worked
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
[MENTION=5327764]villan.co[/MENTION] most likely like my old one but i have a weird thing to show you let me take a pic and post the pic of the box my phone came in its a lgms769
[LG Optimus L9 P760, P765, P768, P769] villan.co:
that's awesome man, i'm gonna try that set devmgr_show_nonpresent_devices=1 bit later.

giggity giggity!!!
[LG Optimus L9 P760, P765, P768, P769] CROSSFREEZE:
oh yeah im sure, hey man i got cm10 working but can get my pc to connect and the keyboard on the phone is out, any suggestions?

im going to buy an sd card tomorrow to fix it but in the mean time i have tried downloading swiftkey off a none google play server with no avail and..... yeah my phone doesnt have an "external storage" to download it too...
[LG Optimus L9 P760, P765, P768, P769] villan.co:
did you try putting the phone into mass storage mode? look near the end of the video on villan.co for instructions. that should get you connected to your pc.
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
look at my metropcs box for my old phone.

it says tmus, its t-mobile but from metro
[LG Optimus L9 P760, P765, P768, P769] CROSSFREEZE:
yup just shows and e and d drive that i cant open
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
i have a question(stupid brain spaz) is vindows an linux/windows hybrid or did you type it wrong or is it virtual machine windows?
[LG Optimus L9 P760, P765, P768, P769] villan.co:
might want to cross-out your imei and serial ;)

hmmm, you got me on that one. i haven't come across that same scenario, myself, sorry :( hope you find the answer :good:
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
why this is the old phones imei im getting the new one tomorrow hopefully or tuesday
[LG Optimus L9 P760, P765, P768, P769] villan.co:
well, you got a point there...

one of the things i wanted to look into, if i can build my own custom rom with all this source code, was writing a module that would spoof an imei every time you restarted your phone, as well as a module that would 1-click unlock your bootloader.
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
sounds intriguing where do we start?
[LG Optimus L9 P760, P765, P768, P769] villan.co:
getting closer...

buf[1]+buf[0] = 2 unsigned 8-bit buffers that are concatenated to form the 16-bit address of the place in memory, most likely sram, that it is trying to access to unlock the bootloader.

this suggests that adbd must be passing kernel shutdown / reboot arguments that perhaps the kernel has been patched to ignore. a custom rom should defeat that limitation. this also suggests there is a 1-click way to unlock it from a rooted phone, if you know what command to send the kernel, and, you know how to write a java apk that can call kernel (c++) commands (if possible).

/* Command to unlock bootloader */
#define MXT_UNLOCK_CMD_MSB	0xaa
#define MXT_UNLOCK_CMD_LSB	0xdc

static int mxt_unlock_bootloader(struct i2c_client *client)
{
u8 buf[2];

buf[0] = MXT_UNLOCK_CMD_LSB;
buf[1] = MXT_UNLOCK_CMD_MSB;

if ([B]i2c_master_send(client, buf, 2)[/B] != 2) {
dev_err(&client->dev, "%s: i2c send failed\n", __func__);
return -EIO;
}

return 0;
}

kernel.org Chapter 10. I2C and SMBus Subsystem says

[B]Name[/B]
i2c_master_send — issue a single I2C message in master transmit mode

[B]Synopsis[/B]
int i2c_master_send (const struct i2c_client * client, const char * buf, int count);

[B]Arguments[/B]

[B]client[/B]
Handle to slave device

[B]buf[/B]
Data that will be written to the slave

[B]count[/B]
How many bytes to write, must be less than 64k since msg.len is u16

[B]Description[/B]
Returns negative errno, or else the number of bytes written.
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
so if we get this to unlock the bootloader we could implement this into an app, name of app would be optimus l9 bootloader unlocker? or with optimus just l9 bootloader unlocker

---------- Post added at 12:59 AM ---------- Previous post was at 12:57 AM ----------

#define MXT_UNLOCK_CMD_MSB	0xaa

#define MXT_UNLOCK_CMD_LSB	0xdc

so MSB is mtp usb mode and LSB is lg software mode?
[LG Optimus L9 P760, P765, P768, P769] villan.co:
villan-bootloader-pwn-lg-l9-p769-all.apk

msb = most significant bit

lsb = least significant bit

it's regarding the way instruction addresses are formed on a particular architecture. god, i sound like i know what i'm talking about :eek:
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
oh make me feel dumb lol but ive got the worst pounding headache right now

[MENTION=5327764]villan.co[/MENTION] im trying to find a stylish yet fast performing linux os for my aspire one netbook, do u recommend a certain one?

ive tried ubuntu netbook, archone, and couldnt download linux4one or kuki linux cause no downloads available
[LG Optimus L9 P760, P765, P768, P769] villan.co:
same for me, as soon as i ran this, vindows started reconfiguring the drivers. thanks again man. (btw, i thanked you via button as well).
[LG Optimus L9 P760, P765, P768, P769] CROSSFREEZE:
no worries man, i got all the reverse ****up**** down, i just have no clue how to move forward hahhaha
[LG Optimus L9 P760, P765, P768, P769] villan.co:
fwiw, the "dll trick" is not going to work on windows. i forgot that windows ****-blocks you from modifying open files, and the program has a handle on that file as soon as it's created, so that won't work. oh, how we love our ****-blockers... BUT, it appears that i can now unbrick my locked phone :D - i HOPE :eek:
[LG Optimus L9 P760, P765, P768, P769] villan.co:
hey man, i still don't seem to be connecting in SWUM. what exactly did you do in that 1 step there? i've got LG united mobile drivers installed, and, i've connected in all the various modes, and it reconfigured every thing, and the LGMS still hangs when i'm in SWUM, like it's not actually doing any thing, like it can't find a device. also, in SWUM, vindows device manager shows nothing about my device.

edit: ha! as soon as i posted this, vindows said there was an unknown device connected to the computer - after 5 minutes of waiting. not sure what you did at this point, but it's expecting me to do some thing... i hate windows :D - any way, like i said, i've got all the stuff i just said installed and vindows configured it, and i tried installing the omap4 drivers for the device, but vindows didn't like it, so, i'm wonder what YOU did in that 1 step.

edit: it looks like reinstalling teh LG drivers might work...
[LG Optimus L9 P760, P765, P768, P769] CROSSFREEZE:
go to device manager

left click whatever your phone appears as

click update drivers

select install from a list

select i will choose which driver to install

then select adb or android device (i installed so many drivers over the two weeks i have been working on this i cannot point you in the right direct the most useful one is the one found in the un modified version of LGMS without the offline fix on)

then delete the last two lines from your WINDOWS>SYSTEM32>DRIVERS>HOST.file

run the unmodified online version of LGMS

it probably wont say your device is connected unless you are in software update mode

and in the top left corner theres a options or settings tab

click UPDATE RCOVERY

NOTES:

the offline flash fix didnt give me any avail

your pc probably will say errors with inf file when updating the driver thats okay

the only this that recognizes the phone in SWUPDATE mode is the umodified/online version of LGMS

you have to run the newest upgrade recovery...

easy way to get to device manager left click "my computer" and hit manage

good luck man, it took me lots of hard resets and play with the cmd/device manager
[LG Optimus L9 P760, P765, P768, P769] villan.co:
ahhh, see, i thought you had configured drivers differently, i didn't know you did all that. i was not going to do the live update except as a last resort.

any way, it appears that it's an issue with MTP drivers, which i don't have installed, and LG does not include in it's united mobile drivers exe. i've got their pcsuite downloading right now, and i'm thinking that it will include the MTP drivers. it also gives me a download link for WMP11, but i want to see if the mobile pcsuite does me any good first, so that we can isolate the exact cause for this offline-flash problem, and fix it with minimal effort in the future. if none of that works, then i'll do the online flash.

fwiw, "SWUM connection" isn't required initially, but, it will try to PUT the phone into SWUM before it continues (which is why it hangs on us). you must already have some MTP drivers, or, live update does the flash differently.

thanks.
[LG Optimus L9 P760, P765, P768, P769] CROSSFREEZE:
I AM VERY VERY INTERESTED IN THIS MTP DRIVER!

no the live suite doesnt quite have anything worth all the hassle of downloading it, i mean good luck with that man but... all it had was a sync option for me

i couldn't find the actual omap3340 driver

i think there is some online driver downloading to do....

let me know what you find out, every time this has happened i had to live update>offline update>root>touch screen fix

and then go from there on experimenting...
[LG Optimus L9 P760, P765, P768, P769] villan.co:
http://www.mediafire.com/download/zhx9nzmnfox61kn/WMFDist11-WindowsXP-X86-ENU.exe - ;)
[LG Optimus L9 P760, P765, P768, P769] kuma82:
So you never checked out my link on how to get fastboot running on Windows :(

http://xdaforums.com/showpost.php?p=44578108&postcount=34

That command is to make device manager display every device ever connected. It's good for troubleshooting device connection issues.

I added an environment variable so I don't have to enter that command anymore.

http://s1363.photobucket.com/user/kuma82/media/help7_zps71511f36.png.html
[LG Optimus L9 P760, P765, P768, P769] villan.co:
i thought i seen that some where before, but couldn't remember where :D

any way, i got the windows MTP drivers installed (look above for link), and i have no "other" devices under device manager any more, and every thing seems to be properly configured and set up.

the problem is my bricked phone only has the x-loader and u-boot and boot and recovery on it. all other partitions are wiped. whether using the live LGMS or offline LGMS, it always stalls at some point, while trying to connect to the phone, even after verifying the connection. this suggests that it's connecting to and making use of the system partition, even if "erased", but, when "formatted", it can not interface with the device for flashing it. this may be due to it running on a virtual machine, and not because of the system partition, and i suspect that because i can't flash the OTHER phone either, even though it's not bricked.

i'm going to TRY to flash a CWM backup of the boot and x-loader and recovery partitions, if possible, so than i can then "bootstrap" install the system partition. FML...
[LG Optimus L9 P760, P765, P768, P769] kuma82:
Do you have ice cream 10e or 10g x&u? It won't work with jellybean x&u (you probably already know this) another thing I always use emergency not diag (probably spelled that wrong).
[LG Optimus L9 P760, P765, P768, P769] villan.co:
yeah, i always use emergency or cs_emergency. i don't have ics x+u. you have them handy? if not, don't bother, i can extract them myself, thanks to your guide ;)

oh, and, STILL waiting for android's source code to finish downloading - bleh!
[LG Optimus L9 P760, P765, P768, P769] kuma82:
Hold up I already posted them in another thread, just have to find it.

http://xdaforums.com/showpost.php?p=43642515&postcount=21

Also lelus fastboot batch script has the image for ice x-loader
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
i could only get my phone found by lg mobile tool in cs_emergency for some reason when i did the villan kit
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
so i have linux peppermint ice and ive gotten lg mobile update tool to work on linux with wine :)
[LG Optimus L9 P760, P765, P768, P769] villan.co:
did you unbrick after you wiped clean? it worked for me on windows-7, but i don't have access to windows-7 any more.

just woke up, still gotta try the source code again - bleh!
[LG Optimus L9 P760, P765, P768, P769] villan.co:
wow, i suck more than i know :eek:

glad some one got it working :D
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
lol yeah it was running fine even installed the b2csetup or w/e the name is didnt actually flash my phone but its running
[LG Optimus L9 P760, P765, P768, P769] CROSSFREEZE:
Okay, seriously annoyed...

bought a mirco sd ----> SanDisk Ultra "HCI" or "HC1"

it wont mount on my phone-----> Blank SD (SD card is blank or has unsupported file system)

my phone cannot connect to my pc-----> shows D:/ and E:/ but when i click on them it says "insert drive"

my keyboard doesn't work----> "Unfortunately, Android keyboard (AOSP) has stopped"

Stats:

LGLL

unlocked bootloader

No CWM or anything else installed

running CYANO 10.1---->flashed from rooted V20F with no bloatware removed

any ideas?

im really tired of flashing and reflashing and flashing and reflashing... i would like to just work with what i got going for me....

one thing is when cyanogenmod first loadup started going i didnt know how long it would take and after a few minutes i hardreset the phone then it booted right up... do i need to let it run for a bit??
[LG Optimus L9 P760, P765, P768, P769] villan.co:
oh, lmao, yeah, you can get it running, but, it wont "work" - i thought you got it "working", lmmfao :D
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
[MENTION=5464743]CROSSFREEZE[/MENTION] the first boot takes the longest because its setting up the phones filesystem

ill get it working lol if they dont get my new phone today ill flash and fix it
[LG Optimus L9 P760, P765, P768, P769] villan.co:
wow man, it sounds like LG is playing with your feelings :eek:

i'm gonna see if i can compile a rom before i go banging my head any more against this damned phone. if i can create my own rom, it will fix a lot of problems, and make your phones unlocked (automatically). i fell asleep on it last night, while reading about how to do it. i just woke up and i'm about to pickup on the reading i left off on, and should have a rom compiled by the end of the night. i already created the soundclip i'm going to use for the bootloader (attached), so that means there's no backing out now, lmmfao!.

my nipples get hard every time i hear it :D

update: attached the extended version.
[LG Optimus L9 P760, P765, P768, P769] thasilenthacker:
nice lol could we do this to compile cm 10 for us locked bootloader users maybe cm10 villan edition
[LG Optimus L9 P760, P765, P768, P769] villan.co:
that was one of my 2 plans. the other is to create my own rom entirely from source, which i would continue to extend to add "villan features", such as random imei, auto-unlock, etc. check out the sound clips attached above - i'm going to probably add a bit of music to them as well, but those are the voice-only tracks, so far.
[LG Optimus L9 P760, P765, P768, P769] Ilxaot:
Best of luck mate (: I just want my bootloader unlocked already ughhhh LG.
[LG Optimus L9 P760, P765, P768, P769] CROSSFREEZE:
Whats a good eta for the first bootscreen? and yeah lol i know its the longest but after a minute or two i always cancel it with a shut off and hard reset.... FML

---------- Post added at 08:12 PM ---------- Previous post was at 08:07 PM ----------

whats the purpose of this rom? im not quite sure what a random IMEI would do for me, this si seriously pissing me off, i have blown everything for the past week or two off working on this and i need to apply to college and ****ing work and ****ing be able to recieve calls this week....

BLAH...

whats this rom gonna be based on? i have opened up everything i want except for wifi hotspot via rooted rom, thats why im plugging away at this freaking cyano flash, besides the simplicity... im gonna read the forum on the p769 cyano 10.1 that i uploaded to see if there is any fixes i can apply...

lemme know more info about your rom when you get a chance man, im interested...

whats your interest in this btw? im wondering because you have two phones with one unlocked and running cyanogenmod 10.1...?
[LG Optimus L9 P760, P765, P768, P769] villan.co:
you wouldnt need the random imei, and that's not going to be in my first builds - that's for a later project that i would like to include in my builds.

not sure i understand the last part of your question, but, the rom is going to be based on STOCK android 4.3 with LGE kernel modules and a hack that unlocks the bootloader as soon as it boots up, which will require that you flash it TWICE - once with the hacked (but signed) kernel, and once with the unhacked (but signed) kernel - aside from that, initially, it will be completely bare-bones stock android 4.3 with lge kernel modules - no carrier bloatware, etc.
[LG Optimus L9 P760, P765, P768, P769] samusishere:
This sounds amazing!

Excited.
[LG Optimus L9 P760, P765, P768, P769] CROSSFREEZE:
and from there on out we could flash whatever we want onto it? is there any way to reflash cyanogenmod w/o cwm (via computer?)
[LG Optimus L9 P760, P765, P768, P769] villan.co:
yes.

no, but i'm working on a fix right now, exactly for you and me (my bricked phone), since we cant get windows to flash for us. i'm going to extract the v20f bootstrapped CWM recovery and boot and u-boot partitions from my other phone (i installed v20f onto it temporarily, thinking it would help windows to connect), and we both should be able to use that to at least get CWM to flash some thing else onto the phone. gimme a few minutes...
[LG Optimus L9 P760, P765, P768, P769] LaDY Vengeance:
This would rock more than the Mars Volta....I hope you can get it to work!
[LG Optimus L9 P760, P765, P768, P769] villan.co:
update: usbboot either (1) does not like usb 3.0, or, (2) does not like being run through a 7-port usb 3.0 hub. i would interpret this to be the former of the 2, since it was working when my hub was in 2.0-only connections, and, since if i plug it into 2.0 ports on my laptop it works again. [MENTION=4447066]kuma82[/MENTION] this fixed the previous problem with usbboot/fastboot, fwiw.

edit: it appears not to help with flashing over vindows :(
[LG Optimus L9 P760, P765, P768, P769] CROSSFREEZE:
[MENTION=5327764]villan.co[/MENTION]

now working on LGMS to flash back to v20h (god awful two hour process)

then flash v20f, then root and flash to either CYANO10.2 or CYANO10.1

then see where things go from there....

currently downloading the lastest builds of P769 CYANO10.1/2 and GAPPS...

i officially hate this process...
[LG Optimus L9 P760, P765, P768, P769] villan.co:
fwiw, i would NOT install gapps after cyomod - it screws things up for me and i have to redo it all over again. i found that installing cyomod, letting it boot all the way up, setup the settings you want, shut it down, then install gapps, worked without a problem every time; but installing cyomod then gapps, then booting, caused problems.
[LG Optimus L9 P760, P765, P768, P769] villan.co:
questionnaire:

1) is the phone a WARRANTY replacement?

2) what version of firmware was on your phone when you got it (eh, v10g)

3) did you TRY to unlock the bootloader?

4) did you SUCCEED in unlocking the bootloader?

5) did you softbrick the phone at any point, really badly, then unbrick it?

5.1) if you softbricked it, did you do so by installing CM on a LOCKED bootloader?

6) did you flash v20B onto it later?

6.1) if so, after issuing the oem-unlock, does it hang at reboot and go to the battery screen, about the 4th try?

phone 1:

1) no

2) v10g

3) yes

4) yes

5) yes

5.1) yes

6) yes

6.1) no

phone 2:

1) yes

2) v10g

3) yes

4) no

5) yes

5.1) yes

6) yes

6.1) yes
[LG Optimus L9 P760, P765, P768, P769] bulletfreak:
that sucks. So we have no way of telling if this method actually works?
[LG Optimus L9 P760, P765, P768, P769] villan.co:
http://xdaforums.com/showthread.php?p=39268215#post39268215

i have done this several times now - it DOES work - but NOT on v20b - any thing you flash AFTER you flash v20b will be fixed this way, whether it's cyanogenmod OR v20d or v20f - it doesn't matter - that fixes the touchscreen on every thing but v20b.
[LG Optimus L9 P760, P765, P768, P769] villan.co:
yeah, i thought i did the same thing - "bricked an unbrickable phone" - the LGRS did not even work for me, and a few others, because we bricked it even WORSE than you, lol, but, i'm telling you now, you can't permanently brick this phone using software alone (flashing, ****ing up bootloader, etc) - aside from opening the phone and doing hardware changes, it is always recoverable, thanks to [MENTION=2159458]Lelus[/MENTION].
[LG Optimus L9 P760, P765, P768, P769] villan.co:
yeah, after i bricked it so badly that LGRS could not connect to it, i used that to unbrick it, works 90% of the time, and i've purposely bricked both phones about 20+ times now, for "trial and error" purposes. i can't find his original post or upload, so i'm going to re-upload it myself.