yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] HTC_HDD:
Im using b5.9 Breadcrumbs and Bunnies
[Nexus 4 Original Android Development] :
Kernel or UKM Issues

Not sure whether or not to post this here or at [MENTION=5658634]apb_axel[/MENTION] 's thread because I'm uncertain if it's UKM or kernel related

UKM 3.2

Randomly don't have ✔ or X while Synapse settings have made changes randomly (see Attachment 1)

When I do revert the changes manually to what they were before CPU Min Frequency crashes (see Attachment 2)

Stated previously by others, while restoring settings, it crashes Synapse and at times some of the settings don't stick :confused:

Created multiple profiles to test this theory out, Z-RAM is one of those that consistently has to be reset along with build.prop tweaks to Google DNS

Testing on UKM 3.3 commencing...

Android L (LPV81) mako Port Beta 5.9 by [MENTION=1050103]sykopompos[/MENTION]

[MENTION=1316336]defconoi[/MENTION] -kernel-mako-lpv81-beta80u
[Nexus 4 Original Android Development] Kirpman:
Hi thanks for the great work.

I don't know if my issue is Kernel related or UKM. Anyway when Try to enable Sweep to wake and press "OK" button in synapse then it gets automatically disabled...

Can anyone help?

Thanks
[Nexus 4 Original Android Development] dr_iggy:
Disable sweep2dim first.
[Nexus 4 Original Android Development] djtnh:
[MENTION=1316336]defconoi[/MENTION], look what good results are (Y)

Sent from my Nexus 4
[Nexus 4 Original Android Development] Almayce:
I woke up today and no new kernel update. Someone should check up on defconoi, maybe he's held hostage or something :D
[Nexus 4 Original Android Development] djtnh:
just to delete them and save the file ?
[Nexus 4 Original Android Development] Kirpman:
I did that. still sweep2wake is disabled. :/
[Nexus 4 Original Android Development] buru898:
I wish twrp did it automatically. I'm no developer but I believe there is a script you can run during recovery that checks the file system and edits the fstab accordingly.

I could be completely wrong though.
[Nexus 4 Original Android Development] :
Answered Again

Search is your friend [MENTION=3514006]Kirpman[/MENTION]
[Nexus 4 Original Android Development] Kirpman:
It sure is :D (Y)
[Nexus 4 Original Android Development] pables123:
Call 911 or report it to the police.:)
[Nexus 4 Original Android Development] user1408:
Synapse 3.3.1 isn't looking the the same as the screenshot of the main version. Maybe has something related to unleashed-80u ?

Also I am experiencing very low battery life (even lower than Stock Kitkat 4.4.4 with original kernel) Something is weird ?

EDIT: Is F2FS better and can it be implemented in L for example using unleashed ?
[Nexus 4 Original Android Development] aviz1911:
Yuppiee it's moved to Original development section :D

Time to celebrate [MENTION=1316336]defconoi[/MENTION] :highfive:
[Nexus 4 Original Android Development] sykopompos:
Now I just need to move there :p
[Nexus 4 Original Android Development] pables123:
Now im lost which way is it? [emoji12]
[Nexus 4 Original Android Development] aviz1911:
You both deserve Original Development bro's :D

BROFIST :good:
[Nexus 4 Original Android Development] buru898:
F2FS is years better. I don't use L because I like extra rom features, but I'm sure you could make L compatible. Maybe.
[Nexus 4 Original Android Development] sykopompos:
I think ports aren't considered original development though even though they the L's on different devices could be considered a mix of the 2 since they are aosp and preview at this point plus tweaking

---------- Post added at 10:06 AM ---------- Previous post was at 10:05 AM ----------

I've never looked into f2fs and really don't know much about it but I can't see it being that difficult to do but without some source it might be
[Nexus 4 Original Android Development] aviz1911:
I'm talking about the effort, time and hard work you guys put into the L-port. Isn't it enough to move it from Dev to ODev ?? :D

Lets move it already :fingers-crossed:
[Nexus 4 Original Android Development] sykopompos:
That's up to a mod to decide something like that. I probably wouldn't even notice myself. Doesn't matter to me where it is at though, I'm just said [MENTION=1316336]defconoi[/MENTION] left me for brighter pastures :(
[Nexus 4 Original Android Development] HTC_HDD:
Hey,

Im getting still kernel_panic reboots.

Android L 5.9 with 80U, uv, intelliactive. Nothing else changed.

2 Logs attached.

Hope you guys can help
[Nexus 4 Original Android Development] buru898:
[MENTION=1316336]defconoi[/MENTION]

What about this for the F2FS fstab generator?

https://github.com/figue/selectable_f2fs_script/blob/master/smart-fstab-generator.sh

Could that be a way to enable your kernel to work with both EXT4 and F2FS?
[Nexus 4 Original Android Development] sykopompos:
Does anything need to be done system side though to support it?
[Nexus 4 Original Android Development] defconoi:
this is a hw error due to voltage settings, adjust your voltages
[Nexus 4 Original Android Development] defconoi:
I'll be working on F2FS soon ;)
[Nexus 4 Original Android Development] buru898:
I'm no developer, but what I

think

I know is that there are some F2FS commits you have to use, in addition to that. The best person to ask would be [MENTION=2002216]jolinnard[/MENTION] due to him converting many popular kernels to F2FS already.

EDIT:

Actually, all you have to do is add that file in, and update the updater-script.

Attached is a working F2FS kernel for CM-based ROMs. Not sure if it'll work for ext4, in theory it should, but I'm not going to convert back to ext4 just to test.

I have been mistaken D:
[Nexus 4 Original Android Development] defconoi:
did you test this? If so thanks ;)
[Nexus 4 Original Android Development] defconoi:
I have not added F2FS support because I was unsure if it would stay compatible with ext4 and android L, but the kernel has the required commits to use F2FS, just not the update script yet
[Nexus 4 Original Android Development] sykopompos:
Well I don't know if we could actually use the commits up in the system but from what I can tell, it looks as long as we don't try to convert the radio on L, we should be able to go f2fs.

A lot of people have been asking for it
[Nexus 4 Original Android Development] buru898:
I wouldn't have posted it if I didn't flash it myself :p.

Usually when I'd flash your kernel, it would stay stuck at the Google logo. But by adding that script and just adding a line or 2 to the updater-script it's working now :D

I figured you already put the F2FS commits, which is why I tried to troubleshoot it myself.
[Nexus 4 Original Android Development] defconoi:
****, just realized 80u has F2FS disabled, Im releasing a new release with F2FS enabled, may have to re-edit init script
[Nexus 4 Original Android Development] buru898:
Hahaha and as you say that I go to check the kernel and it didn't even flash anything.

I should have checked that first, but usually flashing your kernel leaves me stuck at google logo, so I got excited when it booted past that.

I'm off work today so hopefully if it's as easy as just editing the updater-script, I'll try and find the solution.
[Nexus 4 Original Android Development] defconoi:
80u-R2: (experimental)

ion-storm - Update to 80u-r2
ion-storm - lower i2c bus freq to 100000 from 384000
ion-storm - ARM: dts: msm: i2c: change clock rate to 19.2 MHz
Uwe Kleine-König - uio: provide vm access to UIO_MEM_PHYS maps
Bongkyu Kim - of/i2c: check status property for i2c client
myfluxi - msm: rq_stats: Calculate load based on current freq limit
Sahitya Tummala - mmc: core: Fix NULL pointer dereference issue with mmc_blk_reset()
Asutosh Das - mmc: core: remove duplicate code in mmc_rescan
Jaganath Kanakkassery - Bluetooth: Fix invalid length check in l2cap_information_rsp()
ion-storm - Bluetooth: Remove unused hci_le_ltk_reply()
Johan Hedberg - Bluetooth: Fix missing length checks for L2CAP signalling PDUs
Pranav Vashi - Bluetooth: Cancel power_on and power_off work
Guojian Chen - cpuidle: remove cross-cpu IPI by new latency request.
Daniel Lezcano - cpuidle: make a single register function for all
ion-storm - arch: arm: mach-msm: Changed to pull up the ap2mdm_status pin 50 ms later than the modem is powered on.
yi-hsin_hung - arm: arch: mach-msm: Disable the mdm2ap_pbl_ready pin after mdm is now ready for the tcxo shutdown power state
ion-storm - update version to 80-r1
ion-storm - update updater-script
ion-storm - enable f2fs, AIO optimizations
ion-storm - Add missing AIO_OPTIMIZATION config
Alucard24 - f2fs: data: AIO optimization compatibility fixup Signed-off-by: Paul Reioux <reioux@gmail.com>
ion-storm - Add missing AIO_OPTIMIZATION config

This version now has F2FS enabled, AIO optimizations and expirimental i2c Bus clock frequency downclock for more battery savings, im unsure if this will cause stability issues, but the chipset supports it, upstream CAF code uses the frequency I chose and I used that as a reference.

AOSP\L

CM11

I have provided a seperate flashable zip to swap your fstab.mako with your version(you will need to edit this) almost all roms have different fstab/partitions set up. Just replace kernel/fstab.mako and flash after your done with your partition edits, it will then enable F2FS:

Fstab Hotswap:

Download
[Nexus 4 Original Android Development] sykopompos:
Do me a favor when you try that and we off you can use it on L, I'm quite curious now
[Nexus 4 Original Android Development] defconoi:
your updater-script mounts dont allow F2FS if i am correct, I think you need to call busybox to do the mounting and unmounting, and remove the ext4 format line
[Nexus 4 Original Android Development] sykopompos:
I think I'm gonna add busybox in. What is the recommended busybox that everyone was using on L?

We can try a f2fs version though
[Nexus 4 Original Android Development] defconoi:
im using stericson in my kernel
[Nexus 4 Original Android Development] sykopompos:
Then we will use that. What's needed to merge it into the system?

Also, twrp and cwm have built in busybox so they would handle the mounting and conversion so I don't think we need it in the system but enough people have asked about it
[Nexus 4 Original Android Development] defconoi:
The ROM needs an auto f2fs fstab script that needs to be modified for L to Mount the partitions as ext4 or f2fs if its detected. Their is a few f2fs compatibility threads that has instructions in the general section.
[Nexus 4 Original Android Development] buru898:
Well I'm at a loss again.

When I flash your kernel I always get stuck at google logo, but when I add the fstab script and edit updater-script to use it, the phone boots but your kernel doesn't flash?
[Nexus 4 Original Android Development] sykopompos:
Alright. I will have to look later on at that. The stock l port kernel doesn't have f2fs support though, right?

Anyways it is nap time. I can edit the fstab to handle and detect f2fs easily enough if I know what is needed and we can try it with your kernel right after the test ROM flash to see if it will work because enough people want it.

I'm gonna be cleaning the updater scripts up tonight since there is a lot of unneeded crud in there. I wonder if I can get rid of the set metadata crap too
[Nexus 4 Original Android Development] defconoi:
Added an Fstab swap script to flash to enable F2FS support, you must edit the fstab.mako file to which partitions have F2FS, and the fstab must match your rom's so pull your fstab and use that instead change ext4 to f2fs
[Nexus 4 Original Android Development] a g bell:
At defconoi getting the strange reboot issues again on latest build with bread crumbs don't know about these logs might not be any good but anyway https://www.dropbox.com/sh/0fwnh1lmtzg107p/AABrtmEGsjFHShAM-Rc_w0Mma?dl=0

Thanks?
[Nexus 4 Original Android Development] user1408:
How-to guide for doing that on android L ? First flashing the howswap, then edit what, then flashing your kernel or what?
[Nexus 4 Original Android Development] defconoi:
flash 80R1, this is related to the expirimental thing I added, will revert that now
[Nexus 4 Original Android Development] buru898:
I'm slightly confused too ;p
[Nexus 4 Original Android Development] user1408:
[MENTION=1316336]defconoi[/MENTION] Sorry for the multiquote, but we all need an explanation on how to convert the L 5.9 and use these files. Can you explain us please?
[Nexus 4 Original Android Development] defconoi:
meh.. just wasted a few hours trying to get F2FS working, i've never used it before, it seems like every rom I use it formats f2fs back to ext4, isnt there a recovery that ignores the format ext4 line and keeps it as f2fs? It seems like I gotta jump through hoops to get f2fs working. I may be keeping F2FS out until its widely supported.
[Nexus 4 Original Android Development] a g bell:
Tba l don't understand why people want less stabillity
[Nexus 4 Original Android Development] buru898:
There are plenty of kernel developers that have support for both F2FS and EXT4 with just one zip. I use hellsdoctor and there's nothing that needs changing if you're flashing it on either file system. I'm sure one of the other kernel devs could help you out if you were really interested.

But being on F2FS is like being on art but twice as fast. It's definitely worth it, and when people try it, they tend to never go back to EXT4.

The modified TWRP for F2FS only allows changing file systems on the go, and properly formatting cache/data/system based on what file system you're on.
[Nexus 4 Original Android Development] spider623:
f2fs patch break 3.4 kernel updates, he will have to manually re patch everything for every update, it's not that easy
[Nexus 4 Original Android Development] defconoi:
what rom can I flash that wont reformat f2fs to ext4?
[Nexus 4 Original Android Development] buru898:
OOHH! You're talking about ROMs now. Oh I read that one wrong :x.

Actually, you have to convert all ROMs over to F2FS. You can either do it the more annoying way or shell out some moneys and do it on the fly super easy awesome fast way.
[Nexus 4 Original Android Development] defconoi:
already bought that app ;) , i'll try it again, right now im redoing the f2fs in the kernel with some updates.
[Nexus 4 Original Android Development] buru898:
Sounds awesome :D I can't wait!

Be careful though; once you're on F2FS, you won't go back :o. I use Nameless ROM, it's great.
[Nexus 4 Original Android Development] Almayce:
Question : difference between ondemand and ondemandplus. Is one of them from semaphore? I'm asking coz the semaphore one might go well with his hotplug :)
[Nexus 4 Original Android Development] defconoi:
ok i finally got f2fs fully working, I made some derps somewhere along the way, expect no problems in a little bit ;)
[Nexus 4 Original Android Development] buru898:
Wooo I love you moar nao!!

So how do you like F2FS?
[Nexus 4 Original Android Development] defconoi:
Not bad, not sure if I notice a difference just yet, will try some benchmarks
[Nexus 4 Original Android Development] user1408:
Keep us up posted about L, and what exactly do we need to do to run it.
[Nexus 4 Original Android Development] buru898:
So when I turn my screen off, and back on, the min and max cpu frequency jumps to 81mhz in synapse. When I also try to save settings for max cpu with anything lower than 1.2ghz I get a seekbar error :[
[Nexus 4 Original Android Development] :
F2FS vs EXT4

Beat you to it except mine is with CPU Min Frequency

What are the +/- of F2FS vs EXT4?
[Nexus 4 Original Android Development] user1408:
Hello, Android L users, what do we do do enable this??
[Nexus 4 Original Android Development] sykopompos:
Relax and wait till it is worked out
[Nexus 4 Original Android Development] user1408:
shhhh :)
[Nexus 4 Original Android Development] defconoi:
Not happening for me, flash latest ukm and clear synapse data and reboot
[Nexus 4 Original Android Development] jackielam1997:
Anyone can use otg?

My otg works on hellcore but fail on this [MENTION=1316336]defconoi[/MENTION]
[Nexus 4 Original Android Development] ralphreyes:
Hi [MENTION=1316336]defconoi[/MENTION] First I'd like to thank you for your kernel and all the work you're doing for the community...I've been seeing your thread come up the last few days and finally decided to try your kernel due to the f2fs support finally working so I tried it but I can't get past the boot animation... It just reboots. I see the Google logo then purity animation then reboot. I'm on purity all-f2fs 8/29 and currently using hellsdoctor25.

Another question... Are the overclocks set by default? I'm thinking my phone can't handle the 1.9ghz and if I can set it to 384/1512 that would probably be best.
[Nexus 4 Original Android Development] buru898:
I cleared synapse data, uninstalled it, reflashed rom, kernel, and ukm, and I still get that same error. It's like it only likes 1.5ghz.... I'm on nameless rom if that matters.

Reflash your rom, then this kernel, then ukm. When coming from certain kernels you have to flash the kernel that came with your rom, which is why you flash your rom again, before you flash a different kernel.

Oh you did beat me to it :o
[Nexus 4 Original Android Development] ralphreyes:
Hi [MENTION=883070]buru898[/MENTION]... I tried just like you said... I reflashed the ROM with its kernel... Waited for reboot to finish... Went back into recovery and flashed the kernel and same thing happens, reboots during the boot animation. I also tried clearing synapse settings before. I even flashed the hd uninstaller and ukm uninstaller zips. Hope I wasn't overdoing it. :P
[Nexus 4 Original Android Development] defconoi:
check otg in synapse to enable it
[Nexus 4 Original Android Development] defconoi:
AOSP version updated, missed a few commits related to logger/lowmemory killer, merged with CM11 version

https://www.androidfilehost.com/?fid=23622183712464414
[Nexus 4 Original Android Development] defconoi:
New intelliPlug update with new CPU boost driver coming soon :)
[Nexus 4 Original Android Development] leather.face:
Hi defconoi :) ... Thanks for your great work here :good: and I use since 4 hours this kernel but I have a problem ... My device was earlier for a while in the sleep modus and I have then wake up my phone but I must to re-enter my PIN for the provider ... Is this normal or have other users also these problems???!!! Thanks for your help and I wish a good evening :D ...

Best regards

leather.face

PS: I use the Purity rom by DariosF ...
[Nexus 4 Original Android Development] 0.0:
Input, meaning, touch input? If so, shouldn't the minimum be 0 for those who want it disabled?
[Nexus 4 Original Android Development] defconoi:
It is, I was just testing it :)
[Nexus 4 Original Android Development] defconoi:
Ultimate Unleashed Kernel Series Update

Changelog:

New Neobuddy89 IntelliPlug 5.0 updated with latest CPU Boost Driver!

intelli_plug: Optimize cpu_down and stop butchering

* In current scenario, if CPU is down locked, we try finding

next unlocked CPU. This is wasteful; instead break the loop

wait for next cycle if CPU is down locked.

* Also, add check whether CPU is being boosted or idle.

* Re-organize sequencing of checks before bringing down CPU.

67u:

https://www.mediafire.com/folder/fwiyik2p90a8ebs,wa64kddjvohooy5/shared

No Other Nexus 4 has this code yet, enjoy

Kernel Folder on Mediafire:

https://www.mediafire.com/folder/w52s9fk509dwp/Kernels
[Nexus 4 Original Android Development] defconoi:
your going to want to customize it, it now allows you to, android has boosted by default on input for a long time now. It boosts scrolling and ui performance, but let me know how it works either way.
[Nexus 4 Original Android Development] a g bell:
[MENTION=1316336]defconoi[/MENTION] have been using your kernel on the l preview for awhile had an issue with the battery stats not reading right.Phone says charged when its close to being flat . though this was an L preview bug but just flashed any kernel version on slim Kat and the same problem is there.Could this be related to battery life extender ?l set to zero because l know it doesn't work ?
[Nexus 4 Original Android Development] defconoi:
dont set it to 0.. set it to 100, no problem here and this is first report
[Nexus 4 Original Android Development] :
I still don't get the difference between the anykernel version and the l dev preview version. I always use the l Dev preview version but I still don't understand the difference.
[Nexus 4 Original Android Development] a g bell:
Ok thanks, I would rather not use to be honest but if it some how fixes the issue l will ?

EDIT?

Set to 100 rebooted all is well, would suggest there's an derp there but not complaining just an observation?.

This kernel is awesome[emoji2]
[Nexus 4 Original Android Development] ph37rd:
After flashing the ROM, then kernel, make sure you do a power off. It is a good practice anytime you change kernels especially if they modify voltage/frequency tables that were in use previously.

Instead of just rebooting to system, boot to the bootloader and select power off. Give it a few seconds and start the phone again. This practice makes sure those new takes get reinitialized.
[Nexus 4 Original Android Development] defconoi:
Uploading a new 67u Kernel with added Pegasusq & Nightmare CPU Governors, will be available at same link in less than 2 minutes
[Nexus 4 Original Android Development] chewu.pg:
Awsome news :)... one thing, i flashed updated 67u and i cannot see nightmare or pegasusq governor
[Nexus 4 Original Android Development] Medel-Silver:
https://www.mediafire.com/folder/w52s9fk509dwp/Kernels
[Nexus 4 Original Android Development] chewu.pg:
Thank you i see i missed the file , sry :D
[Nexus 4 Original Android Development] defconoi:
Uploading them yo mega from my phone at daughters soccer practice :)

Uploaded 67u to here:

https://mega.co.nz/#F!3hhECDoB!M4Pyu-O7EAtCsSUUTuonuQ
[Nexus 4 Original Android Development] mumaster20:
This kernel certainly looks awesome. Would it be possible to make a CAF/CM11 version of it?
[Nexus 4 Original Android Development] Roye_V:
Didn't work for me, until I've denied root access for hellscore kernel manager.

But now synapse saying no icu detected.

Any alternatives?
[Nexus 4 Original Android Development] cfrank38:
Will you develop although a kernel for Nexus 7 2013 ? Never before i flashed kernel on my Nexus 4 and now i know what a beast is Nexus 4. Its now much smoother....
[Nexus 4 Original Android Development] defconoi:
You need UKM for synapse, check op
[Nexus 4 Original Android Development] defconoi:
F2FS rocks with this kernel, using temesek cm11 and its fast
[Nexus 4 Original Android Development] Benjamin_L:
Is there really a noticable change with mako?
[Nexus 4 Original Android Development] pables123:
[MENTION=1316336]defconoi[/MENTION] it is normal when the wallpaper turns black and after a while the phone reboots itself after flashing a new kernel update?
[Nexus 4 Original Android Development] defconoi:
Yea this happens sometimes, reboot once and it's gone
[Nexus 4 Original Android Development] defconoi:
Big change, I was against f2fs before but in multirom it was easy, just converted my partitions used the f2fs ROM converter app on Google play and flashed away, works great. Everything is much smoother. Plus this kernel has some extra f2fs optimizations that make it even faster.
[Nexus 4 Original Android Development] user1408:
Anyone made F2FS work into L 5.9, and what exactly do we need to do to run it.
[Nexus 4 Original Android Development] iskandar1023:
I put my urge to switch to f2fs, but after you say that. I'll change.

So what must i do? What partition must i reformat?do i need to format all of the partition?

Sent from my deepest part of my heart
[Nexus 4 Original Android Development] jolas:
Is f2fs really worth even for /system partition?

Is there any way to convert only /data and /cache partitions?
[Nexus 4 Original Android Development] buru898:
No matter what, I can't troubleshoot this problem :(. Changing the max frequency to anything below the default puts it at 1497600, and causes the sliders to drop to 81.

I told you :p. Welcome to the speed lol.

Yes, using the modified twrp you can format which ever partitions to F2FS or EXT4.