yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] kaseykrehbiel:
In that case, feel free to download it, compile it and post it here. You know, in less than 24 hours. And while you're at it, I have a ton of feature/upgrade requests for you, and while you're working on it, I'll ask you when you're going to be done several times.

Seriously less than a day? ... Seriously...?
[T-Mobile Samsung Galaxy S 4] xXchrizhurtyXx:
Hence why I asked if he was going to. Didn't ask if he was done with it. Also I know what it is like to be a dev since I was one for this device. So before you continue I'm done with this.
[T-Mobile Samsung Galaxy S 4] kaseykrehbiel:
Congratulations. Way to go.
[T-Mobile Samsung Galaxy S 4] Nickdroid86:
That was a little overkill don't ya think? Lol
[T-Mobile Samsung Galaxy S 4] kaseykrehbiel:
Maybe. But at least I didn't slap him with a large trout.
[T-Mobile Samsung Galaxy S 4] ShinySide:
Compile touchwiz? LOL
[T-Mobile Samsung Galaxy S 4] kaseykrehbiel:
This guy gets it!!! Now where's my free 4.4.4? I want it now! Trollolol
[T-Mobile Samsung Galaxy S 4] abnormal1379:
So, has anyone figured out how to fix this problem? I have the same problem with my battery occasionally draining out due to IPService hogging CPU cycles. Turn off wifi calling and the problem disappears. Turn it back on and the problem comes back in a couple of days. Unfortunately, I spend most of my time in a concrete bunker and need wifi calling.

Can this be a problem with the LTE modem firmware? I'm on the MDL bootloader with the updated modem firmware, but with the original LTE firmware.
[T-Mobile Samsung Galaxy S 4] Fenny:
Sad to tell... I have the HTC One M8 now.
[T-Mobile Samsung Galaxy S 4] kaseykrehbiel:
You could try updating to the latest T-Mobile stock rooted ROM here in the dev forum. Out was posted by ShinySide.
[T-Mobile Samsung Galaxy S 4] abnormal1379:
NNOOOooooo....

Nice job on the ROM. Other than the wifi calling problem, it's been great. Thanks!

I tried ShinySide's ROM. Having issues with enabling the wifi even after flashing the new modem and enabling the permissive setting for the kernel. Wifi works when I flash the rom with Fenny's or Ktoonsez's kernel, but I lose the lock screen. I'm guessing the lockscreen problem has to do with me not having the new bootloader / new LTE modem firmware. I'm still running the old MDL bootloader and LTE modem firmware.

This might be a good excuse for me to upgrade to a new phone.
[T-Mobile Samsung Galaxy S 4] vprasad1:
Just a quick note for any Verizon i545vruamdk bootloader folks running more recent Verizon modems such as i545vrufnk1-- if you're looking to switch over to T-Mobile as your carrier and keep your Verizon S4 mdk phone, this ROM works great!
[T-Mobile Samsung Galaxy S 4] aqatramiz:
Flashing the ROM

I am using the ROM manager

First I did a backup to SD card, then

1- did Wipe data/factory reset

2- Install from Zip

Then i got this error

format() expects 4 args, got 5

E:Error in 'location of the zip file comes here'

(Status 7)

Currently I am restoring my back-up, What I did wrong?

I am using

ClockworkMod Recovery v6.0.4.7

Model: SGH-M919 rooted

AV 4.2.2

Baseband M919UVUAMDL

Kernel 3.4.0-453951

UPDATE:

It worked using TWRP, but i keep getting: "Unfortunately, Samsung link has stopped" Message?!

thank you in advance for your help, cuz I am new to this thanks for your patience

UPDATE 2:

All worked after wipe DATA But i am missing the Calendar App, where do i find it
[T-Mobile Samsung Galaxy S 4] thedillybar:
Safestrap

This ROM with the modification below allows an ATT S4 (I337) to be converted to T-mobile. Safestrap can be installed on all I337s, regardless of firmware version (at least up to NJ4). For information on rooting, unlocking, installing Safestrap see this post.

This ROM is confirmed working with Safestrap on ATT S4 (I337), specifically Safestrap-I337-3.75-KitKat-A03. It requires a modified updater-script as described here and summarized below. The following line must be removed from META-INF\com\google\android\updater-script. Without the modification, it will hang at the boot screen after install.

format("ext4", "EMMC", "/dev/block/mmcblk0p16", "0");

As of Fenny-UVUFNB4-STOCK-ROOTEDv1.3, that is line #3 and the new updater-script is attached.

Download "updater-script.txt" attachment.

Rename to remove ".txt" extension

Open "Fenny-UVUFNB4-STOCK-ROOTEDv1.3.zip" in 7zip or similar zip utility.

Copy downloaded "updater-script" to "META-INF\com\google\android\updater-script" of the zip file, replacing the existing.

Copy modified zip file to SD card.

Install as per this post
[T-Mobile Samsung Galaxy S 4] Albie_Stark:
VZW

Can I flash the untouched version via SS on Verizon SGS4? The Phone is on 4.4.2-NC5 stock
[T-Mobile Samsung Galaxy S 4] driz:
Downloaded 1.3 from the mirror and it's going slow.. do i need to create an account/pay to get faster speeds?

[IMG="mega download"]https://lh6.googleusercontent.com/-3MrzGKj41Fo/VTU3b2y9ISI/AAAAAAAAY74/09dRoUj5ym8/w584-h140-no/Untitled.png[/IMG]

great work on the roms! Converted a sprint S4 to Tmo using your work! much appreciation!
[T-Mobile Samsung Galaxy S 4] Sherrillface:
I can flash deodexed rooted if im allready on nh7?
[T-Mobile Samsung Galaxy S 4] j2gifted:
I just got a replacement phone from t mobile with stock 4.4.4 on it. Can I use this on that phone even though it says its for 4.4.2?

My old phone was 4.4.2 and I loved this for that phone.
[T-Mobile Samsung Galaxy S 4] j2gifted:
I'm still running this on my s4, I love it n dont want to switch... but is there anyway to patch stagefright? Im still on 4.4.2
[T-Mobile Samsung Galaxy S 4] timz1313:
:D thanks Running on S4 SGH-M919 T-Mobile
[T-Mobile Samsung Galaxy S 4] Fenny:
Yep. None of the CWM files in my post will flash a bootloader, kick your dog, or prevent you from downgrading.

Just don't flash the full ODIN image if you want to avoid knox or if you want to be able to downgrade later.
[T-Mobile Samsung Galaxy S 4] imanextreme:
You're the man. I will flash it and let you know what I find/think.

I'm no expert, but feedback helps?
[T-Mobile Samsung Galaxy S 4] Fenny:
Yep. Feedback is good.

DONE!
[T-Mobile Samsung Galaxy S 4] elesbb:
What did you use to deodex the entire ROM? I use dsixda kitchen.
[T-Mobile Samsung Galaxy S 4] widto08:
MD5

Thanks again :good:
[T-Mobile Samsung Galaxy S 4] The Sickness:
I do too. I just finished

My S4 Is Insane

Deviant Team Member
[T-Mobile Samsung Galaxy S 4] xXchrizhurtyXx:
Same here, but for some reason the rom doesnt want to boot.

Any ideas as to why?

Anyone?
[T-Mobile Samsung Galaxy S 4] Fenny:
Where is it getting stuck? Bootloader screen or splash screen?
[T-Mobile Samsung Galaxy S 4] xXchrizhurtyXx:
Splashscreen. It gets to the tmobile part and then just stays there. LED is on.
[T-Mobile Samsung Galaxy S 4] Fenny:
Did you remember to deodex /system/priv-app?
[T-Mobile Samsung Galaxy S 4] xXchrizhurtyXx:
I did, was that what you did to fix it?
[T-Mobile Samsung Galaxy S 4] Fenny:
I also use dsixda, but I have made some changes to the scripts, and I just do a git pull from time to time to get new device profiles.

P.S.: You can't forget to deodex priv-app, which dsixda DOES NOT DO by default.
[T-Mobile Samsung Galaxy S 4] Fenny:
That was the last step that got things working at 100% I also made various changes to the update script, the build.prop and to the initramfs.
[T-Mobile Samsung Galaxy S 4] elesbb:
Ahh, i never updated mine. Might be why xD
[T-Mobile Samsung Galaxy S 4] xXchrizhurtyXx:
I guess im doing something wrong.

I cant get it booting which is quite annoying lol.
[T-Mobile Samsung Galaxy S 4] Fenny:
It also uses an OLD version of smali/baksmali. You might want to update it, and IIRC there is a flat file in the deodex folder that you can modify to tell it which version you want it to use.

*EDIT*

For clarity: even the latest git version is using smali baksmali 1.x :barf:
[T-Mobile Samsung Galaxy S 4] Fenny:
Let's do a differential diagnosis:

Try my kernel tar. It's a known working quantity, if it works you should check your kernel and initramfs.

I did not have any luck until I built a kernel from source. Otherwise the issue is elsewhere. :D
[T-Mobile Samsung Galaxy S 4] xXchrizhurtyXx:
could it be ktoonez kernel maybe causing problem?

btw does anyone by any chance know how to recover internal sd files.

accidentally just wiped with twrp *face palm*
[T-Mobile Samsung Galaxy S 4] Fenny:
Could be. I bet if you used mine for the initial boot, then flashed his after the dalvik cache had fully been built you would be golden.

So, let's try this: flash my kernel, wipe dalvik cache, boot fully, then flash the KT kernel.
[T-Mobile Samsung Galaxy S 4] xXchrizhurtyXx:
i need to get my phone back on lol before that.

adb isnt being picked up from my device since i dont have a system.

going to have to wait till someone comes with an sdcard
[T-Mobile Samsung Galaxy S 4] Fenny:
OH, SNAP. well you can ODIN to 4.2.2 and start from there depending on how long that SD card is in coming...
[T-Mobile Samsung Galaxy S 4] The Sickness:
Any way to make your kernel into a zip?

EDIT: I just booted up......
[T-Mobile Samsung Galaxy S 4] xXchrizhurtyXx:
it should be here in a few hours, i guess ill just wait till someone figures a definite answer. or just wait till one of you guys releases a final version.
[T-Mobile Samsung Galaxy S 4] Fenny:
Sure, just do "tar -xvf boot.tar", then either dd if=/path.to/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot. or zip the image up into a flashable zip.

ls -l /dev/block/platform/msm_sdcc.1/by-name/boot

lrwxrwxrwx root root 2014-03-14 15:21 boot -> /dev/block/mmcblk0p20

Did it just take FOREVER? I know there were about ~400 entries totaling around 1GB for dexopt to process.
[T-Mobile Samsung Galaxy S 4] The Sickness:
Im booted up. Play Store FC's. So does keyboard until you clear cache........
[T-Mobile Samsung Galaxy S 4] imanextreme:
Error during flashing.

Expected 5 arguments, got 4...
[T-Mobile Samsung Galaxy S 4] Fenny:
Which line? Are you using the latest version of CWM or TWRP?
[T-Mobile Samsung Galaxy S 4] Fenny:
WEIRD my play store does not FC at all. Which version of baksmali did you use?
[T-Mobile Samsung Galaxy S 4] The Sickness:
Im using 224 edition in the kitchen.....prolly what happened. Im cooking in a new Play Store version right now.
[T-Mobile Samsung Galaxy S 4] gdmlaz:
There is something deff weird about the new FullFirmware Odin file...... I odin my phone with the full File and like I said earlier still got the same errors as before the no charging wihen the phone is off, and it even loaded with the old problem of the security lock....... I flashed ur rooted rom and fixed that didn't bother to much..... But my friend came over and we odin flashed the fullFirmware odin file and it didn't update his baseband...... stayed mk2 I had to flash the modem after to updated it to nb4 and his wifi wasn't working I had to flash Adam kernel to fix it..... I remember when I flashed mk2 it was 0 no problems I don't understand why I'm having so many problems with this firmware
[T-Mobile Samsung Galaxy S 4] Fenny:
GAH, I keep meaning to look at that. It is crazy how distracting it can be when you start active deving for XDA... xD
[T-Mobile Samsung Galaxy S 4] babymatteo:
Can we have a debloated version too? Only if you have the spare time tho ofcourse.
[T-Mobile Samsung Galaxy S 4] Fenny:
Yep it will happen eventually. I am mainly focused on stability right now though.
[T-Mobile Samsung Galaxy S 4] The Sickness:
Play Store still FC's. I'm done for the night. Gotta work tomorrow

My S4 Is Insane

Deviant Team Member
[T-Mobile Samsung Galaxy S 4] gdmlaz:
Lol is fine you seem busy lately lol....... I just figured the first time on my phone would have been maybe a bad flash..... But just finished doing my friend phone and crazy how things like baseband stayed at mk2 I was like WTF LOL
[T-Mobile Samsung Galaxy S 4] Fenny:
I just PM'd you a link to the 4.4.2 bootloaders in an odin flashable tar.
[T-Mobile Samsung Galaxy S 4] gdmlaz:
You are the man
[T-Mobile Samsung Galaxy S 4] gaww:
Will this ROM still have the extSDcard use limitations of the OTA ?
[T-Mobile Samsung Galaxy S 4] gdmlaz:
So this is the only thing that actually did the trick props props...... I flashed the full firmware twice same result..... Phone wouldn't charge while it was off....... Flashed the odin Bootloader file you sent me and BOOM...... back to charging while the phone is off awesome (y)....... I find it kind of lame that a full firmware str8 from samsung won't update you to the right bootloader wtf
[T-Mobile Samsung Galaxy S 4] Fenny:
I just tested it again, it sounds like you are using an old version of recovery. Try the latest CWM.

I can create a flashable zip to remove those, but for instance the camera app can access the extSd just fine at the get-go.
[T-Mobile Samsung Galaxy S 4] gaww:
There is a zip and also a mod out there but do not know if it works on this device yet. I had read that the camera will save on the external if it was flahed with it already set/
[T-Mobile Samsung Galaxy S 4] Fenny:
It does it from a clean install.
[T-Mobile Samsung Galaxy S 4] widto08:
Update

Update...

Installed rooted deodexed zip v1.1, got everything the way I like to see TW, installed all my apps then went to running all apps to see how everything does. Exceptional ROM except for one thing that, for the life of me I could not get to work, rotation. :(

Thinking I may have had a bad install I proceeded to go through the pains again to make sure.

Tried three different times doing full wipes (last one included internal and external sd-cards) and still could not get my phone to rotate.

Went back to my back-up and all is well.

No clue as to what is going on with my phone on 4.4.2.

Other than the rotation thingy 4.4.2 rocks over 4.3 :eek:
[T-Mobile Samsung Galaxy S 4] Fenny:
You removed a Samsung app that affects rotation. I was reading about it in one of the general threads. You should "disable" but not uninstall it. Can't recall its name. But I do remember that it was stupid and surprising. I can make a method stub to replace it once everything else is working perfectly. The report about the phone being warm after a night of charging with a stock unmodded system is my main priority right now.

Let me know if any of you experience it as well.
[T-Mobile Samsung Galaxy S 4] widto08:
Hmmm, will have to search that.

I have not noticed any heat on mine in fact I believe it runs cooler, IDK...
[T-Mobile Samsung Galaxy S 4] spikedzombies:
Can anyone confirm that ISIS is working? I know google wallet is but I need ISIS.

"Sent from under your bed"
[T-Mobile Samsung Galaxy S 4] Fenny:
#1 get out from under my bed.

#2 Yes it appears to work, but it complains when it finds root.
[T-Mobile Samsung Galaxy S 4] jakill:
Hey Fenny just want to say that this rom is great the only problem I have now is that while I do get 4glte my speed is under 10mbps compared to the 18mbps I had on 4.3.
[T-Mobile Samsung Galaxy S 4] Fenny:
Glad to hear that you are liking it. Which bootloader, and which baseband are you on?

I know that I saw a marked increase in speed with the new baseband on the GPE rom, but I haven't tried the old MK2 or MDL ones to compare with on TW 4.4.2 yet.
[T-Mobile Samsung Galaxy S 4] jakill:
I'm on the new baseband but the loader i believe is the old one. I got it from the the general thread where u were as well.
[T-Mobile Samsung Galaxy S 4] spikedzombies:
There's a root blocker for ISIS that blocks that.

"Sent from under your bed"
[T-Mobile Samsung Galaxy S 4] Fenny:
Okay. Sounds like I may have to look at the kernel. I am thinking that I may have to revert certain things to better deal with the older bootloader. It's time to whip out some merge tools and go diving into github to see how the other devices in the family have been dealing with the old bootloader. Couldn't hurt to add exfat support while I am at it. :)
[T-Mobile Samsung Galaxy S 4] chens23:
At first I had issues with the wifi on version 1.1 but after flashing ktz kernel, everything started working.

Note: I had to go into the build prop and change securestorage from true to false in order to get wifi working. Anyways good job with the rom Fenny! :)
[T-Mobile Samsung Galaxy S 4] Fenny:
Yes, that is what the flashable zip for fixing wifi in the OP does as well.
[T-Mobile Samsung Galaxy S 4] Fenny:
#!/sbin/sh

OUTFD=$2

ui_print() {
echo -n -e "ui_print $1\n" > /proc/self/fd/$OUTFD
echo -n -e "ui_print\n" > /proc/self/fd/$OUTFD
}

ui_print "- Mounting /system"
mount /system
mount -o rw,remount /system
mount -o rw,remount /system /system
ui_print "- Applying patch."
sed -i s/ro.securestorage.support=true/ro.securestorage.support=false/g /system/build.prop
ui_print "- Unmounting /system"
umount /system
[T-Mobile Samsung Galaxy S 4] xXchrizhurtyXx:
v1.1 do you need to flash this zip?
[T-Mobile Samsung Galaxy S 4] Fenny:
Yes, if you have the old bootloader. The magic of sed is that it will simply do nothing to the build prop if the change is already applied.

You can just change the build.prop directly if you like. I have just done it this way so that people who decide to use the new bootloader can have secure storage by default.
[T-Mobile Samsung Galaxy S 4] xXchrizhurtyXx:
I flashed your v 1.1 zip and did not flash the wifi zip fix and i still have wifi working.

I am on the MDL bootloader with the new modem.
[T-Mobile Samsung Galaxy S 4] Fenny:
You will probably find that the wifi credential storage stops working properly when you reboot your phone next, or try to go into certain menu settings. It is odd and appears to be somewhat random. In any case disabling secure storage seems to resolve the issues if they arise. Which oddly enough doesn't seem to be happening for everyone.
[T-Mobile Samsung Galaxy S 4] xXchrizhurtyXx:
okay sounds good. I will apply the fix
[T-Mobile Samsung Galaxy S 4] spikedzombies:
So how does one tell what bootloader they have? And would one flash the NB4 Modem before or after flashing the new rom?

I want to flash the rom so I would

download Stock Deodexed + Rooted ROM (v1.1)

wipe, flash, reboot...

and thats it? Can I use a custom kernel like KS-SGS4?
[T-Mobile Samsung Galaxy S 4] The Sickness:
Off topic.....glad to have you here [MENTION=522448]Fenny[/MENTION]. :D

My S4 Is Insane

Deviant Team Member
[T-Mobile Samsung Galaxy S 4] xXchrizhurtyXx:
Plus one on this statement.

Very glad to have him here. ?
[T-Mobile Samsung Galaxy S 4] Fenny:
If you don't see the lines about knox when you go into download mode you have the old bootloader:

You should be able to flash a custom kernel but I would at least let the ROM boot once before you do. This build's dalvik/dexopt seems pretty finicky about the first boot.

Thanks Guys. Glad to be here. :D

*EDIT*

So, I have made a neutered version of TetheringProvision.apk and packed it into a script that will replace instances of the tmobile tethering apn in customer.xml with fast.t-mobile.com (the normal APN). This should give unlimited tethering and bypass all of the tethering provision checks. Anyone feel like testing it? :D
[T-Mobile Samsung Galaxy S 4] Lamchops3:
Yea, sure.
[T-Mobile Samsung Galaxy S 4] Fenny:
Okay, flash this in recovery: http://www.cheatersedge.org/android/m919/TetherFix-signed.zip

Then go into Settings -> Connections -> More Networks -> Mobile Networks -> Access Point Names. Once there, press menu, and choose "Reset to default". (Make sure you have at least one apn checked after resetting defaults)

Then try Tethering. You may or may not need to reboot after resetting APNs.
[T-Mobile Samsung Galaxy S 4] elesbb:
All you have to do is remove the TetheringProvision.apk and mod the framework-res.apk to exclude the checking. Then it works :P
[T-Mobile Samsung Galaxy S 4] Fenny:
Yeah, however this method will allow other mods in framework-res.apk without me having to worry about it. I would never have to update this zip since the calls to the TetheringProvision service have used the same method signature since android 2.2-2.3 or so.
[T-Mobile Samsung Galaxy S 4] elesbb:
what do you mean by the first part? So long as other mods don't touch the arrays.xml then it won't effect the tethering..
[T-Mobile Samsung Galaxy S 4] Fenny:
I mean that I will likely never have to re-do this mod, it will be an optional thing that the user can flash, and people can drop in mods that affect framework-res.apk without having to worry about undoing what was done to remove the tethering restrictions. It's modular. I like it that way.
[T-Mobile Samsung Galaxy S 4] Lochman79:
This method worked for me. Thanks!
[T-Mobile Samsung Galaxy S 4] elesbb:
Hey i sent ya a PM. Btw do you have a gtalk or skype we could IM each other?
[T-Mobile Samsung Galaxy S 4] emd2009:
I am still on rooted 4.2.2 , never upgraded to 4.3.

Which version should I flash?
[T-Mobile Samsung Galaxy S 4] philliman:
Any screenshots? Can this be a DD?
[T-Mobile Samsung Galaxy S 4] Fenny:
Here is one:

You want the deodexed one, and you probably want the new modem. You will definitely also want the wifi fix.
[T-Mobile Samsung Galaxy S 4] pyrator:
question

Currently on 4.2 rooted, if i flash this (deodex - rooted v1.1) in CWM will it work? The first post is kind of confusing. Thank you in advanced.
[T-Mobile Samsung Galaxy S 4] Fenny:
Your answer is in the post above you! :)
[T-Mobile Samsung Galaxy S 4] philliman:
Currently using a 4.3 rom. Do I just wipe and flash or is ODIN needed for anything? Its a bit confusing ?
[T-Mobile Samsung Galaxy S 4] Fenny:
Odin is needed for radio binaries if you want to update the radio. As always if you dirty flash there may or may not be problems. If you go into download mode and it DOES NOT say anything about knox, it means you have an MDL or earlier bootloader which in turn means that you need the wifi fix.
[T-Mobile Samsung Galaxy S 4] philliman:
Cool. Updated everything when I started using 4.3 on. I have knox but its never been tripped. Is the radio file in the OP? and is it necessary? Good looking out on the prompt response also!!
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mrhomiec:
so from what i understand about updating the bootloader to MJB, i can only flash custom ROMs based off TouchWiz 4.3 and up, correct?

but AOSP/CM based ROMs can be any version? as long as the bootloader is supported on that ROM? and worst case scenario, i can flash CM10.1.3 (Android 4.2.2)?

currently i'm on S3Rx 2.2, which uses Android 4.1.2. there would be no point in making a nandroid backup, since the bootloader would be updated and i could no longer use this ROM, correct?

i was going to follow this guide:

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

and then use this ROM:

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

***************SOLVED:***************

flash the MJB bootloader via custom recovery following the above guide.

then flash the MJB modem via custom recovery with this guide:

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

reboot to phone (i did, not sure if necessary tho)

then reboot to recovery, flash new custom ROM.

done.

a mistake i did was i only flashed the bootloader first. rebooted, then flashed new ROM. in which case i had no wifi and data. so i flashed the modem, rebooted, no wifi and data still. rebooted into recovery, factory reset, wipe cache, wipe dalvik, and everything worked fine after that.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] aybarrap1:
You could install the MJ2 bootloader and MJB modem which would allow you the ability to go back. Once you are on MJB bootloader, there is not going back without bricking. If you ever find that you need to revert back for any reason you will be stuck. If this does not bother you, then go for it.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mrhomiec:
i read somewhere that MJ2 was unstable or something. cause it was a preview leak?

but back to my first question, MJB makes it so i can only flash TouchWiz-based ROMs 4.3 and up? so i will be good to use AOSP-based ROMs of any version?