yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 Android Development] sahilsoni:
Yes I am on MK2 and 4.3. I guess I can try 3.71 and see what happens.

I followed this guide linked to in the OP

0. Root and install safestrap v3.72

1. Copy files from above to extSdCard

2. Reboot into Safestrap Recovery

3. Wipe... Advanced Wipe... everything except extSdCard

4. Install... 4.4.2 ROM

5. Install... mldmodules.zip (to fix wifi)

6. Install... UPDATE-SuperSU-v2.00.zip (to keep root)

7. Home... Reboot... Download (to reboot into download mode)

8. On PC, open Odin and flash files from MLD Odin Files folder.... BL AP CP

9. Phone will reboot automatically

10. Check APN settings and configure if necessary
[AT&T Samsung Galaxy S 4 Android Development] jaywithag:
You need to odin the mld file. The MK2 is to go back to 4.3 roms
[AT&T Samsung Galaxy S 4 Android Development] sahilsoni:
Oh... That makes sense. Let me try that.
[AT&T Samsung Galaxy S 4 Android Development] bennyboy78:
For some reason, I can't get good battery life! No gaming no streaming, and I only manage to get 3 hrs SOT if I'm lucky.

Anybody get better life? Tips?

Thanks
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
Try freezing the gapps you don't use. That was what was killing it for me.

---------- Post added at 09:06 PM ---------- Previous post was at 08:45 PM ----------

I've made a replacement bootsamsungloop.qmg to replace the partial rotation loop. I'm pushing it into system/media now to see how it fares.

And horribly distorted lol. Lets see if I can fix it...

UPDATE: Turns out I need to edit both the samsungbootloop.qmg AND the samsungboot.qmg together in order for it to work correctly. Looks like I need to edit the GOOGLE logo into the center of the samsungboot.qmg, because the one it that zip has the google edited out :(. It will have to wait till tomorrow.
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
May I ask how you made yours? I followed a tutorial but couldn't get it working. I was just going to have the boot and loop be the part0 and part1 folders in the bootanimation.zip respectively.
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
Sure. I made the qmg according to this, and pushed the qmg directly into system/media and set permissions to rw--r--r. I haven't even bothered making a flashable zip yet.

EDIT: I forgot to mention, there is another image of the bootsamsungloop.qmg in one of the data folders (I forget which, I just searched for it in root explorer) that I deleted and I wiped dalvik cache and cache in Safestrap before booting the animation up for the first time.
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
I followed that and didn't get it working the first time. I guess I'll just have to try it again. Hopefully I'll figure this out.
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
Damn you got to it before I edited my post : P

I forgot to mention, there is another image of the bootsamsungloop.qmg in one of the data folders (I forget which, I just searched for it in root explorer) that I deleted and I wiped dalvik cache and cache in Safestrap before booting the animation up for the first time.
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
I didn't have one in my data folders besides the backup on my internal storage. Anyways, I got it working and made it as I planned but it stretched out the images because they weren't 1080x1920. So I have to resize every image to that and remake it. :P

EDIT: Now the second half of it refuses to start. :P It also moves like it's got somewhere to be in the next 10 seconds and isn't changing with the duration setting.
[AT&T Samsung Galaxy S 4 Android Development] doe or die:
ROM is running great except for one issue. I seem to have this problem any time I flash and run a non-Touchwiz ROM, so I know it's not the ROM specifically, but hopefully someone has found a solution by now.

It seems as though any non-Touchwiz ROM makes my proximity sensor malfunction, as my screen won't turn on when I'm on a phone call. So when I'm done with a phone call and ready to hang up, my screen stays off, and there's no way for me to end the call. I've had to go into settings and check "power button to hang up call" so that I can end phone calls, but I'd obviously prefer to just be able to do it the normal way.

Anyone know if this issue has been addressed and solved yet?
[AT&T Samsung Galaxy S 4 Android Development] DrGonzo6o:
I'm sorry I can't help but mines doing the same thing. I tried using the sensor service apk out of a touchwiz ROM it seemed to help a little but not much. So I just uninstalled it.
[AT&T Samsung Galaxy S 4 Android Development] atistang:
Anyone gain any battery life with this over a touchwiz ROM?
[AT&T Samsung Galaxy S 4 Android Development] r8revealed:
Mine nearly doubled. I used to get ~2hrs screen on time on one full charge on TW NC1. Now I get nearly 4.5-5 hours screen on time and the battery lasts about a day and a half. Flashing this ROM has honestly made me want to keep my S4 and not trade it in for something else.
[AT&T Samsung Galaxy S 4 Android Development] atistang:
Glad to hear, I've been feeling the need to upgrade, but if I can get a GPE ROM to work and battery life like that then I might keep it for a while longer
[AT&T Samsung Galaxy S 4 Android Development] kevinco1:
I don't have specific numbers, but I'm getting much better battery life/performance than ever before.

Any workarounds to get the wi-fi hotspot to function? This ROM would be flawless if that was possible.
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
I've got the second half to start, but like you said, it's way too speedy and it doesn't seem to change no matter the duration you set it at :mad:
[AT&T Samsung Galaxy S 4 Android Development] thomasye:
update 4.4.4

First I would like to thank for providing nice GPE ROM. I have installed 4.4.3 ROM using safestrap method and it runs great. Yesterday, there is notification informing that 4.4.4 update is available, is it safe to accept the update? Thanks.
[AT&T Samsung Galaxy S 4 Android Development] ac3theone:
Same here, I almost got the T-Mobile note 3
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
No. From what I've read the update contains changes to the boot.img kernel image and an updated recovery image. This would likely trip knox and destroy your kernel, possibly hard bricking your phone. I'm sure jmsq is looking into what he can and cannot include in a 4.4.4 update zip for us, but until he does so I'd avoid the update like the clap.
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
By god I think I've got it.

https://docs.google.com/file/d/0B7r1gfrm1vXoU2MxNDlkM3NQWXc

Download it, extract the two .qmg's and push them into system/media, set permissions (rw--r--r), reboot to recovery, wipe dalvik cache and cache, reboot and enjoy the show. :victory:
[AT&T Samsung Galaxy S 4 Android Development] Surge1223:
Anyone know where I can get the latest gpe ota/Odin tar? Im working on integrating a vzw/att compatible version, with some touchwiz features still intact, ive gone through the 4.4.2 and made a lot of changes plus i have a good understanding of the what i think is required by our kernel to boot gpe but id rather work with the latest version if its out. Thanks.
[AT&T Samsung Galaxy S 4 Android Development] ksj0823:
alright just got the 4.4.4 update, and it downloaded by itself. ready to restart and install the update. I know I can't take this update. So anyway we can avoid this automatic update???
[AT&T Samsung Galaxy S 4 Android Development] bennyboy78:
[MENTION=4939386]Surge1223[/MENTION] I think it's here:

http://xdaforums.com/showthread.php?t=2794879
[AT&T Samsung Galaxy S 4 Android Development] r8revealed:
Installing the 4.4.4 update will not update you to 4.4.4. (The OP will update this ROM). Anyway, to disable the notification for it, hold down on the notification and click app info then uncheck "show notifications". After that it'll remove the notification. I checked it back again later and I did not receive an OTA notification for it again.
[AT&T Samsung Galaxy S 4 Android Development] ksj0823:
but, it is showing update already downloaded, if I do a reboot at this time, will it automatic update my system(brick my phone)?
[AT&T Samsung Galaxy S 4 Android Development] kevinco1:
Use Notification Blocker in Gravity Box to get rid of the update notification. It will not install unless you actually click on the update button.
[AT&T Samsung Galaxy S 4 Android Development] ksj0823:
Thank you
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
It's perfect! :D now i can be slightly less annoyed when i have a reason to reboot ;)
[AT&T Samsung Galaxy S 4 Android Development] r8revealed:
I was wondering if a mod like: http://xdaforums.com/showthread.php?t=2275858 could be applied into this AOSP rom. If so, how?

I was reading that it was for TW only, though since I can easily see the icons in the zip I was wondering how it would be applied.
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
Sorry about the delay, I had to do quite a bit of hacking on the OTA to make it work with this rom. Note that you will have to reflash supersu after the update and possibly kernel modules to be safe. If the system update downloaded notification is still showing, a second reboot should fix that. The OTA link is here: https://drive.google.com/file/d/0ByCYkZozShp_bE02ZlJRQkgxTWM
[AT&T Samsung Galaxy S 4 Android Development] thomasye:
4.4.4 update

Hi jmsq, could you be a bit more specific? I currently have 4.4.3 installed with instruction from

http://xdaforums.com/showthread.php?p=51130818

OPTION 2

Odin to NB1 stock with [MENTION=4708661]muniz_ri[/MENTION]'s I337UCUFNB1_4.4_Rootable_Stock_Odin_tar (rootable with towelroot) found here.

Files you will need on ExtSdCard before starting:

-- Safestrap-JFLTE-3.72-kk-B01.apk from here

-- ROM Install Zip (check ROM notes... may need to replace updater-script)

-- ATT_NB1_Modules.zip from here

-- UPDATE-SuperSU-v2.00.zip from here

If I understand correctly, I should copy your latest gpe_444_update.zip into external SD, and boot into Safestrap, then flash gpe_444_update.zip and SuperSU-v2.00.zip separately? Are you also suggesting flash ATT_NB1_Modules.zip?

thank you!
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
Yes, you'll want to be on 4.4.3 to start. Then you'll download the gpe_444_update.zip and flash it in safestrap, followed by flashing the latest SuperSU. I don't think you need to flash the kernel modules again, but it doesn't hurt and only takes two seconds.
[AT&T Samsung Galaxy S 4 Android Development] kevinco1:
I've downloaded and flashed the file a few different times and it's always coming up with an error.
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
What error are you seeing? Is it failing due to a file having unexpected contents?
[AT&T Samsung Galaxy S 4 Android Development] kevinco1:
Error message

1st line: "system/app/drive.apk" has unexpected contents

2nd line: error executing updater binary in "path to file"

3rd line: error flashing "path to file"
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
Strange, mine didn't error on that one. Are you using the stock drive.apk from the 4.4.3 rom?
[AT&T Samsung Galaxy S 4 Android Development] thomasye:
I follow what you suggested and flash gpe_444_update.zip, latest SuperSU and ATT_NB1_Modules.zip.The whole process takes about 10 minutes. After reboot, there is no wifi. As usual, a soft-reboot from gravitybox fix the problem.

Now I am enjoying the latest 4.4.4, Many thanks!
[AT&T Samsung Galaxy S 4 Android Development] kevinco1:
I uninstalled a bunch of apps when I first installed 4.4.3, including Google Drive. So do I have to be running a fresh copy of 4.4.3 before I can flash the 4.4.4 update? Had to be running NB1 stock in order to flash the NC1 update, so doing the same thing with this would make sense...
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
Ah that would explain it. This update requires the original apps installed from the 4.4.3 rom to be present. If it tries to update one and it is changed or missing, then it will fail with the "unexpected contents" error on that file.
[AT&T Samsung Galaxy S 4 Android Development] kevinco1:
Makes sense, don't know why I didn't think of that until now...long day. Should be good from here on the install.

Besides updating the firmware to 4.4.4 is there any updates worth noting? Hoping the wi-fi tethering will be operational sooner than later. If you are looking for any beta testers, I'll be more than happy to help out.
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
Unfortunately no new updates on wifi tethering or mtp. MTP will probably require a clever hack that I'm not even sure would actually work, so the likelihood of that getting fixed is low. I'd really like wifi tethering working as much as anyone else, but I'm not sure what's up with it. Considering I had to do a pretty hacky command to get wifi working at all, I'm not terribly surprised. I've tried loading the wifi with the apsta firmware but that doesn't fix it either.
[AT&T Samsung Galaxy S 4 Android Development] dpwguenther:
Has anyone tried svoice on this yet? I can't get it to work, I had it working on cm11 when I has my s3, I updated files of the zip but can't get it to work
[AT&T Samsung Galaxy S 4 Android Development] YaKillaCJ:
Haven't tried SVoice but I will check if it works. I do however highly recommend Ok Google instead. It functions just fine on this Rom and it is the better dictation software. Most major launchers updated to have it working but with xPosed, it can work with every launcher.

Another trick I did was use GravityBox to change my buttons shortcuts. Holding the menu button brings up GB launchers (works no matter what U are doing and doesn't interfere with running apps). Even better technique is assigning double tap home to bring up Google Now. It makes for an awesome non intrusive experience ^_^
[AT&T Samsung Galaxy S 4 Android Development] dpwguenther:
Google is a battery hog for me, and Samsung apps works fine it's just svoice that doesn't , also do you know how to properly remap the hold home button fiction to be for the recent apps?
[AT&T Samsung Galaxy S 4 Android Development] thomasye:
Hi jmsq,

Can you confirm that google earth is function alright on your phone? I attemped to launch the app but always failed. I even clean the cache but still won't luanch. Thanks.
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
It's crashing on launch for me, but I've never tried using it on this phone before. Is this a new problem with 4.4.4, or has it always had this problem?
[AT&T Samsung Galaxy S 4 Android Development] thomasye:
It is crashing on both 4.4.3 and 4.4.4. Good to know this, at least it is not something I need to worry about my setting.

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

One way to fix the problem is to uninstall the stock earth (I am using rom toolbox lite) and re-install google earth from play store. But I might run into the same problem kevinco1 has (in his case, some original apps are modified).
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
I wouldn't worry about Google Earth. It wasn't patched in the 4.4.4 OTA and I'll remove it going forward to avoid this crash.
[AT&T Samsung Galaxy S 4 Android Development] womc:
ART runtime finally works on 4.4.4!!!

Looks like ART runtime finally works after upgrading from GE 4.4.3 to GE 4.4.4 on my AT&T I337!!! :D

(not sure if it's just me but it still only reboots as Dalvik mode even when I chose to use ART runtime from the developer setting on GE 4.4.3)
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
Update fails to flash for me.

"system/bin/debuggerd" has unexpected contents.

E:Error executing updater binary in zip '/external_sd/gpe_444_update.zip

What does this mean?
[AT&T Samsung Galaxy S 4 Android Development] r8revealed:
It happened to me too until I uninstalled Xposed framework. Though for some reason ART was being extremely slow for me in 4.4.3.
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
Usually this means that the file has been modified or removed by something since the original flash of the 4.4.3 rom. You can pull the original debuggerd from the 4.4.3 zip, or reflash the 4.4.3 rom and try again.
[AT&T Samsung Galaxy S 4 Android Development] dpwguenther:
Does anyone have any inverted apps like google dialer or contacts?
[AT&T Samsung Galaxy S 4 Android Development] thomasye:
I tried to use ART in 4.4.3 but always switch back to Dalvik, and I still cannot use ART after upgrade to 4.4.4.
[AT&T Samsung Galaxy S 4 Android Development] bennyboy78:
Same here. ART never boots for me. Just sits on the boot screen vibrating. I let it sit for ten minutes. JUst endlesss vibrating
[AT&T Samsung Galaxy S 4 Android Development] ksj0823:
ART not working for me either. but I got xposed installed. so not surprise for me.
[AT&T Samsung Galaxy S 4 Android Development] thomasye:
Same here, have Xposed installed in order to get soft-reboot function, otherwise there is wifi issue.
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
OK, that got me past that error, but I got another telling me that there was not enough space in 'system.' I got past this by backing up my data, wiping dalvik cache, cache and data. I then flashed the zip and restored my data backup.

It's working flawlessly from what I can tell.
[AT&T Samsung Galaxy S 4 Android Development] womc:
4.4.4 Upgrade won't work with alternative GApps installed

Originally I have PA-Google Apps installed on top of GPE 4.4.3 on i337. When I tried to install the 4.4.4 upgrade, it gave an error regarding some /system's Google apks.

So I re-installed the whole system with GPE 4.4.3 and then 4.4.4 upgrade right after it. It still gave out some errors.

I boot right into the GPE 4.4.3 to let to to do some initialisation setup. After the setup is done, I went back to Safestrap to install the 4.4.4 upgrade. YES! It finally works!

TL;DR: GPE 4.4.4 (for i337) upgrade won't work if (one of following):

You already have alternative GApps (e.g. PA-Google Apps) installed on top of GPE 4.4.3

You try to install the upgrade right after installing GPE 4.4.3
[AT&T Samsung Galaxy S 4 Android Development] DaGamer12345:
So how come we couldn't get data working on the Verizon Galaxy S4 SCH-I545? When I had the rom installed, everything worked except for data (messaging actually worked until I tried messing with the APN settings using Tweeker or something). The APN settings on a working Verizon rom is as follows:

APN: VZWINTERNET
Proxy: Not Set
Port: Not Set
Username: Not Set
Password: Not Set
Server: Not Set
MMSC: Not Set
Multimedia Message Proxy: Not Set
Multimedia Message Port: Not Set
MCC: 311
MNC: 480
Authentication Type: Not Set
APN Type: default,dun,supl
APN Protocol: IPv4/6
APN Roaming Protocol: IPv4/6
Turn APN on/off: On
Bearer: Unspecified
Mobile Virtual Network Operator Type: None
Mobile Virtual Network Operator Value: Not Set

The settings seem to be different than if you google the APN settings for Verizon. Maybe some settings are hidden, I'm not sure. It's either the APN settings, or (purely speculation) Verizon can determine what the device is presenting itself as when connecting, and completely refuses the connection. Which doesn't explain how I could send/receive text messages before messing with the APN settings. I'll see if the APN settings are different than what is shown by using APN Backup/Restore, and if they aren't Can't use it (no permissions even when system app), make a backup and try this rom again and see if I can get data to work. The worst that can happen is data doesn't work and I have to go through another restore of my current rom.
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
It works just fine with me, even with X posed framework and several modules running.

Note the Select Options option and the circle battery.

Try backing up your data in safestrap--just your data deselect the system option--, do a clean install of 4.4.3, wipe cache, dalvik cache and data, then install the 4.4.4 zip and then restore data.

I was not able to flash the 4.4.4 zip otherwise, mmaybe that's why I can use it.
[AT&T Samsung Galaxy S 4 Android Development] ksj0823:
:confused::confused: your screenshot is showing you are using Dalvik, not ART. so what are you trying to say??
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
Never mind, your right.
[AT&T Samsung Galaxy S 4 Android Development] ksj0823:
but the "Select runtime" section on your screenshot is showing "Use Dalvik"?
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
I realized that right after you posted :silly:
[AT&T Samsung Galaxy S 4 Android Development] ksj0823:
lol. not sure if there is anyone that uninstall the xposed for ART. but is there anyway to use that "Android terminal emulator" to do the soft reboot?

---------- Post added at 02:13 PM ---------- Previous post was at 02:05 PM ----------

EDIT:

Alright, I just found a cmd that will do a soft reboot using "android terminal emulator "app from play store.

su

not sure if this su cmd is necessary or not, but i did it (to grant the root access)

pkill zygote

soft reboot

so we can do a soft reboot without the xposed? is that means most of us can use the ART runtime?

ALL credit goes to "imoseyon"

Link: http://www.imoseyon.com/2011/02/soft-reboot-quick-reboot.html
[AT&T Samsung Galaxy S 4 Android Development] womc:
Just found there is a soft-resetting app on Play Store, called "Soft Reboot (ROOT)" by NEXT2IT. It works even without having Xposed installed. :)
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
Which package did you flash for that? I tried to flash the DarkUI one, and I still have the standard issue white dialer.
[AT&T Samsung Galaxy S 4 Android Development] treyparker:
Don't know if this has already been known, but if you symlink /dev/usb_mtp_gadget to /dev/mtp_usb and change its permissions, you can get the phone recognized as an MTP device by your PC. However it still doesn't really work - I managed to copy one file to the device, but not much else - couldn't copy anything from it or write anything to it any more after that.

If anyone's interested, the commands I used were:

su

ln -s /dev/usb_mtp_gadget /dev/mtp_usb

chmod 0777 /dev/usb_mtp_gadget

I'm on NC1 kernel
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
Interesting. I tried this a while back (4.4.2) and all it did was change the error code that mtpserver would give, and still wouldn't mount the storage via mtp. If you actually got the storage to mount and copy a file that's a decent improvement. It could also be that I'm on the NB1 kernel.
[AT&T Samsung Galaxy S 4 Android Development] Apoplectic1:
Question, is there a way to edit this ROM to enable the use of shutdown animations like TouchWiz ROMs use? I've made a shutdown.qmg that goes with boot animation that we could use. I hate seeing that box that says "Phone is shutting down" box as it shuts down and I think a Google shutdown animation could really polish this ROM's theme off.
[AT&T Samsung Galaxy S 4 Android Development] YaKillaCJ:
My battery life is nice. They both do the same, it's all about settings. Turn off Google ability to auto update your location (just because it wants to be nosey, lol) and your battery will be fine.

I used Gravity Box > Navigation Keys Actions > Home Key > Long Press Action

Alternative that should work is xPosed Additions.
[AT&T Samsung Galaxy S 4 Android Development] pendragon11:
Anyone else experiencing Chromecast disconnects? Getting them every other song now. Could just be me though, this ROM is sweet. Running the material themed keyboard too
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
Updating to NC1 kernel and trying these commands did work for me. It showed up on my PC, but when I tried to copy something it gave out and then device manager kept showing it as "code 10 failed to start device".
[AT&T Samsung Galaxy S 4 Android Development] Guedeaux:
Thanks for the 4.4.4 update. I flashed it, SuperSU, and ATT NC1 modules and it booted up perfectly.