yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] TodWulff:
Moin, [MENTION=4365091]numbR7[/MENTION]

Slots are the underpinnings of SafeStrap's implementation. Safestrap can be learned about here and here. If you're on a AT&T S4, this thread is quite useful.

In the context of this thread, putting a new ROM into the stock slot is basically replacing the Host OS on the device, whereas putting a new ROM into a ROM-Slot is basically adding a guest OS. If you are familiar with VMs, this is pseudo-synonymous (LOL). Another valid mental construst is the multi-boot scenario on a desktop PC: "There Can Be Only One" (sorry, Highlander fan here) ROM running at a time. The stock slot is the lowest most OS that houses the other OS' as guests in its file system.

Hope that this may help you and possibly someone else. Take care.

-t

EDIT: [MENTION=2231960]Michael3214[/MENTION] beat me to the punch... ;)
[AT&T Samsung Galaxy S 4 General] DraKuL71:
I'm having trouble getting safestrap to recognize these backups. I've used SS many times before to restore backups that it had created but not external ones. When I drop the decompressed tar file onto an sd card safestrap acts like its not even there. I've tried it in both tar and in the original gz formats. What am I missing?
[AT&T Samsung Galaxy S 4 General] dave5777:
Are you using SS 3.71? Try extracting with root explorer that's what I used to create them.
[AT&T Samsung Galaxy S 4 General] DraKuL71:
Yep, using SS 3.71. So extract them all the way down to the files and folders level? Will give that a shot. Thanks! :)
[AT&T Samsung Galaxy S 4 General] DraKuL71:
Got it! The sweet smell of success when a ROM boots up with wifi already working (just like the good old days lol).

I had to use SS to create a mock backup of ROM slot1 just to see where it placed the files. Then I took the files I had extracted from your file and manually placed them in that folder after deleting the ones SS had created. Went to restore in SS and it started the restore onto ROM slot2. Awesome. Thank you very much.

BTW, I've been on Android since January so I'm still learning this stuff. Was a BB user for many many years and gave iCrap a short-lived opportunity but I'm digging this and enjoying adding this platform to my growing list of hacked devices and services. :)

The problem is I can't stop playing. It's an addiction when 50% of the time my phone is being tinkered with instead of being used for its manufacturer intended purposes ;)
[AT&T Samsung Galaxy S 4 General] bluemax189:
Can we get a real fix for this? Im no developer at all but also tried installing the samsungime.apk from my wifes MDL s4 (mine was insurance replaced already updated). I had an issue with wifi but got that working thanks to the bypasslkm script insert but not sure how to get back my Samsung keyboard.

Little more info on my setup,

currently downgraded to MK2 from NB1, no safestrap, I like stock touchwiz just needed to get my data from tibackup back on the phone. Everytime I try to actually do the NB1 update now it fails. I can not revert back to stock and update since I need my data within my apps, well about 2-3 apps that will not back up any other way.
[AT&T Samsung Galaxy S 4 General] dave5777:
You shouldn't have any problems flashing the full nb1 odin back to stock.
[AT&T Samsung Galaxy S 4 General] jimsond:
I did the downgrade from NB1 to MK2 reboot and did a full wipe/factory reset and reboot go into setting and it is on 4.3 but I can't turn on wi-fi
[AT&T Samsung Galaxy S 4 General] dave5777:
You have to root with safe root. Then use bypasslkm to fix WiFi read through the last 6 or so pages. You also have to add the APN. You could just install safe strap then restore the black box backup I posted it has the bypasslkm on boot.
[AT&T Samsung Galaxy S 4 General] ttt3008:
No sound for me

I have tried flashing your bypass files into the system through Safe Strap 3.71. It boots up with full WiFi but I still cant get the sound to work.

Thanks
[AT&T Samsung Galaxy S 4 General] dave5777:
Are you on stock? Try restoring one of the backups I posted.
[AT&T Samsung Galaxy S 4 General] mickymauz:
can someone please post a mirror for the md5 file? thanks
[AT&T Samsung Galaxy S 4 General] andrewdroid:
I have to replace what was once a wonderful MDL Samsung GS4 for a new one from AT&T after the camera just conked out. :(.

Anyway, I'm pretty sure the next one will be locked down, but I don't care so much as long as I can get root. Anyway, assuming they end up putting NB1 on the new one I get, there's no root.

If I downgrade to stock MK2 (using this guide), then root using Kingo or whatever, will that trigger the Knox Warranty Void flag?

Can the people who have done this, check the Knox status for me by going into Download mode? It should say in there.

(For the Note3, but things are the same for ours)

http://www.kingoapp.com/help/samsung-knox-counter.htm
[AT&T Samsung Galaxy S 4 General] JustMeToo:
If it just the camera it's an easy thing to repair. The camera can be replaced in a few minutes and is not expensive.
[AT&T Samsung Galaxy S 4 General] tomacito:
not quite successful

Greetings, updated my ATT S4 to 4.4 from 4.3 (wasn't thinking) lost root and the ability to tether. tried this method and all seemed to go well however I cannot activate Wi-Fi. I have re-tried this method to no avail. suggestions?

// editdogg
[AT&T Samsung Galaxy S 4 General] dave5777:
If you're rooted you can add Init.d support and use universal init.d to run bypasslkm at boot. If that's too complex you can restore one of the backups with bypasslkm on boot.
[AT&T Samsung Galaxy S 4 General] kpirnie:
ive checked and done this a few times... currently on 4.4.2 knox shows 0x0
[AT&T Samsung Galaxy S 4 General] andrewdroid:
phew. so that's good.

---------- Post added at 05:25 PM ---------- Previous post was at 04:50 PM ----------

I'm confused about this wifi fix thing after downgrading.
[AT&T Samsung Galaxy S 4 General] cnewsgrp:
I am little nervous about wifi - Wish it was something simpler. Anyway to automate that so that it will always stay on.
[AT&T Samsung Galaxy S 4 General] dave5777:
Yes read through this thread. You can automate it with init.d .
[AT&T Samsung Galaxy S 4 General] jimsond:
can someone please tell me how to go back to 4.4.2. I have tried to get wi-fi to work and know i can't do the update with out wi-fi. So please help I have tried this all day and read ever thing I am all confuse..
[AT&T Samsung Galaxy S 4 General] dave5777:
Did you root with safe root? Then copy bypasslkm onto your phone open with a root explorer and select open with Linux script handler then your Wi-Fi will work but I wouldn't use the OTA update to get back to 4.4.2. You should flash the nb1 full Odin that's posted in the general section. I'm thinking about making a flashable zip to add init.d and bypasslkm.
[AT&T Samsung Galaxy S 4 General] Maribou:
Maybe it's just me, but options like smart stay, smart pause, and air gesture works about half the time since I updated to NB1. I am running stock NB1 now, and it only works every now and again. but if I run a custom ROM, it works without a problem. Freaking weird.
[AT&T Samsung Galaxy S 4 General] jimsond:
i did what you said and it still doesn't work.
[AT&T Samsung Galaxy S 4 General] mickymauz:
Mirror please... I can't download the MD5 file.. pretty please???
[AT&T Samsung Galaxy S 4 General] TodWulff:
This one?: AP_I337UCUEMK2_1921628_REV06_user_low_ship_MULTI_C ERT.tar.md5

If so, it is uploading to one of my dropbox accts: It'll take an hour or so but can be d/l from here: https://www.dropbox.com/sh/ay8ppxr0648pl5j/f22xSmP3oV

I suspect that it will be avail at ~0000hrs (UTC-05:00) on 12Mar14.
[AT&T Samsung Galaxy S 4 General] DraKuL71:
If your goal is to go back to 4.4.2 stock then you don't need a permanent bypasslkm solution or an automatic enabler as described here. That solution is for us wishing to stay on rooted MK2. For your situation, simply Odin back to MK2, boot it and run Saferoot to get your root back because you will need it to complete your objective and then either:

1) copy bypasslkm to your device via adb or

2( put it on your sd card and using root browser or root explorer, copy it to a location on your phone.

Once its on your phone change its permissions via a terminal emulator (or other means) using chmod 755 byoasslkm. Once done, run it once. Then turn on wifi manually. Within minutes, the AT&T software update will run and you'll be on your way to a legit 4.4.2 OTA install.

I know for a fact this works because each time I boot into my stock rom which is an Odin'd MK2 rom from this thread and I enable wifi, the software updater starts to download almost instantly.
[AT&T Samsung Galaxy S 4 General] mickymauz:
Yes that one. Thank you very much
[AT&T Samsung Galaxy S 4 General] ted77usa:
[MENTION=3085247]mickymauz[/MENTION] u can also download it from my other thread http://xdaforums.com/showthread.php?p=49687770 download MK2-4Files-tar.Md5

Swyped from HTC ONE XL BlueICESense-JB
[AT&T Samsung Galaxy S 4 General] TodWulff:
Probably before midnight EST...:
[AT&T Samsung Galaxy S 4 General] dave5777:
For everyone who can't figure out bypasslkm flash this in safe strap. I have tested it on stock mk2. Reboot open universal init.d toggle on grant su then long press nb1wififix and press the play icon at the top right.

After a few seconds your Wi-Fi will be on. This should also work on custom Roms.

https://mega.co.nz/#!dct3ALRT!e81l_VG_1YURnCv_gsvtuTVO8prBdLaYu_yKvCYeHhg
[AT&T Samsung Galaxy S 4 General] rebel1699:
I HAVE A 4.4.2 ROM INSTALLED AND BOOTED THROUGH SS!!!!! Venom 3.0!!! It is fully rooted, and fully functional. Phone, sound, wifi and all.

[MENTION=2284570]ted77usa[/MENTION] [MENTION=4980764]Maribou[/MENTION]

Please stay tuned. I have no plans to hog the fun. I will get everything uploaded and ready.

Can i just say, having the first (i think) locked bl on 4.4.2 rooted feels cool as he77.

EDIT: The newest Golden-Eye 4.4.2 nb2 is now booting as well. Flashed with nb1 modules, and booted with no issue. It does NOT retain root.
[AT&T Samsung Galaxy S 4 General] dave5777:
I got a ? Did you downgrade from nb1?
[AT&T Samsung Galaxy S 4 General] rebel1699:
Yes sir. :)

But, im also making a version with mld files, so people who never left mk2 can also get in on the fun, without being stuck on nb1, since mld can be downgraded
[AT&T Samsung Galaxy S 4 General] dave5777:
Awesome!
[AT&T Samsung Galaxy S 4 General] John The Rhino:
Looks like we'll have to make a bronze statue of you as well. Great job man. Looking forward to it.
[AT&T Samsung Galaxy S 4 General] pendragon11:
I must have had a few too money beers. What was thqt? I dont have to work tomorrow? Just flash ROMs?

Sweet, work sucks, fight the man, rebel for pres or pirate captain (whichever he can unlock)
[AT&T Samsung Galaxy S 4 General] dave5777:
There goes my productivity at work tomorrow :p
[AT&T Samsung Galaxy S 4 General] Surge1223:
Good work! Can I just say that you allowed to type "hell" here..you dont have to revert to 3rd grade calculator methods lol.

Let me know if you need any help. I hope your method works for people who haven't upgraded to nb1 yet
[AT&T Samsung Galaxy S 4 General] rebel1699:
I do have one version for people still on mk2, by using mld files, in place of nb1. Still having it tested though. Since im on an nb1 revert, i cant test it myself. Im hoping for the best.
[AT&T Samsung Galaxy S 4 General] cnewsgrp:
I am on stock NB1 and would like to root and install Custom ROM using SafeStrap. Please confirm I need to do this - Everything is from First POST.

Step1: Download 3 files from Post#1

1) JFLTE_USA_ATT_16G.pit

2) 1AP_I337UCUEMK2_1921628_REV06_user_low_ship_MULTI_C ERT.tar.md5

3) ODIN3_v3.09.zip

Step2: Go to download mode and ODIN the two files - PIT file in PIT slot and second file in PDA slot.

Step3: Boot into recovery and choose full wipe/factory reset

Step4: Re-root using SafeRoot

Step5: Reinstall SafeStap 3.71

Step6: Install Wifi Fix from this Post in SafeStrap

Step7: Install any compatible ROM using SafeStrap.

OP/Expert: Please help - review and help on step 6/7

TIA
[AT&T Samsung Galaxy S 4 General] Maribou:
Awesome job reb!!! Thank you for all your hard work!
[AT&T Samsung Galaxy S 4 General] dave5777:
If you look about 9 post back I posted a flashable zip that you can flash after your ROM or on stock.

I explain in the post how to use it you have to enable it once then it will be automatic on every boot.
[AT&T Samsung Galaxy S 4 General] Venom0642:
Hmm why am i the guinea pig in making the Deadly Venom Rom for Safestrap lol, Great Job i am glad that we got it working ted77usa just texted me thru hangouts and can comfirm it works:good:
[AT&T Samsung Galaxy S 4 General] rebel1699:
Thanks [MENTION=4631220]Venom0642[/MENTION] ! I very much appreciate you building these for us to test on. Super cool, and glad to have your work running on my phone.
[AT&T Samsung Galaxy S 4 General] Venom0642:
No problem i am happy to help and glad for you guys Take a look at here: http://xdaforums.com/showpost.php?p=51026063&postcount=641

---------- Post added at 07:37 AM ---------- Previous post was at 07:33 AM ----------

One request tho since i made a special Edition For Safestrap users and i Only ask once we got it post it the rom for all Safestrap users all i ask is first post for everyone to start Hitting the Thanks

Button on my Deadly Venom v3.0.0 thread and hit the Rate Thread on top right corner and rate it 5 stars not much to ask Thanks! :good:
[AT&T Samsung Galaxy S 4 General] rebel1699:
You bet. Youll have the first 4.4.2 compliant ss rom! Sweet!
[AT&T Samsung Galaxy S 4 General] Venom0642:
Thanks:good: Not only that but the Rom Odexed and is faster, so i am glad it was Odexed:)

---------- Post added at 08:05 AM ---------- Previous post was at 07:51 AM ----------

Want me to build Dark Carnage 4.4.2 S.S EDITION And hold on to it for you to test as well ?
[AT&T Samsung Galaxy S 4 General] rebel1699:
Well, shoot yes, lol.
[AT&T Samsung Galaxy S 4 General] ted77usa:
Off course..... but let me get this DVSS v3.0 straight first and also still waiting [MENTION=4980764]Maribou[/MENTION] [MENTION=2924695]dave5777[/MENTION] to confirm on their phone after downgraded to MK2

Swyped From MK2 Dark Venom SS Edition
[AT&T Samsung Galaxy S 4 General] Venom0642:
Ok will do and upload it for test will pm you and ted77usa anyone else i need to pm it to let me know!:good:

---------- Post added at 08:10 AM ---------- Previous post was at 08:08 AM ----------

Ok will do bud [emoji106]

Sent From My Galaxy S4 SAMSUNG-SGH-I337 Running On New Deadly Venom v3.0.0 KitKat 4.4.2
[AT&T Samsung Galaxy S 4 General] cnewsgrp:
I edited the instructions. Do the instructions in this updated Post look ok? Please confirm and I will do this in the evening.
[AT&T Samsung Galaxy S 4 General] jimsond:
Thanks that works with stock rom but it is not working with Wicked 9.1 I am going to try 8.0 or what rom will work ?
[AT&T Samsung Galaxy S 4 General] dave5777:
Did you open universal init.d and toggle on and run nb1wififix?
[AT&T Samsung Galaxy S 4 General] Maribou:
Confirmed working on my end. You guys are Awesome! Thanks again.
[AT&T Samsung Galaxy S 4 General] jimsond:
yes i did that and it doesn't work
[AT&T Samsung Galaxy S 4 General] dave5777:
If the ROM already has init.d support just put nb1wifix in the init.d folder and bypasslkm in /data/local/tmp/

Fix permissions in both files.
[AT&T Samsung Galaxy S 4 General] Dhs92:
Thanks again Ted :) :good:
[AT&T Samsung Galaxy S 4 General] jimsond:
Thanks will try but can you tell me how to fix permissions
[AT&T Samsung Galaxy S 4 General] dave5777:
Use root explorer toggle rw long press and then set permissions.

---------- Post added at 08:46 AM ---------- Previous post was at 08:11 AM ----------

Confirmed working on mine Thanks everyone! !!!
[AT&T Samsung Galaxy S 4 General] Maribou:
DVSS v3.0 is great on battery life. Inserting the USB cord made me jump though. I was not expecting that crazy sound! :D
[AT&T Samsung Galaxy S 4 General] kpirnie:
I think I am lost in this thread now. Feom the last post I saw does this mean NB1 is rooted and rootable now?
[AT&T Samsung Galaxy S 4 General] dave5777:
No this means that if you took the NB1 update you can downgrade to mk2 root install safe strap then flash 4.4.2 Deadly Venom and odin the files needed to boot. So no you can't root stock nb1 but you can run a nb1 custom rom :)
[AT&T Samsung Galaxy S 4 General] Venom0642:
Ok i Pmed ted77usa for Dark Carnage v2.0.0 De-Odexed NB9 and Deadly Venom v3.0.0 ODEXED NB1 for Safestrap Also fixed the Scripts On Deadly Venom!
[AT&T Samsung Galaxy S 4 General] kpirnie:
RATS. ;)
[AT&T Samsung Galaxy S 4 General] Venom0642:
Will do The Other Deadly Venom v2.0.3 De-Odexed NB2 For Safestrap as well much later!
[AT&T Samsung Galaxy S 4 General] Maribou:
The good thing is [MENTION=833788]rebel1699[/MENTION] has us a 4.4.2 SS of DV that has everything enabled already. Root is working, and No more manually configuring bypasslkm. Everything works on boot. It's pretty freaking awesome. These guys [MENTION=833788]rebel1699[/MENTION] [MENTION=2284570]ted77usa[/MENTION] [MENTION=4631220]Venom0642[/MENTION] really went above and beyond for us. I can't thank them enough.
[AT&T Samsung Galaxy S 4 General] kpirnie:
Amen to that!
[AT&T Samsung Galaxy S 4 General] ted77usa:
[MENTION=4980764]Maribou[/MENTION] [MENTION=2924695]dave5777[/MENTION] u guys are also make huge contribution by just helping us to test it...... without u guys this won't be happened.....[emoji106]

Swyped From MK2 Dark Venom SS Edition
[AT&T Samsung Galaxy S 4 General] Maribou:
Thanks Ted. :good:
[AT&T Samsung Galaxy S 4 General] Kamaole:
Will the 4.4.2 ss update work for those of us that already have the new bootloader?
[AT&T Samsung Galaxy S 4 General] ted77usa:
[MENTION=5532091]Kamaole[/MENTION] ...Yes....u need to be on NB1 and use this downgrade method to get back to MK2 so u would be able to root.....install safestrap again and install new Deadly Venom v3.0 kitkat Edition (not yet release to public). We also have another method for MK2 user that never take an update to NB1 so they would be able to install Deadly Venom v3.0 Kitkat Edition......huge thanks for [MENTION=833788]rebel1699[/MENTION] that been working almost a week with me to get Deadly Venom V3.0 to boot up.....and finally it paid off .....IT WORKED last night...[emoji106]

EDIT 1: [MENTION=898720]cnewsgrp[/MENTION] .....Yes I would post the link and guide for MK2 user and NB1 user that downgraded to Mk2

Swyped From MK2 Dark Venom SS Edition
[AT&T Samsung Galaxy S 4 General] kpirnie:
If I do decide to go this route. (which more than likely I will).

I would be looking to maximize usable space for the romslot(i like to stay away from flahing into the stock slot)... whats a safe size I can shrink the stock slot down too without messing it up?
[AT&T Samsung Galaxy S 4 General] cnewsgrp:
To the instructions to install deadly Venom will be posted tonight?
[AT&T Samsung Galaxy S 4 General] Maribou:
Correct. Ted is at work and said he will get everything ready and posted tonight.
[AT&T Samsung Galaxy S 4 General] kpirnie:
Hate to sound like a begger (and sorry if I'm missing something), but is there a download for DV 3 yet?

Just actually have some time on my hands, and looking for getting it running :) I love KitKat and what it does to my beast :) just hate all the extra bloat garbage from AT&T and Samsung...
[AT&T Samsung Galaxy S 4 General] Maribou:
See my post above.
[AT&T Samsung Galaxy S 4 General] kpirnie:
Downloading the files now, depending on how long that and the UL takes, I'll have some mirror links :)
[AT&T Samsung Galaxy S 4 General] Maribou:
I tried to downgrade. It does not work for me. It said I was on 4.3, but I wasn't able to Odin back to stock. I just bricked. Maybe I did something wrong.
[AT&T Samsung Galaxy S 4 General] kpirnie:
Confirmed. The unbrick method worked.

I am going back to MK2 however, due to lack of root yet for this. :)
[AT&T Samsung Galaxy S 4 General] Cozmo1:
Would be interesting to know if you can coming from a final release of KitKat. The KitKat leak release could, but it's believed the qfuse was only turned off on the leak for its testing and that the final release has the qfuse re-enabled making going back to MK2 impossible. Let us know, please.
[AT&T Samsung Galaxy S 4 General] kpirnie:
Could not use the normal MK2 ODIN flash to downgrade. Had to use the files from this post here :crying:
[AT&T Samsung Galaxy S 4 General] Maribou:
I'm confused as to how you are going to downgrade after you have flashed the Nb1 bootloader. It's impossible right?

---------- Post added at 10:53 AM ---------- Previous post was at 10:51 AM ----------

That's what I thought. That's exactly what happened to me. It's impossible to downgrade with Odin.
[AT&T Samsung Galaxy S 4 General] kpirnie:
I am completely bricked :crying:

The Unbrick files from here flashed through Odin, but I could not do anything further
[AT&T Samsung Galaxy S 4 General] Maribou:
First:

Confirm if you can make it to download mode.

If you don't have the 4.4 update.zip in your SD card find a way to get it there.

If you can, grab the I337_4.4_Unbrick_Part1.tar.md5, and I337_4.4_Unbrick_Part2.tar.md5.

Flash them via Odin.

When it completes, reboot into stock recovery, and flash the update.zip from SD, or ADB sideload.

I flashed from external_SD, and I had no verification errors.

It worked for me anyway.
[AT&T Samsung Galaxy S 4 General] kpirnie:
Should I re-partition? I can get into download mode. And am re-flashing those 2 files right now.
[AT&T Samsung Galaxy S 4 General] ted77usa:
U don't have to..... But if u put 16Pit files then u have to check Re-partition

Swyped From MK2 Dark Venom Hybrid SS Edition
[AT&T Samsung Galaxy S 4 General] kpirnie:
Sorry buddy, I don't even know what 16pit files are LOL
[AT&T Samsung Galaxy S 4 General] Maribou:
Don't repartition. Just flash the 2 files. Reboot recovery, and flash the update.zip
[AT&T Samsung Galaxy S 4 General] kpirnie:
Reflashed both files, was able to get into recovery (after a couple regular Samsung Galaxy s4 screens with no blue recovery text... must be fat fingers lol).

Re-applied the update. Back to stock 4.4.2

I can confirm, there's no going back once this update's applied.

Now, I just have to wait for root so I can get rid of all this AT&T garbage... (again)
[AT&T Samsung Galaxy S 4 General] :
This has to be the most obnoxious and annoying subject line on this forum.Its like a wart on the first page of this board.

Cant a mod edit it ???
[AT&T Samsung Galaxy S 4 General] NighthawkXL:
Can we get some clarification on the downgrade method? From what I can tell both by the steps in the guide and the included screenshot the NB1 bootloader is still installed after rolling back while the build itself goes to MK2. I don't recall us ever be able to do this sort of thing with past builds it could very well be slip up in Samsung's code. It might behoove us to pass this information onto Surge and Co. to see what's going on behind the scenes to allow us to do this despite the certs being different.
[AT&T Samsung Galaxy S 4 General] jd1639:
Pm.sent
[AT&T Samsung Galaxy S 4 General] cnewsgrp:
Until there is root you can disable the apps. In app drawer choose uninstall/disable apps.
[AT&T Samsung Galaxy S 4 General] kpirnie:
Much obliged. I had forgotten about this. Hopefully it'll work for the att crapware :)
[AT&T Samsung Galaxy S 4 General] Maribou:
It's not a downgrade method. After you flash the 2 tar files. If you go to about phone after restart, it says " 4.3 " under system version.

From what I can tell, it just mask the version number, and makes the update installer think it is stock MK2. so people who are rooted, wouldn't have to odin back to stock before applying the 4.4 update fom SD card, or adb sideload. Maybe I am wrong, but it's even stated here:

So, we should have already assumed before hand that this is not an actual " downgrade from NB1 to MK2 method".

There is no way to downgrade your bootloader to MK2 from NB1. Not possible at this point in time.

But, I can confirm that if you mess up, you can still get into download mode, you can flash the 2 files, and re-flash the 4.4 update.