yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Android Development] zuziemanis:
Temporary report....

bootloap with atom rom. stuck in s4 white screen when flah your kernel ....

cant see succes or not in pv becouse cant boot...

hemmmm...

Look like so many unpredictable condition s4 and boatloader choice

im in last firmware boatloader condition before and will not change to old boatloader just to make rom can boot in my s4.

flash voltage success again

flash kud kernel succes to

flash original pf1 kernel bootloop look like your test kernel

but that rom look like have bug in pv mode im try in voltage not enable to

Will see in other theme rom

but sorry will deley for some hour to charger first, becouse this anoying android upgrade when clean flash for deodex rom...so long..that why im never like any deodek rom

will edit repot letter...

Thank you
[Galaxy S 4 i9500 Android Development] krasCGQ:
[MENTION=5092577]zuziemanis[/MENTION]

Could you try to repack kernel of my boot.img with Atom ROM's or Volt's ramdisk and flash it?

Probably due to incompatibility with newer ramdisk...
[Galaxy S 4 i9500 Android Development] zuziemanis:
Ok..will try give report after that...
[Galaxy S 4 i9500 Android Development] zuziemanis:
Success use stock atom ramdisk (volt)

But how to see this pm fungtion work ?

Or i must switch to other theme rom ?

Fail when im touch enable althoug i can set pin in privat mode

stock volt and your kernel test same condition
[Galaxy S 4 i9500 Android Development] krasCGQ:
With 'Failed to enable Private Mode. Please try again.' toast? I don't see any error toast...
[Galaxy S 4 i9500 Android Development] zuziemanis:
Final report

Privat mode work...

Atom bug in pv before...try in other theme rom work like when use defould kernel.

Same with other kernel will otomatic off after reboot...looks like need other knok stuff that be debloot before in rom.

Never investigation more....

But give conclution if pm work.

Kernel cant boot with pf1 ramdisk in this theme rom.

still need repark or use anykernel flash methode.

Report finish

Thankyou
[Galaxy S 4 i9500 Android Development] krasCGQ:
wew...

Btw I could make Private Mode turn off automatically after screen is off also, by adjusting Private Mode settings...

Then Atom ROM's bug is same as Octanote, where I also couldn't turn on Private Mode as it would turn the level off automatically...
[Galaxy S 4 i9500 Android Development] zuziemanis:
ok...not try and see many detel fungtion in there before ..

but many password come after im try that mode be use to app when screen off happen..

Has swich back to stock like ussualy now.
[Galaxy S 4 i9500 Android Development] krasCGQ:
So, finally my patience to my brother is enough :mad:

I would push this morning (UTC+8) test build without any tests from me; introducing zzmoove, darkness, and lionheart CPU governors...

Seems like I've been forbidden to use my i9500 anymore by my brother without any reason. He doesn't even know how the kernel works and he forced me to test it on my Z00AD, but I refused it because I know it doesn't compatible...

And starting from this test build, I won't be able to test it, forever. (until my brother changed his mind)

Finally, I've a single question:

Should I create a group in Hangouts/Telegram (or something else) so I could easily push my kernel's test builds there instead?
[Galaxy S 4 i9500 Android Development] zuziemanis:
Yes you can. I will follow that group. Just mention your target rom as model to test with detel instructions to see the result and not any distances with your hope result exactly...as you know...not all user familiar with kernel words so must be patients to try this way....
[Galaxy S 4 i9500 Android Development] krasCGQ:
Test builds with some untested CPU governors...

Main focus: darkness, lionheart, zzmoove

EDIT: Attachment removed.
[Galaxy S 4 i9500 Android Development] zuziemanis:
Test it now in last stock have ...

Edittt....

Wrong ss
[Galaxy S 4 i9500 Android Development] krasCGQ:
LMAO, I compiled this morning during break but I packed it today with PB2 ramdisk...
[Galaxy S 4 i9500 Android Development] zuziemanis:
Ok true ss...in last stock...

Will see it from the fiture and report latter..

But please dont forget any homework that must be solve about this small anoying security notice. You can solve it in kud kernel before without need user touch anything...

yes i know easy be solve with freser app with titanium

But the simple reason im choose your kernel in first time becouse this one. No any that can do it in other exceptionally sammy with stock kernel.
[Galaxy S 4 i9500 Android Development] krasCGQ:
Deleted this one
[Galaxy S 4 i9500 Android Development] krasCGQ:
Hi,

I've another test build compiled today, but I'll pack it and push it later, ASAP. (my notebook's battery is too low so I don't have any chance to do it so)

Apparent changes from previous test build:

Re-added fiops, sioplus, tripndroid, zen

Added bfq, row

sio isn't included anymore because sioplus will perform better.

EDIT: Removed again.
[Galaxy S 4 i9500 Android Development] krasCGQ:
UPDATE:

Instead of sending me your GMail address via PM, you could join KudKernel's Hangouts group using this link.

EDIT: OP is updated also to include these and some more changes... :rolleyes:
[Galaxy S 4 i9500 Android Development] krasCGQ:
Alive again (?)

KudKernel v4.0 is released.

OP and post #2 has been updated. I'd update post #3 and #4 when I've time, especially scripts that would be useful for advanced mDNIe settings and sound control tweaks.

EDIT: My mean for sound control is the Wolfson sound control itself...
[Galaxy S 4 i9500 Android Development] BenDroid1:
No. Please no sound control scripts

Alot of Android users either use Dolby or V4A driver which creates some awesome music.. kernel sound control scripts tend to break these programs but if you are to implement it anyway please make it be able to switch on or off
[Galaxy S 4 i9500 Android Development] krasCGQ:
I only tweak the Wolfson sound behavior on their defaults, same as when Wolfson sound control wasn't implemented before.

I could make the sound control, V4A, and Dolby Atmos work together when I'm still using my i9500 with Volt kernel...
[Galaxy S 4 i9500 Android Development] crizalid8:
Can i include your kernel in to new update of ethanrom?
[Galaxy S 4 i9500 Android Development] krasCGQ:
Sure.

Btw, I would push a minimal version of my kernel later this afternoon...
[Galaxy S 4 i9500 Android Development] krasCGQ:
You could give this a try.
[Galaxy S 4 i9500 Android Development] hansonchen:
The zip gave an error flashing the latest 4.0. Attached is the log. Unzipped & flashed boot.img, booted the phone but hangs & reboots few times. Then booted fine but while configuring in kernel adiutor, it hangs, fc & need to hard reboot whenever a selection is made.

Using mbokarna odex rom, twrp 3.0.0.0

https://www.dropbox.com/s/rw9i3uqp6yh2wyk/recovery.log?dl=0
[Galaxy S 4 i9500 Android Development] krasCGQ:
That's why I release this kernel as 'beta' build because it contains some experimental patches.

Recovery log:

Unsupported device. Aborting...
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
Error installing zip file '/external_sd/Download/KudKernel-v4.0-i9500.zip'

Oopss... So my own device check doesn't work correctly...

Will remove it on next version, sorry for that.
[Galaxy S 4 i9500 Android Development] krasCGQ:
A new public test build...

I've reverted bunch of commits that might cause problems...

EDIT: Attachment removed.
[Galaxy S 4 i9500 Android Development] hansonchen:
Preliminary testing shows no problems now. Everything is running fine. No more hangs & reboots. Proceeding to test sioplus, battery life seems to have improved
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
v3.3 im using ,its ok but slow charg
[Galaxy S 4 i9500 Android Development] zuziemanis:
Never ever enable unstable power charging as defould kernel please...although many user want it...

If be give just fiture that user must on it with app or kernel auditor.

Im lost one my device becouse that fiture kernel.

Better we replece flxshble charging usb rather than we lost one motherboard.
[Galaxy S 4 i9500 Android Development] RazorBlade123:
When I try to flash the 4.0 kernel, it shows Error 1

Why does this happen?
[Galaxy S 4 i9500 Android Development] krasCGQ:
Sorry for bumping up so many test builds...

But I'm afraid that one of my commits caused problems, so I pushed 6 more public test builds with one of 6 commits reverted...

For more discussion about test builds, join the Hangouts group (link is on OP)

EDIT: Attachments removed.
[Galaxy S 4 i9500 Android Development] krasCGQ:
I don't even implement charging control into the kernel due to compile errors (same goes when I tried to implement MIF and INF voltage control)

Something went wrong with the flashing script. Will be fixed in the next version.

EDIT: Never mind. Reuploaded v4.0 with fixed scripts.
[Galaxy S 4 i9500 Android Development] atakanadil:
Actually, i successfuly flashed your "Not working" kernel with flashfire just fine :D First i tried to flash with twrp 3.0.2.1(?) and got error and tried with chainfire's FlashFire and worked. Everything is good for now :)
[Galaxy S 4 i9500 Android Development] krasCGQ:
Everything else is fine? Because [MENTION=4689452]hansonchen[/MENTION] reported some issues on [MENTION=5092577]zuziemanis[/MENTION]'s odexed ROM...
[Galaxy S 4 i9500 Android Development] atakanadil:
Yes, everything looks fine, i'm using firstflight rom 4.5. Rom is now snappy and fast. Using lionheart governor, just changed min max cpu freq. and touched nothing else. :good: how can i help you? Or can i?
[Galaxy S 4 i9500 Android Development] krasCGQ:
I'm looking for people who have same problem as [MENTION=4689452]hansonchen[/MENTION] with my v4.0 to test some builds that I uploaded several posts behind...

~~~~~~~~~~~~~~~~~~~~

v4.0 is reuploaded with fixed scripts. It should work now on TWRP.

Board check is still there and it's the only capable method because if I use phone model, it would work only on stock based and not ported ones.

EDIT:

I give some alert here:

Because I'm using board check, i9502, I959, and E300, even Meizu MX4/Pro users could unexpectedly flash this kernel and ended up breaking everything on their device...
[Galaxy S 4 i9500 Android Development] hansonchen:
looks like i commented too soon, phone still hangs (need long press power button to reboot) while configuring in kernel adiutor. i need to restore the clean /system & start afresh to see if any app or v4a (arise) is causing it. can you pls recommend a catlog app?
[Galaxy S 4 i9500 Android Development] krasCGQ:
Another thing is I disabled the Android Logger on both scripts and kernel configs!

You could enable it back by typing

start logd

from Terminal app.

For logging, you could use SysLog or CatLog.
[Galaxy S 4 i9500 Android Development] hansonchen:
Here are some logs. I'll update which .img i flashed later. Gotta go do something urgent first.

Ps. Flashed this "test_without-apply_slack-optimize"

https://www.dropbox.com/sh/kg4q6kpqcyt2bax/AAAqOs4TorMJ2azimhi5LbYJa?dl=0

Latest update: flashed all of the test kernels but still encounter hangs & soft reboots with kernel aduitor, started from 01_3.4.5-g12685b4-dirty.img
[Galaxy S 4 i9500 Android Development] aashuG:
Just flashed this kernel using flashify twrp gave some erros

every thing is good but expriencing deep sleep problem .phone is not entering deep sleep state any suggestions?

I m on mbp v5 rom with ur kernel version v4
[Galaxy S 4 i9500 Android Development] RazorBlade123:
How did you install it? I'm a n00b sorry :D

---------- Post added at 06:07 PM ---------- Previous post was at 05:45 PM ----------

I still get error 1 :(
[Galaxy S 4 i9500 Android Development] aashuG:
Just xtract the zip and flash using flashify app (free at gplay,on flash tab use boot image then select the extracted file followed by reboot ) ;p
[Galaxy S 4 i9500 Android Development] hansonchen:
unzip boot.img from the kernel.zip, choose flash image, flash it. twrp has this option
[Galaxy S 4 i9500 Android Development] zuziemanis:
Strength no any problem with me :D all be flash good and im in odex to.

Any related with exposed ?

As we know that we are deferend usualy in that choice. Im never instals exposed and you otherwise.
[Galaxy S 4 i9500 Android Development] hansonchen:
could be. my backup is including xposed, maybe a module or the main framework is causing it.

i will try find out which module could be causing it. did you try changing config i kernel adiutor? normal use it won't hang
[Galaxy S 4 i9500 Android Development] zuziemanis:
yes im try change cpu that 3 concentration that be mention by op and some io. But im try many in 4.0 before and no problem.

in test 6 kernel still consentration from sond quality as you know the one that always im seach dephly in any tw kernel and not touch other....just now try in other KA....yes any one random reboot but i can still use ka control after that..

Edit :

yes in last 6 kernel test many random reboot happen after im try in KA.
[Galaxy S 4 i9500 Android Development] krasCGQ:
v4.0 is re-uploaded again, now on AndroidFileHost!

So I removed the board check because it never works on TWRP :/

Btw, here's another test build; where the suspected culprit reverted.
[Galaxy S 4 i9500 Android Development] RazorBlade123:
The colors on the display of my phone seem washed out. Is this normal?
[Galaxy S 4 i9500 Android Development] krasCGQ:
That's because I enabled Master Sequence and Register Hook by default.

Some people hate (too) saturated Samsung's settings!
[Galaxy S 4 i9500 Android Development] hansonchen:
flashed many times until phone can't boot lol. had to odin. the last i flashed was lwk kernel

will test your latest later
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
maybe with that got more battery life...not sure just say

---------- Post added at 09:26 PM ---------- Previous post was at 09:24 PM ----------

new kernel look more good i like mas...seq...
[Galaxy S 4 i9500 Android Development] krasCGQ:
I think it has no impact on battery life. It just ignore some Samsung's sh*t policies...
[Galaxy S 4 i9500 Android Development] hansonchen:
Ok, this build seems to have fixed the hangs/reboots. Running fine now. Will update if i find any hiccups. Btw, what's rq affinity? They're set to 2 by default & internal read ahead [MENTION=5910285]1024kb[/MENTION]. Any improvements with these settings?
[Galaxy S 4 i9500 Android Development] krasCGQ:
RQ Affinity is set to 2 to make all I/O requests to be done at the same CPU as they're created from.

I/O read ahead for internal storage is set to 1024 kB for optimal I/O performance with 16 GB storage.
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
better to have option to change screen to greyscale like in n4 rom's (aurora roms that ale make before)
[Galaxy S 4 i9500 Android Development] krasCGQ:
Aurora ROM is made by yoguo and Aurora team and ported to International version by Ale, cmiiw.

But I don't know if it's possible...
[Galaxy S 4 i9500 Android Development] krasCGQ:
Uploaded preview builds for TW and CM (using AnyKernel), introducing Synapse support and more...

Thanks to [MENTION=4296690]asad007[/MENTION] for everything! LMAO

Note:

I uploaded 2 TW versions, one using UBUHPB2 ramdisk and one using the latest UBUHPG1 ramdisk. KudKernel Lite release is postponed.

EDIT: In CM version, SELinux is disabled until we managed to find out the culprit.

EDIT #2: Synapse support is for Screen and Audio (auto-generated)

EDIT #3: I forgot to adjust ramdisk settings on PG1 ramdisk so scripts and init.d won't work on that version. - Also Synapse -

EDIT #4: Old attachments removed. See my latest post.
[Galaxy S 4 i9500 Android Development] asad007:
CM version won't install if the already present kernel uses anything other than gzip compression for ramdisk, i saw the anykernel script, i think it needs editing.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] krasCGQ:
Yeah. I'll try to inject AnyKernel.sh with if clause for ramdisk compression, but I hope things are going well.

I only inject the AnyKernel.sh to use kernel's defined cmdline.
[Galaxy S 4 i9500 Android Development] kongacute:
[MENTION=6589753]krasCGQ[/MENTION] will u make fully support synaspe in next ver?
[Galaxy S 4 i9500 Android Development] krasCGQ:
Reuploaded CM zip and PG1 ramdisk version.

Changes:

CM:

[AnyKernel] Support for decompressing lzma, xz, and lzo compressed ramdisks.

[AnyKernel] Inject ramdisk patch inside AnyKernel script instead

** Both of them needs testing **

TW-PG1:

Proper ramdisk changes.

[MENTION=6816287]thaibinh262[/MENTION]: If I could, especially without the device in my hand LMAO!
[Galaxy S 4 i9500 Android Development] kongacute:
Waiting for ur fully support synapse ver. And i dont understand known issue in v4. Those issue are big problem?
[Galaxy S 4 i9500 Android Development] krasCGQ:
They're just some minor issues...
[Galaxy S 4 i9500 Android Development] krasCGQ:
v4.1 is released! Enjoy.

Just some info:

If something went wrong on CM zip, unpack, edit anykernel.sh, and replace this line:

cmdline=`console=ttySAC2,115200n8 vmalloc=512M androidboot.console=ttySAC2 androidboot.hardware=universal5410 androidboot.selinux=disabled`;

With:

cmdline=`cat *-cmdline`;

Pack again and flash zip.

I'm just doing some experiments on AnyKernel2 template.
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
install OK booted but wether ,media storage ,setings manymore has stoped
[Galaxy S 4 i9500 Android Development] krasCGQ:
Which ROM?

EDIT:

This is what I actually hate.

When I push test builds, everyone just download, download, flash, and no one give feedback (even a little). When a final build is released 'blindly' due to no feedback over previous test build, everyone would complain blah blah...

I would definitely remove v4.1 if this issue affect both TW and CM.

EDIT #2:

I actually have [MENTION=5092577]zuziemanis[/MENTION] as my unexpected tester (? LMAO), but having only a tester doesn't mean anything since he use his own stock deodexed ROM, while most of TW users here are using ported ROM. I need more and more testers since I don't have control over my phone anymore.

If I get headache of all sudden because this, I would discontinue my kernel development on i9500 using the same way as j2lte (eliminating all links).
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
sorry i complete sleepy ,TW Rom Ale95 V6.1..

its ok ,when i se beta i known it that cannot work good :good::good: sorry bad english here
[Galaxy S 4 i9500 Android Development] krasCGQ:
I pushed v4.0 and v4.1 as 'beta' because no feedbacks over test builds prior to releases.
[Galaxy S 4 i9500 Android Development] asad007:
hey i flashed your CM version, but it didn't boot.

Did not make it to boot animation.

edit : I'm talking about test 2. but did not have time to post.

Sent From S4 Powered By LWK
[Galaxy S 4 i9500 Android Development] zuziemanis:
Im Sorry have sometime deley to test becouse still consentration to end month in my real work. Will try again after that.

Yes..im only consentration in stock tw becouse that is my focus now, other user must test in tw port rom mybe will give other feedback.
[Galaxy S 4 i9500 Android Development] hansonchen:
Yeah sorry krasCGQ, I'm struggling with my phone weird behavior lately & the need to use phone. Couldn't test & feedback to your kernel. For some reason I'm having random residue of stock bloated Sammy apps, after Odin, in mbokarna or vova debloated roms. Every flash i formatted the /system /cache&dalvik but apps like wallet, TripAdvisor, Google newsstand, books, etc remains.

Countless of apps restoring from tb & testing is giving me sleepless nights.
[Galaxy S 4 i9500 Android Development] kongacute:
Sorry. Because i dont have device usually (mean 3 day usage/ 2month) so i cant be tester. Hope u dont discontinued this kernel. And i waiting for synapse support test build. Can u tell me which test build and which stable build for now?
[Galaxy S 4 i9500 Android Development] krasCGQ:
You need to wipe /preload and somewhere else on a hidden partition. I debloated my father's Y6 by deleting manually some useless apps some weeks ago.

Starting from some builds ago, I'm uploading test builds as attachments on this thread; not as a flashable zip, but a boot.img file.

~~~~~~~~~~~~~~~~~~~~~~

Pardon me for my previous posts. Because yeah, no one supports me on building this kernel. My brother doesn't want me to develop kernel, and none of my friends understand what I'm doing, even said that it's useless -_-"

I'll push test builds tonight. I don't have enough battery power to do two compiles (both TW and CM). Mostly to enable most things that I've disabled during my defconfig syncs (Netfilter stuffs, etc, except everything debugging related), and if it still broken, I'd revert some commits...
[Galaxy S 4 i9500 Android Development] kongacute:
Ok. Will test ur kernel when full synapse support ver release, because i like to control kernel like volt do (very easy, and have UV in his battery profile). And v4.1 make every app fc, hope u fix soon.

Ps: im using FirstFlight v4.5 with RC.
[Galaxy S 4 i9500 Android Development] krasCGQ:
Sorry guys,

I hope that I could do compile tonight;

Yesterday, I was asked by one of my juniors to 'reinstall' OS on her PC from Windows 7 to Windows 10 in the night (I'm using the OEM key during installation lol), so I don't have time to compile and push test builds.

I've some jobs at Reinstallation Comitee on my club's Installation Bazaar after school until 5.30 PM (UTC+8).
[Galaxy S 4 i9500 Android Development] krasCGQ:
Deleted, still FCing
[Galaxy S 4 i9500 Android Development] kongacute:
Will test when i update to FF v5. Does it support synapse?
[Galaxy S 4 i9500 Android Development] krasCGQ:
...for screen and audio...

I won't work on Synapse script until everything works well...
[Galaxy S 4 i9500 Android Development] kongacute:
[MENTION=6589753]krasCGQ[/MENTION] v4.1 test build get all apps FC then bootloop in FF v4.5.
[Galaxy S 4 i9500 Android Development] kongacute:
Still get fc with all apps with ff v5.2 and rc v7.5.
[Galaxy S 4 i9500 Android Development] krasCGQ:
I'll try to push another test builds if I could.

I'm currently playing with my ZE551ML with it's stock MM firmware LMAO
[Galaxy S 4 i9500 Android Development] forzajuve005:
Hi

I have cm12.1 on UOAH7 . can I flash this kernel ?

Thnx2u

---------- Post added at 02:22 PM ---------- Previous post was at 02:22 PM ----------

Hi

I have cm12.1 on UOAH7 . can I flash this kernel ?

Thnx2u
[Galaxy S 4 i9500 Android Development] krasCGQ:
Stop right there. CM version won't boot :/
[Galaxy S 4 i9500 Android Development] :
Thread reopened by OP request.
[Galaxy S 4 i9500 Android Development] The Joker:
So [MENTION=6589753]krasCGQ[/MENTION] bro...u got ur device i9500 back? ;)
[Galaxy S 4 i9500 Android Development] krasCGQ:
No. However, my beta build is ready :p

v5.0_b1 - Beta Release

Warning: TouchWiz ROMs only.

This isn't a final release, since I need to test things out with global users :p

For changes, track my new repo.

There's many more to-do lists before final build.

Edit: Now compiled with Linaro GCC 6.1.1 instead of Hyper 6.1.x SMxU which I used from v1.0 to v4.1.
[Galaxy S 4 i9500 Android Development] Ngadhnjim:
nice to see this thread active :good:
[Galaxy S 4 i9500 Android Development] zozoz13:
Booted, but not usable. When it got to "Optimizing apps" process, every after 30-40 apps, it's freezing and restarted. However, the process was completed just fine. Same thing happen after boot. It just freezing and restart continously.

Btw, I'm using EthanROM v4 (PG1 based).

Sent from my Galaxy S4
[Galaxy S 4 i9500 Android Development] krasCGQ:
Current status would be updated. I feel some strange things while I test things myself this morning.

Edit: My test build 7 (v5.0_b1 minus several changes) booted fine on both my device and my tester.
[Galaxy S 4 i9500 Android Development] krasCGQ:
Current news:

Seems like my source is messed up a bit, so I would restart some of my changes then.

Edit:

Seems that unstability has been fixed (DVFS related).

Edit #2:

And I couldn't test any further... :(