[RECOVERY LOCKED] Safestrap Recovery v3.71/v3.72 [2014-04-02 KK Beta]

Search This thread

bigblue95z

Senior Member
Aug 15, 2010
438
43
Decatur, IL
I saw this question before but didn't seem to be answered.
I never took the official MF3 update, still have the old mdl bootloader and I have Cleanrom 1.5 currently installed. Just debloated TW, nothing strange.

Can I use this to multiboot between cleanrom and a GPE or Cyanogenmod based roms in additional rom slots?
or does this depend on the MF3 bootloader and only works for those who accepted MF3 and are locked out of traditional custom roms?

Thank you very much in advance.

I'm not sure that I understand why you would want to do this. We have a real, full fledge recovery that you can use to backup an almost limitless amount of times. Why not install a ROM to your liking, back it up, then flash whatever you want next. I suppose I see the lure of 'multiple ROM slots', but you'll always have that backup and it doen't take more than about 5-10 min to get a backup up and running. I flash a different ROM at least a couple times a week. The ones I like best stay on my extSD for a bit, ready at a moment's notice to be restored while I wait for my lunch, drive to work(start restore, then drive ;) ), or sitting at my desk. Seems what you want to do would be like using the workaround instead of the fix.
 

movielover76

Senior Member
Jan 3, 2011
491
37
Cherry Hill, NJ
OnePlus 7T
I'm well past my flash addict days, which you are obviously still in, nandroid backups, titaniums and restores get old quick, their was an app specifically for my old thunderbolt that did exactly what I'm asking and people loved it.
I'm not sure that I understand why you would want to do this. We have a real, full fledge recovery that you can use to backup an almost limitless amount of times. Why not install a ROM to your liking, back it up, then flash whatever you want next. I suppose I see the lure of 'multiple ROM slots', but you'll always have that backup and it doen't take more than about 5-10 min to get a backup up and running. I flash a different ROM at least a couple times a week. The ones I like best stay on my extSD for a bit, ready at a moment's notice to be restored while I wait for my lunch, drive to work(start restore, then drive ;) ), or sitting at my desk. Seems what you want to do would be like using the workaround instead of the fix.
 

nativesmiley

Senior Member
Mar 4, 2011
809
28
is the stock rom slot running the current rom that is running on the phone? and also, can i wipe stock slot to free up space. because i only have 2000mb of free space.
 

CPA Poke

Senior Member
Oct 23, 2012
1,515
3,334
Tulsa, OK
I'm well past my flash addict days, which you are obviously still in, nandroid backups, titaniums and restores get old quick, their was an app specifically for my old thunderbolt that did exactly what I'm asking and people loved it.

I'm with you here. Personally, I'd rather run AOSP-based ROMs as my dailies....but I would love to have a TW ROM just a reboot away for those times when someone with an iphone is like "oh, is that the S4? Show me that one thing where you wave your hands." And it's always too much work to explain to them the concept of having an alternative ROM on my phone....much less the concept of being rooted in the first place.

Edit: Ok so I finally got the guts to try installing SS with PA as my "stock ROM" (ie PA was the ROM I was running already when I installed SS). I was able to get to the splash screen, but when I tried to boot into the customized recovery my screen just went black indefinitely. Fortunately I just did a hard power-button reboot and then let it boot up as normal...so at least it didn't break anything. Was able to boot into my regular TWRP just fine too.
 
Last edited:

bigblue95z

Senior Member
Aug 15, 2010
438
43
Decatur, IL
I'm well past my flash addict days, which you are obviously still in, nandroid backups, titaniums and restores get old quick, their was an app specifically for my old thunderbolt that did exactly what I'm asking and people loved it.

Only thing Titanium backup is used for is Call Logs and SMS. I don't restore apps with it.

I'm not sure how this would be much different though. You don't carry over user data, so you'd have to install all the apps for each ROM when you fill a new slot, it's not shared between the ROM slots. A restore doen't take long, and is so super easy, I don't know how it could get 'old'. Pretty much the same deal.

*real recovery:
1) Flash ROM
2) Setup user data
3) Backup
4) Flash another ROM
5) Setup user data

This:
1) Get functional
2) Flash a ROM
3) Setup user data
4) Flash another ROM
5) Setup user data.

The steps hardly are different. Different way to skin the cat, maybe. But hardly reinventing the wheel here. Maybe what you're looking for is more the MoDaCo swtich approach. I can't comment on its compatability with i337, but promising nonetheless.

Side Note: I wouldn't say I'm a flash 'addict'. I try out new things. If I like it, I run with it. Usually the first sign of instability, I'm back to the rock-solid stable build I started with.
Side Note2: I'm in NO WAY trying to discredit this project, or convey any type of negative vibe. I think this is absolutely fantastic that Hashcode has spent his time getting this going. I'm lucky I got an MDL build, but not everyone was so lucky. If I have to warranty, you can bet that I'd be on this like white on rice.
 
Last edited:

movielover76

Senior Member
Jan 3, 2011
491
37
Cherry Hill, NJ
OnePlus 7T
If your flashing a couple times a week then yed you are a flash addict, not saying thats it bad I used to enjoy it. The point is I've flashed maybe 4 or 5 times on my s4 since getting it and i'd love two rom slots one tw and one GPe being able to access each one with a quick reboot, I had it on my thunderbolt, trust me its different than nandroid. And no constantly setting up user data which is a pita
Only thing Titanium backup is used for is Call Logs and SMS. I don't restore apps with it.

I'm not sure how this would be much different though. You don't carry over user data, so you'd have to install all the apps for each ROM when you fill a new slot, it's not shared between the ROM slots. A restore doen't take long, and is so super easy, I don't know how it could get 'old'. Pretty much the same deal.

*real recovery:
1) Flash ROM
2) Setup user data
3) Backup
4) Flash another ROM
5) Setup user data

This:
1) Get functional
2) Flash a ROM
3) Setup user data
4) Flash another ROM
5) Setup user data.

The steps hardly are different. Different way to skin the cat, maybe. But hardly reinventing the wheel here. Maybe what you're looking for is more the MoDaCo swtich approach. I can't comment on its compatability with i337, but promising nonetheless.

Side Note: I wouldn't say I'm a flash 'addict'. I try out new things. If I like it, I run with it. Usually the first sign of instability, I'm back to the rock-solid stable build I started with.
Side Note2: I'm in NO WAY trying to discredit this project, or convey any type of negative vibe. I think this is absolutely fantastic that Hashcode has spent his time getting this going. I'm lucky I got an MDL build, but not everyone was so lucky. If I have to warranty, you can bet that I'd be on this like white on rice.
 
Last edited:

VinnyCh4se

Senior Member
Jan 5, 2011
146
15
Bellmore
Confirming That Sho-Stock 2.2 is installed and booted up after flashing the MF3 KERNEL MODULE .ZIP
EDIT: Everything is running really smooth and after downloading cpu spy I also noticed that I'm still oc'd at 1.8 from the sho kernel and I'm going into deep sleep so with hope no rr or sod
 
Last edited:

azz72

Senior Member
May 4, 2011
611
121
NJ
What ever rom we dl we have to use the MF3 kenal??or it depends on the rom??.

Sent from my SAMSUNG-SGH-I337 using xda app-developers app
 

jinx10000

Senior Member
May 2, 2009
336
21
I'm with you here. Personally, I'd rather run AOSP-based ROMs as my dailies....but I would love to have a TW ROM just a reboot away for those times when someone with an iphone is like "oh, is that the S4? Show me that one thing where you wave your hands." And it's always too much work to explain to them the concept of having an alternative ROM on my phone....much less the concept of being rooted in the first place.

Edit: Ok so I finally got the guts to try installing SS with PA as my "stock ROM" (ie PA was the ROM I was running already when I installed SS). I was able to get to the splash screen, but when I tried to boot into the customized recovery my screen just went black indefinitely. Fortunately I just did a hard power-button reboot and then let it boot up as normal...so at least it didn't break anything. Was able to boot into my regular TWRP just fine too.


http://xdaforums.com/showthread.php?t=2383143

People have posted that they are dual booting cyanmod and goldeneye. I'm not sure if to this is helpful or still relevant. Just saw it and thought it might help.

http://xdaforums.com/showpost.php?p=45406105&postcount=4307
 
Last edited:
  • Like
Reactions: dexterdweller

nativesmiley

Senior Member
Mar 4, 2011
809
28
I'm with you here. Personally, I'd rather run AOSP-based ROMs as my dailies....but I would love to have a TW ROM just a reboot away for those times when someone with an iphone is like "oh, is that the S4? Show me that one thing where you wave your hands." And it's always too much work to explain to them the concept of having an alternative ROM on my phone....much less the concept of being rooted in the first place.

Edit: Ok so I finally got the guts to try installing SS with PA as my "stock ROM" (ie PA was the ROM I was running already when I installed SS). I was able to get to the splash screen, but when I tried to boot into the customized recovery my screen just went black indefinitely. Fortunately I just did a hard power-button reboot and then let it boot up as normal...so at least it didn't break anything. Was able to boot into my regular TWRP just fine too.

So are you running paranoid asop ROM?

Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
 

DeadlySin9

Senior Member
Sep 2, 2012
1,475
703
Google Pixel 8 Pro
I'm with you here. Personally, I'd rather run AOSP-based ROMs as my dailies....but I would love to have a TW ROM just a reboot away for those times when someone with an iphone is like "oh, is that the S4? Show me that one thing where you wave your hands." And it's always too much work to explain to them the concept of having an alternative ROM on my phone....much less the concept of being rooted in the first place.

Edit: Ok so I finally got the guts to try installing SS with PA as my "stock ROM" (ie PA was the ROM I was running already when I installed SS). I was able to get to the splash screen, but when I tried to boot into the customized recovery my screen just went black indefinitely. Fortunately I just did a hard power-button reboot and then let it boot up as normal...so at least it didn't break anything. Was able to boot into my regular TWRP just fine too.

Did you try pressing the power button? Might just be the glitchy screen timeout.


Sent from my SAMSUNG-SGH-I337 using xda app-developers app
 

nativesmiley

Senior Member
Mar 4, 2011
809
28
Yeah, but like I said I can't get Safestrap to work properly with it unfortunately.

PA is the best ROM I've ever flashed, bar none. Everything just....works.

Okay. Just to be clear again. Your not running PA on Safestrap? Sorry but just like to clarify.

Sent from my SAMSUNG-SGH-I337 using XDA Premium 4 mobile app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 241
    *** DISCLAIMER ***
    I work on projects that may brick your device. Don't sue me, hate me or try and kill my dog if that happens. I will feel bad the community will feel bad and hopefully we'll find a way to get you going again. But, the very nature of my projects involves a certain amount of risk taken by YOU. And by using the projects that I work on, you've accepted that fact.

    WARNING #1: CURRENTLY THERE IS AN UNKNOWN ISSUE WHERE IF YOU HAVE ENCRYPTION ENABLED AND INSTALL SS IT BOOTLOOPS. IF YOU FIT THIS DESCRIPTION PLEASE STAY AWAY FROM SAFESTRAP FOR NOW.

    USEFUL LINK OF TW ROMS:
    http://xdaforums.com/showthread.php?t=2616221

    CURRENT PROJECT STATUS:
    v3.72 (NB1): Beta testing, no rom-slots
    v3.71 (MK2): Debugging some rom-slot issues
    v3.65 (TW4.2): Stable


    WHAT IS SAFESTRAP?

    Safestrap is a Bootstrap / Recovery for locked bootloader phones. The goal is to avoid touching your primary system (I'll call this "stock" system) and only flash or make large changes to another place on your phone that Safestrap treats as a "2nd system" (in this case, it's a series of virtual ROM slots located on the internal emmc area: "/sdcard"). Once installed, you will see a "Splashscreen" giving you the option to hit "menu" to enter recovery. The recovery portion of Safestrap is now based on TWRP 2.6.3.0 (a touch based recovery) and you can perform .zip installs, backups and restores here. The additional features I've added to TWRP are mostly located under the "Boot Options" menu:

    1. Here you can create virtual ROM-slots (2 on the S4 due to partition size and internal space) for flashing ROMs. These ROM-slots allow for 3 different sizes of /data partitions: 1GB, 2GB and 3GB. NOTE: The bigger you make the /data partition the less room you will have to make other ROM-slots.
    2. You can activate a new ROM-slot by choosing the slot you wish to make active and then selecting the "Activate" button. Once active, you will see the "rom-slot#" up in the top of the screen shown in green. If you make the "stock" ROM active, then you can see it in the top shown in red.
    3. Once a ROM-slot is active, all actions you would normally perform using TWRP are directed to that ROM-slot. For example, "Install" to flash a .zip, backup and restore.

    For more information you can read up here:
    http://blog.hash-of-codes.com/how-to-safestrap/


    HOW DO I INSTALL SAFESTRAP?

    1. Requirement: Root
    2. Requirement: Allow APK install from Unknown Sources
    3. Download the Safestrap APK
    4. Find the APK using a Filemanager tool and open it on your device, then click "Install".
    5. (If updating from an existing Safestrap you might be warned that this will over-write the existing installation. Click the "Yes" equivalent to this message.)
    6. Once installed, open up the Safestrap application as you would any other app.
    7. Agree to the disclaimer that you won't try to sue me and hunt me down with a rifle if you manage to break your phone..
    8. Then use the "Install Recovery" button. You should see the current version down in the lower left corner of the window. And the "Status:" should say "Installed" when you're done.
    9. From there you can reboot and you *should* see a new splash screen during the boot up. While this is showing you can enter Safestrap Recovery using the [ menu ] button.
    10. That's it for the installation! Read below for a brief overview of Safestrap Recovery v3.x


    HOW DO I ENTER RECOVERY?

    During each reboot a splashscreen will be displayed showing whether the device is running a rom-slot or on the "Stock ROM".
    Press under the button shown on the screen to either enter "RECOVERY" or "CONTINUE" booting.
    By "under", I mean on the touch key portion of the front display on either side of the center button.


    HOW DO I UPGRADE SAFESTRAP?
    • Push the APK up to your sdcard.
    • Boot back into the "stock" rom-slot.
    • Go into your old Safestrap app and use the "Uninstall Recovery" button
    • THEN, open a "file explorer" of some sort (even TW "My Files" will work)
    • Browse to where you pushed the APK
    • Click on it and install like normal
    • Once installed, open the APK
    • Grant SU access
    • Use the "Install Recovery" button
    • All set, now you can reboot and re-activate whatever rom-slot you were using

    KNOWN ISSUES:
    • [v3.72] ROM-SLOTs aren't supported yet
    • [v3.72] "Reboot Recovery" doesn't work in the APK?


    NEW TO v3.72:
    • TWRP 2.7.0.x update for the base recovery. This includes vibration support, backup time/date fixes and more.
    • ROM-SLOTs now have a 16gb size limit (vs 4gb previously) [THEY DON'T WORK YET IN KK THO SO BE PATIENT]


    DOWNLOADS:
    CONFIRM THAT YOU ARE USING AN AT&T SAMSUNG GALAXY S4 (NOT THE ACTIVE MODEL)

    MAKE SURE IF YOU ARE UPGRADING TO v3.7x FROM v3.65 THAT YOU USE THE "UNINSTALL RECOVERY" BUTTON IN THE v3.65 APK BEFORE INSTALLING v3.7x.


    NOTE: USE ONLY ROMS THAT MATCH UP WITH YOUR TOUCHWIZ VERSION. IF YOU'RE ON MK2 THEN ONLY USE ROMS BASED ON MK2 AND IF YOU'RE ON MF3 ONLY USE ROMS BASED ON MF3


    FIND YOUR STOCK OPERATING SYSTEM VERSION BELOW AND USE THAT FILENAME:

    FOR USERS OF NB1:
    USE 3.72+:BETA Safestrap-JFLTE-3.72.apk (updated 2014-04-02)

    FOR USERS OF MK2:
    USE 3.71+:BETA Safestrap-JFLTEATT-3.71.apk (updated 2013-12-27)

    FOR USERS OF MF3 (TW4.2):
    LATEST FILE: Safestrap-JFLTEATT-3.65.apk (updated 2013-11-15)

    Main XDA Downloads Page
    Mirror 1 (Goo.im)
    Mirror 2 (Crackflashers)


    ALSO DOWNLOAD THE KERNEL MODULES .ZIP THAT MATCHES YOUR BUILD # (FLASH THIS AFTER ROMS):
    MF3: http://xdaforums.com/devdb/project/dl/?id=508
    MK2: http://xdaforums.com/devdb/project/dl/?id=3275


    HOW TO MANUALLY REMOVE SAFESTRAP:
    [ INSTRUCTIONS ONLY FOR PRIOR TO v3.65. REMOVE VIA APK FOR v3.70+ ]

    Enter adb shell from your pc:
    Code:
    su
    mount -o remount,rw /system
    mv /system/etc/init.qcom.modem_links.sh.bin /system/etc/init.qcom.modem_links.sh
    rm -rf /system/etc/safestrap
    rm /system/etc/firmware/q6.mdt
    ln -s /firmware/image/q6.mdt /system/etc/firmware/q6.mdt
    mount -o remount,ro /system


    As of version 3.6x, Safestrap Recovery is now based on TWRP 2.6.3.x. For more on TWRP you can visit their website: http://www.teamw.in/

    WARNING: Safestrap is heavily modified to be "Safe" for your device. Do not download TWRP from their website and expect it to work the same way. Also TWRP does not support Safestrap, tho some issues that may come up will be TWRP dependant, please try and contact myself or look on the forums for your device for answers before hunting down TWRP people. They won't be able to help w/ Safestrap specific questions.

    This thread is a development ONLY thread.
    For discussion go here:
    http://xdaforums.com/showthread.php?t=2428254



    XDA:DevDB Information
    Safestrap Recovery v3.71 (JB) / v3.72 (KK), a Tool/Utility for the AT&T Samsung Galaxy S 4

    Contributors
    Hashcode, DeesTroy & TeamWin

    Version Information
    Status: Beta
    Current Stable Version: 3.71
    Stable Release Date: 2013-12-27
    Current Beta Version: 3.72
    Beta Release Date: 2014-04-02

    Created 2013-09-18
    Last Updated 2014-04-02
    42
    Working on the VZW S4 update to safestrap for 4.3 support (selinux).
    As soon as its decent, you can expect a new update here as well.

    Sorry its taking a while. None of this has ever been done.

    Sent from my XT926 using Tapatalk
    40
    Reserved

    KNOWN ISSUES:
    • Bluetooth remote control isn't working on rom-slots.

    CHANGELOG:
    [2013/11/13] TWRP updates
    [2013/11/13] "toolbox" binary / symlinks in recovery fixed
    [2013/11/11] Uninstall from the APK fixed
    [2013/09/17] /sdcard mounting bugfix
    [2013/09/17] Hijack improments to support default rootfs files
    [2013/09/17] ROM-slot image creation bugfix for size > 2gb
    [2013/09/12] Much improved block device handling
    [2013/09/11] Bugfix in script translation
    [2013/09/11] hijack / init.rc tweaks
    [2013/09/11] Bugfix for display lag / buffering issue (WIP)
    [2013/09/10] Adjust "ROM-slot" display in UI
    [2013/09/10] /data/media handling changes
    [2013/09/06] custom twrp.fstab files
    [2013/09/06] /data/media handling changes
    38
    **Updated** Safestrap-I337-KitKat-v3.75 w/Working ROM Slots!

    **No Mirrors Please** All precautions, limitations, and known issues stated in the OP still apply! Proceed to install and use at your own risk!

    Current Version:
    [11/15/2014] - Safestrap-I337-3.75-KitKat-A03.apk [NB1/NC1/NI1/NJ4] - Requires that you have BusyBox installed (make certain that you open the BusyBox app after downloading from the Play Store and actually install BusyBox!).

    Instructions:
    1. Uninstall previous Safestrap recovery version using the Safestrap app "Uninstall Recovery" function.
    2. Uninstall the previous Safestrap app from your app drawer.
    3. Go into SuperSu settings and "forget" the previous Safestrap version's root privileges.
    4. Place the new Safestrap-I337-KitKat-3.75.apk onto your sdcard or extsdcard.
    5. Install the new Safestrap-I337-KitKat-3.75.apk.
    6. Locate and open the new Safestrap app from your app drawer and press "Install Recovery." Done!

    Previous Versions:
    [11/11//2014] Safestrap-I337-3.75-KitKat-A02.apk [NB1/NC1/NI1]
    [10/19/2014] Safestrap-I337-3.75-KitKat-A01.apk [NB1/NC1/NI1]
    [Initial Release] Safestrap-I337-3.75-KitKat.apk [NB1/NC1/NI1]

    Changelog:
    vA03 - [Current Version] Resolved issue where the Safestrap app would "force close" or fail to install after OTA updates. Setting SELinux to permissive is no longer required.
    vA02 - Failed! - resolved "reboot from rom slot bug.
    vA01 - Added Surge1223's feature setting selinux to permissive upon install and eliminating the need for the SELinux Mode Changer app.
    v3.75 - Initial Release - Enabled ROM Slots.

    Disclosures/Known Issues:
    1) When powering down from the ROM running on a ROM slot the phone will hang. You must long-press the power button to shut down the device. I will debug as time permits.
    2) Backups made with earlier Safestrap versions will not restore. You must make a new backup using v3.75.
    3) Per Hashcode......."the system size is now not adjustable on 4.3. Samsung put in a verification that has issues if the partition size changes too much. So I opted to keep it exactly the same as stock."

    This is a Development Thread! Therefore, please do not post comments related to ROM specific issues, favorite ROM's, that weird rash that won't go away, etc., in this thread. Please use the following thread in the General section for non-development related discussion: http://xdaforums.com/galaxy-s4-att/general/updated-safestrap-i337-kitkat-v3-75-rom-t2904854


    Credits:
    @Hashcode
    @Surge1223 - vA01
    34
    Add the MF3 kernel module .zip to the "Downloads" section.
    http://xdaforums.com/devdb/project/?id=680#downloads

    Keep this on your SD card and flash it to the ROM-slot AFTER flashing a rom.

    This will update your kernel modules to match the MF3 kernel and restore function to: wifi, bluetooth, gps etc.