yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Guides, News, & Discussion] sash11:
You need to extract boot.img and system.img from stock firmware and flash them one after another:

fastboot flash boot boot.img

fastboot flash system system.img
[Xiaomi Mi A1 Guides, News, & Discussion] simpleman1010:
thanks a lot man <3

it worked
[Xiaomi Mi A1 Guides, News, & Discussion] tupac-et-you:
Hi,

Thank you for your job.

I followed steps but I can't root my phone I have this message : ctsprofile false

And I can't install Magik , I'm on version of February.
[Xiaomi Mi A1 Guides, News, & Discussion] saaad56:
please any one tell me how to uninstall magisk as i rooted my mia1 having pie february updated but i want to unroot it because important programs for me do not run on rooted devices
[Xiaomi Mi A1 Guides, News, & Discussion] DJBhardwaj:
You can also keep root and use Magisk Hide to hide root from apps that detect it.

If you really wanna unroot, you can open Magisk Manager, disable and remove all the modules that you may have installed, and finally use the Uninstall button in Magisk Manager to completely remove it. :good:
[Xiaomi Mi A1 Guides, News, & Discussion] saaad56:
thanks a lot for ur help i will try magisk hide first if it works i will not unroot my phone

---------- Post added at 12:52 AM ---------- Previous post was at 12:49 AM ----------

so i tried the hide function and it works.

thaaanks a lot again for ur help
[Xiaomi Mi A1 Guides, News, & Discussion] 25vikasp:
where to find these files ,could you please share
[Xiaomi Mi A1 Guides, News, & Discussion] ben1000000000:
help

HELP ME!!!!!!!!

I"VE each and every step of this video to install Gcam on my Xioami Mi A1. these are some steps.

1. install platform tool 2.8 windows

2. enable USB debugging + OEM unlocking

3. Reboot in FASTBOOT then connect to pc

4. installing MAGISK manager to Mi A1

5. write code for unlocking Camera API2 and EIS in pc using platform tool for windows

then install Gcam v6.012 .apk

6. test the Gcam all working!!!

7. uninstall Magisk manager.(this is the last step)

so

in final step on uninstalling MAGISK manger(v8.1) device should have rebooted but it stuck on on starting "MI logo" .

i've tried many combination using all 3 buttons but no result. can't open the 'recovery boot screen'

help me ..????
[Xiaomi Mi A1 Guides, News, & Discussion] simpleman1010:
https://www.google.com/url?sa=t&sou...Vaw3EKoObu8yqKBqHtghLVeI_&cshid=1553880626628

this rom is the one before February

I got it from en.miui.com
[Xiaomi Mi A1 Guides, News, & Discussion] 25vikasp:
so i am on January build so should i pull out and flash the system and boot img files directly , and i already have this file downloaded but it shows corrupted , so if you have downloaded this file could you please share system and boot img files on google drive thanks
[Xiaomi Mi A1 Guides, News, & Discussion] simpleman1010:
I can't upload them slow internet, sorry dude.

just type mi a1 rom on Google and look for the version you want.
[Xiaomi Mi A1 Guides, News, & Discussion] 25vikasp:
same here slow internet ,only speed on google drive ,anyways thanks
[Xiaomi Mi A1 Guides, News, & Discussion] tocadiscø:
someone got the 10.0.7.0 march image boot? pls

EDIT: i got this

https://drive.google.com/file/d/19jPY9LrtXsTBeGR5XqUziXUVXNfD10FG/view

the 10.0.7.0
[Xiaomi Mi A1 Guides, News, & Discussion] :
If anyone could provide the full-OTA link so I can extract the boot.img from it, I'll post it in the OP.

Can't get the link by myself atm since I have migrated to LOS16.

Also please don't post links to other sources without posting exactly what update it's for. For example during January's update there were 2 different ones V10.0.4.0.ODHMIFE and V10.0.4.0.PDHMIXM and the boot.img of one wouldn't work with the other.

Thanks for helping though!
[Xiaomi Mi A1 Guides, News, & Discussion] :
Sorry for the late reply.

I think the issue is that you left the patched boot image on the system instead of restoring the stock one (again not sure about this since I haven't ever manually uninstalled even though maybe I should add a certain way of doing so in the OP).

When uninstalling Magisk there's an option to "Restore Images" which restores a backup of the untouched boot.img. (from the official Magisk documentation)
[Xiaomi Mi A1 Guides, News, & Discussion] tocadiscø:
no prob man
[Xiaomi Mi A1 Guides, News, & Discussion] :
Added March UNTOUCHED boot.img.

Full OTA link for anyone interested in extracting it on his own.

It's the V10.0.7.0.PDHMIXM update one.
[Xiaomi Mi A1 Guides, News, & Discussion] 25vikasp:
i have tried this march version my phone got formatted :(:(,unlike the January version was working fine for me
[Xiaomi Mi A1 Guides, News, & Discussion] :
I wiped my device and tried the entire process to deliver the full ota link and untouched March boot.img on this thread and everything went fine.

So no, the boot.img is not the problem. You probably did something wrong yourself.
[Xiaomi Mi A1 Guides, News, & Discussion] 25vikasp:
Let me give a try again ?
[Xiaomi Mi A1 Guides, News, & Discussion] carlox97:
Hey! How do you do to extract boot.img from that ota link? Because I extracted the .zip but can't find the boot.img

Thanks!
[Xiaomi Mi A1 Guides, News, & Discussion] :
Take the payload.bin file and extract the system images using a payload dumper.

It will extract all of the system images (boot.img included)

Not going to link it but I use "payload_dumper-win64.zip" which is the first search result on Google.

EDIT: Oh, forgot to mention how you use it. Place the payload.bin in the payload_input folder and run the payload_dumper.exe. When it's done, all of the system images should be in the payload_output folder.
[Xiaomi Mi A1 Guides, News, & Discussion] :
Added April UNTOUCHED boot.img.

Full OTA link for anyone interested in extracting it on his own.

Thanks to [MENTION=5301049]Titokhan[/MENTION] for the link (related post)
[Xiaomi Mi A1 Guides, News, & Discussion] beeshyams:
Stumbled on this thread and glad that I did!

Appreciate your efforts to maintain the thread despite moving to custom ROM :good::good::good:
[Xiaomi Mi A1 Guides, News, & Discussion] :
Added May UNTOUCHED boot.img.

Full OTA link for anyone interested in extracting it on his own.
[Xiaomi Mi A1 Guides, News, & Discussion] :
Also added as many OTA links as I could find around the forum and a Payload Dumping Guide at the end of the OP.
[Xiaomi Mi A1 Guides, News, & Discussion] ben1000000000:
Tnks for the reply

And it got recoverd only by manually rebooting phone by laptop using patched boot.img

But afer 15th try i got the idea of booting January stock.img from www[dot]the***********[dot]com/enable-camera2api-eis-xiaomi-mi-a1/

And it got back normal.
[Xiaomi Mi A1 Guides, News, & Discussion] wadepaq:
My mi A1 pie no root with patch may 2019

I tried to enable camera2 api use that method too

I took the patch from first page, is that patch boot img may 2019 right?

After i patch it n launch termux then execute "su" command... I didnt see any prompt pop up for grant on my screen.

Did i mss something?

Newbie here.... Thanks you
[Xiaomi Mi A1 Guides, News, & Discussion] sipollo:
Install Magisk manager APK.
[Xiaomi Mi A1 Guides, News, & Discussion] wadepaq:
I was, but magisk wont installed.. i mean after patch it there no magisk in app drawer then i instal magisk apk but still fail according root checker.

I want to install gcam coz its easy method and root Will vanish after procces and reboot, simple. i just want temporary root .
[Xiaomi Mi A1 Guides, News, & Discussion] sipollo:
Did you reboot before installing Magisk Manager? If you reboot you will lose root access. Otherwise you can try with another Magisk version.
[Xiaomi Mi A1 Guides, News, & Discussion] wadepaq:
Nope, I thought the magisk Will be installed automatically after patch boot img executed then phone will boot into OS, right?

Next, i launch the termux and type "su"... Command but no prompt pop up for grant on my devices screen
[Xiaomi Mi A1 Guides, News, & Discussion] sipollo:
Correct steps are:

-Boot patched_boot

-Install Magisk Manager APK (not Magisk .zip)

-Open termux

-Execute command su

-Grant root access from Magisk Manager

-Execute command setprop (...)

-Reboot
[Xiaomi Mi A1 Guides, News, & Discussion] :
Yeah, this sounds correct, you need an app to show the prompt for su.
[Xiaomi Mi A1 Guides, News, & Discussion] wadepaq:
Same as i did :D

Maybe the problem is magisk version, any sugesstion ?

After i patch it > i installed the magisk apk (not opened) > download termux n launch it and type su on my cmd but prompt wont pop up. That why o cant continue to execute setrop (..) command

I don't know

---------- Post added at 09:38 PM ---------- Previous post was at 09:28 PM ----------

Yes, but i keep failed when try to get temporary root. If i renamed patch boot image file its ok?

Same as he did

- i patch it

- install magisk apk

- download n run termux

- type su command on my cmd to get prompt superuser pop up on the screen (i didn't get it)

- cant continue to exe setrop command until i get temporary root :D

I don't know, very newbie here :D
[Xiaomi Mi A1 Guides, News, & Discussion] wadepaq:
Ok i give up:eek:

My last phone condition is pie no root, unlock, v10.0.9.0 pdhmixm

I really don't know what i missed:confused:

I patch it used the boot img from the first page > phone automatically boot into os > i opened the magisk manager (no request additional setting & no directly install option, just download zip & select patch file like on the YouTube tutorial)

Now let me rest for a moment, i have tried over 15 times using latest magisk version n other version still failed to get temporary root. But with the same patch boot image from OP :laugh:

Thanks you
[Xiaomi Mi A1 Guides, News, & Discussion] beeshyams:
You need to do direct install, see this detailed guide

https://xdaforums.com/mi-a1/how-to/guide-rooting-mi-a1-twrp-wiping-post-t3824550
[Xiaomi Mi A1 Guides, News, & Discussion] wadepaq:
I got the temporary root, i check it with root checker app to confirm that

So i execute with this :

[IMG="command"]https://s.kaskus.id/r540x540/images/2019/05/29/8084160_20190529114502.jpg[/IMG]

[IMG="check"]https://s.kaskus.id/r540x540/images/2019/05/29/8084160_20190529114528.png[/IMG]

[IMG="check2"]https://s.kaskus.id/r540x540/images/2019/05/29/8084160_20190529114514.png[/IMG]

But after that reboot my root vanished

Question is, did i succed enable camera2 api and eis? I doubt eis has enabled Coz i don't exe setrop (....camera.eis) command :confused:

Thanks you, just newbie here :)
[Xiaomi Mi A1 Guides, News, & Discussion] beeshyams:
No idea about that. Sorry.
[Xiaomi Mi A1 Guides, News, & Discussion] :
Hey, sorry to come off as rude, but you are going kinda offtopic here.

If you'd like to temporarily root (the simple way) to enable Camera2API, just do it by flashing the Magisk zip on twrp, executing the commands via adb/terminal and the completely uninstalling Magisk.

Anyway, if your issue still persists, you could ask on a thread more related to your issue.
[Xiaomi Mi A1 Guides, News, & Discussion] earlrobes10:
Boot.img for June 2019 (V10.0.10.0.PDHMIXM)?

Does someone have the boot.img for this recent update of June 2019 (V10.0.10.0.PDHMIXM)?
[Xiaomi Mi A1 Guides, News, & Discussion] :
I tried extracting the link fo the full image but the update process was kinda buggy. June update wasn't showing up when on Oreo, had to update to May Pie and then June. Will try again soon and post it asap.
[Xiaomi Mi A1 Guides, News, & Discussion] kokofrank:
Here's the june patched boot:
[Xiaomi Mi A1 Guides, News, & Discussion] :
As much as me and other users appreciate that you post it, could you please remove the link?

Sorry if it seems rude to ask that, I just don't like posting a boot.img that:

I haven't extracted myself

I haven't used myself

So I would really appreciate it if you removed the gdrive link. I want the thread to be as clean as possible, especially now that I'd like to have the official ota links in the OP.

Thanks.
[Xiaomi Mi A1 Guides, News, & Discussion] saviorv7:
Mi a1 june 2019 ota (recovery)

This is my first post on xda, so I can't post any outside link.

I found june ota link on a website 'piunikaweb'
[Xiaomi Mi A1 Guides, News, & Discussion] cmenghi:
Hi, here are the june patched img https://drive.google.com/file/d/1LH4e4tHrKZtsbj3sC-adgBfT_tyeQ2FZ/view?usp=sharing

enjoy
[Xiaomi Mi A1 Guides, News, & Discussion] :
Can you please read 2 posts above yours?

Thank you.
[Xiaomi Mi A1 Guides, News, & Discussion] :
Added June UNTOUCHED boot.img.

Full OTA link for anyone interested in extracting it on his own.
[Xiaomi Mi A1 Guides, News, & Discussion] allanstanley:
I need july 1 boot image

I need to root my mobile so i need july 1 boot image
[Xiaomi Mi A1 Guides, News, & Discussion] :
Can you like, not quote the entire OP?

Also I will post that whenever I have time to extract the OTA link. Right now I'm on LineageOS.

There is a guide in the OP if you are impatient and want to extract the image yourself, noone is stopping you from doing so.
[Xiaomi Mi A1 Guides, News, & Discussion] DJBhardwaj:
For those who need, below are the stock and patched boot images for July 2019 update (V10.0.11.0):

-----

Haven't tested yet, so let me know. Patched using Magisk 19.3.

EDIT: Links removed. See the post below.
[Xiaomi Mi A1 Guides, News, & Discussion] :
Hey, I understand you want to help provide this to other people but I would like to kindly ask you to remove the links. The only links that I'd like posted in this thread are the ones in the OP (as I've asked from other members who've done the same as you)

Link in the OP will be posted when I extract the OTA link from my device by myself, just to be safe.

Thanks for trying to help, but as I've asked from other members, please refrain from posting links in replies and kindly remove the ones you already posted.
[Xiaomi Mi A1 Guides, News, & Discussion] DerSoda:
Great guide with detailed information and up to date images.

Thank you so much!
[Xiaomi Mi A1 Guides, News, & Discussion] Jerryxl:
[MENTION=4665219]michkost858[/MENTION] hii i rooted my A1 without flashing the twrp (using hot boot). Everything was fine until i saw a notification that said "system update failed to install". Now when i tried to connect it with pc nothing's happening. Only charging indicator is lit. No ftp and usb debugging notification is showing. Then i booted into fastboot and connected to pc still no device is showing up in cmd. Then i tried to boot into stock recovery only to see "system has been destroyed" message. In think i forgot to disable the automatic update installation. So after rooting may be the phone updated the device itself and got corrupted somehow. So i cannot do any thing because the phone is not detected by pc even in fastboot mode. But I am able to boot into system normally. And the phone is working normally, no problem whatsoever. (Also i installed BusyBox-not the magisk version (my bad). Maybe that had something to do with it.) So is there something I can do ??
[Xiaomi Mi A1 Guides, News, & Discussion] :
Yeah it probably did a system update when you rebooted. Quite odd that it can't get detected on fastboot though. If you get it to work on fastboot just use MiFlash to reset it to the update you'd like. I'm honestly not sure how you could do anything without fastboot to fix this. I've heard about EDL mode but I don't know how it works and if you need it. Just check you're using a good cable and that your PC has the fastboot drivers properly installed (try disconnecting and reconnecting the device etc.)
[Xiaomi Mi A1 Guides, News, & Discussion] DerSoda:
Reading skills are hard to come by these days....

Meanwhile the July patch is out

Never mind... I red the wrong "last" page...
[Xiaomi Mi A1 Guides, News, & Discussion] :
Added July UNTOUCHED boot.img.

Full OTA link for anyone interested in extracting it on his own.
[Xiaomi Mi A1 Guides, News, & Discussion] sgj1:
Deleted
[Xiaomi Mi A1 Guides, News, & Discussion] :
Thanks for this but I like to use android.googleapis.com links for my OTA links, since they are the ones delivered to the device directly.

Will post that when I get to it.
[Xiaomi Mi A1 Guides, News, & Discussion] :
Doesn't matter how many times I ask for it, you guys will always post links even though I've asked many of you to stop posting them.

Would really appreciate if you deleted this unless you post the OTA link you extracted this from. I like the thread clean and organized.

I will update the OP when I have the chance to extract the link myself.
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
I used the OTA provided by post #162

I extracted the boot stock from that

I personally patched the boot file

Inviato dal mio iPhone utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] :
And as I said:

Call it OCD or call it whatever you like, I want the links in the thread to be in the right order/format and from the correct source.

So yeah, do as you like, I'd be glad if you removed the links.

I'll post my own when I get the time.

I would write about not posting links in the OP but noone bothers reading that anyways so it's no use.
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
Honestly speaking I don't understand the reason of your request

I have not (and I cannot) modified your post or your OP

You can and cannot use my link

Any XDA forum user can and cannot use my link

As usual and as mainly is on public forum

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] :
Fair. It's a personal preference of mine that you can either respect or act like an obnoxious person and ignore it.

Keep the links posted if you like.

To anyone interested in the images in the OP, I will update them without notice from now on and ignore any other posts made by other members unless it's actual issues with the images in the OP.

Reason I'm doing this is because I'm tired of arguing with people who post links in their replies, even though I've asked for them not to do so.

Post whatever you want, I won't be responsible if you use images not posted by me.

Thanks.
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
I was thinking to do it but now ... I will act as a respectful person and I will ignore your last post

Have a nice day

Inviato dal mio Mi A1 utilizzando Tapatalk
[Xiaomi Mi A1 Guides, News, & Discussion] manchirua:
Hi, Can you please upload patched image for the September 2019 update?

Thanks a lot :)
[Xiaomi Mi A1 Guides, News, & Discussion] paolocorpo:
I have not updated yet

Mi A1 is not my daily smartphone today ...

I will do asap
[Xiaomi Mi A1 Guides, News, & Discussion] manchirua:
Hi, Can you please upload patched image for the September 2019 update?

Thanks a lot
[Xiaomi Mi A1 Guides, News, & Discussion] DJBhardwaj:
Sure. It will be posted when available. Just a quick tip, please avoid quoting full OP, instead use the "@" to tag the user.
[Xiaomi Mi A1 Guides, News, & Discussion] manchirua:
yes sir
[Xiaomi Mi A1 Guides, News, & Discussion] :
Added.

Patching instructions are in the OP.
[Xiaomi Mi A1 Guides, News, & Discussion] manchirua:
I have successfully installed Gcam from your file, thank you very much!

bootSep2019_patched for who needs it: https://drive.google.com/file/d/15Kcj5qlkvzCbNZ3Cv-_Hzei1ovaU04LG/view?usp=sharing
[Xiaomi Mi A1 Guides, News, & Discussion] ceccon:
Is this a september magisk patched boot Image? I want to reinstall the gcam but I don't wanna root my phone...
[Xiaomi Mi A1 Guides, News, & Discussion] manchirua:
yes, September

it use: fastboot boot patched boot.img
[Xiaomi Mi A1 Guides, News, & Discussion] SugarBabyy:
Hello, i can't open magisk manager. when I tap, it seems like opening a window but close immediately. Any solution?
[Fire General] Rortiz2:
Before starting I wanted to thank [MENTION=7860599]Supersonic27543[/MENTION] for the tutorial to disable system apps in Fire Os 5.6.1.0 and [MENTION=8560782]Monkeybomb365[/MENTION] for the tutorial to remove the lockscreen ads.

THIS IS ONLY FOR FIRE OS 5.6.1.0 AND UP, BUT YOU CAN TRY TO DO IT IN OTHER VERSIONS AND COMMENT IF IT HAS WORKED.​

REQUISITES:

​

- ADB DRIVERS INSTALLED

- USB CABLE

- COMPUTER

- com.amazon.unifiedsharefacebook.apk DOWNLOAD Only for 4th/5th/6th/7th gen Fires.

Fires 4th/5th/6th/7th gen:

1. Enable usb debugging and connect the fire to the computer.

2. Copy the file com.amazon.unifiedsharefacebook downloaded previously and copy it to the internal storage (sdcard0) of the fire.

3. Open a command prompt and type:

adb shell pm install -r -d /sdcard/com.amazon.unifiedsharefacebook.apk

4. Reboot the fire.

5. Connect the fire again and in command prompt type:

- adb shell
- run-as com.amazon.unifiedsharefacebook
- pm hide com.amazon.kindle.kso
- exit

7. Without disconnecting the fire from the computer type in command prompt:

- adb shell settings put global LOCKSCREEN_AD_ENABLED 0
- adb shell settings put global ksoHash 0

8. Restart the fire and enjoy a tablet without lockscreen ads.

Fires 8th/9th gen:

1. Download latest mtk-su from here (Thanks [MENTION=8132642]diplomatic[/MENTION] :victory:)

2. Copy arm/mtk-su to your ADB folder

3. Open a CMD

4. Push mtk-su:

adb push mtk-su /data/local/tmp/mtk-su

5. Chmod it:

adb shell chmod 755 /data/local/tmp/mtk-su

6. Open an adb shell:

adb shell

7. CD to data/local/tmp:

cd data/local/tmp

8. Get root shell:

./mtk-su

9. Disable ads:

pm disable com.amazon.kindle.kso

10. Reboot:

reboot

If you use linux do the same process but using the terminal instead of the command prompt.

IF IT HAS WORKED PRESS THE THANK BUTTON!:)

IF YOU DO NOT UNDERSTAND OR THERE ARE ERRORS COMMENT ;)

This method also removes the special offers icon that appears in the lower corner of the lock screen.

I do not have the one on the camera because I have disabled it and I have replaced it with google camera:
[Fire General] DragonFire1024:
This is brilliant. Before, changing LOCKSCREEN_AD_ENABLED value only worked for a short while because the KSO app would overwrite the value when it synced with the other amazon related settings. With the app 'hidden' you're actually tricking the system, and amazon into thinking the lock screen ads were 'legitimately' removed. Though the app is hidden, it can no longer sync the settings because it's services have been disabled. This may actually really piss Amazon off. However, they won't be able to fix it without a huge amount of trouble, money and resources. ?
[Fire General] mixxxk:
at step 2, this is what i keep getting. i was able to do step 3, but afraid the ads will return as i dont think step 2 was completed properly. thoughts ?

C:\Users\MixXx K>adb shell pm install -r -d /sdcard/com.amazon.unifiedsharefacebook.apk

pkg: /sdcard/com.amazon.unifiedsharefacebook.apk

Success

C:\Users\MixXx K>adb shell run-as com.amazon.unifiedsharefacebook pm hide com.amazon.kindle.kso

run-as: Package 'com.amazon.unifiedsharefacebook' is not debuggable

C:\Users\MixXx K>adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
[Fire General] Adyatan:
[MENTION=8165603]DragonFire1024[/MENTION] Can't this trick be used with other Amazon apps?
[Fire General] DragonFire1024:
I don't understand what you mean.
[Fire General] Rortiz2:
[MENTION=4351783]mixxxk[/MENTION] What version of fire os are you using?

You have copied the apk in the internal memory (sdcard0)?
[Fire General] Rortiz2:
[MENTION=8174911]Adyatan[/MENTION] Yes, here is a script that hides all amazon apps:

https://mega.nz/#!mtUVgYAL!q5svMvzgpkcH04B21UBc71KZ4m0Nex6lSw7liQljBO8
[Fire General] mixxxk:
Sorry, xda was down this morning, didn't realize it posted that over and over.

I'm using 5.6.2.0

And yes, copied directly.
[Fire General] Rortiz2:
mmm... What fire you have? HD10? HD8? 7 2015? 7 2017?
[Fire General] Rortiz2:
Duplicated Comment
[Fire General] mixxxk:
HD8 2017
[Fire General] Sasco1st:
Worked nicely on 5.4.0.0 on Fire 7 (2017, 7th Gen), thanks!
[Fire General] DragonFire1024:
You can still disable system apps on 5.4.0.0.
[Fire General] mixxxk:
404 Page Not Found
[Fire General] jb17112:
Same problem with Fire HD 10 (7th generation)

OS 5.6.2.0
[Fire General] DragonFire1024:
The HD 10 can be rooted. No need to use this method when you can delete the appropriate packages.