yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] jollaman999:
Weird problem in recovery

There is a weird problem in recovery.

When flashing zip to installed rom. Sometimes there is no change after flashed.

I will working again with previous my work. :eek:
[Nexus 5X Original Android Development] jugoslavpetrovic:
What is wrong? Should we avoid latest twrp from your zip?
[Nexus 5X Original Android Development] jollaman999:
Yes... Sorry for now. I will re-upload soon. :crying:

TWRP in v11.2 is stable now.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Thanks.

Btw, the Christmas opening looks nice:)

Marry Christmas to you too.
[Nexus 5X Original Android Development] leolawliet:
Merry Christmas [MENTION=5996255]jollaman999[/MENTION]!!
[Nexus 5X Original Android Development] jollaman999:
Thank you. Have a nice day! :laugh:
[Nexus 5X Original Android Development] jollaman999:
Removed
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v12.4]

[bullhead-v12.4]

== Kernel ==

>> Common <<

- touchscreen: synaptics: Fix wrong endif (No real changes in kernel.)

- mdss, touchscreen: Fix wrong macro (No real changes in kernel.)

- bullhead_defconfig: Enable IP_NF_MATCH_RPFILTER (For compatibility of tethering.)

- fs: dyn_sync_cntrl: Really enable dyn_fsync by default (There was a mistake. :( )

== AIO ==

- Add dynamic fsync option

== Recovery ==

- Back to recovery source used in v11.2

(Previous recovery has werid issue that there is no changes sometimes after flashing completed.)

- Built with lastest cm-14.1 sources

- Support File Based Encryption

- MultiROM: Increase compatibility of boot.img

- jolla-kernel_bullhead_II-v12.4 applied
[Nexus 5X Original Android Development] vililintas:
How sound control works? There is boost for headphones?
[Nexus 5X Original Android Development] khanjui:
You can use any kernel manager app like Kernel Adiutor or EX Kernel Manager.
[Nexus 5X Original Android Development] pepa 77:
hi , is this the correct f2fs ?
[Nexus 5X Original Android Development] khanjui:
It is.
[Nexus 5X Original Android Development] pepa 77:
Thanks :good:
[Nexus 5X Original Android Development] mr.ace:
[MENTION=5996255]jollaman999[/MENTION] do you like merge Adaptive LMK from CAF??

And please take a look at this commits

Zen tune : https://github.com/Flash-Kernel/bullhead/commit/639b667b66047945b587e75381b1fb787dd9ffe8

(there's another patches that related to this commit)

Arch power: https://github.com/Flash-Kernel/bullhead/commit/54a2d57fd3fb240d292752ce6419179533c8205b

Random driver from 4.1.31: https://github.com/Flash-Kernel/bullhead/commit/639b667b66047945b587e75381b1fb787dd9ffe8
[Nexus 5X Original Android Development] axiel7:
Since FlashKernel is not supported, can you add the chill governor for this kernel? I only want a kernel with f2fs and chill governor:(
[Nexus 5X Original Android Development] khanjui:
Come on guys, it's his kernel, let him do his job. There is no need to things like that at all. Interactive is best and most stable CPU governor for this device.

If you really want "feature x", you are free to add it to the kernel and compile it yourself. It's not hard, you can learn it.
[Nexus 5X Original Android Development] leolawliet:
Dope :good: :cool:

Edit: Dunno why XDA is bugging out now but I tried to post a screenshot of data and cache as f2fs, thanks to your recovery and kernel.
[Nexus 5X Original Android Development] jollaman999:
Ok. Thanks.

I will check when I have time.
[Nexus 5X Original Android Development] jollaman999:
You are a real hero in this thread! :D
[Nexus 5X Original Android Development] khanjui:
I hope to be a "hero" developer like you someday. Thanks for your kind words and for your great work!
[Nexus 5X Original Android Development] nirogu325:
[MENTION=5996255]jollaman999[/MENTION] - Very tiny little issue: battery charging LED light still pulses even when at "Always On". Tested on PureNexus ROM.
[Nexus 5X Original Android Development] pepa 77:
yes, that's right
[Nexus 5X Original Android Development] jollaman999:
It's custom LED. That's expected pulse.
[Nexus 5X Original Android Development] nirogu325:
Please note I am specifically talking about Battery Charging LED and not notifications. With other kernels the LED behaves properly and stays on (does not pulse) when Always On is selected.

Sent from my Nexus 5X
[Nexus 5X Original Android Development] Lord_Flaya:
So this is just the kernel. What TWRP should I use for multirom on nexus 5x?
[Nexus 5X Original Android Development] pepa 77:
Jolla TWRP :D

http://tp.jollaman999.com/jolla-kernel_AIO-bullhead/MultiROM_Only/
[Nexus 5X Original Android Development] jollaman999:
Yes, that is expected behavior for charging LED what I did.
[Nexus 5X Original Android Development] pepa 77:
I really like the pulse when charging, thank you
[Nexus 5X Original Android Development] Lord_Flaya:
So I'm about to flash this. Then jollaman kernel. Will this TWRP work with encryption? How do I remove encryption if not?
[Nexus 5X Original Android Development] leolawliet:
Hey [MENTION=5996255]jollaman999[/MENTION]! I hope I'm not bothering you with this request, I'm new to multirom and don't exactly understand how to get it working properly, I was just wondering if you could point me to a thread with proper instructions. I appreciate everything you've done thank you :)
[Nexus 5X Original Android Development] jollaman999:
Yes, it supports encryption.

If you want to remove encryption, you should done with 'fastboot format userdata' command in fastboot mode.

Also, this will remove all of data include /data/media.
[Nexus 5X Original Android Development] jollaman999:
This thread will help you.

https://xdaforums.com/showthread.php?t=2011403
[Nexus 5X Original Android Development] jody2k:
Excellent kernel happy newyear 4 you
[Nexus 5X Original Android Development] jollaman999:
Thank you.

Happy new year! :laugh:
[Nexus 5X Original Android Development] leolawliet:
Thanks again you're the man :good:

Happy New Year!
[Nexus 5X Original Android Development] nirogu325:
So it will never stay always on and that's normal...o...k, sorry to bother you. Moving on. HNY.
[Nexus 5X Original Android Development] ndarkside93:
[MENTION=1166502]jolla[/MENTION]man99 May I ask a quick question. Is the. Zen io scheduler the original or. V2? Also, how difficult would it be to implement. Maple io scheduler. It seems to run better than Zen for. Me and seems more stable.
[Nexus 5X Original Android Development] TheLoller221:
Is Stock Rom 7.1.1 (nmf26f) compatible with f2fs?

And which partition can i format with f2fs?

Sorry for my english :P
[Nexus 5X Original Android Development] ulxerker:
Yes, data and cache. Attention: all personal data and settings get lost.
[Nexus 5X Original Android Development] jollaman999:
I don't know about all of IO schedulers. I think best stable IO schedulers are NOOP, CFQ, SIO and BFQ.

And according to various users tests, BFQ is the fast IO scheduler for multitask.
[Nexus 5X Original Android Development] jollaman999:
Unofficial LineageOS uploaded

I just downloaded all of LineageOS sources and tried to build.

Here is new LineageOS for our bullhead!

Kernel source and device source are used from my github.

Try it! :laugh:

http://tp.jollaman999.com/LineageOS_Unofficial/
[Nexus 5X Original Android Development] pepa 77:
hello , this is CM which ends ?
[Nexus 5X Original Android Development] jody2k:
Jeppp
[Nexus 5X Original Android Development] zurik:
R.I.P CM, Hello LineageOS

---------- Post added at 03:39 PM ---------- Previous post was at 03:36 PM ----------

We can dirty flash over 31/12 build of LineageOS from razorloves?

Edit: Dirty Flashed the ROM over 31/12.
[Nexus 5X Original Android Development] mr.ace:
Zen version using in this kernel is v2 and Zen was very faster than maple in my tests
[Nexus 5X Original Android Development] mr.ace:
removed
[Nexus 5X Original Android Development] mr.ace:
I found a bug on this kernel when device go to suspend state kernel automatically disable ksm and don't enable it when in resume state

And maybe this commit introduce this bug

https://github.com/jollaman999/jolla-kernel_bullhead/commit/0f90251a487de4ed854c2e121a673fe6ce119a97
[Nexus 5X Original Android Development] leolawliet:
Is it normal for the recovery to take 3 to 5 minutes to boot? It was never like this before I tried Multiboot, but even after removing Multiboot my recovery still boots up excruciatingly slow.
[Nexus 5X Original Android Development] jollaman999:
Okay, I will check it. Thanks.
[Nexus 5X Original Android Development] jollaman999:
Usually it takes about less than 30 seconds.

How about to try factory reset..? :confused:
[Nexus 5X Original Android Development] mr.ace:
[MENTION=5996255]jollaman999[/MENTION] sorry for bothering you with my requests but there's some hw binder patches in racer and flash source do you like take a look at this patches??(my research show this patches can reduce lags)

And just remember you about something requested in past

(Random 4.1,arch power,Zen tune)
[Nexus 5X Original Android Development] leolawliet:
I'm going to try that later. I know, this is really strange. I had a feeling it wasn't supposed to take that long.
[Nexus 5X Original Android Development] jollaman999:
I will merge random patches and ARCH_POWER.

But I don't want to merge zen tune.

And, hw binder is not yet supported by Android. It only implemented in Google's master branch in framework_base.

So I didn't merge yet.
[Nexus 5X Original Android Development] Mrcactuseater:
[MENTION=5996255]jollaman999[/MENTION] I just flashed your kernel and I have to say I am impressed already with what feels like fluidity on a new level! I have but only one request / question and that is how you feel about the toolchain you use to compile the kernel? Have noticed a handful of Devs switch over to the new Under 6.3.X, which has a selection of Linaro pieces added in and I was wondering if you could have a look? I know a lot of people say you can't notice the difference but I think it's noticeable 'enough' with this release
[Nexus 5X Original Android Development] jollaman999:
I'm using Linaro's official toolchain binaries. I will wait until Linaro releases the new version. Linaro's recent version is 6.2.1.
[Nexus 5X Original Android Development] Mrcactuseater:
I was thinking more along the lines of this TC https://gitlab.com/Flash-ROM/aarch64-linux-android-6.x but alas I will acknowledge your choice ?
[Nexus 5X Original Android Development] jollaman999:
Thanks. :)
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v12.5]

[bullhead-v12.5]

== Kernel ==

>> Android 6.0.1 <<

- msm: vidc: Merge some error check and memory related commits from Nougat

>> Common <<

- Built with with Linaro gcc 6.2.1-2016.11 (release)

- ksm: Save 'ksm_run' value changed by user

- Merge some error check and memory related commits of CAF from LineageOS/android_kernel_nextbit_msm8992

- random: Backport driver from 4.1.31

- arm64: Fix some error checks

* ARCH_POWER not enabled - See https://github.com/jollaman999/jolla-kernel_bullhead/commit/091aa72394f9da9401a1bb6de57cd1ee4c1afd05

== AIO ==

- Remove MultiROM encryption directory before repacking the ramdisk

- MultiROM: Change build base to LineageOS/cm-14.1

- MultiROM: Support 4x4, 5x5 and 6x6 patterns

- MultiROM: Reboot to recovery when failed to mount data

- MultiROM: Add 'Reboot to Recovery' button on 2nd boot

- MultiROM: Merge vold's cryptfs to trampoline_encmnt (Faster decryption)

== Recovery ==

- Change build base to LineageOS/cm-14.1

- MultiROM: 1080x1920: Adjust size of pattern and dots

(We can't handle 5x5 and 6x6 patterns.

Because pattern size is too small and dots are too big!

Increase pattern size and decrease dots size.)

- jolla-kernel_bullhead_II-v12.5 applied
[Nexus 5X Original Android Development] leolawliet:
[MENTION=5996255]jollaman999[/MENTION] somehow the issue I had with the long bootup time resolved itself after I deleted my TWRP folder in my storage. My guess is I might've mixed up some conflicting stuff when I copied the old files into this directory.
[Nexus 5X Original Android Development] jollaman999:
Finally! Wait for source! :laugh:
[Nexus 5X Original Android Development] Lord_Flaya:
What's the most suitable manager for this kernel?
[Nexus 5X Original Android Development] khanjui:
Both EX Kernel Manager and Kernel Adiutor is fine. Depends on personal preference.
[Nexus 5X Original Android Development] tuhinxp04:
Source Released Sir...take a look on Google Git android 7.1.1 r0.17 for bullhead
[Nexus 5X Original Android Development] jollaman999:
Yes, merged! Will release soon. :laugh:
[Nexus 5X Original Android Development] mr.ace:
[MENTION=5996255]jollaman999[/MENTION] I have a important question,why your kernel is laggy??If you try Flash kernel you will understand what I'm saying and my settings was same in both kernel
[Nexus 5X Original Android Development] jollaman999:
You are requesting so many times for each devs. Try to build your own kernel if you want your functions.
[Nexus 5X Original Android Development] jody2k:
Maybe its your settings bcause i only having buttery smoothness with this kernel
[Nexus 5X Original Android Development] Smultie:
I don't like the general tone in which [MENTION=6998415]mr.ace[/MENTION] posts his 'requests', but I do agree with his observation that Flash Kernel (RIP) feels lot smoother.
[Nexus 5X Original Android Development] :
please stop saying things like that. what if youre the developer and someone says things like that to you, what would you feel? just be thankful he's doing his best. :) maybe its your fault it's not smooth because i think this is the first time someone reported slowness from this kernel.
[Nexus 5X Original Android Development] leolawliet:
It's because of posts like this that good developers feel underappreciated.... You come off as a rude and disrespectful person with your tone, you might want to choose your words a little more carefully before making any requests, I'm sure others already recognize you for being demanding and irksome.

Not all kernels function the same, if you really are so dissatisfied with the work put into this kernel or any other kernel, then please by all means build your own kernel. Nobody is really obligated to respond to you and do all of the work for you. If you think there's something wrong, maybe you should learn how to compile from source.

Also, I've never once experienced any lag with Ex Kernel, so I would suggest you double check on what you did on your end. You blaming [MENTION=5996255]jollaman999[/MENTION] is preposterous.
[Nexus 5X Original Android Development] jody2k:
Also i want to add making comparisons with other kernels in terms of smoothness or whatever is not only rude but also very subjective
[Nexus 5X Original Android Development] mr.ace:
[MENTION=5996255]jollaman999[/MENTION] I will not forgot about your work for porting blu_active from 3.18 or screen off volume control

You're most skilled developer in nexus5x but i just like make this kernel better and better than others kernel

And sorry if I bothered you
[Nexus 5X Original Android Development] jollaman999:
I also apologize for my attitude.

Thank you for your continuous support.

I will compare other sources with my source.
[Nexus 5X Original Android Development] Midomad:
I heard only good about you're kernel!

I will try ASAP.
[Nexus 5X Original Android Development] jollaman999:
[bullhead-v12.6]

[bullhead-v12.6]

== Kernel ==

>> Common <<

- Applied Google January security patches

== Recovery ==

- jolla-kernel_bullhead_II-v12.6 applied

* Android 7.0.x-7.1.0 Kernel will be remove after v13.0.
[Nexus 5X Original Android Development] tuhinxp04:
You mean the kernel only support 6.0.1 and 7.1.1 right...?
[Nexus 5X Original Android Development] jollaman999:
Yes, right.
[Nexus 5X Original Android Development] tuhinxp04:
Thanks Sir..!! 7.0.x is useless now..!!
[Nexus 5X Original Android Development] Lord_Flaya:
Normal increase of battery drain after upgrading to new kernel version. :)
[Nexus 5X Original Android Development] jugoslavpetrovic:
V12.6 missing on a list for download?
[Nexus 5X Original Android Development] Stevica Smederevac:
No
[Nexus 5X Original Android Development] jugoslavpetrovic:
Thanks. Its wasnt showing it on my side, I had to do open with another web browser to see it.
[Nexus 5X Original Android Development] Lord_Flaya:
Or use Jolla updater app or multirom manager app. :D
[Nexus 5X Original Android Development] jollaman999:
I also noticed this problem in the morning. :(

Let me check what's going wrong...
[Nexus 5X Original Android Development] edoardotavecchio:
I've noticed it too.
[Nexus 5X Original Android Development] jollaman999:
It seems random patch that was recently added makes battery drain.

I will revert it.
[Nexus 5X Original Android Development] jollaman999:
[bullhed-v12.7]

[bullhed-v12.7]

== Kernel ==

>> Common <<

- Revert 4.1.31 random patches

== Recovery ==

- Get cryptfs from cm-14.1 vold (Faster decryption)

- jolla-kernel_bullhead_II-v12.7 applied

* Android 7.0.x-7.1.0 Kernel will not be remove by users request.
[Nexus 5X Original Android Development] Lord_Flaya:
Just flashed it. Will report back with screenshot later. ;)
[Nexus 5X Original Android Development] Mrcactuseater:
Anyone else not able to access the site?
[Nexus 5X Original Android Development] Lord_Flaya:
First run since flashing new kernel.

Will give it a full charge over night and post once more tomorrow, to give it fair rating. :)
[Nexus 5X Original Android Development] Stevica Smederevac:
Anyone experiencing quite a bit of graphical glitches?

As fasr as site goes, inaccessible at the moment
[Nexus 5X Original Android Development] mr.ace:
Yes there's some graphical lags
[Nexus 5X Original Android Development] jugoslavpetrovic:
Yup
[Nexus 5X Original Android Development] jollaman999:
What is the problem?
[Nexus 5X Original Android Development] jollaman999:
It seems server is down.

I can't fix it right now cause I'm not in my home.

Here is alternative link.

https://drive.google.com/folderview?id=0B6g4DsrPqTtjcnRfMWJnR3luMjQ
[Nexus 5X Original Android Development] Mrcactuseater:
[MENTION=5996255]jollaman999[/MENTION] so I have more questions for this evening! Firstly on adreno idler and what you think of it / why it isn't added, especially with arter working more on it and display-state awareness being implemented by Joe maples. Secondly, how do you feel about including frequencies between 960mhz and 1248mhz as it is such a large jump in power and performance usage?
[Nexus 5X Original Android Development] Stevica Smederevac:
For me, while scrolling it's jumping like rendering over and over again. Uf, not the best explanation:laugh:. Maybe someone can say it better.

Could be only on my side since no one is reporting except one more guy
[Nexus 5X Original Android Development] :
Are you sure its the kernel? Or maybe its the app itself that is lagging or badly coded?
[Nexus 5X Original Android Development] Stevica Smederevac:
No, it's not the app because i experienced it everywhere. It's gone now. It happened on interactive with 3 different popular profiles. I changed it to Despair's governor and it's gone now. Could be coincidence but I'll keep looking. I am sure it's on my end but can't pinpoint yet or it was one time thing.
[Nexus 5X Original Android Development] Lord_Flaya:
[MENTION=5996255]jollaman999[/MENTION], as promised, here are my screenshots.

Good enough for me, and when I use my phone, I put heavy stress on it. :D
[Nexus 5X Original Android Development] jollaman999:
It looks good! :D

Thanks. :good:
[Nexus 5X Original Android Development] jollaman999:
I saw no big difference when using Adreno idler in bullhead.

I was implemented before and no more add it.

But I didn't saw maple's commit. I will check.

Add more frequency between 960 and 1248 looks good.

I will consider.
[Nexus 5X Original Android Development] Mrcactuseater:
If you need any help locating commits, my github skills are average! But yes I'm glad you agree with me on the second option, I think of done properly, by a Dev like yourself, we could see some real gains.
[Nexus 5X Original Android Development] jollaman999:
Yes, could you give me some link? I can't find it. :confused:

Thanks.

Edit: Find it from frap129/angler
[Nexus 5X Original Android Development] mr.ace:
Do you get my PM???
[Nexus 5X Original Android Development] jollaman999:
Yes, I'm also checking flash commits.

Sorry for late respond.
[Nexus 5X Original Android Development] jollaman999:
[Recently works...]

- Tried to add 1104Mhz clock.

Frequency is added to frequency table normally and it can set as target max/min frequency.

But the clock is not go to 1104. It only goes back and forth between 960 and 1204.)

- Considered to add under clock.

Current min frequency is 384MHz. And according to this commit, around 300MHz is not suitable for msm8992.

https://github.com/jollaman999/jolla-kernel_bullhead/commit/64675b3199105e25d3151be1d7fdb1740741d1b7

(And, Yes, it looks big cluster's 633MHz power consumption is same as 384MHz.)

- I will add Idreno Idler and get some patches from Flash kernel. Thank you for all of supports.
[Nexus 5X Original Android Development] Mrcactuseater:
Excellent news about the intermediate frequency, but from I gather from your post are you saying that the governor didn't use it? Do you think if it was included into the target frequencies it would hit it? Testing needed lol!

About the adreno idler, more good news!
[Nexus 5X Original Android Development] jollaman999:
Tested with performance governor and also set both min and max frequency to 1014MHz.

But no luck. :(

If I set both min and max frequency to 1014, frequency is stop at 960MHz or 1248MHz.
[Nexus 5X Original Android Development] Mrcactuseater:
Could you compare against it against other kernels, like the Nexus 6 where Devs added freqs in between freqs?
[Nexus 5X Original Android Development] jollaman999:
Which kernel? Could you give me some links?
[Nexus 5X Original Android Development] jollaman999:
Duplicated.
[Nexus 5X Original Android Development] zurik:
I don't know if it's ROM bug related or Kernel related, when I put my finger to the fingerprint sensor, sometimes it not work, unlimited vibration when I put my finger to the Fingerprint and need to make restart the device. When the device rebooted, the Fingerprint didn't work. Works only when I set new finger ...

Jolla kernel 12.7 with lineage os
[Nexus 5X Original Android Development] Mrcactuseater:
https://gitlab.com/apophis9283/Singularity/tree/Singularity I believe this one does.
[Nexus 5X Original Android Development] jollaman999:
Thanks for the link. But I can't figure it out cause device tree sources are different.

Also it seems only working added frequencies are under clocks or over clocks.
[Nexus 5X Original Android Development] Lord_Flaya:
http://unix.stackexchange.com/quest...d-cpu-frequency-governors-to-the-linux-kernel

This might help

https://www.google.se/amp/s/pietrot.../how-to-add-a-cpufreq-frequency-governor/amp/

Or this
[Nexus 5X Original Android Development] Mrcactuseater:
Well unfortunately I can't help you much more, maybe flar or despair could help you more?
[Nexus 5X Original Android Development] jollaman999:
Thank you. But it's not related with governor.

Thank you anyway. I'll try again then ask to some devs.
[Nexus 5X Original Android Development] Mrcactuseater:
Good luck my friend!
[Nexus 5X Original Android Development] edoardotavecchio:
[MENTION=5996255]jollaman999[/MENTION] could It be a good idea re-adding msm_hotplug in this kernel? I think It could be useful for power-saving purposes, even if, as all' developers said, leaving every core online shouldn't have a big impact in battery life compare to the loss of smoothness (as you know, hotplugging can cause a little latency, even if in my experience in flash kernel I've never experienced any type of negative effect by enabling it)

Edit: By the way, maybe you didn't notice it but rachanta updated power saving workqueues driver in latest build, maybe it could be useful for your kernel too
[Nexus 5X Original Android Development] jollaman999:
Maybe it's related with Live Display.

I tried to fix race condition. But it seems not fixed cleary.

I will fix it or revert it.