yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Active Android Development] JASONRR:
Sure will look into that when I get some time and get hold of a 5.1 ROM. Samsung has not yet released it so will need to look at the nexus one.

The issue with Hangouts could be due to libs not being present in the ROM as it is debloated. Suggest that you use link2sd to convert to system app (reboot is required for it to take effect). I never had an issue with link2sd converting apps from data to system and vice versa
[Galaxy S 4 Active Android Development] pen²:
Actually the fix is for 5.0.x - in 5.1, the leak is already fixed by Android ;) So, if you find the time, it would be a great addition to the current wizcyan, but real-life comes first ;)
[Galaxy S 4 Active Android Development] JASONRR:
Had a quick look at the java code in official Android 5.1 patch implemented in the xposed module and does not seem too difficult to implement once I get hold a of a 5.1 ROM to check out a few variables in smali code. If there are any others you may point them out so that I can look at them at one shot.
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Whoa, so dirty flashing 1.1 wipes data as well and we have to do a complete setup of all apps and rom features.
[Galaxy S 4 Active Android Development] JASONRR:
It does not wipe app & personal data, just the rom data on internal sdcard (same as v01). This is required for those coming from 4.4.2
[Galaxy S 4 Active Android Development] Pkt_Lnt:
It did here. I just backed up, then went to install zip and dirty flashed rom, then used addon aroma for features I had in v01. When I booted, I was at the setup screen.

I went back to recovery and restored /data from the nand I made of v01 and all is well again. :good:
[Galaxy S 4 Active Android Development] JASONRR:
Setup screen is part of the ROM info stored on the internal SDcard and if you go ahead with the setup you would still have your settings and app data. Will remove this part from the installation script in the next version.
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Silly me, I did not try that. I even went back, did a nand of v01.1, restored v01 and dirty flashed again. When the setup came up, I bailed and restored the v01.1 nand.
[Galaxy S 4 Active Android Development] JASONRR:
Below is the link to the update with the fix implemented as per the official Android 5.1 patch

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

Can you check and let me know if you experience any difference

Edit: seems to consume more memory and looks better only with the services.jar (you can delete the systemui.apk from the zip before flashing).
[Galaxy S 4 Active Android Development] pen²:
Thanks! That was fast! Downloading now and going to bed, will test tomorrow
[Galaxy S 4 Active Android Development] pen²:
Used the fix all day, it is looking very good, I'll try to monitor and record ram usage in the next days
[Galaxy S 4 Active Android Development] garson10:
Unfortunately internet has stoppeed . Cant use sbrowser
[Galaxy S 4 Active Android Development] JASONRR:
Works well here.

Always give a full description of what you were doing (steps to reproduce) when you got the error or a logcat after the error.
[Galaxy S 4 Active Android Development] garson10:
Maybe after use motion or gesture sbrowse fc . Same like wizcyan kitkat sbrowse fc to after motion or airgesture on
[Galaxy S 4 Active Android Development] tofanpc:
Used 2 days without memory fix and without addons. Sometimes freezes for 4-5 seconds in different apps or when browsing. After applying memory fix it's freeze more often and after every remove from charging I gave to reboot because the processor it's used 100% by some mediaserv process. After reboot it's OK.
[Galaxy S 4 Active Android Development] allram:
God the same experience. Flashed memory fix without the mentioned apk.

And it hangs alot opening many apps and during writing...
[Galaxy S 4 Active Android Development] JASONRR:
Hmm. Strange... i have been using the ROM on 4.4.2 bootloader for weeks and have never had this freezes mentioned even after the memory fix (using both systemui.apk & services.jar). Need to look at mediaserv process, did not notice that.

Can you let me know the below info

Bootloader version

ROM version v01 / v1.1

Did you do a clean install

Addons installed (if any)

If using xposed and the modules used, if any

Any task killers / performance booster apps installed.

Any apps in specific that you have these frezees.

Additionally a logcat will help
[Galaxy S 4 Active Android Development] JASONRR:
Yes, it looks like there is an issue with air view turned on. I had it off so did not notice it.

You can turn the webpage magnifier off in settings and it should be ok.
[Galaxy S 4 Active Android Development] pen²:
Unfortunately, I can confirm the 4-5s hangs. Memory itself seems to be fine (it is not running full), but the hangs are annoying. As requested, I deleted the system.apk before flashing - should I try again with system.akp?
[Galaxy S 4 Active Android Development] d8389:
Memory leak fix seems to be not properly implemented. See my thread v xxxx.19 for proper fix.
[Galaxy S 4 Active Android Development] JASONRR:
You can try again with systemui.apk, but the freeze should not have anything to do with this. could be something else need to get a logcat when the freeze occurs to check the issue
[Galaxy S 4 Active Android Development] JASONRR:
Did some checking on mediaserv process and found the below link on some previous android versions which could of help. Are you using Rayman Jungle Run, Rayman Fiesta Run or Super Hexagon.

http://android.stackexchange.com/questions/35093/mediaserver-using-excessive-cpu-time-and-battery
[Galaxy S 4 Active Android Development] JASONRR:
Implemented directly from Nexus 6, 5.1 ROM. Can you share the link to your thread as I am unable to find it
[Galaxy S 4 Active Android Development] tofanpc:
bootloader i9295xxudob4, rom v1.1, clean install 2 times (came from nordic stock 5.0.1, after 2 days of using I installed memory fix and mediaserv bug started to occure so I did another clean install), no addons or xposed (I like the rom debloated and snappy like it is now).

I'm using EStask manager with widget for task killing/memory on home screen. Freezes occures in contacts, music player, chrome/dolphin, camera, gallery or some games. no specific time between freezes. I can't predict if the freeze will appear next time when I'll open an app so i'll have to do some test to catch the freeze in logcat.
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Get this app to identify your bootloader exactly, HIGHLY recommended that you use it.

https://play.google.com/store/apps/details?id=org.vndnguyen.phoneinfo&hl=en
[Galaxy S 4 Active Android Development] tofanpc:
yep, that app I used to see the info. only that I didn't post the screenshot.
[Galaxy S 4 Active Android Development] d8389:
Nexus a bit different and one change published as java code missing too.

Download version for C3 from

http://xdaforums.com/galaxy-s4-active/development/mod-modfix-pack-5-0-1-i9295xxudob4-t3062934 and look inside ImageWallpaper$DrawableEngine.smali.

There still one difference between Samsung and Google implementation. This is call for forgetLoadedWallpaper in onDestroy method, but it seems to be newer executed.
[Galaxy S 4 Active Android Development] tofanpc:
Missed the firmware screen :)
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Remove the one showing your IMEI, that is not good to post on public forums.
[Galaxy S 4 Active Android Development] JASONRR:
Please stop posting the screenshots with the complete phone information. I only needed the baseband version and ROM version to understand the issues faced.
[Galaxy S 4 Active Android Development] JASONRR:
From the list of apps mentioned it appears to be something to do with motion & gestures. Suggest that you turn off all under motions and gestures as well as air view and check if you are still experiencing the freezes. There are further fixes to the memory leak in systemui in 5.1.1 that I have implemented (and testing now) that looks promissing, need to check into services as well.

I myself use NQ android booster with option to automatically close apps running in the background every 15 minutes with all gestures turned off and have not experienced freezes.
[Galaxy S 4 Active Android Development] tofanpc:
Indeed I have Air view and Smart stay active. I'll turn them off and see whats happening. Also I'll try that nq booster too. ;)
[Galaxy S 4 Active Android Development] JASONRR:
Nexus is stock android and yes Samsung has extras for transparent wallpaper. Took a look at systemui from your 1.8 version and noticed that you have NOT implemented the following. Not sure why

removed mreceiver in the declarations and ImageWallpaper$WallpaperObserver smali file

removed check for mreceiver value and unregistering it in onDestroy method

changed method finishGL(); to finishGL(texture, program); and call for finishGL in method drawWallpaperWithOpenGL

Did some checking with CM 5.1.1 version and found that the above have been implemented as well as a few more changes. will post the revised systemui with these changes
[Galaxy S 4 Active Android Development] d8389:
https://github.com/android/platform_frameworks_base/commit/2ed0513f20dea3ba97d09b528879301c86f31884

AND !!!

glAttachShader(program, vertexShader);

- checkGlError();

-

glAttachShader(program, fragmentShader);

- checkGlError();

-

glLinkProgram(program);

checkGlError();

+ glDeleteShader(vertexShader);

+ glDeleteShader(fragmentShader);

+

int[] status = new int[1];

glGetProgramiv(program, GL_LINK_STATUS, status, 0);

if (status[0] != GL_TRUE) {

String error = glGetProgramInfoLog(program);

Log.d(GL_LOG_TAG, "Error while linking program:\n" + error);

- glDeleteShader(vertexShader);

- glDeleteShader(fragmentShader);

--

glDeleteShader(vertexShader);

glDeleteShader(fragmentShader);

called immediately after glLinkProgram(program); in any case, but not in case of error only.
[Galaxy S 4 Active Android Development] JASONRR:
Below is the link for the update, the below has been implemented

- Memory fix in systemui for imagewallpaper as per android 5.1.1

- fixed fc in music app when smartvolume is selected

- removed spen settings in airview (this could possibly be causing the freeze)

- Added option in call settings to enable call popup

https://www.androidfilehost.com/?fid=95916177934554272
[Galaxy S 4 Active Android Development] ZeroZorro:
I just upgraded the Stock firmware to I9295XXUDOC3_I9295PHNDOC2_PHN (Dutch 5.0.1)

Question: when flashing this Super WizCyan ROM, i don't need to reflash the OB4 modems? :confused:
[Galaxy S 4 Active Android Development] tofanpc:
installed the update this morning. seems to be ok until now but.... I have some troubles with bluetooth (unfortunatelly I didn't test the bt devices before the update). Philips SB9100 it's not playing any sound over bluetooth (used to listen some youtube or zonga music and phone calls). But Jabra mini it's playing music but very bad qualitty and with a lot of glitches. Phone calls over Jabra are ok. Do I need to install some addon?
[Galaxy S 4 Active Android Development] JASONRR:
I have not tested it with other modems, but would presume the same issues with kitkat. You can backup the following 2 folders and restore/flash them after installing WizCyan if wifi does not work and check.

system/etc/wifi

system/lib/modules
[Galaxy S 4 Active Android Development] pen²:
Installed the fix 5hrs ago. Have some troubles with hanging apps, screen brightness being locked at minimum brightness on auto setting (ie dark screen). All of these effects were only temporary (ie: my brightness is ok right now, but apps are still hanging from time to time). Will try to get a logcat later
[Galaxy S 4 Active Android Development] JASONRR:
The update should have no impact on Bluetooth. If it is working with one device and not with others then I am not sure what could be the issue. I have only tested it with my Bluetooth in my car and it works fine.

Did you check if this issue was prevalent on stock ROM LP & kitkat. Also did you try by forgetting the device and repairing it.
[Galaxy S 4 Active Android Development] JASONRR:
hmm... before flashing did you change the air view to finger mode and disable both options under finger mode? if not then try turning off air view and turn it on (not sure if this will revert the settings or require a fresh install). Do you also have the same apps hanging and does this occur when you open the app or later while performing some activity.

The brightness phenomenon seems rather strange as I have not touched that part.

We can get further help from logcat in knowing the app hanging issues
[Galaxy S 4 Active Android Development] pen²:
The brightness stuff is probably unrelated to your fix, I had energy saving mode going nuts (was active although I didn't activate it). Air view was on and is disabled now. Will monitor further. I did not disable the options in air view before flashing.
[Galaxy S 4 Active Android Development] tofanpc:
Unpair and pair again was the solution. Strange that I couldn't check the media before the unpair.

Also I didn't saw the freeze in 3 hours of video and audio usage.

Don't know if it's a bug or it's intended or maybe a setting that I miss but if I open an image in portret mode and then I rotate the phone to see it in landscape, the picture it doesn't rotate. I have to go back in gallery, rotate the phone and then open pic. Screen rotation is enabled.
[Galaxy S 4 Active Android Development] JASONRR:
Glad to know that unpairing & re-pairing worked for you.

In gallery when you open a pic for viewing you need to manually rotate it. Turn your phone and tap on the image and you should see an icon to rotate the image (2nd from the right). This icon gets enabled only when you rotate the phone.
[Galaxy S 4 Active Android Development] tofanpc:
Aha... now I see. Sorry for bothering you but now I miss some edit options for pictures (like auto levels ). And just noticed that led indicator doesn't work for missedcall. :)
[Galaxy S 4 Active Android Development] JASONRR:
If you have installed photo editor from addons then you will find auto adjustment under menu-->edit-->tone.

I have not noticed the led indicator on missed call and will look into it though I have not touched that one. This should follow the same behaviour for all notifications and do not see why it should be different only for missed calls.

Edit: just checked and the led indicator does work when there is a missed call notification (unless dismissed)
[Galaxy S 4 Active Android Development] JASONRR:
The screenshot of the logcat does not give any indication of the issue faced. Pls provide a description of the issue faced with the relevant section or the entire logcat in .txt format
[Galaxy S 4 Active Android Development] oori002:
Hi everyone

Can anyone post here all the supported languages in this ROM?

Thanks :)
[Galaxy S 4 Active Android Development] tofanpc:
+/- English, Bahasa Indonesia, Bahasa Melayu, Cestina, Dansk, Deutsch, Eesti, Espanol, Deutsch, French, Hrvatski, Italiano, Latviesu, Lietuviu, Greek, Bulgarian, Russian, Serbian, Hebrew, Ukrainian, Hebrew, Arabic, Hindi, Thai, Nederlands, Norsk, Portuguese, Romana, Slovencina, Slovenscina, Suomi, Svenska, Vietnamese, Chinese

tell us what do you need and we'll look to see if it's there

bluetooth: 3 out of 5 times I have to unpair/par again for media connection. Phone over bluetooth is working fine. Never happened with stock nordic 5.0.1.

Led notification: sometimes is signaling blue for misscalls, sometimes not. When testing was working great but after a couple of hours, when I missed a real call, the led didn't blinked. Also charging is signaled red only when connected for 1 second. Then it turns off. When full the led goes green. Maybe because of the charger used? (I have an universal 1.5A)
[Galaxy S 4 Active Android Development] oori002:
Thanks tofanpc!

Was looking for hebrew:)
[Galaxy S 4 Active Android Development] tofanpc:
Hebrew not listed as "hebrew". But maybe you'll recognize in ss
[Galaxy S 4 Active Android Development] oori002:
Yes its there! 3rd from top - "עברית"

Thanks again! I appreciate it alot.

Ori
[Galaxy S 4 Active Android Development] JASONRR:
unfortunately there is nothing much in the logcat other that the fps warnings. Also I do not have issues with bluetooth for media connection as I use it everyday in my car while driving to and from office therefore cannot look into it.

The fps warnings in logcat seem to be related to the kernel as Samsung has either missed something or not removed the below lines from init.rc as both fps and max_fps does not exist neither in the below location nor in the one in the logcat.

chown radio system /sys/class/kgsl/kgsl-3d0/fps

chown radio system /sys/class/kgsl/kgsl-3d0/max_fps

I do not have much knowledge on kernels therefore will need to depend on a kernel developer to come forward to check on this issue to fix it.
[Galaxy S 4 Active Android Development] Pkt_Lnt:
I use bluetooth to a Gear 2 Neo Smart watch and and LG HBS-730 music/phone headset simultaneously with no issues.
[Galaxy S 4 Active Android Development] tofanpc:
if headset is working and I turn it off and then on again, will be ok. But if I turn off bluetooth and then turn off headset, when I turn on bluetooth the autopair will be done but only with phone mode. I can't select Media mode, only after unpair and pair again. I use jabra for phone and philips for media. And the problem appears only in wizcyan but nevermind, i'll do the pair/unpair when it's needed.

Regarding photo editor. I've installed photo editor from addons. Now I can edit photos but when I try to save the modifications the photoeditor FC. With or without sd card the error is the same. I did some test with 2 photo editors from market and it's ok. But I want the stock one :)
[Galaxy S 4 Active Android Development] sergio.custodio:
bluetooth media info with car stereo

Hi!

When I used bluetooth media with my car stereo with last stock ROM (4.4.2), it used to show in the stereo screen the artist, album and song. This worked with Spotify, Google Play and many other Apps. After flashing WizCyan (5.0.1), it only shows my phone's name. Is there any configuration in bluetooth I should do? I have installed the ROM and very few add-ons to make it lighter. Could that be the problem?

Thanks!
[Galaxy S 4 Active Android Development] JASONRR:
I am not aware of spotify or google music, but i use stock music player and i get song name & artist in myford touch car player and i myself do not have any addins other than wallpaper picker, splanner, email & photo & video editor.
[Galaxy S 4 Active Android Development] JASONRR:
I am looking into the photoeditor issue. The image gets saved despite the fc in the studio folder of the sdcard (shows up in gallery post reboot)
[Galaxy S 4 Active Android Development] tofanpc:
Mine it's not saved.

phone fc several times yesterday: when trying to make a call from contacts and when trying to call by picking a number from an online site. Mediaserv process drained my battery in 30 minutes from 90 to 30% so I made a clean install of I9295XXUDOC3 (nederland) because over the weekend I'm out of the town. So far no trouble with mediaserv, bluetooth, phone and photo editor. fps error in logcat not present.

Next week will return for testing wizcyan ;)
[Galaxy S 4 Active Android Development] d8389:
wizcyan based on older ROM. You may need wipe to make it work after C3.

You may try my RomControl http://xdaforums.com/galaxy-s4-active/development/mod-modfix-pack-5-0-1-i9295xxudob4-t3062934 . It a bit closer to stock and based on C3.
[Galaxy S 4 Active Android Development] oori002:
Hello guys.

I have a question before installing this ROM. My modem is NG1 at this time (Official 4.4.2). Do I have to flash the new modem in order to run this ROM?

Do I have to do it BEFORE flashing the ROM? Or can I do it after?

Thanks :)
[Galaxy S 4 Active Android Development] JASONRR:
Yes you will need to flash the OB4 modems. You can do it either before or after flashing the ROM
[Galaxy S 4 Active Android Development] oori002:
Ok so I installed Philz's recovery, Then modem, then factory restore/full wipe, then ROM, then update V1.1, then reboot.

Now all works to be working very well beside one thing.

The Wifi is not switching on. Every time I try to switch it on the switch get back to off.

Any help?? :)
[Galaxy S 4 Active Android Development] JASONRR:
Can you check the baseband version in about phone from settings if it does not show OB4 then the modems did not flash properly. Always power off completely and boot manually with vol down + power key.
[Galaxy S 4 Active Android Development] oori002:
The baseband is OB4

Another thing. The 4G LTE is not working either :( Only 3G

Edit: The 4G LTE is Working, My bad.
[Galaxy S 4 Active Android Development] JASONRR:
Hmm.. quite strange. Did you flash both modem.bin and NON-HOLOS.bin. if you did and baseband is showing OB4 then i cannot think of anything else. You could try flashing again
[Galaxy S 4 Active Android Development] oori002:
I flashed only modem.bin

Didn't knew I should flash them both :angel:

So I just need to flash the NON-HOLOS.bin file like I flashed the modem.bin? (Odin->PHONE)

Thank you for your time and care ! :)
[Galaxy S 4 Active Android Development] JASONRR:
Yes, the same way. Recommend to flash both. Instructions available in the root of the modems folder
[Galaxy S 4 Active Android Development] oori002:
Ok now everything works great! thanks :)
[Galaxy S 4 Active Android Development] JASONRR:
Did you flash the entire firmware? Clean flashed a debloated version of the OC3 Rom on 4.4.2 bootloader and the fps warnings were still there. Also i am using the ROM myself and not facing any fc's other than the fps warnings in logcat.

These are warnings and not errors due to missing values in the kernel and present in OC3 as well (at least with 4.4.2 bootloader not sure if there is any relation)

Suggest to do a clean install and install all apps from playstore and only restore data for apps where it is necessary. You can use super backup to restore contacts, call logs & sms.

Over the coming weekend will flash the entire OC3 firmware and check.
[Galaxy S 4 Active Android Development] d8389:
FPS warnings may be safely ignored. They coming from stock kernel bug, but they harmless.

SMD errors causing some battery drain, but, fortunately, it easy to fix.
[Galaxy S 4 Active Android Development] JASONRR:
Have been doing some testing lately and currently running the modded OC3 kernel (with the modems) with SMD-daemon and ssr_diag disabled in init.rc and init.qcom.rc and the system is running fine for almost a day now without any issues. Yes smdexe is know to cause battery drain and has been recommended to be renamed to smdexe.bak in some old S3 kernel thread. SMD seems to stand for storage mount device (not sure though). Could not see both services called anywhere in android.policy, framework, services, sec_edm, systemui and secsettings and therefore felt safe to disable and the errors related to SMD and ssr_diag are gone from logcat also battery life seems to be better. Need to do some more testing and check further

Edit: Found the below line in build.prop and I have a feeling that this pertains to ssr_diag

ro.qc.sdk.audio.ssr=false
[Galaxy S 4 Active Android Development] pen²:
Today I had the very strange issue, that my alarm was vibration only although it was set to "walk in the forest" which could be played when configuring. Tried to change some settings but couldn't get the alarm to play that sound, it was always just vibration only. (phone was in silent mode at that time which has not been a problem before)