[Xposed][9.0]Install Xposed on Mi A2

Search This thread

Whyle

Senior Member
Mar 10, 2017
132
127
Italy
Code:
/**
 * Your warranty is now void.
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 **/

Need bootloader unlocked.


For Android 9.0(Unofficial):

Required tools:

How to use that?
  1. Download files from link(3 files)
  2. Flash all "magisk modules"
  3. Install "Ed Exposed Installer"
  4. Reboot your device

Screenshot:
Screenshot_20190409-235914.png
Tested on 10.0.7.0.

Work on Android 9.0:
- Mi A2 (Tested)
- Mi A2 lite
- MI A1


For Android 8.0(Beta):


New post:
https://xdaforums.com/mi-a2/development/deodex-flax-t3864601


Required tools:
- Adb & Fastboot
- TWRP ( Download )
- Deodexed zip

Required Version Installed:
- Unlocked Bootloader
- V9.6.15.0 (October security patch)
(or you can update with this method link)

Description:
Android version: v9.6.15.0
Magisk version: v17.1
Xposed version: v90.beta3
It will not lose userdata.

Screenhost:
Screenshot_20181024-222833.png Screenshot_20181024-222844.png
Screenshot_20181024-234806.png IMG_20181026_102847_319.jpg

Download:
For V9.6.15.0
Deodex + Xposed + Magisk(V9.6.15.0)
Deodex + Xposed(V9.6.15.0)


Step 1:
Power off your device and enter fastboot mode.
Then type following code to flash temporary twrp:
Code:
fastboot flash boot twrp.img
Then held Vol+ and type following code to enter twrp
Code:
fastboot reboot

Step 2:
NO WIPE NEEDED.
Now you can flash deodexed_patch.zip
Code:
INSTALL -> Select Zip -> Flash

Step 3: (Xposed)(optional)
You can flash xposed through Twrp(find file at /sdcard, after step2)
Or you can flash xposed with Magisk Module
Code:
INSTALL -> Select Zip -> Flash
[SIZE="1"]([U]/sdcard/xposed-v90-sdk27-arm64-beta3.zip[/U])[/SIZE]


I shouldn't you to wipe dalvik-cache.
Now your can reboot, it is done!!:laugh::laugh:
(No needed re-flash boot.img)

If you have need to install some other zip,
you can flash before reboot.


FQA:
How can i flash deodex patch?
You can flash with twrp, and can flash root/noroot version.

Wiil i lose userdata?
No

Can i flash it in other version?
No

What do the zip do?
Copy deodex file into system, then install boot.img.

How can i unistall deodex patch?
For the moment, you need flash stock system.img

Based: V9.6.15.0.ODIMIFE
Created date: 24-10-2015
Last Modification: 25-10-2015
Created by: @Whyle


If you have other problem
https://t.me/whyle

Thanks @rovo89 @Rikka @solohsu...
 
Last edited:

bixirulo

Senior Member
Sep 1, 2011
167
32
OMG THANKS FOR THIS! I will try ASAP. I was waiting for this for a long time haha

Thank you for your work!!

Edit: Can we use systemless xposed with magisk, since you put it on th title? I mean, is not necessary to instal xposed from recovery, right?

Edit2: Following the instructions in OP, it works like a charm!! Thank you! I flashed the TWRP, installed the zip and then, reboot system, that's all.
 
Last edited:

Matteo

Senior Member
Oct 25, 2018
140
227
why use the command "fastboot flash boot_a twrp.img" ? if you are on slot b it will do nothing. and that command it's not temporary twrp. you need to change slot all time using "set active-slot AorB" using fastboot because flash twrp only works on inactive slot.
you can just use "fastboot boot twrp.img" to boot on twrp then flash zip.
 

Whyle

Senior Member
Mar 10, 2017
132
127
Italy
OMG THANKS FOR THIS! I will try ASAP. I was waiting for this for a long time haha

Thank you for your work!!

Edit: Can we use systemless xposed with magisk, since you put it on th title? I mean, is not necessary to instal xposed from recovery, right?

Since your flashed zip, your system is already deodexed.
So you can install xposed at Xposed Installer or Magisk.
 

yorkberliner

Senior Member
Oct 14, 2014
341
144
Berlin
Hi there,

i'm sorry but where can i dload deodexed.zip and why shall i install twrp permament and not temporary???

mahalo
 

Whyle

Senior Member
Mar 10, 2017
132
127
Italy
why use the command "fastboot flash boot_a twrp.img" ? if you are on slot b it will do nothing. and that command it's not temporary twrp. you need to change slot all time using "set active-slot AorB" using fastboot because flash twrp only works on inactive slot.
you can just use "fastboot boot twrp.img" to boot on twrp then flash zip.

because you need Twrp to flash this zip.
if you use slob_b, it can deodex olny slot_b
No need switch AoB partition

my zip include boot.img therefore twrp will be replaced.

if you are in "set active_slot b":
Code:
fastboot flash boot  = fastboot flash boot_b
The reverse is the opposite
 
Last edited:

Matteo

Senior Member
Oct 25, 2018
140
227
because you need Twrp to flash this zip.
if you use slob_b, it can deodex olny slot_b
No need switch AoB partition

my zip include boot.img therefore twrp will be replaced.

if you are in "set active_slot b":

The reverse is the opposite

You don't really understand how temp twrp and a/b work. I will try to explain.

Unofficial TWRP support "boot" only.
So you can boot into TWRP without installing it, using the command "fastboot boot twrp.img"
(The phone will automatically boot TWRP on active slot, a or b, we don't care)
Then you need to decrypt data using your PIN password.
Now you are able to flash zip, like on official TWRP ... ( it will automatically install on current slot)
Reboot system and done. (TWRP is gone, because it's not install) that's it.
 
Last edited:
  • Like
Reactions: yorkberliner

Whyle

Senior Member
Mar 10, 2017
132
127
Italy
you don't really understand how temp twrp and a/b work.
you can just install the zip using
fastboot boot twrp
( it will automatically boot twrp on active slot, a or b, we don't care)
then install zip ( it will automatically install on current slot) then reboot system and done. that's it.

in your guide you say to flash boot_a, but you explain nothing, for exemple my current slot is b, if I flash boot_a then reboot it will do nothing, I hope your understand that. so I think use my steps or explain is really really needed for newbies etc

Yes, I understand, I can write a little more.

Now deodexed patch is Fixed on A Slot, I will re-write zip.

Thank you.:)
 
  • Like
Reactions: vagsvag

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    Code:
    /**
     * Your warranty is now void.
     *
     * We are not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at us for messing up your device, we will laugh at you.
     **/

    Need bootloader unlocked.


    For Android 9.0(Unofficial):

    Required tools:

    How to use that?
    1. Download files from link(3 files)
    2. Flash all "magisk modules"
    3. Install "Ed Exposed Installer"
    4. Reboot your device

    Screenshot:
    Screenshot_20190409-235914.png
    Tested on 10.0.7.0.

    Work on Android 9.0:
    - Mi A2 (Tested)
    - Mi A2 lite
    - MI A1


    For Android 8.0(Beta):


    New post:
    https://xdaforums.com/mi-a2/development/deodex-flax-t3864601


    Required tools:
    - Adb & Fastboot
    - TWRP ( Download )
    - Deodexed zip

    Required Version Installed:
    - Unlocked Bootloader
    - V9.6.15.0 (October security patch)
    (or you can update with this method link)

    Description:
    Android version: v9.6.15.0
    Magisk version: v17.1
    Xposed version: v90.beta3
    It will not lose userdata.

    Screenhost:
    Screenshot_20181024-222833.png Screenshot_20181024-222844.png
    Screenshot_20181024-234806.png IMG_20181026_102847_319.jpg

    Download:
    For V9.6.15.0
    Deodex + Xposed + Magisk(V9.6.15.0)
    Deodex + Xposed(V9.6.15.0)


    Step 1:
    Power off your device and enter fastboot mode.
    Then type following code to flash temporary twrp:
    Code:
    fastboot flash boot twrp.img
    Then held Vol+ and type following code to enter twrp
    Code:
    fastboot reboot

    Step 2:
    NO WIPE NEEDED.
    Now you can flash deodexed_patch.zip
    Code:
    INSTALL -> Select Zip -> Flash

    Step 3: (Xposed)(optional)
    You can flash xposed through Twrp(find file at /sdcard, after step2)
    Or you can flash xposed with Magisk Module
    Code:
    INSTALL -> Select Zip -> Flash
    [SIZE="1"]([U]/sdcard/xposed-v90-sdk27-arm64-beta3.zip[/U])[/SIZE]


    I shouldn't you to wipe dalvik-cache.
    Now your can reboot, it is done!!:laugh::laugh:
    (No needed re-flash boot.img)

    If you have need to install some other zip,
    you can flash before reboot.


    FQA:
    How can i flash deodex patch?
    You can flash with twrp, and can flash root/noroot version.

    Wiil i lose userdata?
    No

    Can i flash it in other version?
    No

    What do the zip do?
    Copy deodex file into system, then install boot.img.

    How can i unistall deodex patch?
    For the moment, you need flash stock system.img

    Based: V9.6.15.0.ODIMIFE
    Created date: 24-10-2015
    Last Modification: 25-10-2015
    Created by: @Whyle


    If you have other problem
    https://t.me/whyle

    Thanks @rovo89 @Rikka @solohsu...
    1
    Is deodex include V9.6.15.0 (October security patch)?
    Which TWRP is better?
    1
    i m in hex kernel, october patch, can i flash it?
    1
    because you need Twrp to flash this zip.
    if you use slob_b, it can deodex olny slot_b
    No need switch AoB partition

    my zip include boot.img therefore twrp will be replaced.

    if you are in "set active_slot b":

    The reverse is the opposite

    You don't really understand how temp twrp and a/b work. I will try to explain.

    Unofficial TWRP support "boot" only.
    So you can boot into TWRP without installing it, using the command "fastboot boot twrp.img"
    (The phone will automatically boot TWRP on active slot, a or b, we don't care)
    Then you need to decrypt data using your PIN password.
    Now you are able to flash zip, like on official TWRP ... ( it will automatically install on current slot)
    Reboot system and done. (TWRP is gone, because it's not install) that's it.
    1
    Hi there,

    i'm sorry but where can i dload deodexed.zip and why shall i install twrp permament and not temporary???

    mahalo

    You can download zip in Download section.
    Or https://drive.google.com/file/d/1n6Eh1b2BSpbv5YItMcmC8dcmv-J_yhUl/view?usp=drivesdk

    Because our device have AB slot, so we haven't recovery partition.