I have followed the guide at XDA Developers for a Samsung Galaxy Note II, and used "option 2" and flashed the firmware using
heimdall flash --RECOVERY recovery.img --CACHE cache.img in Linux.
This gave me a SuperSU program, which I could execute. After executing it immediately wanted to update. I allowed it. It required a reboot, I allowed that. The program asked if it should attempt to install by the "normal" or CWM method. I picked CWM.
The device started up in the CWM minimal OS, but it was not apparent to me what option the user should take at this point to proceed. I tried various options, like installing from cache or sd card, but there didn't appear to be any file to install.
I rebooted again, started SuperSU again. I selected "Install SuperSU into /system". The program needed to reboot again, this time I was not given the option of how to install it ("normal" or CWM).
After reboot, I started SuperSU again. The option was still available to "Install SuperSU into /system", it is unclear if this means SuperSU has not successfully installed, or if this option is always available in case you need to repeat the procedure after an update.
I downloaded the Titanium Backup program which as I understand required root access. When executing Titanium Backup, I was prompted by SuperSU if I wished to grant root access. I clicked yes. The program appeared to function properly.
My questions are:
- What action is the user supposed to take within CWM when SuperSU requests to reboot using this method?
- Is the choice "Install SuperSU into /system" supposed to still be possible to select after a successful install?
- How do I run an arbitrary program as root? What I wanted to do in the first place was to get a terminal to run as root. I have already a program called "Terminal Emulator" installed. How do I make "Terminal Emulator" execute as root?
- Is it normal for SuperSU to "close" itself spontaneously while looking through the settings? I think once it updated itself while I was in the settings, but I'm not sure.