Unlocking the bootloader of LG L90 - LG Optimus L90

Greetings.
I have a lg l90 d405n with V10d-EUR-XX (KK 4.4.2) firmware on top of it. I'm fully stock, haven't rooted or anything. I plan to install a custom ROM on this device so I'd like to ask for some guidance. I'm used to nexus devices where you just type "fastboot oem unlock" and start flashing. How do I unlock bootloader on my specific device? I saw this thread, but there is but there is no v10d aboot for lg d405n. So what should I do? Do I need to flash v10 or v10b with Flashtool first and then unlock the bootloader on something else? Any help is greatly appreciated.
Thanks in advance!
P.S. Can you also recommend me the best rom for d405n in terms of performance, stability and battery life?

Fobos531 said:
Greetings.
I have a lg l90 d405n with V10d-EUR-XX (KK 4.4.2) firmware on top of it. I'm fully stock, haven't rooted or anything. I plan to install a custom ROM on this device so I'd like to ask for some guidance. I'm used to nexus devices where you just type "fastboot oem unlock" and start flashing. How do I unlock bootloader on my specific device? I saw this thread, but there is but there is no v10d aboot for lg d405n. So what should I do? Do I need to flash v10 or v10b with Flashtool first and then unlock the bootloader on something else? Any help is greatly appreciated.
Thanks in advance!
P.S. Can you also recommend me the best rom for d405n in terms of performance, stability and battery life?
Click to expand...
Click to collapse
Here is the aboot file patched by myself for d405n V10d, fully tested on my own phone.

Alright, thank you very much. So the procedure is as described in the link to the Subliemesiem's thread, I just need to flash this aboot?

Fobos531 said:
Alright, thank you very much. So the procedure is as described in the link to the Subliemesiem's thread, I just need to flash this aboot?
Click to expand...
Click to collapse
In order to be able to flash partitions, you have to get root fist.
In order to be able to boot a custom recovery, you MUST have an unlocked bootloader. If you root and flash custom recovery without unlocking the bootloader, you'll have to enter in download mode and reflash everything from scratch (kdz flash).
So, in a nutshell:
Root > Unlock Bootloader (hacked aboot) > Flash custom recovery (TWRP) = You now are free to do whatever you want.
I'll give you an advise that's wise to follow: after root, even before unlocking your bootloader, backup your modemst1 and 2 partitions, they have your IMEI and are unique to your device, this will save you from the infamous unknown IMEI problem after restoring from some kinds of bricks.

Related

iptables kernel for lg l90 d415?

What kernel can I safely flash to my phone for iptables/netfilter support?
Will this kernel work?
[KK 4.4.2 Kernel 3.4.98][15 JUL] Dorimanx 6.0 LG G2 800/1/2/3/5/6 F320* LS/VS980
kinesis said:
What kernel can I safely flash to my phone for iptables/netfilter support?
Will this kernel work?
[KK 4.4.2 Kernel 3.4.98][15 JUL] Dorimanx 6.0 LG G2 800/1/2/3/5/6 F320* LS/VS980
Click to expand...
Click to collapse
You won't be able to flash any kernel or ROM without ensuring that your bootloader is unlocked first. The stock boot.img ( which contains the kernel ) is a signed image signed by LG's own key which we don't have access to. The bootloader checks the signature of the boot.img before booting. If the signature doesn't match you'll end up with either LG Security Error or a soft bricked device.
shinobisoft said:
You won't be able to flash any kernel or ROM without ensuring that your bootloader is unlocked first. The stock boot.img ( which contains the kernel ) is a signed image signed by LG's own key which we don't have access to. The bootloader checks the signature of the boot.img before booting. If the signature doesn't match you'll end up with either LG Security Error or a soft bricked device.
Click to expand...
Click to collapse
So basically I bought the wrong phone?
This is not a customizable device? Should I sell it and get a different model? What is this KDZ thing they talk about in the other forum?
Can you unlock it?
kinesis said:
So basically I bought the wrong phone?
This is not a customizable device? Should I sell it and get a different model? What is this KDZ thing they talk about in the other forum?
Can you unlock it?
Click to expand...
Click to collapse
http://m.youtube.com/watch?v=6mFHbE4LLKM
We call this process unlocking, which is needed before rooting. After rooting, u can still customize it more freely.
ps One special case (not for u Americans). In my home city, unlocking is not needed for any devices, and we can root directly
Sent from my LG-D410 using XDA Free mobile app
shinobisoft said:
You won't be able to flash any kernel or ROM without ensuring that your bootloader is unlocked first. The stock boot.img ( which contains the kernel ) is a signed image signed by LG's own key which we don't have access to. The bootloader checks the signature of the boot.img before booting. If the signature doesn't match you'll end up with either LG Security Error or a soft bricked device.
Click to expand...
Click to collapse
I have root, used an laf multitool to pull and backup the laf.IMG in order to access fastboot mode. I've unlocked my bootloader and restored download mode. I have TWRP 2.8, can i use a kernel like the one mentioned in the OP? Or should i just keep looking for custom l90
kernels? I'm a noob and I couldn't help but ask
For my T-Mobile lg l90 D41510C.
nickyhicky said:
I have root, used an laf multitool to pull and backup the laf.IMG in order to access fastboot mode. I've unlocked my bootloader and restored download mode. I have TWRP 2.8, can i use a kernel like the one mentioned in the OP? Or should i just keep looking for custom l90
kernels? I'm a noob and I couldn't help but ask
For my T-Mobile lg l90 D41510C.
Click to expand...
Click to collapse
Currently, there's only one custom kernel in development ( here at XDA anyway ). Whenever you flash a custom ROM you are also getting another kernel. As stated, the kernel is part of the boot.img. The boot.img, at a minimum, is a combination of the RAM file system + kernel.
Man, this phone is pretty bad a$$ with the current development. Search for sound mods, etc. My phone is super loud!!!
nickyhicky said:
I have root, used an laf multitool to pull and backup the laf.IMG in order to access fastboot mode. I've unlocked my bootloader and restored download mode. I have TWRP 2.8, can i use a kernel like the one mentioned in the OP? Or should i just keep looking for custom l90
kernels? I'm a noob and I couldn't help but ask
For my T-Mobile lg l90 D41510C.
Click to expand...
Click to collapse
There's currently no custom kernels available.
Only Custom ROM with their kernels available.
*LG G2 is much expensive than this machine.

[Q&A] [ROM] 5.0.2 Stock-ROM - LG D415 L90

Q&A for [ROM] 5.0.2 Stock-ROM - LG D415 L90
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [ROM] 5.0.2 Stock-ROM - LG D415 L90. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
brossovitch said:
Xposed framework crashes the phone.. Testing will not commence..
I never needed it anyway..
Click to expand...
Click to collapse
This is kind of a deal breaker for me, that and the broken rar archive. BUT when it starts working I would like to use your ROM because I love stock roms with minor modifications and debloat. Did you use this xposed framework? http://forum.xda-developers.com/showthread.php?t=3034811
When I flashed the completely stock version, it broke, no data/wifi/bluetooth, and everything crashed. I think it was because I wiped first and since this is an OTA I shouldn't have done that, but now I am worried about trying again, since I just got my phone back up and running. I must say thanks for that, because flashing using TWRP and your ROM gave me TWRP back, so I was able to downgrade back to 410c stock from your ROM. I'll wait for the radio problem to be fixed before I try again.
Hi, I'm new here, but not to android.
imonlyhumanoid said:
This is kind of a deal breaker for me, that and the broken rar archive. BUT when it starts working I would like to use your ROM because I love stock roms with minor modifications and debloat. Did you use this xposed framework? http://forum.xda-developers.com/showthread.php?t=3034811
When I flashed the completely stock version, it broke, no data/wifi/bluetooth, and everything crashed. I think it was because I wiped first and since this is an OTA I shouldn't have done that, but now I am worried about trying again, since I just got my phone back up and running. I must say thanks for that, because flashing using TWRP and your ROM gave me TWRP back, so I was able to downgrade back to 410c stock from your ROM. I'll wait for the radio problem to be fixed before I try again.
Hi, I'm new here, but not to android.
Click to expand...
Click to collapse
You can flash safely with TWRP. Go ahead and upgrade to Stock Lollipop via KDZ then you can try flashing one of brossovitch's ROM. It worked for me. Just follow this http://forum.xda-developers.com/showthread.php?t=3088131 guide if you get broken IMEI or/and Baseband. It will help you get it back as well as get Lollipop on you phone.
Good luck!
So if I read that right, you have to flash the Stock 5.0.2 using TWRP, then flash the Stock 4.4.2 using the LG Flash Tool, then flash the Stock 5.0.2 using the LG Flash Tool, then root then unlock bootloader (is that necessary with the D415? I never did that before) and then use Rashr to flash TWRP and then flash brossovitch's LollipOptimus ROM, just to get the IMEI/Baseband to work? Seems like a lot of hurdles. Why not just flash the 5.0.2 KDZ and then root and flash TWRP possibly with or without bootloader unlocking and then flash the LollipOptimus ROM, or even just flashing it like an OTA from TWRP? Will the LG Official OTA break the IMEI/Baseband?
And has anyone tried the linked Xposed framework?
Thanks for your help!
imonlyhumanoid said:
So if I read that right, you have to flash the Stock 5.0.2 using TWRP, then flash the Stock 4.4.2 using the LG Flash Tool, then flash the Stock 5.0.2 using the LG Flash Tool, then root then unlock bootloader (is that necessary with the D415? I never did that before) and then use Rashr to flash TWRP and then flash brossovitch's LollipOptimus ROM, just to get the IMEI/Baseband to work? Seems like a lot of hurdles. Why not just flash the 5.0.2 KDZ and then root and flash TWRP possibly with or without bootloader unlocking and then flash the LollipOptimus ROM, or even just flashing it like an OTA from TWRP? Will the LG Official OTA break the IMEI/Baseband?
And has anyone tried the linked Xposed framework?
Thanks for your help!
Click to expand...
Click to collapse
No, that is if you had a failed flashed and did not have Stock Download mode which you lose if you unlock the boot loader (which is technically unlocked). Unlocking bootloader is optional, I should put that.
If you have unlocked boot loader then you need to either flash the lag.img or bross's stock ROM with laf.img in it.
imonlyhumanoid said:
So if I read that right, you have to flash the Stock 5.0.2 using TWRP, then flash the Stock 4.4.2 using the LG Flash Tool, then flash the Stock 5.0.2 using the LG Flash Tool, then root then unlock bootloader (is that necessary with the D415? I never did that before) and then use Rashr to flash TWRP and then flash brossovitch's LollipOptimus ROM, just to get the IMEI/Baseband to work? Seems like a lot of hurdles. Why not just flash the 5.0.2 KDZ and then root and flash TWRP possibly with or without bootloader unlocking and then flash the LollipOptimus ROM, or even just flashing it like an OTA from TWRP? Will the LG Official OTA break the IMEI/Baseband?
And has anyone tried the linked Xposed framework?
Thanks for your help!
Click to expand...
Click to collapse
I'm going to try xposed again.
I'm also going to upload the partitions needed to make the bseband work.. There's a way to be easily flash them to go to either.
Stock lollipop is just different. And the custom roms are based on KK. so we gotta be able to go back if we want..
We can.
With L90 utilities you can flash your laf partition or toggle it between fastboot mode & s/w Upgrade (firmware download) mode.
From there you can use adb to flash the proper partitions.
IE:"fastboot flash radio modem.bin"
Which would likely work..
brossovitch said:
With L90 utilities you can flash your laf partition or toggle it between fastboot mode & s/w Upgrade (firmware download) mode.
From there you can use adb to flash the proper partitions.
IE:"fastboot flash radio modem.bin"
Which would likely work..
Click to expand...
Click to collapse
Way cool! Where is this LG L90 tool?
SamsungIsBetterThanApple said:
Way cool! Where is this LG L90 tool?
Click to expand...
Click to collapse
You're on XDA dude.....
....learning to search for and find what you want is a priority..
All I'm going to say, is........ @shinobisoft
May the Droid be with you, young Padawan....:good:
brossovitch said:
You're on XDA dude.....
....learning to search for and find what you want is a priority..
All I'm going to say, is........ @shinobisoft
May the Droid be with you, young Padawan....:good:
Click to expand...
Click to collapse
Haha! Thanks, but just you wait. Soon the student will becoms the master.
SamsungIsBetterThanApple said:
Haha! Thanks, but just you wait. Soon the student will becoms the master.
Click to expand...
Click to collapse
I truly hope so.
When I was young, we had house phones with cords..
Pulse tone hacking is all we had back then.. LOL!
Just restored your latest nandroid and is WORKING GREAT SO FAR !!! Just one thing , how did you guys get rid of the annoying t-mobile voicemail notification ?
Am new to TWRP so excuse me for asking, but since I restored back to 4.4.2 my phone is better than it was before. I would like to upgrade, but I'd like to be able to revert back to 4.4.2 if I have a bad experience. I backed up my phone with TWRP, can I flash the kdz with the LG tool, and then root and get back to TWRP and flash the ROM to make the radio work, and then back up the 5.0.2 ROM and switch between the two?
imonlyhumanoid said:
Am new to TWRP so excuse me for asking, but since I restored back to 4.4.2 my phone is better than it was before. I would like to upgrade, but I'd like to be able to revert back to 4.4.2 if I have a bad experience. I backed up my phone with TWRP, can I flash the kdz with the LG tool, and then root and get back to TWRP and flash the ROM to make the radio work, and then back up the 5.0.2 ROM and switch between the two?
Click to expand...
Click to collapse
Follow this http://forum.xda-developers.com/showthread.php?t=3088131 guide If you have Downlode Mode, skip step 1 and since you are on KK, skip step 3.
Sent from my LollipOptimus™
Since I cannot reply directly to the main thread or the How to fix IMEI/Baseband Unknown Issue (D415) thread, I will ask here.
I am currently running the KitKat stock and rooted, with the original laf.img and TWRP recovery, de-odexed system, and several unwanted stock apps uninstalled.
From my arrangement, to upgrade, I can go to download mode using Vol + and Plug USB (because I haven't zero'd out my laf, right?), and use the 2014 LG tool to flash the Lollipop KDZ. This will cause the data/wifi/bluetooth signals to stop working, as well as losing root and TRWP (correct me if wrong). From there I would need to root and flash back TWRP and then from TWRP flash the LP-[5.0.2]_L90_D415[boot-system-laf-aboot-modem.zip] to get the signals back.
At this point, would I then be at stock rooted lollipop with TWRP and download mode and have a useable phone? If I do a CES flash as recommended, would I lose all of my currently installed apps and data? If so, I should disable xposed first, right?
imonlyhumanoid said:
Since I cannot reply directly to the main thread or the How to fix IMEI/Baseband Unknown Issue (D415) thread, I will ask here.
I am currently running the KitKat stock and rooted, with the original laf.img and TWRP recovery, de-odexed system, and several unwanted stock apps uninstalled.
From my arrangement, to upgrade, I can go to download mode using Vol + and Plug USB (because I haven't zero'd out my laf, right?), and use the 2014 LG tool to flash the Lollipop KDZ. This will cause the data/wifi/bluetooth signals to stop working, as well as losing root and TRWP (correct me if wrong). From there I would need to root and flash back TWRP and then from TWRP flash the LP-[5.0.2]_L90_D415[boot-system-laf-aboot-modem.zip] to get the signals back.
At this point, would I then be at stock rooted lollipop with TWRP and download mode and have a useable phone? If I do a CES flash as recommended, would I lose all of my currently installed apps and data? If so, I should disable xposed first, right?
Click to expand...
Click to collapse
You WILL lose all data but you need to use CES to fix, I believe, the partitions. You DO NOT have to flash the LP-[5.02]_L90_D415[boot-system-laf-aboot-modem.zip] if you go to KK then to L using Lg Flash tool. After succesful Lolli flash, then root, install twrp, and flash one of Bross's rom.
But if I want to go to stock 5.0, with twrp and download mode intact, what do I do? Flash using LG Flash Tool, root and flash twrp and I'm done? This won't cause radio problems?
imonlyhumanoid said:
But if I want to go to stock 5.0, with twrp and download mode intact, what do I do? Flash using LG Flash Tool, root and flash twrp and I'm done? This won't cause radio problems?
Click to expand...
Click to collapse
I promise, if you follow my guide, everything will be fixed. You only lose radio if you flash something wrong. For example, flashing one of bross's ROMs while on kk. That is a bad idea. After you flash to lolli with lg flash tool, you can root and flash twrp. You WILL NOT lose Download Mode unless you zero out the laf by following the Unlocking Boot loader guide.
---------- Post added at 06:24 PM ---------- Previous post was at 06:24 PM ----------
imonlyhumanoid said:
But if I want to go to stock 5.0, with twrp and download mode intact, what do I do? Flash using LG Flash Tool, root and flash twrp and I'm done? This won't cause radio problems?
Click to expand...
Click to collapse
And PLEASE do a CES flash

[Q] From locked & stock to unlocked bootloader & custom rom

Hi there everyone! I am absolutely 100% noob when it comes to LG. Always had an HTC phone but with the horrible reviews for the M9 I chose the G4. Its a great phone stock but the rooting itch has gotten to strong lol. Read plenty of threads and watched a few videos on how to root this beautiful phone. Yet, questions pop into my head...... I know most likely rule number one is to unlock the bootloader. For HTC I would then boot into Fastboot mode to flash TWRP with the famous command "fastboot flash recovery twrp.img" and then proceed to flash my favorite ROM that is pre-rooted. Would the steps be about the same? If not, what is different? Is there any way to hide root from the T-Mobile Account app that checks for root or should I just get rid of the app? Also, I am still on the 10H build. Should I update to 10N first or would I not be able to root? So sorry for the amount of questions presented here it is just that I'm afraid of bricking. Any help is appreciated.
Upgrade to 10N then follow the instructions here:
http://forum.xda-developers.com/tmobile-g4/development/h81110n-stock-rooted-image-t3191038
Make sure you set OEM bootloader unlocked as well in Developer options.
Then use flashify to install TWRP
I would install debloated ROM here but thats up to you: http://forum.xda-developers.com/tmobile-g4/development/rom-g4-h811-10n-stock-rooted-rom-t3188858
xhunter187 said:
Hi there everyone! I am absolutely 100% noob when it comes to LG. Always had an HTC phone but with the horrible reviews for the M9 I chose the G4. Its a great phone stock but the rooting itch has gotten to strong lol. Read plenty of threads and watched a few videos on how to root this beautiful phone. Yet, questions pop into my head...... I know most likely rule number one is to unlock the bootloader. For HTC I would then boot into Fastboot mode to flash TWRP with the famous command "fastboot flash recovery twrp.img" and then proceed to flash my favorite ROM that is pre-rooted. Would the steps be about the same? If not, what is different? Is there any way to hide root from the T-Mobile Account app that checks for root or should I just get rid of the app? Also, I am still on the 10H build. Should I update to 10N first or would I not be able to root? So sorry for the amount of questions presented here it is just that I'm afraid of bricking. Any help is appreciated.
Click to expand...
Click to collapse
tk424 said:
Upgrade to 10N then follow the instructions here:
http://forum.xda-developers.com/tmobile-g4/development/h81110n-stock-rooted-image-t3191038
Make sure you set OEM bootloader unlocked as well in Developer options.
Then use flashify to install TWRP
I would install debloated ROM here but thats up to you: http://forum.xda-developers.com/tmobile-g4/development/rom-g4-h811-10n-stock-rooted-rom-t3188858
Click to expand...
Click to collapse
Thanks for the help! Flashed your stock rooted image so I could Flashify TWRP. I have been a part of the HTC fan club since the Droid Incredible. All the way to the One Max and M8 while I was on Verizon. This LG stuff is all new to me lol.

How to install recovery on d410 sw v20a

I tried to install recovery with flashify but dosent work
My phone is rooted
Plz guide me
Abhi142 said:
I tried to install recovery with flashify but dosent work
My phone is rooted
Plz guide me
Click to expand...
Click to collapse
Had you unlock bootloader?
If not, please follow this tutorial:
http://forum.xda-developers.com/lg-l90/development/recovery-twrp2-7-1-0lgl90w7xxshoxx-t2826150
I recomend upgrade recovery to 2.8.6.0
I had problems with the SIM card unlocking my bootloader on lollipop.
If you have problems, I recomend downgrade to KitKat and then unlock the bootloader:
http://forum.xda-developers.com/lg-l90/general/guide-flash-stock-kdz-offline-lg-l90-t2803479
XiCO FiR3 said:
Had you unlock bootloader?
If not, please follow this tutorial:
http://forum.xda-developers.com/lg-l90/development/recovery-twrp2-7-1-0lgl90w7xxshoxx-t2826150
I recomend upgrade recovery to 2.8.6.0
I had problems with the SIM card unlocking my bootloader on lollipop.
If you have problems, I recomend downgrade to KitKat and then unlock the bootloader:
http://forum.xda-developers.com/lg-l90/general/guide-flash-stock-kdz-offline-lg-l90-t2803479
Click to expand...
Click to collapse
which aboot u used to unlock bootloader?
It depends on the version of android that you are using.
But you mentioned D410 v20a, I think I had used "D410_v20b_patched_aboot", because doesn't exist any version for v20a.
I compare the files with a hexadecimal editor, and the v20a, and v20b are exacly the same, but then I had throubles with the SIM cards.
That's why I recommended you to downgrade to kitkat, and then use the v10d.
In any case go to this website, and insert your IMEI (mark this: *#06#), to find out which version you have.
http://lg-phone-firmware.com/index.php?firmware=1
If you have a D410 you have 2 IMEIs , (you only need one).
I recommend you to read this post, if you hadn't already.
http://forum.xda-developers.com/lg-l90/general/guide-guide-to-unlocking-bootloader-l90-t2852917
I hope you know this is a dangerous process, and can brick your phone, if your phone doesn't boot use this tutorial, it saved me many times (follow it, carefully).
http://forum.xda-developers.com/lg-l90/general/guide-flash-stock-kdz-offline-lg-l90-t2803479
Sorry if I had confuse you, I sorry to my attempts to murder the English language.

Re-Lock Stock Bootloader on Sprint Oreo?

I've been trying to figure out if it's possible to Re-Lock the Bootloader on a stock rom and bootloader for a sprint unlocked phone running Android 8. I couldn't find anything in the forums. Anyone have an idea?
tuff3r said:
I've been trying to figure out if it's possible to Re-Lock the Bootloader on a stock rom and bootloader for a sprint unlocked phone running Android 8. I couldn't find anything in the forums. Anyone have an idea?
Click to expand...
Click to collapse
If you can get a hold of your v40's stock KDZ and do a refurbish flash of that KDZ in LGUP with the correct DLL's applied to LGUP's common folder so it reads your phone as connected it should wipe any modifications and reflash the stock locked bootloader. But of course will also wipe ur rom and user data. The guides on how to do this are here in the forum.
RngrYogi said:
If you can get a hold of your v40's stock KDZ and do a refurbish flash of that KDZ in LGUP with the correct DLL's applied to LGUP's common folder so it reads your phone as connected it should wipe any modifications and reflash the stock locked bootloader. But of course will also wipe ur rom and user data. The guides on how to do this are here in the forum.
Click to expand...
Click to collapse
Gotcha, thanks for the info. I think that's where I'm at, I'm unable to find a KDZ for sprint.
tuff3r said:
Gotcha, thanks for the info. I think that's where I'm at, I'm unable to find a KDZ for sprint.
Click to expand...
Click to collapse
Mainly because Sprint hasn't leaked any of their KDZ...

Categories

Resources