yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] david19au:
Wait a second, isn't that an old Nokia charging cable that only supports 1000mA charging?
[Galaxy S 4 i9505 Android Development] robcore:
I hate to do this to you my friend, but I'm gonna have to use you as an example...

FYI: Everyone please know that while I appreciate input, commenting on and/or providing logs for releases older than the current one is pointless and will be ignored. This isn't an attempt to be rude, but to save you the time and effort.

Also bug reports without logs do nothing to improve the kernel, so that also goes on my ignore list.
[Galaxy S 4 i9505 Android Development] robcore:
I restored the stock power off charging mechanism just in case for ya.
[Galaxy S 4 i9505 Android Development] Andycar:
Yes, you noticed it right. [emoji2] But why do you think it's only 1000mA? I always used that as a reference cable, it's very high quality IMO. Anyway, I'll double check it, do some measurements abs report you back:)

Отправлено с моего SM-A510F через Tapatalk
[Galaxy S 4 i9505 Android Development] david19au:
I have one of those and use them in my dad's car, they charge newer phones extremely slowly and afaik, there are cables that only support limited voltages, this is why you (usually) pay premium for fast charge cables.
[Galaxy S 4 i9505 Android Development] Andycar:
OK, so I'm putting the photo here to proof that my S4 charges fast (2100mA) using this cable. It's a short one and good one. Nokia cables are still good.

In fact, I have a long Nokia cable of the same "grey" type and is also capable of 2100 current transfer.

Отправлено с моего SM-A510F через Tapatalk
[Galaxy S 4 i9505 Android Development] zetcamp:
[MENTION=4763308]robcore[/MENTION]

Thx for sharing Ur work. Testing v18 of Ur kernel and found no problems. All is smooth and fast. No lags, FCs, reboots etc... All settings in Sinapsys are defaults but custom values for fast-charge. I will test Ur future builds and give a feedback as I can.
[Galaxy S 4 i9505 Android Development] david19au:
Weird, mine only charges 1000mA... thx anyway
[Galaxy S 4 i9505 Android Development] raff28:
sorry bruh...coz that time i was at work a need to do an emergency call.next time if happen again will provide you the logs.
[Galaxy S 4 i9505 Android Development] robcore:
No need to be sorry man, it was really a notice to everyone.
[Galaxy S 4 i9505 Android Development] robcore:
I have fantastic news! I have completely updated the pm runtime code to linux 3.10, and now the pm runtime rr issues are pretty much gone (so far at least). Lol on the flip side I broke video streaming and vibration...so...you know, it's a "slight" trade off
[Galaxy S 4 i9505 Android Development] david19au:
Some worser news here... M19 gives me deep sleep freezes.. I had to go back to M18 where I didn't had these issues
[Galaxy S 4 i9505 Android Development] robcore:
Yeah I think in between 18 and 19 I accidentally introduced a regression in a sleeping_while_atomic function. I had an issue too. Was yours a black screen of death or did it wake up and freeze?
[Galaxy S 4 i9505 Android Development] david19au:
Black screen of death.

EDIT: fixed a typo
[Galaxy S 4 i9505 Android Development] Superperry96:
Has someone experiencing gaming problems?

If not, I still don't think it's wizcyan 3.1 rom problem (actually I had the same problem when I was with alberom).

Rob, sorry for really being annoying, but I must tell you this:

I did a full wipe, put supersu as you asked, opened synapse with only few tweaks (this time didn't even dared touching voltage) but I still have gaming issues (my device is a GT-I9505 btw), I tried wizcyan with the built in kernel and it was stable.

For only normal usage your kernel is okay and better but for gaming nope.

Please to really reconsider my logs again especially what causes gaming crash.
[Galaxy S 4 i9505 Android Development] robcore:
I will work on gaming stuff soon too, right now though power management has to come first because I refuse even one rr even if it's rare. We gotta crawl before we walk!

Development update: backported power management is working well, I fixed video playback, now I'm working on fixing haptic feedback. Luckily, there are updated max77693_haptic drivers floating around the interwebs.
[Galaxy S 4 i9505 Android Development] robcore:
Here is what nineteen was supposed to be:
[Galaxy S 4 i9505 Android Development] chiruscan:
We can use same uninstaller for 19 on 20 [MENTION=4763308]robcore[/MENTION]?
[Galaxy S 4 i9505 Android Development] robcore:
Yessir, don't worry if anything drastic happens to the uninstaller, you will see a big, obnoxious warning in the op again like last time! ;)
[Galaxy S 4 i9505 Android Development] robcore:
[MENTION=4535083]chiruscan[/MENTION] Here's an idea, would it be helpful if I included an alternative to the uninstaller script in Synapse? I could just make a button for it in Synapse, that way people could have the option to flash the uninstaller or hit the button before flashing a new kernel.
[Galaxy S 4 i9505 Android Development] robcore:
In case the last one gives you modem issues:
[Galaxy S 4 i9505 Android Development] robcore:
Okay gamers, try this out:

Linked example of need for speed: [youtube]SEKMQHh4YAY[/youtube]
[Galaxy S 4 i9505 Android Development] raff28:
mark18.

http://cloud.tapatalk.com/s/57fb8d4743d19/dmesg-2016-10-10.20.36.40.txt

http://cloud.tapatalk.com/s/57fb8d71bd5d2/last_kmsg-2016-10-10.20.36.42.txt
[Galaxy S 4 i9505 Android Development] robcore:
Try the one in the post right before yours...
[Galaxy S 4 i9505 Android Development] raff28:
alright bro..

downloading.
[Galaxy S 4 i9505 Android Development] Superperry96:
Okay trying right now.

Let's see how it performs and stability
[Galaxy S 4 i9505 Android Development] Corduroysack:
[MENTION=4763308]robcore[/MENTION] this kernel is brilliant very responsive. Every update is an improvement :D
[Galaxy S 4 i9505 Android Development] Superperry96:
[MENTION=4763308]robcore[/MENTION]

Tried mark20p6 and this is the result (did uninstall and then install):

-First boot has system not responding.... had to unplug battery and restart

-Had a system block at my third restart

-My games still crahses (lol).

-Last ksmg can't be created.
[Galaxy S 4 i9505 Android Development] robcore:
Okay I need you to do something, do you have a terminal emulator?
[Galaxy S 4 i9505 Android Development] Superperry96:
Nope, to be honest.

Edit: I hope it's right to install one on play store.
[Galaxy S 4 i9505 Android Development] robcore:
K I built a quick little self-destructing init.d script, please flash this zip and then attach the file machinex_proptest.txt found in your internal storage (/sdcard/machinex_proptest.txt).
[Galaxy S 4 i9505 Android Development] robcore:
delete
[Galaxy S 4 i9505 Android Development] robcore:
It's okay terminal emulators suck anyway. The command I used was just getprop > /sdcard/machinex_proptest.txt to get a read out of your system properties. PS what's the name of your game? I want to test it, and use it as a litmus test for my future releases.
[Galaxy S 4 i9505 Android Development] Superperry96:
Here you go:

Edit: the games I use are asphalt 8 (can't really play it always crashing when trying to start or when ads are coming), unison league (it crashes when trying to pull keyboard or when viewing guild messages) and brave frontier rpg (high probability of crash when loading a stage).
[Galaxy S 4 i9505 Android Development] david19au:
Was looking through the log, maybe [persist.sys.NV_FPSLIMIT]: [60] and [windowsmgr.max_events_per_sec]: [90] is the problem? :confused:
[Galaxy S 4 i9505 Android Development] Superperry96:
I also read that but I wasn't sure about that.

I already kinda found them earlier.

I don't know if completely removing these lines are safe and if everyone did it.
[Galaxy S 4 i9505 Android Development] david19au:
Let's wait for [MENTION=4763308]robcore[/MENTION] to respond
[Galaxy S 4 i9505 Android Development] Superperry96:
The games, I've written as edit post earlier.

For build prop I only edited region (I prefer it because I'm from italy) and model (reverted to gt i9505) to resolve youtube issues about the 1080p60 which a s4 can't really handle it.
[Galaxy S 4 i9505 Android Development] david19au:
Wait, how did you resolve the 1080p60? :confused:
[Galaxy S 4 i9505 Android Development] Superperry96:
When I go to youtube the option 1080p60 disappeared when I wrote model gt i9505. I can't remember if s4 can handle it or it's the rom defect. Still 720p60 works.
[Galaxy S 4 i9505 Android Development] robcore:
[MENTION=7729235]Superperry96[/MENTION]

"For build prop I only edited region (I prefer it because I'm from italy) and model (reverted to gt i9505) to resolve youtube issues about the 1080p60 which a s4 can't really handle it."

That's the problem, there are some lines you NEED to edit, as they have been added to your rom as "tweaks" but they are actually causing these issues. PLEASE make the appropriate edits listed in Post #2!
[Galaxy S 4 i9505 Android Development] david19au:
The S4 can handle 1080p60, CM13 does it with ease
[Galaxy S 4 i9505 Android Development] Corduroysack:
just had 2 RR straight after each other using yankactive. !st time i lost data. see SS attached. i did have 2 sets of logs taken on each occasion but windows lost the first set when folders merged.

Phone was inactive at the time of first RR. Data came back after 2nd RR

Back on onDemand now :)
[Galaxy S 4 i9505 Android Development] Superperry96:
Okay, btw "#" means it's not included (like a comment for programming)?

I'll try to make a proper editing to see the results.

The tweaks that are not in your list, I'll leave it in the build prop

---------- Post added at 06:46 PM ---------- Previous post was at 06:45 PM ----------

Ah okay, so it's the roms problem. Maybe build.prop can say me something (?).
[Galaxy S 4 i9505 Android Development] david19au:
Hmm, I was using yankactive too and it also crashed but afterwards I couldn't boot to Android... maybe yankactive was my problem all the time? o.O no logs since I'm back on Imperium
[Galaxy S 4 i9505 Android Development] sonickles9:
(posting this because when the crashes happened i didnt see m20p6)

Got two (not so) random reboots today.

The first was underclocked so I didn't provide any logs.

Second had stock voltages though, and after rebooting, it had an awfully laggy bootanimation and rebooted halfway.

Mark20P3

Synapse settings:

CPU:

Governor: Conservative(for tweaking purposes, I intend to have it as a fallback but before I need to search more about interactive/conservative based govs)

Max CPU speed: 17xxMHz

Min CPU speed: 702MHz

Hardlimits: 1998MHz(because my tweak doesn't change this value)

Volt:

Krait CPU Voltage Boost unchecked

Hotplug:

Bricked Hotplug, no other changes

GPU:

simple governor, Ramp Threshold @ 3000

LMK:

Altered by my tweak

Charge:

Enabled with custom levels: 2100, 1000, 1200

Screen On Current Limit off

Failsafe off

rest is stock
[Galaxy S 4 i9505 Android Development] devsnor:
My radio still goes to sleep when it shouldn't. All the time.
[Galaxy S 4 i9505 Android Development] sonickles9:
http://cloud.tapatalk.com/s/57fc642f9d37e/i.zip

More logs for rr's on m20p3 (still downloading p6)

it always happens on 'thrashing' scenarios, when load is high. kmsg says its an interrupt error, but i'm not very sure of what is an interrupt.

Also, after flashing your kernel sometimes most quick settings icons just disappear.

edit: flashed p6 and I just had a rr; same reason

http://cloud.tapatalk.com/s/57fc69417c405/log.zip

log

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Android Development] robcore:
Holy crap is anyone up?

[Insert loud, expletive-laced exclamations here]

...

!!!!!!!
[Galaxy S 4 i9505 Android Development] Superperry96:
Yep...

I want to tell you I made proper adjustment but result is still the same (game experience is a little bit better but still the same crashes I mentioned posts ago)

Oh well at least I don't experience rr or reboot crashes with mark20p6. Performances are better btw and stability is still the same for me.
[Galaxy S 4 i9505 Android Development] robcore:
Dude. I taught myself how to use pm_runtime control data and I fixed the bloody dereference in the ehci-msm-hsic-host driver MYSELF!!!! Take THAT qualcomm!!! (and samsung)

I made a timer change that gives me a warning in hellsactive now...but it doesn't panic just warns. So I'm gonna say screw it and release this baby BECAUSE I FIXED IT BY WRITING MY OWN CODE!!!!!!!!!!

WHOOOOOOOOOOOOOOOO!

What a rush! Apparently these types of projects force us to learn as a requirement. I'm sitting at my computer grinning like an idiot at no one :D
[Galaxy S 4 i9505 Android Development] Andycar:
You've worked like a machine pal during the last days. Please take some rest :) Thanks for you work!
[Galaxy S 4 i9505 Android Development] reluctant_traveller:
Awesome work, dude.

I keep downloading the kernals, but by the time I go to install, a new one emerges!
[Galaxy S 4 i9505 Android Development] Superperry96:
I had initial freezes (had to reboot 2-3 times) after modifying in synapse and reboot.

After that it became stable.

I notice a little performance improvement and each reboot has no crash so good job.

Next time try to figure out what makes certain games crash hoping it's not only my case, otherwise it would be very depressing D:

For now I can live with it (you work so hard I think you should rest a bit).

I'll test it for a few days and see if there are user experience issues.
[Galaxy S 4 i9505 Android Development] david19au:
Hm, the phone is still suffering from deep sleep freezes, did you fix that issue? (I mentioned it a few days ago)
[Galaxy S 4 i9505 Android Development] robcore:
Try async pm in Synapse! It works for me now!
[Galaxy S 4 i9505 Android Development] Superperry96:
Mine doesn't suffer since mark18 so it shouldn't.
[Galaxy S 4 i9505 Android Development] david19au:
Welp, I ended up going to CM13 for now.. will come back to TW roms someday
[Galaxy S 4 i9505 Android Development] robcore:
Hehe yeah sorry for that, like Tony Stark I tinker..
[Galaxy S 4 i9505 Android Development] chiruscan:
Same here. I wanted to try out 18 but by the time I logged back on there was already 20.:laugh:
[Galaxy S 4 i9505 Android Development] robcore:
You guys are gonna hate me...

Mark21, Prototype 1...

Brought irq (interrupt) code up to scratch. I was missing some important prerequisite functions for our current setup, and now the deep sleep wakeup is quick, as is the general responsiveness to touch/button/cable events.

Made task work lockless and non-blocking, which means no more delays during multitasking.

Integrated RCU synchronization into the security key frameworks, so communication between the system and the modem is streamlined for speed and error correction.

This bad boy makes mark20 look like a chump.
[Galaxy S 4 i9505 Android Development] david19au:
Imma #yolo a question, how about making a CM13/14 compatible kernel after this becomes stable? :D I kinda hate the sluggishness of TouchWiz
[Galaxy S 4 i9505 Android Development] robcore:
Hehe sorry man but I'm just not familiar enough with cm specifics, and switching between it and touchwiz for testing would just be too much of a hassle.

Also I finally got my note3 yesterday so I'm gonna try my luck at a kernel for that too : D
[Galaxy S 4 i9505 Android Development] david19au:
Ah ok :D well, I hope I'll have enough money to get an S7 this Christmas or so, the S4 is kinda... not good enough for me... (Battery life, I barely get 2hrs of SoT while using Facebook and stuff)
[Galaxy S 4 i9505 Android Development] xell75:
Bad battery I guess, I use an 2600mah Anker Battery and can get an SOT up to 4 hours and sometimes more with Facebook using and stuff. And realistical I See it like, you don't really need more Performance than the S4, it's still good enough for everyday use and more Performance is just wasted Performance, because most people doesn't even use more than maybe 10 - 20% of it's Power with just Facebook or WhatsApp for example. And 2GB RAM is still enough. Cheers!
[Galaxy S 4 i9505 Android Development] david19au:
Yeah I know, I'm not the gamer type of guy so I don't need more performance but still, 2hours of SoT is too low for me and I don't think buying a new battery is worth the money since my S4 is scratched and has a SIM card stucked in it. I was really looking forward to buying a Pixel XL but unfortunately it isn't available in Czech Republic - that really pissed me off, since I don't (and I can't anymore) want a Note 7. Can someone recommend me a good phone?
[Galaxy S 4 i9505 Android Development] robcore:
It's good to see you my friend! I was gonna send you a message and then fell asleep instead :P
[Galaxy S 4 i9505 Android Development] robcore:
Guess who got the sources released for PI1...this guy!!

I made a big patch between ok2 and pi1, then used splitpatch to apply only the relevant patches. The majority of differences are either related to security, buffer overflows (so pretty much security again), or Knox hardening. Though there is some gold in there (kgsl/gpu updates!). I'm definitely applying the good stuff, but leaving out the Knox updates because screw Knox.
[Galaxy S 4 i9505 Android Development] Andycar:
Congratulations, you've done 'em! :)))

Waiting for PI1 very mcuh now :)))):good:
[Galaxy S 4 i9505 Android Development] robcore:
Looks like there are some good camera, sensor, video, wifi, qseecom updates actually. Also a new version of mobi core. They patched quite a bit of memory leaky stuff too so overall should add to snappiness.
[Galaxy S 4 i9505 Android Development] david19au:
Looks like I'm back to TW :D
[Galaxy S 4 i9505 Android Development] parser:
So should we wait for 21 or try out the beta release ?
[Galaxy S 4 i9505 Android Development] devsnor:
Are you sure that is the one you meant to attach? Not only does the file name say it's m20p1, but also installer says its m19, so unless you made 2 typos I think that's the wrong one lol. Kisses from m20 Island where radio finally started to operate properly. ; )
[Galaxy S 4 i9505 Android Development] sonickles9:
My bet is he forgot to change the version in the updater script

cause when he refers to previews of the next version he often uses *the current version*p# to refer

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Android Development] robcore:
Oh yeah naming conventions are all out of wack there (I'm often exhausted). Its definitely the right file, I just don't bother to pay attention to the details with naming for the demos. It was actually two typos lol.
[Galaxy S 4 i9505 Android Development] xell75:
Your Kernel is just awesome.
[Galaxy S 4 i9505 Android Development] robcore:
Thank you very much, that means a great deal to me : ) (ESPECIALLY after the long night of programming I've had)
[Galaxy S 4 i9505 Android Development] xell75:
No problem mate, anytime! Keep going your great work. :D
[Galaxy S 4 i9505 Android Development] Superperry96:
Maybe my gaming will work with your next update (you looked at pi1's source code so maybe this time it will work, hehehe).

I'm still really looking forward to your work and maybe one day I'll also learn some rom and kernel modding (it would be a good practice for my university course), hahaha.

Btw your kernel works fine (no rr and crash reboots) so apart for gaming experience) no real complains.

If you want some games to test: I recommend you asphalt 8 and gta lcs since they are heavy games and it would be perfect for a stress test (I play these btw so lol), also unison league for gaming stability because when keyboard appears there is high chance of crash (after a few minutes) for me.

Like most users *cough* *lab testers* of this thread say, I'm still encouraging your good work so keep going.
[Galaxy S 4 i9505 Android Development] robcore:
Out of curiosity, what are your governor and hotplug settings when you play games? Also are you using any memory/lmk tweaks?
[Galaxy S 4 i9505 Android Development] Superperry96:
Using interactive (not modified), intelli_hotplug performance and gpu governor simple, reverted to stock cpu clock (it's good to see 2ghz but i reallly don't want to undervolt for log purpose).

Modified lmk as following (multipled per 256 pages, so I think it's 1 mb): 48,60,72,84,96,120 (for pure testing purpose and I saw it on imperium kernel so I decided to put these tweaks on your kernel to see how it works).

Modified entropy read/write to 256/512.

I/o scheduler set to zen (internal) 512 kb (sometimes to 128 kb because of a little gaming stability) with fifo set to 16 (read somewhere) and fiops (external) set to 1mb.

Set ro.config.dha_lmk_scale to 0.594 (I think it's stock).

Removed some unnecessary tweaks (such as force3d, force2d, hardware accel,etc as your op suggested for testing).

I've still got good gaming performances, decent battery usage (at least more than 3h when gaming from full to 2%) and decent multitasking and stability is ok.

Got even 40k of antutu benchmark so it's pretty ok imo.
[Galaxy S 4 i9505 Android Development] robcore:
For sure it sounds like you know what you're doing, actually my biggest question is how many min_cores_online do you set when gaming?

Edit: also I would try electroactive or elementalx for heavy games, they have a built in gpuboost!
[Galaxy S 4 i9505 Android Development] parser:
[MENTION=4763308]robcore[/MENTION] I have a question that maybe non-related with kernel but here we go;

There is a screen related ghosting kinda problem in our Qualcomm versions where pixels would react a little late to movement. It looks like as if there is some latency. I read somewhere that this problem is Qualcomm devices related an exynoxs devices are not effected. Since you are more on the experimentation part, would you mind investigating this problem. Maybe there is a solution on kernel side (I lack the knowledge so it's not more than an assumption)

Thank you.
[Galaxy S 4 i9505 Android Development] robcore:
Hey, I'm happy to help, but I would need to see what it looks like to get a basic idea

Is that possible?
[Galaxy S 4 i9505 Android Development] sonickles9:
I can confirm the ghosting thing! Try scrolling black on white.... you can notice a short delay, like if the black part "stretched"

I'd say its either a GPU side problem, or deep in the hardware design... though it's just a wild guess.

Enviado de meu GT-I9505 usando Tapatalk
[Galaxy S 4 i9505 Android Development] Superperry96:
I set it to 2 cores since I don't want to stress cpu so much (my phone is 3 years old so it heats easily especially summer). Also for battery saving.
[Galaxy S 4 i9505 Android Development] parser:
[MENTION=4763308]robcore[/MENTION] this is the exact explanation. Maybe I can make a video. I can see it when I am in 9gag mostly. It is really disturbing.
[Galaxy S 4 i9505 Android Development] david19au:
Can confirm it too, if you remember KitKat days where the UI was Black and other things were other colors, can see it really easily. For example the settings were having those issues
[Galaxy S 4 i9505 Android Development] parser:
https://www.youtube.com/watch?v=jkLWKD_-exs

tried to make a video. it can be seen on black to dim black transition. And a little bit on white also. Maybe this can help.
[Galaxy S 4 i9505 Android Development] chiruscan:
M20P1 is the kernel with the new Samsung updates?
[Galaxy S 4 i9505 Android Development] robcore:
Hold off a little more
[Galaxy S 4 i9505 Android Development] robcore:
[MENTION=4744856]david19au[/MENTION] [MENTION=3687397]parser[/MENTION]

Guys, can I see your props? I never see that level of graphics corruption, even when my experiments go haywire. Flash this self destructing init.d script, results will be labelled machinex-proptest.txt in your sd cards.
[Galaxy S 4 i9505 Android Development] robcore:
Didn't upload. Stupid xda labs.
[Galaxy S 4 i9505 Android Development] Andycar:
Yeah, it also shows up when scrolling white text on black background. These ghosts tails have been bugging me for long time on i9505...

However, it might not be possible to fix it by software... I'm not sure.