[ROM][9.x][UNOFFICIAL] LineageOS 16.0 Xiaomi Mi A1 [tissot][EOL]

Search This thread

Beneter

Senior Member
Jul 19, 2015
50
99
https%3A%2F%2Fimg.xda-cdn.com%2Fy-LtXHGCDBH0KxFw9MxWAPF3guk%3D%2Fhttp%253A%252F%252Fi.imgur.com%252F2okPze5.png


Code:
#include <std/disclaimer.h>
/*
 * I'm 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 the products you find here before flashing it! 
 * YOU are choosing to make these modifications, do not point your finger at me for messing up your device. 
 * Your warranty will be void if you tamper with any part of your device / software.
 */

LineageOS (LOS) is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project (AOSP) with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (GApps). 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 Gerrit Code Review. If you want to report an issue please do so on GitLab and include a logcat if possible.

Status
This Project is EOL, please use official instead.

Known issues
USB Tethering / Android Auto not working
OTA Update not working (might change in the future)

Instructions
TBD

Migration instructions

If you are coming from Official LineageOS 16.0 you need to clean flash (wipe everything incl. data) or migrate the signature keys before flashing:
  1. Backup your data (I recommend Titanium Backup)
  2. Boot Recovery
  3. Nandroid backup
  4. Flash migrate-official-to-beneter.zip (s. Google Drive)
  5. Flash lineage-16.0-*-UNOFFICIAL-beneter-tissot.zip (s. Google Drive)
If you are coming from anything else please do a clean flash (wipe everything incl. data).

Downloads
Unofficial Build: Google Drive, There will always be checksums and detached signatures signed by my key "38E50B61" (s. below).
I encourage the community to host mirrors with the same filename. If you download from them, be sure to verify the PGP signature.
Recovery: TWRP
Google Apps: Open GApps (I am not using any GApps but microG by NanoDroid, if you would like to use GApps please flash the nano image for arm64 and install additional Apps from PlayStore)
Root: Magisk

Signature verification
TBD
Code:
gpg: Good signature from "Stefan Benter <[email protected]>"
Primary key fingerprint: [B]E545 73C1 5218 8816 E83C  3A0F DCAC EF53 38E5 0B61[/B]
     Subkey fingerprint: 1DE2 E0FE 948E EAAB B446  D398 A4D6 CD34 239A B40D

Sources
LineageOS: https://github.com/LineageOS/android
Common device tree: https://github.com/LineageOS/android_device_xiaomi_msm8953-common
Device tree: https://github.com/LineageOS/android_device_xiaomi_tissot
Kernel: https://github.com/LineageOS/android_kernel_xiaomi_msm8953
Proprietary Vendor: https://gitlab.com/the-muppets/proprietary_vendor_xiaomi/-/tree/lineage-16.0

Build Guide
Code:
cat android/lineage/.repo/local_manifests/roomservice.xml 
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_device_xiaomi_tissot" path="device/xiaomi/tissot" remote="github" />
  <project name="LineageOS/android_device_xiaomi_msm8953-common" path="device/xiaomi/msm8953-common" remote="github" />
  <project name="LineageOS/android_kernel_xiaomi_msm8953" path="kernel/xiaomi/msm8953" remote="github" />
  <project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
  <remote name="gitlab" fetch="https://gitlab.com" />
  <project name="The-Muppets/proprietary_vendor_xiaomi" path="vendor/xiaomi" remote="gitlab"/>
</manifest>

Credit
Special thanks to flex1911 and abhishek987.
Thanks to the whole LineageOS Team, its contributors and all the testers.

Donations
Please consider donating to the LineageOS Project.
Please consider donating some blood, registering as a bone marrow donor and becoming an organ donor.

XDA:DevDB Information
[ROM][9.x][UNOFFICIAL] LineageOS 16.0 Xiaomi Mi A1 [tissot][EOL], ROM for the Xiaomi Mi A1

Contributors
Beneter, flex1911, abhishek987, LineageOS Team, its contributors and testers
Source Code: https://github.com/LineageOS

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: AOSP

Version Information
Status: Abandoned
Stable Release Date: 2020-08-20

Created 2020-06-14
Last Updated 2020-10-01
 
Last edited:

Beneter

Senior Member
Jul 19, 2015
50
99
Downloads

This Project is EOL, please use official instead.

Restore LineageOS official keys: migrate-beneter-to-official.zip | Checksum | Signature

Last version: lineage-16.0-20200820-UNOFFICIAL-beneter-tissot.zip | Checksum | Signature | Security Patchlevel: 2020-08-05
Migration script: migrate-official-to-beneter.zip | Checksum | Signature

Older Versions:
lineage-16.0-20200715-UNOFFICIAL-beneter-tissot.zip | Checksum | Signature | Security Patchlevel: 2020-07-05
lineage-16.0-20200613-UNOFFICIAL-beneter-tissot.zip | Checksum | Signature | Security Patchlevel: 2020-06-05
lineage-16.0-20200501-UNOFFICIAL-beneter-tissot.zip | Checksum | Signature | Security Patchlevel: 2020-04-05
 
Last edited:

Beneter

Senior Member
Jul 19, 2015
50
99
Backlog

  1. Add migration script to restore official keys
  2. Improve build scripts and publish them
EOL and therefore no longer planned
  1. Fix build issues (instead of using the workaround)
  2. Fork tissot tree
  3. Fix USB Tethering / Android Auto
  4. Update firmware
  5. Compare Proprietary Vendor files with original Xiaomi build
  6. Improve documentation (flashing guides, signature verification), @everyone: you can help!
  7. Webseed a torrent mirror
  8. Create a restricted signature spoofing build for microG
  9. Ask @abhinavagrd_1129 how I can help to make 17.1 go official
  10. Become a part time official maintainer
  11. In case this won't work, provide unofficial OTA updates
  12. Update kernel
 
Last edited:

taurelio

Senior Member
Apr 4, 2013
455
143
Lisboa
Xiaomi Mi A1
Xiaomi Poco X3 Pro
Great work. Why don't you submit it to official?? Even if you don't have time or dont want to bring it up to 17.1, at least the automatic builds of los16 would be up. The ROM was rock stable and the only bug was android auto broken. Pleae do consider this humble request.

Enviado do meu Mi A1 através do Tapatalk
 
Last edited:

taurelio

Senior Member
Apr 4, 2013
455
143
Lisboa
Xiaomi Mi A1
Xiaomi Poco X3 Pro
I was asking them what would be needed to be accepted as a maintainer, they told me to fix the USB tethering issue and port to 17.1. I am not saying, that I will never do so, but I do not want to promise anything as of now.
Take your time but we would love to see mi a1 on the official roster of lineage 17.1. The final decision is ours. Whatever you are going to give to the community we will appreciate.

Enviado do meu Mi A1 através do Tapatalk
 

JakobSWE

Senior Member
May 3, 2015
94
28
USB tethering

I looked at the difference between LineageOS for Tissot and Mido.
Mido has "TARGET_KERNEL_VERSION := 3.18" set in BoardConfig.mk but Tissot doesn't. Maybe the USB will work if "TARGET_KERNEL_VERSION := 4.9" is set in the same file for Tissot? I don't have good enough PC or Internet to try and build, but maybe that would be a solution?
 

dellinn

Senior Member
Dec 19, 2011
79
18
Thanks for reviving this rom!

Just wondering, is the AudioFX problem going to be fixed? It stops processing the audio after several minutes of phone usage.

I use Viper4Android atm because AudioFX is sucks in several Pie roms, including LOS 16. :) It worked well in LOS 17.1 though.
 

ranjodhricky

Senior Member
Sep 21, 2013
222
30
Amritsar
thank God. thank u. great work
i was on last los16 official everything good but from last week google play services downloads official rom ota packages and consume my 1.5-2gb data and if i disable PlayServices data with AFWall i'm unable to use YouTube. i haven't understand why PlayServices download official ota on custom Roms this happens to me on AEX Rom many times if rom on latest patch then everything fine
you've done brilliant job.
 
  • Like
Reactions: Beneter

ranjodhricky

Senior Member
Sep 21, 2013
222
30
Amritsar
one request please make a mirror like androidfilehost.com i'm unable to download it from GDrive everytime it stops after downloading 200-300mb and then failed and doesn't support resume
 

Beneter

Senior Member
Jul 19, 2015
50
99
@Beneter You say you use nanodroid. Does that mean your ROM supports signature spoofing out of the box?
No, this is 100 % vanilla LineageOS as of now. I am pretty satisfied by the NanoDroid Patcher.
I would be able to provide a second build with signature spoofing enabled (in restricted mode), but this would cause a small amount of additional effort.
@everyone: Small poll - If you are interested in an additional signature spoof build (only really needed for MicroG) press thanks on this post. I will probably implement it if we reach five people.
 

Beneter

Senior Member
Jul 19, 2015
50
99
I looked at the difference between LineageOS for Tissot and Mido.
Mido has "TARGET_KERNEL_VERSION := 3.18" set in BoardConfig.mk but Tissot doesn't. Maybe the USB will work if "TARGET_KERNEL_VERSION := 4.9" is set in the same file for Tissot?
Wow, thanks for your support! I will definitely look into this soon, but I have to be sure that there are no unintended side effects.
As I was never using USB Tethering nor Android Auto I am not sure how to test it :rolleyes:
 
  • Like
Reactions: JakobSWE

Beneter

Senior Member
Jul 19, 2015
50
99
Just wondering, is the AudioFX problem going to be fixed? It stops processing the audio after several minutes of phone usage.
Hmm... that sounds a lot like https://gitlab.com/LineageOS/issues/android/-/issues/1628. If you can please add your experience there as a comment and try to include a logcat. As of now I think this might be device independent. Because this seems to be fixed in 17.1 I will not look into it, sorry.
 

Beneter

Senior Member
Jul 19, 2015
50
99
one request please make a mirror like androidfilehost.com i'm unable to download it from GDrive everytime it stops after downloading 200-300mb and then failed and doesn't support resume
Huh, that sounds really annoying.
I was looking for the best hosting provider before and a lot recommended GDrive and discouraged the usage of AFH. I do not really want to maintain a mirror by myself, except maybe I will start to webseed a torrent.
@everyone: As far as you do not change the files itself (including filename), please feel free to host a mirror and post it here.
In case you are downloading from a mirror you should definitely verify the signature.
 
  • Like
Reactions: thermikfuchs

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    https%3A%2F%2Fimg.xda-cdn.com%2Fy-LtXHGCDBH0KxFw9MxWAPF3guk%3D%2Fhttp%253A%252F%252Fi.imgur.com%252F2okPze5.png


    Code:
    #include <std/disclaimer.h>
    /*
     * I'm 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 the products you find here before flashing it! 
     * YOU are choosing to make these modifications, do not point your finger at me for messing up your device. 
     * Your warranty will be void if you tamper with any part of your device / software.
     */

    LineageOS (LOS) is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project (AOSP) with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (GApps). 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 Gerrit Code Review. If you want to report an issue please do so on GitLab and include a logcat if possible.

    Status
    This Project is EOL, please use official instead.

    Known issues
    USB Tethering / Android Auto not working
    OTA Update not working (might change in the future)

    Instructions
    TBD

    Migration instructions

    If you are coming from Official LineageOS 16.0 you need to clean flash (wipe everything incl. data) or migrate the signature keys before flashing:
    1. Backup your data (I recommend Titanium Backup)
    2. Boot Recovery
    3. Nandroid backup
    4. Flash migrate-official-to-beneter.zip (s. Google Drive)
    5. Flash lineage-16.0-*-UNOFFICIAL-beneter-tissot.zip (s. Google Drive)
    If you are coming from anything else please do a clean flash (wipe everything incl. data).

    Downloads
    Unofficial Build: Google Drive, There will always be checksums and detached signatures signed by my key "38E50B61" (s. below).
    I encourage the community to host mirrors with the same filename. If you download from them, be sure to verify the PGP signature.
    Recovery: TWRP
    Google Apps: Open GApps (I am not using any GApps but microG by NanoDroid, if you would like to use GApps please flash the nano image for arm64 and install additional Apps from PlayStore)
    Root: Magisk

    Signature verification
    TBD
    Code:
    gpg: Good signature from "Stefan Benter <[email protected]>"
    Primary key fingerprint: [B]E545 73C1 5218 8816 E83C  3A0F DCAC EF53 38E5 0B61[/B]
         Subkey fingerprint: 1DE2 E0FE 948E EAAB B446  D398 A4D6 CD34 239A B40D

    Sources
    LineageOS: https://github.com/LineageOS/android
    Common device tree: https://github.com/LineageOS/android_device_xiaomi_msm8953-common
    Device tree: https://github.com/LineageOS/android_device_xiaomi_tissot
    Kernel: https://github.com/LineageOS/android_kernel_xiaomi_msm8953
    Proprietary Vendor: https://gitlab.com/the-muppets/proprietary_vendor_xiaomi/-/tree/lineage-16.0

    Build Guide
    Code:
    cat android/lineage/.repo/local_manifests/roomservice.xml 
    <?xml version="1.0" encoding="UTF-8"?>
    <manifest>
      <project name="LineageOS/android_device_xiaomi_tissot" path="device/xiaomi/tissot" remote="github" />
      <project name="LineageOS/android_device_xiaomi_msm8953-common" path="device/xiaomi/msm8953-common" remote="github" />
      <project name="LineageOS/android_kernel_xiaomi_msm8953" path="kernel/xiaomi/msm8953" remote="github" />
      <project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
      <remote name="gitlab" fetch="https://gitlab.com" />
      <project name="The-Muppets/proprietary_vendor_xiaomi" path="vendor/xiaomi" remote="gitlab"/>
    </manifest>

    Credit
    Special thanks to flex1911 and abhishek987.
    Thanks to the whole LineageOS Team, its contributors and all the testers.

    Donations
    Please consider donating to the LineageOS Project.
    Please consider donating some blood, registering as a bone marrow donor and becoming an organ donor.

    XDA:DevDB Information
    [ROM][9.x][UNOFFICIAL] LineageOS 16.0 Xiaomi Mi A1 [tissot][EOL], ROM for the Xiaomi Mi A1

    Contributors
    Beneter, flex1911, abhishek987, LineageOS Team, its contributors and testers
    Source Code: https://github.com/LineageOS

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 4.x
    Based On: AOSP

    Version Information
    Status: Abandoned
    Stable Release Date: 2020-08-20

    Created 2020-06-14
    Last Updated 2020-10-01
    8
    There are some new critical security patches and therefore I increased my efforts in fixing my build issues. I was able to find a workaround and probably identify the root cause. More importantly for you, I was able to build again! :D
    lineage-16.0-20200613-UNOFFICIAL-beneter-tissot.zip | Checksum | Signature | Security Patchlevel: 2020-06-05


    Also I was creating my build scripts on the fly, so I will be able to publish them soon.
    7
    Why don't you submit it to official?
    I was asking them what would be needed to be accepted as a maintainer, they told me to fix the USB tethering issue and port to 17.1. I am not saying, that I will never do so, but I do not want to promise anything as of now.
    7
    @Beneter You say you use nanodroid. Does that mean your ROM supports signature spoofing out of the box?
    No, this is 100 % vanilla LineageOS as of now. I am pretty satisfied by the NanoDroid Patcher.
    I would be able to provide a second build with signature spoofing enabled (in restricted mode), but this would cause a small amount of additional effort.
    @everyone: Small poll - If you are interested in an additional signature spoof build (only really needed for MicroG) press thanks on this post. I will probably implement it if we reach five people.
    7
    Hi,
    as you might have noticed, the new security fixes where merged to LineageOS.
    Unfortunately I am facing some build errors and therefore am not yet able to provide a new build.
    I'm on it!