[MOD] [Stock/CROMi-X] Superuser in Settings Mod v1.1

ImmovableObject

Senior Member
Oct 28, 2012
227
167
0
This mod allows you to add/remove the superuser app shortcut to your device settings screen. The superuser shortcut will be added under the system category.

Requires:
* TWRP
* Installed Superuser app by Chainfire or CLOCKWORKMOD

Features:
* allows you to select which superuser app you have installed
* Currently, supports SuperSU (by Chainfire) and Superuser (by CLOCKWORKMOD)
* backups the original files and allows you to restore the unmodified files whenever you want.
* will never cause boot loops. :good:

NOTES:
* This mod will NOT root your device and it will never install any of the supported superuser app. If you need root for your Android 4.2, please use Motochopper.
--- CROMi-X comes pre-installed with SuperSU by chainfire
--- If you want Superuser by CLOCKWORKMOD, you may download it for free from Google Play Store.
* This mod has only been tested in CROMi-X 4.5 and stock ASUS firmware TF300T-US_10_6_1_15_3. It might work on other TF300T stock-based ROM.
* This will not work on TF300TG or TL.
* There is no need to wipe cache and dalvik cache after flashing this mod.

INSTRUCTIONS:
1. Download and copy the zip file to your internal sdcard or external MicroSD card.
2. Reboot tablet to recovery
3. Use TWRP to install the downloaded zip file.
4. Read and follow the onscreen instructions from the installer, and choose the options that applies to you.
5. After installation completes, reboot system.
6. Enjoy staring at your boot animation.
7. Open Settings and look under "System" category for the superuser shortcut.

Known Issues:
* Although I have not encounter it, Aroma installer running in some versions of TWRP can sometimes freeze or crash.
* If this mod fails to flash correctly (or if this mod is not compatible with your ROM), the Settings will not show up. Just try flashing again and select restore last known good configuration.
* If you don't have the selected superuser app installed, tapping the Superuser shortcut in the Settings window will cause an "unfortunately, app has stopped." You have to install the appropriate Superuser app.
* Developer options will be hidden again. To "unhide" the Developer options, tap on "About Tablet" and then tap on "Build Number" many times.

CREDITS:
TeamWin for TWRP recovery.
CyanogenMod team for the original idea.
amarullz for Aroma Installer.
sbdags and contributors for CROMi-X.
rhian for requesting and testing this mod.

Changelog:

05-22-2013 - version 1.1
============================
* Separated CROMi-X 4.5 (based on v10.1.14.4) and ASUS stock (v10.1.15.3) version to avoid unforeseen issues
* Zipalign'ed all package files for your benefit
* Changed some words to make things clearer

MD5: 71db820252b272781995a6163dbed1a2

Download links:
http://www59.zippyshare.com/v/5288804/file.html
http://d-h.st/wbZ
http://www.androidfilehost.com/?fid=22964708692722497
 
Last edited:

Rhian

Senior Member
Feb 5, 2008
167
74
0
I can still change the icon and the location of the shortcut, if the current one is not to your liking. :eek:
It seems logical where it is, in the System area of the settings is where I'd expect them. It doesn't need to be moved and the icon seems logical as well.

CM 10.1 on my phone does it in there too, albeit lower. (I made screenshots with developers options enabled and disabled, so you can see where I got the wish for it from.)
 
  • Like
Reactions: ImmovableObject

ImmovableObject

Senior Member
Oct 28, 2012
227
167
0
Does it work on JB 4.1.1 ? :)
I use CROMI 3.4.6.
Now i don't want install Xenogenesis, because there I can't install OC Kernel :D
I haven't tested this with JB 4.1.1, but, if you will attach/upload your "/system/app/Settings.apk" file here, I can compare them and see if we need to make a separate patch to make it work in JB 4.1.1 settings.
 
Last edited:

ImmovableObject

Senior Member
Oct 28, 2012
227
167
0
Updated to version 1.1

Changelog:

05-22-2013 - version 1.1
============================
* Separated CROMi-X and ASUS stock version to avoid unforeseen issues
* Zipalign'ed all package files for your benefit
* Changed some words to make things clearer

Also, added one additional mirror.
 
  • Like
Reactions: kraftmaschine

sbdags

Inactive Recognized Contributor
Jun 24, 2007
12,753
15,556
0
Kenilworth, Coventry
Updated to version 1.1

Changelog:

05-22-2013 - version 1.1
============================
* Separated CROMi-X and ASUS stock version to avoid unforeseen issues
* Zipalign'ed all package files for your benefit
* Changed some words to make things clearer

Also, added one additional mirror.
Which Asus stock did you use? The new CROMi-X will be based on 10.6.1.15.3