yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
You can't relock bootloader if you root your phone. Don't try that anymore please, you will break your device.

To fix the camera delay, use this magisk module.

https://xdaforums.com/mi-a1/themes/module-long-camera-start-fix-mi-a1-t3745262
[Xiaomi Mi A1 Questions & Answers] Aren_Mako:
I have a custom rom installed (RR)... I have removed all fingerprints and pattern locks... As I want to flash another rom... But when I boot to recovery, it still asks me for a pattern lock (which I deleted) to decrypt the data.

Should I go ahead and provide the unlock code and install the rom? Will I run into a situation where I have less than 64gb of storage( some storage lost due to encryption issues)
[Xiaomi Mi A1 Questions & Answers] realtebo:
May a1 has two systems? I discovered slot a and slot b After install twrp.

What is the purpose?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
It was time you find it :)

Enjoy reading :)

https://source.android.com/devices/tech/ota/ab/

I may add a simple q&a about this in OP.
[Xiaomi Mi A1 Questions & Answers] realtebo:
Thanks. Usefull link. Just to be sure, we have 2 systems AND 2 boots ? Or only 1 boot partition?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
2 boot and 2 system partitions.
[Xiaomi Mi A1 Questions & Answers] realtebo:
Twrp is a recovery , right? So it do not touch the boot partitions?
[Xiaomi Mi A1 Questions & Answers] kentliu:
How to unable camera2 api and EIS? I enabled it from cmd or adb things n i dunno how to unable it
[Xiaomi Mi A1 Questions & Answers] Ashalby:
I did flash the stock rom via mi flash tool and wiping everything but it didn't work .. I didn't try a custom kernel but i did try a custom roms with different kernels i think it's the same idea
[Xiaomi Mi A1 Questions & Answers] leo_pard2331:
My wifi doesn't get connected if i use any kernel other than franco kernel r7....

I tried every other kernel on every ROM

Please help!
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
You're on mi A1?

You can trey to unfreeze a device in some cases by holding the Power button to boot... try holding it for about 30-40 second and then release.

Second option, boot into safe mode, see if that works.
[Xiaomi Mi A1 Questions & Answers] orgert:
I would like to install twrp , and start trying some roms before choosing to use one . I ve never used A/B phones. How does it work to flash twrp ? And can i flash roms , like in phones with one partition like the nexus 6 ? If flash one rom i A partition , what should i do with partition B ? Any help would be apreciated:victory:
[Xiaomi Mi A1 Questions & Answers] Ashalby:
My device is mi a1 and it works well and it boots but the problem that it turns off when i unplugg the adapter and i should turn it on again but after booting everything is ok
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
OK, my apologies, i thought that if you unplug it will just shut off and not be able to start if you don't plug back. Looks like a bug, i'll do some testing on my MiA1 and come back to you :p
[Xiaomi Mi A1 Questions & Answers] Ashalby:
It's ok bro nevermind .. I'm gonna flash 9.6.5.0 rom and i will try again .. Thanks for trying to help
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
Flashing twrp worked well, regarding flashing on a/b partitions, i installed Epic Rom by [MENTION=5606590]pocaropa[/MENTION] based on Miui 9 and so far works great. The process is straightforward, and i didn't had to play with partitioning, follow the guide posted by OP.

---------- Post added at 01:23 AM ---------- Previous post was at 01:21 AM ----------

Sounds good, try flashing Epic rom too?
[Xiaomi Mi A1 Questions & Answers] pussymeister:
Any idea on Resurrection Remix Pie(9.0)??
[Xiaomi Mi A1 Questions & Answers] MiCKY?:
Please I need wpa_supplicant file Located system\etc
[Xiaomi Mi A1 Questions & Answers] genericsauce:
Hate to bump but I think its been an appropriate amount of time but does anyone have any insight to this issue?
[Xiaomi Mi A1 Questions & Answers] ouroboros12:
Hey man, what stock rom version were you on when you flashed roms?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Specifically which twrp are you using? Can you post the link of the thread here?
[Xiaomi Mi A1 Questions & Answers] genericsauce:
3.2.3-1 from here and 3.2.1-2 from there.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
MohanCM should work fine. Abhishek has also a recovery in his lineage thread if I remember correctly.

It's been a while since I left Mi A1 for pocophone.

However, here's my suggestion:

Save your data somewhere else, e.x. in your computer or external sd card.

In twrp format your data partition (format is different from wipe). This will remove stock encryption and delete all your data. Reboot, and now make a backup of your stock rom in twrp.

Now flash lineage. After this try going back to your stock rom and see if it boots.

Basically what I'm suggesting is make sure you have unencrypted backups if you want to go back and forth from stock to custom rom (lineage in this case).
[Xiaomi Mi A1 Questions & Answers] cyrrel:
Hi,

Do you unplug the adapter first from the socket and after that from the phone?

I have the same issue when inserting my unplugged adapter into the phone.

In case you do - try it the other way round - first out of the phone. Never had an issue doing it like that
[Xiaomi Mi A1 Questions & Answers] Yamz18:
Hi guys, newbie here, is it really possible to have a watermark on gcam ?

if it is kindly send to me a link and tutorial, badly needed thanks ?
[Xiaomi Mi A1 Questions & Answers] Yamz18:
can i flash this img via TWRP ?
[Xiaomi Mi A1 Questions & Answers] AkCullen:
So my phone is stuck on bootloop.

I believe it ran out of memory because it kept throwing memory error and I ignored it.

Is there anyway to recover data without flashing it? Because there are some data I haven't backed up.

I'm able to access recovery mode and fast boot.

Thanks in advance.
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
If you have twrp recovery, boot into it and connect your phone to a computer and you can see your internal storage and sd card in Windows explorer. You can copy/paste from one to another or just copy in pc directory.

---------- Post added at 12:45 AM ---------- Previous post was at 12:31 AM ----------

See if this works :cool: https://xdaforums.com/mi-note-3/how-to/guide-add-shot-mi-watermark-to-photos-t3838396
[Xiaomi Mi A1 Questions & Answers] AkCullen:
I wish I could do that. But I don't have twrp installed.
[Xiaomi Mi A1 Questions & Answers] Yamz18:
Links are all deads sad :(
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
Bootloader unlocked? If so, you can flash twrp.

If your bt loader is locked there's no point unlocking it now, it will erase everything.
[Xiaomi Mi A1 Questions & Answers] asukeprime:
Battery drain while phone la off

Hi, my phone battery sucks, usually it drains around 30-40% at Night in standby. But yesterday i turned my phone off at 53% to save some battery for the rest of the night, i turned it on 6 hours later and the battery was at 13%. What could be the problem? Changing the battery/pin charging module would resolve it? THX in advance.
[Xiaomi Mi A1 Questions & Answers] mascote9rc:
What can i do without root and locked bootloader? Maybe some mod, themes or something... Gcam is not possible?? I always use lineage on my moto g1, and the arrows on the keyboard its one feature that I like!!
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
Not much without root or custom roms. Android One is pretty simple and lacks all the features and customization... You can try some of the launchers from gstore, keyboards, etc. As an example i use ZenUI Keyboard from Asus on both my Pocophone and Mi A1 to replace the gboard, plus has some cool themes and it's higly customizable.

---------- Post added at 03:25 AM ---------- Previous post was at 03:20 AM ----------

Contact the OP regarding links. Ask him politely and he may be able to provide you with new links or suggestions.

---------- Post added at 03:27 AM ---------- Previous post was at 03:25 AM ----------

Are you on stock Android, no root, locked btloader?
[Xiaomi Mi A1 Questions & Answers] Apih95:
I'm on treble ROM which is HavocOS. I want to install non treble ROM which step should I do? Do I need to wipe vendor for non-treble ROM?
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
I know AOSP will wipe vendor during installation, not sure about other roms.

See if this helps you: https://xdaforums.com/mi-a1/how-to/treble-stock-to-treble-everything-to-t3793734/
[Xiaomi Mi A1 Questions & Answers] mhmdeveloper:
I was using PIXEL EXPERIENCE 9.0. Then to update Rom i tried to install Twrp. I mistakenly booted nougat twrp from fastboot

Then after i noticed that i was trying nougat twrp instead of Oreo..i downloaded oreo twrp and booted...but when i tired to touch is was faulty..mean for suppose i triede to open mount menu it touch on Reboot in twrp.

Then i decided to flash stock rom.

I downloaded latest one and flashed but result was same... Touch problem...

PLEASE TELL.ME FIX
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
Try to do a "flash_all" official rom to restore all factory and partitions, then flash twrp. Beware, this will wipe your device clean.
[Xiaomi Mi A1 Questions & Answers] mhmdeveloper:
I have fix it myself..
[Xiaomi Mi A1 Questions & Answers] Yamz18:
in backing up the data via twrp will it include the application such as Mobile Legend and etc.?
[Xiaomi Mi A1 Questions & Answers] ramitzoro:
[MI A1] When I am flashing any 9.0 custom rom, it installs properly but always there are two camera apps both of which do not work and when I call or receive call the volte icon in status bar disappears and the call drops. The same roms when flashed on my friends mi A1 they work fine. I am not able to understand what the problem is. I have already tried clean flashing stock rom with flashtool.
[Xiaomi Mi A1 Questions & Answers] ajmc1:
Any help, please...

I have an MI A1 about 9 months old. Was using it properly till September update. Now it is not connecting to PC. no option is showing to select USB connection mode. Tried different cables which are working well with other phones. The only thing happening on USB connection is charging. Please help. I need to connect to a PC for taking backup of my data.

---------- Post added at 11:40 AM ---------- Previous post was at 11:16 AM ----------

Got any solution??? Having the same issue for my device.
[Xiaomi Mi A1 Questions & Answers] jjplayground:
Hi,

I am a noob and I have a phone I can not use any more (see https://xdaforums.com/mi-a1/help/phone-screen-off-reboot-t3866575).

I got an answer there how to solve it:

"I have the same issue and the only way that I find is flashing October stock firmware and select the active partition A and then upgrade to November OTA update"

But... I don't know how to flash the October stock firmware and select the active partition.

Can someone tell me how to do this. My phone is still unrooted and 1.5 moth old.
[Xiaomi Mi A1 Questions & Answers] Thempo:
I sent you a pm to further help you with my temporary solution.
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
Yes, all your installed apps and their data.

---------- Post added at 05:12 AM ---------- Previous post was at 05:08 AM ----------

Did you look for "usb configuration" in developer options? Did you installed adb drivers?
[Xiaomi Mi A1 Questions & Answers] Omega:
My problem was related to the data cables.

If you have tried different data cables and all the options from the developers menu.

Then you should try connecting your phone with different pc and different operating system.

And if you are using windows, then install proper drivers.

If problem still persist then try factory resetting.

If all of that don't work then your hardware might be defective.

You have to go to service center...
[Xiaomi Mi A1 Questions & Answers] zawap:
November ota update while rooted

Hello everybody,

now I don't consider myself a noob, but I have a question regarding the latest update and I rather not open a whole new topic. I have the phone rooted with magisk and I don't think I can do ota update or can I?

What happens if I do the update? Does it just remove the root and I have to reroot?

Thanks to all
[Xiaomi Mi A1 Questions & Answers] Karran963@hotmail.com:
urgent help needed

i got stuck in boot loop while flashing stock rom with mi flash tool.

i forgot to backup. i am on partition b. help me to get back on partition a

:crying::crying::crying::crying::crying:
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Try this command in fastboot:

fastboot set_active other

Then reboot with:

fastboot reboot
[Xiaomi Mi A1 Questions & Answers] Yamz18:
is there any atmos version on that will work on AEX rom? if it is, kindly send a Link thanks
[Xiaomi Mi A1 Questions & Answers] vikkuyellow46:
This app is eating up all my data pack ??? need help i don't want uninstall or stop it since it is a Google app!
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
Go to settings and deactivate automatic google backup, also control / change apps permissions and mobile data usage in settings/apps/permissions.

Also you can go on google store and install AFWall+ it's a firewall running with root permission where you can control what apps connects to data and Wi-Fi. You can control installed apps and system as well. I use it all the time on all my devices and rocks.
[Xiaomi Mi A1 Questions & Answers] haybend:
Help needed - Not sure how to update Mi A1

Hello guys,

My phone is on March security patch and it is rooted (after following stepps of a guide in this forum).

I read alot of threads that warn that if you try to update to newer patches all your phone data is getting deleted.

Is there any one who can explain me if there is any method to update from March patch to November patch without losing my data?

Also, i would like to get some info how to install TWRP since i would love to have the option to backup my rom and try some custom roms.

1. Do u lose all data when flashing twrp?

2. Any simple guide how to do it?
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
You can download the rom and flash it in twrp and not losing your data.

Installing twrp doesn't delete your data.

Download the latest twrp for your phone,into a pc, go to that folder and open cmd window by pressing shift and right click, your phone in fastboot and type: fastboot flash recovery recovery.img (or your file name.img) and there you have it.
[Xiaomi Mi A1 Questions & Answers] haybend:
Stuck at Logo screen

Hey man, first of all thanks for your reply.

I did the following steps:

1. Installed TWRP successfully.

2. Flashed November Patch successfully.

3. Then i noticed i lost Root and tried to patch the patched boot img and install magisk zip file but now im stuck at logo screen.

Any ways to solve this issue? (preferably without losing my data?
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
Go back in twrp and flash same magisk file again. When you do so, magisk will find itself installed and it will uninstall.
[Xiaomi Mi A1 Questions & Answers] vikkuyellow46:
thanks brother!
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
By clean flash you did wipe data, cache and dalvik?

Try flashing a previous build of the stock rom.

Regarding the camera, you should find some modules to fix, in magisk.

---------- Post added at 08:53 PM ---------- Previous post was at 08:46 PM ----------

You're welcome brother ?
[Xiaomi Mi A1 Questions & Answers] absolut.hero:
I want to install google camera without rooting. Is it possible?
[Xiaomi Mi A1 Questions & Answers] MarwanKhalid55:
Hello, I tried to flash crdroid custom rom via twrp but it always gives me error 255 although I did wipe everything (devlik, cache, system and data). Any help will be appreciated :)
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
No, until camera 2 api is enabled by default.

Which twrp version are you using?
[Xiaomi Mi A1 Questions & Answers] MarwanKhalid55:
3.2.1.0

---------- Post added at 08:08 PM ---------- Previous post was at 08:03 PM ----------

I tried with both versions (3.1.1-1 & 3.2.1.0)
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Update the recovery to 3.2.3. Find one in the lineage os 16 thread.
[Xiaomi Mi A1 Questions & Answers] MarwanKhalid55:
Ok, thank you :)
[Xiaomi Mi A1 Questions & Answers] MarwanKhalid55:
One more question, how do I know which partition am currently on ? Thanks :)
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Go to the reboot option in twrp.

See current slot:
[Xiaomi Mi A1 Questions & Answers] kachimasu:
Hi guys,

Is there any way to check if EIS is enabled on my phone? I used this tool to enable Camera2 API and EIS months ago, now I noticed that EIS isn't really working with Gcam.
[Xiaomi Mi A1 Questions & Answers] manpildo:
In Gcam settings see if you can enable video stabilisation. Shoot videos with both off and on, then compare. For me the difference is noticeable.
[Xiaomi Mi A1 Questions & Answers] kachimasu:
I've updated Gcam to newer version and recorded couple of videos outside my house, I see big difference now. EIS is definitely enabled and it's working. Thanks for the help.
[Xiaomi Mi A1 Questions & Answers] chrztn:
Where can i find twrp recovery installer zip for pie (mia1)
[Xiaomi Mi A1 Questions & Answers] pranit26:
Whenever i installed costum rom my gcam doesnt start ....

Prerootes rom i have installed and same thing happened with me gcam dont work

I tried to root with magisk and enable the camera2api ....then also gcam dont work

Help ???

The rom which comes with pre installed gcam....that cam also dont work for me

( I tried 4 different custom rom for gcam every rom work well but gcam dont work for me )

What to do friends ???
[Xiaomi Mi A1 Questions & Answers] iSEKAI:
So guys.. i really had some issues.. annoying one

my mi a1 already been rooted . and whenever i reboot/restart the screen lock pattern/passwrd/pin always pop up on booting animation which Sooo Uncool. can you guys help me what to do to remove it so the pattern,etc pop up at the booting animation

*withouth removing the screen lock like fingerprint,pattern,others

*sorry for bad english
[Xiaomi Mi A1 Questions & Answers] Preet9090:
Camera and flash not working in pixel experience.

guys please help me my phones camera and flashlight is not working it was working after i flashed the rom but suddenly it stopped worked im on the latest version of pixel experience
[Xiaomi Mi A1 Questions & Answers] Yamz18:
Hi is it really possible to have a Watermark on GCAM ? Can someone provide a Link ?
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
In settings/security you have the option to turn off/on the lockscreen password during boot. If you turn that off, you'll have a password/pin screen after reboot is complete.
[Xiaomi Mi A1 Questions & Answers] iSEKAI:
oh yeah.. it's actually tells you when you wanna set you fingerprint, you can click no and the pattern would shows up after the booting animation

but why is my booting animatiin (watch dog) were not shown full.. i mean it was cut on "login" logo (of you use the boot you'll know) and my lockscreen wallpaper instanly shows up.
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
Not sure about this, maybe the boot is just faster? :D
[Xiaomi Mi A1 Questions & Answers] manpildo:
This is the most random question ever and has nothing to do with the phone, but I don't know where is the proper place to ask so maybe somebody from here has a quick answer. :D Anyway, where can I see my notifications on this new XDA forum layout? When I click on "notifications" it directs me to my user control panel, nothing there...
[Xiaomi Mi A1 Questions & Answers] bagus161220:
Whatsapp camera fliping and it goes green. How to fix this
[Xiaomi Mi A1 Questions & Answers] AlvinKyo:
hi guys. Ive seen the news recently that mia1 is going to get Android pie soon.

My question is will there be any alternative to solve the camera problem in mia1 which is lack of eis and ois. I used my mia1 alot to film and shoot.

ive studied a lot in xda. The easiest solution now will be rooting my mia1 and installing the gcam app.

i know that thats definitely gonna work but i dont want to mess with my phone since im not pro anyway.

Will there be any solutions after we get Android pie?

from

Pure n00b
[Xiaomi Mi A1 Questions & Answers] barrack1:
Its because the forum was still upgrading, now the notifications should work. It wasn't working for me yesterday as well.
[Xiaomi Mi A1 Questions & Answers] Ashalby:
Is it safe to switch from official pie beta (with twrp issue ) to aex pie rom ?
[Xiaomi Mi A1 Questions & Answers] Saurabh3498:
Can y'all suggest me some best Pixel 3 Cam ports for Mi a1 Android P Stock? Camera2api is enabled..
[Xiaomi Mi A1 Questions & Answers] maikalex96:
Hi, I want to know about the Android 9 update... Actually I'm asking for the official build not Roms... The thing here is that some tutorials recommend use VPN services in Netherlands or Austria in order to force the update. I'm from Costa Rica.

My Questions are...

1. The VPN method will mess my 4G or even have any kind of restriction.

2. What are the release of the official builds for America and LATAM or somebody has any clue about the update.

Thanks and sorry for my English.
[Xiaomi Mi A1 Questions & Answers] martinlaizg:
Bootloop

I stuck on bootloop after downgrade from android p (ugraded using VPN) to android 8.1.

I tried to flash Nougat and Oreo versions and recover boot and efs partitions on TWRP (with other user backup).

The only thing that I can say is that I can't flash with MiFlash. I flash with the file flash_all.bat

Any solution?

Thank you.
[Xiaomi Mi A1 Questions & Answers] kronoviii:
Is there any way to one tap root or root without pc for mi a1 after November update?
[Xiaomi Mi A1 Questions & Answers] barrack1:
There were lots of threads about this problem and you should have checked before using a VPN to update. Xiaomi has a bad track record of major updates so it was a bad idea to update in any case.
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
You'll need a computer in order to flash twrp. After that you just download and install magisk in recovery.
[Xiaomi Mi A1 Questions & Answers] amiralihz:
Mi A1 Stock Android Pie rom is ready!

Finally, stock andrid Pie is ready to download in Iran.

So, everybody Mi A1 users guide me with your ideas ...

I can relock oem and download the pie rom and use it for a couple of times like basic ( Kos Maqz guys)

Or I can reserve the paitiont and use the oreo for a couple of times

Which would you prefer to do??:angel:
[Xiaomi Mi A1 Questions & Answers] abdullah-baig:
Gcam not focusing ( auto/ manual-tap to focus) in android pie, any solution ? Tried multiple version but the issue is same
[Xiaomi Mi A1 Questions & Answers] armujahid:
Official treble vs phhusson treble

Does official pie OTA treblize (repartition) the device? if yes than I am curious to know the technical details. i.e. Is MI A1's official treble is different from [MENTION=1915408]phhusson[/MENTION] treble approach mentioned here.

PS: I already have a treblized device running Resurrection Remix AIO. Thanks to phhusson.
[Xiaomi Mi A1 Questions & Answers] gayfish00:
Sup, please help with the problem. When I want share content, after couple second Phone show me recommended apps and contacts(on screenshot). And background this menu Always White, font White too. Everything merges and is not possible to read. Please help fix the situation. Screenshot link on gdrive here(can't upload png here)
[Xiaomi Mi A1 Questions & Answers] zoneofSAM:
Hi.

I have a weird question.

I am on MI A1 8.1(November patch) and

Q1) I want to UNLOCK MY BOOTLOADER and use my phone but don't want to install twrp and magisk, is it safe to do this?

Q2)

Also, after bootloader is unlocked with no twrp/magisk, Would i be able to OTA phone officially in future like PIE nd monthly security patches ?

I am not a newbie when it comes to Xda and android modding but I guess things are simpler for Oneplus devices.. Thanks in advance and MERRY XMAS XDA FAM?