yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] Yaroray:
I have a problem with my A2. I followed your rooting instructions and everything went well and I got a root. But then I wanted to install TWRP and I followed those instructions:

fastboot flash boot_b TWRP-3.2.3-jasmine-20180804.img

fastboot set_active b

fastboot reboot (with holding volume up)

It went to TWRP

I changed the partition to A and rebooted system

Now I can't boot OS anymore. It's loading all the time and nothing happens.

What can I do now? Please help, I am not the advanced Android user.

I still can go into Fastboot and TWRP, but I'm not sure what to do and I don't want to do something wrong more.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] T4Ump:
Are you sure you change to a? go fastboot and fastboot set_active a and fastboot reboot
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] Yaroray:
Yes, I'm sure I changed partition to A, but I finally managed to fix it. I powered off phone from TWRP and then booted it again (after an hour :)) and it worked.

Now I have one more question. When I boot from Fastboot with patched_boot.img, root is gained. But when I restart my phone normally the root is gone. Is it normal and how to get constant root?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] T4Ump:
You dont need TWRP, because A2 has ****ing A/B and TWRP is not supported, because bootlooping after install twrp. Dowloand ROM from Xioami webpage and unpack original boot.img, flash to b and a (original boot)

try if mobile normal boot to system. Go fastboot and patched_boot.img flash to b / a.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] Benjamin_L:
Twrp just does not work properly currently. It will be supported in the near future
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] T4Ump:
Yea, i know. I tried first day when i got mobil, twrp root etc.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] avtarsingh1122:
I am unable to install xposed module via Magisk. After installing xposed module and restarting the phone, it is stuck at boot screen animation. Although other modules are working fine.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] jim262:
Since any OTAs will over write the patched_boot.img file, is it safe to a assume that recovery will still be able to process stock OTAs prior to being overwriten?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] jim262:
why wouldn't you flash this into boot permanently versus just temporarily into vram which will disappear upon reboot?

---------- Post added at 02:59 AM ---------- Previous post was at 02:02 AM ----------

Andromeda works well, it is just slightly more of a hassle, but it works well in allowing you to theme non rootable phones.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] gattone_16:
to restore, just change the boot image and erase the procedure and the phone returns to normal?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] hunter_sephiroth:
Big thanks to creator of the thread. Worked like a charm.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] rezzo87:
Is possibile to relock the bootloader?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] dodjob:
Hey there,

I somehow wrecked my original camera app ( I have now com.camera.android...etc) and half of it is working following a gcamera install (no idea which one, I tried tons of them) ANd I was wondering if I can simply flash the system.img (extracted from OTA dump) with fastboot to get all back as it should be ^^

I would not hesitate on other devices but I'm quite prudent with this one.

I have the 9.6.10, rooted + magisk.

-Do I have to reflash the modded boot.img?

-Will magisk survive it? do I have to uninstall it before/reflash it after?

-Any info/idea/opinion?

Regards,

H.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] hugopg:
Hey, I just unlocked my device and rooted it following this thread, so thank you! Can someone explain to me what I need to do when the next OTA arrives? Thanks!
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] bartoloandre98:
when ota arrives can you just update and return to stock unrooted or do you have to install the august img manually before you do ota?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] hugopg:
Can someone please explain what we need to do to OTA sucessfuly when it arrives? Considering the fact that we unlocked bootloader and rooted the device following this thread tutorial? Thank you
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] DiYei:
that's it? no need to request unlock to Xiaomi nor use official app?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] androwide:
Its an android one powered device not miui, no need to request for any kind of unlock permission.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] thedisturbedone:
I tried fastboot flashing your patched boot image file to my current 9.0 rom. But magisk says it's not installed. What could I be doing wrong?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] mauley:
What's wrong is that you didn't read the instructions on the OP carefully.

The patched boot image only works with the latest build of Oreo. You are trying to flash this on Pie.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] thedisturbedone:
Assumed the boot img wouldn't change.

Edit: Nvm, got it working. 16.7 kept throwing an error but 17.0 patched the boot img successfully and now I have root! For anyone wanting the patched boot img for 9.0, PM me. I won't attach here coz it will confuse people.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] ilyas111:
i have used this tutorial for rooting my A2. everything is running perfect gcam, magisk e.t.c I have installed all my apps. now I have realized I haven't run that fastboot unlock critical command. will that be a problem? I don't want to lose all my data..
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] kadu20es:
I have installed the september security update via OTA. The version number now is V9.6.12.0.ODIMIFE.

Is needed the same patched version of the boot to proceed?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] hugopg:
You have a unlocked bootloader + root with magisk and installed the OTA normally? And no issues?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] kadu20es:
No, no, Hugopg. I did everything wrong with Majisk and the boot image (a noob thing) and had to reinstall stock rom with MiFlash and then installed OTA update. Now I just wanna know if I need the boot version of the update to root again (from the very beginning) or I can use the v9.6.10.0ODIMIFE instead.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] hugopg:
I don't think using the v9.6.10.0ODIMIFE is as good idea. Did you lock the bootloader? If not, you could probably do the 'root process' all over again when a new patched_img is available, right? Or maybe wait for some people in the forum to post a tutorial or something, better safe than sorry!
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] kadu20es:
I unlocked the bootloader again. Just waiting for the new boot.img file to proceed with Majisk pathing and root again.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] bixirulo:
Hi all!

I rooted my A2 using the OP method. and worked like a charm. The point is then I uninstalled magisk to try install last september update (unsuccesfully). Now, I'm trying to use this same method to root again my phone, but when I follow the process, when I start my phone from patched boot image, I have not the option to directly install Magisk...what is wrong? Why I did it the first time but now is not possible?

Thanks in advance for your help!
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] AsItLies:
This is a link to it, just extracted yesterday from the OTA update:

https://drive.google.com/open?id=12VnsPP14XIakQUAuhYaop_oMd0iKRoX0
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] kadu20es:
Just an advice, guys: DO NOT use de option "Install to inactive slot (after OTA)" if install Majisk, or else your device will get stuck on bootloop and you will have to flash stock rom again and start from beginning. Without to do this (install to an inactive slot) your A2 will become unrooted after every reboot.

After two times things going wrong and I had to flash with stock rom (even after updated to 9.6.12.0 and flashed up with 9.6.10.0), I just gave up on Camera2API and Google Camera.

Very disapointed.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] MarceloBass:
Were you able to root with the September update? With this file I still can not, right?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] kadu20es:
I just downloaded the "patched_bootsept.img" and did the rooting process following the tutorial. But, as I said, after every reboot, it returned to original state.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] Bayy27:
September Patch

There is September Patched Boot

Patch with Magisk v17. 1 :)

https://drive.google.com/folderview?id=1zUxkx_bQemV3ULQI08WGbHJ3e-V9G2IL

# Command to flash? Or use the following thread :)

- fastboot devices

- fastboot flash boot_a patched_boot.img

- fastboot flash boot_b patched_boot.img

- fastboot reboot

# Note

- Original boot named boot.img

- Patched boot named patched_boot.img
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] Lione2:
Someone can confirm ?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] hugopg:
I'm still on august update (unlocked + rooted). Should I upgrade? Is it too buggy? Thanks
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] kadu20es:
I see no difference between the August update and September update. Keyboard is buggy, battery comsumpion very fast, camera lags on portrait mode (when trying to take more than one picture) and slow focus.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] iMiguelAcuna:
Hi y'all!

I just extracted stock boot.img for september patch (V.9.6.13.0.ODIMIFE) and patched it with Magisk 17.1 successfully.

https://drive.google.com/drive/folders/1tSuiMYCvEhmh9Qa_wMHwh6ehJWWS6CQJ?usp=sharing

Installing steps still the same as OP.

*as always, disclaimer: responsible for any loss or damage.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] SpectraFun:
How can lock the bootloader? On other Thread for unlock i read this:

Unlock flashing

Unlock flashing critical

What is unlock flashing critical? I dont see this info on first post.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] :
The "fastboot flashing unlock_critical" command allowes you to flash certain partitions that otherwise couldn't be flashed... It's useful when you want to flash an update with fastboot because you've altered the system partition and the OTAs don't work. If you unlock it along side the boot loader you will only wipe the data once, and never have to do it again in the future (unless you switch to a custom rom ofc).
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] comy777:
Don't serve to me.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] bixirulo:
is it possible to install an OTA update through fastboot? (using the dummped OTA zip file I mean, for example, this: https://xdaforums.com/mi-a2/how-to/ota-v9-6-5-0-odimife-t3823445

Thanks!
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] iEstuardo:
It worked, thank you!
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] :
If you look closely in the thread you linked you'll see there are also the flashable via fastboot packages.

This is the last one, the so called "September update":
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] sammis:
flashed patched boot image and working great.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] bixirulo:
After this process, are you be able to charge the phone after turn it off? I stuck at boot screen...

edit: with magisk 16.6 there is no ploblem
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] Ind33d:
Any steps to update to Sept?

Currently I am on:

9.6.10 with patched boot image so cant update

Rooted with magisk 17.1

Gcam

So the steps are like this?

Fastboot flash stock boot image

Fastboot flash update/ota update like normal

Fastboot flash patched boot image to gain root back.

Is this correct?

Any boot loop / sytem force close during/after process
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] iEstuardo:
I fastboot clean flashed 9.6.13 and then booted patched image and installed magisk.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] S /\ E E D:
If i edit "/system/build.prop" then next OTA will fail to install?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] likhon02:
Any patched boot img for October update ??
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] vinysantos:
Not
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] ckpv5:
You can find all here - https://xdaforums.com/showpost.php?p=77924944&postcount=329
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] jabre:
i have unlocked bootloader, but when i tried to root mi a2 phone got stock into bootloop..... now i can only enter into fastboot, and twrp.... i have global rom 8.1 and i was doing all this to convert it to 6x..... any solution?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] Osayn:
hey after i fastboot boot patched_boot.img. my phone did not reboot itself. it just go back to fastboot screen eventhough the command says "okay". strangely i can reboot it myself and nothing happened.
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] bira_:
As i think this thread is so old(2year). you have to check the version of your phone software and the patched boot. it only works if your phone is on 2018 aug update. I'm also searching for a patched boot of aug 2020 update of mi a2. And would like to know whether pressing volume down button bypass data wipe in 2020 aug update also?
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] KevMetal:
this guide is old and also irrelevant.. the preffered method to root is to boot latest stable twrp

fastboot boot recovery.img

*then use twrp to flash magisk zip
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] Rubenssm:
This guide only work up until the Magisk part.

Here's what I had to do to make it work:

Instead of doing:

now again open the command or powershell window, and run fastboot boot patched_boot.img

I had to do the following:

fastboot flash boot_a patched_boot.img

fastboot flash boot_b patched_boot.img

THEN you continue as explained.

Thanks
[Xiaomi Mi A2 / 6X Guides, News, & Discussion] Exxdeea:
Or just fastboot

FLASH

patched_boot.img
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Jawomo:
With bxActions you can remap the Bixby button on Note9 to any action or app you like!

Use the Bixby button to mute your phone, take a screenshot, turn on flashlight or launch any app you like!

Also works on lockscreen or when the screen is completely off!

You can also disable the Bixby button if you like.

Optionally you can remap the volume buttons and Skip tracks with the volume buttons even when the screen is off!

Remap as you like!

FEATURES:

No root needed!

Zero battery consumption!

Double and Long press support!

Remap the Bixby button on Note9 to any action!

Remap the Volume buttons to any action!

Skip tracks with the volume buttons

Different actions when phone is locked or unlocked

High performance! No lags!

No annoying ads

ACTIONS:

Switch mute - sound profiles

Take a screenshot

Google Assistant

Fullscreen Immersive mode

Launch camera or any other app

Toggle flashlight

Switch to last app

Disable Bixby button

30+ actions in total

BETA RELEASES GROUP:

https://www.facebook.com/groups/986579694884619/

DOWNLOAD:

Forum download:
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Jawomo:
As the Bixby button cant be disabled anymore on Bixby 2.0, double tap and long press features are not available currently

Just pushed a new update which should be partially compatible with Note 9 ;)

Should be online soon.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] mattskiiau:
Thanks for this.

As I haven't got the note 9 yet, can you or someone explain what we can and can't do?

Can we only remap to basic functions like camera and google assistant etc? Only single push remaps?
[Samsung Galaxy Note 9 Themes, Apps, and Mods] illetyus:
We need your app's apk version :o
[Samsung Galaxy Note 9 Themes, Apps, and Mods] w2830:
This is awesome! Thank you!!
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Nasty_z:
[MENTION=5759008]Jawomo[/MENTION]

Alright so I have the Note9 and I tested the latest version.

Jump to last app is broken.. it just does the endless looping between the last app and Bixby.

Also, every time you press the button for any action Bixby shows up for a split second and then the action is performed. I'm guessing this can't be changed..

That said, all other actions work fine. I haven't tested pro features as I haven't purchased the app and also the auto rotation since I'm not near a laptop right now with ADB.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] emd2009:
Please, please, please I hope you get this working properly on the note 9! Would monetary donations make things any easier? I can't give up this app from my note8.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Jawomo:
All we can do is send Samsung a complaint, that its not possible anymore to disable launching Bixby home with the Bixby button in Bixby settings.

Using Bixby voice on long press is ok, but its should still be possible to disable launching Bixby home on single pressing the button.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Jawomo:
Theres always a way ;)
[Samsung Galaxy Note 9 Themes, Apps, and Mods] ZeCoder:
Thank you very much for your great work.

BxActions is already updated. I can confirm that disabling the button work with using the app, although, you see the bixby home for less than a second. then it will take you out of it. I hope that you will be able to totally hide bixby home, I don't want to see it at all.

Also, the app is not yet fully functional. I hope it will get better.

For the users, please upvote and comment on Reddit here

https://reddit.app.link/vQdZh960AP

Samsung should at least give us back the option to disable the button.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Jawomo:
Working on it ;)
[Samsung Galaxy Note 9 Themes, Apps, and Mods] destz0r:
what if you just completely disable bixby through a package disabler?
[Samsung Galaxy Note 9 Themes, Apps, and Mods] elmemyself:
Exactly. I've used package disabler pro to disable everything Bixby related and now it's not working. Any idea what package I have to enable in order to get button functionality back for Google voice? Cheers
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Jawomo:
Bixby voice is needed for remapping to work.

If you disable it you will kill the button completely.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] PhilPan:
How is the lock screen actions working for everyone? I use to record by hitting the button on the lock screen; but now the recording isn't starting till I unlock the screen.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Nasty_z:
Note9 Exynos model is now rooted. Perhaps you could use this to prevent bixby from showing up for root users?
[Samsung Galaxy Note 9 Themes, Apps, and Mods] steelersmb:
This is working awesome for me. I'm not getting a pop-up or anything, it just works.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Jawomo:
Unfortunately it does not work properly on lockscreen yet.

Bixby 2.0 is really a pain.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Schumi-GP:
Thank so much for this apps tricks.

Work fine with last update
[Samsung Galaxy Note 9 Themes, Apps, and Mods] playahate:
Both.

Unlocked or locked doesn't matter. When screen is off it just wake the device.

Single or long press, doesn't matter.

Launches bixby when screen is on.

If i use package disabler to turn off the bixby widget, nothing happens when i push the button.

960F/DS
[Samsung Galaxy Note 9 Themes, Apps, and Mods] andronikal659:
How is that possible if bxactions is on? Did you use double click to launch Bixby in the settings?

Also, can we split the volume from " sound, vibrate, silence" to " sound on" : sound/ Max all sound (media, system, ringtones) and the other for " sound off" : vibrate/ silence?
[Samsung Galaxy Note 9 Themes, Apps, and Mods] :
Only thing I need for this to be the most perfect app on the face of the entire planet is to be able to use the volume and Bixby button functions whilst having AOD OFF and/or whilst my phone is in my pocket.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] playahate:
There are pictures on previous page.

It is what it is.

Everything is set but still launching bixby.

Double click is not available on Russian version of bixby... (the current version is 2.2.04.7
[Samsung Galaxy Note 9 Themes, Apps, and Mods] :
Just wanted to share my setup in case that helps anyone and also what I have disabled across my phone. That may not be relavent, I just wanted to include it, just in case. I did the basic setup according to the instructions. I didn't do anything to disable Bixby (only vision on the camera app). I just opened Bixby to do the initial setup then I made my configurations inside the bxActions app.

I'm very happy. I have mentioned more than once my other preferred abilities I'd like to have with this app but that's just champagne problems at this point. The app has given more way more than I had before so it's brilliant.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] oneandroidnut:
Currently have to long press to get to work and app is setup for single press. Any ideas?
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Jawomo:
bxActions launches the action when bixby opens. So please set Bixby to open via single tap in bixby settings.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] oneandroidnut:
awesome thanks! I never even had bixby set up LOL
[Samsung Galaxy Note 9 Themes, Apps, and Mods] andronikal659:
[MENTION=441716]Raod[/MENTION]uardo what is that package disabler called? Thanks
[Samsung Galaxy Note 9 Themes, Apps, and Mods] coolcapnc:
Looking at the screenshot data, it seems to be Package Disabler Pro
[Samsung Galaxy Note 9 Themes, Apps, and Mods] andronikal659:
Yep, I saw that too but Google Play store didn't have it, none of the apps there has the same screen shot
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Valashtar:
I think it's Adhell 3. Registration require to view.

https://gitlab.com/fusionjack/adhell3

It takes a bit of setup and a fair number of steps to get it working but it's eminently worth it.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Matrix_Usman:
Works great
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Jawomo:
Uploaded bxAction 5.10 beta #1

Added new full remapping method and easy installation Windows GUI. Theres a new Windows app in bxActions folder. Just open and start the desired mode.

Please test if the Windows App and remapping works fine for you.

• Added full remapping PC method for Bixbi 2.0!

• Fixed Bixbi appearing in screenshots

• Stability improvements

• Fixes and optimizations

Thanks to flar2 for his support!

Please test if all is working fine. Thanks and enjoy!

https://play.google.com/apps/testing/com.jamworks.bxactions
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Nochlab1:
Does the program need to be run on reboot or just once and your good?
[Samsung Galaxy Note 9 Themes, Apps, and Mods] willcor:
installed latest update ( re above )

Re did ABD , from again bxActions folder .

All my previous button actions (i set from Note 8 )working smoothly on my Note 9 (N960F)

No issues ,so far .

All working very smoothly .no hiccups .

Thanks.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] schn1tt3r:
Awesome!
[Samsung Galaxy Note 9 Themes, Apps, and Mods] JHimmelbauer:
hmmm, seems like if is the "BackButton" problem unfortunately not fixed :(
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Jawomo:
If you use full remapping it is fixed.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Jawomo:
There are different options.
[Samsung Galaxy Note 9 Themes, Apps, and Mods] JHimmelbauer:
yes this works, cool, but I have after every reboot activate bxAction from my PC...

Any chance to activate this permamently?
[Samsung Galaxy Note 9 Themes, Apps, and Mods] Jawomo:
No, but you can still choose between easy or full remapping depending on your preferences
[Samsung Galaxy Note 9 Themes, Apps, and Mods] emd2009:
Where do i find the windows folder?
[Samsung Galaxy Note 9 Themes, Apps, and Mods] jonsey:
For me is working perfectly, i've used the Windows GUI (will be available also for MacOs?), and it works!And i don't have Bixby installed!So its perfect! :D

Thanks a lot man! :)