yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
If you want or need support for jfltevzw and jflteatt variants you need loki:

package_extract_file("boot.img", "/tmp/boot.img");
assert(run_program("/sbin/sh", "/system/etc/loki.sh") == 0);

^Needs loki.sh and loki_bootloaders from system/etc and loki_tool from system/bin (you could even refer to Alucard's flashable zip and just change boot.img and system/lib/modules)

If, instead, you want it just for your ROM or without jfltevzw and jflteatt:

package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");

will do

Go in Developer options and enable "advanced reboot", if you don't see it tap 7 times "build number" in About phone->ROM
[Galaxy S 4 i9505 Original Android Development] rolandvrielink:
Thank you
[Galaxy S 4 i9505 Original Android Development] Strephon Alkhalikoi:
[MENTION=5418934]rolandvrielink[/MENTION]: I see AntaresOne beat me to it. Settings > Buttons > Power Menu is where you need to go to add the Screenshot function.
[Galaxy S 4 i9505 Original Android Development] rolandvrielink:
my battery is empty now and phone is off.

I'm charging now

when i push the power button i see the charging animation, but i don't see the red led for charging

and probably when the battery is full i don't see the green led.

is there a option to set this option?
[Galaxy S 4 i9505 Original Android Development] C4PO:
I've got the Bluetooth blues here. On Sprint, clean flashed to the 10-22 rom. Getting constant Bluetooth share crashes since trying to turn on Bluetooth both before and after flashing the additional zip. When it crashes wifi is also interrupted.

I don't quite remember how to gather the logs, but will be happy to provide them and can be available to test any possible fixes.
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
The only safe solution is to compile the kernel from sources with the official cm Ramdisk + Alu changes, we have our custom service on rc files (ie: led at startup won't work for sure) and miss all bfq/cgroup changes made by cm in our Ramdisk (and we still don't know if they are incompatible with Alu kernel, we are trying now these changes on AOSP but we need some days to see if everything works without issue), but the code in display core and native cm repos is there on official cm builds.. I don' t think it's safe to flash our kernel in a nightly build, some changes works only when the scheduler is bfq or cfq, but others works in every case... Probably a lot of things won't work as expected...! ;)
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Yes, in Settings->Display & Lights

I forgot about that, thanks for pointing the user the right way. :)

By the way, you said Alucard doesn't support those cgroup changes but...https://github.com/Alucard24/Alucar...2-5.1/arch/arm/configs/alucard_defconfig#L256 I'm reverting those removed things right now and no problem for our custom init, if services/scripts aren't found in system these are just not runned without giving issues
[Galaxy S 4 i9505 Original Android Development] -+BB+-:
We talked about that changes and there was the possibility that something was not compatible with all the changes he made, we had a lot of freeze in that days so we decided to remove all that code.. Things was better without that changes but... As you know... The problem was on another side (someone said binder...?:D:D).. Now that it's solved i've tried to restore all that code and no issue for the moment for me and all our testers, so probably we can safely port everything! But for this kernel version the issue remain if someone tries to flash on a cm nightly... That code is missing for the moment! ;)

EDIT: I was not referring to our services, but to our modifications and the lack of code that cm provide from their side, our missing services are the last problem... Just a line in the log!:D
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Yeah, thanks again mate. Come in Slack, I have some news for you
[Galaxy S 4 i9505 Original Android Development] rolandvrielink:
Sorry, but did I miss something??

I send also 2 attachment's
[Galaxy S 4 i9505 Original Android Development] dr.wtf:
anyone having wlan always on and noticing unusually high wlan_rx_wake wakelock?
[Galaxy S 4 i9505 Original Android Development] kenerly:
Screen Freeze

Using OptimizedCM-12.1-20150817-jflte version.

After the screen turns off (set for 30sec) if you press the power button, screen turns back on, but nothing on the screen will react when touched (froze)?

Press power button a 2nd time to turn screen off, press again to turn on, everything on the screen works again? This is a real problem when the screen is off and someone calls. The screen turns on so you can answer, but the screen is froze so you can't answer.

Any ideas? Logs attached.
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Try to unplug and plug back your USB cable, the notification LED at boot overrides the charging LED

What count and what time?

That wakelock is triggered every time the device is awoken from deep sleep to send (tx) and receive (rx) data from WiFi. Apparently is related to the DHCP of the router, is that happening with a specific WiFi connection like your home?

My count of that is 658 for 20 minutes and 28 seconds in 1 day and 8 hours

Please update to the latest ROM version, that one is 2 months old and deprecated, we're not accepting bug reports from it anymore. Sorry
[Galaxy S 4 i9505 Original Android Development] dr.wtf:
yes those are values i would expect too. but i have 3h 17 min of wakelock and a count of 7845 times in 9 h 38 min.

edit: and yes, home. i come from 20150725 though where this didn't happen. clean flash of course
[Galaxy S 4 i9505 Original Android Development] HeadSwitch:
Can't install ad block. Keeps telling me I don't have an internet connection whether I use Wi-Fi or mobile data.
[Galaxy S 4 i9505 Original Android Development] sibeth:
Hello,

Great update! Smoother than butter, no fc no nothing at the moment!

Tiny question, how do you enable on screen buttons? Been searching for ten minutes and cannot find it..

Thanks!
[Galaxy S 4 i9505 Original Android Development] droidblitz:
Here

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

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] bswides412:
Answer can be found at this post http://xdaforums.com/showthread.php?p=63447118
[Galaxy S 4 i9505 Original Android Development] droidblitz:
Hey guys how is your battery life so far?

I think my battery drains fast with the latest update. :/

85-75% within 20mins just browsing tapatalk and google chrome.

EDIT

Will use the stock 2600mah battery to set base line for battery/SOT

So far no heatting while playing COC :D

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] phoinixtk:
great update... no problem so far...
[Galaxy S 4 i9505 Original Android Development] FernBch:
Woops. Wrong thread. Lol

---------- Post added at 10:17 PM ---------- Previous post was at 10:09 PM ----------

C4PO said:

I've got the Bluetooth blues here. On Sprint, clean flashed to the 10-22 rom. Getting constant Bluetooth share crashes since trying to turn on Bluetooth both before and after flashing the additional zip. When it crashes wifi is also interrupted.<br />

<br />

I don't quite remember how to gather the logs, but will be happy to provide them and can be available to test any possible fixes.<br />

<br />

Is yours a CDMA device? I am on VZW (SCH-I545 CDMA) and have issues with BT, too. The problem is with code as this only seems to be happening on CDMA devices. If I understand correctly it the GSM devices do not have this issue. I'm testing other ROMs to see if there is one (hopefully CM based) that doesn't have this issue in the hopes that needed parts can be ported over.

I also see another issue. C4PO's post is not quoted because, for some unknown reason, when I try to quote a post using Tapatalk the quoted text does not appear in my reply window. Something else to troubleshoot now, too.....

---------- Post added at 10:58 PM ---------- Previous post was at 10:17 PM ----------

OK, I have figured out whatever the reason quoted text does not appear is a XDA issue, not Tapatalk. Quotes work properly on other forums I follow on Tapatalk, just not on XDA.
[Galaxy S 4 i9505 Original Android Development] droidblitz:
Long idle.

Unlock the phone.

Opens in recents app window.

Anyone experiencing this?

Edit

Using stock music app

Buzzing still exist

Random stutters though. :D

I hope i can record the sound.

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] Sebastiansm:
I don't think I have any abnormal drainage
[Galaxy S 4 i9505 Original Android Development] droidblitz:
Nice :D

Damn tapatalk acting weird.

I cant quote any post :/

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] mafsi:
Same here. Since Yesterday. I.'m using browser

---------- Post added at 06:56 ---------- Previous post was at 06:55 ----------

xposed? kernel tweaks?

Share your settings
[Galaxy S 4 i9505 Original Android Development] droidblitz:
God damn.

Is there any fix for this stuttering sound while playing music?

I am using google play music now.

Steaks default settings ddnt touch anything. :/

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] FernBch:
Woops. Wrong thread. Lol<font color="Silver"><br />

<br />

---------- Post added at 10:17 PM ---------- Previous post was at 10:09 PM ----------<br />

<br />

</font>C4PO said:<br />

<br />

I've got the Bluetooth blues here. On Sprint, clean flashed to the 10-22 rom. Getting constant Bluetooth share crashes since trying to turn on Bluetooth both before and after flashing the additional zip. When it crashes wifi is also interrupted.<br /><br />

<br /><br />

I don't quite remember how to gather the logs, but will be happy to provide them and can be available to test any possible fixes.<br /><br />

<br /><br />

<br />

<br />

Is yours a CDMA device? I am on VZW (SCH-I545 CDMA) and have issues with BT, too. The problem is with code as this only seems to be happening on CDMA devices. If I understand correctly it the GSM devices do not have this issue. I'm testing other ROMs to see if there is one (hopefully CM based) that doesn't have this issue in the hopes that needed parts can be ported over.<br />

<br />

I also see another issue. C4PO's post is not quoted because, for some unknown reason, when I try to quote a post using Tapatalk the quoted text does not appear in my reply window. Something else to troubleshoot now, too.....<font color="Silver"><br />

<br />

---------- Post added at 10:58 PM ---------- Previous post was at 10:17 PM ----------<br />

<br />

</font>OK, I have figured out whatever the reason quoted text does not appear is a XDA issue, not Tapatalk. Quotes work properly on other forums I follow on Tapatalk, just not on XDA.<br />

<br />

Sent from my SCH-I545 using

Well, that was a fail. The official CM doesn't do audio streaming over BT, either. Using Pandora I can get through two tracks and it fails. Doesn't matter if #3 is an ad or another track. My logcat began to populate with A2DP errors.

---------- Post added at 12:09 AM ---------- Previous post was at 12:07 AM ----------

Nice :D<br />

<br />

Damn tapatalk acting weird.<br />

I cant quote any post :/<br />

<br />

Sent from my GT-I9505

[quote name="droidblitz" post=63457749]Nice :D<br />

<br />

Damn tapatalk acting weird.<br />

I cant quote any post :/<br />

<br />

Sent from my GT-I9505[/QUOTE]<br />

Same here. Since Yesterday. I.'m using browser<font color="Silver"><br />

<br />

---------- Post added at 06:56 ---------- Previous post was at 06:55 ----------<br />

<br />

</font>[quote name="Monigote97" post=63457677]I don't think I have any abnormal drainage[/QUOTE]<br />

xposed? kernel tweaks?<br />

Share your settings

The no quoting in Tapatalk is an XDA issue with Tapatalk.
[Galaxy S 4 i9505 Original Android Development] Sebastiansm:
Yes, xposed + greenify. I also changed some settings in stweaks and I'm not having too many stuttering problems
[Galaxy S 4 i9505 Original Android Development] droidblitz:
For Monigote97

How about random buzzing stutter sound while playing music?

Lol you cant even mention adding @

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] FernBch:
Hi everyone,

Until XDA/Tapatalk sort out the quoting issue you can highlight the post you want to quote, from the menu choose "copy post content", and paste it into a reply. It's better than nothing.
[Galaxy S 4 i9505 Original Android Development] Sebastiansm:
Too little, change to fiops and 1024 in stweaks and try
[Galaxy S 4 i9505 Original Android Development] tomurbanowicz:
I don't understand why the call pictures is under semi gray/black squre? In in early versions we had cleary call pictures when somebody call to us. I cannot see any option for that and only GravityBox has got it. But GB It is not recommended for that family ROMs...
[Galaxy S 4 i9505 Original Android Development] kenerly:
Same Problem

Updated to OptimizedCM-12.1-20151022-jflte version as suggested. Same Problem on both builds 1022 & 0817

After the screen turns off (set for 30sec) if you press the power button, screen turns back on, but nothing on the screen will react when touched (froze)?

Press power button a 2nd time to turn screen off, press again to turn on, everything on the screen works again? This is a real problem when the screen is off and someone calls. The screen turns on so you can answer, but the screen is froze so you can't answer.

Of Note: build 0817 seemed to come out of this frozen state faster then build 1022. On 1022 I have resorted to pulling the battery for a restart.

Any ideas? Logs attached.
[Galaxy S 4 i9505 Original Android Development] jeremeel2015:
I've been using it for 1 day for now, all seems fine except the music stuttering again............ kinda sad i have this problem, i clean flash with pico gapps and start the phone and try to play music ASAP, the stutter still exist, try changing awesome player to nu player, still the problem exist, guess it has to do with the kernel, try using nightly build and the stutter is gone, guess i stick with nightly for now

anyway thanks for your hard work devs, hope this issue will fix soon!! :good:
[Galaxy S 4 i9505 Original Android Development] tonioricciato:
Hi, what other changes you made to reach 6 Hrs of sot?
[Galaxy S 4 i9505 Original Android Development] rolandvrielink:
Yes, share your settings please
[Galaxy S 4 i9505 Original Android Development] bswides412:
Is it possible to take HDR photos on this ROM? I know the stock camera does not do this. If 3rd party app can, any suggestions?
[Galaxy S 4 i9505 Original Android Development] tonioricciato:
Snap Camera

https://play.google.com/store/apps/details?id=com.marginz.snap&hl=it
[Galaxy S 4 i9505 Original Android Development] biazoto:
HDR seems to work with Better Camera .. I use snap camera HDR, but never noticed much diference between normal pic and HDR, even in stock tw..

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Original Android Development] tomurbanowicz:
Why is it possible with GravityBox?
[Galaxy S 4 i9505 Original Android Development] benlm72:
Hi,

Thank's for your answer and having a look at my log. I will try to install it on internal memory. I can install the build of july on the sd card, I cannot since the build of august.

I will tell you.
[Galaxy S 4 i9505 Original Android Development] tzyn:
[MENTION=5464206]AntaresOne[/MENTION] & [MENTION=3695291]wpyh[/MENTION]

Here is my new report about the bluetooth-fix (JDCTeam-BT.zip):

Bluetooth works good, no more crashes. But there is a new problem now. My battery drains very fast when the screen is off. Android battery stats shows that the phone is active all the time and i made no changes except the bluetooth-fix. So i checked the partial wakelocks with BetterBatteryStats and it shows that bluedroid_timer is always active - checked Android battery stats on bluetooth and saw that it is active since i charged my phone. So now its stable but drains the battery - with no bluetooth device connected. Made some reboots but that didnt helped.

Flashed the JDCTeam-BTLib2.zip and testing this lib now. First impressions after some minutes: It seems that my phone can sleep now. BetterBatteryStats shows no more bluedroid_timer in partial wakelocks since first boot with the new lib and also Android battery stats seems ok now. Phone is only active if screen is on and active time of Bluetooth didnt' increased anymore.

EDIT:

With BTLib2 Bluetooth crashed after 7hours out of nowhere - nothing connected, just updated apps in play store. So I'm back to the libbt-vendor.so from Imperium 10.1 Rom.
[Galaxy S 4 i9505 Original Android Development] mrleja:
I had the same problem, but I decided with GB, works great: phone tweaks, fullscreen Caller photo. I installed Xposed-v75-sdk22, and works great on 22.10. I apologize for bad English.:good:
[Galaxy S 4 i9505 Original Android Development] Idebutterpiep:
Does Optimized CM-12.1-20151022-jflte version work with Gear watch or am I sticked to stock rom with my watch?
[Galaxy S 4 i9505 Original Android Development] dicko101:
Suitable for basic user?

Hi guys, I'm refurbishing my old S4 for resale and I'm considering stable roms to flash before I sell it, I'm wondering if this rom has any bugs that would affect a basic user or if it is stable enough to sell on my phone? Will there be OTA updates for this rom? If not this rom can anyone recommend a solid rom? Would need to be stable, fast and have good battery life, other included features aren't so important as long as everything works, looks like this is an excellent rom though. Thanks for any help. Will of course contribute with a donation to the developer if the phone sells with this rom.
[Galaxy S 4 i9505 Original Android Development] ench18:
If your going to sell your phone... you might as well leave it Stock. Install TW lollipop. If you sell your phone with a custom rom in it, your buyer might hunt you down if things go wrong. Just my 2 cents dude. It's your phone ;)
[Galaxy S 4 i9505 Original Android Development] homer-australia:
Good advice. Point them to this forum and tools if they want to go the custom rom experience themselves.
[Galaxy S 4 i9505 Original Android Development] Jared20098:
You need F2FS for this? Aww.. I was planning to use it with GPE 5.0 on MultiROM but I guess it doesn't work since GPE 5.0 doesn't support F2FS.
[Galaxy S 4 i9505 Original Android Development] Prevelation:
Boottime on simple restart and Trebucket Dock

Build: 13/04/2015, clean install, Cache, Data, System formatted to F2FS.

Hey Guys,

does anyone know why my phone stays for 40-60 Seconds on the "Galaxy S IV" screen with the "SELinux not enforcing..." in the left upper corner, when I restart it?

And secondly...

in some pictures I saw someone using the usually CM Trebucket Launcher, but with more then 5 Icons on dock... how does that work??

Some advice would be nice. :)
[Galaxy S 4 i9505 Original Android Development] TLK3:
No, you do not. Why do so many people get this confused?
[Galaxy S 4 i9505 Original Android Development] rebel1699:
They are not confused. This rom auto formats /system to f2fs on install (big red letters in post #3 of op). Only /data, /cache, and so on need manual conversion. Everyone who has this rom installed has f2fs on their /system, whether they know it or not.
[Galaxy S 4 i9505 Original Android Development] [W]ar[H]ead:
When i want to change photo in this right corner is that "Contact does not exist" Any ideas how to fix it?
[Galaxy S 4 i9505 Original Android Development] rebel1699:
Go to settings-apps, and scroll to "contacts storage". Tap it and clear cache and data. Close settings. Now open G+ app. Got to settings, tap your account, tap contacts, and put a check in " keep contacts up to date". Should be set. This is how you set it to be synced with your google acct pic.

The post below mine by [MENTION=4353936]jd1001[/MENTION] tells you how to set it to whatever you want.

Both are correct, depending on preference.

Google complicated the hell out of it. This rom is not at fault, as even my Nexus 7 needs the same procedure.
[Galaxy S 4 i9505 Original Android Development] jd1001:
Just add a picture to the "ME profile" in your contacts or people app. That adds your contact and save a photo to the user profile in the status bar.
[Galaxy S 4 i9505 Original Android Development] [W]ar[H]ead:
Thanks, one more question - is it posibble to change display mode? Like in stock Samsung rom?
[Galaxy S 4 i9505 Original Android Development] jd1001:
Yeah I only do it my way because I don't want G+ keeping my contacts up to date.
[Galaxy S 4 i9505 Original Android Development] rebel1699:
Mine sits for the same 40-60 seconds. No big deal. The "SELinux not enforcing" is because this rom has it set to permissive. Dont worry, your phone is fine. It is just Samsung bootloader saying some security measures have been bypassed. More than 5 icons is usually either a setting in the launcher settings, or they have lowered their dpi.
[Galaxy S 4 i9505 Original Android Development] Prevelation:
At first, thanks for this quick answer! Pew, was kinda worrying... haha. ^^ ... well I ask because on 5.0.2 I had a quiet faster boot...

About the Trebucket Launcher - don't know... but would be cool to know how. :D

Thanks for Info Rebel :)
[Galaxy S 4 i9505 Original Android Development] rebel1699:
I definitely hear ya. Thats why I wanted to edit my post to be a little more clear after I saw your post. I liked it better when they kept them separate as well. Profile pic should have stayed properly synced, regardless of using g+ option or not, like kk and down did.

---------- Post added at 03:47 AM ---------- Previous post was at 03:46 AM ----------

I do not believe immersive mode is available on this rom. Actually, I think that is a touchwiz feature.
[Galaxy S 4 i9505 Original Android Development] dicko101:
Thanks guys, its already running an old rom from about a year ago when I smashed it, since it's already rooted with a custom rom I figured I may as well pick a good, stable rom to sell on it, there doesn't seem to be much point putting a stock rom on it if it's still rooted anyway, a stock rom could also be just as buggy as this one.

I ran it through a few things and it seems that anything that usually breaks is working fine, really fast too, impressive, I can't wait to get LP on my note 4, leaving it stock though so I'm waiting for telstra to release an update, could still be a very long time :(
[Galaxy S 4 i9505 Original Android Development] ench18:
Like i said.. its your phone :) Just make sure the person your selling to knows the in's and out of a rooted and custom rom phone. I'm leaving my note4 plain and simple stock. ;)
[Galaxy S 4 i9505 Original Android Development] Motawa88:
unfortunately "XXXX" has stopped 300 times/every app

i did as the instrunction tells. did it 3 times.

i come from your 5.0 rom.
[Galaxy S 4 i9505 Original Android Development] clshores:
99.9% chance you have the wrong GApps.
[Galaxy S 4 i9505 Original Android Development] Motawa88:
i dont think so. "gapps-lp-20150314.zip"
[Galaxy S 4 i9505 Original Android Development] Gerxp:
Can I get rid of the background at the top of the notification screen?
[Galaxy S 4 i9505 Original Android Development] sibeth:
Ok thanks!

One the previous build it was a setting of the rom and of CM. How come this was removed? Just curious, I got it to work so no problem.
[Galaxy S 4 i9505 Original Android Development] Pedantic_Android_User:
Does anybody else have this problem where the tapatalk app freezes?
[Galaxy S 4 i9505 Original Android Development] Noz_Mac:
For last 2-3 builds I have been using goneMAD music player(gmmp); and have never experienced the stuttering people talk about.

Not sure if just lucky on my side or if down to music player.