yashsingh1/xdaforums huggingface dataset:
[LG G Flex 2] maxld:
Okay, unfortunately you have to rule me out. I am selling this ridiculous phone.
[LG G Flex 2] Dreamisdead:
I am against paying for this, but the phone really needs unlocked bootloader. If it will motivate someone smart, sure why not.

I mean the hardware is great but there is so much we can do with this phone if it gets unlocked.

Just imagine custom kernel with stock android, no LG services, clean and smooth interface.
[LG G Flex 2] sensationvsgalaxy:
I can understand what you are thinking, but we're not giving LG this money. :D, we're giving it to the independent guy\girl who will work hours\days to crack this.. If we had to pay LG then it would be immoral ..maybe even illegal - cus Android is open-source from Google..
[LG G Flex 2] k3lcior:
Dont think bootloaders are part of Google AOSP project..
[LG G Flex 2] abhishek.banerjee:
so whats the total and who is working?
[LG G Flex 2] fergy:
LK bootloader is open source. Part of it is LG's closed source.
[LG G Flex 2] le grande magnetto:
do you even logic? :D:Dno need bounty thread, better sign meaningless petition. ayyyy.

20 euros from me if BL is working with h955 (European).

Suspending it while my phone is broken.
[LG G Flex 2] fergy:
Better pay some security researcher or dev to make a things instead to make this funny posts here....
[LG G Flex 2] k3lcior:
Exactly, CEO won't even read it.
[LG G Flex 2] ajslay:
Keeping this alive.. If no unlock is found in a month I'm getting rid of mine too. The Alcatel one touch idol 4s will be my new phone.
[LG G Flex 2] le grande magnetto:
I would, and this is what this thread is about! omg...

and meanwhile I can make fun of people, who say that this thread is useless and spam, and people would be better off with signing petition online... and that person is you. :D
[LG G Flex 2] psone1:
Exactly:D and you don't answer me how install custom recovery for flex 2 because some post higher you wrote it's so simple

Wysłane z mojego LG-H955 przy użyciu Tapatalka
[LG G Flex 2] sensationvsgalaxy:
I up my donation from 20 to 30€

thanks
[LG G Flex 2] sensationvsgalaxy:
just bumping thread ;)

I may up my donation again even further..but have to see first how things will go with my G928 ... I want to sell it.. depends on that..
[LG G Flex 2] fergy:
Well... Buy some octoplusbox and unlock it... Then custom recovery will be available.

M8's this bounty is nothing. Noone will make any unlock as this phone is not interesting. That's it. Take a real look... It's not anymore flagship and noone was push when it was released... Now? Don't think so. And You can say whatever You want. Buy jtag, unlock and do something.
[LG G Flex 2] k3lcior:
Just leave if this doesn't interest you. Your posts make 0 sense, just go away.
[LG G Flex 2] xantanion:
Seriously if they want to try let them and go away.
[LG G Flex 2] iammclovin804:
Can anyone give me the proper command to flash Nick's boot to my phone. I guess I did it wrong earlier or something.
[LG G Flex 2] stars2:
1. Copy the boot.img (boot_mmcblk0p36.img) to your internal storage

2. Power off your phone

3. Install this driver http://tool.lime.gdms.lge.com/dn/downloader.dev?fileKey=UW00120120425

4. Hold Volume Up and connect to pc

5. Open command line, and use Send_Command.exe (download from http://wikisend.com/download/951610/LG_Send_Command.zip)

6. To get diag port number, type this to command line window

reg query HKLM\hardware\devicemap\SERIALCOMM

* example, if you see this (with different port), \Device\LGANDNETDIAG1 REG_SZ COM4, use this port

7. Type this: Send_Command.exe \\.\COM4

8. And after this, type: id

10. Flash boot image with dd:

dd if=/data/media/0/boot_mmcblk0p36.img bs=8192 seek=28672 count=5120 of=/dev/block/mmcblk0

11. Type: LEAVE
[LG G Flex 2] iammclovin804:
Ok so I was doing

dd if=/storage/emulated/0/boot.img of=/dev/block/mmcblk0p36

and it would say

81920+0 records in

81920+0 records out

41943040 bytes transferred in 5.639 secs (7438028 bytes/sec)

so just to clarify, this actually didn't do anything?
[LG G Flex 2] stars2:
this is so good, what's wrong?
[LG G Flex 2] iammclovin804:
Well what I posted is what I was doing before and the commands you posted were slightly different so I was just double checking before doing anything else. But I did the commands you posted and the one I was doing before and my phone rebooted normally with both.
[LG G Flex 2] fergy:
http://octoplusbox.com/en/news/octoplus-octopus-box-lg-software-v-1-9-8-is-out/
[LG G Flex 2] Nick80835:
Woo, there it is!

Sent from my G Flex 2
[LG G Flex 2] fergy:
You can flash partition to push boot.img to storage/external_SD:

adb push boot.img storage/external_SD

and then:

adb shell

su

dd if=/storage/external_SD/boot.img of=/dev/block/platform/f9824900.sdhci/by-name/boot

Also, You can erase, flash and whatever You want to do with any partition if phone is rooted and booted into system...

---------- Post added at 22:24 ---------- Previous post was at 22:21 ----------

Should I upload device tree on github...? Anyone want to play with build of cm-13 and try to flash over above windoze commands as We was flash rooted system.img?
[LG G Flex 2] iammclovin804:
Fergy, I did your version of the command too and my phone still reboots normally after it says the file has copied. Is there further testing to do from here?
[LG G Flex 2] fergy:
Which command You use and what partitions You flash?
[LG G Flex 2] iammclovin804:
dd if=/storage/external_SD/boot.img of=/dev/block/platform/f9824900.sdhci/by-name/boot

I did that one that you posted
[LG G Flex 2] fergy:
and which boot You use? own backup or?
[LG G Flex 2] iammclovin804:
I used Nick's boot.img
[LG G Flex 2] fergy:
....and You reboot, and phone boot without problem?

How's that now?
[LG G Flex 2] iammclovin804:
Yeah I rebooted and it doesn't seem like anything's changed at all. Should I try flashing something else?
[LG G Flex 2] fergy:
make backup of laf and try to flash it. Then power phone off, press volume down, hold it and put usb cable until You hold volume down. Let Me know if You enter in download mode or it give security error
[LG G Flex 2] iammclovin804:
Flash Nick's laf or flash something else?
[LG G Flex 2] Nick80835:
My device does not have an unlocked bootloader, but is using unique hardware, flashing these things will only bring you pain, nothing more...

Sent from my G Flex 2
[LG G Flex 2] fergy:
Ya...forget. We need unlocked sbl1 and aboot
[LG G Flex 2] iammclovin804:
Alrighty then. Well I'm willing to try and flash my phone with that CM13 img you were talking about if you want to post it up.
[LG G Flex 2] fergy:
Sources are on github HERE and HERE. Let someone build it. I don't have a time at the moment.
[LG G Flex 2] Nick80835:
Once built, would it be flashed via download mode, or FlashFire

Sent from my G Flex 2
[LG G Flex 2] iammclovin804:
I'd do it but I have no idea how to build that.
[LG G Flex 2] fergy:
same as You was flash that rootedsystem.img, so, download mode.

---------- Post added at 23:40 ---------- Previous post was at 23:39 ----------

I'll build system over weekend. Just have some other things to do right now.
[LG G Flex 2] Nick80835:
I read somewhere that if you flash an unsigned system image, the phone refuses to boot for some reason, maybe file integrity checks???
[LG G Flex 2] iammclovin804:
I've got plenty of time to do it if you could write up a quick how to. I just don't know exactly what to do.
[LG G Flex 2] fyter:
Check this http://xdaforums.com/showthread.php?t=2608408

It could help to get CM in our phone.
[LG G Flex 2] VanoSM:
I'll try compile CM12.1, just repo sync
[LG G Flex 2] Nick80835:
Has anyone else noticed the device doesnt turn off cores unless there is too much heat? Isnt that bad on battery? The phones just chugging away with all cores even with no load!

Custom roms would be extra nice to fix this.
[LG G Flex 2] Nick80835:
I sorta just soft bricked my phone again, and idk how to fix it this time, i changed the permissions on my system partition to read, write, execute, for all of the categories, and nto it wont boot, gets stuck at LG logo screen and the LED pulses, like normal boot, but the phone doesnt boot, i do not have my rooted system image on my internal storage, and i can get into download mode, any way to change fs permissions through download mode using Send_Command?
[LG G Flex 2] adds08:
Custom roms are still ages away i guess .. Even fergys idea cannot tweak anything kernel related..

---------- Post added at 07:56 PM ---------- Previous post was at 07:55 PM ----------

Flash the h950 11z tot if yu have...look into threads

If not look for a thread that says new way to recover softbrick device or smth lile tht..
[LG G Flex 2] Nick80835:
i dont have a tot, just the system image, can i use that?
[LG G Flex 2] anonimowywybryk:
http://storagecow.eu/index.php?dir=Xda/LG+G+Flex+2/ATT+H950/

Z11 tot
[LG G Flex 2] Nick80835:
well i cant do that, i have very little internet left... is there a way to convert an img to a tot???

---------- Post added at 03:34 PM ---------- Previous post was at 03:28 PM ----------

If I could copy the img to the root of my storage, i would be fine, its on the root of my external sd, but idk how to move it to the internal, and it doesnt seem to be mounted.
[LG G Flex 2] fyter:
[MENTION=6755707]Nick80835[/MENTION] check this method

http://xdaforums.com/g-flex2/help/to-unbrick-g-flex-2-ls996-t3286105
[LG G Flex 2] Nick80835:
That may work, but what do you think happens if you send in a developer phone in for repair, and you request a full device re install? Would they install an unlocked bootloader?

Sent from my Nexus 5
[LG G Flex 2] iammclovin804:
They'd probably take it and give you a refurbished regular phone.
[LG G Flex 2] Nick80835:
They dont repair, they just take the old, and give the dusty?

Sent from my Nexus 5
[LG G Flex 2] iammclovin804:
I don't know exactly what their process is but I know it's a commonplace thing. It makes more sense for a business to take in broken phones and send out phones that have already been repaired to save the customer time.
[LG G Flex 2] iammclovin804:
Anyone know how to mess around with a system.img so I can replace some stuff? The oneplus 2 is almost identical to the g flex 2 hardware wise (snapdragon 810, msm8994, ram size, etc) and I pulled a system.img from their cyanogenmod 12.1 rom. I don't know how to flash it though.

---------- Post added at 12:58 AM ---------- Previous post was at 12:27 AM ----------

Just for laughs I flashed the oneplus 2 boot.img and got secure boot error 1003. Currently TOT restoring lol
[LG G Flex 2] Nick80835:
Progress! That error means your one step closer to a brick, get enough bricks and you get a free pizza, get 2048 bricks, get a free house!

Sent from my Nexus 5
[LG G Flex 2] iammclovin804:
It's a second phone that I have no use for. It I brick it it's no big deal. At least I'm trying to come up with something.
[LG G Flex 2] Nick80835:
Im working on unbrick software, but its really stubborn to get the system partition to flash my rebuilt images, my phones bricked right now, so i figured id try to fix that...

Sent from my Nexus 5
[LG G Flex 2] iammclovin804:
You can't TOT restore? If you can get to download mode you can TOT with LG flash tool. I've done it like 5 times now.
[LG G Flex 2] Nick80835:
Im going to tot restore tomorrow, i just figured id try to make another way to do it, im gonna download the tot tomorrow at school, cuz unlimited n stuff

You might be able to unpack the cm12.1 image using ext4 unpacker, search for it, its on xda somewhere, maybe

Sent from my Nexus 5

---------- Post added at 01:33 AM ---------- Previous post was at 01:28 AM ----------

Im wondering what im doing wrong though, i pushed 270 files to my device using the file push binary, then combined them to one img using dd through send command, and tried to replace the system partition with the image, whats wrong?

Sent from my Nexus 5
[LG G Flex 2] iammclovin804:
I just hardbricked trying to flash cm12.1 system.img looks like I'm out on this one.
[LG G Flex 2] Nick80835:
Aww...

Sent from my Nexus 5
[LG G Flex 2] Sauliuz:
Why are you doing such a nonsense in the first place?...
[LG G Flex 2] iammclovin804:
Because I was trying different things? It let me flash the recovery without any craziness so I figured I'd try the system.
[LG G Flex 2] Nick80835:
Hows your device hard bricked?

Sent from my Nexus 5
[LG G Flex 2] Dreamisdead:
If it's just system, you can restore it.

It is always good to keep a copy of your system.img on phone flash, so you can restore using dd from download mode.

Well if you flash boot or recovery it's a different story.
[LG G Flex 2] Nick80835:
Maybe he nuked laf?

Sent from my Nexus 5
[LG G Flex 2] iammclovin804:
No download mode anymore. Screen doesn't turn on and it shows up as Qualcomm usb qhub or something like that in device manager.
[LG G Flex 2] Nick80835:
9008? Or no, you most likely need a jtag either way...

Sent from my Nexus 5
[LG G Flex 2] iammclovin804:
Yeah 9008. No big deal. It'll just go back into the drawer it was sitting in before.
[LG G Flex 2] jplum22:
Let you flash recovery? Are you saying you were able to get custom recovery?
[LG G Flex 2] Nick80835:
Its bricked i assume, because it flashed, but he cant boot into it because its not signed and no exploit is employed by it to run unsigned, like bump, which worked on my lollipop G3, i thought bump was patched in lollipop

Sent from my Nexus 5
[LG G Flex 2] iammclovin804:
It flashed and booted into the phone normally. But adb reboot recovery still did nothing but regularly boot the phone.

It bricked after I flashed system.img.
[LG G Flex 2] fergy:
You need to mount system.img as superuser on Your Linux PC and add/remove whatever You want. Then just unmount it. That's how root was embedded inside.

---------- Post added at 20:09 ---------- Previous post was at 20:06 ----------

Bump work on L. Not on M. Lk was upgraded and security is also upgraded, so no more "old way" patch. Also They patch sbl1 this time (well, actually not LG but security researchers)
[LG G Flex 2] Nick80835:
Good to know, thought it was patched in LP not MM

Sent from my Nexus 5
[LG G Flex 2] Nick80835:
Strangest thing just happened, I reset my device using a TOT, which factory resets the device, and im still rooted, I didnt even have to try and root it, I set up my device, and SuperSU is in my drawer, I open it, and it works flawlessly! I just thought that was really weird, anyone else encountered that???
[LG G Flex 2] mauchito:
IIRC, even if you factory reset the root is still there on this device.
[LG G Flex 2] Nick80835:
I flashed a TOT, which should have removed the SU binary, its supposed to wipe system and reflash it.
[LG G Flex 2] iammclovin804:
If you downloaded the TOT from here it's rooted already.
[LG G Flex 2] Nick80835:
Oh, cool, I didnt know that, case closed!
[LG G Flex 2] Nick80835:
Anyone have any news on progress with anything? Its gone quiet.
[LG G Flex 2] dadaa1:
Nasa guy, our last hope where is he hiding? We need someone who really can and I think we haven't reach that person yet. Or someone who is working at LG some kind of leak perhaps...
[LG G Flex 2] Nick80835:
I remember that post

Sent from my Nexus 5
[LG G Flex 2] xantanion:
So on the G Stylo they ended up getting fastboot commands with marshmallow perhaps we will get fastboot commands if we ever get upgraded to marshmallow
[LG G Flex 2] assyriska:
maybe [MENTION=352916]fergy[/MENTION] will get access to the device....maybe per jtag
[LG G Flex 2] fergy:
Working on it. Was purchase jtag. In a mean time was buy xperia Z5... And defo LG suck with disable commands from fastboot.
[LG G Flex 2] Nick80835:
I hear the Z5 is a fantastic device, and i think sony allows bootloader unlock on a crap load of devices hassle-free (rolls eyes to LG)
[LG G Flex 2] Nick80835:
Any progress on this? Its gone quiet once more, and i hope somebody is out there trying to fix this, and my thanks go out to them if they are.
[LG G Flex 2] MaineO:
Fergy said he was working on it. I'm sure if there are any updates he'll let us know. We just have to be patient.
[LG G Flex 2] calichelozano:
Waiting on this.
[LG G Flex 2] Nick80835:
We must have faith in our great devs and hackers! They are great people!
[LG G Flex 2] iammclovin804:
Just bought a oneplus if anyone wants my old flex 2's for dev phones. One works perfectly and the other is bricked as everyone knows lol.
[LG G Flex 2] Nick80835:
Price?
[LG G Flex 2] copy2050:
Did you know why Sony have a lot of devices with Bootloader Unlock capabilities?! Because if you remember last year Sony came with a lot of phones with Mediatek processors and if you dont know Mediatek chips almost 90% are capable to unlock the bootloader!

I see a lot of people saying Mediatek is crap but then they have a lot more to offer than Qualcomm because the allow theyr costumers to unlock it and do what they want!

But still i prefer a qualcomm processor instead of Mediatek...
[LG G Flex 2] Nick80835:
Same, Qualcomm is better than MediaTek, at least in performance on the GPU
[LG G Flex 2] Don_Dimon:
Many devices have the same CPU/GPU Hardware, can we use a modificated unlocked Kernel from one of these devices to unlock the G flex 2?
[LG G Flex 2] Nick80835:
In short, no.
[LG G Flex 2] Distelcool:
Any progress with this?
[LG G Flex 2] sensationvsgalaxy:
no
[LG G Flex 2] Liffeyman:
I wonder will they ever add flex 2 to the list?

http://www.androidpolice.com/2016/0...ool-adds-the-lg-v10-for-europe-except-france/

---------- Post added at 11:41 PM ---------- Previous post was at 11:27 PM ----------

Hmmm, what would happen if you went through the process of unlocking. Would they give you the unlock code? Only one way to find out!
[LG G Flex 2] pelelademadera:
a few months ago I build an AOSP, and device dont boot, I dont remember the error, but some security, so bootloader locks boot and system partition.

I try with a custom boot, and with stock kernel and only aosp system and all the same
[LG G Flex 2] Nick80835:
If anyone has time and an H950, could you take the back off your device and take a clear picture of the internal back for me? I need a clear image of this to check something. TIA I only want an image of an H950 or H955
[LG G Flex 2] culot:
Pick me?
[LG G Flex 2] underscorenorm:
https://drive.google.com/folderview?id=0B6Up8H9yGILPUXFwTG00R3VPM1U&usp=sharing

3 pics of my H950
[LG G Flex 2] petraru1:
Could this help us? http://pocketnow.com/2016/05/31/has-encryption-on-qualcomm-devices-been-circumvented
[LG G Flex 2] Liffeyman:
I'm no expert, but this is looking very promising
[LG G Flex 2] Nick80835:
If this were to work, wouldnt we need the specific keys for all device models of the G Flex 2 to help everybody? I also found something funny about my device, the production date is 2001/01/01, this thing is not normal at all, haha.
[LG G Flex 2] assyriska:
We have to wait until [MENTION=7459177]laginimaineb[/MENTION] will release the script.....
[LG G Flex 2] Nick80835:
The way this would help us is by allowing us to decrypt the bootloader? Or am I missing something?
[LG G Flex 2] Nick80835:
This is kind of... really weird.
[LG G Flex 2] WaPeR32:
What happened to your phone?
[LG G Flex 2] Nick80835:
Its like that normally.
[LG G Flex 2] adds08:
Idk if i sound totally stupid or smth...so here goes

so given that widevine Qualcomm trustlet are vulnerable can we hijack the kernel..

Also if system partition is not checked for any signature check

Can we partition it into 3 different parts for custom recovery kernel and system..

If kernel hijacking is possible we can make the stock kernel load the custom kernel into into ramdisk which can inturn give a minimal recovery and a custom rom...we can indeed specify the partition headers of system and kernel in the custom kernel right?

Sorry if i sound stupid! But just an idea i shared..
[LG G Flex 2] Nick80835:
This would allow a kexec hardboot like thing, I think, so we could probably have something like multirom or safestrap, which would allow for us to (maybe) load other kernels, and systems, but I dont think the original kernel would like seeing a system partition thats modified, and trying to check for that, THEN loading another kernel, maybe we could just remove the checks altogether.
[LG G Flex 2] adds08:
Idk bt there is no PRDiag in any widevine..maybe trustlets for sd810 is upgraded...

Also i could not repack the laf.img says pagesize error im mkbootimg...
[LG G Flex 2] Nick80835:
Ive tried booting a custom laf, it wont work.
[LG G Flex 2] adds08:
What happens?

U dd it into laf partition..

Does it brick?

If u could dd it then ur phone should bot have download mode right and it would permanently brick ....

Could you explain to me..?
[LG G Flex 2] mauchito:
Is something I can do to help? I'm tired of having the phone on my drawer, thinking of selling it.
[LG G Flex 2] Nick80835:
It wont brick it, but it wont let you boot into laf, it says unsigned image.
[LG G Flex 2] assyriska:
[MENTION=352916]fergy[/MENTION] any new news about jtag or marshmallow changes?
[LG G Flex 2] fergy:
yes. at the moment resistor was blown...so device dead until I resolder new one.
[LG G Flex 2] Nick80835:
I see you got a Z5.
[LG G Flex 2] fergy:
yes, but will not stop with flex until find out solution...was open device and...ehh, push wrong pins...so resistor is dead.
[LG G Flex 2] MrExelzior:
is the bootloader unlockable in the MM update?
[LG G Flex 2] drmilosh:
At the moment, no.

And please, read a couple of pages before you post a question..
[LG G Flex 2] remorema:
Got this phone just a week ago. Never had a phone I couldn't "play" with. It's annoying as hell having a locked phone.

Instead of unlocking bootloader did someone tried old method of bumping kernel. Or is that method deprecated already?

Sorry for the noob question but I've been off Lg phones for over a year.

Edit: btw if I don't sell it before that. I'll throw in 20€ for the bounty

Enviado do meu LG-H955 através de Tapatalk
[LG G Flex 2] Nick80835:
Bump does not work on this device, never has.
[LG G Flex 2] remorema:
LG must have changed keys.

In theory it should be possible if someone had the skills to grab the new keys.

Not that I have the necessary skills but imho that should be a decent approach for someone looking to collect this bounty.

Enviado do meu LG-H955 através de Tapatalk
[LG G Flex 2] Nick80835:
I think the exploit was patched in all the newer devices, like the G4, Flex 2, and V10, etc.
[LG G Flex 2] remorema:
What about asking Lg to unlock it the same way they unlock the G4. Just put my flex 2 imei on the form and hope they let it slip?

Enviado do meu LG-H955 através de Tapatalk
[LG G Flex 2] fyter:
The flex2 does not have fastboot mode, so the unlock method for G4 is not useful.
[LG G Flex 2] Nick80835:
Why doesnt this device have a built-in recovery, like the G3? This always confused me.
[LG G Flex 2] Sauliuz:
I believe that nobody will unlock this anytime soon, or unlock it at all, but just in case - I remove my 100€ bounty as I will have Oneplus 3 soon.
[LG G Flex 2] yellowman82:
Honestly I don't think it's ever going to be unlock. Look at the first G Flex still hasn't been unlocked this phone is following the same footsteps of the first G Flex. A lot of folks should be doing their homework before getting this device that way they don't waste their time or come on here ranting about the locked bootloader when in honesty they're the one's to blame because they didn't research this device before buying it.
[LG G Flex 2] appleknight:
I'm happy with stock 5.1.1, I've got it modded to where I like it, if it's ever unlocked cool, if not we'll thats cool too not like I'll own it forever!
[LG G Flex 2] drmilosh:
It is a shame we don't have `unlike` button..
[LG G Flex 2] sslmm:
Could this help ?

http://xdaforums.com/android/software-hacking/guide-how-to-reboot-to-edl-fastboot-t3394292
[LG G Flex 2] k3lcior:
AFAIK we dont even have functional fastboot.
[LG G Flex 2] Nick80835:
Nothing works properly.
[LG G Flex 2] Redline:
The phone itself does.
[LG G Flex 2] Nick80835:
True, but fastboot commands wont work such as flash and the like.
[LG G Flex 2] Redline:
Fair enough, but we have Flashfire, KDZs, TOT and other things.