yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] wallefclima:
Would you like to fix the playback of video breaking from UA 9.0 through a kernel of yours? As if you were filling the playback buffer, then you do not play any more videos. Restarting device to resume playing video.
[Nexus 4 Android Development] nach0x:
thanks for all your work
[Nexus 4 Android Development] bgoel4132:
[MENTION=7970097]sudokamikaze[/MENTION] are there any plans for android pie based UA kernel as your oreo kernel was snappier than ever or will you continue to support the oreo.

The UA rom and sinai n4 combo had always been my first preference post stock rom.
[Nexus 4 Android Development] sudokamikaze:
I've already added support for Pie, videoplayback also fails, will publish later
[Nexus 4 Android Development] sudokamikaze:
Read post above, I just need to release working version
[Nexus 4 Android Development] bgoel4132:
great work [MENTION=441805]sudo[/MENTION]kamukaze
[Nexus 4 Android Development] KitsuneFoxy:
I unfortunately have issues with 7.1 and 8. Battery life and simplicity less reliance on gpu power to draw the more modern looks. But simply i dont get good battery life, it also runs very slow and gets my phone hot. Just doing basic tasks. I have only had constant good experience with marshmallow. With aicp 11 on f2fs mode (its a cm11 rom). I get 0.4 hr battery drain in doze.

I've tried many different 7.1 and 8 roms, configs, etc, all exhibit the same or different issues for me on my specific nexus 4.

But yeah, i know its a pain, but i would really love the modern tweaks and stuff for marshmallow, i know that not all the tweaks will work. Alot of our homes older devices run either jb, lolli, or marshmallow.

I know almost everyone has moved to 7/8 and now nine. But maybe one last go for us on mm6 cm/aosp.

You're the only kernel dev still active and working and has a lot of experience with marshmallow, all others stops. Id just like the lower clocks and just general improvement.

I hope that you might consider it. I am really great full for all your hard work to keep this phone rolling on to 2020!

Thank you

?
[Nexus 4 Android Development] bgoel4132:
[MENTION=7970097]sudokamikaze[/MENTION] can you please release the sinai version of pie you made inapite of those error may be we could help you provide logs, and we wanted to test it .
[Nexus 4 Android Development] Sam Nakamura:
Please don't do this! It's like an ETA and poison for development! Am sure he'd release something if he feels like it...

Thanks for understanding
[Nexus 4 Android Development] bgoel4132:
sorry i missed a word i wanted to say please release the build he made

really sorry for that typo
[Nexus 4 Android Development] sudokamikaze:
Hi there, Pie edition is uploaded, OP post is updated

Direct link: https://www.androidfilehost.com/?fid=11410932744536992231

Known Problems:

VideoPlayback/VideoRec(?) isn't working

And please, someone test Pie build on 8.1/7.1, thanks!
[Nexus 4 Android Development] bgoel4132:
Sir [MENTION=7970097]sudokamikaze[/MENTION] great work thanks a lot i will test the kernel and will report you back ASAP.

And thanks again for your consistency, that really impresses me.

???

is the pie edition only for unlegacy or i can use it with nitrogen OS too
[Nexus 4 Android Development] guigo21:
Changelogs?
[Nexus 4 Android Development] bgoel4132:
it supports pie.. ? That is what the changelog might look like.
[Nexus 4 Android Development] sudokamikaze:
I'd attach a changelog, but I only added Pie support and nothing more (yet)
[Nexus 4 Android Development] bgoel4132:
does the build support nitrogen OS too??
[Nexus 4 Android Development] sudokamikaze:
I don't know, probably it will not work, but you're free to test and report :)
[Nexus 4 Android Development] bgoel4132:
it doesn't work it had colour problems
[Nexus 4 Android Development] buacan:
I did try on NtOS Pie version. First it seemed to be ok then the srcreen solidly froze and you can not do anything .
[Nexus 4 Android Development] elfensky:
I feel a bit dumb, but how do you adjust various settings of the kernel? My only experience was years ago with franco, and that had an app from which you could adjust the governor and overclock/undervolt the cpu.

How does it work with Sinai?
[Nexus 4 Android Development] amir.susul:
i think its explained in the first post
[Nexus 4 Android Development] elfensky:
Oh, I saw "this is for advanced users" and read over it. So I need the kernel adiutor, right?
[Nexus 4 Android Development] amir.susul:
yep, thats exactly what you need
[Nexus 4 Android Development] mauriciognr:
Magisk modules not working

Hi, im using SINAI UA_19-8-2018 on Unlegacy Project OREO 20181206. When in magisk i download a module (any) and i can see the log saying the module got installed and it asks me to reboot, after rebooting i enter magisk again but there's no module installed.

Root works, kernel adiutor works, substratum + andromeda also works. Ideas?
[Nexus 4 Android Development] mauriciognr:
Well, i tried to use last zip for Nougat LOS (SINAI-N4_mako-LOS_16-8-2018) with LOS 14.1 (last build 20180427) and Magis v18k, it boots but magisk modules won't work, so same problem as Oreo Unlegacy with Unlegacy version of SINAI kernel.
[Nexus 4 Android Development] joelcool69:
Hi [MENTION=7970097]sudokamikaze[/MENTION], first of all thanks for this great kernel. It's possible to get some LOS 15.1 - 16 love? ;)
[Nexus 4 Android Development] Sam Nakamura:
Hey [MENTION=7970097]sudokamikaze[/MENTION] I'm back soon, just got another Mako in great condition to play with, it's going to be in my hands soon, hopeful DHL doesn't mess the delivery... lol

The first device unfortunately just died away my hands but it's wasn't in great shape to begin with!

Excuse me speaking OT here, I'm just excited!
[Nexus 4 Android Development] murick_show:
why did you create PIE kernel for unlegacy android if there is not Pie UA rom for nexus 4?

you created a kernel for rom that does not exist
[Nexus 4 Android Development] ze7zez:
Do not prove a false thesis, but just ask if anyone can point to the link.

ua_mako-9.0-20190120.zip

ua_mako-9-20190729-0900.zip
[Nexus 4 Android Development] KitsuneFoxy:
Wish there was a Android 6 marsh mellow kernel
[Nexus 4 Android Development] ChongoDroid:
I wish there was a Los 15.1 kernel.

It gets regular updates and 8.1 has autofill which is super convenient for me
[Nexus 4 Android Development] dj_s_021:
I installed the ROM lineage OS 16 Is this kernel compatible with this ROM?

Is it better to use a battery by installing this kernel?
[Nexus 4 Android Development] moriel5:
I personally do not have any such issues (Nitrogen OS).
[Nexus 4 Android Development] dcshallot:
Lineage OS
[Nexus 4 Android Development] hauckk@sfreserves.org:
It would probably help the development of this kernel if you provide a logcat just a suggestion;)
[Nexus 4 Android Development] moriel5:
They utilize different variants of the kernel.

Nitrogen OS utilizes the AOSP variant.

Lineage OS utilizes the LOS variant.
[Nexus 4 Android Development] dcshallot:
Lineage os = cm
[Nexus 4 Android Development] sudokamikaze:
I have same, if have free time tonight i'll fix
[Nexus 4 Android Development] moriel5:
That is correct.
[Nexus 4 Android Development] sudokamikaze:
Updated!

Check OP post for links

First boot may take some time, do not reboot!

Kernel:

Fixed sound bugs

Alucard Governor/Hotplug

Updates to Lowmemorykiller

Some updates to memory-related

Fixed reboots(Finnaly?)

Anykernel:

Disable Intellihotplug by default(when booting)

Submit any issues
[Nexus 4 Android Development] *Jonny*:
Little question^^ Do you sync with lineage os changes kernel?
[Nexus 4 Android Development] sudokamikaze:
Nope, lineageos has dropped mako
[Nexus 4 Android Development] dcshallot:
https://www.cmxlog.com/14.1/mako/

No, they re-add mako again since last week.
[Nexus 4 Android Development] sudokamikaze:
Nice!

In next week i release kernel update witg lineageos changes
[Nexus 4 Android Development] sudokamikaze:
And maybe release RR build for mako)
[Nexus 4 Android Development] hauckk@sfreserves.org:
Delete d
[Nexus 4 Android Development] dcshallot:
See below.

And here.

https://www.lineageos.org/Changelog-10/
[Nexus 4 Android Development] dcshallot:
It seems got a reboot at the midnight because I feel status of apps are reset and the wallpaper position was crooked.

Btw, so many touch boost connection refused by powerhal.

-bioshock (it's default course)

-mako hotplug(you said your kernel doesn't have something about the powerhal error)
[Nexus 4 Android Development] sudokamikaze:
touch boost connection refused is logspam

Thanks for the logs, i'll check
[Nexus 4 Android Development] dcshallot:
This morning, I was go outside for work, music lag again while switching network. Maybe your fix didn't work?
[Nexus 4 Android Development] sudokamikaze:
I merge changes related alsa and hw, i'll try something later
[Nexus 4 Android Development] dcshallot:
Big thanks! It's a huge update.
[Nexus 4 Android Development] sudokamikaze:
If you have a reboots reply here
[Nexus 4 Android Development] dcshallot:
Thanks!

I got one after using about 8 hours. But I turned off Android log to avoid log spam(I thought that might help improving performance). Unlucky.

I've I turned it on. If reboot again, I'll show you the log.
[Nexus 4 Android Development] sudokamikaze:
What is "android log" ?

It is a programm or in kernel adiutor?
[Nexus 4 Android Development] dcshallot:
In kernel adiutor-setting.
[Nexus 4 Android Development] sudokamikaze:
Strange, i dont have this option

Disable this android log option because its deprecated
[Nexus 4 Android Development] *Jonny*:
how i can control that new sound drivers? On synapse doesn't work :(
[Nexus 4 Android Development] dcshallot:
It reboot in the midnight.
[Nexus 4 Android Development] sudokamikaze:
Kernel adiutor > Sound tab
[Nexus 4 Android Development] dcshallot:
Do you have any idea to stop the touch_boost logspam? I changed every govenor and hotplug, not help.

And, the music lag fixed, thanks a lot~
[Nexus 4 Android Development] sudokamikaze:
Touchboost logspan generated by PowerHAL. And this hal implemented in device-tree, not in kernel.
[Nexus 4 Android Development] dcshallot:
Oh my lady gaga........ When you fix the reboot issue, I can turn logging off. ;)
[Nexus 4 Android Development] moriel5:
I personally have had slightly better life at slightly less performance (not anything serious) since switching over from HellsCore, and had not a single case of a rogue reboot on the Sinai kernel (although I did get two system-wide freezes on previous versons), however the one thing that bothers me, is the fact that on the Sinai kernel I have subpar WiFi reception.

With our router, I used to have near-perfect to perfect reception from a floor below, but now I have half to two-thirds recpetion from the same place.

And from our extender, I used to have a perfect signal from the room next to it (and of course from the room as it), and now I have next to no signal when I am in it's proximity (even right underneath it, in the same room), and even that only for a few moments, since it disconnects due to such limited connectivity.
[Nexus 4 Android Development] *Jonny*:
Yeah in kernel Adiutor i can do it :) All work fine but in my opinion last drivers faux was better :(
[Nexus 4 Android Development] hauckk@sfreserves.org:
No deep sleep on this kernel see screenshot :(:(

Im using elemental x CPU governor and mako hotplug

On 6-11-17aosp kernel using du mako 7.1.2 ROM CPU max set to 1026 and min set to 384 and max screen off set to 384 gpu set to 200 mhz simple governor

I'm also using naptime app to do aggressive doze and turn off sensors during screen off
[Nexus 4 Android Development] sudokamikaze:
try to use bioshock, It may work. ElementalX governor with settings merged from Hellsactive
[Nexus 4 Android Development] sudokamikaze:
dcshallot says when i removed faux123 sound lags gone
[Nexus 4 Android Development] sudokamikaze:
Strange, I didn't changed anything related to wlan, what rom you using?
[Nexus 4 Android Development] moriel5:
Nitrogen OS, from December 17...

I still haven't found time to update (or switch over to CRDroid, as I am preparing to do), since I also modify the /system partition.
[Nexus 4 Android Development] sudokamikaze:
Running Nitrogen but latest build, and wifi working without any problem
[Nexus 4 Android Development] M4rf0:
Hi, I'm using this kernel for a while, and I have problem with playing videos in firefox browser at this kernel, also with Quanta kernel. On stock kernel I don't have this problems. How it can depend of kernel?
[Nexus 4 Android Development] sudokamikaze:
UPDATED

NOW USING HELLSPAWN KERNEL SOURCES! HUGE THANKS TO spezi77

Bioshock governor, zen sched, sdcardfs improvments, custom toolchain and LZ4 Compression!

Fixed reboots, sound lags gone!!!

STRONGLY RECOMENDED TO WIPE DAVLIK+CACHE !!!

Checkout op post!
[Nexus 4 Android Development] Emandroid:
I've used the hellspawn kernel since last year and now I will install your kernel!!

---------- Post added at 07:52 PM ---------- Previous post was at 07:27 PM ----------

I used the hellsactive governor..now with this kernel what I must use in order to have a good power management? I saw that bioshock is actived, how it works?
[Nexus 4 Android Development] sudokamikaze:
Hellsactive is disabled, but if you wan't i'll bring back it

Bioshock is old governor that i loved and used on all my devices

Bioshock is A mix of ConservativeX and Lionheart. Good balance between battery savings and performance.
[Nexus 4 Android Development] dcshallot:
The music lag come back...
[Nexus 4 Android Development] dcshallot:
AudioTrack: releaseBuffer() track 0xb410f300 disabled due to previous underrun, restarting

I found many of this. Is it what the music lag caused by?
[Nexus 4 Android Development] Emandroid:
Thanks a lot... But I saw a lot of lags with Bioshock

If you can it would be a pleasure to see the hellsactive governor in this kernel :)
[Nexus 4 Android Development] sudokamikaze:
Oh shi~ i forgot to say. Then you firstboot, manually enable all cores, then enable hotplug

This u need to do when flashed

My phone runnning with bioshock without any problem
[Nexus 4 Android Development] Emandroid:
Thank you Sir! I remembered that when I flashed for the first time the spezi77's kernel, I hd a lot of lags and the phone was slow...so I changed some options with kernel auditor! I've done the same thing with your kernel and now this governor works fine;)
[Nexus 4 Android Development] sudokamikaze:
And, if you want to use hellsactive, download new build in OP post
[Nexus 4 Android Development] sudokamikaze:
What musicplayer you using?
[Nexus 4 Android Development] Emandroid:
Thank you :D
[Nexus 4 Android Development] dcshallot:
Google music player. The musics store in /sdcard/music
[Nexus 4 Android Development] sudokamikaze:
Strange, now my phone playing music without any problems, i'll look your logs tonight and try to find whats the problem
[Nexus 4 Android Development] dcshallot:
I just finish let the mobile works as daily. So many apps need to be installed. And I have to copy the musics back:crying:

Lineage OS always format /system as ext4. I forgive up.
[Nexus 4 Android Development] fajera:
Nougat AOSP BASED link are dead
[Nexus 4 Android Development] sudokamikaze:
Fixed, thanks mate!
[Nexus 4 Android Development] sudokamikaze:
Use titaniumbackup to backup your GooglePlay Music, lineageOS doesnot format /data/media partition
[Nexus 4 Android Development] dcshallot:
I turned /data to f2fs yesterday. And all files gone ?

Good night. Test music tomorrow.
[Nexus 4 Android Development] fajera:
ROM Nitrogen OS and kernel SINAI - don't work USB OTG (i have y cable)
[Nexus 4 Android Development] xenyz:
Default screen off freq limit in hellspawn is 1026 MHz, it's 702 MHz in SINAI. It could be the issue.

Nice kernel btw, I've been running it since yesterday on Fake Nexus and it runs well even with mpdecision hotplug. Anyone else using Fake Nexus, you should turn off the cpuset daemon since there isn't cpuset in SINAI.

mako:/ $ su
mako:/ # stop mpcpusetd
mako:/ #
[Nexus 4 Android Development] dcshallot:
I use bioshock, and the settings have been changed.
[Nexus 4 Android Development] dcshallot:
Things normal today. Maybe the unlucky reset yesterday made something fixed.

Here's a question personally, would the log spam kill the disk?
[Nexus 4 Android Development] YoungJumped:
Hi,i think IntelliPlug hotplug is suitable for me,but in the new version of this has been out.Can you add it back?Thank for your wrok.
[Nexus 4 Android Development] Emandroid:
What's the better hotplug?
[Nexus 4 Android Development] sudokamikaze:
I will provide build with cpuset
[Nexus 4 Android Development] sudokamikaze:
Mako hotplug
[Nexus 4 Android Development] sudokamikaze:
Ok, i'll add in next release
[Nexus 4 Android Development] sudokamikaze:
Nope, logs doesnot store anywhere
[Nexus 4 Android Development] dcshallot:
What?! So where are they? The logcat shows.. store in memory?
[Nexus 4 Android Development] sudokamikaze:
Logcats and dmesg store in kernel userspace, they like in buffer

Hellspawn and stock lineageos kernel also have this spam about PowerHAL
[Nexus 4 Android Development] sudokamikaze:
In next release i'll provide builds with cpuset, and with intellihotplug. Also i try to fix this sound problem and build with GCC 7
[Nexus 4 Android Development] Emandroid:
I put the mako hotplug but I still have lags :/

My phone is normal only with autoSMP
[Nexus 4 Android Development] dcshallot:
A reboot.......
[Nexus 4 Android Development] sudokamikaze:
Strange, my phone running with mako hotplug normally
[Nexus 4 Android Development] dcshallot:
I'm using autosmp too.
[Nexus 4 Android Development] sudokamikaze:
wtf? what did exactly happens, what you doing before reboot?

And here spezi77 device tree with patch(to kill logspam) https://github.com/spezi77/android_device_lge_mako/commit/1f046d3f2c0444633c0549c43f2b765b7693904b
[Nexus 4 Android Development] dcshallot:
If lineage OS use his patch..

I was launching coc( the coc for Chinese channel).

---------- Post added at 01:38 PM ---------- Previous post was at 01:33 PM ----------

Btw.. the log spam now is connection refused, not the directory or file not found.
[Nexus 4 Android Development] sudokamikaze:
I'll upload this patch to LineageOS gerrit
[Nexus 4 Android Development] Emandroid:
Here you can find a logcat after applying Mako Hotplug

It works only with two cores and I can't activate the third and the fourth

With autoSMP I have no problems
[Nexus 4 Android Development] sudokamikaze:
It uses 2 cores. and when phone CPU loaded it will enable 4 cores
[Nexus 4 Android Development] moriel5:
I am having occasional SystemUI restarts, but only if the device is locked for a long time, and the screen is off for that duration.

What is interesting, is that the max CPU frequency keeps getting restarted after it should enter deep sleep (I underclock to 1026Mhz), leading me to believe that this bug has to do with deep sleep.

Additionally, I had battery drain and overheating issues on HellsCore, and this bug had only appeared after the update that utilized spezzi77's arrived, so I think that this bug originates from there.

I'll post logs after I find the time to take them.
[Nexus 4 Android Development] sudokamikaze:
What rom you using?

And this is not a bug. MSM_LIMITER(In older releases we use MSM_SLEEPER) defined to 1.5GHz when resuming from sleep, if you have problems with this i revert to MSM_SLEEPER
[Nexus 4 Android Development] moriel5:
I had recently switched from Nitrogen OS to CRDroid (therefore I had also switched from the AOSP to the LOS kernel), however I had the same exact issues on both (ironically, the LOS kernel seems more stable in regards to this latest issue.

Are you sure that it's not a bug? I understand if it's supposed to go to 1.5Ghz at wake, but should it not return to my settings?

And it seems that I am mistaken about deep sleep, as SystemUI also restarts during a call if the screen is off for over ~15 seconds.
[Nexus 4 Android Development] sudokamikaze:
About SystemUI, i don't have this issue, running on NitrogenOS with latest build

Here settings for MSM_LIMITER, this will ramp frequency to 1.5 even if its downclocked.

#define DEFAULT_SUSPEND_FREQUENCY	702000
#define DEFAULT_RESUME_FREQUENCY	1512000
#define DEFAULT_MIN_FREQUENCY	384000
[Nexus 4 Android Development] Emandroid:
I was using Bioshock with mako hotplug with a lot of lags...I changed to hellsactive and magically all lags disappeared :D

When I will have more free time during the weekend I will find te solution!

I have a suggestion: I have an old Galaxy S3 with Nougat and Boeffla kernel. This kernel has a great sound equalizer, could you add it to your kernel?
[Nexus 4 Android Development] moriel5:
Thanks, but how do I configure MSM_LIMITER?

I'm actually trying to force it to go no higher than 1026Mhz, perhaps 1134Mhz.
[Nexus 4 Android Development] *Jonny*:
I don't think so because s3 have Wolfson audio chip...
[Nexus 4 Android Development] dcshallot:
Unlucky, a reboot. I was using taobao, a rubbish app but we have no choice.

It's a strange auto reboot, it stayed at the Google logo, I had wait for a while then let it power off.
[Nexus 4 Android Development] justmix4:
Wchich ROM do you use? I want try this kernel with latest Purenexus.
[Nexus 4 Android Development] sudokamikaze:
Try to use PowerAMP latest alpha
[Nexus 4 Android Development] sudokamikaze:
Strange, maybe you try to switch rom?
[Nexus 4 Android Development] sudokamikaze:
CM build just have 3 patches to fix yellow interface :D

I revert to MSM_SLEEPER
[Nexus 4 Android Development] dcshallot:
Before your kernel, I always used quanta. It's a stable kernel for lineage OS, but it doesn't have latest security updates. Then I try pure nexus, dust pixel, and another I can't remember the name.. they more or less have something situation like app compatible or battery drain. At the last I turned back to lineage OS. Until the time found out your thread. If lineage OS supported dt2w, may be I wouldn't have had huge mind to change the kernel.
[Nexus 4 Android Development] justmix4:
Can you disable this vibration on DT2W in your kernel or add option to turn off/on this? It only consumes the battery.
[Nexus 4 Android Development] *Jonny*:
Guys I do not hear my interlocutor and he me the same... Does anyone have the same problem?
[Nexus 4 Android Development] sudokamikaze:
Ok i'll disable this
[Nexus 4 Android Development] sudokamikaze:
Nope
[Nexus 4 Android Development] sudokamikaze:
I might switch to LineageOS, to due high battery drain in nitrogenos
[Nexus 4 Android Development] sudokamikaze:
Can you do this please?

Connect your phone to PC

and type: "adb shell mount"

and send output please
[Nexus 4 Android Development] dcshallot:
I think it's same as built-in terminal.
[Nexus 4 Android Development] dcshallot:
I used a ROM but forgot the name that drain too fast to charge from a power bank, maybe the output of the power too thin but it's not normal absolutely, that night I was outside in another city. The issue annoying me a lot.
[Nexus 4 Android Development] fajera:
what about usb otg? with nitrogen os don't work - not mount
[Nexus 4 Android Development] sudokamikaze:
Provide logs and i send it to nitin(cuz he maintainer of nitrogen for mako)
[Nexus 4 Android Development] sudokamikaze:
Ok, i'm building rr tonight, and try to find solution for reboot fix
[Nexus 4 Android Development] sudokamikaze:
UPDATED

Synced with LineageOS sources

Disabled vibro feedback when using d2w

Reverted to MSM_SLEEPER(Fixed bug when downclocking and blocking phone, It will ramp freq)
[Nexus 4 Android Development] dcshallot:
I'm not sure if you fix the reboot. And I just got one.

And I was using taobao at that time.

And I found that if I use browser for a long time when the phone got hotter, it may reboot too.
[Nexus 4 Android Development] *Jonny*:
Does not matter that was mod bug :eek: Try to fix sound lags and will be perfect kernel :cool:
[Nexus 4 Android Development] sudokamikaze:
Really idk what cause a reboot, maybe it overhead. I'm running nitrogen latest build and no reboots
[Nexus 4 Android Development] dcshallot:
And music lag:crying: