Universal Optimus Bootloader Bypass Method - LG Optimus L9 P760, P765, P768, P769

On this thread someone mentioned a bootloader unlock method originating from the Russian forum 4pda.ru. From my understanding it's basically a modified U-boot and X-loader.This method has so far been ported to the Optimus Black. Thread Here. All we need now is for someone to give our U-boot and X-loader the same modifications as the modified L7 ones has and it should work with no problem. As a matter of fact this should work with any Optimus that uses U-boot.
Files:
L9BootloaderHack.rar: http://forum.xda-developers.com/showpost.php?p=38595867&postcount=5&nocache=1&z=9775460686068982
L9disassm.rar: http://forum.xda-developers.com/showpost.php?p=38615382&postcount=14
Original thread in Russian: http://4pda.ru/forum/index.php?showtopic=436618&st=0#entry20079444

We need the original L7 U-boot and X-loader. Can anyone with the phone gives us a dump of them?

good intentions. but....
L7 and L9 have diferent CPU. L7 is a Qualcomm MSM7227A Snapdragon and the L9 is a TextasInstruments OMAP4433,
L7 does not implement a u-loader and a x-loader , it implement an unencripted aboot loader, besides L9 have encripted x and u loaders.
The boot.img and the recovery.img of the L7 can be "patched" to bypass the bootloader because the aboot is un-encripted, for this reason this can be done with loki tool but L9 is very very difficult, i mean near of impossible to patch because the algorith of encritation have a very large and very very secret key (CertPK), only knowed for LG.

puntoazul said:
good intentions. but....
L7 and L9 have diferent CPU. L7 is a Qualcomm MSM7227A Snapdragon and the L9 is a TextasInstruments OMAP4433,
L7 does not implement a u-loader and a x-loader , it implement an unencripted aboot loader, besides L9 have encripted x and u loaders.
The boot.img and the recovery.img of the L7 can be "patched" to bypass the bootloader because the aboot is un-encripted, for this reason this can be done with loki tool but L9 is very very difficul, i mean near of impossible to patch because the algorith of encritation have a very large and very very secret key (CertPK), only knowed for LG.
Click to expand...
Click to collapse
That's awful. Why us? It's not like it's a flagship phone or anything. ****ing LG

Related

[DEV] [OLD] Porting and booting custom rom via 2nd-init

Before you read this theard:
There isn't any rom which you can install.
This Development Thread is for users who have any idea, something to share.
Click to expand...
Click to collapse
As we know our L9 has locked bootloader. We can't flash boot.img and recovery.img, but we can load custom ramdisk and recovery through 2nd-init.
What is 2nd-init?: Read there: http://cvpcs.org/blog/2011-06-14/2nd-init._what_it_is_and_how_it_works
My CWM Recovery for L9 is also loaded through 2nd-init, so we have ready 2nd-init scripts. Where recovery and custom ramdisk will be storied:
boot.tar (custom ramdisk): /system/bootstrap/boot.tar
recovery.tar (custom recovery): /system/bootstrap/recovery.tar
So, we have 2nd-init script, we can start porting rom to our device (I have P760 variant). We have to port rom from Prada 3.0 and Atrix 2 (very similar devices) or compile from sources. For now 1st option is better because we haven't got any sources expect 10a rom.
At the end I attach full 2nd-init script. You can test it on stock rom, it works. Only need to edit ramdisk and port some files to get working CM9/10. Link to ramdisk is in second post. In the most part it is playing with the files and ramdisk (like editing the lg prada, 4x was edited stock ramdisk), because we can not run custom kernels. There are many specific files, which ramdisk, kernel checks md5 checksum of this files (drm files).
IMPORTANT INFORMATIONS ARE ALSO IN POST BELLOW (2nd post, links to important files).
This is the end for now. Theard will be updated.
What can you do:
Post something useful for us
Have an idea, write there
Links to useful websites/theards
Share some info about porting roms to L9
Notes about the idea, porting roms, very important information
Please don't:
Ask for ETA's & Troll
Edit: Now. Cyanogenmod 9 is working. If you want to port roms use this rom as base. Ramdisk is storied in /system/bootstrap/boot.tar
For now I don't neeed tester, It don't work for now. I and persons who help me are working, but it isn't easy as porting with unlocked bootloader.
For devs. Some informations and links. I add some important links. Some of them are from Optimus 4X. I added it, because In 4X CM10 ramdisk is fixed drm conflict (everything I will write in this post).
LG Prada Cyanogemod 9 (uses 2nd-init, stock LG kernel, easiest way to port): http://goo.im/devs/milaq/p940/cm9/cm-9-20121126-NIGHTLY-p940.zip
LG Optimus 4X CM10 (there is fixed booting, drm conflict). Important files in this rom: /system/bin/netd /system/bootmenu/boot.tar (also I upload it without rom), /system/drm, system/drm2, /system/lgdrm.tar: http://d-h.st/ivJ
10b (branded 10a) P760 system and boot (ramdisk) dump: http://www.mediafire.com/?9b4oywl94j0bp
Optimus 4X Stock boot (ramdisk): http://www.mediafire.com/?k48h27ln4xnygrh
Optimus 4X CM10 ramdisk (you can compare with 4X Stock ramdisk, see what's changet, try to do this on L9, also included in 4X rom /system/bootmenu/boot.tar): http://www.mediafire.com/?fia0d72cs93cy71
Stock P760 ramdisk with ro.secure=0 edited to work with 2nd-init (bootable, working, to boot install cwm recovery and copy boot.tar to /system/bootstrap, it's base to port cm9/cm10). Only one bug is soft button light:http://www.mediafire.com/?ra5itp818uijpk3
CM 10 for Atrix 2 (similar device to L9): http://forum.xda-developers.com/showthread.php?t=1869692
Important theards/posts:
Similar devices to L9:
LG Prada 3.0 (The same platform, manufacturer, different screen resolution, similar ramdisk, also similar some files specific to platform, phone model)
Atrix 2 (the same resolution, platform, other manufacturer)
hi,i have a P760,if you need testers count with me.
have you recovery installed and i know how to flash kdz and everything else.(install zip and create backup).sorry for my google translate..
artas182x said:
I need testers witch other variant of L9 (P765, P768, P760 and others).
Click to expand...
Click to collapse
I have P765, fit for all your requirements, but don't have much free time. In any case, I will try to help if I can.
I can test the rom on a P760
Hallo guys, finally we have our sub forum, for me to begin will be also good to have one clean and deodexed stock rom with some advance, like script for kernel OK and........
Also agree to port cynogen 9 and other rom:thumbup:
Inviato dal mio LG-P760 con Tapatalk 2
count me in... P760... had a lot of android based devices. so i know to flash via recovery, also flashed P760 several times via kdz..
can test for the p769. I'm well versed in cwm flashing and have reflashed this phone using kdz several times.
P-765 user
Let me try it
i will test as well, got an lg l9 P760 thats the reason we are here. to support and try :highfive: hope it works and to go forward even more with CM 9,10, 10,1 ....
I can also help test with p760 , can do all that you ask and have alot experience in device modding/testing
Hi man! Im a developer for three lg phones and have p760! Do you know how compile cmX for phone that have locked bootloader?
Inviato dal mio LG-P760 con Tapatalk 2
P769 here.... happy flashing etc.
Sorry saw the post very late. I am here for...
P765 Indian (Asian) variant.
Excellent write up on 2nd-init at http://cvpcs.org/blog/2011-06-14/2nd-init._what_it_is_and_how_it_works
Thanks it explained many things and hijacking booting sequences.
I know its really early, but do you think its possible to have a touch led notification feature built into a rom? Thats the only thing missing from this phone I dont like. I miss having a blinking light telling me if I missed a call or message.
I know theres an app on the store but from my using it, its pretty buggy and doesnt always work. And it seems to eat up the battery too.
Would be difficult to compile the original KDZ 10E with root after install?
redspeed said:
I know its really early, but do you think its possible to have a touch led notification feature built into a rom? Thats the only thing missing from this phone I dont like. I miss having a blinking light telling me if I missed a call or message.
I know theres an app on the store but from my using it, its pretty buggy and doesnt always work. And it seems to eat up the battery too.
Click to expand...
Click to collapse
Not only that app but this feature itself is battery consuming. Tried this on O2x and removed after noticing battery drain.
nevp said:
Would be difficult to compile the original KDZ 10E with root after install?
Click to expand...
Click to collapse
ICS Source code for all L9 variants (except 765) are released. Should it be a problem for devs to compile rooted KDZ from source? Just curious to know this from devs.
One more thing, now as CWM by Artas185x is fully working, is it possible for sharing restorable zips with rooted roms? Again just curious to know.
well as of now i have set up a petition for lg to unlock the bootloader of all L9 Variants maybe if we get enough signatures they will do as they are doing with the 4X and the optimus G in my signature below hopefully they get a hint
cmahendra said:
Not only that app but this feature itself is battery consuming. Tried this on O2x and removed after noticing battery drain.
Click to expand...
Click to collapse
I guess its because the cpu gets woken up each time the leds go on? Is there a way to toggle a low brightness blinking or pulse when a notification is received that will shut off again once the screen is turned back on? I wouldnt think one or both of the leds blinking at low brightness by themselves would take up too much battery power?
I've just signed the petition and i'm ready to test with P760

Possible root for LG L9?

Hi all, came across this new rooting method that is meant for Exynos and OMAP devices when I was reading Appy Geek.
Can any of you try this? I don't have a L9 but I thought that this may be interesting. Post results with device model and software version.
Link (from the same guy who found an Exynos exploit - alephzain): http://forum.xda-developers.com/showthread.php?p=37837568
If it doesn't work, contact him on his thread for further support, maybe he will be able to help.
Sent from a certain phone via Tapatalk 2
not useable on p769 with 10g firmware.
Not work on P768f V10D
does not works on p760d.
it says:
your device seems not vulnerable to exploit included in framaroot.
exFAT said:
Hi all, came across this new rooting method that is meant for Exynos and OMAP devices when I was reading Appy Geek.
Can any of you try this? I don't have a L9 but I thought that this may be interesting. Post results with device model and software version.
Link (from the same guy who found an Exynos exploit - alephzain): http://forum.xda-developers.com/showthread.php?p=37837568
If it doesn't work, contact him on his thread for further support, maybe he will be able to help.
Sent from a certain phone via Tapatalk 2
Click to expand...
Click to collapse
Suddenly there are two such apps with all old scripts embedded into one. These are not any new inventions. Just FRONTENDS. Nothing special.
Works only on S2/S3 and few more vulnerable devices. Not applicable on LG L9 and O2X models. Devs of these apps even don't know LG L9 exists. Tried asking them to look L9, but they never reply. And that explains their calibre.
We should not make threads for every such useless frontends.
We need scripts and apps from real developers who can crack bootloaders, exploit loopholes, compile Roms and kernels.
Sent from p765.
cmahendra said:
Suddenly there are two such apps with all old scripts embedded into one. These are not any new inventions. Just FRONTENDS. Nothing special.
Works only on S2/S3 and few more vulnerable devices. Not applicable on LG L9 and O2X models. Devs of these apps even don't know LG L9 exists. Tried asking them to look L9, but they never reply. And that explains their calibre.
We should not make threads for every such useless frontends.
We need scripts and apps from real developers who can crack bootloaders, exploit loopholes, compile Roms and kernels.
Sent from p765.
Click to expand...
Click to collapse
Do you even bother to do your research properly? Firstly, this is a new app, that uses some exploits this person discovered. Secondly, this is the person who found the massive exploit on Exynos 4 devices that allowed access to all of physical memory, so as to your point about skills or whatever, this person has them. Seeing as he mentioned the app may work for OMAP devices (worked for his OMAP3), I listed it here in the hope that it may work for those unlucky ones screwed over by LG's lockdowns. It is unfortunate it doesn't work. But this is not some app just merging old scripts. It contains original work.
Tl;dr do your research first and stop being such a hypocrite and know-it-all smartass. Your group of users stuck on unrootable V10G thread is infinitely more useless than this thread.
Well one day we will get root I hope
Benduchi said:
Well one day we will get root I hope
Click to expand...
Click to collapse
i recently rooted my l9 using bin4ry's method but first i downgraded software to 10b
I want to start somewhere, I was able to make a jailbreak for my iPhone on 3.1.2 way back when, where can I start for learning how to make a rooting method the L9 or Android in general?
LGP768 Root Guide
I'll be posting a LGP768 Root Guide in Android Development tonight.
Muphet said:
i recently rooted my l9 using bin4ry's method but first i downgraded software to 10b
Click to expand...
Click to collapse
yes Binary's Root works for many earlier roms, which variant of L9 you have?

Think about this for a minute.

Here is a little something to think about. Why does LG supply us the source code for the P760, P765, P768, and P769 variants of our phone but doesnt allow us to unlock the bootloader to apply changes we want to the kernel and the android build itself? Are they supplying the code just to taunt us and say hey we are open source but really arent? Ask LG why they are supplying open source code for our phone and not being open source by unlocking the bootloader. Hope you all have a great weekend!
??? What about drivers for components? Are they open source? Are they all LG's property? Think about that! BTW,this is the second phone I own with TI chip and (permanently - p769) locked bootloader (the first was Motorola Milestone - never unlocked).
Sent from my P760

Aboot Location Help

So i'm attempting to port loki to our phones. I probably won't be able to figure it out, but just maybe i'll be able to do it. Anyways i've been googling around and i can't seem to find the aboot file for our phones. I'd like to get the JB P769 one if possible. Anyone know where i can find it?
bulletfreak said:
So i'm attempting to port loki to our phones. I probably won't be able to figure it out, but just maybe i'll be able to do it. Anyways i've been googling around and i can't seem to find the aboot file for our phones. I'd like to get the JB P769 one if possible. Anyone know where i can find it?
Click to expand...
Click to collapse
There is no "Aboot" partition on the L9. That's the bootloader partition for the L90. The L9 is an OMAP device and cannot be ported to Loki. In fact, the L90 ( D415 - US model ) can't be ported to Loki either ( it's a MSM8226 device ) although that's redundant as the bootloader on the L90 D415 is unlockable. The corresponding partition for the L9 to the L90's aboot partition is the u-boot partition. Best of luck. I've moved on from the L9 to the L90.
shinobisoft said:
There is no "Aboot" partition on the L9. That's the bootloader partition for the L90. The L9 is an OMAP device and cannot be ported to Loki. In fact, the L90 ( D415 - US model ) can't be ported to Loki either ( it's a MSM8226 device ) although that's redundant as the bootloader on the L90 D415 is unlockable. The corresponding partition for the L9 to the L90's aboot partition is the u-boot partition. Best of luck. I've moved on from the L9 to the L90.
Click to expand...
Click to collapse
thanks for answering. Yeah i thought so. This is going to be fun.....

[Bounty] Unlocked bootloader LG G2 (20€ 28/06)

Hi guys,
I'm not a Dev but I know there is a huge hype around G2 Modding.
Because of LG decision to do not unlock G2 LP bootloader (see this link), I decided to create this bounty topic for reliable people. :good:
We know we have Bump! and Loki, but is not the same of unlocked bootloader: with an unlocked bootloader we could be able to use without any problem MultiROM (XDA topic here) or port unisgned operating systems like Ubuntu for smartphones porting (Porting guide here, and XDA Topic here).
Pledges (26/06):
- Me, Maxximo88 - 20€ (conversion is made by Paypal)
Total (26/06): 20€ (damn this is the first day, lets people pledge!)
Once the Unlock bootloader procedure is completed and posted we will wait for the dev or devs to specify how he/they want the money sent.
Usually it is just a donation to their Paypal account or Bitcoin.
On rare occasions the dev will just say they want money donated to charity but that is rare and the dev should get paid for their hard work. I will follow up to make sure everyone pays.
Current Unlock procedure Progress:
Tag Developers so they are aware of this (If I missed any please let me know!).
Try to ask LG International
Wanna help G2 Community?
Write an email to the following contact and ask them to release the procedure to unlock booloader and tell them why it is so important!
Code:
email to: [email protected]
Community that decided to join: LG GSeries Utenti Italiani (> 2700 members); Droidth page (>> 6000 members)..Pease ask to your community too!
Just some beer, 20€, not so much but "in unity is strength!".
Maybe some Devs that could be interested are @dorimanx @CoudyFa @gtbluesky @tsunamical @somboons @autoprime @Angelic276 @bris31 @irevhard @Y.Heavenslaughter @Bx16 @zioriky @xdabbeb
You do realize the G2 is pretty much wide open? You can flash an LP bootloader then back to JB bootloader then back to LP bootloader, as long as you have the respective files? I don't have a d802 but I'd assume its similar to the d800.
Why do you think,it MUST unlock bootloader ?
Angelic276 said:
You do realize the G2 is pretty much wide open? You can flash an LP bootloader then back to JB bootloader then back to LP bootloader, as long as you have the respective files? I don't have a d802 but I'd assume its similar to the d800.
Click to expand...
Click to collapse
There is a lot of modding around G2, but with an unlocked bootloader you are able to load unsigned OS, for example you can create a Port of Ubuntu for smartphone to LG G2. At the same time, with unlocked bootloader Multirom works better because it can load any kernel without any issue (today, you can use MultiROM on LG G2,but you can just boot two (or more) AOSP rom, or two (or more) LG Based rom, BUT (today) you cannot boot a stock and AOSP rom! (so mutirom today works only with AOSP or stock, not both of them)
Edit: to answer @somboons too.
It would just make less bricks for newbie peoples. For advanced users it dont make any diffrence.
Wysłane z mojego LG-D802 przy użyciu Tapatalka
X-posted from another thread:
It is far more worthwhile to fund a fully functioning unbricking tool than an unlocked bootloader. The G2 which has nearly 10 different variants gets bricked primarily because of confusion about "which ROM - which bootloader - which recovery - which modem" questions. I myself have been a victim of the dreaded QH USB 9008 brick and I had to pay 30$ to get it back to a receoverable state.
Lots of people get to states of "download mode not available", "not booting into recovery", etc and the usual solution is to short capacitors together , , etc.
I strongly propose that people move their committed funds from here to something like http://forum.xda-developers.com/lg-g2/general/bounty-hard-brick-recover-qualcomm-hs-t2914193/page3 and that will be a zillion times more helpful than unlocked bootloaders, etc. at this point.
Well it seems that the G2 is screwed again. The optimus g and also other low end lg devices have an unlocked bootloader. Lets just hope there will be onthe g2 or the g3 community an way to unlock the bootloader as the exploit will probably work on the other.
Sent from my LG-D802 using Tapatalk
sandys1 said:
X-posted from another thread:
It is far more worthwhile to fund a fully functioning unbricking tool than an unlocked bootloader. The G2 which has nearly 10 different variants gets bricked primarily because of confusion about "which ROM - which bootloader - which recovery - which modem" questions. I myself have been a victim of the dreaded QH USB 9008 brick and I had to pay 30$ to get it back to a receoverable state.
Lots of people get to states of "download mode not available", "not booting into recovery", etc and the usual solution is to short capacitors together , , etc.
I strongly propose that people move their committed funds from here to something like http://forum.xda-developers.com/lg-g2/general/bounty-hard-brick-recover-qualcomm-hs-t2914193/page3 and that will be a zillion times more helpful than unlocked bootloaders, etc. at this point.
Click to expand...
Click to collapse
Ok, this is your point of view.
You are probably right.
But, I think both "bounty topics" are important.
I will add your bounty topic on top here.
wulsic said:
Well it seems that the G2 is screwed again. The optimus g and also other low end lg devices have an unlocked bootloader. Lets just hope there will be onthe g2 or the g3 community an way to unlock the bootloader as the exploit will probably work on the other.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
Hope this too, my next device would be one really open and community drive, I don't know if Oneplus or others..I really hate modding issue due to Brand myopia..
Added LGE Devs email to first topic.
Try to ask LG International
Wanna help G2 Community?
Write an email to the following contact and ask them to release the procedure to unlock booloader and tell them why it is so important!
Code:
email to: [email protected]
Community that decided to join: LG GSeries Utenti Italiani (> 2700 members); Droidth page (> 6000 members)..Pease ask to your community too!
I'd pay
10€
il put 10€ too, come on people wake this thread
My LG G2 nota enter in download mode or recovery rveryone help-me?

Categories

Resources