yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Original Android Development] cmd512:
One tiny bug I've found on alpha4: The camera takes an epic amount of time to load after the phone's been running for a bit and apps have been used/run (almost a minute one time tonight, and after clicking the shoot button, it took another 30 seconds to start shooting the 8 pics in "best picture" mode).

Feels like the phone is doing quite a bit of memory shuffling to load and use the camera, to the point where something isn't right. As a point of comparison, v3.4 kernel + old camera firmware fix didn't even take this long.

(This was with swap cache at 0 btw.)

EDIT: Setting the internal storage read ahead to default 256 and enabling swap cache seems to have helped. Will test further and advise.
[Galaxy S 4 i9500 Original Android Development] sorg:
I doubt TV tuner drivers has any relation to IR remote software.
[Galaxy S 4 i9500 Original Android Development] mw86:
NO, thats the wrong one, that on demand boost mode.

#THERMAL Control

#**********

#

#Thermal Boost Mode: returns Perseus kernel throttle to Samsungs boosted stock throttle values of 100c cpu throttle start vs chips more stock 90c throttle start which is Perseus Kernel default when Boost Mode is not enabled with a value of 1 Default: 0

#

echo "1" > "/sys/class/thermal/thermal_zone0/boost_mode"

#

---------- Post added at 11:47 AM ---------- Previous post was at 11:45 AM ----------

See my post quote above
[Galaxy S 4 i9500 Original Android Development] PROTOCHIP:
Dear mw86,

Thanks alot... now it seems that cpu throttles at 100c... Still observing...

Kind regards...

Sent from my iAmiga...
[Galaxy S 4 i9500 Original Android Development] gio_b:
update to 4 but i see still 3.4.5...???

tks gio
[Galaxy S 4 i9500 Original Android Development] azdine57:
Good Job!

62J51048KT2558304

Sent from my Octa using New Tapatalk 4
[Galaxy S 4 i9500 Original Android Development] runedrune:
Read past that. It should say alpha4.
[Galaxy S 4 i9500 Original Android Development] GSeeker:
Yes, it takes about 25 seconds to load the camera app:crying:

I'm back to stock now, i use the camera quite often.
[Galaxy S 4 i9500 Original Android Development] xhaniGS2:
Flashed 4.0 alpha, everything is working perfect, camera takes less than 1 sec to open :),

Thank you AndreiLux
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Same here, also gpu overclock is working perfectly. (640 mhz OC). I just cant make CPU OC working, its not stable.
[Galaxy S 4 i9500 Original Android Development] gio_b:
???sorry but i don't understand ??? :(

P.S: all the audio and video mod ,are automatically install or we have a metod to regulated ? in tweeks for example the rgb is to manual set up? for example :New tuning for the speaker: how i can i chose the 2s curve ?

tks gio.
[Galaxy S 4 i9500 Original Android Development] eric-filth:
Andreilux @ beautiful work with alpha4

GPU + big/little undervolted here and my phone never heats again. My 3DMark jumped to 11040 points

One question, what minimum voltage we can set to CPU and GPU?

I look into your sources and found this

+ voltage = G3D_MAX_VOLT;

+

+ if (voltage < 600000)

+ voltage = 600000;

+

So is 600mv at GPU?
[Galaxy S 4 i9500 Original Android Development] mashaal95:
Same!

Same here with my s4! After installing alpha 4, my phone has stopped heating :)
[Galaxy S 4 i9500 Original Android Development] rexisrex:
No heating...

+1

Is there any specific setting for big little from streaks. Kindly let me know if there is, with guideline setting values.. Thanks
[Galaxy S 4 i9500 Original Android Development] dazkyl:
What changes does this kernel version brings to the BIG. little cpu's? I noticed a great ammount of reduced heating. Is this due to undervolting?
[Galaxy S 4 i9500 Original Android Development] matheus_sc:
i this is underclock of gpu too
[Galaxy S 4 i9500 Original Android Development] mw86:
Andrei I read latest update in stock firmware uses a new 76c throttle. Will this be implemented or optional in future build? The lower temp seems more reasonable for a mobile phone. In no way am I asking for a timeline, just inquiring on this new setup in latest firmware. What were your thoughts and is this question better not asked, better asked in general discussion, better here or on github? I'd rather not mistake the proper method of inquiry.

It is amazing how much trickery Samsung has done regarding bench on gpu and cpu. It's not right to be applying higher settings in a bench and every day apps run another. Thank you for noting this and providing links to the infos in your github change log.

Edit: I figured out how to set throttle, I've had the chance now to see what a low throttle can do. Seems it's give or take on this concept going from throttle easy but under light load keeps higher OC mhz stable but raising beyond stock gives opportunity to not throttle as much on mhz which have proven stable. So i see there is a balance to be had and depends on users needs. I tried 76c little lower and even above 100c. I wonder why Samsung set 76c though, were there reports of major overheat on stock?
[Galaxy S 4 i9500 Original Android Development] dragon135:
About cpu min freq. Does it save more battery if I set it to lowest freq (100Mhz)?

If yes, why the default is 250Mhz? What is the drawback.

Sent from my GT-I9500
[Galaxy S 4 i9500 Original Android Development] Alberto96:
I think it will just cause some lag when you turn screen on.
[Galaxy S 4 i9500 Original Android Development] Yuna:
Is there a way i can get the stats about % of time my phone spent with A15 cores and A7 enabled?

Or better get this stats:

Total time since boot: hh mm

CPU Active time: hh mm

A15 Active: hh mm

A7 Active: hh mm

A15/A7 relative time: dd%
[Galaxy S 4 i9500 Original Android Development] bala_gamer:
Use cpu spy or some similar app, anything below 600mhz is a7 and anything above 600mhz is a15
[Galaxy S 4 i9500 Original Android Development] astoncheah:
Ya, been using ver 4 for one day, the camera sometimes takes more than 10sec to open and the burst shot having delay.

Reverted to ver 3.4,the camera works just fine.

I'm not interested in uv and oc.so will stick to 3.4 for the time being.
[Galaxy S 4 i9500 Original Android Development] cmd512:
Thanks for the confirmations, I am still getting unacceptably long load times on the camera on alpha4, will open it up as an issue on github.

EDIT: Andrei opened up an issue on github regarding the zCache causing issues. Given the camera loads a few hundred MB's into memory, the swap file issues could be the culprit for the extremely long camera load times as well.
[Galaxy S 4 i9500 Original Android Development] nealkoy:
So is alpha5 only for beta testers?
[Galaxy S 4 i9500 Original Android Development] cmd512:
Typo, there is no alpha5, I've revised my original post.
[Galaxy S 4 i9500 Original Android Development] zoule HCo:
I've tried to figure out the delay when open the camera..

Changing the vnswap disk size on stweak will solved the delay when opening the camera.

default value on perseus kernel are 0MB..
[Galaxy S 4 i9500 Original Android Development] cmd512:
Try it after a longer uptime, the 30+ second lag will return.
[Galaxy S 4 i9500 Original Android Development] zoule HCo:
Try it over night.. never have 30+ lag.. the longest I have about 3 seconds. Phone stay idle about 9 hours.. not so sure what it cause.. but on my device it help me to reduce the waiting time..
[Galaxy S 4 i9500 Original Android Development] cmd512:
Overnight is pointless. What I meant by "longer uptime" is after a day or two of extensive use of the device. You're not using the device "overnight."

I highly suspect these lags are caused by the tweaked LMK and / or swap implementation as it gets worse and worse over time / after extensive use. The camera loads quite a big chunk into memory, and possibly even more when attempting burst modes (burst mode, best picture, etc).

Yes, v3.4 got laggy over time as well, but not these 30+ second delays.
[Galaxy S 4 i9500 Original Android Development] Yuna:
Okay, i got 10+ s delay to open camera.

but picture taken fast.

nothing tweaked about zram, swap etc. no overclocking.

overight lag etc, on old camera firmware, my phone would reboot.
[Galaxy S 4 i9500 Original Android Development] cmd512:
Use your phone for a day or two and then report back.

Another note: I'm using the latest stock ROM, changelist 933xxx. Not sure if the camera or camera firmware changed, but another data point.
[Galaxy S 4 i9500 Original Android Development] Yuna:
well...

root@android:/ # uptime

09:27:23 up 23:45, load average: 1.85, 1.47, 1.48

phone uptime is 24h
[Galaxy S 4 i9500 Original Android Development] cmd512:
Look, my camera opens up nice and fast upon a fresh reboot. However, the fact that I've been using nothing but stock ROMs rooted with Perseus kernel, SOMETHING is up when this only starts happening after flashing from v3.4 to alpha4.

I've been busy with work recently, so I haven't had a chance to grab a log for Andrei. It is very much reproduce-able after a good amount of heavy usage, so I'll grab it at some later time. Until then, y'all keep chiming in with how the camera works great.
[Galaxy S 4 i9500 Original Android Development] mw86:
I had some pretty varied settings and returned closer to stock and my lag disappeared. I think the stock setting of 0 means no swap set up but perhaps due to the other default settings it has some of the ram compressed when supposed to be disable. Using this I dont have the lag.

Or if you prefer not to use it what if you set each one to 0? Which was not kernel default?

I'd like to see it resolved for you.

#ill leave my camera in recents and see if later or subsequent opening i get lag or not, i tried wiping from recents and opening many times and opens fast. So ill try the first scenario.
[Galaxy S 4 i9500 Original Android Development] cmd512:
Good point, default disk size was 0, but memory pool and swappiness were not, let me try setting those to 0 as well.

Those settings above look kinda crazy, 200% swappiness would mean it's swapping all the time!
[Galaxy S 4 i9500 Original Android Development] maranello69:
i too have some issues with the camera loading time, the app itself opens right away, but the image takes from 5-10 seconds to appear
[Galaxy S 4 i9500 Original Android Development] cmd512:
Yep, that 5-10 seconds gets longer and longer after some heavy usage.
[Galaxy S 4 i9500 Original Android Development] mw86:
What storage do you guys have selected for camera storage? Internal or external sd? I've got mine on whichever it comes set to. I have an external sd but I think its set to internal default and on mine. Does that differ from yours?
[Galaxy S 4 i9500 Original Android Development] cmd512:
External, but so was v3.4.
[Galaxy S 4 i9500 Original Android Development] mw86:
Ive been opening all day and it finally took about 5secs. Showed black then finally loaded where as it had been faster all day. I changed night auto detect off and seems to be loading faster now. Ill keep an eye on it and continue to test it.

Edit: the lag came back. Could this just be related to the camera hardware itself and the process which starts the hardware? The delay seems to be in the camera device itself as the camera software aspect loads right up.

I noticed the lag is not back subsequent openings right after the lag happened. Just seems so much like its the camera was in a very low power state and delay being the camera device itself not being ready for the interface upon launch.
[Galaxy S 4 i9500 Original Android Development] cmd512:
5 seconds or so is what v3.4 was, I'm ok with that. At some points, it lags to where it shows black for over 30 seconds. This has only happened a few times, once with it so long everything froze and I had to do a power cycle with the power button.
[Galaxy S 4 i9500 Original Android Development] Yuna:
I prefer lag, instead of reboot :)

But, yes. Today got lag, had to reboot
[Galaxy S 4 i9500 Original Android Development] astoncheah:
tried 3.4 for one day, barely lag. but it rebooted when it had lag.

then switched back to 4v, yes it has lag (more than 10 seconds) most of the times, but no reboot so far.

so yes, prefer lag than reboot.
[Galaxy S 4 i9500 Original Android Development] vin_eme:
Flushed davik cache...and seem to open fast.. 2sec or max 3 sec

Edit: Seems like after some time of use, the lag increases. Now its 5 secs..
[Galaxy S 4 i9500 Original Android Development] cmd512:
If you knew what the purpose of the Dalvik cache was, you would know it has absolutely nothing to do with this issue.
[Galaxy S 4 i9500 Original Android Development] gdonanthony:
if possible try full wipe and dont install crossbreeder.. im using omega v9 + perseus 4 no problem even longer use
[Galaxy S 4 i9500 Original Android Development] venorme:
For me Omega 9 + crossbreeder = Perseus 4 instalation error

Cant get it working - will try removing crossbreeder and flashing again in the evening
[Galaxy S 4 i9500 Original Android Development] cmd512:
Not doing a full wipe, completely unnecessary given I run a pretty clean system. Good call on the CrossBreeder though, will give that a try... although, I used CrossBreeder on stock kernel and v3.4 and did not see this issue, definitely a variable to rule out.

Uninstalling CrossBreeder now and will test for a few days, cheers.
[Galaxy S 4 i9500 Original Android Development] zoule HCo:
I'm running crossbreeder with perseus alpha 4.. so far its done very nice job. will monitor the process.. will give report tomorrow 2 days usage..
[Galaxy S 4 i9500 Original Android Development] mihir880:
After flashing

My sound in the speaker mode while calling somoneis really low then before

Where as other sounds in the speaker like music and other media are just fine

Thx
[Galaxy S 4 i9500 Original Android Development] Fade777:
I gotta say...

I had nothing but problems with my phone. The Stuttering and lag was driving me nutz..

Don't matter what ROM or kernal I was running..

Ive done a full wipe.. Including formating my internal SD and my external 64gb SD..

I've only put back what I needed (180 apps) and installed each app 1 by 1 restoring its data from titanium only when I needed it..

BAM! Problem fixed.. The thing fly's now.. Couldn't be happier..

Running wannum, Perseus 4 and crossbreed.. :thumbup:

Start camera.. 1sec delay never any lag.

And I HEAVILY multitask.. Never crashed never lag... Running magical..
[Galaxy S 4 i9500 Original Android Development] vin_eme:
well, the reason i did that was to check if the camera app has cached up /odexed the previous parameters&settings. After the new camera f/w was upgraded, there might have been some issue with these cached up settings/parameters with the new camera f/w.

But doesnt seems so ................. still on 5 sec camera lag...
[Galaxy S 4 i9500 Original Android Development] HassanM:
I'm currently on Omega 8/Perseus 3.4/Crossbreeder ....

I've read people having problems with Perseus 4 specially with their Camera/Sound/lag....

Can anyone kindly shed some light on it...

I've downloaded v4 but still waiting for some opinions... Should I flash v4 w/Crossbreeder or should I uninstall it and reinstall Crossbreeder after flashing v4????

Thanks in advance...
[Galaxy S 4 i9500 Original Android Development] gio_b:
audio band

audio band :stweaks

i install ver 4 perseus ,but in auidio,STweaks i have :

band 1=96Hz

band 2=273/551 Hz

band 3=784/15600 Hz

band 4=2206/4409 Hz

band 5=6340 cutoff-frequency

i'm just a litle bit surprise;Perseus limits are:

New frequencies are:

Band 1: 160Hz cutoff, +12dB gain

Band 2: 500Hz center, 1050Hz bandwidth, -9dB gain

Band 3: 2800Hz center, 2200Hz bandwidth, 4dB gain

Band 4: 7600Hz center, 4500Hz bandwidth, -10dB gain

Band 5: 20000Hz cutoff, 0 dB gain

why this difference ,so i'm not able to se t the eq.

tks gio
[Galaxy S 4 i9500 Original Android Development] AndreiLux:
One the first one, as stated in STweaks, is the headphone equalizer. The second one, as stated in the changelog, is for the main speaker. Two different things.

Does anybody know what is the current newest official ROM/Update roaming around with the highest subversion tag (What you people call a changelist...). MF9 afaik?
[Galaxy S 4 i9500 Original Android Development] gio_b:
headphone equalizer must be set up ?

tks gio
[Galaxy S 4 i9500 Original Android Development] AndreiLux:
What? Yes? I can't provide a preset for the thousands of different headphones everybody has, unlike the unique speaker on every phone.
[Galaxy S 4 i9500 Original Android Development] gio_b:
of course but in not a ChangeLog ,i know. i can on my taste.

P.S: any chance to avoid 48Kz resampling ? we want to stay 44,1 Kz or integer multiple of course...

band 5 is correct =6340 Kz ??? cut off ???

tks gio
[Galaxy S 4 i9500 Original Android Development] Xphoid:
AFAIK MF8 with Changelist: 933955 is the latest...
[Galaxy S 4 i9500 Original Android Development] ivanchin99:
I9500XWUBMF8: changelist=933955
[Galaxy S 4 i9500 Original Android Development] razer1224:
sorry my bad.

7 DACs, 113dB SNR headphone playback (48kHz)
[Galaxy S 4 i9500 Original Android Development] olanzky:
thanks for this one, up for reserved:victory:
[Galaxy S 4 i9500 Original Android Development] hsupi:
camera is broken

my rom is i9500ZSUADMK (BRI) , if i flashed another kernel except original official kernel, the camera will be crashed,

anybody know why?

any ideal for this issue?

thanks all!
[Galaxy S 4 i9500 Original Android Development] matheus_sc:
its a bug of sd card, need be class 6 ou more
[Galaxy S 4 i9500 Original Android Development] rexisrex:
its not kernal but smart stay bug

My 2cents...

I had the same issue. Try doing this:

1. Restart phone with you looking at the phone. On lockscreen screen becomes unresponsive, screen doesnt turn off etc

2. Put your phone on flat surface and restart phone without you looking at screen. As soon as lockscreen appears phone screen turns off within 2 seconds. Then this bug isnt there. So IMHO this is smart stay bug.

May be andrei or wanam can look into this in future.:fingers-crossed:

---------- Post added at 06:09 AM ---------- Previous post was at 06:05 AM ----------

+1

I have a 16gig & 64 gig sd card. Both are class 10 and I am not facing any issues so far. You need a class 10 card anyway for 1080p recording...:cool:
[Galaxy S 4 i9500 Original Android Development] cmd512:
You must have missed the part where I mention this is only happening on Perseus. I'm using wanam's latest right now, and rebooted it several times in a row... no issue even with Smart Stay. But, I get the non-responsive lockscreen everytime with Perseus.

AGAIN, not a huge deal as the bug is gone after just one screen off cycle.
[Galaxy S 4 i9500 Original Android Development] rexisrex:
try disabling smart stay for a moment

I missed to add it that I faced this issue right from stock-adam1.0-perseus.

. Dude can you try to disable smart stay for a moment and try replicating this. Then it will confirm it is some loading freeze of smart stay.

I know this is very minor bug and a on offcycle solves it. But annoying a bit.
[Galaxy S 4 i9500 Original Android Development] avetny:
+1.

Probably this is why "Removed unused touchscreen firmwares and some other tidbits." :rolleyes:
[Galaxy S 4 i9500 Original Android Development] cmd512:
Will have to do that tomorrow. For now, just stared at the screen several reboots in a row with AdamKernel 1.1 with Smart Stay enabled, no non-responsive touchscreen.
[Galaxy S 4 i9500 Original Android Development] dajumper:
Hi my friend can you make also for i 9505 please?
[Galaxy S 4 i9500 Original Android Development] rexisrex:
I got it wrong then

Looks like I got it wrong. It must be what avetny has pointed in the previous post. Andrei has removed unused touchscreen firmware wherras wanam hasnt. That could possibly be it...
[Galaxy S 4 i9500 Original Android Development] hsupi:
For the sd csrd that I used class 10 . And

even i take off the external SD card,Just use internal SD card the camera also crashed too. So I think its not a SD card issue.
[Galaxy S 4 i9500 Original Android Development] jemael972:
For mr since i had installed the perseus kernel...i have no camera problem...with stock and adam ..i have
[Galaxy S 4 i9500 Original Android Development] AndreiLux:
Anybody having that odd screen problem just post the first few seconds of a kernel log after boot. (From 0 in the timelog to 5)

Edit: Here's just a test kernel for this issue so I can eliminate some might-be causes for the above.
[Galaxy S 4 i9500 Original Android Development] alioh7:
just flashed your kernel via odin, got root working and recovery and all wifi works and so does camera but lost sound, no sound from calls or even from video and audio files what gives?

EDIT: re-flashed adam kernel 1.1 fixed sound.
[Galaxy S 4 i9500 Original Android Development] stanley08:
Perseus Kernel is AWESOME! :) Good Battery, Good performance too!! :)
[Galaxy S 4 i9500 Original Android Development] DocRambone:
The testkernel did not solve the screen issue. (have to toogle screen on/off)
[Galaxy S 4 i9500 Original Android Development] AndreiLux:
Good, just in case I was wrong, but I was correct; It has nothing to do with the touchscreen. I really can't reproduce the issue and it might be a toolchain differentiation or something. If it happens only during the first cycle after reboot it's also a non-issue.

You're getting severely annoying, if you don't like the kernel, don't use it. I have no use for useless theories and snarky comments.

The touchscreen firmware are from a prototype build of the phone where they used an Atmel controller over the supposed Synaptics one in the final version, it was deadweight for the kernel size and useless. It also carries a payload of 6 different firmwares for the Synaptics controller while only one is used in the production phone.
[Galaxy S 4 i9500 Original Android Development] DocRambone:
I had the same "no sound" bug, a reboot solved the issue. Any correlation to the screen bug?
[Galaxy S 4 i9500 Original Android Development] Svid:
Well i had issues that i flashed the kernel via odin and didn't got any root privilages.

No superSU, nothing :(
[Galaxy S 4 i9500 Original Android Development] HassanM:
I flashed Perseus 4 on my Omega 8 ... Also running Cross breeder...

Everything seems to be working fine including the camera/sounds/no apparent lag...

But there's something really strange going on... when I use my headphones to make a call, there's a very loud and a strong beep in them... I can't hear anything except the beep... Whereas when I'm listening to music, it sounds perfect.... I must mention here that I've made some changes in the Audio section of STweaks... Since I prefer load music, the settings r set higher...

I have attached the settings....

Can anyone plz help me on it in case I've set some wrong settings....

Thanks in advance
[Galaxy S 4 i9500 Original Android Development] cmd512:
Update: Ran only alpha4 on top of the latest stock ROM (933xxx changelist referenced above) and nothing else, swap settings at 200/50/60. The phone was at about 15 hours of uptime of heavy usage from yesterday before heading to bed / plugging in the charger. This morning (about 6 hours later), the phone started having hard freezes using any app (Play Store while updating WhatsApp, subsequent WhatsApp usage, etc)... I'm taking total system lockup / non responsive, only to free up 30+ seconds later. CrossBreeder has nothing to do with these issues on alpha4, highly suspect the swap implementation, knocking it down to all 0's and testing further.