yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] muniz_ri:
[MENTION=833788]rebel1699[/MENTION] [MENTION=2284570]ted77usa[/MENTION] [MENTION=1051157]ITNV[/MENTION]

Looks like they are using the BL from the 4.4 leak FMLD which is brilliant. That was a 4.4 BL but with the same qfuse counter as MK2 meaning if you flash that you can still go back to factory stock MK2. Here it is: https://mega.co.nz/#!dhcAkQZJ!s9sN2tIM1fx-vZYEM5PPr21jkRFVveCF8dkIZP2nXR8

If you decide to flash it please let me know if it works and I will update the OP. Thanks

Those on NB1 should not flash this, there is a good chance it will hard brick your phone.
[AT&T Samsung Galaxy S 4 General] AGCleric:
Flashing a different Custom 4.4.2 Rom

Thanks so much for this guide - after a few tries I'm successfully on rooted NB1. However, I wanted to try out one of the GPE Roms like Virgin (I just prefer a stock Android experience). After successfully following the OP here, I flashed the MK2 stock kernel listed above, but upon reboot the phone was stuck in a bootloop and the At&t logo just changed from blue to orange. I couldn't get back into Safestrap or anything, so I just went through the whole process again from start to finish.

Should I be able to flash a GPE Rom like Virgin in Safestrap after successfully following this guide? What would those steps entail? What would happen if I just flashed the GPE Rom then flashed the I337 Stock Partitions - would that solve it?

Thanks again for all your work!
[AT&T Samsung Galaxy S 4 General] muniz_ri:
After wiping my ROM and flashing the new ROM all you have to do is before rebooting go into dowload mode and flash the NB1 kernel: https://mega.co.nz/#!p10mCbZS!-C2I4KruevUtyiURZ1FHkM2LOtWFRVUrT1c1UYw7ZLQ

I had that step in the OP but removed it. I will re-add it but be sure the new ROM is made for your phone and for safestrap.
[AT&T Samsung Galaxy S 4 General] pj1000:
Will this work for the UCUFMDF MDF V1 Release 1 on 4.4.2 ? Thanks.
[AT&T Samsung Galaxy S 4 General] ted77usa:
[MENTION=4708661]muniz_ri[/MENTION] u are absolutely correct. For MK2 user method we used MLD BL AP CP for kitkat magic tool. For NB1 user method we used ONLY AP CP since BL already 4.4. [MENTION=4708661]muniz_ri[/MENTION] BTW this is awesome rom for those who love rooted stock and maybe u should debloat all att bloatware too ...even better...[emoji41][emoji106]

Swyped From MK2 Dark Venom SS Edition
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Thanks, Ted. OP updated.
[AT&T Samsung Galaxy S 4 General] Droidimlookingfor:
OK, can positively confirm that the FMLD bootloader works. It looks like you confirmed this already, but thought I would chime in too. Wiped Deadly Venom and installed the stock ROM. No lockscreen issues, all options are available. Thanks for the help.:laugh:
[AT&T Samsung Galaxy S 4 General] Maribou:
Downloading this bad boy right now. I like using custom Rom's, especially the Deadly Venom series. :D

But there is just something about having a stock Rom that I customize myself. It's sexy. :victory:
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Glad to hear it. Thanks for confirming!
[AT&T Samsung Galaxy S 4 General] kpirnie:
grab libgnustl_shared.so for inaide the roms .zip file. its in /system/lib

copy it to your devices /system/lib folder set permissions and reboot

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 General] jherring002:
got it working this am. Thank you very much
[AT&T Samsung Galaxy S 4 General] wwcjr91:
At the risk of being flamed (and repeating somebody else's sentiments):

It should be specified in the OP that it's the AP slot, not PDA. Even for people experienced, it can add a little confusion. The Odin version that's used with the tar has the PDA replaced with AP.

If it seems like I'm being whiny, cool. But it's outdated, at least for this version of Odin, and it's nice to stay current.

Thanks! :)
[AT&T Samsung Galaxy S 4 General] jherring002:
That would have helped me. But I just downloaded odin 3.07 which still had the pda button.

:)
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Did you remember to wipe before flashing the rom?
[AT&T Samsung Galaxy S 4 General] MrSimmonsSr:
I did! I followed your directions and picked Advanced Wipe and checked everything but the external card. It said it wiped successfully..

Any other suggestions? Thanks!
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Double check you used ss v3.72, if you made a back-up of your mk2 system restore then reinstall ss once again and re-flash. Could also be a bad download. As a last resort start from step 1. Good luck.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
OP updated,
[AT&T Samsung Galaxy S 4 General] loganfarrell:
Either way, the reinstall fixes it.

Edit: I was able to replicate that black screen issue that one guy was talking about. I found out that after something I did, Safestrap and it's boot screen now come up with a black screen. That is bypassed by pressing the back button and it boots into system. But now SS isn't working.
[AT&T Samsung Galaxy S 4 General] jherring002:
okay i extracted that file, when i try to move it there with es file explorer with root granted it says permission denied... any suggestions? so it appears i do not know how to set permissions....

figured it out... thanks

moved that file there, yet still no rotate....
[AT&T Samsung Galaxy S 4 General] MrSimmonsSr:
So today I'm starting over from step 1 and hoping for better luck this time. I must have screwed something up.. I was using the proper beta version of SS 3.72 (B01) so I think I'm good there. This time I will use SS to backup my rooted MK1 install so I won't have to do the whole process from scratch again if anything goes wrong. That is a good idea. I've also redownloaded everything that didn't have an embedded checksum (like the ODIN files) to make sure my files weren't mucked up when I downloaded them.

Question.. Will flashing the NB1 rooted build without tethering and then adding the tethering add on file put me in the same destination state as flashing the NB1 with tethering? (I downloaded both sets of files to my SD card so I can try both approaches this time if needed.) If I end up in a bad spot again I might try flashing the rooted NB1 rom without tethering and then flashing the tethering add on over it to see if that approach works any better for me.

Last night I ended the evening by flashing the full, original AT&T stock ROM and everything came up and worked as expected, so at least I know I can get back to that original state if needed..

Question, why do you suggest freezing the apps with tibu pro instead of deleting them? I'm worried that the Mobile Iron will see them as frozen and detect that I've been rooted. I don't know enough about what tibu actually does with a frozen app to know if that is a risk or not. Additionally, it seems like freezing them would just cause them to continue to take up storage that I'd rather have free.

So what is the advantage of freezing them instead of just deleting them? I'm just curious what your motivation is for that recommendation.

Thanks again for all your help!!

MrSimmonsSr

---------- Post added at 08:40 AM ---------- Previous post was at 08:20 AM ----------

For the record, the OP still says PDA in the Odin instructions.. You updated step 6 but forgot to update step 2.. :)
[AT&T Samsung Galaxy S 4 General] loganfarrell:
Upon further examination, reinstalling the apk gets the apk working again... But breaks the SS recovery. I glanced over to the SS page and read that a sig issue can cause a black screen like I am having. Can you walk me through how to push the app to /system like you did and set privileges? Many thanks in advance.
[AT&T Samsung Galaxy S 4 General] MrSimmonsSr:
Worked like a champ this time.. Maybe the NB1 with tether had gotten mucked up during download last time? Might be worth generating the MD5 for the stuff you have people flash from SS so that SS can confirm if they are messed up before it tries to flash them?

Thanks again for all your help! I'm rooted now with tethering enabled. I'm going to go delete my apps using tibu (unless you get a chance to jump in here quickly and let me know why you recommend freezing them instead) and unroot the phone and I should be golden!

Thanks so much for all your help and all the work you've done to make this possible! Donation headed your way shortly, Sir!
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Glad it worked out. Also, there seem to be dependencies between some of the samsung apps and functions such as motion where if deleted those functions will malfunction. Also, the next ota update will fail if any apps are missing or with the tethering option. Donation link added to OP. Thank you.
[AT&T Samsung Galaxy S 4 General] kpirnie:
copy the apk from your sdcard to your devices /system/app folder and set the permissions in it like the screenshot... then rebootd

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 General] loganfarrell:
Didn't fix my issue with SS recovery not working. Oh well. I have time to wait for a fix/new version.
[AT&T Samsung Galaxy S 4 General] ClubWDW:
I may or may not have deleted an app or two before figuring out the freeze option ...can't remember...any way to reflash via SS record very (I will need to reinstall...I deleted it) without needing to fire up ODIN again for the partitions afterwards?

Edit: I suppose I should say that I came directly from MK2 and used Option 1...
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Backup your Data using SS, re-flash the ROM, then restore your Data. No need for Odin and these steps will reinstall any deleted apps.
[AT&T Samsung Galaxy S 4 General] ClubWDW:
Awesome! Will I need to reflash the lock screen thingy in ODIN?
[AT&T Samsung Galaxy S 4 General] muniz_ri:
No, but you should also know that you will have to re-install any apps you may have installed after you first installed the ROM.
[AT&T Samsung Galaxy S 4 General] namitutonka:
Samsung I9295 Galaxy S4 Active Android smartphone

muniz_ri et al, this is a great thread. Hmmm...wondering if your I337NB1 4.4 Root-Workarounds would apply to my first ever smartphone which I received in the mail today. Like the title says, it is a Samsung I9295 Galaxy S4 Active Android smartphone.
[AT&T Samsung Galaxy S 4 General] ClubWDW:
Read my post below...couldn't delete this one so I edited instead.
[AT&T Samsung Galaxy S 4 General] ClubWDW:
This did not happen...all the apps I had installed are still there after the re-flash and data restoral and honestly, though I don't remember which couple of apps I had previously deleted, I don't know that any were actually restored. Did I do it incorrectly since all my apps were still there after the process? Thanks for all the help, by the way!!!
[AT&T Samsung Galaxy S 4 General] muniz_ri:
When restoring make sure that you uncheck system and only restore the data partition or you will end up where you started.
[AT&T Samsung Galaxy S 4 General] ClubWDW:
All I backed up was the data...then I flashed the ROM and without rebooting, I restored the data. Am I missing a step here?
[AT&T Samsung Galaxy S 4 General] MrSimmonsSr:
I've just discovered tonight that I'm having the same issue as well.. I have tried enabling and disabling rotation with both the toggle on the notification menu as well as in the Options/More/Display settings to no avail. I know the sensor is working properly because the camera app rotates itself properly without any issues, but neither iBolt Dock/N/Drive or the Nova Launcher seem to want to rotate for me when they should.

Anyone have any thoughts about what might be causing this issue or how to fix it? Someone suggested coping a particular file somewhere in a previous post but the person who tried that said it didn't help the issue. Any other suggestions?

Thanks!

UPDATE: Just saw this in another thread on another site.. I'm guessing it might be the clue I needed since I deleted all kinds of stuff on this phone..

Hey, jherring002, did you delete a bunch of stuff as well?

---------- Post added at 10:21 PM ---------- Previous post was at 10:20 PM ----------

The Galaxy S4 Active is a different phone. I don't think it would be safe to use this code on it.. I'm no expert but this is just my $0.02 ..
[AT&T Samsung Galaxy S 4 General] mirai325:
Question and thanks :)

After we complete the above steps, are we able to flash any custom kitkat rom of our choice? or no?:confused:
[AT&T Samsung Galaxy S 4 General] jherring002:
I

Yes I deleted a bunch of stuff.

grab libgnustl_shared.so for inaide the roms .zip file. its in /system/lib

copy it to your devices /system/lib folder set permissions and reboot
[AT&T Samsung Galaxy S 4 General] MrSimmonsSr:
Did that fix the rotation issue for you? I thought I saw someone above say that they still had the rotation problem even after doing this. ??

Thanks!
[AT&T Samsung Galaxy S 4 General] jherring002:
Once i set permissions it was fixed

You have to set the file be accessed by the system. Once you do that, rotation was back.

If someone can pinpoint which app caused this, i could restore it because i backed up all the apps
[AT&T Samsung Galaxy S 4 General] muniz_ri:
No, you are all set. I just played with the data back-up/restore function and was able to restore all of my apps and settings except two apps I had pushed into system.

It appears that the data back-up/restore function will back-up and restore all apps from the data/app folder and their settings plus system/app settings.
[AT&T Samsung Galaxy S 4 General] ClubWDW:
I suppose that's where my confusion is coming in. I backed up the data like you said and then booted into recovery and re-flashed the ROM. I did not wipe dalvik cache or anything else afterward. After re-flashing I told it to reboot. I had not yet attempted to restore the data I had backed up. Once rebooted, nothing had changed. Every app that I had installed BEFORE the re-flash was still installed AFTER the re-flash...as if nothing had been overwritten...which makes me question whether or not anything is actually getting flashed. That is the problem I am grappling with.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Funny, you previously said at least twice that you did restore data. Anyway, good luck.
[AT&T Samsung Galaxy S 4 General] ClubWDW:
Sorry for the confusion. I did restore the data twice before. I re-flashed it a third time thinking that if I just did the re-flash and didn't try and restore the data afterward that it would take me back to stock...as if I had never installed anything in the way of my own apps.

I'll not bother you about it again. You have been supremely patient with me and I am grateful! Your work is amazing and I can't thank you enough!
[AT&T Samsung Galaxy S 4 General] DeadlySin9:
Any Touchwiz KitKat. Still no AOSP

Sent from my SGH-I337 running Blackbox 3.0
[AT&T Samsung Galaxy S 4 General] alryder:
I used the MK2-to-NB1_KeepRoot_OTA.zip Method method tonight and it worked great. Is it necessary to keep Safestrap installed after the process is complete since it was the stock rom slot that was updated and is being booted from?
[AT&T Samsung Galaxy S 4 General] kpirnie:
Probably a good idea to keep installed in case u plan on making any tweaks... that way you can have a way to backup and restore if something goes haywire...

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 General] MrSimmonsSr:
Mobile Iron detects this..

Not sure if any of you care about MobileIron, but just wanted to post to let folks know that MobileIron detects my phone as compromised after restoring the NB1 Rooted ROM with Tether enabled and unrooting it. I deleted some bloatware with TiBu Pro, removed SafeStrap and then unrooted with SuperSU and MobileIron still detects that my phone is compromised in some way. I also ran Triangle Away to reset counters. My Samsung boot no longer says "Custom" either, but something is still giving me away. The phone says "Official" in the About Device section..

I've left a note for my MobileIron admin to see if he can tell me what, exactly, it is that MobileIron is triggering on. If I get a solid answer I'll let everyone know.

Thanks!

---

Update: Just for ****s and giggles I decided to take the phone all the way back to stock, re-root with Tethering, and not bother trying to disable KNOX or uninstall any other bloatware to see if that made MobileIron any happier.. While it did cause the MobileIron tool to return 0 (not rooted) instead of the error code I was getting earlier, it still won't let me sync. It is seeing something suspicious on the device that is making it think the device has been compromised. Any ideas what could be triggering that? All I did was:

- Restore to office stock NB1 via Odin flash

- Follow instructions in OP of this thread

- Use Triangle Away to confirm that everything was set to Official and 0 flash count

- Remove SafeStrap and Triangle Away

- Unroot using the option in SuperSU settings. I didn't even let SuperSU disable KNOX..

Now my Download mode screen shows "Official" but something left over somewhere is still causing Mobile Iron to trigger and it won't let me get to my work email and calendar. Any ideas what it could be? I still have a request in to my MobileIron Admin team to let me know what the logs say. I can't seem to figure it out myself..

Thanks!
[AT&T Samsung Galaxy S 4 General] hstlr31:
safestrap

I downgraded, installed root, but if I install ss 3.72 the keeproot installation fails but if I use ss 3.71 everything goes through. How can I install ss 3.72 after that?
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Are you able to access your network using just the official nb1 firmware without root or ss? That would eliminate the possibility of a network admin issue and confirm this process is at fault.
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I would say start over and try again using ss v.3.72. It should work.
[AT&T Samsung Galaxy S 4 General] MrSimmonsSr:
Yes, I was able to access the network with no issues. And let me be clear that I am not trying to say there is any fault on your part here. What you have done is amazing and I'm nothing but grateful. The bottom line is that MobileIron is designed to try to recognize any phone that has had its stock OS tampered with and something in the way my specific phone is configured at the moment is tripping one of it's alerts somehow.

The good news is that I noticed in the "About device" section, under Status, that the phone was showing up as "Custom", even though the download screen was showing as "Official".. I think the issue might be related to that. I've just tried a factory reset from the stock recovery, the one where it formats the data partition. After a reboot it showed "Official" under the About device status, so I'm hopeful that Mobile Iron will cooperate with me this time. I'm going through the device encryption process now. I'll let you know if the factory reset did the trick or not.

Thanks!

UPDATE: Unfortunately the factory reset didn't resolve the issue either. The factory reset did get the screen saying "Official" again, but something is still alerting MobileIron. I think I've tried about as many things as I can think of without getting some more details from my buddy on the MobileIron admin team. He should be able to tell me what is triggering it. I'll let you know what I found out. Thanks!
[AT&T Samsung Galaxy S 4 General] hstlr31:
Ok I'll try it again
[AT&T Samsung Galaxy S 4 General] muniz_ri:
No worries, didn't take it in a bad way just using deductive reasoning. Also,there is a checkbox in triangle away under "allow tracker to run." try checking that and reboot. May or may not work but worth a shot.
[AT&T Samsung Galaxy S 4 General] MrSimmonsSr:
Could you help me understand what this option does? Since I have to unroot and encrypt my device in order to even try MobileIron, it is a long debug cycle to go through to get back to a point where I'm rooted and can try that option on Triangle Away. Would like to have some idea what it does before I go through that whole cycle for the 6th time today.. :)
[AT&T Samsung Galaxy S 4 General] muniz_ri:
I use that option to reset device status back to official. Another thought, the keeproot ota sets selinux attributes but my rom does not. That may be the problem.

You may want to flash the keeproot ota over my rom but you will first need to be at 100% stock(no deleted apps) before flashing. You will also need to manually uninstall ss using that method although i doubt ss would trip your network security (see instrucitons are in post#2).

Lastly, I'm wondering if ss does an effective job of flashing the remaining partitions like cache which are built into the rom. Once you flash the rom or keeproot ota extract the .tar file and try flashing in PDA slot in Odin: https://mega.co.nz/#!14k2xCpB!PzVaOl-d2oE1NbghxWnnjdnTU9wD1F-jXY3fEs97LCY
[AT&T Samsung Galaxy S 4 General] ClubWDW:
Just wanted to thank muniz_ri for his work on making this possible. Not only has he made it possible but he graciously answers questions about getting the most out of this project. Again, a million thanks!
[AT&T Samsung Galaxy S 4 General] hstlr31:
ok so i tried it once again and still the same issue
[AT&T Samsung Galaxy S 4 General] sm_xyz:
I tried Odin v.3.09 and I had the same problem while flashing the FMLD_Bootloader file with Odin

<ID:0/003> Odin v.3 engine (ID:3)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

It just stops after the above step. Nothing happens after that. Please help! I have no lock screen options available except Swipe Screen. It gives me an option to set a pin/password, but I cannot make that the lock screen option. It only has Swipe Screen as an option. I tried some Apps, but all of them have some issue or the other that give you a way to get around the lock screen. Thanks.
[AT&T Samsung Galaxy S 4 General] vazgsm:
can´t even start... Odin keeps asking for pit file

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> I337_NB1toMK2_Downgrade.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/049> Added!!

<ID:0/049> Odin v.3 engine (ID:49)..

<ID:0/049> File analysis..

<ID:0/049> SetupConnection..

<ID:0/049> Initialzation..

<ID:0/049> Get PIT for mapping..

<ID:0/049> There is no PIT partition.

<OSM> All threads completed. (succeed 0 / failed 1)
[AT&T Samsung Galaxy S 4 General] muniz_ri:
Can you post a copy of the entire error msg?
[AT&T Samsung Galaxy S 4 General] stanl56:
Carefully followed OP #1 now rooted!!

Many Thanks to Muniz_ri and his helpers for this excellent root process.
[AT&T Samsung Galaxy S 4 General] gj23:
I was running safestrapped MK2 and had to odin back stock and then flash your rom, but had no issues getting up and running. I know you said that safestrap force closes, but recovery is still operational, which it is, but I just skimmed thru the majority of this thread (and maybe missed it) but didn't see anyone mention that after you get into safestrap and go to reboot the rom from the stock slot, it will notify that "there isn't an OS installed, do you want to reboot anyway?" I was able to reboot without an issue tho. Thought I would just throw it out there in case anyone else gets concerned seeing that message during a reboot from safestrap.
[AT&T Samsung Galaxy S 4 General] kpirnie:
safestrap 3.71 has an issue mounting /system. You should try to get and install 3.72

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