[Q] Loosing Root. - Galaxy S 5 Q&A, Help & Troubleshooting

Every time I flash a CyanogenMod nightly I loose Root and TWRP recovery and have to reflash them using ODIN. Is this normal when flashing CM nightlies or am I doing something wrong?
Thanks

I guess if the ROMs come without root and with stock recovery, that will happen, that's what happens when you flash stock ROMs
I haven't tested any CM ROMs so not sure if they contain SuperSU and Recovery

*Detection* said:
I guess if the ROMs come without root and with stock recovery, that will happen, that's what happens when you flash stock ROMs
I haven't tested any CM ROMs so not sure if they contain SuperSU and Recovery
Click to expand...
Click to collapse
CM has inbuild root, you enable it in developer options

Related

Stock rom + twrp

I know super newb question, but how do I upgrade to 5? I have a stock rom, unlocked bootloader and twrp recovery.
cv123 said:
I know super newb question, but how do I upgrade to 5? I have a stock rom, unlocked bootloader and twrp recovery.
Click to expand...
Click to collapse
There are plenty of threads to answer your vague question.... But you have to be completely stock first.
So to be more specific, would I have to flash a stock recover, lose root and upgrade. Then root and flash twrp again?
cv123 said:
So to be more specific, would I have to flash a stock recover, lose root and upgrade. Then root and flash twrp again?
Click to expand...
Click to collapse
That's right.
How about just flashing the OTA zip file in TWRP? That way you wouldn't lose data, right?
Could I upgrade to the latest twrp and is there a zip to flash?
cv123 said:
Could I upgrade to the latest twrp and is there a zip to flash?
Click to expand...
Click to collapse
Assuming you are on Android 5 (Lollipop) then things have changed and you need to use fastboot from a PC to install TWRP 2.8.1.0
That worked for me as I just upgraded my Nexus 5 with my Nexus 10 next on the list. Of note is that you need to root your device BEFORE installing TWRP due to some Android 5 specific changes. Chainfire's root fixes that issue with custom recoveries.
For example on my linux PC:
fastboot flash recovery openrecovery-twrp-2.8.1.0-xxxxxxx.img
All I did is flash the original 5.0 Lollipop release, then fastboot flashed TWRP and CFAR to get back root and done. Running the stock rom with TWRP and Root with no problems. I actually find this setup to run smother than the few ROMs that were created with options in them.

[Q] No Recovery after CM upgrade

Hello,
hopefully someone could help me solve my issue.
i've installed the latest nightly of cm 12.1 today overwriting my previous installation of cm11 with a build from january.
the recovery i used so far was twrp.
after upgrading cm to 12.1 i can no longer access the recovery. the phone shows a black screen and reboots when i press the power button.
i've tried reflashing current and older (2.7) versions of twrp with odin but with no success.
NiteFlame1003 said:
Hello,
hopefully someone could help me solve my issue.
i've installed the latest nightly of cm 12.1 today overwriting my previous installation of cm11 with a build from january.
the recovery i used so far was twrp.
after upgrading cm to 12.1 i can no longer access the recovery. the phone shows a black screen and reboots when i press the power button.
i've tried reflashing current and older (2.7) versions of twrp with odin but with no success.
Click to expand...
Click to collapse
You should have flashed official lollipop first, to get the latest bootloader. And you should begin there. And then flash twrp for your rom and cm12.1 using twrp.
Use a cm12.1 rom from development forums instead. E.g temaseks.
so just to make it clear for the dummy kind of user which i seem to be the necessary steps are:
1. getting a stock lp rom and flash this
2. flashing a custom recovery
3. flashing custom rom (e.g. temaseks or standard cm12.1)
Does the Phone have to be rooted for these steps? It looks like it has lost its root status with the update to 12.1 or when i tried to re-flash the broken recovery partition.
thanks for your patience.

Operating system does not start after root

Hi.
I have used crDroid and I have wanted to uninstall system app, so I needed to root. All proces of rooting has been fine (by Odin), but after reboot operating system does not start and I have not got TWRP! Thank you for all your help to me!
Kubex52 said:
Hi.
I have used crDroid and I have wanted to uninstall system app, so I needed to root. All proces of rooting has been fine (by Odin), but after reboot operating system does not start and I have not got TWRP! Thank you for all your help to me!
Click to expand...
Click to collapse
Of course it will not boot. crDroid is rooted by default.
You probably tried to flash cf-auto root and that's ONLY for stock roms. Never ever use it for custom roms because every custom rom has standard root.
Because crDroid is based on CM you probably have to enable root in developer settings or flash the latest supersu trough TWRP.
You need to reflash your rom to get your rom booting again though.
Thank you!
Lennyz1988 said:
Of course it will not boot. crDroid is rooted by default.
You probably tried to flash cf-auto root and that's ONLY for stock roms. Never ever use it for custom roms because every custom rom has standard root.
Because crDroid is based on CM you probably have to enable root in developer settings or flash the latest supersu trough TWRP.
You need to reflash your rom to get your rom booting again though.
Click to expand...
Click to collapse
my sph-l720t wont tun on past logo screen after teying to root. how can i fix this? thanks Dallas
Duwhop31 said:
my sph-l720t wont tun on past logo screen after teying to root. how can i fix this? thanks Dallas
Click to expand...
Click to collapse
No idea. You haven't told us how you tried to root.

Beta 7.1.2

Good morning, I wanted to know if I can upgrade to Android 7.1.2 beta with root and custom recovery installed. Do I have to remove them before upgrading or the upgrade will remove them automatically ? Will my device even boot if I update with root and custom recovery?
Thanks
Nope. Cant with custom recovery..
SkyGO said:
Good morning, I wanted to know if I can upgrade to Android 7.1.2 beta with root and custom recovery installed. Do I have to remove them before upgrading or the upgrade will remove them automatically ? Will my device even boot if I update with root and custom recovery?
Thanks
Click to expand...
Click to collapse
Your phone will boot loop if you don't go back to stock recovery first. I tried just to see what would happen and that's what happened. People who tried to flash it with Flashify reported no success.
SkyGO said:
Good morning, I wanted to know if I can upgrade to Android 7.1.2 beta with root and custom recovery installed. Do I have to remove them before upgrading or the upgrade will remove them automatically ? Will my device even boot if I update with root and custom recovery. Thanks
Click to expand...
Click to collapse
Stock ROM? Important information you omitted. From a guy who always runs the latest stock ROM rooted and custom recovery here's how you do it: You do not have to remove them first, and although they (SU & kernel) will be overwritten with the new boot.img, it is very easy and straightforward. You need the TWRP flashable (beta) OTA zip file, in the OP here. Put the latest SU and your custom kernel on the device root, or wherever. (should already be there) and then reboot to TWRP recovery. Select "Install" and then select the OTA you downloaded above, and tap "Add more zips". Next you want to add the latest SU zip (2.79 SR3) and last add your kernel. Mine is EX. Once you have queued all 3 zips, in less than a minute you will be back up and running 7.1.2 , rooted and with kernel. Even if you flash each file individually you will still be ok. (OTA, SU, Kernel). See the same thread further down... Credit for the TWRP flashable OTA goes to @Displax.

MAGISK 16.0 flash problem in moto g4 plus

Hey everyone,
I tried installing magisk 16.0
firstly i did ,
unlocked bootloader,
then installed twrp recovery 3.2.1
booted the phone installed magisk manager,
then again in twrp recovery
i tried flashing the magisk 16.0,the magisk gets flashed but the phone does not boot up to system,
i dont get what mistake i am doing,
i want to use the 'CAMERA2 API' on my moto g4 plus,
and nothing else
But they say you need to root for that,
so i am trying
Please help me with this...
You need to flash a custom kernel (ElementalX) before rooting your device when using stock firmware.
In addition to thorin0815's message, you cannot root on the stock Motorola kernel - attempting to root on the hudsoncm kernel causes bootloops. You may be able to reboot to TWRP, restore your TWRP backup (you did make a backup, right?) then flash ElementalX, then magisk. If you're still bootlooping, you may have to re-flash the stock ROM then try again.
thorin0815 said:
You need to flash a custom kernel (ElementalX) before rooting your device when using stock firmware.
Click to expand...
Click to collapse
Thankyou I'll try this also..
echo92 said:
In addition to thorin0815's message, you cannot root on the stock Motorola kernel - attempting to root on the hudsoncm kernel causes bootloops. You may be able to reboot to TWRP, restore your TWRP backup (you did make a backup, right?) then flash ElementalX, then magisk. If you're still bootlooping, you may have to re-flash the stock ROM then try again.
Click to expand...
Click to collapse
Is this the convenient way or shall I use the apps like one click rooting ? Kingroot something..?
PushkarajK said:
Is this the convenient way or shall I use the apps like one click rooting ? Kingroot something..?
Click to expand...
Click to collapse
I'm not sure if king root or the one click root would work, if they don't flash the custom kernel first you'd be back with a non booting device. Best to flash root yourself, that way you'll also learn the process too
echo92 said:
I'm not sure if king root or the one click root would work, if they don't flash the custom kernel first you'd be back with a non booting device. Best to flash root yourself, that way you'll also learn the process too
Click to expand...
Click to collapse
Yes got it ,thankyou for the help:good:

Categories

Resources