yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] zardak:
As I said, it was stuck at CM Boot animation for some minutes (it usually takes seconds to boot) so the only last_kmsg I took is the one coming from my force reboot. But yes.. when was locked on CM animation it was a bit hot like was doing something.

Update:

Another reboot (last_kmsg[1].txt)
[Galaxy S 4 i9506 Android Development] superpulosu:
Everything its working on 15 build, no reboots. [MENTION=5291759]solk2[/MENTION] what its the changelog for 17 build?
[Galaxy S 4 i9506 Android Development] solk2:
It looks something putting device into unrecoverable state. Most likely some wrong clock settings. So here is experimental build with tunned clocks. But I am not pushing anything to cm official builds. Want to fix this reboots first. Last commit was to fix building.
[Galaxy S 4 i9506 Android Development] zardak:
Reboot on this build too, device was charging and reboot happened a bit later I removed the cable while I was using it (scrolling webpage)
[Galaxy S 4 i9506 Android Development] solk2:
OK. Another try.
[Galaxy S 4 i9506 Android Development] superpulosu:
No reboots for me, and I use everything gps, bluetooth, camera... Seems like everything ok.
[Galaxy S 4 i9506 Android Development] zardak:
Reboot while charging + listening to music through speaker + scrolling a panorama photo
[Galaxy S 4 i9506 Android Development] DualJoe:
What about bringing the kernel to mainline? Couldn't there be a chance to override the bug? I'm not sure how ppl do that though. If they apply patches one by one (cherry picked?) or if there's a faster way.
[Galaxy S 4 i9506 Android Development] solk2:
Its already pretty up to date with caf.
[Galaxy S 4 i9506 Android Development] kornelius1982:
Anyone can check if Viber is working properly on latest build?
[Galaxy S 4 i9506 Android Development] ms061780:
no mobile data 2

Since I had no chance making my mobile data working, I tried CM12 from buda1996, same (no mobile data),

After I tried CM12 from arter97.

This one has a specific fix patch for i9506.

So I installed rom, kernel, gapps and the fix and everything works fine.

I have no idea what arter97's fix does, but may be it makes sense having a look at it?!?

Could be it (or a modified version of it) is helpful for this rom too?!?
[Galaxy S 4 i9506 Android Development] boart:
Incredible, but since today i have also problems with the mobile data :( Hope there will be a patch soon.
[Galaxy S 4 i9506 Android Development] likesatan:
Try arter97's version of CM12 dude working like a charm
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
Today I managed to get mobile data to work, but after a reboot it didn't seemed to work anymore.
[Galaxy S 4 i9506 Android Development] leo_bsb:
I flashed arter's CM12 over solks' version and everything is working properly.
[Galaxy S 4 i9506 Android Development] solk2:
New build available. Hope mobile data connections is fixed there.
[Galaxy S 4 i9506 Android Development] likesatan:
Thank you for your work ! Testing asap ans will report !

Regards,

Likesatan
[Galaxy S 4 i9506 Android Development] TonskuDaigle:
OTA updates included?
[Galaxy S 4 i9506 Android Development] smeroni68:
Sorry for this question: are you still maintainer of Official CM releases?

Just to know, because our device is not listed on Jenkins build server.

Thanks for your reply.

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9506 Android Development] solk2:
OTA updates will be rolling out when I add ks01lte to buildlist. And yes I am still maintaining Official CM releases.
[Galaxy S 4 i9506 Android Development] Floyd_MK:
Can't find SIM card

Ok, so everything was going really nice with the new build, internet connection was fixed, etc. Then I realized I cannot call anyone or accept calls. So, I've restarted and suddenly it wouldn't find my SIM. Tried flashing again with no result. I took a radio logcat, hope it helps.

https://drive.google.com/file/d/0BxnPlxDsx1TXV1FacHJSVWIwVkU/view?usp=sharing

Note: I cannot yet upload files on XDA so I've put link on my Drive, sorry it's plain text links are not allowed for me as well, ugh.
[Galaxy S 4 i9506 Android Development] boart:
Sim not recognized :(
[Galaxy S 4 i9506 Android Development] solk2:
Uploaded new build 20150113.

BTW to fix swipe you need latest PA gapps. First install gapps and then CM. Coz this gapps deletes libjni_latinime.so and installs libjni_latinimegoogle.so. But keyboard won't work at all without first lib and swipe don't work without second.
[Galaxy S 4 i9506 Android Development] lythro:
camera

Did this fix the camera issue? With the new build?
[Galaxy S 4 i9506 Android Development] Floyd_MK:
Problem remains

Same problem with SIM.

https://drive.google.com/file/d/0BxnPlxDsx1TXXzNxRXZGMXV6RGM/view?usp=sharing <= logcat here
[Galaxy S 4 i9506 Android Development] boart:
hold your breath, cross your fingers... solk is working on it :)

big steps forward... cellular is connecting... but there are still a few problems with wlan/cellular... but promising.
[Galaxy S 4 i9506 Android Development] matapod:
Fianlly!

20150116 version recognizes my SIM card!!!!

---------- Post added at 03:12 AM ---------- Previous post was at 02:28 AM ----------

But I can't make a phone call..
[Galaxy S 4 i9506 Android Development] finnince:
Running cm-12-20150116-UNOFFICIAL-ks01lte now on SHV-E330S. Thanks for your work! SIM card is recognized, mobile data is finally working, but I cannot make a phone call. Once I tap the dial button, SIM card will be not recognized for a few seconds and then it tells me "To place a call, first turn off Airplane mode". This is a vital problem...

And other issues:

I cannot change input method (settings choose keyboards fc)

Menu&back key will be working (giving vibration feedback) if I press the power button to lock the phone on the lock screen, which can be solved by turned Ambient Display off.

Here is logcat & kmsg.
[Galaxy S 4 i9506 Android Development] pestbeule:
I only get the version from 3rd of january up and running. With every later release I get stuck on the Galaxy Logo. Isthere anythin different with the newer roms? Frist tried it with a dirty flash but even a full wipe does not help anymore. Any suggestion? Thanks in advance.
[Galaxy S 4 i9506 Android Development] solk2:
here another test build
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
[MENTION=5291759]solk2[/MENTION] since 0918 build when I reboot my phone I have to manually clear cache and dalvik if not, it won't boot. Then I have to wait till all apps are optimized what is quite annoying.

Enviado desde mi GT-I9506 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] superpulosu:
I dont have this problem... I am using TWRP 2.8.7.0 and 0918 build.
[Galaxy S 4 i9506 Android Development] zardak:
Again, while scrolling.
[Galaxy S 4 i9506 Android Development] solk2:
Maybe this is problem with touch driver. Another test build
[Galaxy S 4 i9506 Android Development] baciany:
In this page:

http://download.cyanogenmod.org/?device=ks01lte

It is Cm 12.1 fior I9506 yes? I just need to install as normal zip or what?

Or this is just for E330s/k verssion and for i9506 only from thisthread>

Is this rom support Auto brightness and other sensors?
[Galaxy S 4 i9506 Android Development] boart:
I didnt have time to check this thread last days :( But i guess you shouldnt download the rom from the original cyanogenmod-page right now. Solk tries to find a bug yet. If you want to check the newest build, download the the rom linked in solks post.

Correct me if i'm wrong :)
[Galaxy S 4 i9506 Android Development] zardak:
The link is ok.

Every sensors is working.

You can install it but you get some reboots randomly.

solk2 is trying to find what is the cause so we are testing the builds he posts in this thread (not on the CM link).
[Galaxy S 4 i9506 Android Development] baciany:
ok. I installed CM from this thread and it is working verry nice. Nice ram Usage, nice animations, not even small lags ;:] And the best is size of the package ~250Mb + 450Mb Gapps :] Samsung Firmware is about 1 Gig :]
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
[MENTION=5291759]solk2[/MENTION] , I managed to get a logcat while booting. As I said before my phone rarely boots. Wiping cache might help in some cases. Here's what I constantly get:
[Galaxy S 4 i9506 Android Development] superpulosu:
One reboot when scroling a web page, on 21 build.
[Galaxy S 4 i9506 Android Development] zardak:
builds on CM site are not patched, please use latest build on this thread to test: Download

This is running >24h without issues.
[Galaxy S 4 i9506 Android Development] solk2:
Looks like your recovery messes up selinux contexts. Use CM or known to work TWRP.
[Galaxy S 4 i9506 Android Development] solk2:
Oh really? I have a feeling that Samsung publishes broken kernels on purpose.
[Galaxy S 4 i9506 Android Development] zardak:
Here it comes, the twist of fate...

So.. I was using the camera a bit to make some light from the flash...

I went to charge the device. I started to scroll some photos from the gallery app and poof.
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
Will try and tell you. Actually I have CWM installed.
[Galaxy S 4 i9506 Android Development] zardak:
Scrolling on github wikis using chrome is weird when you scroll

slowly

up/down and left/right. In this situation there is a high chance to get a reboot while reading
[Galaxy S 4 i9506 Android Development] solk2:
OK. Then its not touch. One more try
[Galaxy S 4 i9506 Android Development] Justie:
Please tell me which build is the most stable for everyday using? And please give me a link.

So many threads with cyanogen roms,I dont understand what rom is ok.
[Galaxy S 4 i9506 Android Development] solk2:
You can use link in previous post. But there can be random reboots. Some has it once per day some once per week. But maybe in that's build its fixed. Maybe not.
[Galaxy S 4 i9506 Android Development] zardak:
Nothing, still rebooting
[Galaxy S 4 i9506 Android Development] superpulosu:
I am on 22 build and everything ok. No reboots for me.
[Galaxy S 4 i9506 Android Development] zardak:
Slow scrolling on webpages (using chrome) will cause many reboots. I had 3 in an hour today.
[Galaxy S 4 i9506 Android Development] superpulosu:
I have one reboot, just now, scrolling down in holo launcher. [emoji33]
[Galaxy S 4 i9506 Android Development] solk2:
OK. one more test
[Galaxy S 4 i9506 Android Development] DualJoe:
Browsers use extensive disk cache. Maybe crashes have something to do with I/O subsystem. Or it's just coincidence as users use browsers most on their devices.
[Galaxy S 4 i9506 Android Development] zardak:
Nope, bad one
[Galaxy S 4 i9506 Android Development] superpulosu:
System UI crashing on this build.
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
Installing TWRP did the trick. I had to uninstall SuperSU tho. Seems it messes something up. Btw, could you tell me if the app is compatible with this rom or am I the only one having this problem?
[Galaxy S 4 i9506 Android Development] zardak:
Yes, don't use SuperSU for now. Suddently became incompatible for some reasons.
[Galaxy S 4 i9506 Android Development] solk2:
Why do you need SuperSU when you have root built in CM. Under developer options.
[Galaxy S 4 i9506 Android Development] solk2:
Next test build
[Galaxy S 4 i9506 Android Development] zardak:
Flashed.

What about non linear brightness? Does anyone have this issue? When you increase brightness with the slider you get some strange colors and looks like brightness is going up and down while increasing it. (to reproduce this try increasing brightness slowly)
[Galaxy S 4 i9506 Android Development] solk2:
You need to turn off auto brightness first to get it not corrected. Then you will get behaviour like you want.
[Galaxy S 4 i9506 Android Development] zardak:
Yeah, i meant without auto brightness of course.

It looks like are the colors to change to another tint. (Live display is off too)

You have to try it to get what I mean...

When you increase/decrease brightness constantly you can see that the screen becomes warmer and cooler randomly.
[Galaxy S 4 i9506 Android Development] solk2:
Yeah. I know what you mean. Problem that amoled panels not so simple in terms of brightness as ordinary LCD. The rgb balance should be recalculated here. So there is color correction in place made by Samsung and that's exactly same as in their osrc drop. I am not planning to change it. If someone wants to make smoother and nice looking please do so.
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
Simply 'cause I'm used to it, but I don't mind using CM root manager.
[Galaxy S 4 i9506 Android Development] zardak:
I see...

Anyway, your 25 sep build still rebooting...
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
[MENTION=5291759]solk2[/MENTION] when I scan a cardboard QR code in cardboard app it won't configure the viewer correctly. I have tried it in stock rom and works.

Enviado desde mi GT-I9506 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] solk2:
I am not going to do anything about it. Coz this either app or viewer problem as there is dpi/resolution/screen dimensions set properly in the ROM. Also I saw comments to this app regarding same problem on some chinese phones. The only thing I can suggest you to play around with DPI settings in display and choose the one works.
[Galaxy S 4 i9506 Android Development] solk2:
Try next one
[Galaxy S 4 i9506 Android Development] MildlyRegularPerson:
I don't think it's DPI fault 'cause when I manually configure the viewer, it works. I could simply do a backup of Cardboard directory and paste it on the sd card if I needed.

Thanks for the information anyway.

Enviado desde mi GT-I9506 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] superpulosu:
Still rebooting, when scrolling in chrome.
[Galaxy S 4 i9506 Android Development] zardak:
Reboots to me too.

I also got a glitched photo some seconds before the device rebooted.
[Galaxy S 4 i9506 Android Development] solk2:
Another one
[Galaxy S 4 i9506 Android Development] zardak:
Did you touch some battery stuff? Because i got my battery stuck at 13% for long time and when I rebooted it was completely discharged.
[Galaxy S 4 i9506 Android Development] solk2:
A lot was changed but not battery, charging or related to this stuff. Post kmsg if it's survived. Interesting to see what could happen.
[Galaxy S 4 i9506 Android Development] superpulosu:
No problem here with the battery, for now. And no more reboots...
[Galaxy S 4 i9506 Android Development] zardak:
No last_kmsg because I manually rebooted after seeing that battery wasn't decreasing anymore.

For now no random reboots with this last build.
[Galaxy S 4 i9506 Android Development] superpulosu:
One reboot while watching a video in chrome.

https://www.dropbox.com/s/g2pg0w5s62hkrmk/last_kmsg?dl=0
[Galaxy S 4 i9506 Android Development] solk2:
And another one
[Galaxy S 4 i9506 Android Development] zardak:
Hopefully this is the good one. Used heavily today without reboots. (> 16h)

BUT, weird things are still happening to this rom... Even if I have Ambient Display disabled, the device still wakes up randomly when I pick it up.

Can you please revert every change about it in a next test build? I have also many suspicious that is the main cause of battery drain. It was good before it was added.
[Galaxy S 4 i9506 Android Development] superpulosu:
You disabled Live Display?

For me everything its working perfect.
[Galaxy S 4 i9506 Android Development] zardak:
No, I use live display to get warmer colors but i'm talking about ambient display, i don't think they are related though.

When device is in standby and then picked up sometimes screen turns on.

Also, how long last your battery? I used to get 5h to 7h on screen time, now I can just get 3h-3.5h with a full charge.
[Galaxy S 4 i9506 Android Development] superpulosu:
I think its not the rom, maybe some app or something in your phone...take a look to privacy in settings and disable live display. I get up to 9 hours on screen time with a full charge.
[Galaxy S 4 i9506 Android Development] zardak:
How do you get 9h ost? What's your typical use?

[MENTION=5291759]solk2[/MENTION]

Last build looks promising! Ran almost 2 days until I did a stupid thing and got a kernel panic lol. But that was my fault. This is the stablest so far.
[Galaxy S 4 i9506 Android Development] solk2:
Nope. Its still not good. I had a reboot. So here another one.
[Galaxy S 4 i9506 Android Development] solk2:
And still not good. Better to go with this one.
[Galaxy S 4 i9506 Android Development] zardak:
Two reboots...
[Galaxy S 4 i9506 Android Development] solk2:
Yep. Found one point which was causing L2 cache errors. Try this one
[Galaxy S 4 i9506 Android Development] solk2:
Still same. So here next one.
[Galaxy S 4 i9506 Android Development] zardak:
Not stable to me...

Nice new features btw, led fading and color profiles (this won't stick after a reboot though)
[Galaxy S 4 i9506 Android Development] solk2:
Its not intended to stay after reboot for now. Please post kmsg. There some more logging added so maybe it will give a hint where issue is.
[Galaxy S 4 i9506 Android Development] zardak:
Attached
[Galaxy S 4 i9506 Android Development] solk2:
Are you sure that you are using this build: cm-12.1-20151006-UNOFFICIAL-ks01lte-2.zip? Coz I was messing up quite a lot with it, what usually caused a reboot previously, but not on this one.
[Galaxy S 4 i9506 Android Development] zardak:
Quite sure about that. Isn't it this one?

http://i.imgur.com/oN9thf7.png
[Galaxy S 4 i9506 Android Development] solk2:
Nope. This one reboots on mine as well.
[Galaxy S 4 i9506 Android Development] zardak:
Mmh... There is something wrong with the "-2" zip you provided to us maybe.

I reflashed the "-2", then the older one and both has same build time but different MD5.

The last one MD5 is A937010556F6C8BD142105CD489882C7, it is ok?
[Galaxy S 4 i9506 Android Development] solk2:
Better download new one.

Edit: Nope. Catched reboot one hour ago. Try this one
[Galaxy S 4 i9506 Android Development] zardak:
Ok.

Is there anything else we can do to help finding the issue?

EDIT:

Got 4 reboots.
[Galaxy S 4 i9506 Android Development] solk2:
Actually not much. But this kmsg points to problem in WiFi. Worth trying. So here next one
[Galaxy S 4 i9506 Android Development] 3lambda:
[MENTION=5291759]solk2[/MENTION] aren't you bored of all these reboot problem ? It's just a question by curiosity
[Galaxy S 4 i9506 Android Development] zardak:
1 reboot

Noticed a bit lag in this build
[Galaxy S 4 i9506 Android Development] solk2:
This can be BT issue. Was experimenting with this part. Try this one
[Galaxy S 4 i9506 Android Development] solk2:
Its more frustrating to search root cause of this issue. But I am defenitly not bored.
[Galaxy S 4 i9506 Android Development] zardak:
Yes, I used BT a lot today and I just noticed the huge spam.

I also noticed some graphic artifacts while recording videos or even just while pointing camera without taking shots or something. I mean, i saw strange colored stuff like circles and rectangles flashing here and ther

EDIT:

One video i made today has some of these artifacts. Not so severe as the others i saw, but still annoying :(

Look at the right half of the screen

http://www87.zippyshare.com/v/a5j3ftev/file.html

EDIT 2:

Flashed the new build of today and it rebooted itself while it was "optimizing apps" (kmsg)
[Galaxy S 4 i9506 Android Development] solk2:
Added couple of patches to camera kernel driver. Maybe will help. Maybe will make things worse. Link.

Would be nice if you can tell at which parameters (mode, resolution or any?) this happening (daylight, inside or environment doesn't matter?) and using which camera app? So I could reproduce this and try to fix.

Hard to say if its same issue or not. As there can be an issue with WiFi/BT if you just do normal reboot as it not going through full reinitialization. Is there was any reboots after this?
[Galaxy S 4 i9506 Android Development] zardak:
Used google camera:

for photos: max resolution available for both cameras

for videos: 1080p both cameras

panorama: high

location: on

manual exposure: off

the grid on screen: enabled

I don't remember if i was using the flash even if i was outside, but i think i forgot it to ON.

To be more specific: I did 4 photosphere photo, then some normal photos, then a panorama photo, and finally the video i posted.

Also I tried Camera fv-5, and here i experienced many artifacts while pointing camera (no capturing anything), but I don't know how to reproduce since i have uninstalled it, it just happened suddenly. Here i've seen a huge red thing like a gear and some other random stuff flashing on right side of the screen

After the weird reboot (i have kmsg if you want) that build is still running (26h+). No problems for now...

You tell me if I should go with the new one with camera fix or wait if this crashes. I would wait on this one.
[Galaxy S 4 i9506 Android Development] solk2:
Thanks. Will try to play around with this app.

Agree. Stay with this build for awhile. I think 96h will be enough to say if it fixed or not.
[Galaxy S 4 i9506 Android Development] zardak:
[MENTION=5291759]solk2[/MENTION]

Damn! It was going really good until I wanted to see an old photosphere with google camera and device rebooted.

Maybe there is something wrong with graphical stuff because is not the first time that the device is rebooting while viewing photos, also those artifacts I saw make me think this. Also I remember having reboots while seeing YT videos (no screen touching). I would like to be more helpful, but how?

I'm switching to the next one.
[Galaxy S 4 i9506 Android Development] solk2:
I see. I am not excluding graphical part. But it actually can be a couple of problems. I will upload new build today with some changes in graphical part. But to exclude WiFi/BT issue can you refrain of using BT for a couple of days? I am not using BT. But I am not using phone that heavily also. And I am reflashing kernel sometimes a couple of times per day so can't test much.

If I knew how can you help more I would tell you.
[Galaxy S 4 i9506 Android Development] zardak:
Didn't have any chance to test camera but the last build rebooted.
[Galaxy S 4 i9506 Android Development] solk2:
Ok. New build with changes in graphics
[Galaxy S 4 i9506 Android Development] zardak:
after 30h rebooted :rolleyes:

Two times
[Galaxy S 4 i9506 Android Development] solk2:
New build. Targeting graphics and BT/WiFi.
[Galaxy S 4 i9506 Android Development] zardak:
Nothing..
[Galaxy S 4 i9506 Android Development] superpulosu:
Reboot when answer to a call.

https://www.dropbox.com/s/g2pg0w5s62hkrmk/last_kmsg?dl=0
[Galaxy S 4 i9506 Android Development] zardak:
How about redoing the kernel from scratch (from samsung source)?

And why stock samsung kernel can't be used?
[Galaxy S 4 i9506 Android Development] solk2:
That will require too much work. As most likely QC HALs used in CM will be incompatible. Even if you look into git log on hlte or other samsung devices you will see that samsung specific code was put on top of CAF and not vice versa.

Next build
[Galaxy S 4 i9506 Android Development] DualJoe:
Just a wild guess but... what about watchdogs? What if the bug is not triggered by bad code/stalled cpu but rather something that (wrongly) hard resets it by design (hypervisor, early bootloader...)? Maybe there's noise on the power button line/irq or some keep-alive signals are missing (Power HAL or something) if there is something like that at all. Maybe you can disable the power button or some watchdogs on low level (remove drivers or parts of device tree) for testing purpose.
[Galaxy S 4 i9506 Android Development] solk2:
Nope. Such reboots leaves logs and phone goes thru normal reboot process. Current reboots caused by bus hangs/wrong clock settings which causing such behavior when there nothing in the logs. Same thing was with BT/WiFi. But at least there last_kmsg always had messages regarding BT was going to sleep.
[Galaxy S 4 i9506 Android Development] zardak:
Had a reboot yesterday
[Galaxy S 4 i9506 Android Development] solk2:
Another build
[Galaxy S 4 i9506 Android Development] zardak:
Not stable...