yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Active Android Development] walter79:
W/SurfaceFlinger( 275): Fail to Open /sys/devices/platform/gpusysfs/fps

Kernel bug.

#define	QUALCOMM_SYSFS_GPU_FPS	"/sys/devices/platform/gpusysfs/fps"

http://www.jdkoreclipse.net/git/?p=...drivers/gpu/gpu_sysfs/gpu_sysfs_target_kgsl.c

If it is fixed in kernel we need this init.qcom.rc

mkdir /data/audio/ 0770 media audio

setprop vold.post_fs_data_done 1

+#GPU
+#unify sysfs node for GPU
+ chmod 0444 /sys/devices/platform/gpusysfs/gpu_clock
+ chmod 0644 /sys/devices/platform/gpusysfs/gpu_governor
+ chmod 0644 /sys/devices/platform/gpusysfs/fps
+ chown system shell /sys/devices/platform/gpusysfs/gpu_governor
+ chown system shell /sys/devices/platform/gpusysfs/fps

# Export GPIO56 for fusion targets to enable/disable hub
service usbhub_init /system/bin/usbhub_init
class late_start
user root

Edit: Found it our kernel did not support gpu_sysfs

Note 4 Snapdragon 805 has it:

https://github.com/stefant234/SimplKernel-LL-N910F/tree/master/drivers/gpu

Edit2: no Lollipop kernel source for our S4 Active

http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=i9295

But i found source for I9505 S4.
[Galaxy S 4 Active Android Development] JASONRR:
We have hardly a couple of developers for our S4 active who can build kernels from source and they are mostly focused on CM. Previously spegelius had ported the KT kernel for 4.4.2, however KT does not support 5.0.1 and spegelius currently has very little time for CM development itself. Can you do it as I can see from your signature that you have built a couple of kernels.
[Galaxy S 4 Active Android Development] walter79:
Building kernel is easy. But port new functions needs time and kernel source. There is no LP kernel source for the s4 active. The 5.0.1 Samsung rom is not very good. Logcat shows some errors that not fixable yet. I checked s4 i9505 kernel source and there is gpu sysfs missing too.

Edit:

Maybe we can use this source:

https://github.com/Slim80/Imperium_Kernel_TW_5.0.1

http://xdaforums.com/galaxy-s4/i9505-orig-develop/kernel-imperium-ll-kernel-v1-0-t3058867

Or:

https://github.com/Hybridmax/Hybridmax_Kernel_I9505

http://xdaforums.com/galaxy-s4/i9505-orig-develop/18-03-2015-hybridmax-stock-kernel-t3058213
[Galaxy S 4 Active Android Development] walter79:
Can someone test attached boot.img and kernel modules?

Flash via fastboot

Kernel compiled from samsung i9505 s4 original TW 5.0.1 LP kernel source .

Please test if it boots and if everything works.
[Galaxy S 4 Active Android Development] Pkt_Lnt:
The S4Active does not use fastboot, either odin or via recovery.

I tried these, with no response. Odin works fine for me, so it is not a usb driver issue.

C:\android-sdk-windows\platform-tools>fastboot devices

C:\android-sdk-windows\platform-tools>fastboot reboot

< waiting for device >
[Galaxy S 4 Active Android Development] walter79:
Sorry my mistake. I used heimdall to flash boot.img. You can replace it in your Rom zip and copy .ko files to /system/lib/modules/
[Galaxy S 4 Active Android Development] Pkt_Lnt:
I copied the boot.img and .ko files as you stated. It boots, and everything seems fine except wifi. Wifi will not turn on.
[Galaxy S 4 Active Android Development] walter79:
Can you post logs? You can use syslog app from play store.
[Galaxy S 4 Active Android Development] walter79:
New kernel for testing:

You can flash via custom recovery.

Please report if wifi work or not.
[Galaxy S 4 Active Android Development] JASONRR:
Can confirm wifi is working on the new test kernel
[Galaxy S 4 Active Android Development] d8389:
Wi-Fi passwords reset every boot I9295XXUDOC3.

After passwpord entered - WiFi connecting. Affter reboot password forgotten again.

Rollback C3 - https://my.pcloud.com/publink/show?code=XZceBXZk4MMhq33TC5oaxRHsO2gMzxL34j7
[Galaxy S 4 Active Android Development] walter79:
Knox problem i think.
[Galaxy S 4 Active Android Development] yomama163:
Can confirm this bug :( Not too cool if I don't have my Wifi-password near me and I didn't learn it by heart (shame on me for that but I got better things to do than learning a string of 20 digits :D)

Btw, any news on getting SELinux to permissive mode for this custom kernel?

EDIT: Rolled back to Stock C3 Kernel, now I can't turn on my WiFi...
[Galaxy S 4 Active Android Development] JASONRR:
You can get the stock kernel from the below link and flash according to your modem

https://drive.google.com/folderview?id=0ByY8uLVuRKD2eFhUZUY0MXlRTnM&usp=sharing
[Galaxy S 4 Active Android Development] walter79:
Wifi problem losing wifi passwords fixed for "custom" TW LP kernel

thanks to dajumper

add this line to build.prop or default.prop

ro.securestorage.support=false

Next step fix this:

W/SurfaceFlinger( 274): Fail to Open /sys/devices/platform/gpusysfs/fps
D/SurfaceFlinger( 274): FPS : 61.10

I/AudioPolicyManager_legacy( 298): getAudioPolicyConfig: audioParam;outDevice
V/AudioPolicyManager_legacy( 298): getNewOutputDevice() selected device 0
V/AudioPolicyManager_legacy( 298): ### curdevice : 2
[Galaxy S 4 Active Android Development] walter79:
Some big good news.

Running Hulk-Kernel from i9505 (link to source and original thread)

If you like to test it. See attached zip

No risk no fun

You can use trickster mod free from playstore to setup your kernel.
[Galaxy S 4 Active Android Development] O-T:
Is this a 1:1 compilation of the i9505 kernel source with no modification to fit i9295?
[Galaxy S 4 Active Android Development] walter79:
Only added jactive defonfig
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Ok, booted and running for about 30 minutes. I'll give it a couple days. Getting Crashalytics errors in logcat app.
[Galaxy S 4 Active Android Development] JASONRR:
This line is already present in build.prop of WizCyan ROM

Flashed the kernel --> wifi works, deep sleep good, charging good (wall charger)

Logcat is not working for some reason (works on reverting to stock kernel), I suppose you are aware that Hulk-kernel Stweaks app does not work and better to remove it. Also thread on Hulk kernel states that SeLinux is changed to permissive but still shows enforcing in about screen, so not sure if any of the features are implemented.
[Galaxy S 4 Active Android Development] yomama163:
I don't know if anyone else stumbled upon this bug, but at work every time I connect to my WiFi router and let my phone hibernate my phone disconnects automatically although the settings say that my WiFi should be "always on". I just tried the opposite and switched my WiFi to "never" be on during hibernation and suddenly it stays connected. It's like being in a twisted world :D anyone else with this "problem"?

EDIT: false positive on that one on my phone... My Wifi just shuts down after a while of inactivity, no matter what Wifi policies I got... (I got a tasker task linked to the wifi state so that it mutes my phone completely and goes loud again as soon as I disconnect from my Wifi/go out of my office, with this problem my phone goes loud and if I get any messages my colleagues can hear my notification tone... Pretty annoying to be honest)
[Galaxy S 4 Active Android Development] walter79:
Hulkernel:

Fixed tweak app.

Adb works now.

Bug: pin screen protection not working

New version use ramdisk from 9505.
[Galaxy S 4 Active Android Development] walter79:
For a selinux permissive read this:

http://graemehill.ca/compiling-permissive-android-kernel/

Edit:

It works!

Tested with this rom from I9505: http://xdaforums.com/showthread.php?t=2443086

only cam is not working with this ported rom.
[Galaxy S 4 Active Android Development] nikolas60:
v1.1 lollipop rom problem

i installed the right recovery from the op i flash the rom with wipes and every thing and after from the addon package i flash some apps.and i.stuck. at samsung logo for.a lot.of.time.i am on lollipop bootloader and if remove battery and boot the phone.is optimizing apps and on startings.apps.for.a lot of.time. after.i remove.battery boot again and i stuck again to samsung logo help me.plzzzzz
[Galaxy S 4 Active Android Development] JASONRR:
First boot takes around 12 to 20 minutes depending on the number of apps you have installed from the addons. Also it is better to boot the ROM without addons and later install the addons you require.

Can you list the apps from addons that you have installed. As there could be an issue with one of the addons.
[Galaxy S 4 Active Android Development] JASONRR:
New Versions

New Rom Version 02 and addon version 02 uploaded and updated in post #1 & 2

Rom re-built from OB4 firmware with additions of Note 4 EasySidePanel & Multiwindow app scalling and floating windows. Disabled SMD service in kernel (this was taking up some battery juice).

Viper4Android app added in addon package (not sure if this works)
[Galaxy S 4 Active Android Development] wanakamura:
Hi I've been totally happy from your 4.4.2 rom. Today I've decided to move to new ROM as V2 shown. As Always, before installation I've Format all data/media partitions + factory reset.

1. step was clean install of system - it worked. I could login to google account.

2.setup -> gone to recovery -> wipe cache -> install aroma addon (to be specific only one package from it all-cast combo)

3. After that I stuck at app opening (all 84 apps update went ok) any ideas?

// I've tried from the beginning 3 times with the same results.
[Galaxy S 4 Active Android Development] JASONRR:
Yes, it seems that I had not updated the allshare apps and libs in the addons. I am re-uploading the addons package with the right apps and libs.
[Galaxy S 4 Active Android Development] wanakamura:
thanks so I'm waiting.

Best!
[Galaxy S 4 Active Android Development] JASONRR:
Uploaded and updated link in post #2
[Galaxy S 4 Active Android Development] JASONRR:
Download the new version 02 of the ROM & addon package and flash it again and it should be ok
[Galaxy S 4 Active Android Development] wanakamura:
New addon worked. Thanks.Is there any option to change how auto brightness is working? is much darker than on 442.

Best!
[Galaxy S 4 Active Android Development] JASONRR:
Goto Settings-->Power Saving-->Power saving mode -->Turn it on-->Restrict performance-->turn it off and then you can disable power saving mode.

This needs to be done for for Screen Mirroring to work as well
[Galaxy S 4 Active Android Development] wanakamura:
Thanks helped also with laggy system. :)
[Galaxy S 4 Active Android Development] tofanpc:
Flashed the new version yesterday. So far everything is ok except one little thing: when reverting from UPSM I have no widgets on home screen. I have too add them again.

Today I'll reinstall all my apps to see whats happening.
[Galaxy S 4 Active Android Development] JASONRR:
I use Nova Launcher and do not have this issue with widgets.

Install the apps from Play Store (so the version of apps installed are compatible with the ROM version of android) and only use Titanium backup to restore the app data where required.

Also stumbled upon this thread on PIE check in "L" causing breakage for most apps that ship native executables with a possible fix (Fix from OP does not work you can try the one from post#65 only if needed)
[Galaxy S 4 Active Android Development] baaldfg:
Daily driver and battery life?

Hi there,

First thanks a lot for all your work!!!

I am still on the "old" 4.4 WizCyan and thinking about upgrading to the new V2.

Ist the new one stable enough as a daily driver? Can someone please comment on the battery life (compared to the last 4.4 version)?

Best wishes,

Christian
[Galaxy S 4 Active Android Development] tofanpc:
seems like touchwiz is the problem . All apps installed from PLay and nothing restored from backups.. In Google now launcher, widget issue doesn't appear.
[Galaxy S 4 Active Android Development] JASONRR:
I am using it as a daily driver and the battery life is as good as the last 4.4 version. Just read the tips section in the OP for better performance
[Galaxy S 4 Active Android Development] tofanpc:
Flashed v2 and WiFi didn't work so I followed instruction from first post. Now I have this in phone info and battery drain is 10% over night. Missing CSC can be the cause?
[Galaxy S 4 Active Android Development] JASONRR:
With respect to battery drain, I recommend that you check which apps are draining the battery. I generally put it on flight mode while going to sleep and the battery goes down hardly by 1% or max 2% by morning. Missing CSC has nothing to do with battery drain, the CSC in the ROM has been such since 4.4.2 without any issues.

I can see that you have the OC3 bootloader which I believe has knox while OB4 firmware does not have knox and not sure if this is causing any issues. I am still on the NE5 (4.4.2) bootloader and maybe during the weekend will upgrade to the OB4 (5.0.1) bootloader and check for any issues (do not intend to update to OC3 due to knox)

In case you want to use the OC3 modems you can flash the OC3 kernel from my drive for working wifi
[Galaxy S 4 Active Android Development] baaldfg:
I had the same problem with the OC3 bootloader. Switching to NE5 bootloader and OB4 baseband solved it. Now Wifi works perfectly. I changed the bootloader by pushing the stock ROM via Odin. Maybe not the most elegant solution but it gets the job done.

I have just one small problem. On the 4.4 version of this ROM I could add my corporate exchange account. Now (on the Android 5 version) this option is gone. I installed gmail and calender. What do I need to get exchange working again?

Best wishes,

Christian
[Galaxy S 4 Active Android Development] JASONRR:
For Exchange you will need to install Email from addons (have removed the google exchange as it was not working for me, do let me know if it works for you I will have put it back in the next version)
[Galaxy S 4 Active Android Development] baaldfg:
Solution: Exh

Hi JASONRR,

I found a solution. I just had to install "Android exchange service". After a reboot the option to add exchange accounts was there again. It is working fine.

Maybe you could include it in the ROM or in the addons. I got the current version from:

http://www.apkmirror.com/apk/google...ge-services-6-5-1791555-android-apk-download/

Best wishes,

Christian

UPDATE: using another calender app it is not even necessary to have the google calender installed for exchange to work properly
[Galaxy S 4 Active Android Development] sicHiRsch:
Any chance you could integrate "network speed Indicator" into this room? It displays up and download speed in your statusbar. That plugin is the only reason I use xposed for. Cheers
[Galaxy S 4 Active Android Development] d8389:
Install my add-on over this ROM.
[Galaxy S 4 Active Android Development] JASONRR:
I suppose you are looking for the one in the screenshot. You can flash the update from the below link & enable from WizCyan settings

https://www.androidfilehost.com/?fid=23991606952599768

Credits go to [MENTION=293887]Morningstar[/MENTION] for his guide
[Galaxy S 4 Active Android Development] sicHiRsch:
AcDisplay cannot be set as the lockscreen. Can anything be done about that? Cheers

---------- Post added at 10:08 AM ---------- Previous post was at 09:42 AM ----------

Sorry for the many questions, I'm just so excited running a rom that stable and smooth ;) is it possible to activate fast charging on this? Or is there a custom kernel available that works with this room? Cheers again.
[Galaxy S 4 Active Android Development] sicHiRsch:
Is ambient display working for anyone? It does not turn my screen on when I pick it up. Also, is there a way to get rid of the 'location set by gps' notification? Cheers
[Galaxy S 4 Active Android Development] Pkt_Lnt:
ACDisplay thread reason for no lock screen.

http://xdaforums.com/showpost.php?p=60342508&postcount=2074

Custom kernel posted in this thread.

http://xdaforums.com/showpost.php?p=60390296&postcount=524

A couple searches will answer your questions. :D
[Galaxy S 4 Active Android Development] JASONRR:
Yes Ambient display works (lights up the screen in dark mode on receiving notifications). You need to disable and enable it in display settings. Motion sensor for Ambient display is not enabled as it affects battery.

Can you clarify on the location set by gps notification.
[Galaxy S 4 Active Android Development] sicHiRsch:
Thanks for that.

This is what pops up on the lockscreen and in the notification area when location is set to ' high accuracy ' or ' gps only ' every time an app requests location.
[Galaxy S 4 Active Android Development] pen²:
Why does this rom always format data? It would be nice if it could be dirty flashed in an easier way than backup, install, restore data. I mean, every recovery should have an option to format system, data etc, so for a first install, the instructions could request a format of these partitions before installation
[Galaxy S 4 Active Android Development] JASONRR:
I use Philz recovery and have dirty flashed several times with my data intact. Once again flashed V02 just now and my data is still intact.

The updater script wipes only cache, dalvic cache and a few rom related files on interal SD (/data/media/0/.* /data/media/0/Android /data/media/0/data /data/media/obb/* )

Can you let me know which recovery you are using?
[Galaxy S 4 Active Android Development] JASONRR:
OK, let me look into it, would want to add a toggle if I would do it and that may take some time
[Galaxy S 4 Active Android Development] sicHiRsch:
Yep toggle would probably be the best solution. On another note, is there a way to change the lockscreen camera shortcut to open another camera app than the default Samsung camera?
[Galaxy S 4 Active Android Development] pen²:
[MENTION=5266778]JASONRR[/MENTION]

ah ok that's great, then everything should be fixed already. I think maybe Version 1.1 wiped my data when I tried to dirty flash it, that's why I asked how to dirty flash it properly. When the answer came "Backup, flash, restore data", I thought "Ok, then I need to do that, but not wiping data in the first place would be easier" ;)

So, obviously I solved a problem I do not have (I use Philz Recovery as well), I just didn't dare to do a dirty flash blindly, and when I got the answer (backup, flash, restore), I did just that...
[Galaxy S 4 Active Android Development] Pkt_Lnt:
I'm using Philz as well, and have lost data on upgrade from 1.0 to 1.1 and 2.0 to 2.1. I tired both times with dirty flash, install add-ons with aroma, and boot. Both times data was gone, that is why I gave instructions to restore data after rom and aroma flashing. <shrug>
[Galaxy S 4 Active Android Development] JASONRR:
Hmm.. that's strange... will need to check it out in that case. Maybe remove the wipes pertaining to internal SDcard.
[Galaxy S 4 Active Android Development] pen²:
For me, v2 was not so good - battery life got worse and performance feels sluggish most of the time. What is your experience with v2?
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Incredibly good battery life. Look at Settings, Power Saving, "restrict performance" is off. I suggest turning all off unless you use it. Also, Settings, Motion, Motions and gestures, and Airview, and turn everything off. (Unless you use those of course.) I have them all off over a days use with 3-4 hours screen on time.
[Galaxy S 4 Active Android Development] pen²:
That's really weird - power saving was already disabled (I knew this one and airview from 1.1). Just disabled the motions and gestures, hoping to gain something ;) thanks for your hints!
[Galaxy S 4 Active Android Development] JASONRR:
Did you try downgrading your bootloader to OB4
[Galaxy S 4 Active Android Development] garson10:
does wizcyan kernel have kexec hardboot?
[Galaxy S 4 Active Android Development] JASONRR:
No, its stock kernel
[Galaxy S 4 Active Android Development] JASONRR:
Battery life

For those who like to get a good battery life below is link to a thread I stumbled upon lately and with battery drainers and explanations. This will really improve your battery life.

http://xdaforums.com/showthread.php?t=2601318
[Galaxy S 4 Active Android Development] sicHiRsch:
Sorry for the many requests mate, but after running cm for a long time there are just some things I am missing.

1. Can you disable the pop up that comes every time you turn flight mode on or off?

2. Can you make it possible to choose another camera app on the lockscreen?

3. Can you customise what the hardware buttons do? I am especially interested in using Google voice search instead of svoice. I removed s voice but now nothing happens when I double tap the home button.

Cheers mate
[Galaxy S 4 Active Android Development] wanakamura:
Hi So I've reinstall system from scratch 2 times. This is my 3rd iteration of 5.0.1 Rom installation. first dirty was very laggy as i wrote before. Second clean started to be absolutelly laggy after 2-5 days. app launching, menu entrance can take even 10s. So I clean, format evething one more time. then i've instal clean system. Do format one more time (including system) and reinstall all apps from store. It take me about 10-12h as autoinstalling take long time. comparing 4.4.2 to 5.0.1 - first one is much much faster. how could I went back to 4.4.2? I assume that installing 4.4.2 rom over 5.0.1 will not work. And could I use ART? how can I turn it on?

Best!
[Galaxy S 4 Active Android Development] JASONRR:
Yes, will look into disabling all the confirmation popups for Wifi, Bluetooth and Flight mode with one toggle

Sorry.. I personally feel the stock camera is the best and more users will prefer this rather than any other camera app

Would you not be able to launch Google voice search with google now launcher or nova launcher using the 'OK Google' hotword option enabled. Alternatively you could use gestures in nova launcher on home screen to launch it.
[Galaxy S 4 Active Android Development] JASONRR:
Can you let me know which firmware / bootloader you have last flashed (or currently are on) and your Knox status as this seems to be an issue with only some users.
[Galaxy S 4 Active Android Development] JASONRR:
Did you use the kitkat jactive defconfig as the S4 LP sources do not have jactive defconfig. Also can you possibly share the defconfig used
[Galaxy S 4 Active Android Development] sicHiRsch:
Awsome, cheers.

That is too bad, isn't the whole point of a customized rom to have more choice than what the manufacturer originally had in mind?

I could do that, but then I would still have an unused button. In the past I also used it to quickstart soundhound. I guess everyone can think of a couple of things they could do with a hardware button beside starting the built in voice app.

Thanks anyways for your hard work on this solid piece of software :)
[Galaxy S 4 Active Android Development] pen²:
[MENTION=5266778]JASONRR[/MENTION] thanks for this Rom! Do you plan to customize a I9295XXUCNH2 - ROM in the same way? The radio of NH2 gives better reception (at least for me and some others) but it needs fitting blobs in the rom, so flashing the current WizCyan and upgrading the radio rom wouldn't be such a good idea (at least that's what I understood from the AOSP/CM threads).
[Galaxy S 4 Active Android Development] JASONRR:
NE5 seemed to have worked for everyone without any issues and therefore the ROM was the obvious choice. I do not intend customize a NH2 ROM, but if you say the reception is better with with radio of NH2 which obviously is an advantage, I can look at falshing the modem over the NE5 firmware and check it out. Can you point me out to a flashable modem for NH2
[Galaxy S 4 Active Android Development] pen²:
Sure, here is nh2 (gdrive by spegelius) https://drive.google.com/folder/d/0BzJzDM42pkRvS1pPNzFRQXdZdVk/edit thanks for your effort & time!
[Galaxy S 4 Active Android Development] sartana:
I made a clean install ,but then system occupied 5gb on SD. So i format sd and then made another clean install.

Now it's OK.

But i have another issue, when someone call me there is a voice saying name of contact. I try many option in accessibility or in call option, disable popup, but no way.

Contact that are starred in Android (preferred contact) has this issue, the other no.

Suggestion?