yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 Android Development] Surge1223:
This is the same way I would toggle hotspot on and off when we had to downgrade to mk2 on vzw s4. An easy way to implement this for people would be to create a new toggle that calls that intent action. Or using/editing an apk to do this. Although deadlysin's method of having the files in system/bin shouldn't be tough for people to do.

Another idea is it to create a conditional if then statement based script to determine when to turn off/on WiFi AP etc. I just wrote a rough idea of this in the form of a script. You can probably expand on this to accomplish what you are wanting to do.

Or I guess maybe in this particular case
[AT&T Samsung Galaxy S 4 Android Development] marbertshere:
Is it possible to use an app like tasker to make the process a little easier?
[AT&T Samsung Galaxy S 4 Android Development] npjohnson:
Hmm... this sounds like an Xposed module in the making..... XD
[AT&T Samsung Galaxy S 4 Android Development] pendragon11:
Hotword
[AT&T Samsung Galaxy S 4 Android Development] untruestory:
Has anyone investigated getting the Samsung camera to work on this? I mean, if this ROM is using a modified stock kernel then we're closer than aosp right? Anyone know of any clues as to what files are used by the stock camera?
[AT&T Samsung Galaxy S 4 Android Development] adizzyx:
Is this typed in terminal? I'm struggling to make this work.
[AT&T Samsung Galaxy S 4 Android Development] Chevelle1768:
I have this working with Tasker and Secure Settings.
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
Terminal. Leave off the initial '#', the rest is as is.

Sent from my SGH-I337 running GPE
[AT&T Samsung Galaxy S 4 Android Development] marbertshere:
Ah I'm familiar with both but I don't know how to integrate the terminal commands into a task. Kind of a noob haha
[AT&T Samsung Galaxy S 4 Android Development] adizzyx:
Could you help me more, tried that. Still can't get it to work.
[AT&T Samsung Galaxy S 4 Android Development] Chevelle1768:
Here you go:

TetherOn

Script->Run Shell. Command

svc wifi disable

Use Root.

Script->Run Shell. Command

rmmod dhd; insmod /system/lib/modules/dhd.ko "firmware_path=/system/etc/wifi/bcmdhd_apsta.bin nvram_path=/system/etc/wifi/nvram_net.txt"

Use Root.

Plugin->Secure Settings->Actions->Wifi Hotspot->On

__________________________________________________

TetherOff

Plugin->Secure Settings->Actions->Wifi Hotspot->Off

Script->Run Shell. Command

rmmod dhd; insmod /system/lib/modules/dhd.ko "firmware_path=/system/etc/wifi/bcmdhd_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt"

Use Root.

Script->Run Shell. Command

svc wifi enable

Use Root.
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
The code portions are typed in the terminal as root (su.) The rest is done in the GUI as described.
[AT&T Samsung Galaxy S 4 Android Development] adizzyx:
Thank you guys, derp on my end. Got it working.
[AT&T Samsung Galaxy S 4 Android Development] marbertshere:
Just curious, what is your tethering app of choice? I'm on Verizon, do some play better with different carriers?
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
I'm just using the built in tethering. When I needed it on my old phones i always used WiFi Tether for Root Users but that hasn't been updated in over a year so I don't know if it's still a good option.
[AT&T Samsung Galaxy S 4 Android Development] justein:
LTE not able to be selected AT&T I337 NC1

I have been trying to enable LTE on my I337, but every time I go into settings > more... > mobile networks and try to change preferred network type from 3G to LTE, it quickly reverts back. I am currently only getting 3G speeds, and my APN is correctly set, this is a software issue. I have installed the NC1 modules, as Wi-Fi is fully working on my phone. What can I do to fix this so I can get LTE on my phone once again? Thanks to anyone who responds.
[AT&T Samsung Galaxy S 4 Android Development] marbertshere:
This was posted on the Verizon thread. I'm pretty sure the dialer code is a Verizon thing but you can try it out. Other than that, maybe flash modems? I'm assuming you've searched this thread. Anyways, Here it is:

The following was posted earlier by user RyaNov133.

For those of you who have gone into Settings > More Settings > Mobile Networks > Preferred Network Type and then selected "LTE (recommended) from the list without any selected, here is what you do to get your service back.

I had done this because, hey nothing was selected, might as well select it right? Afterwards I lost all service and continually got a "Mobile Network Not Available" message whenever I tried to place a call. To fix this, I did the following:

1. Open Phone app to the dialer

2. Type *#*#4636#*#*

3. A testing menu should appear

4. Tap "Phone Information"

5. Scroll down until you see "Set Preferred Network Type"

6. Tap the dropdown menu and select "LTE/CDMA auto (PRL)"

7. Enjoy having your service back!

Just remember not to touch any mobile network settings and you should be fine.

This happens because (I believe, correct me if I'm wrong) the ROM was made for AT&T phones running on a GSM network, therefore the mobile network settings are programmed to try and pick up a GSM network, while our phones can only receive a CDMA connection. When you selected LTE (recommended) from the Mobile Network settings, it was referring to a GSM network.
[AT&T Samsung Galaxy S 4 Android Development] nick.koutrelakos:
You can also download Radio Switcher , which is an app that gets you to this hidden menu.
[AT&T Samsung Galaxy S 4 Android Development] npjohnson:
Guys! I have an idea on the USB MTP Issue...

As many already know, TWRP 2.8 was just released, if someone wants to rebuild SafeStrap with a 2.8 base... it includes support for USB MTP.

So it isn't a fix, but if you wanted to copy files, all you would have to do is to reboot to recovery (SafeStrap) and then copy your files.
[AT&T Samsung Galaxy S 4 Android Development] kevinco1:
If you guys want to mount both the internal/external SD card through USB try MoboRobo. Works like a charm!

http://www.moborobo.com/products/moborobo.html
[AT&T Samsung Galaxy S 4 Android Development] npjohnson:
Definite way to get USB MTP, just above my head.

Surge recently reenabled unsigned kernel modules, so if someone wants to pull the Google Edition USB MTP Kernel Module from the Original Google edition Rom, then just implement Surges kernel modules fix (Thread: If we are serious about unlocking the bootloader) on the VZW S4 forum.

In theory that should work, Ill attempt tonight.
[AT&T Samsung Galaxy S 4 Android Development] Raymondlikesroot:
Thanks! I'm looking forward to that!
[AT&T Samsung Galaxy S 4 Android Development] bamige1:
any luck?
[AT&T Samsung Galaxy S 4 Android Development] taz1458:
What profile did you use to enable this? Or what enables it I guess I should say
[AT&T Samsung Galaxy S 4 Android Development] taz1458:
I have done this correctly. added a tasker shortcut to my desktop, tap it and nothing happens. Here's how it sets up. Am I doing something wrong?
[AT&T Samsung Galaxy S 4 Android Development] Chevelle1768:
Are you using root for all shell commands?

Do you have the "System+ Module" installed?
[AT&T Samsung Galaxy S 4 Android Development] taz1458:
I have root selected for all of that. I just installed the system+ Module and it's still not working. Turn the WiFi Ap on, hit the shortcut for tether on and get nothing

EDIT: I didn't have tasker enabled. All that it was.
[AT&T Samsung Galaxy S 4 Android Development] lohacks4pone:
Works like a charm. But a weird bug is that the lockscreen freezes/doesn't respond when I have Gravitybox installed. I tried every version and they did it all at random.
[AT&T Samsung Galaxy S 4 Android Development] ryanstein:
I really want to use this rom as I really like it, but coming from Hyperdrive, it seems like my battery life is significantly less with the same settings. Any tips on how to make it through the day?
[AT&T Samsung Galaxy S 4 Android Development] lohacks4pone:
Did you delete batterystats.bin when you get to 100%? Also, for some reason I get the best battery life after ~3-5 days when using the rom. After that it gets AWESOME battery life with ~2-1 days of standby time and over 4 hours of on screen time.
[AT&T Samsung Galaxy S 4 Android Development] iTzz_KAMIKAZE:
So I've had this ROM on my phone for idk how long, near when it came out and was posted on here, anyway it has run great except for a while ago. I'll be making a phone call with WiFi off and it rings then my mobile data goes off then I loose cell signal and the call stops. It happendls every time, literally. A tempory fix I came up with is when I'm connected to WiFi it works just fine, but this is not practical. I'm away from WiFi a lot and I need the ability to call and receive calls. I do NOT want to go back to touchwiz. There has to be someone else with this problem and hopefully a permanent fix. Please help me and respond. Thanks in advance.
[AT&T Samsung Galaxy S 4 Android Development] netomel:
There are other two versions of GPE that you can try they work well with only a shutdown issue that most GPE version have.
[AT&T Samsung Galaxy S 4 Android Development] Butchr:
I too have been running this rom for several months now. I haven't had your particular problem, however I did run into a situation a few weeks back where my phone was rebooting every time it almost booted completely and as my widgets were repopulating it would reboot never completely populating all my widgets.

Not sure if you have tried to boot into safestrap and wipe your cache, but wiping both my caches worked in my case. Regardless I couldn't imagine going back to Touchwhiz. If you can't get things happened out on this rom there are a couple of others that have more recent development that may work better. For me this rom has never failed me so I have had no reason to try anything different. For me this rom has everything I could ever want in a rom.
[AT&T Samsung Galaxy S 4 Android Development] ryanstein:
I forgot to when I was switching but I did now and it's 5pm with only 45% left with average usage. I was at around 70% with Hyperdrive. Any other ideas what could be the issue?
[AT&T Samsung Galaxy S 4 Android Development] lohacks4pone:
I think Hyperdrive is just better with battery life. As it comes built in with greenify and other apps that really improve battery life on Hyperdrive. This is just a AOSP rom ripped straight from i9505G w/ the safestrap kernal and some other things to make it boot. So don't expect much.
[AT&T Samsung Galaxy S 4 Android Development] ryanstein:
That's fair but even if the battery life isn't as optimized, I don't think my battery should be nearly dead by the end of the workday with minimal usage (I'm a teacher so I don't get to touch my phone much during the day). Especially for a two month old phone so the battery is in near new condition.
[AT&T Samsung Galaxy S 4 Android Development] marbertshere:
I'd suggest diagnosing your battery drain with a 3rd party app. I use better battery stats and wakelock detector. Pinpoint if it's the ROM or something else. I get about 1 to 1.5% drain power hour when idle, and around 5 hours of screen on time. Little more or less depending on what I'm doing.
[AT&T Samsung Galaxy S 4 Android Development] brd912:
Is cm11 theme manager included in this rom?
[AT&T Samsung Galaxy S 4 Android Development] marbertshere:
No, sir. You can download an Xposed module called HKThemer which allows you to use CM10 themes or HK Themes.

Here's the thread. I found a material theme by searching XDA.

http://xdaforums.com/showthread.php?t=2602257
[AT&T Samsung Galaxy S 4 Android Development] ClassySandwiches7:
unusual wifi problems

i can get wifi to work, and it has been working well for a couple of weeks. but now the signal comes in very weak, i could be right next to the router and only get 2 bars. I've done a little reasearch and it seems this is a common problem with the s4, but none of the mentioned solutions worked. Has anyone had similar issue? i know it isnt my router because everything else in the house works great.
[AT&T Samsung Galaxy S 4 Android Development] peneoark:
Hot reboot to fix WiFi? I'm having no problems with mine.
[AT&T Samsung Galaxy S 4 Android Development] ClassySandwiches7:
no doesnt work, soft reboot isnt either, even tried reflashing without wiping, and also tried flashing the modules again
[AT&T Samsung Galaxy S 4 Android Development] lohacks4pone:
Mannnnnn Galaxy S4 AT&T users are screwed when it comes to roms. But either way, im seeing that Android L for the Galaxy S4 is going to be great for rom devs.
[AT&T Samsung Galaxy S 4 Android Development] marbertshere:
You sure you flashed the right modules? It should work after a soft reboot. There's also a zip out here on XDA called Giglie's WiFi fix. I think it works for AT&T or Verizon.
[AT&T Samsung Galaxy S 4 Android Development] ClassySandwiches7:
yea, i have tried both of the suggested mods, the NC2 and NC5. The NC5 one doesn't work at all, the NC2 (the gogolies one) is the one that only partially works.
[AT&T Samsung Galaxy S 4 Android Development] iTzz_KAMIKAZE:
When to expect Lollipop?

Any of the devs have any idea when we can expect lollipop gpe rom on the s4?
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
I don't know when the samsung gpe lollipop release will ship. As soon as the official gpe s4 build shows up from Samsung, then I'll look into making it work with safestrap.
[AT&T Samsung Galaxy S 4 Android Development] xXshur1kenXx:
Has anyonr had issues with google chrome (beta or normal) on any GPE roms? For whatever reason it keeps force closing
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
Did you set SELinux permissive? It says that in the OP. Everyone had that issue at first. If that doesn't fix it, then you're unlucky I guess.

Sent from my SGH-I337
[AT&T Samsung Galaxy S 4 Android Development] xXshur1kenXx:
Yes! It worked (considering last time i tried that on NJ4 it didn't work...)

Edit: Also is NI1 the last baseband that SELinux can be changed to permissive on? I know that it wouldn't stick on NJ4.
[AT&T Samsung Galaxy S 4 Android Development] ConeyKiller:
Hey there. This sounds like the ROM I'm looking for. I'm not new to flashing or rooting, just new to it on the S4. I didn't do much because of the locked Bootloader, but decided to root yesterday. I'm currently on NJ4, I rooted with Towelroot v3 and downloaded Safestrap 3.75. I have not installed it yet, as I want to make sure, all I do is install busybox, then install the safestrap apk. That is correct?

From there, I then could install this 4.4.4 rom? Thing seem a bit more difficult than one the Captivate or SIII.

Thanks for the help.
[AT&T Samsung Galaxy S 4 Android Development] Murasakiii:
You have the right idea. Don't forget your modules when flashing and I'm not sure if all roms require a SuperSU install via ss but I generally do one to be safe.
[AT&T Samsung Galaxy S 4 Android Development] marbertshere:
I think you have to flash it to the stock slot in SafeStrap. Not 100% sure since I used 3.72.

---------- Post added at 08:28 PM ---------- Previous post was at 08:27 PM ----------

You also need an app called SELinux Mode Changer and set it to Permissive.
[AT&T Samsung Galaxy S 4 Android Development] npjohnson:
YES! The GPE S4 got Lollipop! Maybe we will see a lollipop safestrap ROM soon :p
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
Unfortunately that appears to be wishful thinking for now. I tested it and it looks like we can't boot lollipop with a KitKat kernel :(
[AT&T Samsung Galaxy S 4 Android Development] npjohnson:
Huh. I'd talk to the Motorola Defy Devs, I know they are booting Lollipop on a 2.x Linux kernel. If they can do that, there's got to be a way we can make this work. Thank you for your work.
[AT&T Samsung Galaxy S 4 Android Development] Butchr:
It's a shame really. Your work on this rom is much appreciated. I have been running this rom from the beginning through all the updates. Never really had any reason to try anything else. This bad boy runs smooth and sweet with xposed and gravity running on it. Not sure I really want to run Lolly until someone can get something similar to xposed up and running anyway. Again thanks for all your work on this rom.
[AT&T Samsung Galaxy S 4 Android Development] lohacks4pone:
Do you think we can have Android L w/ the kernel if we get Safestrap 3.82 on our device soon?
[AT&T Samsung Galaxy S 4 Android Development] DeadlySin9:
Updating Safestrap has nothing to do with our kernel. The only way to Lollipop is either to have an exploit or get the official OTA for Lollipop when it comes, root, get SS working, and hope GPE's still work.
[AT&T Samsung Galaxy S 4 Android Development] marbertshere:
Man I don't know if I want to update to TW Lollipop. Doubly so without xposed
[AT&T Samsung Galaxy S 4 Android Development] obey.aw:
Thank you so much for this ROM. If you don't mind me asking do you think you could port an AOKP ROM using this method (they use similar kernals)

I really don't mean to spam or cause you stress but I really like AOKP ?

Sent from a Google driven BEAST
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
No worries :) However I'm not going to make custom ports because I wouldn't personally use/test them, and my S4 is no longer a daily driver. That being said I do enjoy hacking on this ROM in my free time, so once we have a working L kernel for this phone I'll do what I can to port L GPE over if it's still possible.
[AT&T Samsung Galaxy S 4 Android Development] obey.aw:
I completely understand man! Its fine but if you don't mind could you pm me the steps and scripts you used for this ROM to port it? If I make an AOKP port YOU WILL GET CREDIT!! Thanks again for the ROM ?

Sent from a Google driven BEAST
[AT&T Samsung Galaxy S 4 Android Development] FahrenGrade:
could i run these commands on my device with 'terminal emulator'?
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
Yes, either that or adb shell with root access will work.
[AT&T Samsung Galaxy S 4 Android Development] endofwed:
I have a few issues if someone could help me out.

1) it always says "system update downloaded" in the pull down menu.

2) most google apps crash (chrome, drive, etc)

These are the steps I took when installing

1) Started with MF3. Odin to MK2

2) Installed towelroot, then safestrap 3.71

3) rebooted into safestrap recovery, wiped everything, then installed the following (gpe_443_safestrap.zip, mldmodules.zip, and superSU)

4) booted straight into download mode to odin the files ap_mld_safestrap.tar, bl_mld_safestrap.tar, and cp_mld_safestrap.tar

5) booted into the rom, ran towelroot again to root it

6)rebooted back into safestrap recovery, installed gpe_444_update.zip (gives me a couple errors like unable to mount /system )

What am I doing wrong?

Thank you so much!

edit:

also, whats the difference between the mldmodule found in the deadly venom magic tool vs the ATT_MLD_Modules.zip posted by guut13. Which should I be using?
[AT&T Samsung Galaxy S 4 Android Development] RickGrimes411:
Google apps crashing is resolved by changing selinux to permissive.

If your on 443 it will want to download the 444 update. That is likely what your seeing in the pulldown.

The system not found is likely due to flashing things in Odin before you try the update. I think this is changing your system partition and the 444 update doesn't like that.

I would start over. Flash 443 with modules. Boot to 443. Then reboot to SS and run the update to 444 with modules. Then boot, run towelroot and install super su. Then install selinux mode changer.

Differences in the modules I have no clue
[AT&T Samsung Galaxy S 4 Android Development] endofwed:
IT WORKS!

Thank you!

However, the 4.4.4 update is giving me a lot of issues. It says unable to mount system when trying to install the 4.4.4 and when I do run rom, Its very glitchy.

Is this update necessary? Is there any other way to hide the 4.4.4 updater? I've googled several soulutions but none have worked :(
[AT&T Samsung Galaxy S 4 Android Development] RickGrimes411:
The 4.4.4 update is a very small security patch that one could do without the update I believe. If it gives you problems just stick with 4.4.3. No real difference. If you get the update notification press an hold on it and go to properties and turn off notifications. Works till the next time you reboot I think
[AT&T Samsung Galaxy S 4 Android Development] snoopy1e11:
Just downloaded and it's up and running just fine but I'm only using 4.4.3 but Wi-Fi is working great I'm on baseband NC1 thank you for this Touchwiz is too much for me
[AT&T Samsung Galaxy S 4 Android Development] tailgunner9:
Sounds like this needs Lots of work Yet..
[AT&T Samsung Galaxy S 4 Android Development] lohacks4pone:
Well then how about you work on it ;)
[AT&T Samsung Galaxy S 4 Android Development] Sterben Pistole:
OooooOoOOooooOooOoooOooooOOOOooooOoooooOOoooohhhhhhhhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!!!! *clears throught* *gets serious* You're right, why doesn't he try working on it? He should have had a bit more respect. The VERY FEW issues in the ROM are not fixable due to the kernel difference. So, it's not jmsq's fault.
[AT&T Samsung Galaxy S 4 Android Development] niksha:
Personally i don't think he was being mean. All he was doing was make a statement..But then what do i know!
[AT&T Samsung Galaxy S 4 Android Development] wolf45801:
I was reading the main page and it says have to wait for tw lollipop at&t rom what about the leaked lollipop rom for the s4 there is one for the I9508 which is the same hardware as the at&t phone
[AT&T Samsung Galaxy S 4 Android Development] jmsq:
If it's final enough that the signature is there to allow it to be flashed to AT&T's locked bootloader without failing, then yes this would be the start. If anyone knows the answer to that let me know. Otherwise we have to keep waiting until release.
[AT&T Samsung Galaxy S 4 Android Development] wolf45801:
ok im not sure on that part only thing I know is that they are odin files I don't have the reg s4 I have the s4 active which I can flash reg s4 roms on too see that its the same hardware I guess I could try to download the the I9508 leaked build and see if it will flash onto my phone and hope it don't brick it
[AT&T Samsung Galaxy S 4 Android Development] PapaMag:
hope it don't brick it is the keys words in the last post
[AT&T Samsung Galaxy S 4 Android Development] wolf45801:
ok I just tried to flash it but I get secure magiccode check fail: boot so it must not have the signature in it
[AT&T Samsung Galaxy S 4 Android Development] iLeoable:
5.0 ota

Just a question, when will we get the 5.0 ota to google play edition. Sammy just launched it for international devices...
[AT&T Samsung Galaxy S 4 Android Development] Thr33-F0ur:
When 5.0 for TouchWiz comes out, and safestrap is made to work with it.
[AT&T Samsung Galaxy S 4 Android Development] bokchoi2020:
Got SELinux Enforcing to work without the SELinuxModeChanger.

Here's my post: http://xdaforums.com/showpost.php?p=58514182&postcount=1569

Should get rid of some of the ghost vibrations and random app crashes.
[AT&T Samsung Galaxy S 4 Android Development] dtowngs4g:
Ok so i installed the rom and tried *#*#4636#*#* but that didn't get data to work and neither did APN fix that works on super nexus rom. I really wanted to try this one because it has a light theme. Any ideas on how I can get data to work? TIA.
[AT&T Samsung Galaxy S 4 Android Development] NGD1:
When ever I try to set up tasked for the WiFi ap commands it fails at the rrmod code, any ideas why? Typed it perfecty
[AT&T Samsung Galaxy S 4 Android Development] RyaNov1333:
So now that the Lollipop rollout for the S4 on AT&T has begun, can we expect this ROM to be updated so that we can get the full AOSP experience?
[AT&T Samsung Galaxy S 4 Android Development] npjohnson:
Its rmmod