[ROM][11.0][UNOFFICIAL][cancro] LineageOS 18.1 [STABLE]

Search This thread

tarkzim

Recognized Developer
Feb 11, 2015
2,011
4,190
Kaohsiung
Sony Xperia Z
HTC One (m7)
2okPze5.png


Code:
 * Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/
Introduction
LineageOS is a free, community built, aftermarket firmware distribution of Android 11 (R), which is designed to increase performance and reliability over stock Android for your device.

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.


Bugs

What's working:

  • Boot
  • Bluetooth
  • Camera / Camcorder
  • RIL (CALL/DATA/SMS)
  • FM Radio
  • GPS
  • Hardware Encryption
  • IR Blaster (Mi 4)
  • WiFi
  • WiFi Hotspot
  • USB (ADB/MTP/PTP)
  • Audio Playback
  • Video Playback
  • Sensors
  • Touch
  • LED
  • NFC (Mi 3)
  • SELinux is Enforcing

What's not working:
  • You tell me.

Installation instructions

  • Download the zip(s).
  • Install a compatible Recovery
  • Perform a NANDroid backup of your current ROM (Optional)
  • Wipe system / data / cache partitions
  • Flash ROM.
  • Optional: Install the Google Apps addon package.
  • Optional: Install Magisk for Root.

Supported models:
  • cancro (Mi3 / Mi4)

Downloads
Recovery : Official TWRP
Gapps : MindTheGapps Arm 11.0
Firmware : Download
Rom :
DOWNLOAD

Sources
Device/Kernel/Vendor Tree: Sources

Donate
DONATE To Me

Big Thanks
  • LineageOS Team.
  • xiaoMi-classic-dev team

Contributors
tarkzim
Source Code: https://github.com/LineageOS
 
Last edited:

tarkzim

Recognized Developer
Feb 11, 2015
2,011
4,190
Kaohsiung
Sony Xperia Z
HTC One (m7)
Changelogs

2021/10/07
  • Updated to Android 11.0.0_r46 with October security patches.
  • Upstream updates and fixes.
2021/09/14
  • Fixed warning messages on boot of previous build.
2021/09/13
  • Updated to Android 11.0.0_r43 with September security patches.
  • Upstream updates and fixes.
2021/08/08
  • Updated to Android 11.0.0_r40 with August security patches.
  • Upstream updates and fixes.
  • Fixed WiFi hotspot with password connection issues.
2021/07/13
  • Updated to Android 11.0.0_r39 with July security patches.
  • Upstream updates and fixes.
2021/06/15
  • Updated to Android 11.0.0_r38 with June security patches.
  • Upstream updates and fixes.
2021/05/08
  • Updated to Android 11.0.0_r37 with May security patches.
  • Upstream updates and fixes.
  • Fixed sensors related SELinux policies, it should be working for all users.
  • Fixed offline charging and bring back MIUI charging animations.
2021/04/24
  • Fixed more app crashing issues.
  • Fixed CPU information bugs on 3rd-party apps.
  • Built-in terminal is buggy for some device, try other terminal apps on Play Store like "ConnectBot".
2021/04/21
  • Fixed Hardware Encryption.
  • Updated build fingerprint to match latest MIUI Global Stable.
2021/04/16
  • Bring back missing button brightness settings.
  • Resolved some SELinux denials that causing some bootloop issues.
  • Fixed AudioFX and audio effects related issues.
2021/04/15
  • Fixed crash/boot issues of previous build.
  • First boot after clean flash might be stuck, simply reboot manually will solve it.
  • Disable DT2W feature, which preventing screen from going sleep while calling or locked.
2021/04/14
  • SELinux is now enforcing.
    • Please let me know if something is broken after this build, like IR on Mi 4 since i can't test it on Mi 3.
  • Uprev Health HAL to 2.1.
2021/04/11
  • Updated to Android 11.0.0_r34 with April security patches.
  • Upstream updates and fixes.
2021/03/07
  • Updated to Android 11.0.0_r32 with March security patches.
  • Upstream updates and fixes.
  • Minor updates.
2021/02/10
  • Fixed boot issues on Mi 4.
  • Fixed IR Blaster on Mi 4.
2021/02/09
  • Updated to Android 11.0.0_r29 with February security patches.
  • Upstream updates and fixes.
  • Minor updates.
2021/01/13
  • Updated to Android 11.0.0_r27 with January security patches.
  • Updated to LineageOS 18.1.
  • Upstream updates and fixes.
  • LineageOS features updates.
  • Bring back Snap camera.
  • Fixed lockscreen settings.
  • Minor updates.

2020/11/19
  • Added DT2W.
    (Built-in settings not working, DT2W enabled by default, use 3rd-party kernel manager to manage it)

2020/11/16
  • Initial release of LineageOS 18 for Mi3/Mi4.
 
Last edited:

adityadeva

Senior Member
Mar 2, 2009
149
57
Kochi
This is unbelievable, this device gets A11 all the way up from A4. This is history. Thanks @tarkzim bro. There are some devices you want to keep because, it has a long list of memories with it. I'm going to flash it.

I also request you to consider a double tap to wake and a reboot/recovery/power Quick tile for this device as power button is near eol. The earlier los17.1 dev did integrate these features , unfortunately his device got Bricked.
 
Last edited:

adityadeva

Senior Member
Mar 2, 2009
149
57
Kochi
LOS team are working on advanced reboot menu, let's wait for them.
and please download the latest rom zip to make sure everything is fine.
Thanks for that very essential advanced reboot hope. Meanwhile, I checked CTS profile. I don't know if there's a fix for that, but if there's one then NFC of this device coupled with Google pay in India will have a contactless, payment system in India.
 

Attachments

  • Screenshot_20201119-220014_Trebuchet.jpg
    Screenshot_20201119-220014_Trebuchet.jpg
    123.8 KB · Views: 419
Last edited:

adityadeva

Senior Member
Mar 2, 2009
149
57
Kochi
Even this menu from the accessibility like icon near the navigation button in paranoid android in my poco f1 is a nice feature to save hardware buttons. I don't know the name thought.
 

Attachments

  • Screenshot_20201119-222321.jpg
    Screenshot_20201119-222321.jpg
    198.8 KB · Views: 378

tarkzim

Recognized Developer
Feb 11, 2015
2,011
4,190
Kaohsiung
Sony Xperia Z
HTC One (m7)
Thanks for that very essential advanced reboot hope. Meanwhile, I checked CTS profile. I don't know if there's a fix for that, but if there's one then NFC of this device coupled with Google pay in India will have a contactless, payment system in India.

Install Magisk and enable Magisk Hide, Install "MagiskHide Props Config" module then reboot.
You can bypass the safetynet now.
 
  • Like
Reactions: sajjadaf

adityadeva

Senior Member
Mar 2, 2009
149
57
Kochi
bypass the safetynet now.

Installed the much awaited Dt2w version and working fine. Dirty flashing resulted in rebooting back to recovery. I had to wipe both system and data to get the rom running. System partition was formatted to f2fs and is running fine.

With the mentioned changes, safety net has passed, but I didn't want to root the device in first instance. Hope that with advanced reboot on cards and safetynet and other issues sorted out in future builds, rooting could be avoided.


Those hardware buttons (home, back, menu) lights are not on.

Never knew that there was back light for these buttons:p

---------- Post added at 07:45 PM ---------- Previous post was at 07:44 PM ----------

bypass the safetynet now.

Installed the much awaited Dt2w version and working fine. Dirty flashing resulted in rebooting back to recovery. I had to wipe both system and data to get the rom running. System partition was formatted to f2fs and is running fine.

With the mentioned changes, safety net has passed, but I didn't want to root the device in first instance. Hope that with advanced reboot on cards and safetynet and other issues sorted out in future builds, rooting could be avoided.


Those hardware buttons (home, back, menu) lights are not on.

Never knew that there was back light for these buttons :p
 

Phone Crazzer

Member
Apr 16, 2018
13
3
How to install TWRP recovery?

I have a recently bought Xiaomi Mi 3W at home with stock everything. No modification was done after buying. How can I install a custom recovery (like TWRP) on it? From where should I start the process?
Can anyone please help?
It says,
Android version: 6.0.1 MMB29M
Android security patch level: 2017-06-01
MIUI version: MIUI 9 Global 8.3.1 | Beta
Kernel version: 3.4.0-gf4b741d-00690-gc8911e2
 
Last edited:

JulianJenner

Senior Member
Apr 17, 2013
4,796
1,936
Arnhem
-You need adb and fastboot (installed correctly on your PC. Like minimal adb and fastboot app)
-You need turn on Developer options on your phone. And also turn on USB debugging on.
-ok. Then you need a DOS-box (command prompt) on your pc, in adb and fastboot folder
-then type on DOS-box "adb devices" if pc see your phone, then you will see a new message on your phone. Accept it.
-then type "adb reboot bootloader" and your phone will rebooting to fastboot mode
-then type "fastboot devices" if your pc see correctly your phone, you will see your phone in DOS-box. for example:
"fastboot devices 65eft4e2"
-the type "fastboot reboot" and your phone will reboot to normal mode

This is first lession. If you made this steps, write, and I will give you next steps.

Sent from my Redmi K20 Pro using Tapatalk
 

adityadeva

Senior Member
Mar 2, 2009
149
57
Kochi
Battery backup at 4% - latest (dt2w) build. The battery is the original 6 years old one though. Taking a screenshot is cumbersome for me, I'm too much used to 3 finger swipe. Perhaps this build is intended for gaining a official status so don't know whether 3 finger swipe gesture will be incorporated by @tarkzim bro.
 

Attachments

  • Screenshot_20201122-214347_Settings.png
    Screenshot_20201122-214347_Settings.png
    133.3 KB · Views: 339
Last edited:

SimonVN

Senior Member
Jun 14, 2014
171
212
23
Ho Chi Minh
www.facebook.com
Can't boot on Xiaomi Mi 4W (cancro)

It shows boot animation then goes straight to TWRP on my Mi 4W. I have done the installation steps properly (wiped system, data, cache).

This also happened when I installed Android 10 last time. But I fixed it somehow I don't remember. Please reply if you have the same issue and know how to deal with it.
 

adityadeva

Senior Member
Mar 2, 2009
149
57
Kochi
I have done the installation steps properly (wiped system, data, cache).

I faced the issue till I wiped data. Since you've done that, only thing left is "format data" which will ask for a Yes confirmation and your internal storage will be wiped out. You might need to flash the room from a external USB flash drive. So before that option check out whether your USB port is detecting the flash drive in recovery.
@tarkzim - I observed that once my ? battery had drained out fully and the phone got switched off all by itself, I put the phone on charging. There was no charging animation. It was stuck on mi logo, but it charged to 98%. By this time the phone was quite hot. Even after plugging it out, it continued to be stuck in mi logo. I had to hard press the (almost defective power button) for quite some time to get it booted. It's working fine now.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I removed two more apps

    AndroidMigratePrebuilt
    GoogleCalendarSyncAdapter

    Now MindGapps is 67.4MB.

    I did the installation of the ROM and soon after I installed this package MindGapps and in the first boot the /root was with 1.10MB as shown in the image. This time I didn't need to delete an app from the ROM.

    Download: https://drive.google.com/file/d/1ArPVkbghjFs-79957XuW621A_ONaG_e-/view?usp=sharing
    Thanks man it works like a charm
  • 13
    2okPze5.png


    Code:
     * Your warranty is now void.
    *
    * We are 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 us for messing up your device, we will laugh at you.
    *
    */
    Introduction
    LineageOS is a free, community built, aftermarket firmware distribution of Android 11 (R), which is designed to increase performance and reliability over stock Android for your device.

    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.


    Bugs

    What's working:

    • Boot
    • Bluetooth
    • Camera / Camcorder
    • RIL (CALL/DATA/SMS)
    • FM Radio
    • GPS
    • Hardware Encryption
    • IR Blaster (Mi 4)
    • WiFi
    • WiFi Hotspot
    • USB (ADB/MTP/PTP)
    • Audio Playback
    • Video Playback
    • Sensors
    • Touch
    • LED
    • NFC (Mi 3)
    • SELinux is Enforcing

    What's not working:
    • You tell me.

    Installation instructions

    • Download the zip(s).
    • Install a compatible Recovery
    • Perform a NANDroid backup of your current ROM (Optional)
    • Wipe system / data / cache partitions
    • Flash ROM.
    • Optional: Install the Google Apps addon package.
    • Optional: Install Magisk for Root.

    Supported models:
    • cancro (Mi3 / Mi4)

    Downloads
    Recovery : Official TWRP
    Gapps : MindTheGapps Arm 11.0
    Firmware : Download
    Rom :
    DOWNLOAD

    Sources
    Device/Kernel/Vendor Tree: Sources

    Donate
    DONATE To Me

    Big Thanks
    • LineageOS Team.
    • xiaoMi-classic-dev team

    Contributors
    tarkzim
    Source Code: https://github.com/LineageOS
    6
    Changelogs

    2021/10/07
    • Updated to Android 11.0.0_r46 with October security patches.
    • Upstream updates and fixes.
    2021/09/14
    • Fixed warning messages on boot of previous build.
    2021/09/13
    • Updated to Android 11.0.0_r43 with September security patches.
    • Upstream updates and fixes.
    2021/08/08
    • Updated to Android 11.0.0_r40 with August security patches.
    • Upstream updates and fixes.
    • Fixed WiFi hotspot with password connection issues.
    2021/07/13
    • Updated to Android 11.0.0_r39 with July security patches.
    • Upstream updates and fixes.
    2021/06/15
    • Updated to Android 11.0.0_r38 with June security patches.
    • Upstream updates and fixes.
    2021/05/08
    • Updated to Android 11.0.0_r37 with May security patches.
    • Upstream updates and fixes.
    • Fixed sensors related SELinux policies, it should be working for all users.
    • Fixed offline charging and bring back MIUI charging animations.
    2021/04/24
    • Fixed more app crashing issues.
    • Fixed CPU information bugs on 3rd-party apps.
    • Built-in terminal is buggy for some device, try other terminal apps on Play Store like "ConnectBot".
    2021/04/21
    • Fixed Hardware Encryption.
    • Updated build fingerprint to match latest MIUI Global Stable.
    2021/04/16
    • Bring back missing button brightness settings.
    • Resolved some SELinux denials that causing some bootloop issues.
    • Fixed AudioFX and audio effects related issues.
    2021/04/15
    • Fixed crash/boot issues of previous build.
    • First boot after clean flash might be stuck, simply reboot manually will solve it.
    • Disable DT2W feature, which preventing screen from going sleep while calling or locked.
    2021/04/14
    • SELinux is now enforcing.
      • Please let me know if something is broken after this build, like IR on Mi 4 since i can't test it on Mi 3.
    • Uprev Health HAL to 2.1.
    2021/04/11
    • Updated to Android 11.0.0_r34 with April security patches.
    • Upstream updates and fixes.
    2021/03/07
    • Updated to Android 11.0.0_r32 with March security patches.
    • Upstream updates and fixes.
    • Minor updates.
    2021/02/10
    • Fixed boot issues on Mi 4.
    • Fixed IR Blaster on Mi 4.
    2021/02/09
    • Updated to Android 11.0.0_r29 with February security patches.
    • Upstream updates and fixes.
    • Minor updates.
    2021/01/13
    • Updated to Android 11.0.0_r27 with January security patches.
    • Updated to LineageOS 18.1.
    • Upstream updates and fixes.
    • LineageOS features updates.
    • Bring back Snap camera.
    • Fixed lockscreen settings.
    • Minor updates.

    2020/11/19
    • Added DT2W.
      (Built-in settings not working, DT2W enabled by default, use 3rd-party kernel manager to manage it)

    2020/11/16
    • Initial release of LineageOS 18 for Mi3/Mi4.
    4
    Screenshots

    Screenshots
    4
    What works to root.....supersu or magisk?
    I tried with both but without success.....

    Latest Magisk (22.0) works for me.
    4
    New build released
    • Bring back missing button brightness settings.
    • Resolved some SELinux denials that causing some bootloop issues.
    • Fixed AudioFX and audio effects related issues.