How do I root Xiaomi mi4i - Xiaomi Mi 4i

Hi everyone, I recently got a xiaomi mi4i and I want to install cyanogenmod 12.1.
For that, I need to root y phone.
Can you help me plz?

I rooted my v6 and 7.0 successfully.
See here: http://forum.xda-developers.com/mi-4i/development/tool-mi-toolkit-v4-root-twrp-stock-t3170607
Not sure about the latest V7.1 as I am reluctant to update - why mess with something that works well enough...

Toolkit v4 does work on 7.1

Updated to 7.1.1 (OTA)
This one doesn't work for rooting:
http://forum.xda-developers.com/mi-4i/development/tool-mi-toolkit-v4-root-twrp-stock-t3170607
This one works, after rebooting twice:
http://androidmtk.com/root-xiaomi-mi4i
[note: it doesn't have recovery, but my recovery from previous root was intact. anyway it is easy to re-flash recovery if I need to]

anyone tried on latest 7.2.3?

Fastboot flash TWRP recovery and flash supersu zip via TWRP

For locked BL?

I can't download fastboot and adb drivers. And TWRP....

Activate fastboot in developer options.

How to chance IOS value of mi4i

Related

[Q] Rooting OnePlus One on CM 12 using Mac

I was able to root the OnePlus One when it was on Cyanogenmod 11. I installed TWRP and rooted the phone too. I had disabled the update Cyanogen recovery.
However after an OTA (to CM 12 and Android 5.0.2), I am not able to root the phone. I am able to install TWRP but when I reboot into recovery it's Cyanogen recovery. I have disabled the update Cyanogen recovery.
I followed this great video for rooting and unlocking the bootloader - Video on YouTube /watch?v=jwZYEyf4I40
I need to root using a Mac. Tips please.
Thanks in advance.
Just flash TWRP using adb fastboot. There are instructions on how to setup ADB on mac. The bootloader is still unlocked flashing via adb will still work.
Once TWRP is flashed, install the SuperSU zip and you will be set.
onesandzeroes said:
I was able to root the OnePlus One when it was on Cyanogenmod 11. I installed TWRP and rooted the phone too. I had disabled the update Cyanogen recovery.
However after an OTA (to CM 12 and Android 5.0.2), I am not able to root the phone. I am able to install TWRP but when I reboot into recovery it's Cyanogen recovery. I have disabled the update Cyanogen recovery.
I followed this great video for rooting and unlocking the bootloader - Video on YouTube /watch?v=jwZYEyf4I40
I need to root using a Mac. Tips please.
Thanks in advance.
Click to expand...
Click to collapse
There's nothing specific to the Mac that you need to know. But this question has been asked and answered dozens of times, the search feature is a powerful tool if you use it. The answer is in my guide thead:
http://forum.xda-developers.com/showthread.php?t=2839471
And it's in the FAQ thread:
http://forum.xda-developers.com/oneplus-one/help/faq-oneplus-one-frequently-questions-t2895136
PS. There's a q&a section here for questions, I'm going to request that this thread be moved there for you. But now you know where it is for future.

magisk problem

Have now done the following .
1. Cell unroot per SuperSU ( If only a short note, then the app closed )
2. boot into TWRP manually and flashed Magisk - v6
3. next phh 's systemless superuser ) with Super SU magisk version already tried )
4. Mobile launched new
5. After that, it will not boot - When loading only the LED that flashes red and I have to flash a new firmware ...
Anyone know what I'm doing wrong ?
Have a Sony Xperia Z3 D6603
gerooted and SuperSU ( 2.78 )
TWRP 3.0.2-0
Rom : PureX v5 ( Android 6.0.1 - 23.5.A.1.291 )
Locked Blootloader
would be great if he had a solution for me ...
smellz said:
Have now done the following .
1. Cell unroot per SuperSU ( If only a short note, then the app closed )
2. boot into TWRP manually and flashed Magisk - v6
3. next phh 's systemless superuser ) with Super SU magisk version already tried )
4. Mobile launched new
5. After that, it will not boot - When loading only the LED that flashes red and I have to flash a new firmware ...
Anyone know what I'm doing wrong ?
Have a Sony Xperia Z3 D6603
gerooted and SuperSU ( 2.78 )
TWRP 3.0.2-0
Rom : PureX v5 ( Android 6.0.1 - 23.5.A.1.291 )
Locked Blootloader
would be great if he had a solution for me ...
Click to expand...
Click to collapse
I had the same, but maybe the SU can't uninstall. I'm on existenz Rom...
Don't you need an unlocked bootloader?
Sent from my D6633 using Tapatalk
at magisk was nothing about it because that an unlocked bootloader is required.
Yes unlocked Bootloader is required. My Bootloader is unlocked. But can't delete the superuser.apk. That's bad
Exactly the same happened to me. I tried SLiMM 3.1 and PureX V5. After installing Magisk in TWRP device is like dead - only led flashes. If I used Elite kernel, system boots, but the system gets random restarts. Now flashing eXistenZ.
Maybe cause you need to be on stock rom and stock kernel
I use the stock kernel with custom Rom based on the latest official version
Got same issue when using stock kernel on my Xperia Z2, switched to Advanced stock kernel Marshmallow 6.0.1 'cause it has Systemless root support and SElinux permissive and now everything works.
I have try it again, with unroot and install Magisk. Now it works with the advanced stock kernel. But I have some reboots when root is enabled.
Hi All,
I have the same problem, I can see S1 /SOMC Flash Device in Device Manager.
Could someone please post step by step instructions to restore a to Marshmellow?
Will I have to download an Image and a Flashtool?
I have D6603 with TWRP, I am not able to boot to recovery.
Z3- said:
Hi All,
I have the same problem, I can see S1 /SOMC Flash Device in Device Manager.
Could someone please post step by step instructions to restore a to Marshmellow?
Will I have to download an Image and a Flashtool?
I have D6603 with TWRP, I am not able to boot to recovery.
Click to expand...
Click to collapse
Resolved using Emma. I installed the S1 SOMC Flash Device Drivers and I was able to download lollypop.
I will attempt now to reinstall recovery, new rom, and Magisk

NO Root

Hey there,
I installed the news Nougat update through Huawei. Phone was never unlocked.
NXT-L29C432B560
Since I wanted to try the new Google assistent, I follow this tutorial
[TOOL] SRK Tool Huawei Bootloader/ROOT/Recovery/Backup/Utility (STABLE - 20161002)
Unlocking the bootloader worked fine.
When I came to the point to install the TWRP, I installed a different TWRP "[Unofficial] TWRP 3.0.3-0 Mate 8", since the SRK Tool only had EMUI 4.0 and 4.1 TWRP versions ready.
First question: Was that correct to do? I tried the one for EMUI 4.1 and 3.0.2-0 as well. But they were not able to boot.
Also rooting does not work as I get the error from TWRP "could not mount \data...."
What am I doing wrong?
realkibou said:
Hey there,
I installed the news Nougat update through Huawei. Phone was never unlocked.
NXT-L29C432B560
Since I wanted to try the new Google assistent, I follow this tutorial
[TOOL] SRK Tool Huawei Bootloader/ROOT/Recovery/Backup/Utility (STABLE - 20161002)
Unlocking the bootloader worked fine.
When I came to the point to install the TWRP, I installed a different TWRP "[Unofficial] TWRP 3.0.3-0 Mate 8", since the SRK Tool only had EMUI 4.0 and 4.1 TWRP versions ready.
First question: Was that correct to do? I tried the one for EMUI 4.1 and 3.0.2-0 as well. But they were not able to boot.
Also rooting does not work as I get the error from TWRP "could not mount \data...."
What am I doing wrong?
Click to expand...
Click to collapse
I am on L09C432B560. I used twrp from
http://sillanwali.com/downloads/twrp-3.0.3.img
I got into twrp, mount system and vendor. Then I flashed patched boot from:
https://mega.nz/#!Yx4h3LwL!XNdOjpo-J...j6opIqSemyqI80
I now have full root. Remember, this might not work with your phone. You should be prepared to reflash the stock boot.img of your rom if it does not work. The kernel version of this patched boot is Dec 28 16. If the date of your current kernel is after this date, you might still have root but not all functions of the phone works.
The above link does not work. Try the link in post #3572
https://forum.xda-developers.com/mate-8/development/rom-kangvip-slim-t3318572/page358

Is it possible to pre-root a TWRP image prior to flashing it?

Hello. I'm trying to flash a TWRP custom recovery on a SM-A305G (Galaxy A30). While reading the official A30's post on the TWRP website, in order to properly flash the custom recovery, they recommend me to first root my device with Magisk (which I understand how to) but THEN flashing a pre-rooted TWRP image for my device. How could this be done?
Related link: https://twrp.me/samsung/samsunggalaxya30.html
Thanks in advance to who could answer this question. Internet hero.
Rooting Android OS is adding an user with elevated rights ( comparable to adminstrator in Windows OS ) to it, nothing else.
TWRP recovery does not require a phone's Android is rooted.
lnrdx said:
Hello. I'm trying to flash a TWRP custom recovery on a SM-A305G (Galaxy A30). While reading the official A30's post on the TWRP website, in order to properly flash the custom recovery, they recommend me to first root my device with Magisk (which I understand how to) but THEN flashing a pre-rooted TWRP image for my device. How could this be done?
Related link: https://twrp.me/samsung/samsunggalaxya30.html
Thanks in advance to who could answer this question. Internet hero.
Click to expand...
Click to collapse
That just isn't how it is done, we don't root TWRP, we root the phone's OS. There isn't anything to "root" in or about TWRP because TWRP has the power to modify a device without needing root.
It isn't required, but, it is possible to root a device and then use an app such as Rashr, Flashify or TWRP Manager along with root permissions to flash a TWRP img or even use a Terminal Emulator app with root permissions to install TWRP via dd commands. It doesn't "have" to be done this way, it's just an alternative way to achieve root and flash TWRP on devices that are capable of doing it this way, in this order, not all devices can do it this way.
I want to have Magisk AND TWRP.
I rooted the phone with Magisk and had Magisk running.
Then installed TWRP app and flashed TWRP with root permission.
Now TWRP is installed but Magisk is gone again.
How can I have BOTH?
woheller69 said:
I want to have Magisk AND TWRP.
I rooted the phone with Magisk and had Magisk running.
Then installed TWRP app and flashed TWRP with root permission.
Now TWRP is installed but Magisk is gone again.
How can I have BOTH?
Click to expand...
Click to collapse
Flash the Magisk.zip via TWRP just to be sure binaries are installed, then wipe cache and dalvik cache in TWRP then boot into system and install the Magisk Manager app(if it dosen't get installed when you flash the Magisk.zip).
Unfortunately not working.
I installed Magisk via Odin wirh a Magisk-patched stock rom ( Galaxy A10). WORKED
Then installed TWRP via Odin and got TWRP and Magisk working by immediately booting into recovery after flashing.
But then I installed the CrDroid custom rom via TWRP and now Magisk is gone.
[ROM][ARM][OFFICIAL] crDroid 8.x for Galaxy A10 [Android 12]
*** Disclaimer I am not responsible for any damage you made to your device You have been warned crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features...
forum.xda-developers.com

Question Install official RUI updates from TWRP?

So, I rooted my phone, for which I needed to unlock the bootloader and install TWRP. Now, when I want to install an update on my phone, it downloads and when I want to install it, it jumps to TWRP recovery instead of the phone's recovery, so I can't update my phone. Does anyone know how can I install the updates from TWRP?
Else, reinstall the default recovery. (Only the recovery, not the entire OS since that would un-root my phone)
Thanks.
Edit: After it boots to TWRP, it apparently tries to install the update, since I can see it on the log, but when I reboot my phone it has not installed. It errors: "E3994: This package is for "2169B" devices; this is a "". Updater process ended with ERROR: 1. Error installing zip file '/data/ota_package/OTA/.otaPackage/my_manifest_RMX3370_11.F.04_3040_202302282047.44.36402b59_all.zip'
Edit 2: After failing to install it, it prompts me to re-download it and re-install it, but it jumped from ~500MB update to 4.76GB update.
( may loose data)
I read in telegram channels, this twrp: https://www.pling.com/p/1922292 support installation latest zip. but I haven't tried.
one more thing you can do is ( may loose data)
1. restore twrp backup for recovery partition ( if you don't have backup. search recovery.img in upgrade zip )
2. reboot to recovery to check stock recovery is installed
3. install update
4. then follow steps to install twrp and magisk ( root again )
SanOne+1 said:
( may loose data)
I read in telegram channels, this twrp: https://www.pling.com/p/1922292 support installation latest zip. but I haven't tried.
one more thing you can do is ( may loose data)
1. restore twrp backup for recovery partition ( if you don't have backup. search recovery.img in upgrade zip )
2. reboot to recovery to check stock recovery is installed
3. install update
4. then follow steps to install twrp and magisk ( root again )
Click to expand...
Click to collapse
Your guide is incorrect and will definitely put the device into bootloop.
** The twrp link that you shared doesn't allow system updates to install, it is just a A13 compatable twrp recovery.
1) What if that person has not created any twrp backup of all system partitions? According to his explanation, I'm pretty sure he has not created any backup of the partitions.
2) only flashing recovery image and installing the update will again put the device into bootloop because as confirmed by the OP that his device is rooted and due to root the boot image of the device gets modified so it will put the device into bootloop.
3) unless the OP has stock boot and recovery images at his disposal he should not attempt to install the update to avoid bootloop.
** Kindly avoid sharing incorrect information you aren't sure about the correct procedure.
procedure that I follow to flash updates :
1) in magisk - uninstall magisk - restore images
2) boot device into bootloader and flash stock boot and recovery.
3) boot device and install update.
4) put device again in bootloader and flash twrp and within twrp flash magisk and reboot.
I haven't found any easier way than this. If anyone has, kindly put it below.
There's a way
Rui 4.0 Android 13 f.02
So, any verdict on this new update for the people that did update to it?
forum.xda-developers.com
Recetly I succesfully updated my Realme GT Neo 2 5G via TWRP recovery, the latest version support OTA.
Attention! After update TWPR and Magisk gone. Just reflash twrp and flash magisk normally. No need to reflash modules etc. (Just update from settings, no need to manually flash ota package from TWRP)
Hello mate can u help me with something real quick. Y are there no recent updates for gt neo 2 and if u r using a custom rom based gt neo 2 hows ur experience so far. Thanks in advance
Xemi_KryTeT.pl said:
Recetly I succesfully updated my Realme GT Neo 2 5G via TWRP recovery, the latest version support OTA.
Attention! After update TWPR and Magisk gone. Just reflash twrp and flash magisk normally. No need to reflash modules etc. (Just update from settings, no need to manually flash ota package from TWRP)
Click to expand...
Click to collapse
Which rom r u running and is it good?
Sabirsayed09 said:
Hello mate can u help me with something real quick. Y are there no recent updates for gt neo 2 and if u r using a custom rom based gt neo 2 hows ur experience so far. Thanks in advance
Which rom r u running and is it good?
Click to expand...
Click to collapse
Latest stock (4.0), I'm not going to flash custom roms for now

Categories

Resources