[KERNEL][AOSP/LOS] SINAI-N4 Kernel

bgoel4132

Senior Member
May 3, 2017
201
63
0
Delhi-NCR
Unlegacy team pushed their new build which contains my binder changes

So, I've pushed new build(link in OP post) which creates compatibility

Enjoy
thats great that you had not stopped updating this kernel
we all are very thankful for that.

---------- Post added at 04:10 AM ---------- Previous post was at 04:08 AM ----------

@sudokamikaze can you please update binders in aosp build also
 

sudokamikaze

Inactive Recognized Developer
Jan 1, 2017
375
668
0
Rivne
thats great that you had not stopped updating this kernel
we all are very thankful for that.

---------- Post added at 04:10 AM ---------- Previous post was at 04:08 AM ----------

@sudokamikaze can you please update binders in aosp build also
Enabling 64-binder requires to update device-tree. Not all maintainers want this and I'm not team member of LIneageOS/ETC
Also if you enable 64-bit binder mode in kernel and device-tree(e.g ROM) doesn't support that - you'll get bootloop

I'm only member of Unlegacy-Android & PixelDust

I've updated build as I said before I stopped development. I'll continue my work in the middle of summer or maybe in the end
 

sudokamikaze

Inactive Recognized Developer
Jan 1, 2017
375
668
0
Rivne
Hi there guys! I'm back!

Changelog:
sdcardfs updates from latest kernel_common/3.10 branch (which are already in Unlegacy's & LineageOS' kernel)
Rebased sources, I've made cleanup of unneeded & buggy changes. Now UI works smoother
Optimizations from UA's hammerhead's kernel
F2FS Updates (Probably I've already released a build with it but I don't remember exactly so I decided to mention that again)
Removed spectrum support because I don't really use it and i'm not sure that someone still using it
Ramdisk cleanup. Now kernel flasher hooks into rom better(Especially for Unlegacy-Android rom). It means that kernel settings which I've set in ramdisk will finally work.

I hope that battery drain have disappeared because my battery isn't in perfect condition

And kernel will have Android Pie support as soon as it gets ported to mako

Links are updated! Check them out!
 
Last edited:

bgoel4132

Senior Member
May 3, 2017
201
63
0
Delhi-NCR
Hi there guys! I'm back!

Changelog:
sdcardfs updates from latest kernel_common/3.10 branch (which is already in Unlegacy's & LineageOS' kernel)
Rebased sources, I've made cleanup of unneeded & buggy changes. Now UI works smoother
Optimizations from UA's hammerhead's kernel
F2FS Updates (Probably I've already released a build with it but I don't remember exactly so I decided to mention that again)
Removed spectrum support because I don't really use it and i'm not sure that someone still using it
Ramdisk cleanup. Now kernel flasher hooks into rom better(Especially for Unlegacy-Android rom). It means that kernel settings which I've set in ramdisk will finally work.

I hope that battery drain have disappeared because my battery isn't in perfect condition

And kernel will have Android Pie support as soon as it gets ported to mako

Links are updated! Check them out!
Cheers I am in a mood to throw a great party for you. Kudos to your dedication and thanks a lot.
Will report back soon after installing.
 

sudokamikaze

Inactive Recognized Developer
Jan 1, 2017
375
668
0
Rivne
Warning for Unlegacy-Android users

I've made a mistake in ramdisk configuration so you will see MPDecision & Thermald in your KernelAdiutor
And you must disable them - or you will encounter wakeup/performance/batterydrain problems. I'm working on it and I will release new build shortly
 

bgoel4132

Senior Member
May 3, 2017
201
63
0
Delhi-NCR
the latest build along with gcam tool fix and google cam version 3.2 fixed video recording for me in faie nexus rom
which was the only problem in the rom
others please confirm the same
 

bgoel4132

Senior Member
May 3, 2017
201
63
0
Delhi-NCR
the latest build along with gcam tool fix and google cam version 3.2 fixed video recording for me in faie nexus rom
which was the only problem in the rom
others please confirm the same
 

bgoel4132

Senior Member
May 3, 2017
201
63
0
Delhi-NCR
Cool! Did you encounter battery drain?
no i didn't encounter a battery drain.
everything just works fine but yesterday my phone rebooted of no cause and the camera stopped functioning completely on all apps which got fixed after a reboot
dont why this happened the same had happened earlier too but the camera was functioning properly then.
 

KitsuneFoxy

Senior Member
Dec 14, 2014
134
13
0
Leicester
Does this still cause the powerhal spam in catlog relating to touch boost when mpdecision is off? aswell as the mpdecision being unable to change cores and such? Or is that something in the rom that needs to be told to ignore?

Also checking the OP, It says to use the kernel auiditor mod, but that's really old, Will KA-mod reborn also work?
 
Last edited:

tinynja98

Member
Sep 11, 2015
28
3
0
Hello, I'm trying to install this kernel, but everytime I do, when I reboot, I get stuck on the Google screen right before the system boots. I have tried installing this multiple times on top of NitrogenOS and CarbonROM (ROM, then GApps, then Kernel), each time making sure to wipe everything (and no errors occured) except internal storage, but the same thing happens everytime (I get suck on the Google screen when I reboot). I have TWRP 3.1.2-0 installed and all the partitions are formatted as ext4 (though when I press on "format data" I get an error "unable to wipe '/data' -- unknown file system 'auto'. Unable to format to remove encryption.", I don't know if this is related?). I do not get any error during the installation. Any help would be very appreciated!
 

Sam Nakamura

Retired Forum Moderator
Dec 7, 2015
5,476
4,530
113
Landshut (Ndb.)
Hello, I'm trying to install this kernel, but everytime I do, when I reboot, I get stuck on the Google screen right before the system boots. I have tried installing this multiple times on top of NitrogenOS and CarbonROM (ROM, then GApps, then Kernel), each time making sure to wipe everything (and no errors occured) except internal storage, but the same thing happens everytime (I get suck on the Google screen when I reboot). I have TWRP 3.1.2-0 installed and all the partitions are formatted as ext4 (though when I press on "format data" I get an error "unable to wipe '/data' -- unknown file system 'auto'. Unable to format to remove encryption.", I don't know if this is related?). I do not get any error during the installation. Any help would be very appreciated!
If you try to flash this kernel on anything lineageOS based remember that the version for lineageOS based ROMs is only supported to android 7 nougat, an Oreo based kernel is only available for AOSP based ROMs.

If you followed this information outlined in the OP already and still have issues proving logs would be a great idea, TWRP has a logging feature where you can grab logs after a failed flash...

Edit: @sudokamikaze nice to see you back man! :highfive:

Sent from my OnePlus5T using XDA Labs
 
Last edited:

tinynja98

Member
Sep 11, 2015
28
3
0
Well as far as I know, NitrogenOS should be AOSP based and therefore it should work with the AOSP version of the SINAI kernel? Here are the logs as you suggested (fyi I installed NitrogenOS (2018-08-07), then OpenGApps Aroma (2018-08-21) and then SINAI N4 AOSP (2018-08-16)).
 

Attachments