[Module] OnePlus 2 Button Switch - Magisk

Module Description:
This little Module swaps the Hardware Buttons on the OnePlus 2 on LOS 15.1. Sadly this function is not implemented yet into the official LOS 15.1 so I made this little module for the time beeing.
Requirements:
- OnePlus 2
- LOS 15.1 official
- Magisk v15+
Credits:
* Magisk Developer - @topjohnwu
Source:
GitHub
As Always: Use at your own Risk!!!

When I try to flash it on magisk sadly, it says its not a magisk module.

@Scherzengel You have to repackage the zip after downloading from GitHub. All module files and folders need to be in the root of the zip. GitHub places them in a folder...

My bad. It seems that I uploaded the wrong Zip-file. Sry for the inconvenience. Will reupload in a moment.

New Zip is uploaded. Hopefully should be working now.

Scherzengel said:
New Zip is uploaded. Hopefully should be working now.
Click to expand...
Click to collapse
Yes, everything is working. Thank you so much.

Long shot question, would you mind adding an option to completely disable home button? Mine is broken (it is constantly being pressed) and in most ROMs you cant completely disable it (Linage, crDroid, Resurrection Remix). Even if you can unmap it, it still activates the vibrator. Mighty annoying and consumes battery. Would be nice, but I understand if you tell me to fork off. Thanks for reply

LeBaux said:
Long shot question, would you mind adding an option to completely disable home button? Mine is broken (it is constantly being pressed) and in most ROMs you cant completely disable it (Linage, crDroid, Resurrection Remix). Even if you can unmap it, it still activates the vibrator. Mighty annoying and consumes battery. Would be nice, but I understand if you tell me to fork off. Thanks for reply
Click to expand...
Click to collapse
You can disable hardware keys using build prop edit.

Related

[RECOVERY][enchilada] TWRP 3.2.3-0 Touch Recovery [UNOFFICIAL]

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
DOWNLOAD: Fixed....
Things that are different from official build:
fixed wrong theme color in screenshots on OP6.
Add support for QCOM haptics vibrator. (fixed vibration)
BUGS:
mtp (causes kernel panics) (can add a test build if needed)
flashing aroma packages
If you have found a bug, please consider posting it to our github issues log and then I'll report to Dess_Troy. If you have a significant problem that cannot be answered in this thread, your best bet is to PM Dees_Troy directly, contact us via our website, or find us in our IRC channel below. If you see someone that's struggling, feel free to point it out to us. We need your help to help us keep track of all of our devices! Thanks!
SUPPORT:
Live support is available via #twrp on Freenode with your IRC client or just click this link.
XDAevDB Information
[RECOVERY][enchilada] TWRP 3.2.3-0 Touch Recovery [UNOFFICIAL]
Contributors
Joemossjr
Dees_Troy
wuxianlin
@notsyncing on github for the fixes
Source Code: Github
ROM OS Version: 8.x Oreo
Version Information
Status: Testing
Created 2018-07-07
Last Updated 2018-08-01
Donation Link: Buy this man a beer
Thanks for this. Add the version that supports MTP. Will test and let you know!
It's definitely bugged lol but I'll add it tomorrow
Thank you very much!
joemossjr said:
It's definitely bugged lol but I'll add it tomorrow
Click to expand...
Click to collapse
I'm working with your 3.2.1 version since the beginning and except aroma absolut everything is working. Never had any issue with MTP. Always worked stable so far. I did countless restores and all worked flawless even with swipe code in place.
So thanks very much to provide us with the very first working TWRP for the OP6.
Regarding aroma support, would you agree to my feeling that this is not an issue to be solved in the twrp framework but probably being a bootloader or firmware issue?
Simple temporary fix to avoid kernel panic on mtp:
Do not connect usb cable
Toogle unmount mtp, wait few second and enable mtp again in mount menu in recovery. Connect usb.
xXx said:
I'm working with your 3.2.1 version since the beginning and except aroma absolut everything is working. Never had any issue with MTP. Always worked stable so far. I did countless restores and all worked flawless even with swipe code in place.
So thanks very much to provide us with the very first working TWRP for the OP6.
Regarding aroma support, would you agree to my feeling that this is not an issue to be solved in the twrp framework but probably being a bootloader or firmware issue?
Click to expand...
Click to collapse
I'll be getting logs tonight while flashing an aroma package to see what's needed lol I feel like it's something simple but we will see. Thanks for the support everyone I do this on my free time lol I'll post the mtp enabled here shortly
mtp has been added to the downloads folder and is specified in the name!
https://github.com/opengapps/opengapps/issues/493
seems like its a dead issue at the moment on twrp. aroma hasnt been updated in a while. I am in contact with a dev who may know how to fix it. Stay tuned
joemossjr said:
https://github.com/opengapps/opengapps/issues/493
seems like its a dead issue at the moment on twrp. aroma hasnt been updated in a while. I am in contact with a dev who may know how to fix it. Stay tuned
Click to expand...
Click to collapse
thanks, very much appreciated :highfive:
joemossjr said:
mtp has been added to the downloads folder and is specified in the name!
Click to expand...
Click to collapse
Yes I have tested it and can confirm it's working. Just make sure you unmount mtp and remount it before attaching the USB cable (thanks to @DocRambone for the tip)
DocRambone said:
Simple temporary fix to avoid kernel panic on mtp:
Do not connect usb cable
Toogle unmount mtp, wait few second and enable mtp again in mount menu in recovery. Connect usb.
Click to expand...
Click to collapse
This works, thanks!
It's not working for me both new versions. Boot looped.
Sent from my ONEPLUS A6003 using XDA-Developers Legacy app
mbr007 said:
It's not working for me both new versions. Boot looped.
Click to expand...
Click to collapse
Did you remember to flash magisk after reboot into twrp?
lollyjay said:
Did you remember to flash magisk after reboot into twrp?
Click to expand...
Click to collapse
Yeah you have to flash magisk if you already had it flashed before hand
joemossjr said:
mtp has been added to the downloads folder and is specified in the name!
Click to expand...
Click to collapse
I just flashed your new mtp enabled zip version and screen brightness went down considerably even it's on 100% already. Does anybody know a workaround to get it brighter again?
Can you add another mirror like androidfilehost please? Unable to access google drive...
xXx said:
I just flashed your new mtp enabled zip version and screen brightness went down considerably even it's on 100% already. Does anybody know a workaround to get it brighter again?
Click to expand...
Click to collapse
Seems to be a general problem. I've the same, but not only with this version of TWRP, also with the original version.
It starts by me sometimes flashing 3.2.1.0 if i remember right and I never found a solution to get the screen brightness full back again ?
adiher said:
Seems to be a general problem. I've the same, but not only with this version of TWRP, also with the original version.
It starts by me sometimes flashing 3.2.1.0 if i remember right and I never found a solution to get the screen brightness full back again ?
Click to expand...
Click to collapse
I can make a new build that's higher
joemossjr said:
https://github.com/opengapps/opengapps/issues/493
seems like its a dead issue at the moment on twrp. aroma hasnt been updated in a while. I am in contact with a dev who may know how to fix it. Stay tuned
Click to expand...
Click to collapse
Could this have anything to do with why aroma isn't working?
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445/page5
From the magisk 16.6 change log.
Note to ROM Developers
If you are embedding Magisk Zip into your ROM, and your ROM uses Aroma Installer, please be aware that on some devices (most likely Samsung devices), it is possible that the installation process of Magisk could break Aroma. Please test flashing your ROM zip before releasing to your users. If you found out you are the few unfortunate devices, unzip the Magisk zip, and do the following changes and re-zip the installer:
Code:
# Remove or comment out these 2 lines in META-INF/com/google/android/updater-script eval $BOOTSIGNER -verify < $BOOTIMAGE && BOOTSIGNED=true $BOOTSIGNED && ui_print "- Boot image is signed with AVB 1.0"
The reason why Aroma Installer breaks is unknown. Maybe consider letting the project that's abandoned for nearly 5 years go?

[MODULE] Enable Navigation Bar [Pie] - Disable hw keys/backlight (OnePlus 3/3T)

Magisk Module - Navigation Bar (9.0 Pie) OnePlus 3/3T​
After release of P based ROMs for OnePlus 3/T they miss out option to switch between hw buttons & On Screen Navigation bar. This module enables navigation bars with an edit in build prop. Also disables hardware buttons by commenting out key functions in keylayout and turns off backlight. Without breaking DT2W or fingerprint sensor.
This is a small module for ease of access to Navigation bar till the time being ROMs based on Android P [9.0] adds into their source.
This mod works on all ROM based on Pie [Including treble Gsi as well.].
Tested on OnePlus 3T: Pixel experience, Pgsi, Banzo Gsi.
For better usage goto Settings>>System>>Gestures>> Enable Swipe up for home button.
Text me on Telegram for issues​
FEATURES
Code:
- On Screen navigation bar "qemu.hw.mainkeys="0
- Disable Hardware Buttons in synaptics.kl, Fpc1020.kl & Generic.kl
#key 158 - BACK
#key 580- APP SWITCHER
#key 102 - HOME
- Disable backlights by setting value 0 in
"/sys/class/leds/button-backlight/max_brightness"
- Doesn't break DT2W or Fingerprint sensor
REQUIREMENTS
OnePlus 3/3T
Android 9.0 based ROM
Magisk Beta v16.7 or higher
Module
DOWNLOADS
Disable hw keys & enable nav bar here
Disable hw keys and backlights only here
CHANGELOG
v2.0 - Seperate module for just disaling hw keys and backlight
v1.0 - Initial Release
INSTRUCTIONS
To Enable:
Download and flash the module
Reboot
To Disable:
Disable Module from Magisk Manager
Reboot
OR
Flash this via TWRP
LICENSE
Copyright © 2018 Beast_slayer. Licensed under the GNU General Public License v3.
CREDITS
@topjohnwu - for magisk and magisk module template
@97pratyush - for testing out this module
@akhilnarang - for replying late to my PM's but clarifying them at the end of the day
@silentvisitor - for guiding me thorough
SOURCES
GitHub
Hit :good: if this helps
Beast_Slayer said:
LICENSE
Copyright © 2018 joeyhuab. Licensed under the GNU General Public License v3.
Click to expand...
Click to collapse
You sure about this part? Doesn't look like your name...
Also, the warning in the readme about disabling any other modules that "conflicts with the build.prop" seems a bit excessive... You're not actually touching the build.prop file, just changing one single prop value. Almost every single Magisk module changes different prop values... It would be a whole lot of modules to disable. :laugh:
Didgeridoohan said:
You sure about this part? Doesn't look like your name...
Also, the warning in the readme about disabling any other modules that "conflicts with the build.prop" seems a bit excessive... You're not actually touching the build.prop file, just changing one single prop value. Almost every single Magisk module changes different prop values... It would be a whole lot of modules to disable. :laugh:
Click to expand...
Click to collapse
Thanks for the heads up.
Yea about the licensing part, was referring another thread to make mine.
Correcting.
UPDATE: made changes in README.md as well.
Does it work on OnePlus 3 on Android Pie roms and Magisk 16.7?
??
thank you so much i was looking for this
97pratyush said:
Does it work on OnePlus 3 on Android Pie roms and Magisk 16.7?
??
Click to expand...
Click to collapse
Yes latest Magisk 16.7 and any Pie based rom for 3/3T
ele95 said:
thano you so much i was looking for this
Click to expand...
Click to collapse
Sure
Hit thanks if this helps
Is there a way to auto hide the navbar or is it suppose to stay there in pie?
Vishruth97 said:
Is there a way to auto hide the navbar or is it suppose to stay there in pie?
Click to expand...
Click to collapse
Pie just made it's way to Android buddy.
For now, yes it's supposed be that way no options to auto hide.
Im using Nokia 8 Oreo 8.1, i have hw buttons... Is there anyway yhu can make dis work on Nokia too please buddy!!! I would like on screen buttons too.... Thanks man! @Beast_Slayer
whalesplaho said:
Im using Nokia 8 Oreo 8.1, i have hw buttons... Is there anyway yhu can make dis work on Nokia too please buddy!!! I would like on screen buttons too.... Thanks man! @Beast_Slayer
Click to expand...
Click to collapse
PM me in xda/telegram
Prefer telegram
Will try my best
Works like a charm. Great support too.
Aman Aurora said:
Works like a charm. Great support too.
Click to expand...
Click to collapse
Thanks for the heads up
NitrogenOS for example doesn't have the "Enable swipe up" option in settings.
Can you somehow make that pop up as well?
would this work on OP3 Pixel Experience Oreo based rom ?
Can anyone provide mirror? AFH is not working.
Does It Work On A one plus one with an android 9.0 rom (Posp) , Magisk V16.0 ?
stunteur said:
Does It Work On A one plus one with an android 9.0 rom (Posp) , Magisk V16.0 ?
Click to expand...
Click to collapse
Use magisk 16.7 and try. Should work.
Congrats
Congrats @Beast_Slayer ??
Its a very helpful module and I'm sure will and helping many. I know how hard you had to work to make it. Congrats ??
Guys, devs work hard behind the scenes to create things or make complicated things as simple as clicking a button for us. They deserve our appreciation and support. Minimum we can do is hit THANKS for them as our token of gratitude. No?
silentvisitor said:
Congrats @Beast_Slayer ?
Its a very helpful module and I'm sure will and helping many. I know how hard you had to work to make it. Congrats ?
Guys, devs work hard behind the scenes to create things or make complicated things as simple as clicking a button for us. They deserve our appreciation and support. Minimum we can do is hit THANKS for them as our token of gratitude. No?
Click to expand...
Click to collapse
Thank you so much for your nice words.
It wouldn't have been possible without you.
Thanks again for helping out whenever I needed

Android P 9.0 for s6e+ BETA

To go into deeper detail on the ROM, I used Lineage 16.0 20180901 s6 build modified for the s6 found here:
https://forum.xda-developers.com/ga...20x-5x-nexusos-9-0-samsung-galaxy-s6-t3843199
It was also based on NexusOS kernel that has been modified, so a big shout out to Team Nexus for the kernel and rom, and to @lukasb06 for porting it to s6.
The original kernel was by Team Nexus for s6 and s6e
Kernel Features;
v2.0: first support Pie on s6e+ and n5
change log:
support N5-s6e+ (ready for daily usage)
bug: BT, GPS, NFC
deep sleep fixed, init.d support, dyninteractive and a lot of kernel code changed.
the kernel can be found at :
https://github.com/slaminger/android_kernel_samsung_exynos7420
**I have made some modifications, added a shim, added code to the init.rc to disable p2p wifi. Moving forward the modifications to the kernel will be done by myself.
Please read and follow the instructions :
New zip uploaded for November. Each month has its own folder
This is not fully functional yet but it is close, no Bluetooth, no NFC. the two buttons next to home don't work yet(a couple of temporary solutions below)
BACK UP YOUR CURRENT ROM! especially efs. Some people have ril issues, I noticed my imei changed. A quick efs restore fixed it and my sim worked again.
The home button can be set to double tap for recent apps and use opera browser for compensation of no back button as they have their own, or download back button from play store to add floating buttons to screen. Some versions have buttons pre installed.
I can get bluetooth not to crash, but it doesn't connect.
Wifi Hotspot not working.
Now that the bad is out of the way.
Install Instructions Below:
The call audio and WiFi works, camera works(lower res for video to 1080), magisk is working but apk requires manual apk install, audio works, headphones, video, gapps, everything I have tried besides the above is OK.
The install is a process, first flash the ROM, then the pie fix, then no NFC, and then flash the boot.
Img and start the ROM. set your WiFi and take a look around, give it a moment to run). After first boot, reboot to twrp and flash gapps. If you do it all at once gapps crash sometimes. Once you have this all set up and good to go then add magisk.
9.0SeptSecurity is a different version from the august security not just in the sense that the security patch is different, but also the august build is N920 where the September build is G920F. One is from a note one from s6. It is possible one might resolve a bug that is in the other for your device, i am honestly not sure. different people report different bugs on the same device. If bluetooth does happen to be in one of the zips it will likely crash a lot. remove it via twrp by mounting system and then going to system/app and delete the bluetooth and bluetoothmidi folders.
The reason for lowering rear camera to 1080p for video is that it gets buggy at the 4k default.
A big thank you to NexusOS and LineageOS for their 9.0 lineage 16.0 s6 ROM which I used as a base to port this to our device!
i would also like to thank @topjohnwu for Magisk.
And @MirzaAwais for the Pie fix zip
Link for zenltecan:
https://mega.nz/#F!vKZ2UIzZ!BRrSiAxmz2DOjGmnkl26uA
Link for zenlte:
https://mega.nz/#F!Peo0FAjL!_eknpYZl8Ih-x2Hr9vSysg
Link for common files to be flashed on every device:
https://mega.nz/#F!yewjES6B!71Yrg0zaIzAys0wjxvMOzA
Link for Noblelte:
https://mega.nz/#F!DH4HSS7I!0MusytbbTqTsnWB6XzR2Bg
Modified RIL fix to disable P2P WIFI (connect droid to droid without internet, this saves battery life)
https://mega.nz/#F!OOwBmCJb!n7zaoutCLw74vsVTmXUjvg
Link for zenltetmo:
https://mega.nz/#F!7D5xhQab!WgqIleQph7goPHVVSVo1lA
New Multirom for note 5 and s6e+
https://mega.nz/#F!es4wnQjI!sCZqFZiJbhQr1BtEKYKzYw
It's a bit slow for the first little bit while setting up and whatnot, but once you get everything running it works fine. You can use kernel auditor if you find your battery is dying a little too fast.
I am VERY open to suggestions and or help with this, as it is my goal to fix the bugs and have a fully working 9.0 for our device. The buttons are a priority for me.
To briefly summarize: you sacrifice the back button, pages button, and Bluetooth and get 9.0. Everything else works. I've got viper4android going via magisk, the audio fx work. The ROM has a LOUD volume. So if you like music, enjoy. The back button/page has a work around(most apps have a back button), and you can get an app from play store called back button which gives you the home, back and recent button as tiny floating screen icons also, in the meantime. so just bluetooth really. Use modified cam perm boot shim.img
Enjoy
I removed Bluetooth from the ROM intentionally because it crashed constantly and was hard to disable for people unfamiliar with twrp. No NFC.
The camera has been modified to address pipeline errors that caused it to not work in other builds, it is now fully functional up to 1080p video.
The advanced menu seems to be working fine.
Magisk successfully installed with the following modules tested: Viper4Android, Sony Framework, Sony Music, Audio Modification Library, Sys Config Patcher.
SUBSTRATUM DOES NOT WORK ON ANDROID PIE. This is because google does not want us using OMS for custom themes. they disabled it on purpose. i do not believe systemless substratum will be possible moving forward on any device running pie. atleast not at the time being.
**** Solved** see next post** Netflix not currently working, I googled and found many users on pie are having issues.
Superuser works also, but magisk has modules.
More details will be coming.
All gapps 9.0 working on sm-g928
W8, I used the full aroma package and installed everything. However pixel launcher with assistant in the search bar will not work if you install the new Google webview. The built in Google now launcher will work, and I have tried Nova launcher prime. Keep in mind the more gapps you install the slower your device can get. it is best to only install what you need. i installed everything just to see what worked. but i noticed my phone was slower after a while.
The camera is only confirmed working on g928w8 Canadian, g928g, g928f international/american, note 5 N 920variants. Others have reported bugs.
Netflix Netflix-6.13.0_build_29940.apk confirmed working, both cast and watching videos.
Congrats! Will this rom work on Note 5 N920C too ?
ThePscho said:
Congrats! Will this rom work on Note 5 N920C too ?
Click to expand...
Click to collapse
It could be made to work yes, there is an alpha note5 ROM already on xda
so i flashed the ROM. very stable i can say, but unfortunately the camera still does not work. i was able to install google camera mod via adb but still the same problem. it does not crash tho. it's just not starting
Dread2000 said:
so i flashed the ROM. very stable i can say, but unfortunately the camera still does not work. i was able to install google camera mod via adb but still the same problem. it does not crash tho. it's just not starting
Click to expand...
Click to collapse
Suggestion: if you un-compress the rom(s) and do a search for *camera or camera* does it return any results. I suggest you compare it to a working version and determine what is missing in the system/ system/app and system/priv-app folder(s) once you determine what is missing then just bring those changes over to your folders
AFFAFXP said:
Suggestion: if you un-compress the rom(s) and do a search for *camera or camera* does it return any results. I suggest you compare it to a working version and determine what is missing in the system/ system/app and system/priv-app folder(s) once you determine what is missing then just bring those changes over to your folders
Click to expand...
Click to collapse
i will give a try but i don't think i'm going to make it
AFFAFXP said:
Suggestion: if you un-compress the rom(s) and do a search for *camera or camera* does it return any results. I suggest you compare it to a working version and determine what is missing in the system/ system/app and system/priv-app folder(s) once you determine what is missing then just bring those changes over to your folders
Click to expand...
Click to collapse
My camera works on SM-G928W8
Dread2000 said:
so i flashed the ROM. very stable i can say, but unfortunately the camera still does not work. i was able to install google camera mod via adb but still the same problem. it does not crash tho. it's just not starting
Click to expand...
Click to collapse
Let me try n rebuild it real quick for your device, its the same phone mine is just zenltecan not zenlte
Its uploading now, I used the same zip from my phone and changed the updater script to zenlte
OK its done, I named it v2, same link as first post
@godkingofcanada Hi, I've got same problem with this rom as I had with Oreo rom before. My WiFi MAC Address is 02:00:00:00:00:00 and it doesn't turn on. Have I to do something more than installing rom and all fixes with it ? I can provide logcat if it would do. Also after clean installation there was no bootanimation and no wallpaper. Just black screen and that's all. Hope to see quick reply. Cheers
aerzjee said:
@godkingofcanada Hi, I've got same problem with this rom as I had with Oreo rom before. My WiFi MAC Address is 02:00:00:00:00:00 and it doesn't turn on. Have I to do something more than installing rom and all fixes with it ? I can provide logcat if it would do. Also after clean installation there was no bootanimation and no wallpaper. Just black screen and that's all. Hope to see quick reply. Cheers
Click to expand...
Click to collapse
What variant of s6e+ do you have? And sure let me peek at the logcat, I have never had it boot to black screen, normally the boot only fails if you did not flash the boot.img. the pie kl500.zip fixes the Wi-Fi, the other zip disables NFC, did you flash both ?
godkingofcanada said:
What variant of s6e+ do you have? And sure let me peek at the logcat, I have never had it boot to black screen, normally the boot only fails if you did not flash the boot.img
Click to expand...
Click to collapse
I did everything from first post apart from installing gapps. Let me grab it, and I will upload here. Thanks for fast reply
aerzjee said:
I did everything from first post apart from installing gapps. Let me grab it, and I will upload here. Thanks for fast reply
Click to expand...
Click to collapse
You are welcome. Also, what country is your phone manufactured in?
godkingofcanada said:
You are welcome. Also, what country is your phone manufactured in?
Click to expand...
Click to collapse
It's G928F variant, I don't have phone box with me, so can't check on it. I bought it here in Poland.
godkingofcanada said:
What variant of s6e+ do you have? And sure let me peek at the logcat, I have never had it boot to black screen, normally the boot only fails if you did not flash the boot.img. the pie kl500.zip fixes the Wi-Fi, the other zip disables NFC, did you flash both ?
Click to expand...
Click to collapse
Logcat took via built-in SysLog app. Hope there's something
aerzjee said:
It's G928F variant, I don't have phone box with me, so can't check on it. I bought it here in Poland.
Click to expand...
Click to collapse
Give me a moment to look, you have the international variant but I don't think there's any hardware differences. I need to verify
godkingofcanada said:
Give me a moment to look, you have the international variant but I don't think there's any hardware differences. I need to verify
Click to expand...
Click to collapse
Also, the phone is identifying itself as SM-N920X is settings, same this was happening with Oreo ROMs. I'll keep this page refreshed once in a while, I hope that you will find something. I've updated bootloader, but I'm not sure if it changes something. Thanks for fast replies

[ROM][11.0][Discontinued] Yet another AOSP project [Mi A1 Tissot][ALPHA]

Who are we?​YAAP is a project founded by Adhitya Mohan (@poad42) and Ido Ben-Hur (@idoybh) with the goal of staying close to AOSP in design goals, offer a clean interface, do as much as original development as possible and avoid becoming a kitchen sink and cherry picked mess.
Bug reporting:​
DO NOT Report bugs if you're running a custom kernel or you installed Xposed
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab dmesg . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Downloads​Mi A1​Flashing Procedure​Install Latest Custom Recovery (This is recommended)
Coming from a different rom / OS you'll need to clean flash:
1. Wipe data (Factory reset)
(1.1.) If coming from stock OS you may need to format internal storage
2. Flash rom
(2.1.) After Flashing rom Flash Twrp (dont reboot without installing it)
(2.2)After Flashing Twrp go back to main menu and go to Reboot menu and select Reboot to Recovery Again
(2.2)Flash Gapps (This Recommended) For Root We Suggest Use Magisk Canay Builds (check below for download link)
3. Rejoice
For dirty flash just skip step 1, 1.1
and possibly 2.1 if your mods support addon.d (ex: Magisk)
It does not matter when you flash the firmware zip, and you only need to flash it once per firmware version
XDA:DevDB Information
Yet another AOSP project, ROM for the Mi A1
Contributors
murtaza1326
Source Code: [url]https://github.com/yaap[/URL]
Device Tree: [url]https://github.com/yaap/device_xiaomi_tissot[/URL]
Common Device Tree: [url]https://github.com/yaap/device_xiaomi_msm8953-common[/URL]
Vendor Tree: [url]https://github.com/yaap/vendor_xiaomi[/URL]
Kernel Source Code: [url]https://github.com/yaap/kernel_xiaomi_tissot[/URL]
ROM OS Version: Android 11
ROM Kernel: Linux 4.x
ROM Firmware Required: v10.0.24.0 (Pie) (August)
Based On: AOSP
Version Information
Status: Alpha
Created 2020-09-20
Last Updated 2020-10-06
Working:
Camera/Video/Mic
Fingerprint
GPS
IMS (VoLTE)
RIL
Video playback
Wi-Fi
NightLight
CTS
Broken:
WFD
Bubbles
Switching back to wifi after using hotspot
(need to reboot to use wifi again)
Note: The ROM Does Not Include Gapps Feel Free to flash any gapps of your likings Nik Gapps are Recommended
For Root Magisk Canary Build(Compatible with R Only) is Working Fine This Works Perfectly (Do Not Update it)
Here
Credits Section
I am not alone to bring it up to you guys alone there are many many and many people who helped me to achive this
and i would like to mention them
First I would like to thanks
@abhinavagrd_1129 even tho me and him started bringing up trees differently he was always there to guide me
& i would like to tell you that his Aosp Beta 3 Rom Inspired me to try to bringup trees
@poad42 (Our Lead Dev of Project Yaap is the one who helped me alot to fix many bugs including the lags we were facing he pointed out fix to me
@SagarMakhar he is the one who fixed my noobish mistake i made everytime (also helped me to fix ril in the previous version)
@gotenksIN a guy who also stucked with his own bringup as well i was, we disscussed about bugs and different things together
@shivatejapeddi thanks to him VNDK29 issues were solved
@Lostark13 pointing and hinting me out for diffrent smaller things
Vince Device Devs (i picked there fixes thanks alot guys )
my mates in tissot maintainer TG group
also my testers ( i uslly do my own testing but at some point they helped me to too thanks alot guys)
if i miss anyone from the list do let me know :laugh:
New Changelogs :-
Code:
Device Side:-
Enforcing Now
CTS Passes Without Root(Tissot FP No More Pixel Props)
Fixed USB Teathering
Source Side:-
Merged Latest ASB (October)patch r5
Added Q/S Customisations
Added Clocks In Styles & wallpaper app
Added DT2W & DT2Sleep Gestures
Added Brightness Slider Customization
Added Custom Footer Text Support
Old Changelogs :-
Code:
Fixed Night Light
Fixed 3rd Party Apps Not Detecting Fingerprint
Fixed Wifi & Wifi Hotspot Toogle
Fixed CTS (With Root (No More Pixel Props Needed))
Xiaomi Parts Removed Vibration Controls Completly
Xiaomi Parts (New Adaptive Icons will match other android R icons)
Source side features will be added soon
Piru?
Congratulations ??
Harvey_Spectar said:
Piru
Congratulations ??
Click to expand...
Click to collapse
tnq sar
Good to See on 11 too..
Weww.. A11 going lit ??
Pro!!!! Nice work bruh!
Gawd
Sent from my Mi A1 using Tapatalk
What is the mean of "ROM Firmware Required: 10.0.24 (August)"?
Where can I found the ROM firmware?
There is some " must" to install it?
I am sorry if these are silly questions
sergiobh said:
What is the mean of "ROM Firmware Required: 10.0.24 (August)"?
Where can I found the ROM firmware?
There is some " must" to install it?
I am sorry if these are silly questions
Click to expand...
Click to collapse
sorry for inconvenience updated info
edit: i have added links for required firmware there shouldnt be a issue to find it somewhere else
Hi, @murtaza1326, thanks for your great work!
Nice to see that you're working on 11
I flashed YAAP and I found that fingerprint sensor is getting harder to detect fingertips (much less sensible, perhaps?).
Also, I see that if I just flash or update Official Magisk Canary, after device reboots, it goes to Fastboot mode and never boots System. I found that a solution was flashing that "MagiskR" zip, found at the other Android 11 ROM, but once installed, I have to avoid updates... otherwise, problem will appear.
?
KaaMyA said:
Hi, @murtaza1326, thanks for your great work!
Nice to see that you're working on 11
I flashed YAAP and I found that fingerprint sensor is getting harder to detect fingertips (much less sensible, perhaps?).
Also, I see that if I just flash or update Official Magisk Canary, after device reboots, it goes to Fastboot mode and never boots System. I found that a solution was flashing that "MagiskR" zip, found at the other Android 11 ROM, but once installed, I have to avoid updates... otherwise, problem will appear.
Click to expand...
Click to collapse
it could be different sensor like fpc ? i will see and i will fix it thanks for informing about magisk
KaaMyA said:
Hi, @murtaza1326, thanks for your great work!
Nice to see that you're working on 11
I flashed YAAP and I found that fingerprint sensor is getting harder to detect fingertips (much less sensible, perhaps?).
Also, I see that if I just flash or update Official Magisk Canary, after device reboots, it goes to Fastboot mode and never boots System. I found that a solution was flashing that "MagiskR" zip, found at the other Android 11 ROM, but once installed, I have to avoid updates... otherwise, problem will appear.
Click to expand...
Click to collapse
i need more details on your sensor type if you can provide me
check this screenshot it has Fingerprint model stated that can you tell us what it shows there for you because as far as i and my tester tested this has blazing fast Fingerprint sensor
murtaza1326 said:
i need more details on your sensor type if you can provide me
check this screenshot it has Fingerprint model stated that can you tell us what it shows there for you because as far as i and my tester tested this has blazing fast Fingerprint sensor
Click to expand...
Click to collapse
Friend, your screenshot seems to have been deleted
Well, while that, all I could tell is I'm coming from DerpFest, I have changed back to that ROM because I need to use my phone everyday. In that ROM fingerprint if easier to detect fingerprints.
murtaza1326 said:
i need more details on your sensor type if you can provide me
check this screenshot it has Fingerprint model stated that can you tell us what it shows there for you because as far as i and my tester tested this has blazing fast Fingerprint sensor
Click to expand...
Click to collapse
Hello prosur!
KaaMyA said:
Friend, your screenshot seems to have been deleted
Well, while that, all I could tell is I'm coming from DerpFest, I have changed back to that ROM because I need to use my phone everyday. In that ROM fingerprint if easier to detect fingerprints.
Click to expand...
Click to collapse
You can still check which fingerprint sensor your device have
Takeshiro04 said:
You can still check which fingerprint sensor your device have
Click to expand...
Click to collapse
Don't know how. Screenshot would have helped me, but was deleted. Please tell me how to check that.
KaaMyA said:
Don't know how. Screenshot would have helped me, but was deleted. Please tell me how to check that.
Click to expand...
Click to collapse
Install Device info apk and check the fingerprint sensor
murtaza1326 said:
i need more details on your sensor type if you can provide me
Click to expand...
Click to collapse
Mr Magneto said:
Install Device info apk and check the fingerprint sensor
Click to expand...
Click to collapse
I have installed "Device Info HW" app and it tells that my sensor variant is "goodix".

[ROM][UNOFFICIAL][11][R]LineageOS 18 for z5c (suzuran)[BETA]

Hi all:
Here is a LineageOS 18.0 BETA ROM for Z5 compact (suzuran).
Download 2020-12-11
This is a 7z archive with the zip'ed ROM and the md5 file in it. Please unpack this archive, copy the included two files somewhere to your device, reboot into TWRP and flash this zip file. Enable zip verification and md5sum checking.
Kernel sources
Tree sources
Features:
OS Version: 11 (R)
Kernel: Linux 3.10
Kernel 3.10.108
New: Android security patch level: 5 November 2020 (see attached screenshot)
Using Sony blob's from stock version 32.4.A.1.54
Important informations:
You should be familiar with general installation of custom ROMs.
Required for installation: TWRP 3.2.1 (pick the version from 2018-02-23!!!) There is a version 3.2.3 out there, but with that version I had problems to restore my backups. 3.2.1 is just working perfect for me!
This ROM needs a clean install, old /data may cause problems!
This ROM is NOT pre-rooted. For rooting you can use Magisk.
Working:
Phone calls
SMS
WiFi
Bluetooth
Fingerprint
GPS
Location services
Headset
LiveDisplay
Enforced SELinux support
Torch
German app AusweisApp2
Offline charging
Notification LED
NikGapps (pick this version: ARM64, 11.0, core [tested]).
New: Camera; both built-in camera (Camera2) and 3-rd party camera apps.
Camera2 may be a little bit laggy, please use 3-rd party camera app instead; for example OpenCamera. If you're running into errors, please report.
New: FM-Radio (maybe it needs a few restarts before it's working)
These things are NOT working:
Restart into recovery
Maybe some more things are not working.
Use this ROM at your own risk! It comes without any warranty! I'm not responsible for any damage! If you don't agree with that, don't try to flash this ROM in any way.
Benefits:
Added F-Droid and UnifiedNLP! If you don't want this, simply de-install it.
I've set maximum speaker volume to a higher value.
I've increased microphone gain.
I've changed the microfone gain to avoid echo in phone calls.
I was just gonna ask if you're planning on jumping on it after seeing the post from XDA. Am I assuming that whatever you did to make the camera work on LineageOS 17 didn't work with 18?
YamiYukiSenpai said:
I was just gonna ask if you're planning on jumping on it after seeing the post from XDA.
Click to expand...
Click to collapse
I see no benefit in doing that.
Am I assuming that whatever you did to make the camera work on LineageOS 17 didn't work with 18?
Click to expand...
Click to collapse
I'm using nearly the same source code that Tarkzim uses to build a ROM for Z5. And there the camera is working. I don't know why the camera is not working at our Z5C.
I have one or two ideas left; then I'll see...
Is there TWRP 3.3.1 for Z5C? This one's download link is dead.
---------- Post added at 08:25 PM ---------- Previous post was at 07:38 PM ----------
So is there supposed to be a vendor partition? Magisk wouldn't install because it can't mount vendor.
New version out; see 1st post.
Camera working; both built-in camera (Camera2) and 3-rd party camera apps.
Camera2 may be a little bit laggy, please use 3-rd party camera app instead; for example OpenCamera. If you're running into errors, please report.
Are you able to flash Magisk on this ROM?
YamiYukiSenpai said:
Are you able to flash Magisk on this ROM?
Click to expand...
Click to collapse
Yes. I'm using this version of magisk.
What about encryption capabilities with this ROM?
Never tried to use encryption; in none of my ROMs; not even in stock ROM.
So, please try it and report about the results here... :angel:
But beware, TWRP can't handle encryption at all!
New version out; see 1st post.
Fixed: Searching in the settings menu and access to the developer settings menu.
Berni-0815 said:
Yes. I'm using this version of magisk.
Click to expand...
Click to collapse
How did you work around the vendor partition?
And I don't think that's the official version (or at least the site isn't). You should try the one from GitHub in case they're different.
I remember the developer criticized Android Authority for linking to that site instead of the Github repo.
Edit: got it to work with 21.1
Any plans on enabling signature-spoofing?
YamiYukiSenpai said:
How did you work around the vendor partition?
Click to expand...
Click to collapse
I don't think that our device has one...
And I don't think that's the official version (or at least the site isn't).
Click to expand...
Click to collapse
I haven't found a better site in short time.
You should try the one from GitHub in case they're different.
Click to expand...
Click to collapse
You're right. Thank you. I'll change my 1st post!
YamiYukiSenpai said:
Any plans on enabling signature-spoofing?
Click to expand...
Click to collapse
Should work.
Berni-0815 said:
Should work.
Click to expand...
Click to collapse
Turns out NanoDroid didn't install microG for some reason.
YamiYukiSenpai said:
Turns out NanoDroid didn't install microG for some reason.
Click to expand...
Click to collapse
you can install microG by edxposed signature spoofing module.
i using berni's los 15.1 and i installed xposed and signature spoofing module then flashed microG so everything works good
But If @Berni-0815 build AospExtended rom for our device, (this rom better than los, becuse it has many many features like own wakelock blocker, ui customization, signature spoof...) then we will Very Happy
flashed this and successfully booted last night... ran it for the evening with great stability. also successfully flashed magisk21 with no issues. camera needs work before calling it a daily but super stoked to see this!!! thanks so much!!!
beflythis said:
camera needs work before calling it a daily
Click to expand...
Click to collapse
What issues do you have regarding camera?
Berni-0815 said:
What issues do you have regarding camera?
Click to expand...
Click to collapse
some 3p camera apps i tried didn't work (nokia camera); in the ones that did, quality, focus and response were all problematic.
beflythis said:
quality, focus and response were all problematic.
Click to expand...
Click to collapse
Indeed. But we are happy, that camera is working at all.

Categories

Resources