• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[max_plus / x910] TWRP for the LeEco Le Max Pro

Search This thread

ThE_MarD

Senior Member
Dec 10, 2014
3,006
3,527
Grande Prairie
LeEco Le Max 2
Moto X4
TWRP-Feature-Image-810x298_c.png
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about doing this to your device
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

This is for Official and Test builds of TWRP for the LeEco Le Max Pro (max_plus / LeTv x910)

Official Downloads:
https://twrp.me/leeco/leecolemaxpro.html

Test Downloads:
https://sourceforge.net/projects/lineageos-for-max-plus/files/TWRP/

Sources:
Official: https://github.com/TeamWin/android_device_leeco_max_plus/
Tests: https://github.com/LineageOsMaxPlus/

Platform Tools (adb/fastboot):
https://developer.android.com/studio/releases/platform-tools.html#download

Installation:
  1. Make sure your bootloader is unlocked
  2. Download the recovery image from above
  3. Reboot into fastboot
  4. Run this command (Change the .img to whatever the name of file is you downloaded):
    Code:
    fastboot flash recovery twrp-3.5.0_9-0-max_plus.img
  5. Once it is flashed, please force a reboot to recovery by holding down the Power and Volume Up buttons at the same time until the phone reboots and you see the LeEco logo and the word "recovery" underneath it. (This is because if you allow normal boot after flashing TWRP and you are using EUI ROM and your phone reboots to EUI ROM? It will overwrite recovery with stock EUI ROM recovery. Forcing a reboot from bootloader to recovery prevents this issue)

Known issues:
  • Sometimes the boot animation gets stuck and doesn't go to menu. As a workaround, please tap power button twice.
  • Can't flash some Marshmallow based EUI ROM versions (gives errors such as error 7). Please downgrade TWRP to 3.2.1-1 or earlier (such as 3.1.0-0 which is marshmallow based TWRP for x2) as those don't include quota storage support which is used on most Oreo and up custom ROMs. It might also require formatting data partition (Wipe > "format data" button > type yes > checkbox on keyboard)

For the TEST builds of TWRP? Please let me know if this works. If so? I will submit it to Gerrit for official updates.

Credits:
  • ChihpinTsai for providing the original max_plus / x910 kernel source code, which I was able to use to fix the updated zl1 kernel source code's max_plus dts files
  • bigbiff for helping me get setup on on gerrit.twrp.me for official status and updating official TWRP for the Le Max 2
  • Varzag, LEvvvEL, harryohh, kayyappan, bilausdaniel and anyone else I missed who tested my builds of TWRP
  • Ncrypt3d He had a original base that did not boot but we ping ponged and got it working.
  • AndroPlus-org Fixing Decryption and getting OTG working with some cables
  • deadman96385 for the work he has done on for the Le Max 2
  • jrior001 for his work on TWRP for the Le Max 2 and in general for msm8996-common stuff too
  • codeworkx for his tweaks I implemented into my TWRP commit and everything he has done for LeEco devices
  • andr68rus for everything he has done for the LeEco Le Max 2
  • infrag as well for everything he has done for the Le Max 2
  • shivatejapeddi as well for his work on the Le Max 2
  • GalaticStryder for helping resolve the f2fs issue
  • ok I could literally be here all day typing so essentially anyone who has worked on the msm8996 common kernel for LineageOS (note: will take forever to generate the list https://github.com/LineageOS/android_kernel_leeco_msm8996/graphs/contributors)

XDA:DevDB Information
[max_plus / x910] TWRP for the LeEco Le Max Pro, Tool/Utility for the LeEco Le Max 2

Contributors
ThE_MarD, ThE_MarD, codeworkx
 
Last edited:
  • Like
Reactions: prajjwal.laad

ThE_MarD

Senior Member
Dec 10, 2014
3,006
3,527
Grande Prairie
LeEco Le Max 2
Moto X4
Heyyo, w00t! This post is linked on the XDA article for official TWRP builds! :good:

So there is unofficial LineageOS 16.0 unified x2 & max_plus builds here:
https://forum.xda-developers.com/le...2x-lineageos-16-0-pie-leeco-le-max-2-t3850871

There is some bugs that are in the second post of that thread that I'd recommend reading for any max_plus user who wants to try it out... But it's quite awesome that max_plus gets to jump from official Marshmallow EUI ROM to Treble enabled Pie Custom ROMs :)

My current sources are here and I could use some help with the ES9018 Hi-Fi Audio DAC which is the current issue holding me up from LineageOS official unified builds... If anyone could help me with the DAC stuff? That would be GREATLY appreciated
https://github.com/LineageOsMaxPlus/

----------------
Original Post:

@antony82 , the reason is simply because max_plus users post in Le Max 2 XDA forum section and there is no Le Max Pro XDA forum section.

Also, I'm working on LineageOS 16.0 for max_plus and I believe once I get it working? I can convert the work to the current x2 device tree and we can have unified x2 and max_plus builds, which means any custom ROM that would include the same commits will then be able to support both x2 and max_plus as well. :good:

Similar to zl1 has unified builds with zl0, or oneplus3 has unified builds with oneplus3t.
 
Last edited:
  • Like
Reactions: Malnilion

antony82

Senior Member
Sep 30, 2017
307
100
napoli
Heyyo @antony82 , the reason is simply because max_plus users post in Le Max 2 XDA forum section and there is no Le Max Pro XDA forum section.

Also, I'm working on LineageOS 16.0 for max_plus and I believe once I get it working? I can convert the work to the current x2 device tree and we can have unified x2 and max_plus builds, which means any custom ROM that would include the same commits will then be able to support both x2 and max_plus as well. :good:

Similar to zl1 has unified builds with zl0, or oneplus3 has unified builds with oneplus3t.


:good: thanks
 

ThE_MarD

Senior Member
Dec 10, 2014
3,006
3,527
Grande Prairie
LeEco Le Max 2
Moto X4
Heyyo, new test build going up! Test-22-twrp-3.3.1-0-max_plus_UNOFFICIAL has kernel fixes so that it displays properly (TWRP doesn't need the converting of dsi panel from cmd to video like custom ROMs do) and also updating the decryption blobs from CAF.
 
Hi,
As an owner of a Leeco Le Max Pro X910, thank you for your time and effort. This great phone deserves a stable and updated ROM. If functional and stable Lineage OS 16 could be successfully ported to it that would make us tremendously happy. Thanks again, You gave us hope.
 
  • Like
Reactions: ThE_MarD

ThE_MarD

Senior Member
Dec 10, 2014
3,006
3,527
Grande Prairie
LeEco Le Max 2
Moto X4

MasterChief2

Senior Member
Dec 23, 2015
63
10
Hello. I have problems with TWRP. I reboot phone in bootloader mode (I can see penguin on screen), then I flash TWRP through adb (fastboot flash recovery twrp.img), and when I restart phone in Recovery it's just stay on LeEco Logo and below logo is written Recovery. I tried tu press twice power button and to reboot phone again in Recovery but nothing helps. I have installed Ressurection Remix ROM. Have you any advice? Also, I can flash X800 TWRP 3.3.1.0 and I can boot to recovery, but can't flash any x900 based ROM.

And also I have jus one question. On back of my phone is written something in chinese and LETV X900+ Maybe it's regular X900, not X910 and because of that TWRP doesn't work?
 
Last edited:

ThE_MarD

Senior Member
Dec 10, 2014
3,006
3,527
Grande Prairie
LeEco Le Max 2
Moto X4
Heyyo @txekalzen , nice! Hope you enjoy LineageOS 16.0! :)

@MasterChief2 , I'm sorry but x900 is the LeEco Le Max with only the Snapdragon 810 and it is not supported on the LeEco Le Max Pro x910 builds which have the Snapdragon 820. You will have to use TWRP built specifically for your device.

I do not own a Le Max x900 and I am unfamiliar with the kernel source code or device tree for it, so I cannot maintain it, sorry bud.
 
  • Like
Reactions: MasterChief2

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Thank you for you comments. Today, following your instructions step by step I flashed your unofficial LineageOS 16.0 build and now I am a happy owner of a "new phone" with Android 9.0. What a jump, from a buggy Marshmallow to a delicious Pie.
    Thanks again.
    1
    TWRP-Feature-Image-810x298_c.png
    Code:
    #include <std_disclaimer.h>
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about doing this to your device
    * YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    This is for Official and Test builds of TWRP for the LeEco Le Max Pro (max_plus / LeTv x910)

    Official Downloads:
    https://twrp.me/leeco/leecolemaxpro.html

    Test Downloads:
    https://sourceforge.net/projects/lineageos-for-max-plus/files/TWRP/

    Sources:
    Official: https://github.com/TeamWin/android_device_leeco_max_plus/
    Tests: https://github.com/LineageOsMaxPlus/

    Platform Tools (adb/fastboot):
    https://developer.android.com/studio/releases/platform-tools.html#download

    Installation:
    1. Make sure your bootloader is unlocked
    2. Download the recovery image from above
    3. Reboot into fastboot
    4. Run this command (Change the .img to whatever the name of file is you downloaded):
      Code:
      fastboot flash recovery twrp-3.5.0_9-0-max_plus.img
    5. Once it is flashed, please force a reboot to recovery by holding down the Power and Volume Up buttons at the same time until the phone reboots and you see the LeEco logo and the word "recovery" underneath it. (This is because if you allow normal boot after flashing TWRP and you are using EUI ROM and your phone reboots to EUI ROM? It will overwrite recovery with stock EUI ROM recovery. Forcing a reboot from bootloader to recovery prevents this issue)

    Known issues:
    • Sometimes the boot animation gets stuck and doesn't go to menu. As a workaround, please tap power button twice.
    • Can't flash some Marshmallow based EUI ROM versions (gives errors such as error 7). Please downgrade TWRP to 3.2.1-1 or earlier (such as 3.1.0-0 which is marshmallow based TWRP for x2) as those don't include quota storage support which is used on most Oreo and up custom ROMs. It might also require formatting data partition (Wipe > "format data" button > type yes > checkbox on keyboard)

    For the TEST builds of TWRP? Please let me know if this works. If so? I will submit it to Gerrit for official updates.

    Credits:
    • ChihpinTsai for providing the original max_plus / x910 kernel source code, which I was able to use to fix the updated zl1 kernel source code's max_plus dts files
    • bigbiff for helping me get setup on on gerrit.twrp.me for official status and updating official TWRP for the Le Max 2
    • Varzag, LEvvvEL, harryohh, kayyappan, bilausdaniel and anyone else I missed who tested my builds of TWRP
    • Ncrypt3d He had a original base that did not boot but we ping ponged and got it working.
    • AndroPlus-org Fixing Decryption and getting OTG working with some cables
    • deadman96385 for the work he has done on for the Le Max 2
    • jrior001 for his work on TWRP for the Le Max 2 and in general for msm8996-common stuff too
    • codeworkx for his tweaks I implemented into my TWRP commit and everything he has done for LeEco devices
    • andr68rus for everything he has done for the LeEco Le Max 2
    • infrag as well for everything he has done for the Le Max 2
    • shivatejapeddi as well for his work on the Le Max 2
    • GalaticStryder for helping resolve the f2fs issue
    • ok I could literally be here all day typing so essentially anyone who has worked on the msm8996 common kernel for LineageOS (note: will take forever to generate the list https://github.com/LineageOS/android_kernel_leeco_msm8996/graphs/contributors)

    XDA:DevDB Information
    [max_plus / x910] TWRP for the LeEco Le Max Pro, Tool/Utility for the LeEco Le Max 2

    Contributors
    ThE_MarD, ThE_MarD, codeworkx
    1
    Heyyo @NimaXDA , the unlock guide for the LeEco Le Max Pro (x910) is the same as the LeEco Le Max 2 (x820)
    https://forum.xda-developers.com/le-max-2/how-to/protocol-backup-stock-rom-flash-stock-t3517151