[HOW TO] [ROOT] [APK] Root for NC5 OTA (All Kitkat devices) without PC!!!

Search This thread

ch.ch1

Senior Member
Oct 22, 2012
103
2
NYC
I'm running MK2 (32gb) and the OTA failed because I'm rooted.
Is my best bet to Odin a stock MK2, take the OTA and root using towelroot?
Which file do I use to Odin?
 

fix_this_glitch

New member
Sep 18, 2014
2
0
"safestrap disabled"

Hello all,

I am currently running 4.4 and NC5. Everything was running smoothly with safestrap (3.72) until I flashed eclipse rom. Now when I reboot the first menu screen says "Safestrap Disabled" and then goes to a black screen with only "android" in the center. Not really sure what to do at this point but I can still get to recovery menu from the "safestrap disabled" screen. Sorry if there is an obvious solution I am a novice at rooting....

(I followed each step #1-7 for safestrap method)

Any advice/help is appreciated thanks!
 

npjohnson

Recognized Developer
Hello all,

I am currently running 4.4 and NC5. Everything was running smoothly with safestrap (3.72) until I flashed eclipse rom. Now when I reboot the first menu screen says "Safestrap Disabled" and then goes to a black screen with only "android" in the center. Not really sure what to do at this point but I can still get to recovery menu from the "safestrap disabled" screen. Sorry if there is an obvious solution I am a novice at rooting....

(I followed each step #1-7 for safestrap method)

Any advice/help is appreciated thanks!

1. Redownload the Eclipse ROM, then download SuperSU.zip, gApps, and your correct modules (If on stock NC5, download NC5 Modules.zip, or if on a phone that used Surges Down/Up/Downgrade method, download googles-wififixnc2.zip) , remove the SD from your phone, insert it into you PC/USB Adapter, then copy it to your SD Card, make sure to eject your device before unplugging.
2. Boot to safestrap, ==> Wipe ==> Advanced Wipe, check system, data, cache, and dalvik cache. STAY IN SAFESTRAP!
3. Go back to safestrap's main menu and select install, then Eclipse.zip, then SuperSU.zip, the correct gApps, then your modules, verify Success, then reboot.

Congrats. I'm running an Eclipse based ROM that I themed like Android L, and I am loving it.
 
  • Like
Reactions: fix_this_glitch

fix_this_glitch

New member
Sep 18, 2014
2
0
1. Redownload the Eclipse ROM, then download SuperSU.zip, gApps, and your correct modules (If on stock NC5, download NC5 Modules.zip, or if on a phone that used Surges Down/Up/Downgrade method, download googles-wififixnc2.zip) , remove the SD from your phone, insert it into you PC/USB Adapter, then copy it to your SD Card, make sure to eject your device before unplugging.
2. Boot to safestrap, ==> Wipe ==> Advanced Wipe, check system, data, cache, and dalvik cache. STAY IN SAFESTRAP!
3. Go back to safestrap's main menu and select install, then Eclipse.zip, then SuperSU.zip, the correct gApps, then your modules, verify Success, then reboot.

Congrats. I'm running an Eclipse based ROM that I themed like Android L, and I am loving it.

Thank you so much for the response!! I completely forgot I can use a sd card to get the correct data on this s4 (I just switched from htc one). Also thank you for the step by step instructions!
 

Craigerade

Senior Member
Mar 29, 2010
229
35
Texas
For anyone Trying to instal SU without using SafeStrap I would recommend using Root explorer. ES File explorer didn't work for me.
 

burghfan3

Senior Member
Jun 13, 2012
682
345
SAFESTRAP NOTES/HOW TO

- Have Wifi/Data/Bluetooth issues? Flash NC5 Modules and wifi fix:http://www.androidfilehost.com/?fid=23487008491963692


Do these "issues" result from using safestrap, or can they predate safestrap? Currently running stock rooted w/towelroot, no safestrap, having lots of data problems. Flipping in & out of LTE, 3G, no data. No wifi or bluetooth trouble.

Thanks.

Running Hyperdrive 18.1, and my WiFi won't turn on. I supposedly don't need these modules with that version, but it also didn't work without them

Sent from my SCH-I545 using Tapatalk 2
 

solidus636

Senior Member
Jan 3, 2009
243
34
Download this zip file (same one linked in the OP of this thread) to your device and unzip it. All you will need is the framework-res.apk file inside. Use a root file explorer to copy the unzipped framework-res.apk file to /system/. Change the permissions on the framework-res.apk file to rw-r--r-- (644). Now copy this same framework-res.apk file from /system/ to /system/framework/. Reboot and you'll have tethering.

why is it that i used this same zip file in safestrap and it DID NOT enable tethering........ ?

any idea?

should I do it manually?
 
  • Like
Reactions: gooddiving89

Top Liked Posts

  • There are no posts matching your filters.
  • 30
    Hey All!

    MODERATORS: Please change the name of this thread to "[ROOT] [RECOVERY] [ODIN] [APK] All-in-One Guide" and maybe sticky it? :)


    Before Reading this guide, check your Bootloader version in Settings ==> about this phone, it looks like VRUFxxx, if on MDK, go here NOW http://xdaforums.com/showthread.php?t=2292112, this guide uses CWM recovery, but there are others, just google either "PhilZ touch Recovery Galaxy S4 Verizon Loki" or "TWRP Recovery Galaxy S4 Verizon Loki" if you don't like CWM.

    If on any other bootloader, Flash the MK2 Full-Wipe Tar (below in the ODIN section) if you want to run 4.3 Jellybean ROMS, or NC5 Full-Wipe Tar if you want to run 4.4.x Kitkat ROMs

    MAJOR EDIT - SafeStrap can now boot (very few) Google Edition (AOSP) ROMs!!! After getting SafeStrap 3.72 installed, SELinux set to Permissive, and your bootloader on NC5, you can wipe /data /system and /cache (as well as dalvik-cache), the Google Edition ROM linked later in the thread under the SafeStrap Compatible ROMs Section, and of course flash either NC2 Modules or NC5 Modules depending on your bootloader version.

    ROOT

    To begin I didn't create this, Geohot (George Hotz) did, I am just sharing it with this forum and creating a discussion type post for it, as not to junk up the initial thread.

    It exploits CVE-2014-315, which exists in all Kitkat 4.4.2 (and Nexus 4.4.3) devices. This will work on all 4.4.2 (and some 4.4.3) devices as long as they don't have /system write protection (Like newer Moto and HTC phones...)

    This was originally thought to be a useless vulnerability due to the fact that when exploited it only gave access to a remote root shell for ~15 seconds before SELinux implementations kick on and kill it, or in most cases it causes the system to reboot upon exploitation (I still don't understand why this happened...?)

    Geohot however, found a way to shape this vulnerability into the amazing exploit TowelRoot. It comes in the form of an installable APK

    Prerequisites: Enabled Unknown sources in settings


    1. Navigate to http://towelroot.com
    2. Click the lambda (the greek letter) or download here https://www.dropbox.com/s/71a7e8wdscbdd0t/tr.apk
    3. Open the APK file and click install
    4. Follow on-screen prompts
    Now you can either use SafeStrap which can flash mods/zips/ROMs:

    SafeStrap Method
    Note: SafeStrap doesn't work with encryption turned on (disabled by default). If you don't know if you don't have encryption on/your phone isn't a business phone (in which case you shouldn't be doing this!!!) then you most likely don't have encryption on!!
    5. Use this app to change your SELinux mode to "Permissive" https://play.google.com/store/apps/details?id=com.mrbimc.selinux, this is required to use SafeStrap
    6. Install SafeStrap 3.72 APK from this thread http://xdaforums.com/showthread.php?t=2448925, NOT 3.71 FROM THE VERIZON THREAD!!! Then click install in the SafeStrap App
    7. Flash http://download.chainfire.eu/451/SuperSU/UPDATE-SuperSU-v2.01.zip, this step is NOT OPTIONAL, without this file, your SU Binaries will not update!!! (This is important!). Do this by rebooting your phone and clicking "recovery" when safestrap prompts you, then clicking "install" and selecting the /zip linked above, then swiping to flash, and rebooting.

    Normal Method
    5. Download http://download.chainfire.eu/451/SuperSU/UPDATE-SuperSU-v2.01.zip
    6. Use ES File Explorer https://play.google.com/store/apps/details?id=com.estrongs.android.pop and unzip the file
    7. Open the /common folder in the unzipped file, and copy the SuperUser.apk to the /system/app/ folder in the root of the phone, confirm any SuperUser Access requests at this point

    8. Reboot
    9. Open SuperSU and under the settings tab, update your SU Binary
    10. Profit


    TWEAKS

    (Optional)
    10. Flash http://www.androidfilehost.com/?fid=23487008491962487 in SafeStrap to enable wifi tethering
    11. Use https://play.google.com/store/apps/details?id=com.bitcubate.root.busybox.complete to update to the newest version of BusyBox (The more popular BusyBox apps wouldn't work for me/ didn't have the newest version)


    SAFESTRAP NOTES/HOW TO

    - Have Wifi/Data/Bluetooth issues? Flash NC5 Modules and wifi fix:http://www.androidfilehost.com/?fid=23487008491963692
    - Still have Wifi/Data/Bluetooth issues after NC5 Modules? Wipe clean and ref lash your ROM and this time try the NC2 Modules and wifi fix:http://www.androidfilehost.com/?fid=23487008491963696
    - We CANNOT just flash a custom recovery, our bootloader is locked, and won't be unlock in the foreseeable future, we have to use SafeStrap instead
    - To flash a ROM, reboot the phone, and click the menu button during boot up to get to SafeStrap, go to "Mount" ==> Check /System, leave the others checked
    Then go back to the menu, go to "Wipe" ==> /System and swipe to wipe, you do not have to wipe /data, but it is strongly recommended (But this WILL wipe your data!!!)
    The go back to menu, click "Install" select you ROM's .zip file AND SuperSU 1.99v4.zip to be safe
    - You cannot use ROM Slots because this version of SafeStrap is made for the ATT S4, because of that we have some incompatibilities, you can only install to the "Stock" Slot
    - BEWARE of flashing a Custom ROM and wiping /system, because if wipe /system, YOU ARE ERASING SAFESTRAP, if you flash a ROM that doesn't boot/is incompatible, you will have to ODIN back to stock!!!
    - On a similar note, don't just flash a new ROM over your current ROM without wiping /system, as "dirty" flashing never ends well
    - Most ATT SafeStrap 4.4.2/3 ROM work on the Verizon version, just a matter of testing them!!!


    ROMS THAT ARE CURRENTLY COMPATIBLE WITH SAFESTRAP 3.72

    Pre-Rooted 4.4.2 - Removes BloatWare stuff and implements the features from the International version that Verizon removed http://www.androidfilehost.com/?fid=23329332407590564

    Google Edition ROM (TW Kernel) Option 1 - Google Edition ROM that IS compatible with SafeStrap, although not everything works... I know it says ATT, but I have tested and it works on verizon[/B]http://xdaforums.com/showthread.php?t=2767026

    Google Edition AOSP (TW Kernel) Option 2 - Madre de Dios.... Google Edition for Safestrap, who'd of thunk. It is the latest 4.4.4 and everything except for MTP Mode (file transfer), and Wifi is touchy... but who cares, AOSP!!! http://www.livewinter.com/mirror/get_file.php?id=30

    BlackBox - An AOSP themed ROM that keeps many Samsung features, just google "BlackBox ROM S4 for a list of features/screenshots http://www.androidfilehost.com/?fid=23501681358541454

    HyperDrive RLS 16.1 - TouchWiz S5/Note 3 with many awesome baked in features http://xdaforums.com/showthread.php?t=2301724

    Purified ROM - AOSP Themed with custom toggles http://xdaforums.com/showthread.php?t=2759811

    gDux - Highly Customized TouchWiz/AOSP, hard to explain, but really cool!!! http://xdaforums.com/showthread.php?t=2759786

    Blue Chrome Edition - Googlie made this.... I don't know anything about it, wanna describe it @googlie? http://www.androidfilehost.com/?fid=23329332407588272

    PhoeniX ROM V8.0.1 - Strongly tweaked ROM based on TouchWiz, again just google "PhoeniX ROM S4" for description/screenies http://www.androidfilehost.com/?fid=23501681358541455

    FoxHound ROM - One of the best ports I've found around, there are so many options that no 2 installs of Foxhound are the same, you could live with just raflashing different options of this ROM and be happy for a long time...http://www.androidfilehost.com/?fid=23487008491966537

    Baja ROM - AOSP/TouchWiz Hybrid http://xdaforums.com/showthread.php?t=2696872

    Echoe ROM - First 4.4.2 TouchWiz ROM made for out phone, very stable/stock-ish with some added features http://xdaforums.com/showthread.php?t=2702592

    Eclipse - My personal favorite!!! My daily runner. Best Google themed TW ROM that exists in my opinionhttp://xdaforums.com/showthread.php?t=2351840


    This is a link to @googlies downloads folder in case anybody wants it, there are some work in progress ROMs and ROM backups (.rar files,) you can check out in there, to use those just unRAR them into you SafeStrap folder on you SD Card, and then restore the backup in SafeStrap


    HOW TO BOOT TO RECOVERY/DOWNLOAD MODE

    Stock Recovery Mode = Hold Volume Up + Home Button + Power until it buzzes, then release the power button
    Download/ODIN Mode = Hold Volume Down until it buzzes and when prompted push volume up to accept
    SafeStrap Recovery = "Reboot to Recovery" buttoning the SafeStrap app does not work, instead turn the phone off and turn it back on, then push the menu button after the Samsung Screen goes away

    Note - If you see a "Samsung Custom" screen with an unlocked padlock, it doesn't mean you have an unlocked bootloader!!! Don't get your hopes up, it just means that the phone is customized software wize.


    ODIN GUIDE

    ODIN is a program used to return Samsung phones to stock, it provides many ways to restore the different partitions of the phone;

    F. Reset Time - Doesn't ever hurt anything, usually recommended/necessary, but I am not completely sure what it does?

    Auto Reboot - Check unless you plan on flashing multiple files before reboot (not recommended)

    PIT File - Necessary when completely repartitioning the phone, in most cases will wipe the whole phone clean (excluding @googlies/@Surge1223s guide to downgrade from NC5), it is a partition table template. Comes in the form of a .PIT file.

    BL (Called Bootloader in older versions of ODIN) - Restores Bootloader, don't jack with this unless you know what you are doing, you cannot flash any bootloader lower than the on you are currently on! Ex. NC5 ==> MDK won't work, there are some small exceptions like @googlies NC5 ==> MK2 Downgrade, this was only possible due to the NC2 leak that allows downgrades. These files must be signed by Samsung. Comes in the form of a .tar file

    AP (Called PDA in older versions of ODIN) - Restores to /System, doesn't Wipe it, just overwrites if necessary. Comes in the form of a .tar file

    CP - (Called Phone/Modem in older versions of ODIN) - Restores Modem, wipes it and overwrites with new version. Comes in the form of a .tar file

    CSC - (Called Cache in older versions of ODIN) - Restores to /Cache, wipes it and overwrites with new version. Comes in the form of a .tar file

    UMS - I am unsure... Anyone? Possibly custom file flashing for Developer editions...?

    ODIN 3.09 - Stock ODIN program, used in ALL cases except downgradeshttps://www.dropbox.com/s/b1kjainbic4iloo/Odin_v3.09.zip

    ODIN 3.10 - made by @googlie I believe? Used in his guide for downgrading http://www.androidfilehost.com/?fid=23329332407587822

    NC5 No-Wipe and Full-Wipe Tars - No-Wipe (Use in most cases) will leave your data in tact but restore /system to stock, Full-Wipe restores everything to stockhttp://xdaforums.com/showthread.php?t=2735172

    MK2 No-Wipe and Full-Wipe Tars - http://xdaforums.com/showthread.php?t=2578209

    MDK Full-Wipe Tar (If anyone has a link to a No-Wipe, please post it) - http://xdaforums.com/showthread.php?t=2289325


    HOW TO RUN 4.3 ROMS IF ON NC5/NC2

    This is made for NC5 phones, but will also work on NC2 and allow you to retain the NC2 Bootloader. If you don't know if you are on NC2, THEN YOU ARE NOT, very few people are on NC2, and those that are are there because they know what they are doing (hopefully).

    If you want to run 4.3 ROMS in SafeStrap unRAR this file and place it in the AP slot of ODIN (credits to @googlie) http://www.androidfilehost.com/?fid=23501681358537591, then reboot to stock recovery and wipe data and cache, then reboot and use SafeRoot to Root http://xdaforums.com/showthread.php?t=2565758 and install SafeStrap 3.71 from here http://xdaforums.com/showthread.php?t=2441441 and finally flash your 4.3 ROM found here: http://xdaforums.com/show....php?t=2630040

    If you have issues, flash the different fixes (Wifi, Voice, Data, etc.) from this thread http://xdaforums.com/showpost.php?p=51955929 in SafeStrap, READ WHAT THEY ARE BEFORE FLASHING


    SAMSUNG KNOX
    To disable/remove KNOX from stock ROMs:

    Download: To Disable: Titanium Backup https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup
    To remove completely use RootAppDelete https://play.google.com/store/apps/details?id=zsj.android.uninstall, use Pro mode within the app when it asks

    Open the app that you downloaded above (either one depending on your choice) Tap the search button and type ‘Knox’ and you’ll get the list of all the files named as knox.

    Freeze/Remove (Pro-Mode) the following using titanium backup/RootAppDelete, to find them just search "KNOX"

    Delete/Freeze
    com.sec.enterprise.knox.attestation
    com.sec.knox.eventsmanager
    KLMS Agent
    KNOX
    Knox Notification Manager
    KNOX Store



    I will be updating this thread as more comes out.


    Please refrain from asking stupid questions like "It wonnnnn't boot?" and "Why it no work?", give a good question, and we will give a good answer.


    Have Fun!!! :p

    Edit: Added Dropbox Mirror (because some people are having issues with the TowelRoot site... maybe overloaded? XD )

    Edit 2: I added a WHOLE lot to this thread and converted it to an All-in-One type guide, hope you enjoy
    3
    So if I'm on rooted MK2 (stock, no special recovery or anything, just rooted) should I just unfreeze the updater, full unroot in supersu, get the ota, then run this?

    Just curious if anyone currently on stock/rooted mk2 has ota'd up without having to factory reset and lose all their data or not.

    If you update OTA, you shouldn't have to factory reset. Worse comes to worse, I use the no-wipe files in Odin to clean everything out and maintain data.

    Do exactly as you said above... Unfreeze updater, unroot, make sure all stock files are there though. Meaning if you uninstalled a system app (VZW stuff for example) reinstall it. Then take the update OTA. Once there , install towel root and push button and whala! Root on 4.4.2!

    If you run into trouble updating (if it won't OTA for some reason). Use the no-wipe file found here
    http://xdaforums.com/showthread.php?t=2578209
    This will protect your data, and do everything stated above in one instance. If you need help with this, just google how to use Odin and read that thread. (File goes in PDA/AP slot. Click start)

    Forgot to mention, after you Odin, you take the OTA, and proceed.
    Those are MK2 files....


    Sent from my SCH-I545 using XDA Premium 4 mobile app
    3
    Ok I've read through both threads on towel and I'm sure I'm just missing the answers.
    First quick stats:
    Vzw I545 (GS4), haven't taken the plunge to NC5 quite yet. No need for roms/straps/hypers. Looking only toward xposed/adblock/titanium-backup/root-requiring-app-use.
    Questions
    After root success do we leave towel root installed? Does it uninstall itself?

    You can uninstall it after rooting. It does not uninstall itself.

    Are there any major (root based) bugs in the phone's usage. I see a lot if radio issues in this thread, but am pretty sure they all relate to strap/hyper; am I correct in that assumption?

    Yes. This root program is like any other - install it, it sets up su and that's it. Stability problems come from what you do after rooting. For example, I used to install the xposed framework and wanam, but I found that made my phone crash way too often. You can't blame what you do after you root on the program that you use to root.

    I'm currently rooted on MK2 via the chinese method (sorry [member='k1mu']) and found mtkcamera running weeks after (luckly was warned it was a Potentially Unwanted Program) Has anyone found any PUP running after this root?
    I think that's all my questions and am relatively certain I have not seen the answers to these (at least not searchably found nor seen in reading of them).

    Apology unnecessary. If you use that program now to root MK2, I'd be very disappointed. At the start, that was the only choice. :)

    I've not seen anyone reporting unexpected things happening after installing Towelroot. Geohot's reputation makes it rather unlikely that it does anything other than what it says. I will say that I haven't dissected the .apk, but I've no reason to doubt it.

    Oh and one general question; can someone point me at a feature comparision of 4.3 vs 4.4 on the S4

    I'd like to see that myself.
    2
    I may try this on my wife's stock s4 as long as no one tells her.

    sent by bajarom v2.2 kitkat
    2
    It will turn off the knox notification, there is no harm in doing so.

    ---------- Post added at 08:58 PM ---------- Previous post was at 08:56 PM ----------



    You need to run Selinux mode Changer and change mode to permissive to allow the safestrap apk to work after upgrading to NC5 using the OTA: https://play.google.com/store/apps/details?id=com.mrbimc.selinux&hl=en

    This worked

    Sent from my SCH-I545 using XDA Premium 4 mobile app