Going from CM13 back to MIUI Global rom w/ root - Xiaomi Redmi Note 3 Questions & Answers

Hi
I am running a CM13 Rom at the moment but want to go back to stock, I need to root it to restore apps via Titanium Backup.
As I already have TWRP installed can I just flash the stock rom via twrp then install SuperSU? or do I need to go back to stock and then create a custom image in the kitchen

mattwilkinson11 said:
Hi
I am running a CM13 Rom at the moment but want to go back to stock, I need to root it to restore apps via Titanium Backup.
As I already have TWRP installed can I just flash the stock rom via twrp then install SuperSU? or do I need to go back to stock and then create a custom image in the kitchen
Click to expand...
Click to collapse
If you have twrp, then flash the rom with it. Then supersu and allow modification to system partition. To keep twrp for future, open file manager in twrp and browse to system. Delete the file "recovery-from-boot.bak", after this your twrp will not be replaced with stock.
The only reason you need to cook custom boot image is to make sure that your twrp is not replaced with stock and at the same time without losing ota due to system modification.

WHen I swipe to install supersu it just reboots immediately and does not install it....

mattwilkinson11 said:
WHen I swipe to install supersu it just reboots immediately and does not install it....
Click to expand...
Click to collapse
Unlock your bootloader, flash twrp again. In mount, mount system and remove the "mount system as read only" check. then flash supersu.

" allow modification to system partition " how can i do this ?
if i install super su after restart will made problem ?

Related

[Q] Recovery Problem

Hello guys,
Recently, i've wanted to make my device rooted. Than i apply http://forum.xda-developers.com/showthread.php?t=1535987 these instructions in order to do that. I unlock my device successfully. I also flash Clockworkmod recovery successfully. After that i want to install superuser app by using this recovery mod i got an error. Although, i got an error when the phone was rebooted, the superuser app was there. It is installed but has no functionality. I prompt shell command and after that hitting su but it says access denied. I try to do factory settings to get rid of superuser apk, obviously it doesn't work. The app still in there. I just deactivated now. I will try another recovery tool such as twrp or recover stock settings.
-First question, is there any solution in order to delete superuser apk compeletly and how?
-Second, is it possible to flash another recovery mod such as TWRP and by flashing another recovery mod the old recovery mod will be compeletly gone ?
-Third, is there any chance to get back stock recovery ?
-Fourth, this is for trying to understand the installing rom and recovering, what is the proper way to install rom on the phone? First should we create a backup point in order to get back old settings before installing new rom ?
Thanks.
1. No idea about that but i think you should check that you are flashing the correct file. try flashing again
2. yes it is very much possible to flash another recovery. I would recommend 4EXT. yes it will replace the older recovery
3. Run an RUU to get back to everything stock
4. the proper way is always to make a nandroid backup of your current rom. then wipe data/factory reset. wipe dalvik cache. install rom. reboot.
(if you are s-on you'll need to flash the boot.img after installing rom)

Help with ROM Manager v5.5.1.5, installed but cannot chooI used se options

I used dirty racun to S-Off the phone and I have sucessfully installed TWRP however I need to restore my nandroid backup so I installed CWM Rom manager and installed the rom. When I do I can get to the first screen in recovery but whenever i chose an option the text disappears but the main icon in the center of the screen remains. This occurs when I try to flash the recovery via command line or w/ the rom manager tool. I tried to restore the backup from the rom manager but it says no backups are found so I need to do this from recovery. Any help would be greatly appreciated.
Thanks
Dave
Don't use rom manager use twrp
I understand it messes up the misc partition but I have a nandroid backup of this phone using CWM which I really need to restore. I don't know of any other way to retain that data aside from getting CWM working again. Know of anyway I can extract that data.img, boot.img, system.img file and the nandroid.md5 and manually get this to boot?
Dave

installed CWM recovery over TWRP with rom manager- how to remove CWM?

need some help please. just did something pretty dumb in a moment of not thinking. i went into rom manager and flashed cwm recovery (I'm using Hairy Bean 1.51 with TWRP) over the damn TWRP recovery, then did a system backup through rom manager. now I can boot into the rom, but no chance of recovery (as i'm guessing there is a twrp/cwm and possibly jb/ics conflict - if the rom manager flashed ics cwm recovery)
how do I get back my twrp recovery?
NB. Rom manager shows both TWRP recovery as well as CWM flashed and I can choose which i want to use... but when I pick TWRP, I still cannot access recovery. Is there an ADB command I can use to remove CWM and then reinstall TWRP? (I already tried installing the TWRP over it hoping to overwrite, but both recoveries still exist)
FIXED, NM.
radici said:
need some help please. just did something pretty dumb in a moment of not thinking. i went into rom manager and flashed cwm recovery (I'm using Hairy Bean 1.51 with TWRP) over the damn TWRP recovery, then did a system backup through rom manager. now I can boot into the rom, but no chance of recovery (as i'm guessing there is a twrp/cwm and possibly jb/ics conflict - if the rom manager flashed ics cwm recovery)
how do I get back my twrp recovery?
NB. Rom manager shows both TWRP recovery as well as CWM flashed and I can choose which i want to use... but when I pick TWRP, I still cannot access recovery. Is there an ADB command I can use to remove CWM and then reinstall TWRP? (I already tried installing the TWRP over it hoping to overwrite, but both recoveries still exist)
FIXED, NM.
Click to expand...
Click to collapse
Tell people who you fixed it FFS!
how did you fixed ?
radici said:
need some help please. just did something pretty dumb in a moment of not thinking. i went into rom manager and flashed cwm recovery (I'm using Hairy Bean 1.51 with TWRP) over the damn TWRP recovery, then did a system backup through rom manager. now I can boot into the rom, but no chance of recovery (as i'm guessing there is a twrp/cwm and possibly jb/ics conflict - if the rom manager flashed ics cwm recovery)
how do I get back my twrp recovery?
NB. Rom manager shows both TWRP recovery as well as CWM flashed and I can choose which i want to use... but when I pick TWRP, I still cannot access recovery. Is there an ADB command I can use to remove CWM and then reinstall TWRP? (I already tried installing the TWRP over it hoping to overwrite, but both recoveries still exist)
FIXED, NM.
Click to expand...
Click to collapse
Please help , I'm having exactly the same issue.
OS is booting correctly, but I'm not able to enter in any recovery mode, neither in CWM or TWRP..: confused:
radici said:
FIXED, NM.
Click to expand...
Click to collapse
These forums become useless if the knowledge is not captured. It is awesome that you fixed it, but please let us know briefly HOW you fixed it!!
sparkdroid said:
These forums become useless if the knowledge is not captured. It is awesome that you fixed it, but please let us know briefly HOW you fixed it!!
Click to expand...
Click to collapse
Same issue here too' please share how you fixed it.

[Q]How to downgrade superSU versions

I have an HTC One M8 with ROM 4.16.1540.8 (5.0.1)
I'm trying to remove my SuperSU app so that i can downgrade it to a lower version(2.20) due to incompatibility with some of my apps (puzzle and dragons).
Bootloader is unlocked and it is s-on.
I have tried removing SuperSU through the app itself by using the reinstall, switch superuser app, and full unroot functions, but everytime I restarted the phone superSU would be back and in version 2.46. I also tried manually deleting the apk and su files in the bin and xbin folders in system using es file explorer but a restart just brought those back too.
Any help would be greatly appreciated. Thanks!
Find the flashable zip for the "older" version and flash in recovery. I would think that should do it.
Hi thanks for the reply.
I flashed superSU 2.23 from recovery, but i got stuck in bootloop. What should i do to fix it? Thanks!
Edit: flashed the updated su back in and got out of it. How do i do the downgrade without a bootloop?
ah46657 said:
Hi thanks for the reply.
I flashed superSU 2.23 from recovery, but i got stuck in bootloop. What should i do to fix it? Thanks!
Edit: flashed the updated su back in and got out of it. How do i do the downgrade without a bootloop?
Click to expand...
Click to collapse
Hmm, wouldn't expect that to happen. Obviously, since I would never intentionally bootloop someone!
Flash the stock ROM or restore stock nandroid. Then flash the desire SuperSU zip. That's the best I can think of.
Make a nandroid backup of your current setup (if you haven't already) to revert to "just in case".
how to unflash supersu zip
redpoint73 said:
Hmm, wouldn't expect that to happen. Obviously, since I would never intentionally bootloop someone!
Flash the stock ROM or restore stock nandroid. Then flash the desire SuperSU zip. That's the best I can think of.
Make a nandroid backup of your current setup (if you haven't already) to revert to "just in case".
Click to expand...
Click to collapse
recently i installed lineage os 14.1 in my device (rooted) and flashed supersu2.79 , but after updating it it 2.82, its showing SU BINARY OCCUPIED , so can i try downgrade supersu by flshing lower version,, if so how should i unflash previous supersu zip help
rajkumar1221 said:
recently i installed lineage os 14.1 in my device (rooted) and flashed supersu2.79 , but after updating it it 2.82, its showing SU BINARY OCCUPIED , so can i try downgrade supersu by flshing lower version,, if so how should i unflash previous supersu zip help
Click to expand...
Click to collapse
So you tried to flash 2.82? I don't think that is the proper way to update. Since you already have SuperSU installed, you should just be able to go into the SuperSU app, and update the binary from there. Or is that what led to the "binary occupied" error?
But back to the basic question, you can't "unflash" SuperSU. You can "dirty flash" Lineage (just wipe cache and dalvik, can keep user data), and that will put you back on the "unrooted" Lineage ROM. Then you should be able to flash SuperSU 2.82 via zip.
redpoint73 said:
So you tried to flash 2.82? I don't think that is the proper way to update. Since you already have SuperSU installed, you should just be able to go into the SuperSU app, and update the binary from there. Or is that what led to the "binary occupied" error?
But back to the basic question, you can't "unflash" SuperSU. You can "dirty flash" Lineage (just wipe cache and dalvik, can keep user data), and that will put you back on the "unrooted" Lineage ROM. Then you should be able to flash SuperSU 2.82 via zip.
Click to expand...
Click to collapse
i unrooted my device now,, should i have to "first root" it with official lineage os extra file addonsu arm and then should i have to flash supersu zip ?
rajkumar1221 said:
i unrooted my device now,, should i have to "first root" it with official lineage os extra file addonsu arm and then should i have to flash supersu zip ?
Click to expand...
Click to collapse
I don't personally use Lineage. I believe you will need to flash both of those, yes.
@redpoint73 , found this script made by osm0sis to "unSU". not sure if is relevant to earlier posts but thought maybe if you havent seen it yet would be worth looking at. maybe could help someone.?
http://forum.xda-developers.com/showthread.php?p=63615067

How to backup stock recovery before installing twrp

I want to install twrp, but I also want future miui updates. Is there is any way I can backup stock recovery and kernel and restore them when I need to update miui
ajay14malik said:
I want to install twrp, but I also want future miui updates. Is there is any way I can backup stock recovery and kernel and restore them when I need to update miui
Click to expand...
Click to collapse
If you need the stock kernel and recovery, simply dirty flash the same stock ROM.

Categories

Resources