Root broken after nightly cm12.1 update - Galaxy S 4 Mini Q&A, Help & Troubleshooting

I am not very knowledgeable with the android operating system as a whole, I tried to learn as much as I can but mostly just wanted functionality so I installed cm12.1 for simplicity and root capabilities. Everything was going fine until one day the superuser built into cm12 stopped working after a nightly update(about 3 weeks ago i think), I didn't know what to do, so I tried downloading the app superuser from the play store. When I launched the app there was a notification saying the binaries needed updating and it wasn't working so I found the xda tread for SU 2.46 and downloaded it from chainfire's website. Then everything was back to normal, root checker was showing proper root and all apps were working fine.
When I updated to the current nightly (20151229) and booted back up I had the same problem where root checker shows no root and none of my apps work. So I thought all I need to do is reflash the binaries for SU. After I selected to reboot but right after the s4 mini screen it goes to a black screen and stays there.
Just reading about superuser now, I read that there can only be one super user method so I am thinking that when I downloaded SU from the play store I broke the cm12 internal rooting method, which caused real problems when I flashed the nightly as it overwrote that new method.
What I don't get is why cm12's superuser stopped working in the first place? If somebody knows what I am doing wrong I would really appreciate the help!
My plan as of now is to try and remove the app cleanly remove the app superuser and hopefully restore function to the in built cm12 superuser.
PLEASE HELP :cyclops:

Related

Has anyone lost root access (temporarily) after installing latest 2.2 roms?

I installed a rom that was based off the released 2.2 that was released on Friday. I had root already and everything worked fine no problem. I flashed the latest radios and wimax and really nothing else. Well today I went to use Titanium Backup and it wouldn't run; just got a black screen. got the FC message. I then tried to use QuickBoot to reboot and that also didn't do anything. I manually powered off and rebooted and still the same actions from both apps. I then tried Wifi tether and that wouldn't start the sharing. Said that it was unable to Start. I think at that point my root access wasn't working properly. I looked at the Superuser permission app and it looked ok. I then tried another app that required root called Ad-Block and it said that it couldn't get root access.
The only way to get the apps working again was to flash the same rom I flashed on Friday. All apps are working fine after the re-flash.
Anyone else have this?
unknown_owner said:
I installed a rom that was based off the released 2.2 that was released on Friday. I had root already and everything worked fine no problem. I flashed the latest radios and wimax and really nothing else. Well today I went to use Titanium Backup and it wouldn't run; just got a black screen. got the FC message. I then tried to use QuickBoot to reboot and that also didn't do anything. I manually powered off and rebooted and still the same actions from both apps. I then tried Wifi tether and that wouldn't start the sharing. Said that it was unable to Start. I think at that point my root access wasn't working properly. I looked at the Superuser permission app and it looked ok. I then tried another app that required root called Ad-Block and it said that it couldn't get root access.
The only way to get the apps working again was to flash the same rom I flashed on Friday.
Anyone else have this?
Click to expand...
Click to collapse
That is possible. I had the same issues. To get the ad-free host files in, I had to do it in recovery mode and push the files which is like having the nand lock. I try to do some programs that require root and it reboots the phone.

[Q] SOLVED Lost root, trying to figure out why. Help, please?

Update 2: Root was still acting wonky. I was getting multiple requests per app and it wasn't remembering my preference even with the box checked. I tried to allow all but it just wouldn't work at all that way. So I went to update the binaries just to be sure and I had version 3.2 while the latest (and I'm assuming stable) version is only 3.1.1. So if anyone has the problems I did, UPDATE YOUR BINARIES! That fixed everything for me.
Update: I uninstalled the Superuser apk via ES File Explorer, reinstalled it from the Play Store, and just let the phone sit while I was browsing and looking for an answer and when I went back to it Superuser opened and my root was back. I'm not sure if what I did helped but if anyone else has this problem then I can only recommend what I did. If someone can explain what I did wrong or why I lost root, that would still be helpful. If this post needs to be deleted then the mods can do so, I left it in case anyone else runs into this and searches the forums for it.
I have the At&t ion and I managed to get root on ICS on my second try. I was happy about it and decided to start flashing some zips after installing CWM so I deodexed, rebooted, and then flashed one of the status bar tweaks. When I rebooted again Superuser would force close as soon as it opened with the message "Unfortunately Superuser has stopped working". I still have root access in ES File Explorer since I granted it before Superuser stopped working. I cannot however grant any new root permissions since Superuser won't open.
I'm willing to reflash GB and start from scratch again, I'd just like to know what the reason is (was it deodexing? Flashing the zip for the status bar? Or is this just something that can happen?) so I can avoid it the next time. I'm not too excited about having to redownload all my apps for the 3rd time (I was living without root on ICS but decided to go ahead and get it) so if there's a way around it I'd like to find it. Any help is appreciated. I'll try to reply as quickly as possible, thanks guys.

[Q] SuperSU not updating, etc

OK, I know this has been asked and asked again, but I have been reading and digging and googling for several days now, and cannot find a solution.
I've got a JB S3 At&t, and wanted to root it, so after reading for a few weeks, I got the "Samsung_Galaxy_S3_ToolKit_v7.0", donated, and got 7.2 (newest version). I flashed with the toolkit to get an unsecured boot image, with SuperSU 1.04, busybox, and TWRP .
Root happened fine. The phone booted, and when I went to open SuperSU (the icon was in my apps), it asked to update the binaries. I said yes, it failed, and the app opened anyway to allow me to access the options. Triangle away worked fine.
The update binaries thing was bugging me, so I updated to SuperSU 1.10 via google store, and the same thing happened, but now I could not access the program after the binary update failed. It still works (triangle away asks and gets permission) but I could not access the program any longer. It just closes after it informs me that updating the binaries failed.
I have tried installing the program as an app, pushing an APK, and installing a zip from recovery. No matter what I do, it ends up the same.
I have also re-flashed the boot several times, and tried a different method using Odin directly and CF-Root. (seems to be the only way to uninstall it) I have tried numerous combinations, but to no avail. I feel like I have done everything I know how to do short of an unroot to stock and try again.
Any helpful suggestions are welcome.
I'd like to be able to use the program, but this is turning into an OCD nightmare. I'd post this in a development forum, but do not have enough posts yet.
Install "SuperUser" from the market. Manually delete SuperSU from /system/app. Reboot. Reinstall SuperSU from play store and binaries should install fine...
illmatic24 said:
Install "SuperUser" from the market. Manually delete SuperSU from /system/app. Reboot. Reinstall SuperSU from play store and binaries should install fine...
Click to expand...
Click to collapse
Thanks. I ended up doing it the hard way. (I swear I had auto email notification enabled here, or I would have seen your post and tried it)
Anyway, I cleared caches/userdata/wipe cache partition first, then flashed a stock unrooted 4.1.1 rom from here,
Then I used CF-autoroot, and low and behold, SU was showing up as an app. (it was not previously when I used CF-AR)
I let it update itself and bam, it works! Installed adbd insecure, and it works too. (it was not showing up as an app when I did it before either)
Next I added TWRP 2.4.3.0. and everything still works!
Either the stock AT&T rom on this unit had something interfereing with root, or the root image I used in the toolkit has an issue. I'm leaning towards a toolkit issue since when I used it and it installed TWRP 2.4.1.0, I could not get into recovery, just a black screen.
I lieu of this, I'm limiting my use of the toolkit.
Curiously, the toolkit also allows a sideload via TWRP/CWM, but does not provide a driver. Windows 7 cannot recognize the phone in recovery mode with a custom recovery installed, although it does when a stock recovery is. I have yet to find a driver.

[Q] Rooted but SuperSU stopped by KNOX [FIXED]

Hi sorry I am new here, I looked around and did not see an answer to this
I rooted my S3 yesterday using Kingo Android root and as far as I can tell everything worked properly (other apps detect that phone is rooted) but SuperSu is not working because Knox keeps on blocking it. I read a few fixes like just uninstalling SU and reinstalling via the play store but Kingo installed SuperSu as a system app so I cannot do this.
Do I have to reroot or is there an easy way to reinstall SuperSU so that knox is not in the way (all none of the ways to deactivate Knoxs from within the phone do not work because none of my root apps have superuser), I am a bit of a noob when it comes to cell phones.
An suggestions? Also I am looking to keep the data that is already on the phone
EDIT: I got it working
For anyone else having this issue I went to chainfire's website and downloaded the newest version of SuperSU
I opened the Zip found the apk (found in the common folder) and uploaded it to my phone.
Using the default filemanager I opened and installed the apk.
Since it is a higher version then the one in the store it let me update the original failed SU install.
Upon starting SU it updated the binaries and also disabled knox.
Just tried this way and it worked for me thanks. I had same issues there was no option to update from store and Knox kept stopping such..
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

[HELP] Cyanogenmod 12 Root Access

After months of sitting on the stock rooted rom I finally decided to install CM12 [Official] this morning.
everything is working fine but I have one issue. I've lost my root during install and can't seem to get it back.
So far I've installed SuperSU from the play store and the only thing that happens after telling me that the su binaries need to be updated is me getting the failed message when i hit update. I've also tried the secondary option of installing through TWRP but once you click that it does absolutely nothing.
Obviously there's something that i'm missing or doing wrong. does anybody have any input
Under development you have to enable Root for it to work
Sent from my LG-D851 using Tapatalk
That's the thing.... It is enabled under development.
I've restarted my phone numerous times and even did another fresh install enabled it again and the only difference this time around is that root checker is saying i have root now but supersu still wont update the binaries.
Root is now built into Privacy Guard for CM Roms, so if you need to manage anything you have to go to Privacy Guard in the settings. (In other words supersu is no longer needed)
I dont know if you should do this, but i did....
I launched odin and "re-rooted" my phone and it worked.
I already had Cyanogenmod 12 installed. I just put it in download mode and installed supersu through odin and its worked so far
SuperSU and Xposed are built in to Cyanogenmod 12. There is no need for either. Enable root access under Developer Options from the settings.
Sent from my LG-D851 using XDA Free mobile app

Categories

Resources