Xiaomi Mi A1 Magisk 15.3 (Help) - Magisk

How to completely uninstall magisk 15.3 installed on my stock 7.1.2
When i tried the latest uninstaller and flash it thru twrp i got bootloop same as when I restore my stock boot image back up from twrp i also got bootloop i wanted to update because i already received the ota of oreo 8.0 January update
Magisk v15.3
Xiaomi mi a1
7.1.2 December Security patch
Sent from my Mi A1 using Tapatalk

Try pulling the boot image file from the December update and flash that.
But, remember that you'll also have to restore your stock recovery to be able to install an OTA. Unless you're using "fastboot boot" to just run TWRP without installing...

Didgeridoohan said:
Try pulling the boot image file from the December update and flash that.
But, remember that you'll also have to restore your stock recovery to be able to install an OTA. Unless you're using "fastboot boot" to just run TWRP without installing...
Click to expand...
Click to collapse
yes i already did that but no luck :crying: still bootloop
i only boot twrp not flash, so i have the stock recovery

paul222008 said:
yes i already did that but no luck :crying:
Click to expand...
Click to collapse
You've obviously got something else going on. Magisk only really modifies your boot image, so if you can't get your device to boot after restoring a stock image it's most likely not Magisk causing it. Your device's forum might be the best place to ask for assistance.
Thought: are you sure it's just not a long boot? If you had decrypted your device, for example, it would start encrypting as soon as you flash a stock boot image and reboot.

Didgeridoohan said:
You've obviously got something else going on. Magisk only really modifies your boot image, so if you can't get your device to boot after restoring a stock image it's most likely not Magisk causing it. Your device's forum might be the best place to ask for assistance.
Thought: are you sure it's just not a long boot? If you had decrypted your device, for example, it would start encrypting as soon as you flash a stock boot image and reboot.
Click to expand...
Click to collapse
Im encrypted also [emoji55]
Sent from my Mi A1 using Tapatalk

What could the best way to do? My concern here is to preserve my app data
Sent from my Mi A1 using Tapatalk

paul222008 said:
What could the best way to do? My concern here is to preserve my app data
Sent from my Mi A1 using Tapatalk
Click to expand...
Click to collapse
Dirty flash a full update package (not an OTA file). Don't know if that's possible for you, but it would do it.

Didgeridoohan said:
Dirty flash a full update package (not an OTA file). Don't know if that's possible for you, but it would do it.
Click to expand...
Click to collapse
How? There's only .zip of ota available for my device
Sent from my Mi A1 using Tapatalk

paul222008 said:
How? There's only .zip of ota available for my device
Sent from my Mi A1 using Tapatalk
Click to expand...
Click to collapse
Like I said earlier: Your device's forum might be the best place to ask for assistance.

Related

Why TWRP deleted after booting?

I flashed latest TWRP with fastboot command on CMD.
TWRP works but after I reset the TWRP was deleted and I can get STOCK recovery.
I can boot up TWRP only if I connect my device to computer and use command FASTBOOT BOOT RECOVERY.IMG
Why?
If u flashed a rom,.then before booting you must flash the root file or a custom kernel in order to keep the TWRP.
Unleashed by my rooted OP3T on 8.0
I do not flashing another rom, only new open beta versions and flash files.
saarxee said:
I do not flashing another rom, only new open beta versions and flash files.
Click to expand...
Click to collapse
New open beta is another Rom buddy.
Unleashed by my rooted OP3T on 8.0
But I dont need custom kernel and root.
saarxee said:
But I dont need custom kernel and root.
Click to expand...
Click to collapse
You have to flash at least Magisk/SuperSU or custom kernel in order to keep TWRP intact after each reboot. Not sure about modified stock kernels with dm-verity and forceencrypt disabled, they may work too.
This is the nature of stock ROM.
saarxee said:
But I dont need custom kernel and root.
Click to expand...
Click to collapse
OOS enforces encryption and restores the stock recovery when you reboot your phone.
Custom ROMs, custom kernels, and Magisk all prevent that from happening.
If you want plain OOS (stable or Open Beta) and keep TWRP, then use Xennet's patched boot image. See https://forum.xda-developers.com/on...y-force-encryption-op3t-t3688748/post74155053
Sent from my OnePlus3T using XDA Labs
I flashed magisk on TWRP and TWRP deleted again after restart.
What can I do?
Reflash your current ROM via TWRP and flash Magisk right after ROM without restarting
Today I flashed open beta 24 and after that Magisk and wipe dalvik and restart recovery and I got stock recovery and dont TWRP.
saarxee said:
Today I flashed open beta 24 and after that Magisk and wipe dalvik and restart recovery and I got stock recovery and dont TWRP.
Click to expand...
Click to collapse
Like I said, use Xennet's patched boot image.
Sent from my OnePlus3T using XDA Labs
What to do about this file? flash it and install TWRP again? or only flash it and restart to recovery?
Why I need to change my boot file? If my device dont booting up after the flash?
saarxee said:
Why I need to change my boot file? If my device dont booting up after the flash?
Click to expand...
Click to collapse
Because stock will always revert to stock recovery.
If the device doesn't boot, then you're using an incompatible boot image
(it seems that Magisk/SuperSU isn't enough)
I flashed this boot patched image and choose restart to recovery and stock recovery again...
I have the same problem - twrp gets erased after booting in OS Since beta 24
I don't know guys what's wrong with your devices, I'm using Open Beta 24 with custom kernel and TWRP boots everytime.
I use stock kernel, maybe that is the clue.
Viktorrr said:
I use stock kernel, maybe that is the clue.
Click to expand...
Click to collapse
Then maybe you should flash the modified kernel that is especially modified to not restore the stock recovery.....
gizahNL said:
Then maybe you should flash the modified kernel that is especially modified to not restore the stock recovery.....
Click to expand...
Click to collapse
Correct, as I pointed out in this post https://forum.xda-developers.com/oneplus-3t/help/twrp-deleted-booting-t3769867/post76049932
Sent from my OnePlus3T using XDA Labs
gizahNL said:
Then maybe you should flash the modified kernel that is especially modified to not restore the stock recovery.....
Click to expand...
Click to collapse
BillGoss said:
Correct, as I pointed out in this post https://forum.xda-developers.com/oneplus-3t/help/twrp-deleted-booting-t3769867/post76049932
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
OP said that it didn't work:
I flashed this boot patched image and choose restart to recovery and stock recovery again...
Click to expand...
Click to collapse

Upgrading without un-rooting OP3T

I am upgrading my OP3T from 5.0.1 to 5.0.3. My device is rooted using magisk and I have TWRP installed.
The system updates says -
"Root is detected, system will begin dowloading the full package. Your device will be un-rooted once the upgrade is completed."
Now my questions are
1. How to install the upgrade (5.0.3) without unrooting it ?
2. As it says it'll un-root my device, does it also mean it'll wipe my data as well ?
EDIT - I read about Dirty flashing the version I want but I can't find 5.0.3 image on Oneplus website.
shantam2 said:
The system updates says -
"Root is detected, system will begin dowloading the full package. Your device will be un-rooted once the upgrade is completed."
Now my questions are
1. How to install the upgrade (5.0.3) without unrooting it ?
2. As it says it'll un-root my device, does it also mean it'll wipe my data as well ?.
Click to expand...
Click to collapse
1. You can't.
2. No, but you can re-root it using TWRP (which will need to be reflashed via fastboot).
przemcio510 said:
1. You can't.
2. No, but you can re-root it using TWRP (which will need to be reflashed via fastboot).
Click to expand...
Click to collapse
Re-flashing magisk via TWRP will keep my data ?
It's the same as with all previous updates.
Go to TWRP, flash the whole rom,.don't exit,.flash latest Magisk,.done.
Everything will be as before, with the new system installed
Unleashed by my rooted OP3T on 8.0
RASTAVIPER said:
It's the same as with all previous updates.
Go to TWRP, flash the whole rom,.don't exit,.flash latest Magisk,.done.
Everything will be as before, with the new system installed
Unleashed by my rooted OP3T on 8.0
Click to expand...
Click to collapse
Can you elaborate more on this ?
After I upgrade (and it becomes unrooted). I immediately flash magisk via TWRP ?
I didn't get the part "flash the whole rom and don't exit" ?
Also, Will I lose any data in the process ?
shantam2 said:
Re-flashing magisk via TWRP will keep my data ?
Click to expand...
Click to collapse
Nothing will be lost even if you don't flash Magisk, so yes.
And Rastaviper meant that when you flash the update via TWRP, you don't reboot, but right after flashing the ROM you flash Magisk and then reboot, this way you will stay rooted.
przemcio510 said:
Nothing will be lost even if you don't flash Magisk, so yes.
And Rastaviper meant that when you flash the update via TWRP, you don't reboot, but right after flashing the ROM you flash Magisk and then reboot, this way you will stay rooted.
Click to expand...
Click to collapse
So no need to fastboot flash recovery?
Correct me if I'm wrong, so you dl the zip, you flash it, you then flash magisk zip? Then what? You boot up and install twrp manager in order to change recovery?
b4bass said:
So no need to fastboot flash recovery?
Correct me if I'm wrong, so you dl the zip, you flash it, you then flash magisk zip? Then what? You boot up and install twrp manager in order to change recovery?
Click to expand...
Click to collapse
If you flash the update downloaded as zip from downloads.oneplus.com via TWRP, then no, there will be no need to flash it again via fastboot and no need to install TWRP Manager.
Boot to TWRP
Flash 5.0.3 zip
Flash Magisk
Reboot & enjoy
OK thanks! I thought the recovery would go back to stock after flashing the rom
And guys, if other members help you with their posts, don't forget to thank them.
Unleashed by my rooted OP3T on 8.0
b4bass said:
OK thanks! I thought the recovery would go back to stock after flashing the rom
Click to expand...
Click to collapse
That only happens if you reboot the phone while on the stock boot image. If you use a patched boot image, or a custom kernel, or Magisk, then the stock recovery doesn't overwrite the current recovery.
Sent from my OnePlus3T using XDA Labs
BillGoss said:
That only happens if you reboot the phone while on the stock boot image. If you use a patched boot image, or a custom kernel, or Magisk, then the stock recovery doesn't overwrite the current recovery.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
So magisk is patching bootloader? I thought it was it point not to
Though this method is saving me some serious time!
b4bass said:
So magisk is patching boot, I thought I was it point not to
Though this method is saving me some serious time!
Click to expand...
Click to collapse
Magisk makes a point of not touching the system partition but a lot of its magic is done by changing the boot image.
Sent from my OnePlus3T using XDA Labs
OK thx ! First time I replaced supersu to pet magisk. Will have to find more details on this subject
b4bass said:
So magisk is patching bootloader? I thought it was it point not to
Click to expand...
Click to collapse
Boot image is kernel and ramdisk. Boot image is not the same as bootloader!

Easietst way from twrp flashed supersu and xposed to magisk and xposed systemless?

What I have:
custom version of TWRP recovery made for the oneplus 3t
unlocked bootloader (the message that pops up upon boot is annoying but tolerable)
I believe dm-verity is not triggered
flashed xposed installer version 88.1
SuperSu v2.82 also flashed
on Nougat 7.1.1 and Oxygen 4.5.1 (I realize these are dated but I would be fine staying on these)
What Im trying to do:
Pass safetynet so I can use my snapchat app again
keep the custom recovery
keep my bootloader unlocked
keep dm-verity untriggered
not lose any of my data
get xposed working on magisk so I can continue using the modules like adblock, fingerprint on reboot, and youtube background play
not brick my phone lol
Can someone please walk me through how to best do this? Since I flashed both supersu and xposed through the recovery would I have to uninstall those the same way or can I use the uninstall feature found in both? I was looking through the magisk thread and Im seeing things about flashing a boot image before flashing that but I read I dont HAVE to do that. Would I be better off doing this, and what happens to my data if I do. I've messed with a lot of things since rooting the phone last year so I dont know what will mess up this transition nor do I remember all the things I like on my phone as a result of rooting.
Im sorry that this thread is a mess, I hope someone can help me out, I would appreciate it.
my supersu is systemless if that makes a difference
Please can someone help me
JayTheKid said:
Please can someone help me
Click to expand...
Click to collapse
I don't use xposed so I can't help with that.
I would:
- remove Su using unSU from https://forum.xda-developers.com/showthread.php?t=2239421&p=40409356
- flash your rom again to ensure that you have the original boot image
- flash Magisk (the latest version)
Do these three steps in TWRP without rebooting your phone in between or you'll lose TWRP.
Of course, take a backup before you start.
Sent from my OnePlus3T using XDA Labs
BillGoss said:
I don't use xposed so I can't help with that.
I would:
- remove Su using unSU from https://forum.xda-developers.com/showthread.php?t=2239421&p=40409356
- flash your rom again to ensure that you have the original boot image
- flash Magisk (the latest version)
Do these three steps in TWRP without rebooting your phone in between or you'll lose TWRP.
Of course, take a backup before you start.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
Couldn't I just flash the boot image without flashing the entire rom?
Also can all 3 of those files be flashed at once or do I do them in the order you specified? I'm assuming the phone won't restart after any of those steps unless I specify correct?
Thanks so much for the response by the way!
Also noob question but when making a backup, are you referring to nandroid? Which things should be checked on the backup list when doing a backup like that?
JayTheKid said:
Also noob question but when making a backup, are you referring to nandroid? Which things should be checked on the backup list when doing a backup like that?
Click to expand...
Click to collapse
Yes, in referring to nandroid. Backup boot, system, and data.
You can flash just the boot image if you have it rather than the full rom.
The order has to be the way I listed them because unSu may restore your original boot image, and you need your original boot image for Magisk to patch it.
So, while you technically may not need to flash your original boot image, I'm just playing safe.
Sent from my OnePlus3T using XDA Labs
BillGoss said:
Yes, in referring to nandroid. Backup boot, system, and data.
You can flash just the boot image if you have it rather than the full rom.
The order has to be the way I listed them because unSu may restore your original boot image, and you need your original boot image for Magisk to patch it.
So, while you technically may not need to flash your original boot image, I'm just playing safe.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
Thanks so much, this seems a lot easier than what I thought I'd have to do!
BillGoss said:
Yes, in referring to nandroid. Backup boot, system, and data.
You can flash just the boot image if you have it rather than the full rom.
The order has to be the way I listed them because unSu may restore your original boot image, and you need your original boot image for Magisk to patch it.
So, while you technically may not need to flash your original boot image, I'm just playing safe.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
One last question! What step do I remove xposed from my device? I flashed it with twrp so would I remove it the same way after UnSu?
JayTheKid said:
One last question! What step do I remove xposed from my device? I flashed it with twrp so would I remove it the same way after UnSu?
Click to expand...
Click to collapse
Just get the xposed uninstaller for your particular build: https://dl-xda.xposed.info/framework/uninstaller/
reilus said:
Just get the xposed uninstaller for your particular build: https://dl-xda.xposed.info/framework/uninstaller/
Click to expand...
Click to collapse
I've accomplished everything and no issues! magisk and safetynet are good. I even have access to google pay finally.
I miss my xposed modules though

Root Samsung SM-A305F with TWRP?

Is there any developer working on TWRP root for Samsung SM-A305F?
If not then please start working on it.
I need it....
Obliged...!
You don't need twrp recovery.
You can use Odin to flash patched boot.img from magisk to gain root access once your bootloader is unlocked
Sent from my Nokia 7 plus using Tapatalk
Always Wipe Data after Magisk-patched Bootloader?
K9998 said:
You don't need twrp recovery.
You can use Odin to flash patched boot.img from magisk to gain root access once your bootloader is unlocked
Sent from my Nokia 7 plus using Tapatalk
Click to expand...
Click to collapse
Doesn't this method of rooting the A30 require that you must wipe data after the modified boot image is flashed? Is there a way to re-root after installing a ROM update without destroying the user data?
PPS
cmexec said:
Doesn't this method of rooting the A30 require that you must wipe data after the modified boot image is flashed? Is there a way to re-root after installing a ROM update without destroying the user data?
PPS
Click to expand...
Click to collapse
When you get ota notification of system update.
DO NOT install it directly.
Before click the install button, open magisk and uninstall it.
Now, power off the phone and flash original boot.img.
Once boot up, do the ota.
Then redo the boot.img patching thing.
I haven't fully test it because my phone only have 2 images right now. xsa.
I use the similar approach in other phones, and they all doing well.
(Nokia 7 plus and xiaomi a2)
Sent from my Mi A2 using Tapatalk
K9998 said:
When you get ota notification of system update.
DO NOT install it directly.
Before click the install button, open magisk and uninstall it.
Now, power off the phone and flash original boot.img.
Once boot up, do the ota.
Then redo the boot.img patching thing.
I haven't fully test it because my phone only have 2 images right now. xsa.
I use the similar approach in other phones, and they all doing well.
(Nokia 7 plus and xiaomi a2)
Sent from my Mi A2 using Tapatalk
Click to expand...
Click to collapse
Oh, thanks!
The guide for flashing the modified bootloader implied that the wipe data was a mandatory step.
PPS
Can anyone tell me the whole procedure for rooting samsung a30 (andorid 10) and the useful links?

New update 10.3.3 live now

Just got notified of the update.
Downloading the update now & will share the file in later post for you guys.
Uploaded the file to android file host.
Incremental update file:.
https://www.androidfilehost.com/?fid=4349826312261819958
Full update file:
https://www.androidfilehost.com/?fid=4349826312261819976
https://briw.me/10.3.3/OnePlus7ProOxygen_21.P.27_OTA_027_all_2005192132_076a8e3.zip
@red rocket, here is the full update for 10.3.3 hosted on my server (feel free to add to OP if you'd like):
OnePlus7ProOxygen_21.P.27_OTA_027_all_2005192132_076a8e3.zip
MD5
a63548 said:
@red rocket, here is the full update for 10.3.3 hosted on my server (feel free to add to OP if you'd like):
OnePlus7ProOxygen_21.P.27_OTA_027_all_2005192132_076a8e3.zip
MD5
Click to expand...
Click to collapse
Thanks I'm on my way to upload the file to my android file host account as well. Appreciate the quick upload
I'm not unable to get into settings now after updating through magisk. Weird. I did disable the magisk modules.
JDROIDS said:
I'm not unable to get into settings now after updating through magisk. Weird. I did disable the magisk modules.
Click to expand...
Click to collapse
Is this still an issue for you? I haven't taken it yet, and your comment froze me. Your signature says OP 5T..
It's been a while since the last OTA, so I ask to reconfirm. I need to:
1) Uninstall RICE in Magisk and other modules
2) Uninstall XXX or not? That thread stated long ago that the module can be left installed since it's not version-dependent.
3) Uninstall twrp a/b retention script
4) DOwnload full update using oxygen updater.
5) Install update using settings/local upgrade. DO NOT REBOOT
6) Install Magisk. DO NOT REBOOT
7) INstall TWRP a/b retention script in magisk. DO NOT REBOOT
8) Install Magisk to inactive slot. NOW REBOOT
Is that right?
Is this twrp flashable.
rowdy_83 said:
Is this twrp flashable.
Click to expand...
Click to collapse
Yes
liam_davenport said:
Yes
Click to expand...
Click to collapse
Why would we chose to flash it via twrp? Is it easier or faster or better? I ask to learn since all guides mention the use of the update app
Sent from my OnePlus7Pro using XDA Labs
nabril15 said:
Why would we chose to flash it via twrp? Is it easier or faster or better? I ask to learn since all guides mention the use of the update app
Click to expand...
Click to collapse
So you don't overwrite TWRP with the stock recovery, and reflash Magisk while in recovery.
AarSyl said:
So you don't overwrite TWRP with the stock recovery, and reflash Magisk while in recovery.
Click to expand...
Click to collapse
Got it. Or, use the update method that has a step where a twrp retention script is installed in Magisk. They both sound like similar methods
Sent from my OnePlus7Pro using XDA Labs
nabril15 said:
Got it. Or, use the update method that has a step where a twrp retention script is installed in Magisk. They both sound like similar methods
Click to expand...
Click to collapse
They are, but for the old-time root users (like myself), flashing from TWRP is the simplest way.
Mind you, I'm not old (32yrs), but I've been rooting since the HTC Evo, and flashing ROMs and updates from TWRP is the most straightforward method.
AarSyl said:
They are, but for the old-time root users (like myself), flashing from TWRP is the simplest way.
Mind you, I'm not old (32yrs), but I've been rooting since the HTC Evo, and flashing ROMs and updates from TWRP is the most straightforward method.
Click to expand...
Click to collapse
I totally understand. Easy is good. I've been flashing a long time as well, and this TWRP approach appeals to me.
What are the steps? Boot to twrp, flash update, reboot? And twrp and magisk will be kept? I assume that before flashing, I would need to remove all magisk modules - RICE, XXX, and whatever else is in there. No?
These update logs has been pretty lame lately. Shuffling same BS around.
AarSyl said:
They are, but for the old-time root users (like myself), flashing from TWRP is the simplest way.
Mind you, I'm not old (32yrs), but I've been rooting since the HTC Evo, and flashing ROMs and updates from TWRP is the most straightforward method.
Click to expand...
Click to collapse
Lol same here but IAM little older.i install through Twrp after format .so it's installed clean.
mholloway said:
Lol same here but IAM little older.i install through Twrp after format .so it's installed clean.
Click to expand...
Click to collapse
Can you kindly elaborate or expand, if you will, on the steps that you followed?
Sent from my OnePlus7Pro using XDA Labs
nabril15 said:
Can you kindly elaborate or expand, if you will, on the steps that you followed?
Sent from my OnePlus7Pro using XDA Labs
Click to expand...
Click to collapse
Same as flashing a rom. In TWRP went to wipe.choose format ,type yes it deleted everything..
Reboot recovery
Connect to computer
Click on your device ,then internal storage,then TWRP.
Copy this rom OOS10 and TWRP zip and magisk zip to TWRP file.
Install OOS10,then flash TWRP
Reboot to TWRP,flash OOS10 again,then TWRP
reboot recovery flashed OOS10 again and TWRP
then reboot system
Don't forget to flash TWRP right after flashing rom or you will have the stock recovery..
After set up boot TWRP and flash magisk.
Anyone facing battery drain issue after updating to 10.3.3? also i m facing slow charging issue
Anyone else or its just me?
Is this for Europe?
Psyscope said:
Is this for Europe?
Click to expand...
Click to collapse
10.0.6 is for eu but still not out
Rocket Powered Oneplus 7 Pro
here is the full update for 10.3.3 hosted on my server (feel free to add to OP if you'd like):
https://pan.daxiaamu.com/一加手机官方ROM/...en_21.P.27_OTA_027_all_2005192132_076a8e3.zip

Categories

Resources