yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S 4] Hashbang173:
Is there still the shutdown bug on ROM-Slots?
[Verizon Samsung Galaxy S 4] Tromatic:
Trying to shut down the phone using the power button fails for me. Quick Boot works.
[Verizon Samsung Galaxy S 4] Flydude112282:
When you are making the new rom slot, how much memory are you supposed to use? Since you can't use the others does it matter how high the values are?
[Verizon Samsung Galaxy S 4] Tromatic:
From here:

Disclosures/Known Issues:

1) I have only flashed a ROM to ROM Slot-1. The only observable bug, so far, is the new ROM will hang when powering down. You must long-press the power button to shut down the device. I will debug as time permits.

2) AROMA installer ROM's are confirmed working!

3) Backups made with earlier Safestrap versions will not restore. You must make a new backup using v3.75 for the Restore function to work.

4) 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."

Working great for me with the default values. I'm going to try to setup another ROM in slot 2 and see what happens.

ETA: Had to reduce "Data" partition to create Slot 2.

I now have the Verizon bloatware stock ROM in the Default slot, Eclipse in Slot 1 and Gdux Slim in Slot 2 (that **** is going away as fast as it can. WTF is up with that Goram boot f-ing noise?).
[Verizon Samsung Galaxy S 4] Flydude112282:
Yeah, its working great for me now! I tried two different Roms in slot one with no problems although I can't get Chaos ROM to work...:(...I'll keep experimenting...
[Verizon Samsung Galaxy S 4] Genaugmen:
4.1.1 on slot 1 ??

I've got an s4 active. Would love to sim unlock the phone, but the only (non-payment) method I've seen only works on 4.1.1. Can I put stock 4.1.1 in slot one and unlock? Or will the locked and updated bootloader prevent me from running that version of android, and still make the necessary menu options unavailable?
[Verizon Samsung Galaxy S 4] Tromatic:
Do the needful?
[Verizon Samsung Galaxy S 4] npjohnson:
do not use this aafestrap on an s4 active!!!! Very different phones. It will cause problems.
[Verizon Samsung Galaxy S 4] techguy2002:
I'm pretty sure the s4 active has nothing to do with the s4 from verizon. I wish people would read.
[Verizon Samsung Galaxy S 4] Fadtydawg:
Thanks muniz_ri.

I updated to NG6. Not using your method.no root. Of course. Towel root didn't root it. I flashed back on odin. Had nova launcher installed. Flashed back to NC5...rebooted. When phone was up and running I got..."the android process.acore has stopped" over and over. Assuming that flashing back to NC5 with nova launcher installed was the issue. I then powered down device. Then hold power, home button, and up button. I did factory reset. Rebooted and everything was fine. Ran you're method now I'm on NG6 and rooted!!!

Also on Safestrap 3.75...

Again thanks soo much for the keep root OTA!!
[Verizon Samsung Galaxy S 4] Fadtydawg:
Will there be a Safestrap that works with the NG6 updated firmware? Safestrap 3.75 runs due to the NC5/NG6 root keep OTA, but the app won't open to Uninstall/Install recovery.
[Verizon Samsung Galaxy S 4] muniz_ri:
SELinux Mode Changer being set to premissive would solve that problem on NC5 but I have seen conflicting reports about it working on NG6.

You can also try flashing UPDATE-SuperSU-v2.14.zip in stock slot. It's now designed to tweak selinux policies which is what causes the safestrap app to FC.
[Verizon Samsung Galaxy S 4] Fadtydawg:
Selinux when I set to permissive as soon as I try to open ss 3.75 Selinux is back to enforceing. Won't stay on permissive. I flashed the update super su v2.14. No help though. Still won't open ss 3.75.

---------- Post added at 10:04 PM ---------- Previous post was at 09:51 PM ----------

I also tried terminal emulator ..su

Setenforce 0

..still did not work.
[Verizon Samsung Galaxy S 4] muniz_ri:
Here is a manual workaround unitl/if a solution is found: To manually uninstall safestrap recovery use Es File Explorer to delete system/etc/safestrap and system/bin/e2fsck, then rename system/bin/e2fsck.bin to e2fsck (save these files if you wish to manually reinstall Safestrap at a later time).
[Verizon Samsung Galaxy S 4] Surge1223:
Also, someone can try using this to install SS

https://www.dropbox.com/s/cgr6jtoopzhf01i/com.hashcode.safestrap-31.apk?dl=0

Note: There is nothing different about this version of SS and the currently available 3.75 other than the apk has been modified to try to set selinux to Permissive on install.

Edit: just uploaded a new version that uses quite a bit of trickery to set selinux Permissive, there's a good chance it will work.
[Verizon Samsung Galaxy S 4] muniz_ri:
Sweet. Hope it works!
[Verizon Samsung Galaxy S 4] Fadtydawg:
Thanks guys! muniz_ri and Surge1223. I'll give it a shot and see. Ty
[Verizon Samsung Galaxy S 4] rslu2:
Cant restore any backups -

I posted in the other safestrap thread, but I'll post here also.

Yesterday I could not get any backup to restore using a 3.75 backup and restore with Hyperdrive19 as the rom and an MK2 bootloader. Thinking there might be an issue with these three playing together I wiped everything and did a clean install of a stock NC5 and the PIT (from the no-wipe NC5 thread). With a clean install (which moved my bootloader from MK2 to NC5) I rerooted with Towelroot and installed SS3.75. I then did a backup of stock and created slot 1 . When I tried to restore that new backup to slot 1, SS starts to check the MD5, the screen goes off for a second or 2 and then returns to the main safestrap screen with no restore installed. I then wiped slot one and successfully installed Hyperdrive in slot 1 to prove it wasn't a slot 1 issue. I've also created a second slot successfully.

Creating slots and loading roms seems to work but I can't get safestrap to restore anything.

Any suggestions????
[Verizon Samsung Galaxy S 4] muniz_ri:
Good read: http://xdaforums.com/showthread.php?p=56128406
[Verizon Samsung Galaxy S 4] muniz_ri:
I reset selinux policies back to stock(mostly) on my i337 NI1 and the apk immediately set selinux to permissive. Nice work!

I am also going to try to update my latest ss apks to solve the install problem but without completely disabling selinux. If i am unsuccessful can i incorporate your changes into my versions?
[Verizon Samsung Galaxy S 4] Surge1223:
No need to ask my friend. Go for it!
[Verizon Samsung Galaxy S 4] muniz_ri:
Thanks, Surge. OP updated with new version!
[Verizon Samsung Galaxy S 4] cobra7361:
won't backup

I installed 3.75 successfully...

I uninstalled recovery...deleted 3.72 and installed 3.75

I have busybox...selinux...etc..

I have hyperdrive 17.1 as stock and trying to make backup then create slot and install 19

But backup of stock slot fails everytime...wont complete data...

Any help would be great
[Verizon Samsung Galaxy S 4] muniz_ri:
Try the latest version of ss posted late yesterday. Besides incorporating surge's changes i made a small change to the ramdisk in the latest version.
[Verizon Samsung Galaxy S 4] rslu2:
I've also been fighting the restore learning curve. Apparently on the initial release you can not restore across slots. Stock slot bu could only be restored to stock slot and slot1 bu could only be restored to slot1.

I'll try last night's update to see if that makes a difference.
[Verizon Samsung Galaxy S 4] muniz_ri:
If the problem persists I will add that to my op as a known issue. But I don't forsee having time to do much more work on ss in the near-term.
[Verizon Samsung Galaxy S 4] rslu2:
Seems like last night's release fixed it . I just restored my stock slot to slot1. Haven't done a slot 1 to stock but I assume if it works one way it will work the other.

Thanks for birthing a true safestrap. After what seems like years.
[Verizon Samsung Galaxy S 4] cobra7361:
Anyone else have peoblems making a backup?

I am set to permissive...downloaded new version and fails on bqckup..

It shows under settings...about phone i am permissive..

In new version of safestrap says enforcing...

I hit the button to set to permissive before install..

Any help would be greatly appreciated
[Verizon Samsung Galaxy S 4] Surge1223:
Well the button should still work, but the code for updating the status of selinux withing the ss apk is not present (I had issues getting it to work so I commented it out). However despite the apk not reporting selinux status, the option it self is fully functional.
[Verizon Samsung Galaxy S 4] muniz_ri:
I have added a note to the OP so that we can hopefully avoid this reoccurring question. Thank you.
[Verizon Samsung Galaxy S 4] Fadtydawg:
Yes muniz_ri.. and Surge1223. .If users would look at their phone settings it shows permissive. Again to for all of your hard work!!
[Verizon Samsung Galaxy S 4] cobra7361:
Well if u would have read my post...

I said it daid permissive on my phone...

[MENTION=4939386]Surge1223[/MENTION]

I still cant do a backup...it fails everytime..

Any advice or help would be great...please
[Verizon Samsung Galaxy S 4] Fadtydawg:
Do you use ES file explorer? If so the recycling bin may have files in it using your memory. That is the only time I have had issues with not being able to make a backup.
[Verizon Samsung Galaxy S 4] cobra7361:
I keep my recyxling bin off..

But checked anyway and nothing in it..

Any other ideas?
[Verizon Samsung Galaxy S 4] Fadtydawg:
Are you running NC5 build or NG6 build update?
[Verizon Samsung Galaxy S 4] cobra7361:
NC5 hyperdrive 17.1..
[Verizon Samsung Galaxy S 4] Fadtydawg:
I'm unsure. I would try reinstall SS 3.75 and see. Hopefully by then someone may know the answer.

To manually uninstall safestrap recovery use Es File Explorer to delete system/etc/safestrap and system/bin/e2fsck, then rename system/bin/e2fsck.bin to e2fsck (save these files if you wish to manually reinstall Safestrap at a later time).
[Verizon Samsung Galaxy S 4] Fadtydawg:
This is newest SS 3.75!!
[Verizon Samsung Galaxy S 4] cobra7361:
I already u installed and re installed new version...no dice..

Backup fails
[Verizon Samsung Galaxy S 4] cobra7361:
Could me having problems be linked to me being on a mk2 bootloader and on nc5?

I am gonna try and uninstall safestrap 3.75...reboot and then reinstall..

Any ideas is welcomed....please..I want to figure this out so I can have rom slots again..

Please any advice would be great
[Verizon Samsung Galaxy S 4] Fadtydawg:
Delete
[Verizon Samsung Galaxy S 4] mbabich17:
I can't get 3.75(A01 or the other one) to install after uninstalling recovery in 3.72 and deleting it from the app drawer. I get a message that says "App not installed: An existing package by the same name with a conflicting signature is already installed." Im on NC5 with Hyperdrive RLS19. SELinux is set to permissive, latest SU binary is downloaded, I even disabled its permissions in SU, no clue where to go next.
[Verizon Samsung Galaxy S 4] liljoe727:
Delete Busybox also. Reboot the phone. Reinstall Busybox from the play store. Go into Busybox and "install busybox" make sure Selinux is set to permissive. Install safestrap 3.75....profit.

"It was for freedom that Christ set us free; therefore keep standing firm and do not be subject again to a yoke of slavery." - Galatians 5:1
[Verizon Samsung Galaxy S 4] mbabich17:
No go. Ive dug through using ES explorer to find anything safestrap related and remove it so that i can install it from my card but when i try to install it it asks if I would like to install an update to a built in application. So maybe safestrap is built into Hyperdrive? I cant seem to get that message to go away. Also when i first flashed HD i had 3.75 installed on my stock NC5, i flashed the stock slot and when i went into SS it showed version 3.72 and the status was 'Newer Version Installed' but it gave me the same error when i tried to install the 3.75 apk.
[Verizon Samsung Galaxy S 4] muniz_ri:
It sounds like the rom may have ss 3.72 already in system. I will download it and confirm. Anyways if you have not already done so go ahead and push through the error message and install 3.75 apk and then hit uninstall recovery. After 3.72 is uninstalled hit install recovery to install 3.75.
[Verizon Samsung Galaxy S 4] liljoe727:
You already have 3.75 installed then. I'm on eclipse and it has 3.72 built in so when I go to my safestrap app it says "newer version installed" same as yours. Rebooting the phone still brings me to 3.75 though. If it's telling you that a newer version is installed then it is. When you reboot and go into safestrap it should say 3.75 at the top of the screen.

"It was for freedom that Christ set us free; therefore keep standing firm and do not be subject again to a yoke of slavery." - Galatians 5:1
[Verizon Samsung Galaxy S 4] Fadtydawg:
Muniz_ri would you have these SS files for 3.75? Rooted NG6 build. My SS will not install recovery..I try to install the recovery. Toast notification says it worked but doesn't. I don't see these files in system/bin. ? Any idea?
[Verizon Samsung Galaxy S 4] muniz_ri:
Use the latest v3.75-A01.
[Verizon Samsung Galaxy S 4] muniz_ri:
fyi..... I did some debugging on both versions of safestrap and was able to reduce the number of logged errors when doing things like wiping, flashing ROMs, and creating ROM slots. Don't know if it will result in performance improvement but if you have previously downloaded either version you may want to discard and re-download.
[Verizon Samsung Galaxy S 4] cobra7361:
I am on nc5 with mk2 bootloader..

Upgraded via surges method..
[Verizon Samsung Galaxy S 4] danveB:
how much space is it recommended for each rom slot? For some reason I cant go above 2760mb for system.
[Verizon Samsung Galaxy S 4] muniz_ri:
That is by design. Follow the link in the OP to read up on the limitations and known issues.
[Verizon Samsung Galaxy S 4] Hashbang173:
So far the only major problem I see is reboot or shutdown hanging on ROM slots
[Verizon Samsung Galaxy S 4] kfraz88:
Anyone know why I wouldn't be able to backup the stock slot? Always fails when I try. I am on the newest safestrap version. Worked fine when I had 3.72
[Verizon Samsung Galaxy S 4] liljoe727:
You can longpress the power button during reboot or power off and it stops the Rom from hanging. This works for me anyway.

"It was for freedom that Christ set us free; therefore keep standing firm and do not be subject again to a yoke of slavery." - Galatians 5:1
[Verizon Samsung Galaxy S 4] Flydude112282:
Quick question...If you don't like how much space is being used by making the ROM slots can you still install to the stock slot or do I have to roll back to 3.72?
[Verizon Samsung Galaxy S 4] liljoe727:
Stock slot works just fine.

"It was for freedom that Christ set us free; therefore keep standing firm and do not be subject again to a yoke of slavery." - Galatians 5:1
[Verizon Samsung Galaxy S 4] seifer44:
I can't get SELinux to go to Permissive. It'll stick with Enforcing. Not just in the app, either, but when I go to About Phone, I'm still set to Enforcing. Attempted clicking Install Recovery anyway, and the Safe System never lights up.

I'm running VRUFNG6. I ended up rooting with Odin and Towelroot with the method over in this thread. Titanium Backup has root, so I'm not sure if the method I obtained root is a problem or not. I have noticed that Towelroot doesn't prompt me for allowing root access to apps, though...
[Verizon Samsung Galaxy S 4] liljoe727:
You need some kind of app to manage your root permissions. I use SuperSU. That should be your fix.

"It was for freedom that Christ set us free; therefore keep standing firm and do not be subject again to a yoke of slavery." - Galatians 5:1
[Verizon Samsung Galaxy S 4] seifer44:
No dice. It's asking for permissions now, and gives me a popup after I try to change the SELinux settings, but when I check in About Phone, I'm still in Enforcing. Attempting to install doesn't do anything, either. Reboot doesn't show Safestrap.
[Verizon Samsung Galaxy S 4] liljoe727:
Delete your Selinux app and get the app pictured from the play store. Go into your Safestrap app and "uninstall recovery". Delete your Safestrap application. Get busybox installer from the Play Store. After Busybox installs, go into the app and "install Busybox". Go into the new SELINUX mode changer and set to permissive. Reinstall the Safestrap 3.75 APK and then go into the app and "install recovery". Profit?

"It was for freedom that Christ set us free; therefore keep standing firm and do not be subject again to a yoke of slavery." - Galatians 5:1
[Verizon Samsung Galaxy S 4] seifer44:
I didn't have an SELinux app before. Whoops :X

Regardless, my device isn't letting up. I followed those directions exactly, and Busybox installs appropriately, along with the SELinux Mode Changer, but once I click Permissive in that app and I go into my About Phone, I see it's still enforcing. When I reopen the SELinux Mode changer app and force it to refresh, the buttons show that I'm still enforcing.
[Verizon Samsung Galaxy S 4] liljoe727:
And you granted it superuser permissions through SuperSU?

"It was for freedom that Christ set us free; therefore keep standing firm and do not be subject again to a yoke of slavery." - Galatians 5:1
[Verizon Samsung Galaxy S 4] seifer44:
You bet.
[Verizon Samsung Galaxy S 4] seifer44:
So I jumped into a terminal app and ran as su. I was appropriately prompted by SuperSU and allowed it. Tried changing the selinux mode that way, and even though I don't get any output when I change it to permissive, when I check it on the cli right after (still su'd), it's still set to enforcing. This must be due to how locked down the OS is now.

I don't see this idea anywhere else in this thread, but would it be a good idea to flash to another kernel and then install SafeStrap 3.75, such as NC5? While I would love to test this out, I would hate to lock up my phone, as this is my primary device.

I'm on my way toward trying to get Cyanogenmod on this phone, so if I don't have to jump back to NG6, that's fine by me. I've gotten so frustrated with this update I don't want to deal with this stock firmware anymore.
[Verizon Samsung Galaxy S 4] muniz_ri:
Its worth a try.....flash the nc5 kernel and see if the ss v3.75-A01app functions normally. If it does work see if it continues to work once you reflash the ng6 kernel.
[Verizon Samsung Galaxy S 4] seifer44:
Okay, here were my steps.

While running NG6, I installed BusyBox and SafeStrap 3.75-A01.

Downgraded kernel to NC5.

Rebooted phone and installed SafeStrap by going to the app, changing to Permissive (which was successful), and installing.

a. Here's the tricky part. At this point, if I just reboot normally, SafeStrap does NOT load up appropriately. I am greeted with the SS screen upon boot, but it is not enabled. Boots up just fine.

b. If I reboot via the SafeStrap app at this point, I get various "X has stopped working" popups and then I get sent to the SafeStrap menu. Install appeared to be redded out, along with another button or two. I reboot again at this point, and I am greeted with SafeStrap showing it is not activated.

Upgraded kernel to NG6.

Reboot phone and SafeStrap still does not work. When attempting to open the SafeStrap app, it crashes before loading anything in the menu.

Pretty sure both 4a and 4b are the same issue, but I thought it was worth including in this post.

I was unable to check to see if installing BusyBox and the Safestrap app in kernel NC5 would work or not. Unfortunately, my device is really, really unstable, and I couldn't get it to stay on long enough to do much of anything it seemed like. I'll try that in a few days if nobody else beats me to it.

I'm happy to reproduce any of these results and provide logs or other information :)
[Verizon Samsung Galaxy S 4] muniz_ri:
Thanks for trying it! Take a look at this post I just made on my how to root thread: http://xdaforums.com/showpost.php?p=56484380&postcount=97

If you get a chance try the "safestrap method" at the bottom of that OP and see if you get the same results as my tester.
[Verizon Samsung Galaxy S 4] liljoe727:
Install being red on the menu along with wipe and stock is normal. Safestrap reading 'not enabled' is also normal. All that means is that the 'stock' slot or partition (whichever you prefer) is the currently active slot. Were you to create a partition under custom slot one and activate it, Safestrap would then read 'enabled' and the red would be gone. Safestrap is designed so that ideally you leave the stock partition alone (stock, rooted system) and flash your ROMS's in the 'custom' slots. The red and the 'not enabled' are simply there to remind you that whatever you're about to do, you're about to do it to the 'stock' partition. Since you are on NG6, it may be best for you to just flash the full wipe NC5 firmware and go back to NC5 as the only real improvement on NG6 is the modem, and even that is suspect in my opinion.

"It was for freedom that Christ set us free; therefore keep standing firm and do not be subject again to a yoke of slavery." - Galatians 5:1
[Verizon Samsung Galaxy S 4] ErisDev:
SS 3.75 not working with my NG6 device. I have SuperSU, Busybox, and SEL set to Permissive. I installed the app and clicked Install Recovery. It goes to 100% but its not working. Here is what I did and what is happening....

1. Was on NG6. Went back to NG5.

2. Installed TowelRoot and rooted.

3. Went back to NG6 (still rooted).

4. Downloaded SS 3.75 and put the APK on the phone. Installed the APK.

5. Ran 'Install Recovery'. It ran to 100%. I rebooted and it never prompted me with the SS screen. I went back into the SS App and it says State: Not Installed ,Safe System: Not Active. I have option to uninstall or install recovery. Did I do something wrong?

EDIT IN RED ABOVE: SELinux is still showing ENFORCING in the SS app but permissive in the SELinux app....
[Verizon Samsung Galaxy S 4] muniz_ri:
See the note at the top of my how to root ng6 thread.
[Verizon Samsung Galaxy S 4] ErisDev:
Ok since I was not a SS user before, so I just need to flash back to NG5 with kies or odin? I used the first method because I was not a SS user. Now that I am rooted I want to use safestrap.
[Verizon Samsung Galaxy S 4] muniz_ri:
correct use odin.
[Verizon Samsung Galaxy S 4] ErisDev:
Thanks I will try that and report back.

---------- Post added at 08:36 PM ---------- Previous post was at 08:25 PM ----------

Before I do this just want to confirm steps:

Flash back to NC5 via ODIN

Take the NG6 Update

Install TowerRoot APK

Go back to NC5 Kernal

Root

Flash back to NG6 Kernel

Install Super SU

Install BusyBox

Install SELinux Changer

Set to permissive

Run the SafeStrap 3.75 apk

Profit?
[Verizon Samsung Galaxy S 4] ErisDev:
It worked, thanks!
[Verizon Samsung Galaxy S 4] ErisDev:
Any update on the power down problem?
[Verizon Samsung Galaxy S 4] sinner822:
Xposed Advanced power menu works.
[Verizon Samsung Galaxy S 4] ErisDev:
Nice, I will give that a shot, thanks.

---------- Post added at 09:54 PM ---------- Previous post was at 09:29 PM ----------

Ah, doesnt work with hyperdrive.
[Verizon Samsung Galaxy S 4] 06sharpshot:
I'm having an issue when flashing ROMs to slot 1. I flash the rom and it all seems to work but text messages and calls wont work even though I have bars of service.
[Verizon Samsung Galaxy S 4] muniz_ri:
That is not a safestrap issue, please post in the rom's thread for assistance. thx
[Verizon Samsung Galaxy S 4] 06sharpshot:
I posted here as it happens with every ROM I've tried with Safestrap 3.75 leading me to believe that it is an issue with Safestrap and not the rom.
[Verizon Samsung Galaxy S 4] DX.Deception:
I don't have that issue with 3 roms in slots
[Verizon Samsung Galaxy S 4] 06sharpshot:
Have you run any of the AOSP roms that people have got working? I tried out the hacky GE edition rom that is working on the Verizon S4 as well as super-nexus but neither of those worked with cell service for me on rom slot 1. I currently got Hyperdrive to work so I guess that means my Safestrap is fine.
[Verizon Samsung Galaxy S 4] DX.Deception:
I'm running Super Nexus right now, did you flash the apn fix?