Root without custom recovery? - Android Q&A, Help & Troubleshooting

Hello,
i'm trying to root a Sharp B10 (SH-A01) with Magisk.
It would be nice if i could do this without unlocking because i want to keep the stock rom anyway.
First problem is that i can't find a custom recovery (TWRP, CWM) for this device from where i could install Magisk.
Then i found out that Magisk gives the possibility to root a device through the Magisk Manager App by patching the boot.img.
But the second problem is that i can't find the boot.img either. I spotted the boot partition on the device and tried to pull with adb but i would need an already rooted device to give the needed permissions.
Is there anything else I could do to get this thing rooted besides compiling my own TWRP for the device?
thanks a lot,
paul

Hello, i search the same.

paulquappe said:
Hello,
i'm trying to root a Sharp B10 (SH-A01) with Magisk.
It would be nice if i could do this without unlocking because i want to keep the stock rom anyway.
First problem is that i can't find a custom recovery (TWRP, CWM) for this device from where i could install Magisk.
Then i found out that Magisk gives the possibility to root a device through the Magisk Manager App by patching the boot.img.
But the second problem is that i can't find the boot.img either. I spotted the boot partition on the device and tried to pull with adb but i would need an already rooted device to give the needed permissions.
Is there anything else I could do to get this thing rooted besides compiling my own TWRP for the device?
thanks a lot,
paul
Click to expand...
Click to collapse
Neither Magisk nor TWRP is needed to root Android: Chainfire's SuperSu does the job. You flash its ZIP via stock recovery "adb sideload"

jwoegerbauer said:
Neither Magisk nor TWRP is needed to root Android: Chainfire's SuperSu does the job. You flash its ZIP via stock recovery "adb sideload"
Click to expand...
Click to collapse
Hi,
thanks for your answer.
I already managed to root this device. I got the boot.img with Wwr_MTK & SP flash tool (windows tools...), patched it with the magisk app and than flashed the patched boot.img

1. Unlock your bootloader enter in download mode Vol+ + Vol- + USB conected to pc (Keep in mind that by doing this you will lose your files, it is advisable to make a backup of your photos, music, etc.)
2. Once you start your cell phone install magisk manager, Choosing the boot.img file of your rom into the app (Tip: Only!!! If your model is SM-A015M Android 11 I leave you my own modified boot.img to flash:
File on MEGA
mega.nz
Otherwise, you can download the firmware (3.79 gb) and extract the boot.img from the firmware of your model SM-A015 M / F ... Android 10, Android 11... etc. And No need for pc
https://samfrew.com/model/SM-A015M/
3. The image will begin to flash
4. When it restarts you will have Root on the cell phone!
------------------------------------------------------------------------------------------------------------------------------------------------
Extra: If you need the custom recovery I give you the link with my TWRP which is installed through the Odin program on a PC (this step does not delete your files)
File on MEGA
mega.nz
Keep in mind that to install TWRP you must deactivate the DM-VERITY & FORCEENCRYPT DISABLER I leave it in a link:
Zackptg5 - Android
zackptg5.com
This is a module that can be installed via magisk, which is necessary to decrypt the system ... so once TWRP is installed, it is advisable to uninstall it via Magisk to avoid R / W errors

Related

[Guide] OTA update installation on rooted phone

This may be known to many but there are many users who were struggling with this.
Hello Folks,
Was getting few requests on XDA, Telegram and Facebook for this. As title says, there were few users reporting OTA failures while they were rooted with Magisk. Yes, that's obvious, it will fail as you have modified the boot.img (ramdisk) and stock recovery (Recovery_ramdisk.img) while rooting and installing TWRP.
Please follow below steps to update via OTA if you were rooted or using magisk.
Uninstall busybox binaries and Xposed framework (if you are using by any chance)
Uninstall Magisk (inside the app or by flashing the magisk uninstaller via TWRP)
Download update.app of your current firmware and extract stock recovery and boot file via Huawei extractor
Flash stock recovery of your actual variant as fastboot flash recovery_ramdisk recovery.img
Flash stock boot as fastboot flash ramdisk ramdisk.img
Boot to system.
Perform OTA update and reboot.
Root your phone again if you want.
Enjoy.
You could just :
1.patch the new ramdisk's update via magiskmanager then,
2.update via HuRUpdater without removing your root before,
3.then reboot straight to fastboot, and flash your new patched ramdisk
4.reboot to your rooted updated firmware with magisk module still working and root mods still applyied.
PS: I don't know about xposed frameworks
shashank1320 said:
This may be known to many but there are many users who were struggling with this.
Hello Folks,
Was getting few requests on XDA, Telegram and Facebook for this. As title says, there were few users reporting OTA failures while they were rooted with Magisk. Yes, that's obvious, it will fail as you have modified the boot.img (ramdisk) and stock recovery (Recovery_ramdisk.img) while rooting and installing TWRP.
Please follow below steps to update via OTA if you were rooted or using magisk.
Uninstall busybox binaries and Xposed framework (if you are using by any chance)
Uninstall Magisk (inside the app or by flashing the magisk uninstaller via TWRP)
Download update.app of your current firmware and extract stock recovery and boot file via Huawei extractor
Flash stock recovery of your actual variant as fastboot flash recovery_ramdisk recovery.img
Flash stock boot as fastboot flash ramdisk ramdisk.img
Boot to system.
Perform OTA update and reboot.
Root your phone again if you want.
Enjoy.
Click to expand...
Click to collapse
Do we need to keep "Enable OEM Unlock" checked or unchecked in developer settings?
mohsyn said:
Do we need to keep "Enable OEM Unlock" checked or unchecked in developer settings?
Click to expand...
Click to collapse
Doesn't matter unless you are rooting
shashank1320 said:
Doesn't matter unless you are rooting
Click to expand...
Click to collapse
Thanks
I am unable to download OTA update through system
I have the zips downloaded using firmware finder but both the dload and copying the zips to /data/update/HWoUC folder fails
dload method keeps throwing erecovery on screen and does nothing
my recovery + ramdisk + kernal are all stock
magisk completely removed
bootloader unlocked
frp unlock
am i missing something or is there some other manual update method
mohsyn said:
Thanks
I am unable to download OTA update through system
I have the zips downloaded using firmware finder but both the dload and copying the zips to /data/update/HWoUC folder fails
dload method keeps throwing erecovery on screen and does nothing
my recovery + ramdisk + kernal are all stock
magisk completely removed
bootloader unlocked
frp unlock
am i missing something or is there some other manual update method
Click to expand...
Click to collapse
It should be hwouc folder directly under root of internal memory and not data/update/hwouc

root Android Q on s9+

Hello, I updated to Q and can't get it rooted.
It bootlooped.
How can I root Android Q?
visit: h t t p s : / / twrp.me/site/update/2019/10/23/twrp-and-android-10.html
As, if now you cannot. For Android Q, it's still in research.
------------------------------------------------------------------------
Never tried but: ClockworkMod Recovery – a past alternative to TWRP custom recovery.
h t t p s : / / en.wikipedia.org/wiki/ClockworkMod#ClockworkMod_Recovery
Research over it & let me know if anything worked for you-!
I successfully roote Q with this ?
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
I just flash TWRP, format and flash custom rom. Rooted.
First of all. What device do you have and what exactly have you tried? Include references.
Remember first step is to search before asking.
Guys need to re root my device on android 10 cuz i had it root under android 9 and cannot use s health
Need to root to chanfe the build prop command to use s health
Also missing the heart monitor pressure
Please help me
G965f
StonebridgeGr said:
Guys need to re root my device on android 10 cuz i had it root under android 9 and cannot use s health
Need to root to chanfe the build prop command to use s health
Also missing the heart monitor pressure
Please help me
G965f
Click to expand...
Click to collapse
I would recommend you flashing custom firmware, like the one in my signature. Everything is working, including Security Folder.
Rooting S9 +
sarjarim said:
I just flash TWRP, format and flash custom rom. Rooted.
Click to expand...
Click to collapse
Which TWRP version you used and how did you install TWRP on a non-rooted phone? Do you not have to use Magisk to root the phone first?
xectis said:
Which TWRP version you used and how did you install TWRP on a non-rooted phone? Do you not have to use Magisk to root the phone first?
Click to expand...
Click to collapse
I just used the 3.3.1.1 from the TWRP site.
Flash TWRP is to root, so I did it b4 root.
1. OEM unlock
2. Flash TWRP with odin then boot to TWRP, samsung will restore if u normal boot.
3. Backup EFS
4. Format data wipe all
5. Dm verity, search newest from dr ketan
6. Flash custom ROM.
Magisk usually comes with the custom ROM.
sarjarim said:
I just used the 3.3.1.1 from the TWRP site.
Flash TWRP is to root, so I did it b4 root.
1. OEM unlock
2. Flash TWRP with odin then boot to TWRP, samsung will restore if u normal boot.
3. Backup EFS
4. Format data wipe all
5. Dm verity, search newest from dr ketan
6. Flash custom ROM.
Magisk usually comes with the custom ROM.
Click to expand...
Click to collapse
Magic! Thanks bro.
For Android 10 U9 bootloader, is not more possible flash custom binaries... even twrp!
G965FXXU9ETF5
hi im new to this but what do you mean by Q??
i have sprint s9+ sm-g965u1, can i root my phone now ?
Devilix said:
For Android 10 U9 bootloader, is not more possible flash custom binaries... even twrp!
G965FXXU9ETF5
Click to expand...
Click to collapse
This isn't true I flashed Twrp 3.5.091 via Odin, S9+ exynos android 10, then flashed Magisk 21.4.
When I got phone it was android 10 June 2020 security update. It then updated again to 21/02/2021 ota.. I was able to flash recovery twrp and root/debloat. Only problem I did find is that I cannot flash lineage 18.1 or any custom roms.
Regards
JeyKul said:
Hello, I updated to Q and can't get it rooted.
It bootlooped.
How can I root Android Q? No root method root android Q.
Click to expand...
Click to collapse
hey ,
1.install magisk manager on your phone
2.download the firmware from samfirmware for your model of phone to pc
3.download 7zip with lz4
4. use 7zip lz4 to extract boot img from AP(firmware)
5. send the xtracted boot.img to phone sdcard and use magisk manager to patch said image .
6. send the patched img to pc and use 7zip to create archive as boot.tar file
7. one you install the firmware as normal via odin (disable auto reboot ) go back and disconnect/reconnect usb from phone so it appears as added in odin once more.
8. add the boot.tar file to AP in odin and flash the phone , reboot system and install magisk manager again , go into magisk and it will reboot again to fix the root.
there is a video somwhere on youtube showing you better than ive tried to here.
this is by far he best way as you can still take ota updates because stock recovery is still present .
regards

Redmi 8a Global a only 11.0.2.0 QCPMIXM GSI/Custom ROM still flashable?

Hi all, my first post here.
I recently bought this phone thinking it was customizable. Every tutorial I have tried has failed and required a re-flash to stock ROM using MIFlash.
I have tried custom ROMs, GSI ROMs, 64 bit, 32 bit, etc. I tried using Magisk 21.0 to root, it appears to work, but I believe the boot.img patching isn't currently working on this particular phone.
Most tutorials I have tried are very simple and use TWRP to flash the OS img file, then reboot and enjoy. Some suggest flashing vbmeta.img to prevent boot loop, but, boot loop happens anyway. I have TWRP installed and working, so far, that is all I have had success with.
Can this phone still be customized at all?
Update: I achieved root on the stock ROM. If anyone is interested I'll post the exact instructions.
stvmnn said:
Hi all, my first post here.
I recently bought this phone thinking it was customizable. Every tutorial I have tried has failed and required a re-flash to stock ROM using MIFlash.
I have tried custom ROMs, GSI ROMs, 64 bit, 32 bit, etc. I tried using Magisk 21.0 to root, it appears to work, but I believe the boot.img patching isn't currently working on this particular phone.
Most tutorials I have tried are very simple and use TWRP to flash the OS img file, then reboot and enjoy. Some suggest flashing vbmeta.img to prevent boot loop, but, boot loop happens anyway. I have TWRP installed and working, so far, that is all I have had success with.
Can this phone still be customized at all?
Update: I achieved root on the stock ROM. If anyone is interested I'll post the exact instructions.
Click to expand...
Click to collapse
Hi.
I´m interested. I´m not able to root the MI 8A MIUI 11 global 11.0.2.0 QCPMIXM. I achieved install TWRP . But I can´t install MAGISK . It don´t show me any error, but it isn´t installed. I ´ve tried many versions 20.0, 20.1, 20.2, 20.3 20.4 21.0 and 21.1. neither of them are successfull with TWRP.
Neither with magisk manager apk 7.5.1 and above. These are installed but then I download magisk 20.4 version, but this isn´t installed.
how did you it? please.
Yajirobai said:
Hi.
I´m interested. I´m not able to root the MI 8A MIUI 11 global 11.0.2.0 QCPMIXM. I achieved install TWRP . But I can´t install MAGISK . It don´t show me any error, but it isn´t installed. I ´ve tried many versions 20.0, 20.1, 20.2, 20.3 20.4 21.0 and 21.1. neither of them are successfull with TWRP.
Neither with magisk manager apk 7.5.1 and above. These are installed but then I download magisk 20.4 version, but this isn´t installed.
how did you it? please.
Click to expand...
Click to collapse
Your bootloader needs to be unlocked and USB debugging enabled first of course. TWRP Recovery should be installed.
To do this, you need the adb and fastboot binaries installed on a PC/Laptop. I use Ubuntu and installing these is trivial via apt package manager:
Debian based:
Code:
sudo apt install adb fastboot
RedHat based:
Code:
yum install adb fastboot
If you use Windows, the install and use of these binaries is a little different. I don't use Windows so you'll have to do a quick search to find out how to install and use these binaries. The commands listed below will work no matter what OS you use.
Connect your phone to your PC/Laptop via it's USB cable and reboot it to TWRP Recovery:
Power off the phone, then power on while holding the volume up button until you see the TWRP logo. Log into TWRP to decrypt.
Next, you need to pull the current boot.img from your ROM to patch it for root access:
Code:
adb shell dd if=/dev/block/by-name/boot of=/sdcard/boot.img
There should be a boot.img on your phone's internal storage, copy it to your PC/Laptop. From TWRP, reboot your phone to fastboot.
Now, we'll use this most excellent, free resource to patch the boot.img file which will give root access:
https://patcher.yaalex.xyz/
Check the 'Include Magisk' checkbox on the website before submitting image.
Important: After you upload your boot.img file to the website, be patient. This could take 10 minutes or more to complete, just wait until you get a prompt to download the patched image. You will be provided a patched_boot.img file from the website once it is finished.
Finally, all you need to do is flash the patched_boot.img to your phone:
Code:
fastboot flash boot patched_boot.img
Boot your phone to the ROM:
Code:
fastboot reboot
Install Magisk Manager if you haven't already, and enable Magisk Hide in the settings. Magisk Manager should report root access is available and SafetyNet test should pass.
I typed all this up from memory so if you run into trouble or are confused by any step, let me know and I will gladly clarify/fix the steps.
I hope this helps others achieve root on this phone. Let me know how it goes and happy de-bloating!
Rollback instructions:
If your phone fails to boot don't panic. You can restore your original boot.img if needed to regain access. Reboot your phone to fastboot:
Boot phone while holding the down volume button until you see the fastboot logo.
Next, flash the original boot.img to the boot partition:
Code:
fastboot flash boot boot.img
Now just reboot to ROM and all should be restored:
Code:
fastboot reboot
stvmnn said:
Hi all, my first post here.
I recently bought this phone thinking it was customizable. Every tutorial I have tried has failed and required a re-flash to stock ROM using MIFlash.
I have tried custom ROMs, GSI ROMs, 64 bit, 32 bit, etc. I tried using Magisk 21.0 to root, it appears to work, but I believe the boot.img patching isn't currently working on this particular phone.
Most tutorials I have tried are very simple and use TWRP to flash the OS img file, then reboot and enjoy. Some suggest flashing vbmeta.img to prevent boot loop, but, boot loop happens anyway. I have TWRP installed and working, so far, that is all I have had success with.
Can this phone still be customized at all?
Update: I achieved root on the stock ROM. If anyone is interested I'll post the exact instructions.
Click to expand...
Click to collapse
Iirc redmi 8a is an ab device, and yes this device is as customisable as any other Qualcomm. What gsi image are you flashing?
Actually he is not way off ..... i am NOT able to find a Custom Non MIUI ROM with full VoLTE support. VoLTE fix for GSI's ( if at all it worked ! ) does not work for Havoc. twrp root is all good. I want a NON MIUI ROM that can regional variants ( Europe and Asia ) and supports VoLTE

Redmi Note 9S unclocked. How do I need to proceed for a recovery?

I tried installing one but the phone doesn't restart in the recovery and freezes.
Anyone can help me with the steps and the links to the files I need to use to install a working recovery? I'm on the latest MIUI 12.
If you just want to root, it's possible without TWRP too
You need to be googling every fact that you don't know, cuz I did in the same way
1. Find the original ROM file online
2. Verify that the version is same
3. Use online extractor and find boot.Img
4. download it, install magisk apk, open it, browse the boot file and patch it
5. Now copy patched boot file to ur adb folder in PC and rename it to boot.img
6. use fastboot flash boot boot.img
7. You've got root access, magisk works, boom!
if you just want root then follow the reply before me but if you want to install
custom recovery - https://fah1m.medium.com/how-to-install-custom-recovery-on-android-d70395f07be3
rom - https://fah1m.medium.com/how-to-ins...note-9-s-pro-pro-max-poco-m2-pro-f132b99e4785
follow these two guides and use pitch-black miatoll custom recovery.

Question Ive tryed everything pls help

I've tryed someany time to install twrp with magsik pls help
How do I install twerp recovery with magsik with out root or pc or 2 phones
twrp does not exist for this phone officially yet.
you also need an unlocked bootloader and root in order to flash anything
Oh ok but how do I root my phone I've tryed for so long
0. Unlock bootloader
1. Flash Twrp via pc (twrp is optional for rooting)
2. Get boot.img from base rom
3. Instal magisk on device
4. Modify the boot.img via magisk (this will create another patched image titled "magisk_patched-#####_#####.img"
5. Flash newly created magisk modified boot image ie. Titled "magisk_patched-#####_#####.img" via pc (this will temp. Root device)
6. On reboot open magisk, run the same newly flashed image ie. Titled "magisk_patched-#####_#####.img"through magisk via "direct install (recommended)" method. (this will fully root device and give root access to twrp)
7. Profit
Btw not responsible if you brick your device

Categories

Resources