[ROM][X52X][6.0.1][OFFICIAL] LineageOS 13.0 for LeEco Le2

Search This thread

codeworkx

Senior Recognized Developer
Nov 20, 2010
8,495
57,090
Bad Neustadt
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

- 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
- 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, 6.0, nano)

SU-Addon:
https://download.lineageos.org/extras

TWRP Recovery:
twrp-3.0.3-20170117-s2-codeworkx.img

Standalone Modem/Firmware Images
http://eu.host.erwanleboucher.fr/?dir=codeworkx/lineage/s2/modems

Bootloader/Modem/Firmware Images
http://eu.host.erwanleboucher.fr/?dir=codeworkx/lineage/s2/bootloaders


SOURCECODE
Device tree: https://github.com/LineageOS/android_device_leeco_s2
Kernel: https://github.com/LineageOS/android_kernel_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!



 

Attachments

  • about.png
    about.png
    129.2 KB · Views: 34,266
  • dualsim.png
    dualsim.png
    105.6 KB · Views: 33,246
  • Screenshot_19700101-201932.png
    Screenshot_19700101-201932.png
    65.8 KB · Views: 32,113
  • Screenshot_20161228-224020.png
    Screenshot_20161228-224020.png
    129.8 KB · Views: 30,934
  • Screenshot_20161228-224056.png
    Screenshot_20161228-224056.png
    140.7 KB · Views: 30,551
  • Screenshot_20161228-224121.png
    Screenshot_20161228-224121.png
    64.5 KB · Views: 29,970
  • Screenshot_20161228-224129.png
    Screenshot_20161228-224129.png
    113.9 KB · Views: 28,305
  • Screenshot_20161228-224246.png
    Screenshot_20161228-224246.png
    175.5 KB · Views: 28,390
  • Screenshot_20161228-224420.jpg
    Screenshot_20161228-224420.jpg
    225.5 KB · Views: 28,111
Last edited:

ramsanath

Senior Member
Dec 6, 2015
83
8
Chennai
Project website: http://lineageos.org/
Code review: http://review.lineageos.org/

Working:
- RIL (both cards detected, calls working, data working)
- Vibrator
- Keystore

Partially working:
- Audio (works just for calls)
- BT (not fully tested)
- Sensors (not fully tested)
- Wifi (works sometimes)

Broken:
- Lights
- Camera
- GPS
- IR
- Fingerprint

When will the rom be available for everyone?:
It's done when it's done. NO ETA!

Sourcecode:
Device tree: https://github.com/codeworkx/android_device_leeco_s2
Kernel: https://github.com/codeworkx/android_kernel_leeco_msm8952
Proprietary files: https://github.com/codeworkx/proprietary_vendor_leeco

How to contribute:
Fork and send pull requests

How to build:
- repo init -u ssh://git@github.com/LineageOS/android.git -b cm-13.0
- add local manifest to .repo/local_manifests/
- repo sync -j20
- . build/envsetup && lunch cm_s2-eng
- brunch cm_s2-eng

Local manifest:
This is superb man!
I can smell new ROMs coming !
 

TechGeekD

Senior Member
Nov 6, 2013
84
70
Navsari
Can someone on a rooted stock rom get me some audio logs?

While playing music
Code:
adb root
adb shell
tinymix > /sdcard/audio.log

send me the log.

if i did it right here it is

EDIT:
eui : unofficial 5.9.20s latest stable
Model : x526
Status : rooted

Code:
adb shell
su
tinymix > /sdcard/audio.log
 

Attachments

  • audio.log
    79.8 KB · Views: 254
Last edited:

sclip

Senior Member
Oct 12, 2010
210
30
@codeworkx: I am writing to thank you for your work, and to ask you the following questions:
  1. Do you intend it to be the OFFICIAL CM/LOS distribution for the Le 2?
  2. Why did you not start with CM 14.1 sources? I am not a dev; sorry if this question is stupid.
  3. Will your work support x526 (SD652/3GB/32GB)?


Thanks again. :good:
 
Last edited:

codeworkx

Senior Recognized Developer
Nov 20, 2010
8,495
57,090
Bad Neustadt
@codeworkx: I am writing to thank you for your work, and to ask you the following questions:
  1. Do you intend it to be the OFFICIAL CM/LOS distribution for the Le 2?
  2. Why did you not start with CM 14.1 sources? I am not a dev; sorry if this question is stupid.
  3. Will your work support x526 (SD652/3GB/32GB)?


Thanks again. :good:

1. Yes
2. stock is 6.0.1, cm 13.0 is 6.0.1. Makes it easier to get it fully running. After all bugs are ironed out we can try to move on to cm-14.1 which is based on android 7.1.
3. Yes
 

Top Liked Posts

  • There are no posts matching your filters.
  • 124
    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

    - 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
    - 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, 6.0, nano)

    SU-Addon:
    https://download.lineageos.org/extras

    TWRP Recovery:
    twrp-3.0.3-20170117-s2-codeworkx.img

    Standalone Modem/Firmware Images
    http://eu.host.erwanleboucher.fr/?dir=codeworkx/lineage/s2/modems

    Bootloader/Modem/Firmware Images
    http://eu.host.erwanleboucher.fr/?dir=codeworkx/lineage/s2/bootloaders


    SOURCECODE
    Device tree: https://github.com/LineageOS/android_device_leeco_s2
    Kernel: https://github.com/LineageOS/android_kernel_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!



    27
    @codeworkx: I am writing to thank you for your work, and to ask you the following questions:
    1. Do you intend it to be the OFFICIAL CM/LOS distribution for the Le 2?
    2. Why did you not start with CM 14.1 sources? I am not a dev; sorry if this question is stupid.
    3. Will your work support x526 (SD652/3GB/32GB)?


    Thanks again. :good:

    1. Yes
    2. stock is 6.0.1, cm 13.0 is 6.0.1. Makes it easier to get it fully running. After all bugs are ironed out we can try to move on to cm-14.1 which is based on android 7.1.
    3. Yes
    24
    24
    twrp-3.0.3-0-s2-codeworkx.img
    - Removed mouse pointer
    - Fixed partitions
    - Set default brightness
    24
    Todays build includes the VoLTE changes.
    In case you get no sound while trying to do VoLTE calls or some other problems, please post logs.
    I can't test VoLTE for myself!