yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Honer6000:
How do I update Tissot without wiping my gapps?

I have had Tissot installed but when I updated through the official means my gapps got wiped. Is this a bug? How do I update without having to wipe everything? Can I just download manually and flash the zip and gapps through twrp without wiping any data?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ydd0ras:
Working normally, without any issues. But I don't use the headphone types. Using the presets instead.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Francesco hunt:
how do i install addon-su for the root ??

magisk I do not even want the gapp ..

Guide tanks!!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
I've been trying to get unofficial build installed without losing my data from official build. But I guess it's impossible without TiBu or the likes.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cvjetan22:
This question has been raised like 100 times in this thread already. Just read the last couple of pages or use search and you will find the solution. ;)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
Are you using opengapps? If so, search the thread.

Just do it according to the guides, but flashing what you want instead of magisk and gapps, just like it says on the wiki.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Francesco hunt:
Tanks!!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ydd0ras:
Yeah, i suspect it won't work. I have used TiBu for restoring.

---------- Post added at 12:26 PM ---------- Previous post was at 12:01 PM ----------

Yeah, that works only with non encrypted devices!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] vaorr:
coming from stock oreo 8.1 i always have error 1 in twrp
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] scutariu.tudor:
My problem is that I can't install Magisk v16.0. I tried to update it but it shows me not installed. So what to do?

Inviato dal mio Mi A1 utilizzando Tapatalk

---------- Post added at 11:47 AM ---------- Previous post was at 11:41 AM ----------

P.S. I tried to install via Lineage Recovery but the installation failed.

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] 44quattrosport:
Use Magisk v16.7 beta
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] scutariu.tudor:
It doesn't work to flash.

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] soultuckem:
What magisk to be used and can you link it?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
make sure your using the correct recovery (cosmic dans - search the thread for the link), and also are using an older build - check the thread, because apparently you cant flash newer builds, but older builds work and then you can then ota update to the latest.

If your device is unencrypted, you might try extracting and flashing the boot image from the lineage zip, and then booting into recovery - that should take you to lineage recovery. From there you might not get the error, but I don't know, and flashing the boot image like that is probably bad practice, but I'm having trouble with extracting the recovery image from the boot image.

---------- Post added at 15:42 ---------- Previous post was at 15:40 ----------

magisk beta on xda. Quick google brought it up.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manan001:
Hello can anyone tell if network fluctuation is fixed or not for volte?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Alecotro:
Do you know how can I flash the may modem with LineageOs recovery? Or am I forced to reinstall twrp? Is there another way?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Where can I find this initial build? LineageOS site only gives me the latest 4 nightlies.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
Ok quick update on my side of things regarding recovery;

I have manipulated some boardconfig values to be able to build the lineage recovery image, and it is here.

Meanwhile nicknitewolf on irc sent me his twrp build for testing, so you can try that as well.

edit: see below, LuK1337 has a working twrp

---------- Post added at 16:37 ---------- Previous post was at 16:32 ----------

20180710 is the initial build. I 20180717 also works.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ekistece:
Deleted because double post.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
Guys [MENTION=5075128]LuK1337[/MENTION] has a twrp that can flash the latest nightlies:

https://kremowka.xyz/files/twrp-3.2.2-0-tissot-lineage.img
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Mutant420x:
Plz tell me , the official lineage os is stable or not ? And also tell me which rom is best for mi a1 , which is fully stable ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
it's stable. i haven't tried other ones so idk how it compares
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cvjetan22:
Official is stable. OTA updates working flawlessly. If you use Google apps make sure to use Mindthegapps.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] radogost:
Tried. Error 7 for me.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ydd0ras:
Have you flashed it permanently or just booted into?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] scutariu.tudor:
Someone could explain me how to install magisk v16? Seems don't have magisk installed. Tried flashing on Lineage Recovery but shows installation aborted. Tried also with beta but same result.

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] skyline91:
Should option "prevent accidental wakeup" work also with fingerprint? Because sometimes i can feel in pocket vibration like i'm trying to unlock the phone, but i don't.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
He is maintaining one plus 6, how come he made recovery for Tissot ? ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Lupin The Third:
I think he maintains more then one device.

However, I doubt this a device specific maintenance thing.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mac-duff:
One question. How long did the update take? My update process took about 2-3h

I was expecting that the device boots into recovery mode and flashes the rom, but instead it did everything on fly
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
This one is only bootable I think.

---------- Post added at 09:48 AM ---------- Previous post was at 09:45 AM ----------

He maintains like 8 devices (Tissot not included of course), but I guess he just knew the fix, and then someone on irc successfully used it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
I'm afraid one of those twrp's has messed up my screen. My device now starts up in LOS, but I cannot finish install because the touch does not work properly. Like the touch is on a different resolution than the actual screen, or something like that.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ydd0ras:
Have tried last night. Didn't worked on my Tissot. Ended in Error 1
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
but why our maintainer is silent on this? it always seems this is one-way traffic. He comes and just posts one reply. There are people from the community trying to help, multiple users face issues, and yet there is no reply. Been part of xda for so many years. Lol but this is something strange. I am Using Daniels recovery and it is working perfectly. Never had any kind of error while flashing any ROM. Even I had reported some issues on jira. But our maintainer is not yet assigned to the issues. Though I have seen some mido users facing some issues, even our maintainer is assigned to the issues but still, there is no reply out there too. [MENTION=3859635]varben[/MENTION] [MENTION=7211583]Charles IV[/MENTION]
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] OmniMachina:
Cool news,

but did you see the countless pages with complaints? Destroyed installs, failed installs etc.

Maybe you should update the instructions of the first post or something..

New features are cool, but they don't matter if none can use them..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Lupin The Third:
I don't have an answer really.

Maybe he doesn't have the time for xda, who knows?

But I think he is active on telegram.

On the other hand I'm pretty sure he is aware of the issues people are facing with los as many are reporting them on his telegram channel.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
Thanks, has anyone else tried LuK1337's twrp? Is it working or same errors, because the person on irc got it working.

Could you guys also post the log of it failing so [MENTION=5075128]LuK1337[/MENTION] can try to fix it?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
I'm pretty sure now that this problem is not caused by any twrp version. After much experimenting, I can install LOS with any twrp now, but I cannot finish the install. Although in twrp the screen works perfectly, as soon as I install LOS I can't select "NEXT >" on the first screen. The screen seems to react randomly on my touches. As soon as I revert back to stock ROM everything is normal again.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Saswata Chakraborty:
Tried a clean flash of LOS 15.1 (20180724) on CosmicDan twrp and ended with Error code 18 (kDownloadPayloadPubKeyVerificationError). I see many people faced this issue. I was wondering if there is a fix?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] champzix1:
I go flash via fastboot still fine here I'm on V9.6.4.0 july modem? IDK

flash both slots by "fastboot flash modem_a modem.img" & "fastboot flash modem_b modem.img"
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] radogost:
Booted into.

No fix till now. Only possible way to flash recent nightly is updating from previous one.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Saswata Chakraborty:
And if this is a first time someone is flashing LOS? That means he needs to first flash the old build and then update through the OTA?? That's insane!!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] radogost:
Yes, it's only possible way. We are all waiting for developer clarification.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] spartanjim:
Good evening, I am also having this problem with the touch screen not working. It seems like it is a completely wrong frame size for the phone! I have tried many custom ROMs and they all have the same effect. The only one that works is stock ROM.

Did you manage to find a fix for this yet?

Many thanks.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ekistece:
WORKAROUND GUIDE FOR INSTALLING LINEAGEOS

I managed to install it, it got really tricky. The thing is that the new Lineageos releases somehow fail the verification on twrp and the old lineageos recovery. I found out after hours of investigating that you need the *new* Lineageos recovery to flash the new lineageos. I know, it's pretty absurd.

I extracted the boot.img from lineage-15.1-20180724-nightly-tissot-signed.zip extracting the payload.bin from the zip and using this tool https://androidfilehost.com/?fid=818070582850510260.

You can download the boot.img I extracted myself here: https://drive.google.com/file/d/1QftMHTXrINAOfr3Pcaqyux9nHRnGTnKl/view?usp=sharing

Put the phone on fastboot mode, connect via usb and type:

fastboot boot boot.img

while pressing the volume-up button to enter the Lineageos recovery.

From there do a factory reset, wipe system, and now you can flash lineage-15.1-20180724-nightly-tissot-signed.zip.

To flash it, it gets tricky. First of all you can't flash from the sdcard because it shows up an error. So you go to update, and press install from ADB or something like that. Now you have the phone on adb sideload mode.

Download https://developer.android.com/studio/releases/platform-tools. Adb from XDA's "Minimal ADB and Fastboot" doesn't work for some reason.

Unzip the file, open a command prompt on that folder and type:

adb devices

It has to show up as something like this:

List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
xxxxxxxxxxx sideload

Where xxxxxxx is the phone id.

Then you can proceed to flash. Just type:

adb sideload lineage-15.1-20180724-nightly-tissot-signed.zip

Wait until it completes, it seems to freeze at 50% or so but wait some minutes until the progress bar on the recovery finishes and reboot.

Now you should be booting lineageos and set up it as usual. I hope this guide helped, took me some hours to figure it all out.

To install su addon, download it from https://mirrorbits.lineageos.org/su/20180718/addonsu-15.1-arm64-signed.zip, place the zip in your internal storage, download this recovery https://basketbuild.com/filedl/devs...ewolf/Recovery/tissot/twrp-3.2.2-1-tissot.img (thx nicknitewolf) and boot it via fastboot:

fastboot boot twrp-3.2.2-1-tissot.img

From there flash the su addon as usual and enjoy. Probably this method works also for opengapps/mindthegapps, i didn't have time to test it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] scutariu.tudor:
Is it possible to install face unlock on this rom? I have installed mindthegapps.

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
Try LuK1337's twrp - I linked it earlier

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

There's a magisk module

---------- Post added at 10:58 PM ---------- Previous post was at 10:45 PM ----------

I was wondering if using lineage recovery would fix the problem.

A few notes: to flash from sdcard, you need to format data (to remove encryption). Maybe this can be done through fastboot?

You can just boot into recovery again to flash the su zip, and flash them in los recovery as before.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mierlo420:
But why should you flash like this? What is wrong with flashing the first or second build with Cosmic Dan's TWRP and from there update OTA with LOS updater. It's much easier.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
No I haven't. I haven'ttried any other ROMs, but if it's true what you are suggesting, other board members must have ran into the same problem. I couldn't find anything on Duckduckgo or on xda, however.

Anyone?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] scutariu.tudor:
What is the best modem for LOS 15.1?

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] packpunk:
I have the same problem with touchscreen, stay on stock rom now
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] valkyrjur:
Working perfectly for flashing latest build
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
Have you tried wm density reset?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] noire0:
Is there support for encryption?

Does encryption work? I tried encrypting the phone with the tool on the settings and worked, but data partition got shrinked to 0 and the device was practically unusable even though I could boot (wifi would not save the password I tried).

This is flashing the 2018/07/24 tissot build via ADB on the 20180717 Lineage recovery as aforementioned, without the Su addon. I'm hesitant to encrypt now that I have flashed with the LuK1337 TWRP and Su addon. So I'll wait for an answer on this before trying. I don't see much encryption talk on other roms though, so maybe is hard to implement? Thanks beforehand. I like to encrypt my phone since there is important information, like if I'm logged onto my email people could potentially change my amazon email, password and use my credit cards in it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
Imo the easiest and surest way to encryption is to go back to stock.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ekistece:
I tried it but su zip gives error in LOS recovery. The only recovery that let me do that is the lastest unnofficial twrp.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
Gcam Working Only BSG one

[MENTION=3859635]varben[/MENTION] you had seen logs of gcam! why any of gcam is not working not unrooted lineageOS. Clarify anyone if I am wrong on current built without any MOD or Magisk stuff.

edit: no version worked except, BSG from Arnov Camera. It doesn't have too many features but it is the only apk working fine till now. The strange thing about arnov cams is that only video works. I was able to open the camera with video. There was a fix for that mentioned. But as the zip was for one plus I didn't take the risk to flash it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Lupin The Third:
It's weird as I don't see a clear reason.

I'm also unrooted and no mods and the gcam is working fine. Currently I'm using arnova's 8.1 from here:

https://www.celsoazevedo.com/files/android/google-camera/

I remove any kind of encryption including the stock one by formating userdata in recovery and then flash los.

Another reason would be the lack of gapps which is required for gapps to work.

As a test maybe you can try rooting and install magisk and use a magisk module that puts the kernel to permissive. See if that works.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] spartanjim:
Searching didn't throw anything up for me either and there seems to be plenty of people with fully functioning custom ROMs which makes it double frustrating!

I have tried lots of different TWRPs and only the older ones will boot or deadmans twrp which seems to be the most stable.

Truly stumped as the ROMs flash fine and boot up perfectly using deadman twrp but the touchscreen is on another planet.

I have tried solution from [MENTION=9006051]ekistece[/MENTION] but his boot.img wont boot and I am struggling to extract the correct folder myself. Did anyone else manage to to successfully flash using this method?

---------- Post added at 08:00 AM ---------- Previous post was at 07:41 AM ----------

I will try this now, many thanks:)

---------- Post added at 08:06 AM ---------- Previous post was at 08:00 AM ----------

I have tried this but the boot image you have uploaded won't boot. I will try to extract it myself later on.

Many thanks for the instructions:)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
I tried this one too and it didn't boot, but just restarted in my stock ROM. Strange thing was that then stock also had the touch problem! I've tried all twrp's available, but only deadman got me back to a working stock system.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] spartanjim:
I have tried to use wm density but as my system is empty, any rom that I install doesn't have USB debugging enabled so I can use ADB.

Do you have a way around this as the touchscreen is so unuseable I can't navigate any menus:(
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
If I were you I would flash the latest stock with MiFlash tool with format userdata option and lock bootloader.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] BlueJeans:
[MENTION=9331540]spartanjim[/MENTION]

For touchscreen problem, flash the last stock nougat fastboot image through mi flash tool and then upgrade to Oreo.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] spartanjim:
Many thanks for the reply, I am just flashing nougat back on using miflash. Is there a tuturial on upgrading to oreo and which verson should I upgrade to using what method. Once upgraded to official oreo can I then flash on a custom rom as long as I don't wipe internal storage?

Sorry if these questions sound simple to you but this is only my thrid day working with smartphones in this way.

Thanks again:)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Mutant420x:
Hey ... My mi a1 has stock oreo 8.1 , 1 july patch...

Plz tell me how to install lineage os official latest build on my mi a1 ... Which i need to use twrp or not ? I don't understand the process given on the official website. Plz tell me the right process and I have some government apps , which don't work on rooted device , they will work on lineage os ? Plz tell me what to install and how to install latest build and apps and may i use official twrp downloaded from official site ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] spartanjim:
I have managed to get a working AEX rom installed using this method. Flash latest nougat using mi flash then upgrade to oreo using this method: https://xdaforums.com/mi-a1/development/rom-t3790268

I then followed the AEX install method to the letter and it worked. Touch screen is perfect and now I may try some other custom roms to see if they work as well. Let me know if you can get lineage working using this method.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] abhishek987:
So many of you guys were facing issue while flashing official lineage and other roms so i decided to make recovery

Twrp 3.2.3 (git is updated tho twrp is yet to release this version)

Supports official lineage and other unofficial roms

Dont expect this recovery to support treble and not even weird hacks to make it persistent upon flashing some other rom. As usual links are Added in op enjoy :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] rookierks:
Can anyone confirm that the stock clock app does not show the drop down notification to dismiss a snoozing alarm?

Is this a problem with the stock app not supporting notification channels or a problem specific to this rom?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] spartanjim:
Awesome many thanks for that, I have just tried flashing the latest LOS but it wont flash in the older twrp. Could you publish a more detailed 'how to' for simpletons like myself. Showing steps like what to format/wipe and the process step by step.

I just had to flash nougat 7.1.2 then oreo 8.1 onto my phone because when I follow the methods illustrated my phone reverts back to nougat and then lineage wont complete the flash.

I will try again using your new trwp once I know the correct steps.

Many thanks for your assistance:)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
No that doesn't work, because LineageOS requires Nougat, it will not flash on Oreo. I get this error:

Error applying update: 26 (ErrorCode::kDownloadMetadataSignatureMismatch)
[COLOR="Red"]Updater process ended with ERROR: 1
Error installing zip file '/sdcard/lineage-15.1-[/COLOR](etc)

I will try [MENTION=6070905]abhishek987[/MENTION] 's new twrp version when it becomes available.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
follow the wiki, the guide has just been updated. This walks you through getting adb etc, unlocking the bootloader and all that stuff if you haven't already done so.

If you want google apps like play store, use MindTheGapps (link somewhere else on wiki), and for root use Magisk beta, and enable magisk hide to hide root from certain apps.

Also, instead of the official twrp linked on the page, use the one linked in the op or LuK1337's that I linked earlier (op should work, but if it doesn't try LuK1337's), but if you get errors when flashing lineage with those twrp's, flash the 20180717 build and use the built in ota updater to update to the latest version, and flash magisk again after.

If you want a walk through, you can go on irc and asked to be walked through it. I might be there.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Lupin The Third:
By the way, the 3.2.3 twrp download links are on the first post!

Just in case anyone missed it. :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ekistece:
Thanks for your time abhshek! Which was the reason for all the problems with twrp and the old lineage recovery? I'm curious about it, what did change on the lastest builds format?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] noire0:
actually I could keep the encryption from stock on the 07/17 lineageos build, and on the last version of AOSP Ext