FORUMS
Remove All Ads from XDA

[ROM][X52X][7.1.X][OFFICIAL] LineageOS 14.1 for LeEco Le2

8,487 posts
Thanks Meter: 57,823
 
By codeworkx, Senior Recognized Developer on 20th January 2017, 07:55 PM
Post Reply Email Thread
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

Code:
#include 
/*
 * 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 features included in this ROM
 * before flashing it! 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.
 *
 * Submitting bug reports on nightly builds is the leading 
 * cause of male impotence.
 */

SUPPORTED DEVICES

s2:
- X520 (China)
- X522 (US)
- X527 (Russia/International)

s2ww:
- X526 (India)


BUG REPORTS / KNOWN ISSUES
https://jira.lineageos.org
- IR: not supported


GOT QUESTIONS?
http://wiki.lineageos.org/s2_info.html


3rd PARTY ADDONS/MODS
While we have no issues with people using supersu/magisk/xposed/custom kernels/etc, we can't provide support for users who have them installed.


HOW TO INSTALL LINEAGEOS

Quote:

- Make sure your phone is running 19S bootloader or higher
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Unlock bootloader and install TWRP. (see Downloads)
- Boot into TWRP.
- Perform a backup of your current ROM. (Optional)
- IMPORTANT: Do a Factory Reset. (Wipe data & cache)
- Flash LineageOS.
- Optional: Install the Google Apps addon package. (see Downloads)
- Reboot


HOW TO INSTALL TWRP
Quote:

- Enable developer options
- Allow oem unlock
- Power off
- Hold Volume down + Power for Fastboot mode
- fastboot oem unlock-go
- fastboot boot twrp.img
- adb push twrp.img /sdcard/
- Choose "Install" and then "Install Image"
- Select twrp.img
- Select Partition "Recovery"
- Confirm Flash
- Reboot to recovery


DOWNLOADS

LineageOS:
https://download.lineageos.org/s2

Google Apps:
OpenGApps (recommended: arm64, 7.1, nano)

TWRP Recovery:
twrp-3.2.1-1-codeworkx-s2.img

Standalone Modem/Firmware Images
http://eu.host.erwanleboucher.fr/?di...eage/s2/modems

Bootloader/Modem/Firmware Images
http://eu.host.erwanleboucher.fr/?di...s2/bootloaders


SOURCECODE
Device tree: https://github.com/LineageOS/android_device_leeco_s2
Kernel: https://github.com/LineageOS/android..._leeco_msm8976


HOW TO CONTRIBUTE
Use our code review system to send patches: https://review.lineageos.org


SUPPORT ME

Do you like my work? Consider donating me some beer!


DONATE
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170120-194914.png
Views:	47540
Size:	131.1 KB
ID:	4010590  
The Following 154 Users Say Thank You to codeworkx For This Useful Post: [ View ]
20th January 2017, 08:07 PM |#2  
zeetwo-raj's Avatar
Senior Member
Thanks Meter: 161
 
More
Awesome man.
U r great keep up the great work.

Sent from my s2 using XDA-Developers Legacy app
20th January 2017, 08:22 PM |#3  
Senior Member
Flag Delhi
Thanks Meter: 24
 
More
that was quick thank you for supporting our device
21st January 2017, 12:43 AM |#4  
Member
Thanks Meter: 15
 
More
Quick question in preparation for your stable build. Is it safe to just flash a bootloader update just like that? I'm running RR based on your Lineage 13 code now.
I'm happy to see so much support for the Le2, I'm glad I got it
21st January 2017, 01:37 AM |#5  
Njishi's Avatar
Senior Member
Flag DELHI
Thanks Meter: 49
 
Donate to Me
More
You made it. Was waiting for it. Keep up doing the good work. Landlord πŸ˜‰
The Following User Says Thank You to Njishi For This Useful Post: [ View ] Gift Njishi Ad-Free
21st January 2017, 04:25 AM |#6  
CYB3R0ID694's Avatar
Senior Member
Flag Navi Mumbai
Thanks Meter: 67
 
More
finally i can use my Le2..
You are making Le2 Great again.. πŸ˜†πŸ˜Ž
21st January 2017, 05:06 AM |#7  
Member
Thanks Meter: 7
 
More
Man you are taking our phone to a new level!! Thanks a lot for spending your precious time on the device! πŸ˜‰πŸ˜‰
21st January 2017, 05:07 AM |#8  
Senior Member
Thanks Meter: 98
 
More
Great work.
21st January 2017, 05:14 AM |#9  
Lakku's Avatar
Recognized Developer
Flag Dehradun
Thanks Meter: 1,647
 
Donate to Me
More
That's Great....Thankyou....
The Following 2 Users Say Thank You to Lakku For This Useful Post: [ View ]
21st January 2017, 05:31 AM |#10  
Senior Member
Thanks Meter: 7,601
 
Donate to Me
More
@Lakku edit your post please ...dont quote whole OP. It is against forum rules.
@codeworkx sir ...kernel has patches posted by me??? or you have ported s2 kernel to newer code base???
The Following User Says Thank You to k2wl For This Useful Post: [ View ] Gift k2wl Ad-Free
21st January 2017, 05:38 AM |#11  
mdfarazb2's Avatar
Senior Member
Flag patna
Thanks Meter: 669
 
More
DAMN!!!!
YOU ARE THE GOD!
(GOD OF DEVELOPMENT)
BTW!! AWESOME BRO!!!!
HUGE 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