yashsingh1/xdaforums huggingface dataset:
[LG Optimus L90] Floating Point:
Good news for the brazilian users that owns the D410hn variant, I managed to unlock the lollipop v20b. It may also work with the v20a, the aboot is exactly the same every single byte.

Thanks to Зевс at 4pda, all I done was load the D410 aboot variant at IDA he unlocked, took a look at the flow chart to what changes he made, loaded our D410hn aboot and patched the right addresses.

At first I was reluctant to test myself - for those who are using the D410 binaries and image files to our D410hn, beware, they are not the same (I compared many variants KK v10a/b/c/... and LL v20a/b aboots with IDA and HxD). I see many people with the D410hn getting bricks and struggling to unbrick their phones after flashing other variables binaries and images, at least make a mmcblk0 backup before trying anything.

My advises:

First make a backup of your mmcblk0 as advised in this topic (you need busybox): http://xdaforums.com/showpost.php?p=49442094&postcount=25

If anything goes wrong, you can recover from a brick using your own loader with the steps in this post: http://xdaforums.com/lg-l90/help/bricked-d410-t3094018/post61741908

Then go ahead and flash the aboot. Make sure you are rooted on v20a/b with the d410hn variant. Then flash the twrp recovery from this topic with rom installer app: http://xdaforums.com/lg-l90/development/recovery-twrp2-7-1-0lgl90w7xxshoxx-t2826150

Also, never flash CM with lollipop bootstack, they boot only with kitkat bootstack. AFAIK, there is no actual d410hn aboot unlocked, people are just using the d410 aboot, if you want to flash d410 kk bootstack and anything goes wrong, well, good luck, don't blame on me, maybe if I feel downgrading to kitkat I'll make an actual d410hn bootstack to everyone stop risking using the d410 variant files.
[LG Optimus L90] BastardRacoon:
My LG L90 D405 is running android 4.4.2 and software version V10d-EUR-XX. What .kdz file should I pick? I didn't find a file for that version. Or am I just blind?
[LG Optimus L90] PenguinDada:
Just tried unlocking the bootloader on my D410 v20.A. Using L90_D410_v10d_hack.zip hardbricked the phone. I managed to unbrick it thanks to http://xdaforums.com/showpost.php?p=61636749&postcount=34

So, as things stand, unless a bootloader and a bootstack (for CM 12.1 SIM detection) is made for v20A, I can't install TWRP and therefore, CM 12.1. Am I correct?

Anyways, at least I rooted it and managed to unbrick it. So, thanks everyone :)

EDIT 1: Basically, I figured it out. I now have TWRP 2.8.7.0 and CM 12.1 installed on my v20.A D410. Here's how:

1) MOST IMPORTANT STEP: DOWNGRADE TO KITKAT V10.D (http://lg-phone-firmware.com/index.php?firmware=1). I picked the Portuguese one. Follow this guide (http://xdaforums.com/lg-l90/general/guide-flash-stock-kdz-offline-lg-l90-t2803479) to downgrade. If you check the system version after the installation it will say v10.g , but it's OK.

2) While on stock Kitkat, root your phone with any of the guides here on xda.

3) Unlock the bootloader (This thread). Use the supplied L90_D410_v10d_hack.zip in the OP.

4) Flash TWRP 2.8.7.0 (http://xdaforums.com/lg-l90/development/recovery-twrp2-7-1-0lgl90w7xxshoxx-t2826150) . Use Rashr - Flash Tool on the Play Store to do so.

5) Grab CM 12.1 Nightly (http://quarx.cm-for.us/device-w7.html) and flash it using TWRP.

6) Optional: Flash Gapps (http://opengapps.org/?api=5.1&variant=pico) using TWRP.

Something to note, I haven't tried using a SIM yet. Also, my IMEI is 0. It was probably caused when I first bricked my phone and then restored to normal, but I would like someone to confirm it.

EDIT 2: I just used a SIM and everything seems to work as expected (calling, texting, 3G). The only thing that's bugging me is that the IMEI is still 0.

That's all. Cheers :victory::victory:
[LG Optimus L90] Thi_Memoria:
Lollipop update

So, lollipop brazilian has upgrade to v20c how to unlock this? i have root!
[LG Optimus L90] Floating Point:
v20a, v20b and v20c aboots are the same.

Hashes:

MD5: 967bacb62cb6f51996d6b750e45f776f

SHA-1: 974e2cb4befa69f168111ea0ad343040ae2f6c5f

The unlocked aboot for the D410HN Lollipop works on all three versions.

But I noticed changes on v20c bootstack, while v20a and v20b are the same.

I flashed v20c here and created a new flasheable zip bootstack for this version.
[LG Optimus L90] Marco_Vargas:
Aboot v20a

So i have a stock lollipop 5.0.2 v20a-eur-xx, there is no other version for my country Portugal, I wanted to install a recovery but can't find a unlooked aboot file for V20a can someone help???
[LG Optimus L90] Floating Point:
Which one?

LGD405N, LGD410 or LGD405N (carrier TMN)?
[LG Optimus L90] Marco_Vargas:
Sorry forgot to specifi, model lg d410, dual sim, no carrier...

Enviado do meu LG-D410 através de Tapatalk
[LG Optimus L90] Floating Point:
You can use D410 v20b unlocked aboot that is already available here in XDA.

I checked the locked aboot from the Portugal D410 v20a kdz and it has the has the same checksum of the international D410 v20a.

I didn't checked if the bootstack is the same (modem, laf, etc partitions)
[LG Optimus L90] Marco_Vargas:
Thanks, i will try.

Enviado do meu LG-D410 através de Tapatalk
[LG Optimus L90] Floating Point:
Make sure to flash the right version.

Not D410HN, not D410N, etc.
[LG Optimus L90] Marco_Vargas:
So installed, like you sad the 20b aboot, every thing went well, after unloking the bootloader, installed recovery, and xposed framework, to fix the lollipop memory leak, but cant install any modulles looked for solutions but cant find any, so i want to restore every thing back. So the question is, can i restore the backup that i made of the aboot file, in the same maner as i "installed", the modified aboot, will this relock the bootloader and restore the recovery?

Enviado do meu LG-D410 através de Tapatalk
[LG Optimus L90] Floating Point:
This memory leak fix is useless for our phone since colorfade is not present in LG frameworks. I would skip xposed for lollipop for now, specially in our l90, it's not really useful and have lots of bugs.

Keep your unlocked bootloader and custom recovery, from this you can go anywhere, you can even downgrade to kitkat by just flashing the bootstack and the rom flashable zip.

In the end of this topic you get the links to download Lollipop v20c bootstack and rom to flash from twrp: http://xdaforums.com/lg-l90/general/warning-d410hn-users-brazilian-dual-sim-t3223091

Boot TWRP

Wipe Dalvik/ System/ Data/ Cache (do NOT wipe internal storage and sdcard...)

Then flash:

- Lollipop v20c bootstack

- Lollipop v20c stock flashable ZIP (takes around 8 minutes)

- SuperSU flashable ZIP (https://download.chainfire.eu/696/SuperSU - you won't need kingroot anymore, you can root from twrp)

Reboot, you are plain stock and rooted again.

If you want KitKat use kitkat bootstack and stock flashable zip.
[LG Optimus L90] Marco_Vargas:
Thanks for the help...

Enviado do meu LG-D410 através de Tapatalk
[LG Optimus L90] Marco_Vargas:
So the stock flashable zip and Bootstack you talk about is for D410HN mine is only D410, won't this be a problem?

Enviado do meu LG-D410 através de Tapatalk
[LG Optimus L90] Floating Point:
Did you buy your L90 in Brazil? If yes, yours is probably a D410HN (dual sim with nfc variant).

To make sure which version you have, remove the back cover, remove battery, it's printed in the white sticker LG-D410hn BRA along your IMEI above.

Always make sure which version is yours, flashing wrong aboot can brick your device, L90 has around 5 variants, my files are only for the brazilian variant D410hn.
[LG Optimus L90] Marco_Vargas:
No i am from portugal my device is D410

Enviado do meu LG-D410 através de Tapatalk
[LG Optimus L90] Floating Point:
Well, sorry, but you flashed d410hn bootloader in d410? I know bootloaders in some variants are compatible, but bootstacks and system aren't. You are probably alright if you flashed d410hn unlocked bootloader.

I believe portugual d410 is the same CIS d410 shown in this topic: http://xdaforums.com/lg-l90/orig-development/flashablestock-zip-kk-l-via-recovery-t3137255

And the bootstack is available in this topic: http://xdaforums.com/lg-l90/development/bootstack-kk-l-l90-t3118632 - these bootstacks already includes the unlocked bootloader for your variant.

I hope you already made a modemst1 and 2 partitions backup before flashing anything.
[LG Optimus L90] Marco_Vargas:
I flashed de aboot.bin from D410-20b originaly it was D410-20a, (made a backup of original), only found about the backup of modems in your topic for D410nh after. But every thing is working, calls, sms. But i learned something, i will restore every thing from KDZ and create one unbrick.img before doing any thing else. Tanks

Enviado do meu LG-D410 através de Tapatalk
[LG Optimus L90] Floating Point:
There is no need to backup aboot, all the partitions (except modemst1 and 2) can be retrieved from the KDZ of your variant (these partitions can be extracted from the KDZ file).

Do not mistake modemst1 (mmcblk0p11) and modemst2 (mmcblk0p12) with modem partition (mmcblk0p1), they are different.

The unbrick.img of your phone is a secure measure, "just in case..." you face the infamous qualcomm qdloader brick, by using your own recovery image, you won't need to reflash modemst partitions afterwards to regain your IMEI data due flashing the image from other phone.

After restoring everything to stock, you may face FC's on first boot, in this case, just start your phone in factory reset ( vol - and pwr button, wait lg logo appear, etc...) and do a reset.
[LG Optimus L90] kumarpghag:
unlock bootloader

where can i find v20a file for unlocking bootloader..!

d410
[LG Optimus L90] dspacek:
i have D405n_v20c-EUR-XX stock rom rooted,lolipop 5.0.2

what file can i use to first unlock my bootloader

Thanks
[LG Optimus L90] Czarson:
Has anyone aboot.ini file for 20c version soft in D405n?
[LG Optimus L90] cymenx:
need unlocked bootloader

Hello, i have a D405_V20b-EUR-XX stock rom rooted with lollipop 5.0.2.

Can i use the v20a? file which is mentioned in this post:

http://xdaforums.com/lg-l90/development/recovery-twrp2-7-1-0lgl90w7xxshoxx-t2826150

If not, which file can i use to first unlock my bootloader?

thanks for you help.
[LG Optimus L90] m_univ:
Help D405N V20C-EUR-XXX

I would like to ask some experienced users to help in unlocking bootloder. My wife device LG L90 D405N is running android 5.0.2 and software version is V20C-EUR-XXX. I can not find the right aboot patched file anywhere for this version. Or have I missed something? I do not want to be in a situation where device is bricked or something like that. I'm doing this so I can flash custom recovery, and flash some privacy or better battery tools to improve battery life and performance od the device or doing full backups, so I can return the phone to its previous stable state, when something goes wrong.

I did root with help of kingroot, i was only succesfull way for me and then replace it with SUPERSU - http://xdaforums.com/lg-l90/general/root-lg-optimus-l90-44-2-5-0-2-android-t3110257 . I also did backups of my stock partitions so I have original files like aboot.img abootb.img or boot.img - http://xdaforums.com/lg-l90/help/lg-optimus-l90-stock-partition-images-t2854445 .

Here is my v20c 5.0.2 aboot.img https://www.dropbox.com/s/9fl6cc2ybdna75q/aboot.img?dl=0

Thanks fo any help.
[LG Optimus L90] amon_lb:
D405 V20C-EUR-XXX aboot.ini patch required :)

Hello,

Any news about aboot patch for v20c? I'm looking for it ervywhere :(
[LG Optimus L90] lfom:
What phone model? What for?

If you plan to flash CM13 or any Marshmallow ROM then you can flash a full bootstack using TWRP, it will also contain the unlocked bootloader AFAIK.

I mean, supposing you're on 20c, copy any unlocked aboot.bin, TWRP and bootstack to device, then:

1. Root

2. Backup aboot.bin

3. Flash unlocked aboot.bin

4. Flash TWRP

5. Reboot to recovery, flash any Lollipop bootstack for your phone model

6. Reboot to recovery again and flash CM13 and Gapps.

http://xdaforums.com/lg-l90/development/bootstack-kk-l-l90-t3118632
[LG Optimus L90] m_univ:
I want only custom recovery and stay on stock. This post is why I am asking.

http://xdaforums.com/showpost.php?p=63292272&postcount=57

"Boostack from previous version can cause some problems when my boot/system is v20c version." Or on my D405N model is it different situation?

Btw with your 1-5 steps my data contacts and other user settings stay untouchable? But with step 6, my settings are gone. Am I right?

Sorry for my English and thanks for any info.
[LG Optimus L90] amonlb:
Thanks for the info. The model is Polish LG L90 D405

So wich aboot.bin should i flash? Phone is rooted with kingroot and kingsu is installed. Oh and I want to flash the most stable and fast custom Rom because L90 on stock is laggy as hell after few months of use.
[LG Optimus L90] lfom:
Exactly, that's what I did. So if you have a D405n and are on 20c, and there's 20c bootstack for D405n, you can follow steps 1-5. If you don't do a factory reset then your data is safe. Just make sure you don't boot Android but go to recovery to flash bootstack after flashing unlocked aboot.bin.

PS: to be really safe you can backup your data to an external SD in TWRP after flashing it. Do at your own risk, I am not responsible for any damage. Good luck.

---------- Post added at 01:31 PM ---------- Previous post was at 01:20 PM ----------

Any unlocked aboot.bin just to boot to TWRP and flash latest bootstack for D405 (make sure it's for D405), then flash CM13. I used Resurrection Remix and liked it a lot.

PS: to be really safe you can backup your data to an external SD in TWRP after flashing it. Do at your own risk, I am not responsible for any damage. Good luck.
[LG Optimus L90] m_univ:
Thanks for info. But I cant find bootstack for D405N v20c nowhere. If I flash unlocked aboot.bin, custom recovery and then for example v20a boostack, I will come propably to some problems because of incompatibility? So only thing I can do, is then flash with TWRP v20a flashable stock ROM, and then restore my data, previously saved with LG backup app in my phone?
[LG Optimus L90] lfom:
If unlocked aboot.bin (needed for TWRP) is already for Lollipop (20a, 20b or 20c) then you don't need to flash bootstack. To avoid problems it's better to have same bootstack (aboot included) due to incompatibility, if any. But I'd say that the bootstack is the last one that would cause any problems. If you want to stay in 20c I would try first to flash just unlocked 20a or 20b aboot. If you want to stay as close to stock as possible then downgrading as you suggested is the best option. I myself used 20b unlocked aboot with flashable 20c with a D410hn for a long time until 20c bootstack was made available, without any problems, just the wrong info in phone settings about the version.
[LG Optimus L90] laughitup408:
If a system Info app says unknown version, does that mean unlocked?
[LG Optimus L90] irfan61802:
Help...ADB confusing

Hi,

how exactly would i download adb for the d415. I still dont get the part where it says add path to windows. BTW i have windows 10. Please help. Thanks in advance
[LG Optimus L90] bernardblack76:
I do exatly what is in post 1 and ..... u should give screen what happens wfater command push....... i have only # on the end i i dont kno if bootloader is unlocked, when i try flash recovery via room installer is nothing hapened, i dont have twrp recovery.... so if someone help i will thank

AND milion dolar qestion how to proper check if bootloader is unlocked ?:)
[LG Optimus L90] lfom:
You know it is unlocked because you can boot to custom recovery. What's your phone model, it's the first think you should tell. Make sue you use the correct aboot for your phone model and Android version, I like to use Hashr to flash recovery, had problems with Flashfy.
[LG Optimus L90] bernardblack76:
Thx fro reply, but this was strange couple of hours - i do exactly what they say in both threads: unlock bootloader By gdjindal method and from this thread and.... when i try flash recovery via rom installer - aplication says no recovery partition ERROR but flash recovery (twrp) succes - but no succes in boot into recovery on any methods.

So i flash again kdz KK 10b (for a 4-7 times maybe) and now i use method unlock from this thread and flash recovery via flash tool Rashr and loooooooooool i see boot into recovery i dont believe this ;) but still, i dont kno why ROM installer showing me Error partition recovery
[LG Optimus L90] Rik86:
I need help while try to unlock the bootloader Lg L90 405n, it say broken pipe error, and now don't reboot, no signal live
[LG Optimus L90] podtalje:
It would help if you would explain in detail what exactly did you do that got you into this state.

Another question is, if you connect the phone to the USB, do you see the phone in File explorer under My Computer or do you see anything in the Device Manager in section Ports.
[LG Optimus L90] Rik86:
This is happened when i was tried to send command via adb for unlock bootloader.

If i connect to pc i can see the phone in File explorer, only 2 folders inside: image and verinfo. Avaible space 63,9 mb

Sorry for my english :(
[LG Optimus L90] podtalje:
I had the same situation like you, where phone was not turning on and I could only see partition of size 64MB.

I managed to reflash the phone by following the steps, mentioned in the:

https://xdaforums.com/showpost.php?p=65056218&postcount=108
[LG Optimus L90] syed sajid:
When I previously unlock the bootloader and roots is works but yesterday I tried the same process to unlock the bootlader it's done but I can't able to go on recovery mode and fastboot mode then now phone stuck on lg logo and stucked, on the screen its appears like fastboot() init() something like this..when I trying to go on fastboot mode it isn't possible..kindly help me..
[LG Optimus L90] phidias81:
I can't find the file for d410 v20c.

How can I unlock my bootloader? Thank you
[LG Optimus L90] topaza:
I have the same version.

Did you manage to unlock your device?
[LG Optimus L90] cymenx:
Yes, the version v20a works fine :) Im running now lineage 14.1 with android 7.1.2 :) its amazing.
[LG Optimus L90] hercegovina:
:confused:

Sorry for interrupting , but I can't unlock my bootloader. I tryed and I tryed everything. I followed steps as you wrote.

I don't have an SD card, so I have to copy aboot.bin file directly on my phone's internal storage.

But that is the problem.

When I enter that command:

adb push aboot.bin /storage/emulated/0/aboot.bin

to copy aboot.bin file from folder on my PC to folder on my phone,

It says to me failed to copy "aboot.bin" ........ no such a file or directory. :confused:

I don't understand...?!? I have that file in my folder.

Is there is no such a file or directory on my computer? Or destination folder on my phone is not OK? Or something else?

Could you tell me what is destination of my phone when I am in CMD ?

P.S. I tryed some solutions from other forums and some guy wrote that after turning "USB debugging" ON , also it has to be enabled some "OEM unlock". :( I was searching, but it appears I don't have that option in my developer options.
[LG Optimus L90] 0000.0000.00:
So the cmd you opened has to be in the same directory where the aboot file is and adb should be in the path on the computer.
[LG Optimus L90] hercegovina:
Well, I am generally new to this world of "flashing ROMs" and I read so many posts on internet last few day so my head hurts :D

So, I put all that adb, aboot, sdk,...etc files to one folder (I tought that would help) :confused:

(I would put some screenshots but I am unable to post external links )

I think that part is OK, because I open CMD in that folder where all that files are...

But, I am not sure that aboot is in the path on the computer. :confused: I mean, i did set a new Enviroment Variable and I set a path to that folder where all that files are (including aboot.bin)

But still same message.

I was wondering, maybe probelm is that I can't get my LG device ID because I don't have option "enable OEM" in developer options...

OR, is it problem that I don't have SDcard so I'm trying to copy aboot.bin on internal storage?
[LG Optimus L90] 0000.0000.00:
Ok so open a cmd in the same folder as adb and aboot stuff. Type in dir and press enter. After that copy and paste the results of that command here.
[LG Optimus L90] hercegovina:
OK. Sorry, I just read your post.

I can't post pictures, so I'll post code.

C:\Users\computer\Downloads\aaa>dir
Volume in drive C has no label.
Volume Serial Number is C0E8-9240

Directory of C:\Users\computer\Downloads\aaa

05.01.2018. 14:02 <DIR> .
05.01.2018. 14:02 <DIR> ..
25.06.2014. 12:14 2.097.152 aboot.bin
04.01.2018. 18:13 <DIR> adb-fastboot-win
04.01.2018. 17:41 571.611 adb-fastboot-win.zip
04.01.2018. 23:49 9.614.711 adb-setup-1.4.3.exe
26.06.2014. 18:56 908.800 adb.exe
26.06.2014. 18:56 96.256 AdbWinApi.dll
26.06.2014. 18:56 60.928 AdbWinUsbApi.dll
04.01.2018. 18:01 631.639 AdbWin_1.0.31.zip
04.01.2018. 20:27 <DIR> api
13.12.2017. 22:24 145.920 dmtracedump.exe
13.12.2017. 22:24 333.824 etc1tool.exe
26.06.2014. 18:56 168.448 fastboot.exe
13.12.2017. 22:24 43.008 hprof-conv.exe
04.01.2018. 17:24 <DIR> L90_D405n_v10b_hack
04.01.2018. 18:00 288.456 L90_D405n_v10b_hack.zip
04.01.2018. 16:34 16.691.672 LGMobileDriver_WHQL_Ver_4.2.0.exe
04.01.2018. 17:10 278.000 LGMobileSupportTool.exe
04.01.2018. 20:27 <DIR> lib64
13.12.2017. 22:24 210.625 libwinpthread-1.dll
13.12.2017. 22:24 345.600 make_f2fs.exe
13.12.2017. 22:24 1.184 mke2fs.conf
13.12.2017. 22:24 1.034.240 mke2fs.exe
13.12.2017. 22:24 323.847 NOTICE.txt
04.01.2018. 17:24 <DIR> platform-tools-latest-windows
04.01.2018. 17:29 4.737.241 platform-tools-latest-windows.zip
11.12.2017. 23:02 912.926.389 Sigurnosna1^01.lbf
04.01.2018. 17:35 307.618.605 Slim-w7-7.1.2.build.1.17-WEEKLY-20171127-0952.zip
13.12.2017. 22:24 38 source.properties
13.12.2017. 22:24 793.600 sqlite3.exe
15.09.2013. 01:54 13 START.cmd
04.01.2018. 20:27 <DIR> systrace
25 File(s) 1.259.921.807 bytes
8 Dir(s) 81.045.630.976 bytes free

C:\Users\computer\Downloads\aaa>
[LG Optimus L90] 0000.0000.00:
Try running

adb push aboot.bin /storage/emulated/0/

And tell me if there are any errors. And run it in the folder with aboot stuff.
[LG Optimus L90] hercegovina:
Here it is :

C:\Users\computer\Downloads\aaa>adb push aboot.bin /storage/emulated/0/
failed to copy 'aboot.bin' to '/storage/emulated/0/': Is a directory

C:\Users\computer\Downloads\aaa>

I am not sure how this computer language is working, but I supose that I should write aboot.bin file in the end of destination folder on my phone... This error sounds me just like that.
[LG Optimus L90] 0000.0000.00:
Ok to write that file in destination folder on your phone and push aboot to your phone run these commands below:

adb shell
cd /storage/emulated/0
touch aboot.bin
exit
adb push aboot.bin /storage/emulated/0/aboot.bin

Try that and tell me if it works or not.
[LG Optimus L90] hercegovina:
Since noone replied to me, I did something myself.

I susposed that all this commands in CMD are to :

1) copy aboot.bin file from computer to internal storage of the phone

2) save original aboot (stockaboot) file from phone to another place in phone

3) replace original aboot with modified file.

So I did all this manually without CMD.

I don't know is this OK, so far no problems... If I am wrong tell me to fix it.

I guess commands in CMD didn't work because destination folder /storage/emulated/0/aboot.bin in my phone is not correct. I was looking that path in my phone with file explorer app, and I DID NOT FIND FOLDER /emulated/0/.

Somehow, it seems like , when I roooted phone (with Kingoroot) that folder dissapeared, or was renamed. So in file explorer app I found folder /sdcard/0/ although I don't have SDcard ?!? :confused:

Anyway, I suposed, that is it, and I did all that stuff manually via "file explorer" app.

I also manually found originally "stock" aboot.bin and did replacement.

If someone thinks I did something wrong pleas tell me :laugh::fingers-crossed:
[LG Optimus L90] 0000.0000.00:
I think that sounds right then because kingroot is a little weird.