FORUMS
Remove All Ads from XDA
H10 Turbo

[OFFICIAL&TESTS]TWRP-3.2.2-0 for the LeEco Le Max 2

1,632 posts
Thanks Meter: 1,186
 
By ThE_MarD, Senior Member on 12th January 2018, 05:18 PM
Post Reply Email Thread
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 BETA builds of TWRP for the LeEco Le Max 2

Stable Downloads:
https://twrp.me/leeco/leecolemax2.html

Test Downloads:
Quote:
Originally Posted by GalaticStryder

I had a copy of TWRP 8.1 around my Arch Linux /home folder so I took the time to build it with my F2FS conversion patch.

Anyone willing to try it: https://github.com/GalaticStryder/li...s/tag/recovery

This should allow F2FS encryption if your ROM supports it.

Otherwise, here's other test builds:
https://androidfilehost.com/?w=files...&sort_dir=DESC

Sources:
Official: https://github.com/TeamWin/android_device_leeco_x2
Tests: https://github.com/ThEMarD/android_device_leeco_x2-twrp

Platform Tools (adb/fastboot):
https://developer.android.com/studio....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.2.2-0-x2.img
Known issues:
  • You tell me! Data decryption and adb sideload work great now.

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:
  • 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
  • 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...s/contributors)

XDA:DevDB Information
[OFFICIAL&TESTS]TWRP-3.2.2-0 for the LeEco Le Max 2, Tool/Utility for the LeEco Le Max 2

Contributors
ThE_MarD, deadman96385, jrior001, Ncrypt3d, AndroPlus-org, codeworkx, andr68rus, infrag, shivatejapeddi
Source Code: https://github.com/ThEMarD/android_d...ee/android-7.1


Version Information
Status: Stable
Current Stable Version: 3.2.2-0
Stable Release Date: 2018-07-02
Current Beta Version: f2fs-twrp-3.2.1-x2-u
Beta Release Date: 2018-04-11

Created 2018-01-12
Last Updated 2018-07-06
The Following 33 Users Say Thank You to ThE_MarD For This Useful Post: [ View ] Gift ThE_MarD Ad-Free
 
 
12th January 2018, 05:18 PM |#2  
ThE_MarD's Avatar
OP Senior Member
Flag Grande Prairie
Thanks Meter: 1,186
 
More
Official Builds Changelog

We are Official! :)

TWRP-3.2.1-2
x2: enable f2fs, quota & default brightness to 40%
(please note, converting to f2fs does not work on this build. Please use test build by GalaticStryder and report here if it works or not for you https://github.com/GalaticStryder/li...s/tag/recovery )

TWRP-3.2.1-1
x2: Rebase on zl1 android-8.1 TWRP device tree. We are now Oreo based with working data decryption and adb sideload. Major thanks to @codeworkx for his zl1 TWRP I used as my base.

TWRP-3.2.1-0
x2: prebuilt kernel and miscelaneous tweaks (TWRP-3.2.1-0 compatible)
* Prebuilt kernel and updated init and qseecomd from LineageOS (https://github.com/LineageOS/android..._leeco_msm8996)
* Miscelaneous tweaks from leeco-devs/android_device_leeco_zl1 and omnirom/android_device_leeco_x2

TEST Builds Changelog

April11-2018
F2FS support and default brightness set to 40% (100% hurts my eyes haha)
https://gerrit.twrp.me/#/c/3066/

March30-2018
Rebased on official LineageOS 15.1 kernel with zl1 android-8.1 TWRP branch
This fixes adb sideload and data decryption

Feb23-2018
Ported the zl0 TWRP Oreo build by codeworkx to the x2.

Jan152018
Attempted fixes for encryption
unfortunately it seems the pulldecryptfiles.sh script doesn't always work and on some newer versions of EUI ROM can even fail to work at all... Importing the vendor/lib64 encryption files directly into the device tree for TWRP fixes this issue.

vendor/lib64 files pulled from 1512699115_LE_X2_X820-CN-FN-FEXCNFN5902812081S-5.9.028S

*** Please note, decryption fix isn't 100%!!! I think I need to use the Indian 5.8.019s decryption files as decryption fails when testing from indian 5.8.019s to custom Oreo ROM hmm... ***

Jan212018
Switched decryption to blobs from Indian EUI ROM 5.8.019s

unfortunately it seems the pulldecryptfiles.sh script doesn't always work and on some newer versions of EUI ROM can even fail to work at all... Importing the vendor/lib64 encryption files directly into the device tree for TWRP fixes this issue.

crypto files pulled from LE_X2_X820-OS-OP-FGXOSOP5801910121S-5.8.019S (Indian 5.8.019s) because it has encryption and it's forced encryption.

It seems Chinese EUI ROM doesn't have encryption capabilities only Indian EUI ROM which could be why switching from Indian EUI ROM to a custom ROM causes decryption to fail.

xxxhdpi screen density and support for extra languages (eg Chinese)
The Following 5 Users Say Thank You to ThE_MarD For This Useful Post: [ View ] Gift ThE_MarD Ad-Free
12th January 2018, 05:30 PM |#3  
ThE_MarD's Avatar
OP Senior Member
Flag Grande Prairie
Thanks Meter: 1,186
 
More
Quote:
Originally Posted by kihope12

Nice ! default theme on board? anyway oyur post is dubled

Heyyo, yes default theme... and derp! My internet's acting up. Kept getting timeouts haha I'll use this one since I set this thread up proper
12th January 2018, 05:38 PM |#4  
CrisBalGreece's Avatar
Senior Member
Flag Athens
Thanks Meter: 1,678
 
More
Hi excellent work.
Check this to if anything can help on development..

le_x2 Latest TWRP 3.2.1-1. Updated Firmware Recovery .. Kernel latest OREO-N-Support. f2fs support, more partitions for backup and restore. Extra tools inside.. Flash it through TWRP, like a regular zip . https://drive.google.com/open?id=1T3...T-yH0wYXZtK7Ye
SS
https://imgur.com/a/qHJWV
The Following 9 Users Say Thank You to CrisBalGreece For This Useful Post: [ View ] Gift CrisBalGreece Ad-Free
12th January 2018, 05:43 PM |#5  
Member
Flag conches en ouche
Thanks Meter: 31
 
More
@ThE_MarD, i have install and it's ok, test backup ok, now test install rom
The Following User Says Thank You to vazarg For This Useful Post: [ View ] Gift vazarg Ad-Free
12th January 2018, 06:04 PM |#6  
ThE_MarD's Avatar
OP Senior Member
Flag Grande Prairie
Thanks Meter: 1,186
 
More
Quote:
Originally Posted by CrisBalGreece

Hi excellent work.
Check this to if anything can help on development..

le_x2 Latest TWRP 3.2.1-1. Updated Firmware Recovery .. Kernel latest OREO-N-Support. f2fs support, more partitions for backup and restore. Extra tools inside.. Flash it through TWRP, like a regular zip . https://drive.google.com/open?id=1T3...T-yH0wYXZtK7Ye
SS
https://imgur.com/a/qHJWV

Heyyo, ah cool I didin't know someone else already had TWRP-3.2.1 up and going.

Are you going to submit it to https://gerrit.twrp.me/ ?

Quote:
Originally Posted by vazarg

@ThE_MarD, i have install and it's ok, test backup ok, now test install rom

Sounds good!
12th January 2018, 06:24 PM |#7  
CrisBalGreece's Avatar
Senior Member
Flag Athens
Thanks Meter: 1,678
 
More
Quote:
Originally Posted by ThE_MarD

Heyyo, ah cool I didin't know someone else already had TWRP-3.2.1 up and going.

This was my base. Credits to my friend geoanto555 from Greek Xiaomi forum. Based on firmware Mi6plus I think..
Νew twrp support android 8.1

root supersu, unroot, file manager aroma
http://www.mediafire.com/file/oi7nwk..._tools-su.img/
twrp_lemax2_3.2.1-1_blue-tools
The Following 3 Users Say Thank You to CrisBalGreece For This Useful Post: [ View ] Gift CrisBalGreece Ad-Free
12th January 2018, 07:08 PM |#8  
Member
Flag conches en ouche
Thanks Meter: 31
 
More
install rom MM miui ok
restore in test

---------- Post added at 07:08 PM ---------- Previous post was at 06:58 PM ----------

restore ok
The Following 2 Users Say Thank You to vazarg For This Useful Post: [ View ] Gift vazarg Ad-Free
12th January 2018, 08:46 PM |#9  
ThE_MarD's Avatar
OP Senior Member
Flag Grande Prairie
Thanks Meter: 1,186
 
More
Quote:
Originally Posted by vazarg

install rom MM miui ok
restore in test

---------- Post added at 07:08 PM ---------- Previous post was at 06:58 PM ----------

restore ok

Cool! Thanks for testing it out vazarg! Submitting it to gerrit.twrp.me

https://gerrit.twrp.me/#/c/2866/
13th January 2018, 06:00 AM |#10  
Junior Member
Thanks Meter: 7
 
More
It's Cool ! Thanks for all you guy great work !
The Following User Says Thank You to pssyz For This Useful Post: [ View ] Gift pssyz Ad-Free
13th January 2018, 06:33 AM |#11  
Senior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by CrisBalGreece

Hi excellent work.
Check this to if anything can help on development..

le_x2 Latest TWRP 3.2.1-1. Updated Firmware Recovery .. Kernel latest OREO-N-Support. f2fs support, more partitions for backup and restore. Extra tools inside.. Flash it through TWRP, like a regular zip . https://drive.google.com/open?id=1T3...T-yH0wYXZtK7Ye
SS
https://imgur.com/a/qHJWV

Works great, thanks.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes