yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 Android Development] Hashcode:
KK UPDATE IS NOW UP.

READ THROUGH THIS PLEASE.

WARNING: BETA SOFTWARE. MAKE A BACKUP!

HOW DO I INSTALL SAFESTRAP?

Requirement: Root

Requirement: Allow APK install from Unknown Sources

Download the Safestrap APK

Find the APK using a Filemanager tool and open it on your device, then click "Install".

(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.)

Once installed, open up the Safestrap application as you would any other app.

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..

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.

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.

That's it for the installation! Read below for a brief overview of Safestrap Recovery v3.x

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)

FOR USERS OF NB1:

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

Main XDA Downloads Page

Mirror 1 (Goo.im)

Mirror 2 (Crackflashers)

I need to update the kernel modules as well... will that shortly.
[AT&T Samsung Galaxy S 4 Android Development] rebel1699:
[MENTION=4243514]Hashcode[/MENTION] reboot to recovery working fine in my 3.72 beta apk
[AT&T Samsung Galaxy S 4 Android Development] phobia09:
With the downgrade to mk2 root/SS 3.71 method, safestrap remained intact despite being unable to mount system. I was worried it wouldn't recognize the previous installation, but all looks good. Appears it can be updated like a normal .apk. Will report back in case something goes wrong.
[AT&T Samsung Galaxy S 4 Android Development] kevinco1:
Thanks Hash!

Ok, so I'm still on MK2 and never upgraded. I want to install 3.72 ASAP, but its only for MLG/NB4. What is the proper way to upgrade from MK2? There are so many different ways that have been posted in the last few weeks here that I'm very confused which is the proper run to have Safestrap KK running properly. Thanks!
[AT&T Samsung Galaxy S 4 Android Development] rebel1699:
Follow this method. It is the original. Use method 2.

http://xdaforums.com/showthread.php?p=51067706
[AT&T Samsung Galaxy S 4 Android Development] sykoj82:
Little confused about this. So we can root NB1 now?

---------- Post added at 06:46 PM ---------- Previous post was at 06:46 PM ----------
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
Installed fine, mounting system, but reboot to recovery didn't work for me. I'm using Blackbox 3.0, all it does is give a toast for sending the command but it doesn't actually reboot. If I do a manual reboot, it does go straight to Safestrap without the splash.

---------- Post added at 03:49 PM ---------- Previous post was at 03:47 PM ----------

It's still the workaround method, no direct method like Kingo or Saferoot.
[AT&T Samsung Galaxy S 4 Android Development] ted77usa:
[MENTION=4413766]sykoj82[/MENTION]

Follow kitkat magic tool and downgrade thread http://xdaforums.com/showthread.php?t=2680868 and then install newest SS v3.72 Beta to able mount/ system.

Swyped From MK2 Dark Venom SS Edition
[AT&T Samsung Galaxy S 4 Android Development] rebel1699:
The way we are getting root is not traditional. But, we are getting root. Follow link above and read the op. Safestrap 3.72 made it a much easier process.
[AT&T Samsung Galaxy S 4 Android Development] sykoj82:
Thanks for clearing that up.
[AT&T Samsung Galaxy S 4 Android Development] guut13:
Thank you, Hash.

I'm still on MK2 Base running 4.4.2 ROM.

TEST 1

Installed safestrap v3.72.

rebooted into safestrap recovery (reboot from app worked fine)

wiped everything but extsdcard

restored backup of 4.4.2 ROM

rebooted

Worked Great.

TEST 2

Rebooted into safestrap v3.72

wiped everything but extsdcard

flashed new ROM

flashed mdl modules

rebooted

Worked again.
[AT&T Samsung Galaxy S 4 Android Development] rebel1699:
Installing 3.72 in mk2 will have the same effect, if not worse, as 3.71 on nb1 had. They use different hijacks, if i am not mistaken.
[AT&T Samsung Galaxy S 4 Android Development] kevinco1:
At this point, I'm just looking to install the stock NB1 rooted overwriting my stock MK2.

From there, I will install Safe Strap 3.72 and take a look at a few 4.4 ROMs. Don't wanna install any right now until I do some research. I would still use this method?
[AT&T Samsung Galaxy S 4 Android Development] rebel1699:
For a pure stock rooted solution, use muniz_ri rom http://xdaforums.com/showthread.php?p=51331619

My thread is for installing custom 4.4.2 roms. And, do not install SS 3.72 until you are running a 4.4.2 rom. Keep using 3.71 till then.
[AT&T Samsung Galaxy S 4 Android Development] issam1979:
Just installed 3.72 on nb1 all good, system mounted also reboot worked from apk, on the go flashing and backup this is great thank you
[AT&T Samsung Galaxy S 4 Android Development] muniz_ri:
[MENTION=4243514]Hashcode[/MENTION] - just an fyi.....neither SS version appear to be compatible with my MK2toNB1 OTA "KeepRoot" method. SS recovery continues to work after updating to NB1 however the apk FC's. I'm no expert on sammys security but this keep root method keeps the selinux attributes in place which may be causing the FC's(still testing). This may be a better indicator, rather than a custom ROM, as to whether or not SS will work once a traditional root method is found. IDK.
[AT&T Samsung Galaxy S 4 Android Development] kevinco1:
About to take the plunge...just want to make sure I have everything straight before I made any mistakes...

I'm using SS 3.71 with MF2 in the stock slot. Don't have any other ROMs in any other slots. So the following is the correct instructions to install stock NB1 with SS 3.72 KK?

1. Boot into SS and do complete wipe of the stock slot

2. Flash I337UCUFNB1_Stock_Rooted_ROM.zip in the stock slot

3. Flash MLD modules

4. Reboot into Download Mode and flash the I337_NB1_StockPartitions in PDA slot

5. Reboot and let system load. Confirm that NB1 is installed.

6. Install SafeStrap 3.72 APK and activate recovery and reboot
[AT&T Samsung Galaxy S 4 Android Development] WordsworthESP:
I had the same issue with Hyperdrive, flashing the AT&T Compatibility Pack for Hyperdrive is what fixed the issue for me. I've never seen that ROM before, but look for some kind of compatibility pack or ask in the specific ROM's thread, you probably won't find what you're looking for here.

Sent from my Non-Biological Entity
[AT&T Samsung Galaxy S 4 Android Development] kpirnie:
Tested and works a champ... thanks [MENTION=285174]HasC[/MENTION]ode

Sent from my Deadly Venom SS 3.0.1 S4 (team: [MENTION=4631220]Venom0642[/MENTION] [MENTION=2284570]ted77usa[/MENTION] [MENTION=833788]rebel1699[/MENTION]) ~ 20GB free cloud https://copy.com?r=vtiraF
[AT&T Samsung Galaxy S 4 Android Development] muniz_ri:
I have updated the flashing instructions in the op in my 100% stock rom thread. Ss v3.72 will mount on both mk2 and nb1 kernels.
[AT&T Samsung Galaxy S 4 Android Development] phobia09:
I previously had GE v25 installed on stock via downgrade/magic method. Installed SS 3.72 beta and updated recovery. I was able to reboot into recovery via app, backup current rom, wipe stock slot and flash goldeneye v27 (though the Dev hasn't posted the SS version yet, I swapped the updater script with rebel's modified script) and all is working beautifully. Thanks, hash.
[AT&T Samsung Galaxy S 4 Android Development] andrewdroid:
Which updater script did you use? Is it the same one that Rebel made for GE 24?
[AT&T Samsung Galaxy S 4 Android Development] phobia09:
Yeah, I believe updater script v5 is the version.
[AT&T Samsung Galaxy S 4 Android Development] andrewdroid:
I also noticed that the time and date on the backups is finally correct! No more 1970's backups!
[AT&T Samsung Galaxy S 4 Android Development] Galaxy*$4:
i found out updating the hyperdrive file helped me out a bunch last time i used it was in 2013 based on what my laptop said, i forget when i fixed i think sometime this week. from somebody that said it on here to try it.
[AT&T Samsung Galaxy S 4 Android Development] PhatMunch:
Is there any stable gpe ROMs that I can flash on mf3?
[AT&T Samsung Galaxy S 4 Android Development] NighthawkXL:
http://xdaforums.com/showthread.php?t=2370205

This is the only GPE rom that works in Safestrap (3.65) for the MF3 baseband.
[AT&T Samsung Galaxy S 4 Android Development] tuffluck:
So if I'm on KK GE24 do I still need to odin MK2 first before upgrading to GE28 and then flash back MLD? Not sure if the new SS circumvent that or not.
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
You do not need Odin. SS 3.72 can mount the 4.4.2 kernel.
[AT&T Samsung Galaxy S 4 Android Development] tuffluck:
So I can just download GE26 and wipe and flash and it will work?

What about going from MLD to NB1, how would I accomplish that?
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
I don't think there's any need to go to full NB1. You can flash the NB1 rooted ROM with the MLD bootloader. But if you want it then you can flash the ODIN and then do the downgrade and flash.
[AT&T Samsung Galaxy S 4 Android Development] tuffluck:
I don't want to do it, problem is for some reason my MLD suddenly stopped getting LTE. Not sure where or who to ask how to fix it, so I figured maybe I could get my GE24 to NB1. Let me know if you have any thoughts. Thanks for the help.
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
I'd check the settings for network mode and make sure an option with LTE is selected, make sure you're still using the phone APN for LTE, and try different modems.
[AT&T Samsung Galaxy S 4 Android Development] tuffluck:
I wound up flashing a new ROM, now works like a champ. Thanks.
[AT&T Samsung Galaxy S 4 Android Development] siccfckk:
What ROM were you on by chance?

Sent from my GT-I9505 using Xparent Skyblue Tapatalk 2
[AT&T Samsung Galaxy S 4 Android Development] tuffluck:
GE24. Now I'm on Purified Domination with no LTE issues.
[AT&T Samsung Galaxy S 4 Android Development] dpwguenther:
Hi, I dont know if this has been asked yet but, when I boot my phone with safestrap 3.71 and 3.72 the safestrap splash screen pops up and it says safestrap : disabled in big red letters, is there anyway to fix it and make it say enabled ?

Sent from my SHOstock I337
[AT&T Samsung Galaxy S 4 Android Development] rebel1699:
It says "disabled" when stock slot is active and set to boot. It says "enabled" when one of the rom slots is active and set to boot. It is working exactly as it should.

Multirom driven Nexus 7
[AT&T Samsung Galaxy S 4 Android Development] dpwguenther:
Oh ok, thank you very much, I didnt see any info in the op about that

Sent from my SHOstock I337
[AT&T Samsung Galaxy S 4 Android Development] t4duzan:
In the Screenshots Tab of this thread, there are screenshots of what you can expect.
[AT&T Samsung Galaxy S 4 Android Development] dpwguenther:
Im on mobile so I didnt see them.untill I viewed them on the pc, also I seen this in the general forum. http://xdaforums.com/showthread.php?t=2690106

Was just curious as to if anyone has seen it, from what I read its a way to get the old unlocked bootloader to work on the 4.4 update

Sent from my SHOstock I337
[AT&T Samsung Galaxy S 4 Android Development] rebel1699:
No. Thats just how people on mdl bootloader are using nb1 modem to get that rom working correctly. Has not a single thing to do with the nb1 bootloader. There is NO exploit for mf3, mk2 or nb1 bootloader. If you have any of those 3, Safestrap is your only option. No bl bypass or unlock of any sort.
[AT&T Samsung Galaxy S 4 Android Development] JT1510365:
can i install pac rom with safestrap?
[AT&T Samsung Galaxy S 4 Android Development] Maribou:
This has been answered so many times now. No, you cannot install PAC, or any Cyanogen based Rom's due to our locked bootloader. Unless we get a bootloader unlock or kexec support we will not be able to install anything other than Touchwiz based Rom's.

Sent from my warranty voided device...
[AT&T Samsung Galaxy S 4 Android Development] kpirnie:
i really hope theres an answer to this one. got a new rom installed and SafeStrap recovery 3.72 UI / apk is not able to be installed

On every boot I get the option to xontinue or get into recovery... just no way to install the apk for it.

yes usb debug is enabled as well as 3rd party installs.

can i just puah the apk into /system/app... or is it supposed to be in /system/priv-app ?

Sent from my Deadly Venom SS 3.0.1 S4 (team: [MENTION=4631220]Venom0642[/MENTION] [MENTION=2284570]ted77usa[/MENTION] [MENTION=833788]rebel1699[/MENTION]) ~ 20GB free cloud https://copy.com?r=vtiraF
[AT&T Samsung Galaxy S 4 Android Development] kpirnie:
/system/app worked

Sent from my Deadly Venom SS 3.0.1 S4 (team: [MENTION=4631220]Venom0642[/MENTION] [MENTION=2284570]ted77usa[/MENTION] [MENTION=833788]rebel1699[/MENTION]) ~ 20GB free cloud https://copy.com?r=vtiraF
[AT&T Samsung Galaxy S 4 Android Development] qwer43:
SS 3.72 Upgrade Fail

I was reading the OP and this post is a bit confusing to me.

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)

> from the info above, can I upgrade to SS 3.72 since my original OS is MK2?

Currently, I have SS 3.71 with ROM Shostock 5.0 I337UCUFMLD Baseband / XXUFNB8.

I have SS 3.71 installed.

As per steps to upgrade. I had opened SS 3.71, Uninstalled Recovery, ran the SS 3.72 APK (noted as it will upgrade current SS - ok), then installed Recovery. After reboot, I don't see the new flash screen where I can choose to enter Recovery or Continue, it is black then after approx 10secs, the ROM starts booting up.

Am I doing the steps right?

Please advise.

Thank you.
[AT&T Samsung Galaxy S 4 Android Development] Thr33-F0ur:
Yes, you can use SS 3.72 coming from MK2. Your doing all the steps right. Try pressing the left softkey while the screen is black and see if it goes into recovery.
[AT&T Samsung Galaxy S 4 Android Development] kpirnie:
I had an issue after flashing a rom. The rom did not have safestrap apk in it... and i was unable ti install it via normal install method.

I ended up having to push the apk to system/app setting permissions... and rebooting... and fixd the issue

Sent from my Venomous Droid Blue Chrome Edition S4 (team: [MENTION=4631220]Venom0642[/MENTION] [MENTION=2284570]ted77usa[/MENTION] [MENTION=833788]rebel1699[/MENTION]) ~ 20GB free cloud https://copy.com?r=vtiraF
[AT&T Samsung Galaxy S 4 Android Development] dpwguenther:
Hi all, I have bricked my I337, I have found a recovery method but I can't get it to read in the PC with the qhsusb dload driver, any help for my phone?
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
I don't believe anyone has a fix for phones in qhusb mode.
[AT&T Samsung Galaxy S 4 Android Development] dpwguenther:
I found this

http://forum.legija.net/showthread....g-galaxy-S4-(i9505-and-similar)-via-USB-Cable

From this post in the i9505 forum

http://xdaforums.com/showthread.php?t=2308983
[AT&T Samsung Galaxy S 4 Android Development] rebel1699:
Qhusb_dload requires a either a factory flash (best buy) or jtag.
[AT&T Samsung Galaxy S 4 Android Development] greenpharmer:
what exactly do i need.

So my friend wants to put ROMs on his s4. He has an AT&T I337 running android 4.3 I believe on a mk2 build. I already have his phone rooted , but I need to know what version of safestrap to use. is it 3.71 or 3.72. It doesn't seem the op has been updated recently, also are the modules still required?
[AT&T Samsung Galaxy S 4 Android Development] tuffluck:
You have to first follow the Deadly Venom Kitkat tool, which requires Odin to get you to MLD from MK2. The link to get you to that point should be in the OP, or at least easy to find otherwise.

Once you are on MLD (4.4) you can use SafeStrap 3.72 and install the 4.4 ROMs listed in the OP by instruction, and you will not need Odin again. SafeStrap 3.72 is only successful with Kitkat builds, 3.71 for prior (MK2).

And on our locked bootloader, you will always (currently) have to flash the MLD modules when flashing a compatible ROM. As confusing as it sounds, it's all in the OP.
[AT&T Samsung Galaxy S 4 Android Development] greenpharmer:
Awesome. Thanks man been looking around all day not a lot of info turns up. Ill look around for those files in the morning.
[AT&T Samsung Galaxy S 4 Android Development] tuffluck:
No problem. Once you read and understand it...well, let's put it this way: I've flashed about 10 ROMs in the last 24 hours and most of them take less than 5 minutes in totality. The worst part is ramping back up your apps, data, etc, even with Titanium.
[AT&T Samsung Galaxy S 4 Android Development] muniz_ri:
Ss v3.72 works on both mk2 and nb1.
[AT&T Samsung Galaxy S 4 Android Development] qwer43:
I had already tried tapping the down left screen section after the Samsung Logo when the screen goes black. I feel a vibration but still it goes straight to boot in ROM.

I am back to SS 3.71 until I find a way to make it run to SS 3.72.

Thanks anyway.
[AT&T Samsung Galaxy S 4 Android Development] jtchinoy:
Hi everyone,

Im running SS3.72 on Goldeneye v28 on my i337. For some reason I cant back up the system files. It can back up data and cache just fine, bit after it creates the system file it shows failed. Ive tried uninstalling and reinstalling the recovery and SS. Even tried going back to 3.71 (bad idea). Anyone have any ideas? Fixing permissions didnt help either.
[AT&T Samsung Galaxy S 4 Android Development] tuffluck:
I have the same issue.

just curious, have you tried to restore any of the failed backups? curious if it is actually failing or not, but i don't have the balls to try it.
[AT&T Samsung Galaxy S 4 Android Development] jtchinoy:
No, because I know a successful rom has multiple files for the system. The failed ones only have 1 file.

Also without a proper backup, wouldnt installing a failrd backup erase my rom?
[AT&T Samsung Galaxy S 4 Android Development] jt1998:
I think you're right. I wouldn't try it either.
[AT&T Samsung Galaxy S 4 Android Development] tuffluck:
Just curious if it actually is failing. Mine shows complete, but also says failed. So I don't know if the failed verbiage is just a SS typo.
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
Are you sure you didn't just disable the md5 generation? My backups create one file for system and then the md5 file.
[AT&T Samsung Galaxy S 4 Android Development] jtchinoy:
The option isnt checked. Should I try making a backup with it checked then unchecked?
[AT&T Samsung Galaxy S 4 Android Development] greenpharmer:
Are u out of space? Happened when I was trying to backup My friends phone with as. First two times didn't say why it failed. Thirdtry I think it said something about the memory.
[AT&T Samsung Galaxy S 4 Android Development] jtchinoy:
I just upgraded to a 32gb card with 20gb of space left.

Is it possible to restore the system later if I just do a fresh install then restore the data and cache?
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
It doesn't matter if it's checked or not, it will still make a full backup. Md5 just verifies it again before you restore.

Also, if you restore data and cache without system, you may get some glitches, force closes, and other issues.

EDIT: That's only if you use a different system than before though. If you use the same ROM or same stock system you'll be fine.

Sent from my SGH-I337 running Blackbox 3.0
[AT&T Samsung Galaxy S 4 Android Development] jtchinoy:
Okay, I keep copies of the original roms I'm using, so I'll keep that in mind from now on.

Update: I enabled compression and the backup worked. Not sure why, but it did!
[AT&T Samsung Galaxy S 4 Android Development] greenpharmer:
Are u backing up to the micro. His tried defaulting system.
[AT&T Samsung Galaxy S 4 Android Development] jtchinoy:
I've tried to the micro and to the internal. Neither worked until I turned on compression.
[AT&T Samsung Galaxy S 4 Android Development] loganfarrell:
I am running Muniz_ri's stock ROM for NB1, and I had difficulty getting the SS app to work, so I reinstalled the apk, but now SS recovery works (I can feel the vibration) but the screen remains black. Is there something I am missing? I have uninstalled and reinstalled the recovery many times to no avail.
[AT&T Samsung Galaxy S 4 Android Development] Metheny:
I apologize if this has already been answered. I'm still on SS 3.65. I'm using a custom 4.30 ROM off the stock slot (my stock rom was backed up then the stock slot wiped and a custom ROM installed on the stock slot). I want to upgrade to SS 3.72. What's the best procedure? I can't follow the upgrade instructions in the op since I can't do the SS uninstall step.
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
In the OP, if you scroll you'll see instructions on how to manually remove it. You'll need ADB and to enable developer options on your phone.
[AT&T Samsung Galaxy S 4 Android Development] malamalaful:
So once I follow the guide and root NB1 I can simply install Ss and start flashing the compatible roms?
[AT&T Samsung Galaxy S 4 Android Development] Metheny:
Do you have a guide for rooting NB1 that doesnt require rolling back to MK2 first?
[AT&T Samsung Galaxy S 4 Android Development] rebel1699:
There is no guide, because a traditional method does not exist. We only have what we have.
[AT&T Samsung Galaxy S 4 Android Development] ClubWDW:
Oooops

I have updated my Galaxy S4 to [MENTION=4708661]muniz_ri[/MENTION] amazing pre-rooted NC1 ROM. In his original post he warned that the upgrade would "break" SafeStrap. I followed his directions to fix it and it no longer force closes, but I have no recovery and even after it shows install complete, it still doesn't install the recovery. Have I done something incorrect...can it be fixed...and how? Please and thank you all in advance! !!
[AT&T Samsung Galaxy S 4 Android Development] mess18:
Nandroid backup doesn't work

I have SHOstock 3.1 ROM installed in the Stock slot in my i337 MK2. The SS is 3.71. No more ROMs are installed.

I'm trying to perform the backup, but looks it doesn't work: it starts the process with the progress bar, then works for about 3 seconds, reports Successful, but there is no any backup file created. I dud it ten times or more: same result.

Also observed:

1. Other four ROM slots show as already created, but I'm sure I did not do it. I'm trying to delete each one of them, it lokks processing something, but at the end - the slots remain as is.

2. All four and the Stock slot do not show figures of memory used (cache,...).

What's wrong? How to overcome that? I need to backup, because I have to install another ROM, but I need to keep a way back...

Please advise.
[AT&T Samsung Galaxy S 4 Android Development] guut13:
Few questions for you, please..

1. In ss recovery, at the top in red letters it says... ROM Slot: Stock ..correct?

2. If you click on Boot Options > ROM-SLOT-1, what happens?

3. Since you didn't list what you did to back up, this is how I do it. Look the same to what you did?

boot into ss recovery > Backup > (check all 3 partitions, leave compression unchecked, skip MD5 is checked) Swipe to Back Up