yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Disable sdcardfs Magisk module

As you know, OOS 4.x (and other N ROMS) has an annoying I/O bug, tracked back to sdcardfs.

If you use an app to delete stuff beside Android file picker or OP file manager you will probably be stuck with the file allocated space until you reboot.

Custom ROMs out there with sdcardfs enabled also have this bug (except PA so far).

I decided to do a Magisk module, so you can disable sdcardfs systemlessly (getting back to good old fuse) while we don't have a fix for this bug.

Just import the zip in Magisk module manager and reboot to profit :highfive:

No mirrors allowed

If you like my work, donations are always welcome (but not mandatory).

Don't forget to hit thanks and rate the thread nicely, it's free ;)
[OnePlus 3 & 3T Cross Device Development] Kiranb212:
Wow..!! yoy are one amazing Dev.. hat's off dude... you always amaze your followers with great quality stuff... I can only imagine the amount of time & hard work you invest.. thanks much.. :good: :highfive:
[OnePlus 3 & 3T Cross Device Development] immi803:
Huge thanks for providing system less module, r95 works absolutely buttery on ob4, amazing work as always mate, thank you:good: [MENTION=3873953]eng.stk[/MENTION]
[OnePlus 3 & 3T Cross Device Development] c_86:
Hey everyone. Did a search and didn't really see anything.

In your opinions what would be the best option to change or modify to help with scrolling smoothness. For the most parts its good but in the official twitter app it's really laggy (the smoothness of the scrolling)

Thamks!
[OnePlus 3 & 3T Cross Device Development] marf28101995:
Just enable fast lane... But don't expect buggy apps to run good
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Open Beta 13/4 source is out!!
[OnePlus 3 & 3T Cross Device Development] laupuy:
Happy April fool's day!

;)
[OnePlus 3 & 3T Cross Device Development] immi803:
:( thou gotta be kidding :confused:
[OnePlus 3 & 3T Cross Device Development] B3501:
LOL, everyone was fooled!
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Touchscreen FW update Magisk module

As you know, OnePlus improved the touch responsiveness in OB 13/4.

New touch FW really drops the latency, it's a nice pair to blu_spark :)

So I decided to do yet another Magisk module, so you can so you can test this enhancements in any ROM, systemlessly.

Just import the zip in Magisk module manager and reboot to profit :highfive:

ps: this is not a firmware/radio/bootloader zip update, but a fw binary file from the OB13/4 ROM for the TP controller driver.

No mirrors allowed

If you like my work, donations are always welcome (but not mandatory).

Don't forget to hit thanks and rate the thread nicely, it's free ;)
[OnePlus 3 & 3T Cross Device Development] GalaxyFan88:
Works without a hitch. And the new improved touch latency enhances the touch experience massively.
[OnePlus 3 & 3T Cross Device Development] liver20:
Need firmware update or Not?

Enviado desde mi ONEPLUS A3003 mediante Tapatalk
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
You can use that magisk zip until your Rom is updates.
[OnePlus 3 & 3T Cross Device Development] liver20:
But if flash Latest firmware dont need updated rom?

Enviado desde mi ONEPLUS A3003 mediante Tapatalk
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
Yes. But not with that magisk zip. It doesn't change the trust zone.
[OnePlus 3 & 3T Cross Device Development] keaheng:
I don't understand. The touch latency is related to the firmware thing or software thing or kernel thing? I'm so confused.
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
It's a firmware thing but he's packaged just the two pieces of firmware related to the touch panel into a magic zip to address touch latency.
[OnePlus 3 & 3T Cross Device Development] keaheng:
so if I don't use magic, I have to flash the beta 4 firmware to whatever rom i'm on and the touch latency will be fixed?
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
Yes. But be aware that you won't be able to flash a Rom unless it's updated to the ob4 firmware trust zone.
[OnePlus 3 & 3T Cross Device Development] keaheng:
oh okay. thank you
[OnePlus 3 & 3T Cross Device Development] helandortega:
Im with experience os, which r95 kernel to flash? OOS or custom?
[OnePlus 3 & 3T Cross Device Development] laupuy:
Hi,

OOS

;)
[OnePlus 3 & 3T Cross Device Development] helandortega:
No need to dirty flash the rom again? I will just flash the kernel right?
[OnePlus 3 & 3T Cross Device Development] laupuy:
If you don't have custom kernel (aka, if you are on rom's kernel) just flash this one... it's written in OP (first post)
[OnePlus 3 & 3T Cross Device Development] motherninja:
Hi, does it means that if I only use the OOS OB4 and flash the BluSpark r95 I would not lose the improved touch latency since it's reside in firmware? Sorry if I asking a stupid question here, but I also a little bit confused with you and eng.stk explanation.
[OnePlus 3 & 3T Cross Device Development] t181:
Yes, you won't lose the improved touch latency if you flash a custom kernel.
[OnePlus 3 & 3T Cross Device Development] Chaplan:
If you are on OB13/4 you can flash r95 and still have the improved touch latency since it resides in the OB13/4 Firmware and not in the kernel.

The Magisk systemless module released by the OP here:

https://xdaforums.com/oneplus-3/oneplus-3--3t-cross-device-development/kernel-t3404970/post71686144

makes the improved touch latency available to the OOS stable branch and custom ROMs as well.

So now the best user experience can be achieved by pairing blue_spark kernel with the Magisk FW module and the ROM of your choice, be it OOS or custom.

It's a Win Win situation all the way.

:good:
[OnePlus 3 & 3T Cross Device Development] motherninja:
Thanks for the confirmation :good:

Ok, so it is safe to flash r95 on top of OB4. Thank you for your confirmation and thorough explanations.
[OnePlus 3 & 3T Cross Device Development] Chaplan:
It's possible and works. Safe is just another game.

Since no sources were released for OB I would go for the OOS 4.1.1 with the Touch FW Magisk module and blu_spark r95.

That's is the best scenario in my opinion.

You get the best of both worlds. Stable OOS, improved touch latency and blu_spark kernel in sync with the source for the stable branch which has been tested and passed the QC. :good:

This is what I'm gonna run for now. But as I stated other scenarios are plausible to.

Just keep in mind.

Only Stable OOS is supported for bug reporting.

(4.1.0 is the latest released source from OnePlus so any bug should be tested on it prior to report)
[OnePlus 3 & 3T Cross Device Development] Dieppy:
[MENTION=3873953]eng.stk[/MENTION]

New touch FM magisk module is a beast:highfive:
[OnePlus 3 & 3T Cross Device Development] dorimanx:
SDCARDFS fixes.

To OP.

There more sdcardfs code fixes that you missed.

https://github.com/neobuddy89/shamu/commits/cm-14.1-test/fs/sdcardfs

try to import and check if deleting files with apps that DONT OWN the file, is working.

Seems like people working on it and maybe already solved.

P.S you are missing more than 20 commits.

Have fun :)
[OnePlus 3 & 3T Cross Device Development] eng.stk:
I'll take a look, but I already had a test build with the latest upstream from AOSP and didn't had any improvements (I doubt that source is more recent and I actually had a couple more issues with latest upstream).

Without changes on ROM to vold and so on I don't think we'll get anywhere.
[OnePlus 3 & 3T Cross Device Development] Jaizu:
Thanks for your work, should it work with stock or another kernel or does it need something from your kernel?
[OnePlus 3 & 3T Cross Device Development] Floydfire:
It's a simple magisk module that work with every kernel and every Rom (it just change some firmware files systemlessy)
[OnePlus 3 & 3T Cross Device Development] dorimanx:
Ok, then its up to OP devs to fix the vold code.
[OnePlus 3 & 3T Cross Device Development] daviss101:
Which version is for ob13/4?
[OnePlus 3 & 3T Cross Device Development] laupuy:
Hi,

Neither, but you can try OOS version

;)
[OnePlus 3 & 3T Cross Device Development] LMcR92:
Don't use magisk but all i did do was copy the files into the correct folder, all seems good :good:
[OnePlus 3 & 3T Cross Device Development] Kiranb212:
OnePlus has not released kernel source for OB13.. and hence no blue spark kernel..
[OnePlus 3 & 3T Cross Device Development] daviss101:
Op posted yesterday that sources were out for ob13 so i was just confused
[OnePlus 3 & 3T Cross Device Development] Dieppy:
He was joking man.. 1 of April..
[OnePlus 3 & 3T Cross Device Development] Kiranb212:
well then.. you need to wait.. until the kernel is baked..

Edit - Ignore (fools party)
[OnePlus 3 & 3T Cross Device Development] hampa:
Does this support latest OOS?
[OnePlus 3 & 3T Cross Device Development] pompe90:
Works great. Flash n profit

Sent from OP3 Rocket
[OnePlus 3 & 3T Cross Device Development] hampa:
I've already installed it. My battery is draining super fast, that's why I'm asking.

I've attached some logs if someone could determine if there is something wrong.
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Nothing to do with kernel, you probably have something locking up your CPU.

Search is your friend.

Also this is not client support.
[OnePlus 3 & 3T Cross Device Development] Duncan1982:
Tech Support Helpline Number......

0445-6678-4533-2881

For all app CPU locking direct your requests here......:p
[OnePlus 3 & 3T Cross Device Development] hampa:
Sure.

Lol, do you take credit card?
[OnePlus 3 & 3T Cross Device Development] andrea.ippo:
Question: any way to get the USB MTP fast charging (900mA) without having to install Kernel Adiutor? I remember reading sth about this app locking CPUs to max freq every once in a while, and I want to avoid that as hell. Any alternatives (preferrably free ones :D )
[OnePlus 3 & 3T Cross Device Development] Chaplan:
Not getting those CPU locks nowadays with adiutor anymore.

Anyway, on a terminal app run:

su
echo '1'> sys/kernel/fast_charge/force_fast_charge

And fast charge will be enabled. You must do it on every boot.

A script may get it working on boot for you so you won't have to enable it all the time.

:fingers-crossed:
[OnePlus 3 & 3T Cross Device Development] andrea.ippo:
Thanks a lot! I guess I'll try KA again :)
[OnePlus 3 & 3T Cross Device Development] keaheng:
Hi OP.

Does it work on OOS 3.5.4?

Thanks,
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
The kernel or the magisk module?
[OnePlus 3 & 3T Cross Device Development] 8hodgsonkh:
Delete pls
[OnePlus 3 & 3T Cross Device Development] keaheng:
The module man
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
The module should work. There is no reason why it wouldn't
[OnePlus 3 & 3T Cross Device Development] keaheng:
But I heard i have to be on 4.1 firmware + module to have it work. Im no so sure about this.
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
Basically what the module does is simple. It pulls the two touch panel firmware modules and systemlessly mounts them and uses them instead of the old ones that are there. Thus it can work on any Rom or firmware.
[OnePlus 3 & 3T Cross Device Development] keaheng:
Oh well im gonna downgrade and clean flash 3.5.4.

Do you think it will work If I extract module zip and push it to its directory instead of using magisk manager?
[OnePlus 3 & 3T Cross Device Development] NickosD:
Someone already reported that it works like this.

Search harder next time.
[OnePlus 3 & 3T Cross Device Development] keaheng:
the problem is that some people have no idea if its working or not so do I. This is not the mod that flash on your phone and the result shows up on the screen. that might be a placebo effect for some people. thats why Im seeking the answer from those who exactly know what it actually is, how it works and make sure I dont have to clean flash my phone for for nothing.

anyway thank you for this.
[OnePlus 3 & 3T Cross Device Development] Schrotty35:
I don't have anything intelligent to say...
[OnePlus 3 & 3T Cross Device Development] Chaplan:
Why don't you make a Nandroid and test it. It's not that hard. And not many users are on MM this days, I guess, to test it for you.

The result is very, noticeable if you do know what touch latency means on a practical basis.

You can test it easily on your device on a controlled environment with your current setup.

If you can't tell the difference after that don't sweat it.

Some things are just not meant for everyone to notice.

Genes and stuff.

Looks like some MODs might have found that out soon enough.

Guess this minion didn't see that coming.:eek:

Sorry for OT. Couldn't help myself this time.
[OnePlus 3 & 3T Cross Device Development] tehrock:
With r95 The phone got hotter (especially around the camera, even in idle) than on the stock kernel on OSS 4.1.1 on my OP3 without any modifications. Going back to stock for now.
[OnePlus 3 & 3T Cross Device Development] marf28101995:
You don't even deserve an answer but I'll give it to you anyway

No such a problem here check whats locking your CPU and next time search read and learn before posting something on a development thread
[OnePlus 3 & 3T Cross Device Development] tehrock:
There's nothing locking up my device. Checked with BBS. Installed the kernel, wiped cache and used the phone for half a day. Went back to stock via TWRP backup and temperature is back to normal.
[OnePlus 3 & 3T Cross Device Development] marf28101995:
You check whats locking your CPU at Max freq and not keeping it awake lol

Anyway have a nice day w/o blu_spark
[OnePlus 3 & 3T Cross Device Development] tehrock:
Wouldn't it keep my device awake and not go into sleep? There was nothing that kept the CPU at max frequency either in BBS nor Kernel Auditor. I'd have noticed that in both tools as you can see CPU frequency usage in both.
[OnePlus 3 & 3T Cross Device Development] ShotByMeir:
Dude, go look on Google what a kernel is. Actually a lot of people that come to this thread with their problems should.

A kernel is basically nothing more than a middle man handling requests and responses between applications and hardware. It doesn't actually do much without an OS around it. A kernel doesn't keep your device awake, because why should it? If your device is running hot or kept awake then something in the ROM is REQUESTING the kernel to handle that. See what I did there? Your ROM/OS is making the request, so in other words: nothing to do with the kernel because the kernel wouldn't if there was no request.

Sorry for the rant. I think people should figure out how a computer works before tinkering with their device and crying when it doesn't work. It's actually really interesting.
[OnePlus 3 & 3T Cross Device Development] tehrock:
I know what a kernel is. I just answered the question from marf. As for my problem why it was getting hotter in idle. I don't know about what caused that. Might be the governor or thermal management I don't know. I was just stating my observations.
[OnePlus 3 & 3T Cross Device Development] ShotByMeir:
The thing is that those 'observations' of devices getting hotter or kept awake have been coming to every kernel thread lately by a huuuuuge number of people. All these people don't have a clue how their phone works. They just tap all the icons of their games or whatever and if this kernel doesn't give them super duper cow power battery life or perfomance then it sucks and there is something wrong with the kernel.

An OS and kernel are complex, it is not easy to make it all work the way we expect it to and most people just need to give their phone a break for a day or 2 before making any judgement, especially if you don't know what you're talking about.

I just wonder if you know what a kernel is, then why bother even posting these observations? They have been posted way to many times and the cause of the problem probably was that Nougat 7.1.1 was optimizing your apps in the background or something like that, anyway nothing to do with the kernel... Again...

PS this isn't meant for you personally and is not an attack, there are just too many people whining about nothing in these forums.
[OnePlus 3 & 3T Cross Device Development] Skinpipe:
Flash kernel then supersu 2.76 buddy!

ROM, bluspark then supersu 2.76=profit
[OnePlus 3 & 3T Cross Device Development] tofuboi01:
Just a heads up, r76 breaks WiFi on latest 3.2.4 so wait for Eng.stk to update kernel before moaning it doesn't work!
[OnePlus 3 & 3T Cross Device Development] eng.stk:
All works fine, including wifi.

3.2.4 is just a small uograde from 3.2.2
[OnePlus 3 & 3T Cross Device Development] eng.stk:
blu_sp★rk r83

All right crew!

New builds are up. Wicked!

I recommend you to backup your data in case you're using f2fs and want to try this 4.8 revision, just in case.

There's also a beta build for custom ROMs aka non-OOS build.

Keep in mind: I will give no active support for custom ROMs. I am only interested on debugging stuff in OOS.

Don't spam this thread with CM or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.

Also don't go spam and bug reporting on ROM threads if using this.

If you like my work, donations are always welcome (but not mandatory).

Don't forget to hit thanks, it's free ;)
[OnePlus 3 & 3T Cross Device Development] merewood bebox:
noob question but the rom needs to support F2FS right? so stock cant use F2FS?
[OnePlus 3 & 3T Cross Device Development] liver20:
Your oos kernel is ok for slim rom aosp?

Enviado desde mi ONEPLUS A3003 mediante Tapatalk
[OnePlus 3 & 3T Cross Device Development] NZnewbie:
It worked for an aosp rom I used yip.
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Nothing to do with ROM, OOS can use f2fs nicely.

Keep in mind that going from ext4 to f2fs you will need to format your data partition and loose your stuff.

Backup stuff to your pc or usb drive before attempt it.

OOS is just for OOS.

All the rest uses the custom zip.
[OnePlus 3 & 3T Cross Device Development] tofuboi01:
If f2fs, what partitions are required to format for best performance? Not like I'd do it but it would be useful to know if I ever dab into that route in the future.
[OnePlus 3 & 3T Cross Device Development] thelad:
Data and cache
[OnePlus 3 & 3T Cross Device Development] stavca:
thx [MENTION=3873953]eng.stk[/MENTION] for fixing LED notifications on custom ROMs!!
[OnePlus 3 & 3T Cross Device Development] Flamehell:
Tnx for the update bro!!Amazing as usuall..... [MENTION=3873953]eng.stk[/MENTION]

---------- Post added at 01:00 PM ---------- Previous post was at 01:00 PM ----------
[OnePlus 3 & 3T Cross Device Development] merewood bebox:
this didnt work for me, i am using f2fs btw?

---------- Post added at 11:02 PM ---------- Previous post was at 11:01 PM ----------

any way to get root and f2fs working?
[OnePlus 3 & 3T Cross Device Development] eng.stk:
I use f2fs since day 1 and root works fine.

I already said this 100 times, kernel doesn't touch anything root related.

Maybe you need to cleanflash, sometimes supersu makes some backups and restores and maybe it's derping on your setup.
[OnePlus 3 & 3T Cross Device Development] merewood bebox:
I understand that. Believe me I've been trying everything, I'm not trying to blame you or anything i was just wondering if anyone had realised what's gone on. I followed your instructions to the letter, but the root zip gets stuck on ramdisk patching and aborts. As your kernel uses the ramdisk from the OS it should work. Do you know where i su keeps its files. This is also the first time in trying to root, my device hasn't been rooted before
[OnePlus 3 & 3T Cross Device Development] MrVoshel:
Will you consider adding sound control to this awesome kernel? :>
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Why? Sound is awesome on this device.

It's expected that you have root working already before flashing the kernel.

Kernl wise, nothing I can do for you.

Cleanflash, format your data and start over.
[OnePlus 3 & 3T Cross Device Development] merewood bebox:
okay woke up and tried everything, i think the conclusion is, systemless root doesnt work, system root does.
[OnePlus 3 & 3T Cross Device Development] Konskl:
Can you kindly explain what you did differently to achieve system root? I had the same issue trying to flash OOS with f2fs but in the end couldn't achieve it. From your sayings i imagine you managed to have root with f2fs in /data and /cache. Thanks!
[OnePlus 3 & 3T Cross Device Development] merewood bebox:
To be honest i still haven't done it. I want to use android pay, so I've been trying to do systemless. If the dev says he has root then the only thing different is the fact he may have used system root. There is a file on XDA that lets you choose system or systemless root. So try system root
[OnePlus 3 & 3T Cross Device Development] Explorer23:
That blu_spark effect ... ?
[OnePlus 3 & 3T Cross Device Development] Explorer23:
For those having heating issues - try setting selinux to permissive, it usually helps with high cpu usage. Keep in mind: this is NOT a fix, just a temporary workaround until you find a fix.
[OnePlus 3 & 3T Cross Device Development] Jaizu:
Magisk module working and battery is giving nice results after 2 days of use, not having any termal problem and everything working fine on stock Rom o/
[OnePlus 3 & 3T Cross Device Development] Dieppy:
Sorry If I already posted it but I'm too happy with Blu spark (fastlane along with magisk FM module.. WOW). I've already raccomended to try your awesome work to all my friends with op3/3T :good:
[OnePlus 3 & 3T Cross Device Development] eng.stk:
blu_spark r98 unified

All right crew!

New build is up. Wicked!

Because of latest TWRP changes, you'll need to use latest TWRP 3.1.0-1 or flash my unified TWRP 3.1.0-x blu_spark v26 (recommended). Any other version will not have full support for the kernel and the installer.

Keep in mind: I will give no active support for custom ROMs (including OOS based ones) or OB.

Meaning, if using anything besides stock and stable OOS don't bother posting about it.

I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).

Don't spam this thread with CM or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.

Also don't go spam and bug reporting on ROM threads if using this.

If you like my work, donations are always welcome (but not mandatory).

Don't forget to hit thanks and rate the thread nicely, it's free ;)
[OnePlus 3 & 3T Cross Device Development] eng.stk:
blu_spark extras

All right crew!

Here's an updated TWRP with all the blu_spark goodies inside and fully synced with TWRP Android-7.1 branch (including more recent upstream than official TWRP).

You should also take a look to the systemless Magisk modules:

Disable sdcardfs Magisk module

Touchscreen FW update Magisk module

I'm just sharing my personal mods since people asked, meaning no support will be given (don't bother post about it).

If your cat get's on fire you're on your own ;p

No mirrors allowed

If you like my work, donations are always welcome (but not mandatory).

Don't forget to hit thanks and rate the thread nicely, it's free ;)
[OnePlus 3 & 3T Cross Device Development] immi803:
Most delicate work ever seen :good: :D

Thank you mate
[OnePlus 3 & 3T Cross Device Development] evanxyj:
Can I dirty update the bluespark recovery?
[OnePlus 3 & 3T Cross Device Development] OmarvinG94:
r98 works like a charm on 4.1.1 :victory: thanks alot [MENTION=3873953]eng.stk[/MENTION]
[OnePlus 3 & 3T Cross Device Development] nikhilsnigam:
Please enlighten us how can you clean flash recovery? :p
[OnePlus 3 & 3T Cross Device Development] liver20:
Aosp extender phoenix and bluespark , the Best combo. Guys, This kernel is absolutly amazing

Enviado desde mi ONEPLUS A3003 mediante Tapatalk
[OnePlus 3 & 3T Cross Device Development] evanxyj:
Hhhhhhhhhhhhh good point. Well I mean is it advised to flash newer one over old one, wiilit wipe my device, thanks?
[OnePlus 3 & 3T Cross Device Development] nikhilsnigam:
always and never