arturkow2000 / lgk10exploit

21 stars 1 forks source link

Linux Procedure #1

Open rdlf4 opened 1 year ago

rdlf4 commented 1 year ago

Hi Dev, thank you for putting the time and effort into this issue. Typically Mediatek-based device owners get devs' cold shoulder when it comes to enabling them to unlock the bootloader and installing TWRP in order to install a custom rom on their devices. I can relate. I've been using my LG K10 since 2017. I do not support the idea of switching devices unless I have got absolutely no other choice. So yeah, my LG K10 (2017) is still kicking, but I've been stuck with Android Nougat all this time and I'd like to see what's in store with Android 10Q. Searching around XDA I found [your thread](https://forum.xda-developers.com/t/exploit-bootloader-mediatek-based-lg-k10-2017-m250-bootloader-secure-boot-bypass.4183545/) I was happy but it was short-lived as I saw the procedures for Linux are still on your to-do list. Now, as much as I'd like to install a custom rom on my phone, that's hardly ever an excuse to create a new partition on my sdd and install windows in order to follow the procedures provided in your git page. I'm on Mint.

Would you consider making a tutorial for UbuntuLinux Mint users? Thanks in advance.

arturkow2000 commented 1 year ago

@rdlf4 Hello, I added Linux instructions.

Regarding, the custom OS: currently, no custom OS for this phone exists and porting one requires a massive amount of work. Currently, the exploit will only allow you to install custom recovery or root your phone. Newer Android versions require newer kernel, IIRC 5.x at least, but LG kernel is 3.18. Mainline Linux (nor latest Android kernel - Google's fork of Linux) doesn't support this platform, all kernels for MT6755 I'm aware of are still on 3.x, getting new Android would require porting drivers to latest Android kernel. Then, with a working kernel, I could start porting a new Android version. I plan to start work on getting latest Linux running on this phone, someday. With a working Linux, probably I could get latest Android running.

arturkow2000 commented 1 year ago

Recent OS version (Oreo) can be unlocked and won't require having microloader injected into bootimages. If you are still on Nougat you can try running bin/lk_fastboot.bin (just do python3 pl.py -w --fastboot), if you get into fastboot you can unlock the bootloader with standard procedures (fastboot oem unlock, this will erase your data). The you backup your seccfg partition, you can use download agent to do this, or from Android if you have temp root. Then update to Oreo and restore your seccfg partition.

Another method is using mtkclient, some folks used it to unlock the phone, I haven't tried it myself.

ghost commented 8 months ago

@rdlf4 Hello, I added Linux instructions. Regarding, the custom OS: currently, no custom OS for this phone exists and porting one requires a massive amount of work. Currently, the exploit will only allow you to install custom recovery or root your phone. Newer Android versions require newer kernel, IIRC 5.x at least, but LG kernel is 3.18. Mainline Linux (nor latest Android kernel - Google's fork of Linux) doesn't support this platform, all kernels for MT6755 I'm aware of are still on 3.x, getting new Android would require porting drivers to latest Android kernel. Then, with a working kernel, I could start porting a new Android version. I plan to start work on getting latest Linux running on this phone, someday. With a working Linux, probably I could get latest Android running.

What's the progress now. Are you still working on it.

You might want to do it yourself.