yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] EMcTx:
Thanks for letting me know about how to clear all with slim recents. I've never used that one before, so I didn't realize that it worked that way. I will clear my apps that way for now.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
No problem! I often think these custom ROMs need an instruction video! I am not even sure that I know how to use all the features myself! :D
[T-Mobile Samsung Galaxy S 4] darazor:
Thought I would give a further update on Bluetooth devices. I have now used this rom including Xposed with Bluethooth version 3.x (garmin), version 2.x (sony erickson) headset/radio MW600 and version 4.x (Iwotuo) headset/radio HM2000 all work with calling but you must leave the media option unchecked, that is, use just phone and contacts. So if anyone was interested in using BT for handsfree calling I think you are safe. I suppose some particular device may be an issue but it looks promising to me. This is my primary interest for BT.
[T-Mobile Samsung Galaxy S 4] Kuropis:
First a big thank you for this ROM for our phones! It's great to have options for the S4 as it's an older phone.

I have been running it for almost a week as my daily driver and don't plan on changing any time soon.

While I rarely use Bluetooth the one time I tried it seemed to work good. Transferred a few pictures from a friends phone.

One thing I do miss is the colored status bar but that is just a personal thing. Any way to make it colored again through options or an app? If not it's not a deal breaker for me.

Looking forward to future updates!

Once again a big thank you for your time and efforts on this ROM!
[T-Mobile Samsung Galaxy S 4] darazor:
I use gravitybox with xposed framework. As I've mentioned I have no issues with Xposed on this rom and have many extra options. As always backup before major changes JIC.
[T-Mobile Samsung Galaxy S 4] ivoe:
Purify app is like a plague to this ROM.

That or something else has put my phone into a reboot frenzy (while I'm working) never when I'm home

Random sim restarts as well (while home its fine)

Don't understand why this happens but most my problems end up out of my home
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Thanks for the heads up about purify. I don't use that app on my phone, so I did not know it causes problems. Have you tried using the ROM without purify installed?
[T-Mobile Samsung Galaxy S 4] ivoe:
Yea works good. Was using purify to clean up those nasty apps draining my battery (Facebook) while phones not in use

But yea its better with out it.

Bluetooth and call is death tho unfortunately (my only issue with stock ROM)

It seems like Bluetooth just breaks the phones functions till I reboot
[T-Mobile Samsung Galaxy S 4] Kuropis:
Will give this a shot. Know of a safe place to download those apps? What version are you running?

Thank you for the help! I'm still learning as I go.
[T-Mobile Samsung Galaxy S 4] darazor:
Use this link

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

Instruction are on the page but basically.

Flash the installer zip, install 3.0 APK, reboot and add modules. You should probably start with GravityBox [MM]. Get familiar with that one before adding others. I have six modules that are in use. Too many may give unwanted conflicts. The uninstaller is if you want to revert etc.
[T-Mobile Samsung Galaxy S 4] Quimicax:
Perfect Rom.! Any Change To Put Kernel With Cpu And Gpu Overclock?
[T-Mobile Samsung Galaxy S 4] Kuropis:
I checked out the page and noticed two different downloads. A normal and a 64 version. What version are you using?

During a phone call my screen turns off. I cannot access the screen at all until the other person hangs up. I have a feeling its cause of a crack on the glass over the sensor. Is there a way to disable the sensor so I can keep my screen on?

Also just a FYI for you AlaskaLinuxUser. I am using a MetroPCS S4 variant but since we use the T-Mobile network things work fine.

I appreciate all the help!
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Glad you like the ROM!

Hmm.... Now why didn't I think of that! ;) To be honest, it is something that I have been working on. I am not very skilled, so kernel changes take me many tries to get working results, and many more to get good results. I was planning to over clock before adding the governors, but the general consensus I received seem to indicate that longer battery life was more important, so I worked on the governors instead. It is still something I am tinkering with, though.

For the casually interested, I am working on these projects for the S4:

-liquid smooth 5.1.1 and 6.0.1

-OmniRom 5.1.1

-kernel features for over clocking, under voltage, kernel modules

-A special kexec developer kernel (not for general use, but publicly available)

-SOKP 5.1.1

My laptop that I compile on is giving up on life though, laptops were not designed for these heavy workloads. It no longer knows the temperature of the CPU, the motherboard cannot recognize the AC or the battery, the WiFi card is smoked, and it overheats and reboots a lot. I had to reload Ubuntu last week. A buddy has a computer that is 4x more powerful that he is giving to me, so when I get that I can hopefully work a little faster! Right now I am driving that laptop like I stole it! [emoji41]

Hopefully, if the good Lord allows, we can have more toys, er, uh, I mean tools for our phones!

I really just do this stuff because it is a really fun learning experience for me, but I do appreciate your kind words!
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Thanks for letting me know, it is good to know what variants the ROM works on!

As for the screen off issue, could be your cracked screen sensor, I do not have trouble with it myself. An idea for you, you can set the volume rockers to wake the screen, perhaps that would work during the call?
[T-Mobile Samsung Galaxy S 4] darazor:
I and you would use the plain arm version since our S4 is not a 64 bit device.

---------- Post added at 10:34 AM ---------- Previous post was at 10:24 AM ----------

Did you check to see that only phone and contacts are ticked in the bluetooth>more setting>your BT device>settings for that device. I have found that if any other BT shares are ticked it will crash and phone locks.:(

Previously, I noted that I was able to use BT version 2.x, 3.x, and 4.x devices if just those two options are selected. Might be worth the try.

---------- Post added at 10:49 AM ---------- Previous post was at 10:34 AM ----------

Sorry, just noticed this. If you select the phone icon>settings>calls. You will find two options that are related to proximity settings. The first allows auto switching to speaker phone the second turns off the screen. I use them both without any issue but you can try the options to see if they help.
[T-Mobile Samsung Galaxy S 4] Quimicax:
Waoooo Really Nice Read This :good: I Know This Phone Is Old But Have Very Good Potential..! :victory:
[T-Mobile Samsung Galaxy S 4] Doom2015:
Hi

I have a S4 I9505 I'm downloadin' your AOKP Rom will test and feed back later. :good:
[T-Mobile Samsung Galaxy S 4] Kuropis:
Been using Xposed for a few days now. Seems to work okay but sometimes have to turn settings on and off again so they don't compete.

The toggle for my screen when getting phone calls worked. I can access it again. The crack on the screen is the problem.

Any other apps out there that are complimentary to this version of the ROM that AlaskaLinuxUser has so kindly provided for us?

Thank you again for the ROM and all the help!
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
No problem! Hey, a pretty good add on app for this phone is "kernel adiutor" from the Play store, or here on XDA:

http://xdaforums.com/android/apps-games/app-kernel-adiutor-t2986129

It has far more features then the No Frills CPU app (of course, that is just a simple tool) with which you can even set the governor of your GPU, among other things. So I recommend it with this rom.

Also, I just wanted to thank everybody, this morning we have reached 500 downloads of this rom! I appreciate everybody leaving comments, thanks slaps, and working with me as I learn about how to compile and work on kernels. So thanks again everybody! :D
[T-Mobile Samsung Galaxy S 4] darazor:
I haven't had to turn settings on/off but these are the Xposed apps that I use:

AppOpsXposed (mostly for status bar tweaks)

GravityBox [MM] (several areas of control that I like)

MinMinGuard (ad control)

Xprivacy (Limit app permissions)

XuiMod (i use just for the clock functions)

YouTube AdAway (works great)

Non Xposed tech apps that are very very useful:

AdAway

Advanced task killer

Call Blocker ( couldn't live without it)

Disable Services

Logcat Extreme

NetGuard

RootBrowser

TWRP 3.0.2

These are all working together fine on my end as far as I can assess. They do take some time to get used to and ?understand?. And, I am far from an expert on any of them but I have learned to go slowly and try to find out how they work etc., you know the drill. Patience!

Good luck; it's all part of the fun of owning an Android and having control over YOUR device.
[T-Mobile Samsung Galaxy S 4] dgm_mixtoon:
good rom!,but

custom kernel for this?
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Thanks!

Yes, the kernel is a custom job, but I am still learning how to customize kernels. I recently switched and forked the Arc-Team kernel. I have the source on github if you would like to see it. I have just added fast charge, and several people are testing the changes for stability now. I will be uploading the fastcharge branch tomorrow. I hope to post the kernel zips before the weekend.

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

You can also look in this forum (Android development) for my kernel thread if you like. Feedback is always welcome!
[T-Mobile Samsung Galaxy S 4] darazor:
Flashed last night; everything works just as before. I'm not sure if it isn't just a bit faster. Great ROM that gets even better with each iteration. Literally cannot thank you enough even though you are enjoying yourself we benefit from your great work.
[T-Mobile Samsung Galaxy S 4] darazor:
It occurred to me, is No-frills CPU Control even necessary now that Kernel Audiutor is built in? Didn't I see the same options there?
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Good catch! I forgot to take that out. Will do next go round. Kernel adiutor does that and more, so it was my intention to drop nfcpu, but I forgot.
[T-Mobile Samsung Galaxy S 4] darazor:
I wonder if anyone has had a chance to try the fast charge? I have, and it works beautifully.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Thanks for testing it out!
[T-Mobile Samsung Galaxy S 4] dgm_mixtoon:
Some kernel here?
[T-Mobile Samsung Galaxy S 4] MasterInXDA:
Hello. I like your rom but i have a problem with all roms based on cm13 (6.0.1). When i send an audio on WhatsApp or i try to record something the microphone volumen is very low. I tried installing stock and try recording and it work. but when i install a cm rom the microphone volume is low.

How can i fix it?

Sorry for my bad english.

Thanks.
[T-Mobile Samsung Galaxy S 4] Kuropis:
Installed the new build. Things seem to be going good.

Can we get the newest security patch in the next build? Noticed it was June still on the ROM.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Kuropis,

You bet, I have slow internet (that I share with others) so I am syncing this over the weekend. Should see a new build with updated security patches next week. I can't guarantee that I will be able to keep up with every security update, though, but I will try my best!

Edit: to clarify, my internet is 10 meg, and I have a download limit of 40 gb/month, then it drops to 1 meg. Not very many internet options are available where I live. :) My phone is unlimited data though, and I have been known to tether before. ;)

MasterInXDA,

Thanks for letting me know, I always appreciate feedback, because I don't try every app or feature (because there are so many). I will look at the volume controls and see if we can "boost" the microphone. Some have sugessted that turning off the audio effects makes the volumes louder. Perhaps while I look at boosting the mic, you could try that?

Dgm_mixtoon,

My friend, I think we are having problems with a language barrier. I want to answer your questions, but I don't understand exactly what it is you would like to have answered. Could you please be more specific so that I can help you or answer your question? Thanks for your patience!

-AlaskaLinuxUser https://thealaskalinuxuser.wordpress.com/
[T-Mobile Samsung Galaxy S 4] MasterInXDA:
Hello. I tried it but it doesn't have any effect. The record volumen is very low.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Blootooth work around:

Okay, so I finally got a cheap Bluetooth speaker so I could better understand the Bluetooth problems, and I too received the call of death.

However, I realized what darazor has been trying to tell everyone all along, and now I want to expound on that to help others.

When using Bluetooth, if you pair with an audio device (speakers, car, headset, etc.) And you have not adjusted any settings, the default for each audio device is phone and media. This will cause the COD if you get a phone call while playing music or other media.

So, if you want to use Bluetooth devices to play music:

Go to settings, Bluetooth, and click on the gear (settings) icon next to your paired speakers, and choose media, and unchecked phone. (See picture.) Now, when playing music, my phone vibrates and the screen comes on to tell me I have a call. Then, I can answer it, and the music stops. All is well.

If you want to use your hands free headset, choose phone and unchecked media. (See picture for reference.) And it should work for calls.

I now understand what everyone was talking about, and will do my best to look into it. Thanks [MENTION=2571065]darazor[/MENTION] for pointing this out, hopefully this lengthy explanation makes it clearer.

-AlaskaLinuxUser https://thealaskalinuxuser.wordpress.com/
[T-Mobile Samsung Galaxy S 4] darazor:
Thanks and nice job! It never occurred to me to check just media setting 'cause I was always using a phone connection device. So, my settings were always re: to phone. I hope this clarifies the issue so that more can use/enjoy BT connection.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
After more playing around with Bluetooth:

I noticed another thing about the call of death. If you did not follow the previous post, then you will get the COD when playing music to Bluetooth speakers and you received a phone call, right? When this happens, for me at least, your screen does not light up to say you have a phone call, but it still vibrates to say you are being called, then, if you press the home key or power button, you are "stuck" on the lock screen. You cannot escape, it seems. However, if you enabled quick pull downs, you can swipe top right for the quick pull downs, and your pull down status bar and menu will appear. If you then tap Bluetooth to turn it off, the "lock" stops and you can use your phone again.

If you do that during a call, you still have time to answer it. If you wait until the phone call ended, for me at least, it then plays my ringtone partly even though the call ended.

This is a poor work around, and I recommend the previous post as a better work around. This just gives me some clues to the problem.

-AlaskaLinuxUser https://thealaskalinuxuser.wordpress.com/

EDIT: The Bluetooth does work, but you need to adjust a setting. For working Bluetooth see post #3 "Bluetooth Workaround".
[T-Mobile Samsung Galaxy S 4] darazor:
I would have to agree it's very cumbersome, but interesting. I wonder if any BT experts would have an ah-ha moment with this info. I haven't tried this but I suppose you could use two BT devices one set for media and another for phone. Just not both on at the same time but that's equally if not more cumbersome. From a personal standpoint I believe I will just use my BT for phone.
[T-Mobile Samsung Galaxy S 4] carlos9545:
Hello, im new at this topic, had the phone broken but now its was working with the aokp_jfltetmo_mm_aklu_lionheart_20160623 (previous version) and i have one problem with the video recording, even the whatsapp camera app (recording app) didnt save videos or any other third party app, just the snapchat was the only one, weird because i can take pictures. but no videos.

anyone else knew about this? (even with the last version)
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Carlos9545,

Thanks for trying AOKP!

I am not aware of any video recording problems. I just used the screen recording app, and the camera/video recorder this morning, and both were working great. There may be a problem with some third party apps, though, so I will try to look into it. Anybody else have this issue?
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
New build is up!

The new build is up! Be sure to check it out! There have been a few updates from AOKP source that are really great, such as adding Paranoid Android's Pie controls!

Unfortunately, I was a day early on my sync for the July security updates being added to source. So we will have to wait until next go around for those to be added in. (My internet is limited, so I can't just resync every day.)

Check it out and see what you think!

Change log:

20160710

-Synced with AOKP source

-PA Pie added!

-Lots of great updates and fixes!

-Removed NFCPU in favor of Kernel Adiutor app

-Edited updater script so that it may be flashed on any JFLTE phone.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
The AOKP source sync includes PA pie, however, I am having difficulty making the pie appear. Anybody else able to bring up the pie?

-AlaskaLinuxUser https://thealaskalinuxuser.wordpress.com
[T-Mobile Samsung Galaxy S 4] darazor:
Same here, (very briefly intermittent, usually none), also after pie is enabled the Menu and Back buttons fail. Pie is also an option on gravity box (Xposed) and it doesn't work on that either. I haven't tried in on any of your earlier ROMs so I can't say that this is new or old. I used to use PIE but stopped because it often got in the way; thought I would verify your findings.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Okay, I figured it out.

I was used to slim pie, which works differently.

For PA pie, the default "gravity" is the right side, which for me makes the screen scroll.

I set the gravity to bottom, and then, if I put my finger on the home key (but don't press it), I can slide my finger to the center of the screen, which, while holding, brings up the pie.

My back and menu buttons seem to still work great.

https://vimeo.com/174276199

-AlaskaLinuxUser https://thealaskalinuxuser.wordpress.com
[T-Mobile Samsung Galaxy S 4] darazor:
This reminded me that I originally had a problem with on screen nav keys showing even though not selected. Somehow I got them off and yes now pie works with either PA pie or gravitybox pie settings; the hardware keys work fine as well. Thanks for giving me a reason to look further. If I only knew what I did to make the nav keys go away, I would feel better.
[T-Mobile Samsung Galaxy S 4] redx64:
Hey alaska. iam running an older version of aokp. How do you update the rom. Does it require full clean or can it be dirtyflashed if updating from a previous version?
[T-Mobile Samsung Galaxy S 4] Kuropis:
I have to agree about the video not saving. I took some on the 4th and I just looked and no video. Stock camera.

Thanks for the update!
[T-Mobile Samsung Galaxy S 4] darazor:
You are correct I have done just cache and dalvik wipe only except for the first install coming from another ROM.
[T-Mobile Samsung Galaxy S 4] kazzxtrismus:
iirc the what's app mic volume was because something in cm for mixed up/borked...

Speaking into the secondary mic by the ear speaker improved the volume..

I'm suspicious is related to the video recording error ( look at which mic it's attempting to use?)

I also have a nagging fog memory of sound mods (beats etc) interfering.

.

These are just guesses based on iirc
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Yes, thanks, (I used my 8 for today, catch you next time).

I decided to try other ROMs to see if it worked there, so O could compare source code. Ironically, every CM13 I tried has the same issue ( all unofficial builds ). However, Beanstalk and RR have this working, so I will run their code and mine through diffuse and see what the differences are.

I compared my SlimLP to this, but there were significant changes from lp to mm in the format of the code. However, in SlimLP, the mediarecorder.CPP file has a file out path variable that is not present in the file of aokp mm. However, that part of the file is missing from the cm13 source I have too. So I will keep looking. Hopefully we can get to the bottom of this soon!

Thanks for your patience everybody!

-AlaskaLinuxUser https://thealaskalinuxuser.wordpress.com
[T-Mobile Samsung Galaxy S 4] 500tab:
Hello AlaskaLinuxUser,

Thanks a lot for this ROM, it's brought my slow S4 back to life from stock. I have been reading up on your different projects and I'd like to try a custom kernel. Being fairly new to this stuff, I'd like to make sure I have this down. I am using your aokp-mm-2016-06-23 version. I did download the kernel adiutor app, but do not have the option of fast charge, under the battery settings. Does this mean this version of the ROM I'm using does not support fast charge? Or the kernel supplied with the ROM does not support fast charge? Do both (rom & kernel) need to support fast charge for the feature to work? Any help on clearing this up appreciated.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
First off: Thanks for giving AOKP MM a try! I am glad that it is working so well for you!

Second: Never be afraid to ask questions around here. We all learned by asking questions, and we were all new at this once. You obviously have some skills, because you navigated through TWRP and installed AOKP the first time, which is great!

So, the aokp-mm-2016-06-23 version did not have the fast charge kernel in it yet. You have two easy options for an upgrade to get the fast charge commits in your kernel.

1. Update to the latest version that is updated in the OP. (Post #1, here.)

2. Head over to this post: http://xdaforums.com/galaxy-s4-tmobile/development/kernel-marshmallow-lollipop-kernels-t3411543 and download the AKLU-fastcharge-mm-kernel-jf in post #2.

In both cases you can simply dirty flash the file you choose. I recommend #1, only because that includes PA Pie controls as well, which I find really neat. But either way, after flashing, you can open Kernel Aduitor (It is intentionally misspelled) and turn on Fast Charge under the battery options. Don't forget to check the slider at the top for "Apply on boot"!

Kernel Aduitor will automatically show options if the kernel supports it. In this case, only the kernel controls fast charge, the rom doesn't have any control over that. Some apps will say they "can" without changing the kernel, but what they actually do is not increase charging amperage, they turn off phone functions so your phone will consume less power, and thus feels like it charges faster. Fast Charge simply tells the kernel to treat USB plugins like AC adapter plugins, which allows for a higher amperage draw. Keep in mind, though, that some USB chargers are old USB 1 or 2, or low level 3's, and do not support more amperage, so with some plugs you will not see a difference.

If you download "device control" from the PlayStore, it will also allow you to set the amperage manually to anything you want. Keep in mind that this may be dangerous depending on what you choose.

I hope that clears things up! Good luck and let us know if you need some more help.