Best Way To root ? - Redmi Note 9S / Note 9 Pro (Indian Model) Question

Hello, I just got my Redmi Note 9 pro And i want to root! I've rooted my samsung note 4 and s3 before. I don't want to use a custom recovery i don't want a custom rom. and i want to keep geting updates if possiable.

https://forum.xda-developers.com/redmi-note-9-pro/development/gsi-t4105121

kalehrl said:
https://forum.xda-developers.com/redmi-note-9-pro/development/gsi-t4105121
Click to expand...
Click to collapse
I don't want to install a rom i want to keep miui

At the beginning of the instructions there is a short description how to root.

So, I'm Kinda Confused "If you want to root then copy the stock boot from the latest stock rom into internal and use magisk to patch it, then flash the patched boot in bootloader (fastboot flash boot patched_boot.img)"
So i take the miui boot and flash it after i installed this rom and restore a backup without restoring the boot.img ?

and we don't get updates foing that (we don't get updates when we unlock bootloader but why ? ) I Guess we just gotta accept the L here

Cilekcigs said:
and we don't get updates foing that (we don't get updates when we unlock bootloader but why ? ) I Guess we just gotta accept the L here
Click to expand...
Click to collapse
With unlocked bootloader and root you will still get OTA Updates with Miui, you just need to root again after installing the update.

Cilekcigs said:
So, I'm Kinda Confused "If you want to root then copy the stock boot from the latest stock rom into internal and use magisk to patch it, then flash the patched boot in bootloader (fastboot flash boot patched_boot.img)"
So i take the miui boot and flash it after i installed this rom and restore a backup without restoring the boot.img ?
Click to expand...
Click to collapse
You don't have to install custom ROM to get root. If you are currently on MIUI 11.0.10, you download that exact ROM, unpack it and copy boot.img to your phone. Then you install Magisk manager and use it to patch boot.img. You will get a patched boot.img which you flash in fastboot.

Ok, Is there a way to backup 'cause it says "Unlock will erase user data"
EDIT: OK I found a way to backup using MIAssistant
EDIT 2: MIAssistant is outdated any way to backup ?

I don't know. I didn't have anything important to backup.

kalehrl said:
I don't know. I didn't have anything important to backup.
Click to expand...
Click to collapse
Ok I found that you can local backup from settings but what I'm worried is losing my efs partition hope it goes right I have joyuse (9 pro)

I have 9s and all went fine.
However, I installed the custom ROM from that thread and root as well.

Now, I have to wait 168 hours (one week) to unlock

That's normal but annoying.

Yea BUT *sniff* BUT *sniff* *sniff* WHY
(ded meme)
EDIT:. BTW what does oem unlocking in developer setting mean ?
And thanks a lot man I couldn't have done this without you.

Enable it to be on the safe side when you apply for unlocking even though I don't think it's necessary for official Xiaomi unlocking. I think it's for unofficial unlocking 'oem-unlock go' which I don't think works.

Is there Twrp For joyuse (9 pro ?) i searched the fornm and i couldn't find it.
The Only One i could find was https://forum.xda-developers.com/re...nt/recovery-unofficial-pbrp-recovery-t4137753
And is this what you exactly mean ? https://forum.xda-developers.com/re.../how-to-unlock-root-redmi-9-9s-9-pro-t4108913

Cilekcigs said:
Ok, Is there a way to backup 'cause it says "Unlock will erase user data"
EDIT: OK I found a way to backup using MIAssistant
EDIT 2: MIAssistant is outdated any way to backup ?
Click to expand...
Click to collapse
Just transfer the files you want to backup from your phone to PC and later copy back. Apps, SMS, call log, wifi passwords etc. are backed up to your Google account (if you have enabled backup/restore), you can backup some extra stuff in MiCloud too (I don't use it, don't wanna give em my data lol, it's enough that google has it).
FYI local backup will get wiped after unlocking.

I'd recommend you stay away from TWRP because there is no official version and it's unstable. I've read reports of people bricking their devices and losing widevine L1 after installing it. Just use Xiaomi's recovery and fastboot because they're enough for both rooting and installing custom ROMs.

manpildo said:
Just transfer the files you want to backup from your phone to PC and later copy back. Apps, SMS, call log, wifi passwords etc. are backed up to your Google account (if you have enabled backup/restore), you can backup some extra stuff in MiCloud too (I don't use it, don't wanna give em my data lol, it's enough that google has it).
FYI local backup will get wiped after unlocking.
Click to expand...
Click to collapse
No i just want to make sure i don't lose my efs

Related

[Q] Installing CM-10.2 Android-4.3

Hey guys, I've rooted, installed CWM Recovery, Unlocked Bootloader, and installed CyanogenMod on another phone before.
The thing is, I've had this phone for about 6 months and wanted to do the same. However, after browsing through the forums, man are there a lot of scary sh*t going down. I would like the request the procedure to install CyanogenMod safely, without losing any Keys/IMEI/XReality/DRMkeys/Etcetera.
I dont know if the method given by FXP is supposed to be this straight forward, but I too like others, do not want to risk losing important stuff if it can be avoided (Keys/IMEI/XReality/DRMkeys/Etcetera).
HOWTO
Install instructions:
first time
- power off the phone:
- hold vol+ and plug usb to boot into fastboot (blu led)
- fastboot flash boot boot.img (from cm10 zip)
- fastboot reboot
- enter recovery, on boot led will be violet for 3'', during this period press vol+
- flash rom zip
- flash gapps zip
- wipe
- reboot
for update just flash rom zip from recovery
Google Apps are not included in this ROM. You'll need to find those yourself if you want them.
Click to expand...
Click to collapse
Frankly speaking, the forums is pretty much jumbled up, and the existing [Guide] Threads are either incomplete (Lacking important steps), or Unclear (Non-Specific steps).
Perhaps someone could do me a favour by using the template that I have below to help me, and possibly others, to install CM 10.2 on our beast of a phone.
Template:
1. Backup TA and DRMkeys and stuff: http://forum-xda-developers-com/backup
2. Root: http://forum-xda-developers-com/root
3. Recovery : http://forum-xda-developers-com/recovery
4: Unlock Bootloader: http://forum-xda-developers-com/ulbl
5: Install FXP's CM 10.2 :http://forum.xda-developers.com/showthread.php?t=2461286
Something like that would suffice I think, as long as no important steps are missing that would cause me to lose stuff unique to my phone, that cannot be recovered if I didn't back it up.
P.S. My version is 14.1.B.2.257
P.P.S. Thank you in advance.
1. Root
2. Backup TA (VERY IMPORTANT)
3. Install Recovery and unlock the bootloader, or the other way around. Both ways work.
4. Install ROM by following the "guide" that you quoted above.
Sent from my C6833 using Tapatalk
I'm on 14.1.B.2.257, I believe reverting to the previous version causes data to be lost unless you back it up right. *Sighs* How troublesome.
Xenogenics said:
I'm on 14.1.B.2.257, I believe reverting to the previous version causes data to be lost unless you back it up right. *Sighs* How troublesome.
Click to expand...
Click to collapse
you will have to back up the data anyways. I think unlocking the bootloader does a factory reset, as well one is needed going from stock to CM if i unforget correctly
I am also wondering about this. I'm currently running firmware .257.
I understand that I need to back up the TA partition first (though I'm not exactly sure on what I will loose if I don't). I also understand that to do this I need to root the stock rom. I understand that in order to root, I'll need to first downgrade to an earlier firmware using flashtool. However, after that I'm not so sure what I need to do. As far as I can see, the only method of gaining root currently is to use vRoot, which is currently under investigation for IMEI mining.
How else can I root the device? I was thinking of maybe using the recovery for locked bootloaders here: http://forum.xda-developers.com/showthread.php?t=2426739
Following by flashing SuperSU from recovery as per usual.
Will this work, keeping the TA partition intact so that I can back it up before flashing CM? Assuming so, would I even need to downgrade from the .257 firmware at all?
Thanks,
i have CWM now so can flash custom roms like i did on other phones right?
what does unlocking the bootloader give me? unless i'm wrong and i have to unlock to flash?
all i've done so far is do a backup is all. (did a TA backup a while back though)
stiggy2012 said:
I am also wondering about this. I'm currently running firmware .257.
I understand that I need to back up the TA partition first (though I'm not exactly sure on what I will loose if I don't). I also understand that to do this I need to root the stock rom. I understand that in order to root, I'll need to first downgrade to an earlier firmware using flashtool. However, after that I'm not so sure what I need to do. As far as I can see, the only method of gaining root currently is to use vRoot, which is currently under investigation for IMEI mining.
How else can I root the device? I was thinking of maybe using the recovery for locked bootloaders here: http://forum.xda-developers.com/showthread.php?t=2426739
Following by flashing SuperSU from recovery as per usual.
Will this work, keeping the TA partition intact so that I can back it up before flashing CM? Assuming so, would I even need to downgrade from the .257 firmware at all?
Thanks,
Click to expand...
Click to collapse
OK, so looking into this further, you already need to have root to be able to flash the "CWM for locked bootloader" rocovery. So as far as I can see, the only way to get root in order to back up the TA partition is to give your IMEI to the Chinese via vRoot?
Thank god the stock rom is so good.
tommo123 said:
i have CWM now so can flash custom roms like i did on other phones right?
what does unlocking the bootloader give me? unless i'm wrong and i have to unlock to flash?
all i've done so far is do a backup is all. (did a TA backup a while back though)
Click to expand...
Click to collapse
You have to unlock the bootloader to flash custom ROMs. You can flash stock ROMs without unlocking it, but you have to unlock it if you want CM, PAC, PA etc.
Sent from my C6833 using Tapatalk
really, so what would happen if i tried to flash an aosp rom now? would the system partition essentially be read only?
sorry for the Qs but haven't had a locked bootloader since the htc desire (although the s-off for that one was to remap the partitions to allow more room for data) and the reasons for unlocking don't seem to be the same.
tommo123 said:
really, so what would happen if i tried to flash an aosp rom now? would the system partition essentially be read only?
sorry for the Qs but haven't had a locked bootloader since the htc desire (although the s-off for that one was to remap the partitions to allow more room for data) and the reasons for unlocking don't seem to be the same.
Click to expand...
Click to collapse
Nothing will happen if you try it now. You can easily unlock the bootloader by going to Sony's Dev site, request your key and use Flashtool to unlock it. It takes a couple of minutes once you have Flashtool and the drivers installed. It's also perfectly safe to unlock it and you will lose your warranty. BUT you can easily relock it again if something happens to your ZU and the warrenty will be back.
Remember to backup your TA before you unlock your bootloader. It contains a lot if device info and your unique DRM keys. Unlocking the bootloader will wipe the system partition, but you will still have root, photos, music etc. (But do a backup of those just in case).
Sent from my C6833 using Tapatalk
i think that's where i got confused with drivers - unlocking.
i have already done a backup of my TA part so that side of it is ok. i'll leave unlocking until there's a rom i want to try. possibly a complete 4.4 or something.
cheers LM
tommo123 said:
i think that's where i got confused with drivers - unlocking.
i have already done a backup of my TA part so that side of it is ok. i'll leave unlocking until there's a rom i want to try. possibly a complete 4.4 or something.
cheers LM
Click to expand...
Click to collapse
If you've already backed up your TA, it means that you have the drivers installed, so job done All you have to do is to install Flashtool and get your key from Sony (which you will get on your email straight away). Either way, just ask here if/when you want to unlock it so we can guide you through it (it's very easy though).
ran flashtool but gave me driver errors - missing. unable to install the drivers included (i guess due to windows 8 driver signing)

Revert back to MIUI from CM13 if I haven't made any backup

So I flashed the first chinese CM13 build with fingerprint when there was no information about locking bootloader and about making a backup to restore, so I want to go back to MIUI but I don't have any backup to retore so I don't know how to do it, If anyone could tell me and the rest of the people that have done the same as me it would be so thankful.
bornthisjesus said:
So I flashed the first chinese CM13 build with fingerprint when there was no information about locking bootloader and about making a backup to restore, so I want to go back to MIUI but I don't have any backup to retore so I don't know how to do it, If anyone could tell me and the rest of the people that have done the same as me it would be so thankful.
Click to expand...
Click to collapse
just go to bootloader unlocked tutorial[not by mi provided offical tool] and flashed miui
First off, this is not the right forum to ask this questions. Second, if you didn’t make EFS backup I don’t think you can make phone calls, send/receive texts or use mobile data in the official MIUI any longer (someone correct me if I am wrong). You can either try a leaked and unstable MIUI (search for it in the forums) or use some new ROM with fingerprint support on this forum (Santhosh’s CM13, ROMs by Siddhesh.K15 and some others). If you are determined to use MIUI you will have to wait until Xiaomi releases an official marshmallow version.
Filip013 said:
First off, this is not the right forum to ask this questions. Second, if you didn’t make EFS backup I don’t think you can make phone calls, send/receive texts or use mobile data in the official MIUI any longer (someone correct me if I am wrong). You can either try a leaked and unstable MIUI (search for it in the forums) or use some new ROM with fingerprint support on this forum (Santhosh’s CM13, ROMs by Siddhesh.K15 and some others). If you are determined to use MIUI you will have to wait until Xiaomi releases an official marshmallow version.
Click to expand...
Click to collapse
I do have an EFS backup, it's the only one I have, not for the rest of partitions
bornthisjesus said:
I do have an EFS backup, it's the only one I have, not for the rest of partitions
Click to expand...
Click to collapse
Then you’ll be fine. If you unlocked officially, you can’t go wrong.
Filip013 said:
Then you’ll be fine. If you unlocked officially, you can’t go wrong.
Click to expand...
Click to collapse
I unlocked unofficially and after instaling CM13 everytime I want to unlock bootloader with Mi Unlock it gets stuck at 50%
bornthisjesus said:
I unlocked unofficially and after instaling CM13 everytime I want to unlock bootloader with Mi Unlock it gets stuck at 50%
Click to expand...
Click to collapse
Same with me
bornthisjesus said:
I unlocked unofficially and after instaling CM13 everytime I want to unlock bootloader with Mi Unlock it gets stuck at 50%
Click to expand...
Click to collapse
Hmm... Not sure exactly what tutorial @sankhauaa is referring to, but if you just flash any official fastboot, you’ll be fine. Of course in order to restore phone features you will have to install TWRP.
I hardbricked the phone after installing cm13, boot edl and flash fastboot rom, this is the way i've used and phone booted
Sent from my Redmi Note 3 using Tapatalk
I didn't make a backup. I flashed back to global stable 7.3.2.0. Then I went to the fastboot mode and unlocked my bootloader again. The phone worked fine with all phone calls, etc working
Filip013 said:
Hmm... Not sure exactly what tutorial @sankhauaa is referring to, but if you just flash any official fastboot, you’ll be fine. Of course in order to restore phone features you will have to install TWRP.
Click to expand...
Click to collapse
For revert back to miui follow thishttp://forum.xda-developers.com/redmi-note-3/how-to/unlock-bootloader-twrp-root-7-2-3-t3359492

Used guide to update to Pie but still encrypted

I used all files just didn't wipe data as I just wanted to upgrade so I didnt have to redo everything. But I figured I would now just backup and restore after the wipe with LG Switch but it is locking up whenever I click on start and is still locked up after 15minutes. Is there anything that can backup all installed programs along with all settings like LG Switch does?
akira022 said:
USED GUIDE TO UPDATE TO PIE BUT STILL ENCRYPTED
I used all files just didn't wipe data as I just wanted to upgrade so I didnt have to redo everything. But I figured I would now just backup and restore after the wipe with LG Switch but it is locking up whenever I click on start and is still locked up after 15minutes. Is there anything that can backup all installed programs along with all settings like LG Switch does?
Click to expand...
Click to collapse
Please clarify.
What variant do you have?
WHAT guide did you use?
Did you flash with Dev Patched LGUP? Did you use Partition DL mode, Refurbish mode, or Upgrade mode?
What do you mean "I used all files"? That sounds like you used Partition DL mode.
Are you bootloader unlocked and had TWRP? If so you need to follow the guide to re-install TWRP on PIE and root. You need to flash the newer encryption disabler and root check remover files we have for Pie.
If you're not bootloader unlocked, please confirm that also. Because Pie encryption only matters if you are bootloader unlocked and have TWRP installed...
Sorry I used this guide for the T-Mobile phone. I had magisk and twrp working just fine with oreo but got a stupid nag for me to update every other day so just had enough with it and updated it. Everything works ok just lg backup freezes when I try to backup and when I boot to twrp it asks for pass.
here is the guide I followed
akira022 said:
Sorry I used this guide for the T-Mobile phone. I had magisk and twrp working just fine with oreo but got a stupid nag for me to update every other day so just had enough with it and updated it. Everything works ok just lg backup freezes when I try to backup and when I boot to twrp it asks for pass.
here is the guide I followed
Click to expand...
Click to collapse
See post # 5 of that T-MOBILE H932 TWRP flashable zip thread.
https://forum.xda-developers.com/showpost.php?p=80483817&postcount=5
Written specifically for people who have problems dirty flashing.
You will need to format data, and flash those two files in certain order. See that post for Instructions.
Thank you, I will be doing this.

Question Mix 4 CN Rom To EU Rom questions..

Hi all, have a few questions that might seem daft to some but need to get my head around it.
I have my Mix 4 and its obviously running the CN Rom. It is littered with bugs and there are many features that do not work or just missing, to the point where i could not use it as my daily driver in its current form.
Ive been reading up on flashing the EU Odin rom, and see alot of the issues are already fixed in it.
So after 4 hours of faffing i have managed to request a bootloader unlock. and i understand this will be a full wipe and reinstall.
This is my first question 8 days wait!
1: how do I keep an eye on the time left?
2: I have what i think are all the files ready to go to flash, but i understand this is done through fastboot?
3: So no OTA updates after this i would have to keep reflashing manually.?
4: I here something about TWRP that would enable this, but dont quite understand the process, or where do the updates then come from?
5: Are there any security issues like running Banking applications after unlocking, as i think it plays with security issues.
Hope someone with better understanding can help.
Hi...
1) I use my calendar to see when the time is right to resume the unlocking process
2) there's tutorial for this ...
[ROM][MIUI][odin] Xiaomi.eu ROM for Xiaomi MIX 4
How to install Xiaomi.eu ROM for Xiaomi MIX 4 We will release fastboot ROM versions until TWRP for odin is released Steps to install xiaomi.eu ROM for first time from China ROM (All your data and files on internal storage will be deleted!) -...
forum.xda-developers.com
3) yes... no OTAs from within the system, but ...
4) with TWRP you can flash the updates. You need to check,if the update-files are marked 'fastboot' or 'recovery'(TWRP)
5) Can't answer that one.
Good Luck.
Ok thanks for your help, still deciding to take the plunge or not, expensive bit of kit. Awhile to decide i guess.
so sorry another question, if we do this one withough twrp, can we just updat or is it a complete flash again?
jrvenge said:
so sorry another question, if we do this one withough twrp, can we just updat or is it a complete flash again?
Click to expand...
Click to collapse
Updating through TWRP should leave your apps and data intact.
Edit:It was way to early to answer the question... without twrp, only fastboot is possible as far as i know. When i used fastboot, i made a complete clean flash.
So once you have done it through fastboot you can use TWRP thereafter, thats cool.
I believe a CN to EU is a data wipe anyway.
jrvenge said:
So once you have done it through fastboot you can use TWRP thereafter, thats cool.
I believe a CN to EU is a data wipe anyway.
Click to expand...
Click to collapse
If you have TWRP available...
Ok guys managed to unlock my phone and flash the rom, all seemed ok untill it started updating my apps, and then gets stuck on app 8 of 144 and just will never progress?.
It seems i have somehow flashed a slightly older rom, so going to reflash with the latest, but i dont want to do fastboot again as i have to keep manually updating, is there a twrp yet?
jrvenge said:
Ok guys managed to unlock my phone and flash the rom, all seemed ok untill it started updating my apps, and then gets stuck on app 8 of 144 and just will never progress?.
It seems i have somehow flashed a slightly older rom, so going to reflash with the latest, but i dont want to do fastboot again as i have to keep manually updating, is there a twrp yet?
Click to expand...
Click to collapse
Did you follow ALL instructions of the tutorial? How exactly did you proceed?
I think I accidentally tried to restore a google backup from my old phone, guess there was an app it didnt like, anyway reflashed to 21.9.8 and all is going well, amazing improvement over the original. very pleased.
Been having a play and only found 1 issue as yet, when you lock an open app in recents, you can still swipe it away?.
jrvenge said:
I think I accidentally tried to restore a google backup from my old phone, guess there was an app it didnt like, anyway reflashed to 21.9.8 and all is going well, amazing improvement over the original. very pleased.
Been having a play and only found 1 issue as yet, when you lock an open app in recents, you can still swipe it away?.
Click to expand...
Click to collapse
Does google pay nfc work? And banking apps?
All work ok for me.
jrvenge said:
All work ok for me.
Click to expand...
Click to collapse
Thanks for replying. Did you have to do anything special like Magisk hide to hide that you rooted the phone?
Im not rooted, just running custom rom. I have no need to root.
What if I want to go from EU to CN? Bought the phone. It came with EU rom. But I would like to install the official rom.

Alright I've received the email to unlock the bootloader now I have some questions before using it..

Alright, I've received the email as the title implies but here are the questions I have before I proceed into the whole process
Is there a way to backup the stock image without TWRP? if so how do you get the stock image backed up if it's impossible how to back up the stock bootlover/recovery before installing TWRP if I were to get rid of TWRP one day?
also is it possible to just root the system without flashing anything to avoid data loss? this would be the preferred option actually, thanks! (Using the be2028 t-mobile version, if there's a premade backup that'll be cool too.)
animenote said:
Alright, I've received the email as the title implies but here are the questions I have before I proceed into the whole process
Is there a way to backup the stock image without TWRP? if so how do you get the stock image backed up if it's impossible how to back up the stock bootlover/recovery before installing TWRP if I were to get rid of TWRP one day?
also is it possible to just root the system without flashing anything to avoid data loss? this would be the preferred option actually, thanks! (Using the be2028 t-mobile version, if there's a premade backup that'll be cool too.)
Click to expand...
Click to collapse
I am just getting back to messing around with phones after about 5 years. So many things have changed and I am trying to get answers here as well.
I used TWRP and Magisk to root my phone. Installing TWRP will not wipe your data as it is flashed to a different partition but to install TWRP you have to unlock the bootloader and that will wipe your userdata. And no, I don't believe there is any possibility of rooting without unlocking the bootloader. If you decide you want to go back to stock, there are stock roms available and you can re-lock the bootloader on the N10 so you should be able to set it back to just like it was when you first bought it. I say should because I have never done it, just read that it can be done when I unlocked and flashed mine.
I wish I could be of more help but so many things have changed in the years since I've been away from doing this stuff I feel like a total noob again.
animenote said:
Alright, I've received the email as the title implies but here are the questions I have before I proceed into the whole process
Is there a way to backup the stock image without TWRP? if so how do you get the stock image backed up if it's impossible how to back up the stock bootlover/recovery before installing TWRP if I were to get rid of TWRP one day?
also is it possible to just root the system without flashing anything to avoid data loss? this would be the preferred option actually, thanks! (Using the be2028 t-mobile version, if there's a premade backup that'll be cool too.)
Click to expand...
Click to collapse
No I do not believe there's a way to gain root without flashing anything. There's no need to backup anything you can always use the MSM download tool to restore your device. https://forum.xda-developers.com/t/...l-to-restore-your-device-to-oxygenos.4204445/ You should be able to find most of the stock imgs on here already if you'd really need to flash back. I'm no expert either, just my experience with this phone in particular has been pretty straightforward. I never backed up anything lol.
Twrp is iffy i made a backup I'll never use, check out the post about flashing international rom to tmo and metro devices, that's my backup. Also you can run 11.0.3/2 firmware and boot 11 gsi's the post about lir rom has the info. Flash the product_gsi.img referenced there, I have never deleted my product partition and I only leave oos ten installed long enough to take ota's. There are more roms in the source forge page referenced with lir rom post. Flash magisk via recovery, either side load or twrp, pay attention that it flashes partition sda14(super image) or wifi breaks.

Categories

Resources