yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] Fenny:
It would be run from terminal, but it sounds like it might not work for you... I can make an update zip for you to try if you would like.

Try this: http://www.cheatersedge.org/android/modem-from-MK2-to-NB4.zip
[T-Mobile Samsung Galaxy S 4] peppersu812:
How would I try this. Just flash it?
[T-Mobile Samsung Galaxy S 4] Fenny:
Yep.

Let me know if it worked.
[T-Mobile Samsung Galaxy S 4] gaww:
I downloaded two versions of your work here but flashed neither - just flashed Insane.

But as your base made it all possible, a donation is on the way (36 hours ???).

FYI - also flashed the ExtSD fix zip and it appears to be working good.
[T-Mobile Samsung Galaxy S 4] Fenny:
Thank you very much for the donation!!!

Yeah, 36 hours. ROM Dev = insomnia and ungodly amounts of caffeine.

I'll have to put the ExtSD fix in the OP under mods.
[T-Mobile Samsung Galaxy S 4] peppersu812:
Didn't work. It failed. Sorry took me so long. Got called into work.
[T-Mobile Samsung Galaxy S 4] LoopDoGG79:
Gravity box is NOT made to work work TW, only AOSP. Says so in his OP. Wanam is built to work with TW, particularly stock TW.
[T-Mobile Samsung Galaxy S 4] Fenny:
Okay, it could be something as simple as recovery not supporting the command directly, I will try moving it into a shell script, downgrade my modem, and start hacking away. :D
[T-Mobile Samsung Galaxy S 4] peppersu812:
My recovery is twrp just in case you need to know if that helps.
[T-Mobile Samsung Galaxy S 4] spikedzombies:
Thanks, didn't thoroughly read the post lol

So is my wifi access points not saving a bug or just me?

Sent from underneath your bed
[T-Mobile Samsung Galaxy S 4] Fenny:
Sounds like just you. Did you flash the WiFi fix? If not, do that. Otherwise you might need to wipe data if you didn't when you flashed.
[T-Mobile Samsung Galaxy S 4] gdmlaz:
once again you are the man ????
[T-Mobile Samsung Galaxy S 4] epsix:
Darn when doing full wipe on 4,4,2 it wipe out my internal storage:( all the apps,mp3,games etc...lucky i have a backup. I like flashing stock, that way i can delete anything i want. thanks works great.:D
[T-Mobile Samsung Galaxy S 4] chens23:
Amazing work Fenny. Is there a possibility of releasing a version without carrier iq?
[T-Mobile Samsung Galaxy S 4] Fenny:
Yeah, but it can be disabled in userland as it is now. I.E. you can turn it off.
[T-Mobile Samsung Galaxy S 4] epsix:
gravitybox working like a charm here:) kitkat version of couse.
[T-Mobile Samsung Galaxy S 4] Carlos2200:
Nice go with stock room fenny! I just installed it with the patches on first post and wife saved with no problems now. BUT, here is my big question on tethering. Is the provision patch just for USB tethering because wife tethering is a no go. Got the tmo upgrade page on my tablet and laptop. Even changed UP strings on my laptop, too.
[T-Mobile Samsung Galaxy S 4] Fenny:
To be honest I don't use wifi tethering at all. Might have to do some IP tables stuff
[T-Mobile Samsung Galaxy S 4] Carlos2200:
Well regardless I got wife tether by using wife tether router and that's the only 3rd party app getting me my Internet fix since the stock app is getting blocked. So you might want to look into the tether provision again and check the app settings too. It's late and I will mess around with those on my end since that worked for me on another rom with a tether mod.
[T-Mobile Samsung Galaxy S 4] Fenny:
I just tested it wifi tether works fine.
[T-Mobile Samsung Galaxy S 4] Carlos2200:
Just realized what I said and looked it up and found what I was missing as I found an earlier post that had the step I missed. Works great now! Now I am missing aosp browser now and then I will be set because this chrome is driving me nuts! Again, GREAT WORK!!!
[T-Mobile Samsung Galaxy S 4] epsix:
[MENTION=522448]Fenny[/MENTION] i have a problem, I have a movie app when I opened watch online. My movie player won't open up like. BSplayer, stock player but it only open web browser? I just check my other phone it opened the players fine? Anyone else have this problems?
[T-Mobile Samsung Galaxy S 4] LoopDoGG79:
Opened watch online? It works with files stored on my phone.
[T-Mobile Samsung Galaxy S 4] epsix:
The app stream the movie through any player you've on your phone.
[T-Mobile Samsung Galaxy S 4] LoopDoGG79:
Have your tried MX player?
[T-Mobile Samsung Galaxy S 4] Fenny:
Now that is interesting the only thing I could think is that the intent that is being sent is different. If you are using the same applications they have to be registering for the same receiver as before and using the same intent filters. So either this new ROM applies the intent filters differently or the application is sending a different intent.

Perhaps the content type is not being resolved (for an online stream) so it is defaulting to a mime type of text/html.
[T-Mobile Samsung Galaxy S 4] spikedzombies:
yeah i flashed the wifi fix, but my wifi passwords arent saving and it wont auto connect to my wifi..
[T-Mobile Samsung Galaxy S 4] androidtoy09:
Anyone experiencing broken rotation? My phone doesn't rotate
[T-Mobile Samsung Galaxy S 4] Fenny:
You deleted a Samsung APK that contains a shared object (that is not directly stored in the /system/lib folder, quote is OTW:
[T-Mobile Samsung Galaxy S 4] androidtoy09:
Yeah, I just read some of the previous posts. I’m going to reflash the ROM and start from scratch. Thanks for your tips
[T-Mobile Samsung Galaxy S 4] philliman:
Just tried to send my first mms since flashing 1.1 and I get server response error. Anyone else?
[T-Mobile Samsung Galaxy S 4] Fenny:
Sounds like an issue with data from a previous ROM then.

I did notice that MMS did not like sending when wifi calling was active. But it did that in the odexed version as well. Sounds like something us end users are going to have to find our own fix for. :)
[T-Mobile Samsung Galaxy S 4] `SBR`:
it may or maynot be a correct suggestion,

i noticed if multi-window is enabled, the app is trying to look in the Mult-windows apps listed to open the links first, if it's not there it's try re-directing.. try disabling Multi - Window or enable all apps using Wanam Xposed and see it fixes it.
[T-Mobile Samsung Galaxy S 4] Fenny:
Ooooh! So it sounds like samsung has an alternate method for intent matching when multi-window is active. Dunno why but that just comes off as totally neato to me. :)
[T-Mobile Samsung Galaxy S 4] spikedzombies:
I had no issues with the previous google international edition 4.4.2 rom..

Plus i completely wiped including Internal SD
[T-Mobile Samsung Galaxy S 4] Fenny:
See if you can grab a logcat while connecting to a wifi network for the first time. Let's see if we can see some sort of error in it.

Another thought, maybe Google's restore of a backup to the phone restored some sort of wifi data that effed the local saved wifi networks DB. Perhaps a db schema thing? These are just wild -- if plausable -- guesses we can't know for sure until we dig into a logcat.
[T-Mobile Samsung Galaxy S 4] philliman:
Added a few things and it's sending MMS with no problem now. Server and MMS proxy fields were blank.
[T-Mobile Samsung Galaxy S 4] Fenny:
Do you see those values when you look in /system/csc/customer.xml? If not we may have to do a CSC fix.
[T-Mobile Samsung Galaxy S 4] philliman:
I'll check now......nope. they're not present and looks like that was a one time use fix. Still not sending until about the 5th try. Receiving fine.
[T-Mobile Samsung Galaxy S 4] spikedzombies:
so of course when I log back into my wifi it works perfectly.. go figure

Im gonna run a logcat later in the day, i got some errands to run but will definitely get you one just in case its a fluke.
[T-Mobile Samsung Galaxy S 4] Fenny:
I suppose it is possible that T-Mo is experiencing issues with their web-facing proxy for MMS...

Hmm, well then that may be 1/2 of the solution. Any errors in logcat?
[T-Mobile Samsung Galaxy S 4] Fenny:
Glad it worked. Ideally snag a logcat while it fails to store it. I'm not sure how valuable a logcat of it working with no problems will be.
[T-Mobile Samsung Galaxy S 4] philliman:
Never did the logcat thing before. How do check?
[T-Mobile Samsung Galaxy S 4] Fenny:
Easiest way without a computer is with an app called catlog. Easiest way WITH a computer is in a cmd or console window:

adb logcat > mylogfile.txt

then just hit ctrl + c when you want to stop adding logs to the file.
[T-Mobile Samsung Galaxy S 4] spikedzombies:
actually here's a decent tutorial

http://xdaforums.com/showthread.php?t=1726238
[T-Mobile Samsung Galaxy S 4] philliman:
Ran it but have no clue on what looking for.
[T-Mobile Samsung Galaxy S 4] Fenny:
Easiest way to weed out as many useless logs as possible:

Start logging, do the thing that is broken, stop logging. Then Pastebin it so we can look at it and help analyze the results.
[T-Mobile Samsung Galaxy S 4] philliman:
http://pastebin.com/0zN4QxBc hope this is right ?
[T-Mobile Samsung Galaxy S 4] Fenny:
I will have to look more in depth when I get to work, but from a quick scan of the logcat it looks like the IMS service (WifiCalling) might be trying to change this:

03-17 12:58:26.606 W/Settings(2684): Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
03-17 12:58:26.606 W/Settings(2684): Setting mobile_data has moved from android.provider.Settings.Secure to android.provider.Settings.Global.

and failing because it is read only in the new version of android. Might be able to decompile the IMS service and change the ref to the appropriate class.
[T-Mobile Samsung Galaxy S 4] philliman:
That's all foreign language to me but I know you know your stuff. I'll just patiently wait for you to do your thing. Wonder if I'm the only one with this problem since no one else mentioned it
[T-Mobile Samsung Galaxy S 4] Fenny:
I noticed someone mentioned that it had been fixed in [MENTION=4921688]The Sickness[/MENTION] thread. I'm not sure if they were just expressing joy that it worked in this new version of android or not. Hopefully if he did do something that fixed it, he knows what that something was.
[T-Mobile Samsung Galaxy S 4] Fenny:
*EDIT* or... *Double Post* Whatever... xD

03-17 11:42:59.079 E/Babel_RequestWriter(4606): SendMmsRequest: failed to send message com.google.android.apps.babel.sms.MmsTemporaryFailureException: Cannot establish MMS connectivity

Only happens for me when I have Google Hangouts as the default MMS provider. Polly just have to mod hangouts to accept my word for it when it checks to see if mobile_data is connected.
[T-Mobile Samsung Galaxy S 4] philliman:
I'm using the regular messaging app as default. Haven't tried using Hangouts for messaging
[T-Mobile Samsung Galaxy S 4] Fenny:
You getting dropped packets / frames on your wifi network maybe?

Try changing the 2.4 ghz channel on your router to 1, 6 and 11 respectively and see if that doesn't make a difference.
[T-Mobile Samsung Galaxy S 4] philliman:
I have no clue. All I know is with or without wifi on sending a mms takes at least 4 to 6 times of sending to go thru. My wife said she hasn't received any of the pics I sent even though they went thru on my end. I never use WifiCalling either. That's turned off
[T-Mobile Samsung Galaxy S 4] spikedzombies:
http://pastebin.com/9DusaGrh

there you go fenny wireless auto connects, but the last few thousand (LOL) lines should be the wifi stuff, I tried to remove as much of the old non useful stuff as possible.
[T-Mobile Samsung Galaxy S 4] LoopDoGG79:
I was able to send MMS over WiFi on stock, but not on Hangouts. I am using wifi calling.
[T-Mobile Samsung Galaxy S 4] epsix:
My multi windows is off. I've never use it.
[T-Mobile Samsung Galaxy S 4] `SBR`:
Then it could be different... thks for conforming

What I explained is shown below, its try to go with multiwindow mode when you try to open link from tapatalk or play store so and so...
[T-Mobile Samsung Galaxy S 4] Fenny:
Having done some extensive hackery around wifi calling I feel confident that I can mod the hangouts app to send mms via wifi as well.
[T-Mobile Samsung Galaxy S 4] The Sickness:
[MENTION=972067]finny[/MENTION] I did change wifi - scan - interval to 300.

Get Cha Some Kit Kat

Deviant Development Team Member
[T-Mobile Samsung Galaxy S 4] Fenny:
So it turns out that MMS is working just fine over wifi with the stock MMS app (at least for most people) However, Hangouts won't do it currently. I am going to have to inject an alternative method for sending MMS that uses the appropriate calls from IMS, and also add a call to check with the ims service to see if ims is registered over wifi. Should be totally do-able.
[T-Mobile Samsung Galaxy S 4] The Sickness:
I also did a lot of csc edits.....I will look at them when I get home. And some where for messages

Get Cha Some Kit Kat

Deviant Development Team Member
[T-Mobile Samsung Galaxy S 4] boomerxyz:
Debloat and get rid of the CIQ spyware on your next update! :o Noticed some of the apps are moved to the /system/PRIV-APP folder now if anyone is manually debloating. Thanks for the great work! :good:
[T-Mobile Samsung Galaxy S 4] cisco150:
what you mean by this MD5:a8c0fc5cc75e590d152535d275817480

(DO NOT USE -- BROKEN) Untouched ODIN compatible firmware from SamMobile.com (DO NOT USE -- BROKEN) (mirror) idownloaded the hole file is somthing broken in file or in link
[T-Mobile Samsung Galaxy S 4] Fenny:
The original firmware from Samfirmware is broken and does not flash properly.
[T-Mobile Samsung Galaxy S 4] cisco150:
ok thanks i have download it last night and was going to flash then seen your post. i should just flash your fix version as is untouched
[T-Mobile Samsung Galaxy S 4] Fenny:
Correct, just be aware that it will give you new bootloaders that cannot be downgraded. (You can still flash custom /system, recovery, etc...)
[T-Mobile Samsung Galaxy S 4] cisco150:
ok thanks i just ran odin3 v3.09 and select the ap section and open your file but it says MD5 error binary is invalid ?
[T-Mobile Samsung Galaxy S 4] Fenny:
Odd, should work if you rename from tar.md5 to .tar
[T-Mobile Samsung Galaxy S 4] Fenny:
03-17 11:23:13.657 E/SecureStorage(7197): [ERROR]:SPID(0x00000001)===============================================================================
03-17 11:23:13.657 E/SecureStorage(7197): [ERROR]:SPID(0x00000001)The kernel binary has been changed.
03-17 11:23:13.657 E/SecureStorage(7197): [ERROR]:SPID(0x00000001)The platform/kernel binaries should be synchronized for running Secure Storage.
03-17 11:23:13.657 E/SecureStorage(7197): [ERROR]:SPID(0x00000001)Please use the same version of platform/kernel binaries.
03-17 11:23:13.657 E/SecureStorage(7197): [ERROR]:SPID(0x00000001)===============================================================================

So... are you sure the wifi fix zip is actually being flashed?

It looks like secure storage is still trying to be enabled. This is what would cause wifi credentials to not be stored properly.
[T-Mobile Samsung Galaxy S 4] spikedzombies:
I flashed the wifi fix when I flashed the rom
[T-Mobile Samsung Galaxy S 4] Fenny:
Check your build.prop, what does it say about securestorage?
[T-Mobile Samsung Galaxy S 4] spikedzombies:
how do i do that?
[T-Mobile Samsung Galaxy S 4] widto08:
keyboard

Does anyone else's keyboard look like this in landscape or is this just a product of 4.4.2?
[T-Mobile Samsung Galaxy S 4] LoopDoGG79:
When using the Samsung keyboard, yes, thats the way it looks. I personally prefer SwiftKey.
[T-Mobile Samsung Galaxy S 4] boomerxyz:
Should securestorage be true or false?
[T-Mobile Samsung Galaxy S 4] widto08:
Hmm. Wonder why Sammy decided to squeeze the keyboard in 4.4.2 as opposed to leaving like it was in 4.3 where it filled to the boarders :confused: Seems strange to me...

---------- Post added at 08:01 PM ---------- Previous post was at 08:00 PM ----------

false
[T-Mobile Samsung Galaxy S 4] spikedzombies:
not sure

mine says ro.securestorage.support "true"
[T-Mobile Samsung Galaxy S 4] The Sickness:
Change it to false

Get Cha Some Kit Kat

Deviant Development Team Member
[T-Mobile Samsung Galaxy S 4] LoopDoGG79:
Are you on version 1.0? Mine says false.
[T-Mobile Samsung Galaxy S 4] Fenny:
This is your problem. :D
[T-Mobile Samsung Galaxy S 4] The Sickness:
[MENTION=522448]Fenny[/MENTION], have you tried to mod framework-res?

Get Cha Some Kit Kat

Deviant Development Team Member
[T-Mobile Samsung Galaxy S 4] Fenny:
Nah, work keeps making me do ACTUAL work. Like I'm pretty sure I come to work to work on my android projects. Not to ensure that your instruments are communicating with the interfaces, K?
[T-Mobile Samsung Galaxy S 4] spikedzombies:
but i flashed 1.1
[T-Mobile Samsung Galaxy S 4] cisco150:
i Did rename but flash failed and i check the download and every time it download i have different mb of data think host is no right. ill try downloading it again and ill get back to you. thanks for help and great work
[T-Mobile Samsung Galaxy S 4] elesbb:
what do you mean by "patched 4.3 files" ?
[T-Mobile Samsung Galaxy S 4] mrvirginia:
and the KNOX debacle continues. i have a feeling s5 development is going to suffer due to not as many devs picking it up...

good job, bro!
[T-Mobile Samsung Galaxy S 4] The Sickness:
I think the lockscreen pin may be tied to the bootloader.....maybe. In security settings to view Device Admin, Knox is one of em. So I'm not too sure.
[T-Mobile Samsung Galaxy S 4] mrvirginia:
you must've been tired when you asked this question :silly:

he basically did the same thing i was doing with GPE. he had a stock 4.3 build on his device, then he likely pulled crap out of the OTA (bootloader at least), repacked the OTA, and flashed with recovery. the OTA is just a patching of files, mostly, with possibly some new apks. the patch zip will only work correctly if you have stock 4.3 files. it does assert checks on the files before modifying, as long as you don't pull those checks out of the updater-script.
[T-Mobile Samsung Galaxy S 4] c_arivazhagan:
Boot Loop - After flashing 4.4.2 zip

I had 4.4.2 Stock via OTA. Google play store wasn't working for 2 days; said "problems communicating with google servers".

So tried flashing stock 4.3 via ODIN. Soft bricked the phone.

Flashed OUDHS-Recovery-jfltetmo-1.0.3.3.tar using ODIN, and then flashed CWM 6.0.4.4.zip.

Then I flashed 4.3 Deodexed ROM using CWM. Booted and it was working fine.

After seeing this thread, I tried flashing 4.4.2 zip given in the link.

It goes into boot loop.

So I switched back to 4.3 Deodexed ROM. Works fine.

Definitely learning a lot with this back and forth ROM flashing.

The screen shot of where I am right now has been attached.

Am I getting into boot loop with 4.4.2 zip because it does not have boot loader?

Any clue when can we expect stock tar file? Eagerly waiting, because that is the only way I can get back to stock 4.4.2

Appreciate your help!
[T-Mobile Samsung Galaxy S 4] elesbb:
Actually, its caused by this

security.mdpp=None

Remove that from build.prop and it should work again. I remember reading that call to the property in the smali when i was debugging everything. Have no idea what it is or what it does but i see no side effect of removing it. (Prolly is stupid Knox related)

Ahhh, i never took a look at OTA zips. And yes lately i've been very tired. Have been sick AND still going to work. However, luckily, i feel the reason i am sick is from allergies caused by going to work. ha ironic right?

---------- Post added at 08:44 PM ---------- Previous post was at 08:41 PM ----------

Since i was curious,

Here's a link which i think describes what that is:

http://www.safelogic.com/2013/10/
[T-Mobile Samsung Galaxy S 4] The Sickness:
I have built a rom....but it sticks on splash screen. I can dirty flash over my 4.3 rom and it's fine, just no wifi.

I will edit the build.prop as you mentioned. Thanks

My S4 Is Insane

Deviant Team Member
[T-Mobile Samsung Galaxy S 4] mrvirginia:
well, gotta make dem monies :D

in regards to security, figured it was something simple. mdpp is just an added security feature. not specifically sure if KNOX related, though.
[T-Mobile Samsung Galaxy S 4] Fenny:
FYI I actually got the patch utility working on my Dev box using voodoo black magic. A release is forthcoming... Eventually. :)
[T-Mobile Samsung Galaxy S 4] mrvirginia:
oh nice! i always wondered if i could do a sys patch sans device. that will come in handy in the future.
[T-Mobile Samsung Galaxy S 4] xda23:
I cant wait to try out your kitkat rom bud. :)
[T-Mobile Samsung Galaxy S 4] Fenny:
I have been having the same issues with my attempts. It seems like selinux is complaining because I deodexed the framework still. I wonder if we need to change a dalvik policy somewhere so that it will allow the linked file to be found in /cache/*.dex rather than /system/*.odex

But then maybe I am missing something elsewhere. :P
[T-Mobile Samsung Galaxy S 4] Fenny:
W/SELinuxMMAC( 2836): assignSeinfoValue, matching key found
W/SELinuxMMAC( 2836): assignSeinfoValue , step 2, pkgName:com.samsung.android.Mt
pApplication, seinfo:platform
I/dalvikvm( 2836): DexOpt: mismatch dep name: '/data/dalvik-cache/system@framewo
rk@core.jar@classes.dex' vs. '/system/framework/core.odex'

Maybe I should try removing the selinux db entirely.

Interesting reading:

https://github.com/android/platform...s/java/com/android/server/pm/SELinuxMMAC.java
[T-Mobile Samsung Galaxy S 4] The Sickness:
Did it let it boot up?
[T-Mobile Samsung Galaxy S 4] elesbb:
I had this issue too with my I9505 build. However, linux was NOT enforcing (using ktoonsez kernel) SELinux was set to permissive.

I too was de-odexing.

After countless hours of testing and debugging. I finally got it to boot. But then anything Google related was force closing. So I just didn't deodex if i didn't have to. Only deodexed certain files that i couldnt make an xposed module for the mod.

I don't think your issue lies within the SELinux, i think the DexOpt is your culprit (Thats what it was for me at least)

When you deodex, you break the signatures. And since not all apps in the ROM are odexed, some signatures don't match therefore system/signature permissions are not granted, thus causing the bootloop.

I am trying to figure out where this signature checking occurs so i can always return true or some other work around.
[T-Mobile Samsung Galaxy S 4] Fenny:
Yep, (force)Disabling the selinux part did not stop the dexopt errors. I am going to re-odex system with my changes and see if that helps at all.
[T-Mobile Samsung Galaxy S 4] elesbb:
I was gonna do that too. It should work so long as you use the ORIGINAL .apk or .jar file which contains the signature.
[T-Mobile Samsung Galaxy S 4] vicvon:
Is this just a 4.4.2 TouchWiz rom? You can use the i9505 442 And everything works except pin lock

---------- Post added at 06:11 PM ---------- Previous post was at 06:10 PM ----------

I have the newest goldeneye working great.
[T-Mobile Samsung Galaxy S 4] The Sickness:
This is m919 TW

Where Is My Freakin Kit Kat

Deviant Development Team Member
[T-Mobile Samsung Galaxy S 4] vicvon:
just has the wifi calling?
[T-Mobile Samsung Galaxy S 4] The Sickness:
PM sent

Get Cha Some Kit Kat

Deviant Development Team Member
[T-Mobile Samsung Galaxy S 4] mewikime:
Hello. I'm coming from jovy23's Stock 4.3 Deodexed CIQ & KNOX Free Rom and stock modified MK2 kernel, with the modem from.. err... I don't know where :p (I'm not very good at all this)

To upgrade and stay knoxless, do I need all three of the new v1.1 Rom, and the boot.tar and the modem.bin? When I clicked the link for the modem it says it's for MDL bootloader only, so I'm a bit confused..

Also, what is a "wow raid"? This is not something I've come across while flashing roms before. Thanks
[T-Mobile Samsung Galaxy S 4] Fenny:
Wiping a WoW raid = "Leeeeeeroooy Jenkins"

It's a joke, because I was feeling snarky when I wrote the step-by-step. :D

You need the ROM, and then the WifiFix. The modem is optional, but I have only heard good things from the people who have flashed it so far.
[T-Mobile Samsung Galaxy S 4] gaww:
I have good results with these 4.4 ROMs. It did not do so well with 4.3 before I flashed 4.4/