How can enable Camera 2Api without root - Xiaomi Redmi Note 5 Pro Questions & Answers

Is there anyway to enable Camera 2Api without root?
Thanks

manhktqd said:
Is there anyway to enable Camera 2Api without root?
Thanks
Click to expand...
Click to collapse
I think u can't...

manhktqd said:
Is there anyway to enable Camera 2Api without root?
Thanks
Click to expand...
Click to collapse
Possible through adb

I read in this forum but i didn't remember but it's possible by adb.

U can but have to unlock bootloader

up

Before using this RN5P I was an user of Mi A1 which was under android one, there I was using GCAM but without having phone been rooted. What the scripts behind that GCAM tool was, firstly it unlocks the bootloader then it temporarily ran TWRP recovery only for flashing the GCAM zip file then the script ended with exit from TWRP and lock back the bootloader. I am wondering if the same thing can be apply here in RN5P. But here in MIUI we need to wipe the storage whilst unlocking, that's the catch. But who cares if I keep the backup manually and restore back.

kamrul.auntu said:
Before using this RN5P I was an user of Mi A1 which was under android one, there I was using GCAM but without having phone been rooted. What the scripts behind that GCAM tool was, firstly it unlocks the bootloader then it temporarily ran TWRP recovery only for flashing the GCAM zip file then the script ended with exit from TWRP and lock back the bootloader. I am wondering if the same thing can be apply here in RN5P. But here in MIUI we need to wipe the storage whilst unlocking, that's the catch. But who cares if I keep the backup manually and restore back.
Click to expand...
Click to collapse
You can lock and unlock bootloader in mia1 with ADB commands.But here you have to unlock with mi unlock tools.

u can enable camera2api without root. but u have to have unlocked bootloader.
steps:
unlock bootloader.
reboot into fastboot mode
download multirom_twrp-whyred-07042018.img
place it in to your adb folder
connect phone with pc using a usb cable (while in fastboot mode)
now run this command in adb "fastboot boot multirom_twrp-whyred-07042018.img"
this will boot your phone into twrp.
now download this file "Camera_2API.zip"
copy it into your phones internal storage
go to twrp and flash this zip.
from twrp select "reboot to system" and select "do not install" in next screen.
this will reboot ur phone to miui and u have camera2api enabled without root.
after that u can install gcam mod and it will work. i m using gcam mod this way.
all those files i have mentioned are available on respective threads on this forum.

Related

[HOW-TO] How to SuperSU the Moto G5 Plus (Rooting Guide)

Hey guys,
Thanks to @vanche for the modified kernel and twrp recovery and @fayiaz for the guide on how to root and @Johny Cipel for the original guide and everyone else like
@topjohnwu
@santhosh
@abdyasar
For the original twrp, root and other stuff.
Now thats out of the way
Requirements:
-Unlocked Bootloader (Moto G5 Plus with offers from Amazon won't have unlockable bootloaders but if you buy the standard model from them then you'll be fine)
-Vanche's Modified TWRP from here (http://cloud.vache-android.com/Moto/potter/TWRP/twrp-3.1.0-0-potter.img)
- Vanche's Modified Boot Kernel from here (http://cloud.vache-android.com/Moto/potter/root/potter_boot_test7.img)
- Vanche's Wifi Patch because wifi will stop working after flashing the modified boot kernel (http://cloud.vache-android.com/Moto/potter/root/wlan_custom.zip)
- Chainfires Root http://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip
--- If you already have TWRP on your phone, the one by Santosh, you must flash the one made by Vanche or it wont work and you can just download the recovery image and flash it via twrp by toggling the flash zip button on the twrp recovery install menu.
1.. Download all the three files then boot your phone into bootloader mode by holding Volume Down + Power
2. Connect your phone to your PC and then open the adb terminal wherever adb is located open command prompt at that folder
3. Place the recovery image and boot image where the adb terminal folder is located
4. Fastboot flash recovery first and then boot into recovery at least once then reboot into bootloader fastboot flash boot the modified boot image.
5. Boot into the system (May take a while for the first time after flashing the boot image).
6. Place the wlan_custom.zip into your phones internal storage
7. Boot back into recovery and then flash the zip this time
8. Then download and flash the SR3 Super Su from above using recovery and you should have root!!
Safety net may break so if you wanna use Snapchat or any other apps that use safety net make sure you login first then root. You can't logout or else you'll have to unroot and log back in.
wiping?
do we need to wipe storage in this process?
yourtitan said:
do we need to wipe storage in this process?
Click to expand...
Click to collapse
It shouldnt, But if you cant boot then you need to flash the no-verity crypt zip once
Awesomeslayerg said:
It shouldnt, But if you cant boot then you need to flash the no-verity crypt zip once
Click to expand...
Click to collapse
thanks for the reply. but i have several data in my phone. can i just unlock bootloader and root as instructed above without wiping my storage? its a task to take backup of everything. thanks in advance.
wifi not working after supersu root
wifi not working mate.. Flashed custom zip .. No use..
Dhan... said:
wifi not working mate.. Flashed custom zip .. No use..
Click to expand...
Click to collapse
Did you correctly flash vanche TWRP and boot image? Because you're supposed to do that first and then flash the wifi zip..
yourtitan said:
thanks for the reply. but i have several data in my phone. can i just unlock bootloader and root as instructed above without wiping my storage? its a task to take backup of everything. thanks in advance.
Click to expand...
Click to collapse
The phone will wipe as soon as you unlock the bootloader so best to back up first.
Sorry but what's the differences beetwen this method and magisk?
Awesomeslayerg said:
Requirements:
-Unlocked Bootloader (Amazon bought Moto G5 Plus dont have unlockable bootloaders so your out of luck)
Click to expand...
Click to collapse
Only the 'Prime Exclusive - With Offers and Ads' Amazon models don't have an unlockable bootloader, while the 'Standard Version' models can definitely be unlocked. You probably should clarify that or some will think that they can't buy from Amazon and unlock/root the phone.
Dahenjo said:
Only the 'Prime Exclusive - With Offers and Ads' Amazon models don't have an unlockable bootloader, while the 'Standard Version' models can definitely be unlocked. You probably should clarify that or some will think that they can't buy from Amazon and unlock/root the phone.
Click to expand...
Click to collapse
Will do thanks
The "Magisk method" didn't give me privileges on /system, there are some things I can do and others do not, this method gave me full root access like in the other MotoG devices? And the safetynet check fails too?
Anyway thank you very much!!
What's going to be different than magisk root?
Videon Tutorial [SuperSu]
Guys I Found This Video Tutorial For This Thread On Roting Moto g5 Plus With Super Su ------- And Worked Great For Me----- link:-
https://www.youtube.com/watch?v=TV78iWxQrRE
gr8 work mate.....I'm rooted with Magisk...wanna go with super su........do i need to
gr8 work mate.....I'm rooted with Magisk...wanna go with super su........do i need to reflash above said recovery?
will it wipe my current data on both storage?
Pls guide..........How is Moto app working with super su?
Shamith08 said:
Guys I Found This Video Tutorial For This Thread On Roting Moto g5 Plus With Super Su ------- And Worked Great For Me----- link:-
https://www.youtube.com/watch?v=TV78iWxQrRE
Click to expand...
Click to collapse
Thank you so much! This worked! Why would WiFi stop working with this boot image?
I'm
donjuro said:
Thank you so much! This worked! Why would WiFi stop working with this boot image?
Click to expand...
Click to collapse
I don't know why but you have to flash WLAN in order to get it to work
Twrp backup can't worked
I successfully rooted my moto g5 plus mobile. And TWRP INSTALL Latest supersu via. But sdcard card backup can't worked. Why can't work sdcard in twrp? I think this twrp unofficial so not supported sdcard process. Please help me. How to work sdcard backup twrp. I try mount sdcard. But can't mount sdcard. Totally I'm very tired. Please help me.
Does someone have the img file for G5/Cedric?
Awesomeslayerg said:
...Safety net may break so if you wanna use Snapchat or any other apps that use safety net make sure you login first then root. You can't logout or else you'll have to unroot and log back in.
Click to expand...
Click to collapse
Do you think that will be fixed soon with a newer version of SuperSU, or some "root hider" apps? The idea of running a phone without root is absurd/offensive/rediculous IMO, but I don't want to be denied the ability to run certain apps because the developers have the rediculous idea that running without root should be "OK" to ordinary users? This idea is extremely offensive to me!!!
Guys, I wonder why the OP is "Account currently disabled"? I hate running without root, but, it seems a bit early and not all the problems have been worked out yet, such as TWRP not accessing SDCARD yet - I think I was a little premature buying my Moto G5 Plus as we don't really have "stable" release custom ROMs or fully functioniong TWRP and to even root we have to rely on some not well known sources for kluged files to make SU work?

It is possible to Relock bootloader with this modification?

Hi, i have a xiaomi mi 6. The bootloader is unlocked, officially.
My question is: can i relock the bootloader after i moved two apps as a system apps? The applications only work that way, or with root privileges. Those two app is needed to enable or disable android services.
I use banking apps, which detect rooted or unlocked phones. Safetynet need to
pass. Keeping root or magisk is not an option for me. Beside safetynet, those banking apps have their own custom detecting sistem, which magisk can't hide.
I have stock recovery now , root is removed (unrooted).
On my old sony z3 that procedures worked, dose is work on mi 6 too? Or it will brick the device.? A bricked device with locked bootloader is a nightmare...
I want a locked bootloader to be able to use fingerprint and use all of my banking apps. But i need to enable/disable services at any time.
Hi,
From what I heard, if you relock the bootloader, you won't be able to unlock it again as xiaomi won't give you the right to unlock phone twice. So it's a bad idea.
Lork Scorguar said:
Hi,
From what I heard, if you relock the bootloader, you won't be able to unlock it again as xiaomi won't give you the right to unlock phone twice. So it's a bad idea.
Click to expand...
Click to collapse
Thanks for replying.
If you get permission to unlock officially, you cand unlock and relock as many times as you want.
Absolutely not. If you made a modification of the system, dm-verity will notice it, and the phone will be stuck in a bootloop.
Boot in custom recovery and move the app in system.. You dont need root for that. Just un-encrypted phone and TWRP.
Main problem will be, how you get the files from the apk. You could install it on another phone (which is rooted), make the app a system app and then get the folders of said app, which you can copy via adb to your Mi6. And in recovery mode you can mount system as rw.
OR
TWRP has a feature to make any app a system app (dunno)
OR
someone can make you flashable zip file for TWRP.
thE_29 said:
Boot in custom recovery and move the app in system.. You dont need root for that. Just un-encrypted phone and TWRP.
Main problem will be, how you get the files from the apk. You could install it on another phone (which is rooted), make the app a system app and then get the folders of said app, which you can copy via adb to your Mi6. And in recovery mode you can mount system as rw.
OR
TWRP has a feature to make any app a system app (dunno)
OR
someone can make you flashable zip file for TWRP.
Click to expand...
Click to collapse
Thanks man, but converting app to system app is not a problem. I can do that with root or with twrp, as you mentioned.
The problem is relocking the bootloader after i moved app as a system app and disabled some services.
G4B33 said:
Absolutely not. If you made a modification of the system, dm-verity will notice it, and the phone will be stuck in a bootloop.
Click to expand...
Click to collapse
Will dm-verity prevent my phone from booting if i flash no-dm-verity patch or disable dm-verity from twrp?
After i disabled it, flash stock recovery and relock?

[How to root] Honor 6x with Magisk 14 - B367 (fast method for professional users)

[How to root] Honor 6x -B367- with Magisk 14
(fast method for professional users)
Use TWRP Recovery from the attachment.
Make a Backup first.
Uninstall SuperUser App-
[*]in TWRP flash unSu.zip-
[*]with TWRP restore the Stock Kernel (Boot Partition) from a backup-
[*]flash in TWRP Magisk-v14.0.zip-
[*]the magisk app is automatic installed .
[*]Reboot-
[*]flash in TWRP BusyBox-Magisk-1.25.zip-
[*]for Ad Block Plus first install the app and then flash the zip-
[*]if the flashing fails, please add the modules in the Magisk Manager App.
[*]Don't experiment with Xposed!
[*]The SafetyNet is thereby lost.
​
TWRP:
https://mega.nz/#!9l0jFQaZ!WJipSNyrecAuyok4Wpp_NM6fxWyFPWwn2aP34tW50sU
There's no point in installing MagiskManager. When you flash Magisk.zip, it automatically installs the manager apk. If your phone is not rooted, all you have to do is to flash the Magisk.zip in TWRP and that's it.
Thanks for your feedback. I will change the tuto immediately.
Can somebody share the boot.img for c432b367?
Thanks guys!
actually you can fix safetynet in honor 6x:
1. disable Hisuite HDB in settings>advanced settings>security
2. Go to developer options and enable adb debuging
3. go to apps and go to google play services and force stop it. and clear data (you know how to do it...)
4. run safetynet test
5. profit?
NOTE:you'll do this again if you reboot it except number 1...
EDIT: it works for me in my stock rom but IDK in other roms...
https://i.imgur.com/J8obP1l.png
I keep getting "error: cannot load 'berlin311'" when trying to flash twrp
Please help
If we have twrp from open kirin team installed, do we still need to flash this twrp or can use the same one?
Just realized that this is the same OpenKirin TWRP. Proceeding with Magisk for the first time now
Any thoughts on the error loading twrp?
Challah said:
Any thoughts on the error loading twrp?
Click to expand...
Click to collapse
I did not face any issue.. Was smooth. I am using magisk now
shashank1320 said:
I did not face any issue.. Was smooth. I am using magisk now
Click to expand...
Click to collapse
Sadly that doesn't help me much
Challah said:
Sadly that doesn't help me much
Click to expand...
Click to collapse
Which version of the are you using. I had one from open kirin team. Are you trying to boot to recovery with USB connected? Are you on emui 4/5?
Emui 5, tried using both versions, the one from your thread and the one from the kirin team thread.
Challah said:
Emui 5, tried using both versions, the one from your thread and the one from the kirin team thread.
Click to expand...
Click to collapse
Both are same file. Not sure why this issue. I flashed today couple of hours ago to install magisk as i did fload to be on stock.
I have tried all the guides, same issue each time.
My phone is unlocked, but I get an error loading the img
Challah said:
I have tried all the guides, same issue each time.
My phone is unlocked, but I get an error loading the img
Click to expand...
Click to collapse
Did you try relocking amd unlocking the bootloader again? Try once buddy
I figured it out, I had adb installed previously and it was opening it from a different place than I expected, so Berlin was in the wrong folder.
shashank1320 said:
Did you try relocking amd unlocking the bootloader again? Try once buddy
Click to expand...
Click to collapse
Only unlocking with unlock code. That's enough. Then activate OEM unlock and Debugging Mode in the Settings.
ChinHon said:
Only unlocking with unlock code. That's enough. Then activate OEM unlock and Debugging Mode in the Settings.
Click to expand...
Click to collapse
Working for me buddy. I was helping him as he had issue
Thanks for this..i got the confidence and was able to install magisk without issues which was not doing earlier
When on the step to flash busybox_magisk I get notified that magisk is not installed, magisk needs to be installed first, and then error "Updater process ended with ERROR: 1 Error installing zip file '/external_sd/BusyBox-Magisk-1.25.zip'?
I flashed magisk again, rebooted to recovery, tried busybox-magisk again, same error.

Your device is corrupt. It can't be trusted and will not boot

Hi Friends
pleas help , i wanted install Oreo so i went to lock boat-loader by TOOL_ALL_IN_ONE
and i didnt see the alert message and above message appeared "Your device is corrupt. It can't be trusted and will not boot"
so please advise
If you alter the system in any way you can't lock the bootloader as it will not boot due to possible safety issues by modying the system. In order to use the device with a locked bootloader, you need to flash the original OS.
If you want to use a modified system, keep the bootloader unlocked. Unfortunately, there is no other way.
how can i flash rom please help
MsuatafaKhatab said:
how can i flash rom please help
Click to expand...
Click to collapse
It would be helpful to know what you want to flash.
Is it OxygenOS?
Then flash it in e.g. TWRP and then lock the bootloader again.
Is it something else?
Keep the bootloader unlocked.
Macusercom said:
It would be helpful to know what you want to flash.
Is it OxygenOS?
Then flash it in e.g. TWRP and then lock the bootloader again.
Is it something else?
Keep the bootloader unlocked.
Click to expand...
Click to collapse
Is it OxygenOS?
yes it is
Did you modify it in any way? Root, Magisk, Xposed, Recovery, flashable ZIPs or anything else?
yes, the problem i used tool "TOOL_ALL_IN_ONE" to lock boat-loader
Use "fastboot flashing unlock" to unlock it again, install TWRP, use adb push to copy OxygenOS to it, flash OxygenOS, use "fastboot flashing lock" and it should work just fine again.
not allow to me to unlock again
https://imgur.com/a/fIYqZ
I assume this is due to "Allow OEM Unlock" not being enabled. I don't know if anyone has a workaround.
Otherwise, I suggest contacting OnePlus and getting support by an L2 technician.
Macusercom said:
I assume this is due to "Allow OEM Unlock" not being enabled. I don't know if anyone has a workaround.
Otherwise, I suggest contacting OnePlus and getting support by an L2 technician.
Click to expand...
Click to collapse
Thanks pro
I contacted them and they gave file to downlod and will log in to my pc tommorrow to fix
Really appreciate your help
Sent from my LG-H870S using Tapatalk
MsuatafaKhatab said:
Thanks pro
I contacted them and they gave file to downlod and will log in to my pc tommorrow to fix
Really appreciate your help
Sent from my LG-H870S using Tapatalk
Click to expand...
Click to collapse
thanks pro , the session finished with succeed thanks
but why the delete the files after finish installation
MsuatafaKhatab said:
thanks pro , the session finished with succeed thanks
but why the delete the files after finish installation
Click to expand...
Click to collapse
They keep their tools private. So unless you back them up during the session in the background and use a keylogger to get the password, you will never get your hands on the tools. No one does.
But you can contact them again at any time and they will assist you so just don't do this again and you should be fine
this could be avoided if we had fastboot images of OxygenOS..
you can flash any image from fastboot, even if it's locked.
Seven_of_Nine24 said:
this could be avoided if we had fastboot images of OxygenOS..
you can flash any image from fastboot, even if it's locked.
Click to expand...
Click to collapse
How bro
I already fixed by one plus technical support , but to learn
Sent from my ONEPLUS A5010 using Tapatalk
I didn't do anything in my phone n still I got the device is corrupt.
Tejesh.D said:
I didn't do anything in my phone n still I got the device is corrupt.
Click to expand...
Click to collapse
Open ticket in one plus website
They will fix by logging to your PC
Don't worry
They are very friendly
Sent from my ONEPLUS A5010 using Tapatalk
MsuatafaKhatab said:
Open ticket in one plus website
They will fix by logging to your PC
Don't worry
They are very friendly
Click to expand...
Click to collapse
It's working now....but still ll open a ticket
I also faced similar problem yesterday & following steps worked for me
1. I unlocked the bootloader
2. Flashed TWRP & wiped everything (system data cache, internal) I wiped internal because I was seeing random folders in my internal, you can skip it while trying first time but if it doesn't work. Try again with wiping internal.
3.I flashed stock recovery via fastboot.
4. ADB side loaded oxygen OS (any version) using stock recovery.
I side loaded rom because I was unable to select file from stock recovery option "install from internal"
*don't boot now*
5. Reset everything from stock recovery option and then boot it.
I haven't tried to lock bootloader again but it should lock if you try now without rooting it again (⅛)
(⅛) I think the problem was that I mistakenly tried to lock bootloader with magisk installed which made this issue.
(That's what I was able to notice)
Please report back if this was the case for you too.
Sent from my ONEPLUS A5010 using Tapatalk
Try this
https://r.tapatalk.com/shareLink?ur...share_tid=3733012&share_fid=3793&share_type=t
Sumanyu Sinha said:
I also faced similar problem yesterday & following steps worked for me
1. I unlocked the bootloader
2. Flashed TWRP & wiped everything (system data cache, internal) I wiped internal because I was seeing random folders in my internal, you can skip it while trying first time but if it doesn't work. Try again with wiping internal.
3.I flashed stock recovery via fastboot.
4. ADB side loaded oxygen OS (any version) using stock recovery.
I side loaded rom because I was unable to select file from stock recovery option "install from internal"
*don't boot now*
5. Reset everything from stock recovery option and then boot it.
I haven't tried to lock bootloader again but it should lock if you try now without rooting it again (⅛)
(⅛) I think the problem was that I mistakenly tried to lock bootloader with magisk installed which made this issue.
(That's what I was able to notice)
Please report back if this was the case for you too.
Sent from my ONEPLUS A5010 using Tapatalk
Click to expand...
Click to collapse
Sent from my ONEPLUS A5010 using Tapatalk

Question Need advice on how to properly root and unlock bootloader of poco f3

I have a poco f3 M2012K11AG 6gb 128 storage. can anyone helpme where to find a guide which doesnt involve spyware methos of rooting my f3? also what custom rom do you guys recommend?
will other apps not continue to function if rooted or bootloader unlocked?
First, you'll need to unlock your bootloader
Now this is the long boring part:
Unlocking your bootloader will wipe your data
You'll need a xiaomi account
Go to Developer options
Allow OEM Unlocking
Allow USB Debugging
Allow Install via USB
Allow USB Debugging (Security Settings)
(The previous two bullets are just incase)
Go to Mi Unlock Status and click "Add account and device"
Download Mi Unlock Tool
Using Mi Unlock Tool, install drivers (from the small settings button on the top right corner)
Log in to your xiaomi account in the Mi Unlock Tool
Boot your phone in fastboot mode and connect it to your PC
In the Mi Unlock Tool, Click unlock
The Mi Unlock Tool will tell you to wait 7 days
Unplug your phone, boot it and use it normally until the 7 days are over, HOWEVER, don't logout from the xiaomi account in the phone if you don't want to wait another 7 days.
When the 7 days are over, repeat step 6 & 7
Second, boot twrp
Third, flash the magisk apk (from its github) using twrp
Forth, Safetynet
In Magisk App
Enable Zygisk
Enable Enforce DenyList
In Configure DenyList
Select Google Play Services and enable gms and gms.unstable
Download and flash Safetynet Fix (Zygisk Version)
Force Close, Clear Data and Uninstall Updates from Google Play Store app then update it again and use it normally
Reboot
If any app didnt work because of root, Hide it in Denylist
Done
Another method for rooting without booting twrp and rest of it is to extract the boot image from rom payload.bin using pc and copy it to phone storage. Then install magisk apk normally. Patch boot image with magisk and flash new boot image to boot partition with adb on pc. Done.
@3zozHashim
thanks will reply again once my 7 day waiting period is done and successfully unlocked.
where to i get twrp?
is it possible to root an unlocked phone but keep data? im having second thoughts on rooting so might want to hold it off
You will loose all data when unlocking the bootloader.
When rooting the phone, you will not loose data.
I use fastboot instead of TRWP for rooting :
install Magisk apk like an app
then extract the boot.img from your current MIUI version: https://xiaomifirmwareupdater.com/miui/alioth/
use the "fastboot" image and unzip it, you will find the boot.img inside.
if the fastboot image is not available, you can use the "recovery" image and extract its content with payload-dumper-go for example
copy the boot img to your phone and patch the extracted boot.img on your phone within Magisk app : Magisk -> Install and follow instructions
copy the patched_boot.img back to your PC or Mac and flash the patched_boot.img to both partitions on your phone with fastboot
Code:
fastboot flash boot_a patched_boot.img
fastboot flash boot_b patched_boot.img
anthony001 said:
@3zozHashim
thanks will reply again once my 7 day waiting period is done and successfully unlocked.
where to i get twrp?
is it possible to root an unlocked phone but keep data? im having second thoughts on rooting so might want to hold it off
Click to expand...
Click to collapse
unlocking your bootloader wipes data
rooting does not wipe data
official twrp from twrp.me
unofficial twrp
Downloading • AKR DL
3zozHashim said:
First, you'll need to unlock your bootloader
Now this is the long boring part:
...
Click to expand...
Click to collapse
Very nice and comprehensive guide! Thank you for the effort!
A question, since there a many different how to root in this forum and i get confused. (My phone is in the waiting time for bootloader unlock.)
If i can install magisk.apk like an app, i can select the "Direct Install (recommemded)" method (as recommended in another thread https://forum.xda-developers.com/t/twrp-root.4328611/post-86055651), why do i need twrp?
Or can i just install magisk through twrp?
flashlight06 said:
A question, since there a many different how to root in this forum and i get confused. (My phone is in the waiting time for bootloader unlock.)
If i can install magisk.apk like an app, i can select the "Direct Install (recommemded)" method (as recommended in another thread https://forum.xda-developers.com/t/twrp-root.4328611/post-86055651), why do i need twrp?
Or can i just install magisk through twrp?
Click to expand...
Click to collapse
direct install will only work if you are already rooted
The only two options are :-
TWRP flash magisk.apk
Select and Patch boot.img
extract boot.img using twrp or downloading the stock rom of your current stock rom version and extracting boot.img from it
side note:- you can use twrp to root but not flash twrp itself, therefore retain your stock recovery
Munchy search him on pooTube GL
flashlight06 said:
A question, since there a many different how to root in this forum and i get confused. (My phone is in the waiting time for bootloader unlock.)
If i can install magisk.apk like an app, i can select the "Direct Install (recommemded)" method (as recommended in another thread https://forum.xda-developers.com/t/twrp-root.4328611/post-86055651), why do i need twrp?
Or can i just install magisk through twrp?
Click to expand...
Click to collapse
Yes, you can rename the Magisk.apk into Magisk.zip, because it's also a flashable ZIP.
Boot TWRP (no need to install it), and install Magisk.zip.
cyanGalaxy said:
Yes, you can rename the Magisk.apk into Magisk.zip, because it's also a flashable ZIP.
Boot TWRP (no need to install it), and install Magisk.zip.
Click to expand...
Click to collapse
you dont need to rename magisk.apk to magisk.zip to flash it with twrp
3zozHashim said:
First, you'll need to unlock your bootloader
Now this is the long boring part:
Unlocking your bootloader will wipe your data
You'll need a xiaomi account
Go to Developer options
Allow OEM Unlocking
Allow USB Debugging
Allow Install via USB
Allow USB Debugging (Security Settings)
(The previous two bullets are just incase)
Go to Mi Unlock Status and click "Add account and device"
Download Mi Unlock Tool
Using Mi Unlock Tool, install drivers (from the small settings button on the top right corner)
Log in to your xiaomi account in the Mi Unlock Tool
Boot your phone in fastboot mode and connect it to your PC
In the Mi Unlock Tool, Click unlock
The Mi Unlock Tool will tell you to wait 7 days
Unplug your phone, boot it and use it normally until the 7 days are over, HOWEVER, don't logout from the xiaomi account in the phone if you don't want to wait another 7 days.
When the 7 days are over, repeat step 6 & 7
Second, boot twrp
Third, flash the magisk apk (from its github) using twrp
Forth, Safetynet
In Magisk App
Enable Zygisk
Enable Enforce DenyList
In Configure DenyList
Select Google Play Services and enable gms and gms.unstable
Download and flash Safetynet Fix (Zygisk Version)
Force Close, Clear Data and Uninstall Updates from Google Play Store app then update it again and use it normally
Reboot
If any app didnt work because of root, Hide it in Denylist
Done
Click to expand...
Click to collapse
so i have booted to twrp. i havent done magisk yet. should i install custom rom now or after i install magisk? how do you install a custom rom? can you also guide me on installing custom rom. ive already chosen crdroid as my custom rom
also is there a way to install gapps on crdroid 8 which i think uses android 12?
anthony001 said:
so i have booted to twrp. i havent done magisk yet. should i install custom rom now or after i install magisk? how do you install a custom rom? can you also guide me on installing custom rom. ive already chosen crdroid as my custom rom
also is there a way to install gapps on crdroid 8 which i think uses android 12?
Click to expand...
Click to collapse
every custom rom has its installation guide and gapps preferences, consult the crdroid thread
anthony001 said:
so i have booted to twrp. i havent done magisk yet. should i install custom rom now or after i install magisk? how do you install a custom rom? can you also guide me on installing custom rom. ive already chosen crdroid as my custom rom
also is there a way to install gapps on crdroid 8 which i think uses android 12?
Click to expand...
Click to collapse
Yup, as the other person said, depends on your choice of Custom ROM. Also, always Magisk AFTER installing a ROM.
I recommend checking out the YouTuber "Munchy", he does great videos on how to do any thing in regards to Xiaomi Phones. Even crDroid ^^
When you flash Magisk, enable Zygisk and install the Magisk Module "SafetyNet-Fix" from GitHub.
This is so that Google SafetyNet will pass, and you're able to use Payment Apps, Netflix etc..

Categories

Resources