yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] xc-racer99:
Yeah, I think that's supposedly a feature. I don't believe they're still open in the background, just that you have opened them. If you have a lot of apps installed, it can get pretty crowded after a couple of days. If you don't like the current layout, you could try using the OmniSwitch recents. It uses more RAM but is more customizable.

Also, for the lag, you could try disabling auto-brightness if its not already. A minor thing, but it might make things marginally better.
[Samsung Galaxy S (4G Model)] DickyG:
It doesn't look like GPS is working. I flashed the new build, then took my CM11 phone and my OmniRom phone outside and ran GPS Test on both. The CM11 phone showed 12 sats viewing...the OmniRom phone showed 0.

Would it help if you moved the GPS files to etc/init.d? I have no technical knowledge whatsoever but that is where the files are located in Beanstalk, SlimSaber, & CM11.
[Samsung Galaxy S (4G Model)] xc-racer99:
Darn, so I did something wrong. Putting the file in /etc/init.d will not work as selinux will not allow it to run properly. Selinux was the whole reason I moved it in the first place. I guess the issue probably is the fact that I set it to run as user "gps" as opposed to "system" or "root" (I don't remember which) that /etc/init.d executes things as. I'll do up a new build in the next couple of days with the user changed. It will also totally removed TV-Out and free up a bit more RAM.

Also, if you can get a Dmesg, then I can see if SElinux is doing something bizzare. If you have a working adb shell, then the command "adb shell su -c dmesg > dmesg.txt" should work.
[Samsung Galaxy S (4G Model)] xc-racer99:
New Build Uploaded!

Changelog for 2015/07/29

This is a maintenance build. Very little has changed

Some more RAM freed (disabled some debugging stuff, TV-Out driver, IR driver)

Sepolicy updated for fast charge and touch wake

GPS initialization tweaked - unsure if works. If it doesn't, a dmesg would be appreciated

Download in same place as always.
[Samsung Galaxy S (4G Model)] daothanhduy1996:
Damn man, this is great! Thanks, I'm downloading and gonna flash it tho ;) Just logged in (god sake, it's been months tho) to say thanks (and press, too) :3
[Samsung Galaxy S (4G Model)] xc-racer99:
Hey, thanks Dao. Also thanks for all the work you did on KitKat, I used/took inspiration from several of your commits.
[Samsung Galaxy S (4G Model)] DerPuGNa:
this build is more laggy than the other one. i cant boot it when i install it with gapps.

i tried to flash it w/o gapps and it is laggy already?

so i still used the other one, but got some random reboot when i stuck at some apps like clash of clans or messenger? but it its surprising that it is not laggy for me even if i installed all of my apps. i just let the google service to update then i delete the other one inside the system [ GSMcore] and done :D
[Samsung Galaxy S (4G Model)] DickyG:
Same here....reverted to the 7/24 build...couldn't get the 7/29 build to boot.
[Samsung Galaxy S (4G Model)] xc-racer99:
Uh-oh, I wonder what I did :crying:. I'll install that build on my phone and test it (I only tested the build I made at the same time for the Telus version as there shouldn't be any difference performance wise...).

Might not get to it today.
[Samsung Galaxy S (4G Model)] xc-racer99:
Ok, I think I've traced down the problem with the latest build. It relates to, of course, Selinux and GPS. Its really a pity I don't have a T959V to test on. If you look at a dmesg, you'll see its spamming with avc: denied errors relating to the gps.

As a work-around for the latest build, you can delete the file "/system/bin/gps.sh" which removes the gps initialization. I'll see if I can do a build that fixes this error. Its a bit like whack-a-mole in that I fix one error, and the next one pops up. Hopefully I'll reach the end of them and GPS will work with selinux in enforcing mode.
[Samsung Galaxy S (4G Model)] xc-racer99:
New Build Uploaded!

Changelog for 2015/08/02 Build

SElinux changed to permissive - this build only

GPS sepolicy changed - unsure if all necessary things are implemented

Please let me know if the GPS works. It it does, if you could please send me a dmesg (read http://xdaforums.com/showthread.php?t=2185929 to find you how) so I can set up the selinux policy correctly and put it to enforcing
[Samsung Galaxy S (4G Model)] GFX.myst.:
[MENTION=5414656]xc-racer99[/MENTION]

Man, there's only one person I know of that could blind build (without the device you're building for). If you could give me some time, I'll be willing to donate my SGS4G. Reason for the time needed is my mother-in-law is using it right now until we have an open slot on our EIP so we can upgrade her phone. I have like $76 left on my S4, so it shouldn't be long before that slot opens up.
[Samsung Galaxy S (4G Model)] AgainstTheFlow:
played with the new build little today and I had the GPS working!
[Samsung Galaxy S (4G Model)] xc-racer99:
Haha, you think this one is bad? I did a blind build for the Fascinate as well. No RIL, but otherwise it seems ok.

In all honesty, the huge difference between the T959V and the T959P is the GPS. If you look at the source drops, you'll notice that they're almost exactly the same.

I have compared md5sums of the bootloaders and they are indeed different. I've never used dock audio and I've never noticed any touchscreen issues. The modem differences are only for which bands are used (so, if anyone wants to see if the hardware on the T959V is capable of the 850Mhz band, try a T959P modem (or an Infuse4G one, they work as well)).

The GPS differences do bring in a few GPIO changes and different props, along with a terrible, terrible kernel driver for the GPS chip (which is actually a combination FM/Bluetooth/GPS which but only GPS is used, same as in the Infuse4G). Also, the T959P is the reason some of the things were wonky in the stock kernel (see here for an example)

If you want to donate your SGS4G, I would be honored, however it probably won't help much. Most of the hard work on this device was done by bhundven and m4x4n in doing the initial work on the aries kernel. They didn't even have a schematic (one is here btw).

Great to hear! If you could please do a dmesg and get it to me then I can edit the sepolicy and set selinux back to enforcing mode. In all likelihood we could probably even go official then...
[Samsung Galaxy S (4G Model)] Graysonh:
Any progress fellas? I just found this thread after breaking my daily driver and having to use the good old Galaxy S. Because there's a lot of attention in this thread, I'd like the point out this post here for anyone with a T959P that has bricked their device!
[Samsung Galaxy S (4G Model)] xc-racer99:
Wait, there's someone else still using a T959P? Haha, I guess I'll have to upload a newer build for it. I've kinda been neglecting it as I didn't think there was anybody else that was still hanging around. The status of the T959P is probably better than that of the T959V. The only bugs (that I've found) on my latest build were encryption and 720p recording. Selinux is in enforcing mode.

Speaking of selinux, I'm still looking for a dmesg from the T959V so I got finalize the sepolicy for it and put it back to enforcing mode.
[Samsung Galaxy S (4G Model)] DerPuGNa:
status bg

can i change the status bar background when battery saver activated? i like black instead of orange. xD
[Samsung Galaxy S (4G Model)] anoymonos:
Yes you can. You have two options, one is plug your phone into charger, or you can turn off battery saver. Ive noticed that when my battery saver is activated the phone seems to drain much faster than normal, so i usally just plug it in. There is a third option which is to install you spare fully charged battery, but this requires you to have a spare battery.
[Samsung Galaxy S (4G Model)] DerPuGNa:
hahahahaha. nope. i mean if i can change the color of stat. bg while still in battery saver mode, because your suggestion is to deactivate it... but thanks anyway.
[Samsung Galaxy S (4G Model)] anoymonos:
Ya i dislike the orange also. I dont understand how making it orange instead of black helps save any battery, in my eyes it takes more energy to illuminate a color (orange in this case) than it does to remove light thus producing a black color. And also the annoying popup that keeps telling you that your batt is low and some devices with an led will also flash causing even more drain. Really Google great job.
[Samsung Galaxy S (4G Model)] xc-racer99:
Yep, the status bar is supposed to turn Orange. The reasoning behind it is that you don't forget you're in battery saver mode. It's not just an Omni thing, its a an AOSP (stock Lollipop) thing. There's an xposed module to remove it, as you can see on various web sites (such as http://nexus5.wonderhowto.com/how-to/remove-orange-bars-battery-saver-mode-android-lollipop-0160382/). I don't believe that Omni has implemented a way to make it black. If I have time, I might go looking through and see if I can implement something.

On another note, I have uploaded a new build for the T959P. It brings it up to date with the T959V. I'm still looking for a dmesg for the T959V so I can set selinux back to enforcing. All you'll need is either a terminal emulator installed or a working ADB shell. Then just follow the instructions on http://xdaforums.com/showthread.php?t=2185929
[Samsung Galaxy S (4G Model)] DickyG:
Good news...like AgainstTheFlow, it appears that I also have GPS working. Flashed the new build, let it sit for a while, took it outside, and ran GPS Test. Was viewing 5 satellites within a few minutes (the 7/24 build viewed zero). Punched in an address in Maps, it recognized my location, and gave me a route. I didn't take it out for a drive because I'm too lazy but everything looks good. You've done an amazing job on this ROM.
[Samsung Galaxy S (4G Model)] xc-racer99:
Thanks very much! If you do have time to take a dmesg, that would be appreciated. It takes all of five minutes.
[Samsung Galaxy S (4G Model)] AgainstTheFlow:
I take it for a drive every day. I use the "waze" app. I got as high as 22 satellites in view with 12 locked! I came to the conclusion that "gapps" don't work well on this rom, do yourself a favor, don't use them! Just do an apk search on Google for whatever app you want. I have 30 apps installed, still smooth.
[Samsung Galaxy S (4G Model)] FBis251:
http://apkmirror.com/
[Samsung Galaxy S (4G Model)] GFX.myst.:
Has anyone tried the Open GApps Project? Not sure if it would work with this device, but check out the site here. Noticed they have an Aroma version as well where you can pick and choose which apps to install. Only bringing this up because quoted user mentioned something about GApps not liking this ROM. Might be worth a shot. Let me know how it works (or doesn't) out. ;)
[Samsung Galaxy S (4G Model)] anoymonos:
Here is a link for dmsg for tmobile version

https://drive.google.com/file/d/0Bzsc4uth2RlOS3Y4Ull4eHJlN1E/view?usp=docslist_api

Let me know if this helps. Or do you need the zip that was created.
[Samsung Galaxy S (4G Model)] xc-racer99:
Thanks, that's perfect! I'm assuming that you used the GPS before taking it? I'm only asking because I don't see any errors which means my guess as to what the sepolicy needed to be was correct.

Assuming that's the case, I should be able to post a new build in the next couple of days after I've fixed the encryption bug (which is related to /datadata and it being mounted when its not supposed to be....).
[Samsung Galaxy S (4G Model)] anoymonos:
No i didnot use gps ill try and get you a new log

https://drive.google.com/file/d/0Bzsc4uth2RlOS3Y4Ull4eHJlN1E/view?usp=docslist_api

This one is after using gps
[Samsung Galaxy S (4G Model)] xc-racer99:
You sure this is an updated file? The link as the same as the previous one and when I compare the two, they're exactly the same. Perhaps you copied the link for the old one by accident?
[Samsung Galaxy S (4G Model)] FBis251:
I've tried open gapps on my S4 and it's worked well. It looks like the pico version might just fit on the t959v if the aroma version doesn't play nice. I believe they added checks to their installer to make sure you have enough space on the /system partition too
[Samsung Galaxy S (4G Model)] anoymonos:
Try this one.https://drive.google.com/file/d/0Bzsc4uth2RlOblNvNDJ3MW5tVlk/view?usp=docslist_api

If its the same youll have to wait till i get to the phone tonight
[Samsung Galaxy S (4G Model)] xc-racer99:
Yep, that one's different! Thanks very much, I'll run off another build today and, if all goes well, will upload it tonight.
[Samsung Galaxy S (4G Model)] xc-racer99:
New Build Uploaded!

Changelog for 2015/08/13 Build

Selinux back to enforcing. Thanks to @anoymonos for the dmesg and @DerPugNa for offering to send me one as well

Fixed encryption

The GPS should still work. If it doesn't please send me logs! As I said earlier, it's pretty much the only thing that I can't test...

With regards to encryption, if it fails and reboots right away format /data in TWRP as it then will properly create the footer at the end of the partition. On f2fs you may have difficulty creating the footer properly (if so, its a TWRP bug and not my fault:angel:)
[Samsung Galaxy S (4G Model)] DerPuGNa:
i cant understand it a little but i think it is working? :D

thanks for the hardwork BTW :D
[Samsung Galaxy S (4G Model)] xc-racer99:
Yep, that definitely means its working! Thanks for verifying.
[Samsung Galaxy S (4G Model)] thomasbell:
thank you for 5.1 I've been trying to build on my iMac, i got a lll the old repos if you need any help lemme know
[Samsung Galaxy S (4G Model)] Graysonh:
Would you mind posting an updated build for the T959P?

Thanks! :)
[Samsung Galaxy S (4G Model)] xc-racer99:
Now that I know for sure that someone is using the T959P builds, most definitely. I wasn't uploading many of them as my connection isn't the fastest and I didn't know of anyone else that was using them. I'll try to upload it tonight. The only major change is that encryption now works.

Edit: Build uploaded!
[Samsung Galaxy S (4G Model)] robonxt:
Step-by-step instructions?

Hello, I'm trying to install the rom to my SGS4G phone but i can't get it to work

I am on stock rom, rooted.
[Samsung Galaxy S (4G Model)] xc-racer99:
First off, you might want to read through this excellent post by bhundven http://xdaforums.com/showthread.php?t=2376048

If you don't want to read through all/parts of that, the basic steps are this.

1) Install a custom recovery. For GingerBread (including stock) this is CWM. How you get here is entirely your choice.

I would recomment installing a custom kernel such as bhundven's Blastoff kernel or AntonX's Basic with a Twist. Please note that this will require settting up Heimdall/Odin, using a OneClick, or using SGS Kernel Flasher. The advantage to using Heimdall/Odin/OneClick is that you then have a way of getting back to stock if something screws up. Whatever you do, READ through the entire post first and make sure you know what you're doing.

2)Follow the instructions located in the first post. Its that easy!

Since you're new here (at least only have one post, my bad if you've been reading the forums for a while without posting), the thing about XDA is that most questions have already been answered somewhere. However, finding those answers can be a bit of a difficulty:) Search is very important!
[Samsung Galaxy S (4G Model)] robonxt:
Ok, am reading and testing it right now, thanks!

Btw, you're right, I've been reading XDA forums for some time already, just never got around to make a account until now
[Samsung Galaxy S (4G Model)] robonxt:
Ok, so I have installed CWM and can flash stuff now, but about the partitioning I am not sure, anyone care to help a noob like me?
[Samsung Galaxy S (4G Model)] FBis251:
Follow lumin's guide to guarantee you're using a ROM/recovery combination that will allow you to flash this ROM:

http://xdaforums.com/showpost.php?p=21953878&postcount=2

After you're done with lumin's guide, follow the BML installation instructions here:

http://xdaforums.com/galaxy-s-4g/development/unofficial-omnirom-5-1-galaxy-s-4g-sgh-t3146611
[Samsung Galaxy S (4G Model)] mytuhuyennninh:
great but your rom

I get an error when downloading applications from ch play about 963 error code I used gapps in http://xdaforums.com/showpost.php?p=59731008&postcount=2

but I failed completely installed applications can not be
[Samsung Galaxy S (4G Model)] xc-racer99:
So this problem has shown up again? I think most people are probably running this without gapps (or at least I am).

Try doing a complete data wipe from CWM (DON'T do it from Settings, that will remove the second partition on your SD card) and see if this fixes the problem.
[Samsung Galaxy S (4G Model)] DerPuGNa:
I used the latest rom and the latest gapps and didn't get any error.

and btw, this rom is way more faster than the other updates. i restored all of my app and didn't get any lag like the past few update and it has gapps installed...
[Samsung Galaxy S (4G Model)] robonxt:
Thanks for helping! I got the rom and Gapps working after installing cm11 and then flash omnirom from there
[Samsung Galaxy S (4G Model)] mytuhuyennninh:
thanks but it still fails I think I 'll stop here and install rom back to the original is probably the best thing
[Samsung Galaxy S (4G Model)] xc-racer99:
Ok, that's too bad. You could try what robonxt did and go back to stock, install CM11, and then install Omni.
[Samsung Galaxy S (4G Model)] Wish39:
Nice work on porting this ROM dude! I will get around to flash this onto my little old Galaxy when I figure out how to unbrick it :( !

Sent from my HTC One M7
[Samsung Galaxy S (4G Model)] Major-Traiin592:
Try using this to unbrick.. Whether it's Hard brick or soft brick.

http://xdaforums.com/showthread.php?t=1500427
[Samsung Galaxy S (4G Model)] Wish39:
Thanks for the help! But I already got it back to stock.

Sent from my HTC One M7
[Samsung Galaxy S (4G Model)] robonxt:
Give Omnirom a chance and you'll (never) need to get a new phone ;)

At least thats what I think... thanks xc-racer99 for making this old phone alive again!
[Samsung Galaxy S (4G Model)] Wish39:
Alright I've got this rom installed and it's awesome! Just one thing. When I try to install an app on Google Play, it fails with error 491. Can someone please assist me with this problem? Help is appreciated!
[Samsung Galaxy S (4G Model)] xc-racer99:
Alright, do a complete data wipe in recovery and reinstall, flashing gapps at the same time as the ROM and SuperSU. I think there's some data file that is preventing things from working properly. Several people have encountered similar errors.

Since you came from stock, you never had a chance to flash the gapps with the ROM. I've changed that in the next build which I'll hopefully get around to uploading tonight.
[Samsung Galaxy S (4G Model)] Wish39:
Actually, I flashed this coming from AOKP 4.0.4, which is a MTD rom and which is based on Android 4.0.4. I don't know how it screwed up, because I flashed the rom and the gapps at the same time (didn't flash SuperSU) using an older version of TWRP.

And i can download apps now! Thanks for the help!

EDIT: Error 491 keeps on popping up now...
[Samsung Galaxy S (4G Model)] xc-racer99:
New Build Uploaded!

Changelog for 2015/08/31

Updated Android version (5.1.1_r5 to 5.1.1_r12)(upstream Omni Change)

Restoring /system in TWRP should now work

When installing from BML, a chance is given to install gapps and/or SuperSu before rebooting

zRam is now actually used...

Builds for both the T959P and T959V have been uploaded.

A logcat would also be helpful, then I can possibly see what's going on. I doubt I can do anything about it as you're not the first and probably won't be the last to get the error. Its been appearing on the i9000 as well.
[Samsung Galaxy S (4G Model)] Wish39:
Alright I've found a way to fix Error 491.

1. Go to Settings->Apps and find Downloads and Download Manager.

2. Erase both of the app's data.

3. Google Play will work. If it still doesn't, try rebooting.
[Samsung Galaxy S (4G Model)] DickyG:
If you had read through this thread, you would have found the solution to the Error 491 problem. For your information:

1. Go to settings and delete Google account

2. Wipe data of Playstore, Play Services, Google Framework, and Download Manager

3. Re-install Google account

From now on, please do some homework...you'll often find that your problem has already been posed and solved.
[Samsung Galaxy S (4G Model)] Wish39:
I speed read through threads, so sorry if I hurt your feelings :laugh:.

Also, I tried those same steps from a video before, and it didn't work. *sigh* What works with one may not work for another.

EDIT: You had no right to tell me to "do my homework" in that post. Yes, I went on Google and "did my homework" by searching the error up, but the posts got lost in the thread. So how about helping people or maybe linking them to a post next time?
[Samsung Galaxy S (4G Model)] xc-racer99:
Guys, please take your argument elsewhere. While you both have valid points, this is not the place to be arguing them. Please do it via PM instead. This is a Development thread (in theory), although I've been more than willing for questions and answers to go here as well.

Thanks very much!:)

P.S. If you're interested, here are a list of Forum Rules.

Edit: I'm not trying to sound annoying/condescending. I'm just trying to make sure this doesn't escalate any farther because, in the grand scheme of things, a little quibble like this doesn't really matter!
[Samsung Galaxy S (4G Model)] billowusu47:
Help please, I have problems flashing the newer builds on my t959v.
[Samsung Galaxy S (4G Model)] xc-racer99:
Alright, the best way in which you can be of use so that we can help you is if you provide so logs. There are so many possiblities of why the newer builds aren't working for you. My gut feeling is that you don't have a second partition on your micro SD card.

If that's not the case, then please attach the omni_bml.log, omni_mtd.log, and bml_over_mtd.log files from your SD card, or whichever of them exist. Also, please export the recovery.log and post it here.
[Samsung Galaxy S (4G Model)] billowusu47:
Yh I don't have a second partition because the SD card is small

---------- Post added at 01:10 AM ---------- Previous post was at 01:10 AM ----------

Is there another way ?
[Samsung Galaxy S (4G Model)] xc-racer99:
Unfortunately, no, not really.... If the /data partition is not on the SD card then the Play Store doesn't work at all. Plus, there's very limited space on the internal data. I could create a separate boot.img for you if you want though.

Also, unless your card is super small, ie less than 1GB (not sure how small small is), you should be able to partition it. A 512MB partition is all that is needed. You might even be able to get away with a 256MB second partition.
[Samsung Galaxy S (4G Model)] billowusu47:
Ok thanks . and the SD is 1gb
[Samsung Galaxy S (4G Model)] Graysonh:
Is getting a new SD card an option? You can get a 4 or 8GB for under $10USD these days. Check walmart or aliexpress, I'm sure you'll find something.
[Samsung Galaxy S (4G Model)] FBis251:
Hey [MENTION=5414656]xc-racer99[/MENTION] your updater.sh in the latest (aug 31) zip has a typo on line 173.

/tmp/buybox/umount -l /datadata

should be

/tmp/busybox umount -l /datadata

EDIT:

Sent you a pull request on github
[Samsung Galaxy S (4G Model)] xc-racer99:
Whoops, my bad.

Thanks very much [MENTION=3833556]FBis251[/MENTION] for fixing it!
[Samsung Galaxy S (4G Model)] xc-racer99:
New Build Uploaded!

Changelog for 15/10/2015 Build

Fixed typo in updater.sh (thanks [MENTION=3833556]FBis251[/MENTION]!)

Update Omni source code - plenty of little tweaks since last build

Download is available where all the others are
[Samsung Galaxy S (4G Model)] mataflakitas:
Exelent
[Samsung Galaxy S (4G Model)] jkiran2may:
I have now KitKat 4.4 from CM11 and wanted to go for lollipop using OMNIROM but I could not able to install the latest ROM using TW.

Please let me know why I could not go from CM11 to OMNIROM? I am using the build - omni-5.1.1-20151015-galaxy4gmtd-HOMEMADE.zip - my device is Samsung Galaxy S 4G (t-moble)