yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Alucard:
Is there a current thread with v3.18 rom file link,all i found are 4.9 kernels.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] T3sla:
He's not wrong, i had the same problem with underground kernel and i figured out that it was the magisk version causing problems.You need to flash an older version, i tried up to 23, to work.Seems there is some kind of problem with patching ramdisk.Also if you flash with magisk 23 you can't update to the latest, throws some error.Hope it helps although kinda late now since most guys are in A11+ roms
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] fr_jason:
While you're here mate don't forget to check out one of these;

[ROM][OFFICIAL][STABLE][13][mido] PixelExperience [AOSP]

https://download.pixelexperience.org/mido/

[Android 13][ LineageOS 20] [MIDO]-Vanilla By Zeelog [Stable ,No Bugs, Smooth]

lineage-20.0-20221224-UNOFFICIAL-mido

[ROM][13.0][mido] Project Elixir [OFFICIAL][AOSP]

https://downloads.projectelixiros.com/thirteen/lmi/
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Edesh Kumar:
Me too experiencing it.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mad jebon:
Same for me too,hope next update dev can improve it and put adreno idler function and put adaptive memory killer function to
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] henxui25:
Can u share the link of 2.0. I cant find it :(
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] SJD Ayy:
The App Opening Delay Issue that Some People are Coming Across will be Fixed in the Next Update.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pete80pro:
That delay depends on Rom and settings.......

I'm using your latest kernel with MDroid Oreo and it's goddamn fast. No delay.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] faishalls:
This kernel is very good , smoothly , long sot , but i have question , why my mido when is charge is very to slow ?? In mui with stock kernel need 3 hours from 0 -100% , but in los with this kernel need 7+ hours ? Any solution ? :(
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ariyan Alite:
I have no problem with charging
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] goldencore:
Nice kernel. Working better than Franco for me on Syberia OS.

Thanks!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ThanveerAliSayed:
i know its continous use and less power eating apps. so it tends to give more battery life for anyone

but when i compare this with my own results before. its a rapid improvement. the difference is very big.

as of now . i can say that this kernel is best for pie roms

ethereal 3.2 + Arrow OS 20181202
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ThanveerAliSayed:
after installing all the apps. if we do a wipe dalvik. it will lead to app open delay. restoring the titanium backup of the apps again fixed the problem for me. now i dont do wipe dalvik after flashing kernels.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] dj_torok:
Please share kernel setting which you use!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] henxui25:
Ethereal 3.2 or 3.0??? Link of 3.2 please :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] pete80pro:
Change to mDroid Oreo.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mad jebon:
AEX 8.1 + this latest kernel with small tweaks,very smooth and fast open app,
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ariyan Alite:
I saw 3.2 version of ethereal on androidfilehost.What's the changelog of this version.Why the developer don't update it on post?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mad jebon:
i see too,,maybe test build or beta,because gcc version 3.2 is gcc 8.xx something like that,
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ThanveerAliSayed:
iam using 3.2 . its there in the afh folder same as 3.1

---------- Post added at 01:54 PM ---------- Previous post was at 01:52 PM ----------

stock settings. dont change anything using any app after booting let it be :fingers-crossed:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mad jebon:
can you give screenshot 3.2 kernel version in about phone+kernel
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ThanveerAliSayed:
lol . you didnt believe or you just wanna know rom name ??
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mad jebon:
image cannot open,i believe just want to confirm 3.2 different 3.1 only gcc version,
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ThanveerAliSayed:
i got it from the . afh folder. there is only one 3.2 i guess with less number of downloads
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] J.Venkat Sai:
Can I know what type of gapps u have installed on this arrow os ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ThanveerAliSayed:
unofficial bitgapps by [MENTION=5958960]tony8077616[/MENTION] from telegram
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] J.Venkat Sai:
Well in the thread itself says that we should only install gapps of either pico or nano not higher than that , and is there any problem if I install stock gapps along with this rom ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] faishalls:
Does mDroid have a live display like los or RR ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] henxui25:
Can u share the link of unofficial gapps?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ThanveerAliSayed:
Bitgapps is a smaller package than pico. so it wont be a problem at all. i dont know about bigger packages
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] goldencore:
There is no need to wipe anything after a kernel flash as far as I know.

If you wipe dalvik only the first start of an app should be slow, because the file system tree for that app has to be rebuilt. That happens usually during the install of an app, so you don't notice it normally.

So the delay you are experiencing has absolutely nothing to do with this particular kernel.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ThanveerAliSayed:
The final result of my yesterdays usage

full usage is in indoor ,continous ,obviously the brightness is always half of the slider in pie roms. you know how much it is

using less power hungry apps like youtube and whatsapp. No gaming at all . but still this is an improvement for me. never got this far with same conditions after i have left nougat .

and my device is 1 year and 6 months old .so it must be good i guess.while comparing to my previous experiances

Ethereal 3.2 in arrow os
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mad jebon:
i try 3.2 best for me now,3.1 sometime make mu phone restart,3.2 suitble with aex 8.1 rom for me,smooth and faster,battery daily use fine for me,
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Irfan Mohamed:
Very slow when charging on my device. Im using mdroid rom. Need more improvement maybe?!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mad jebon:
nothing issue with me on AEX 8.1,stock charger and remax cable
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] faishalls:
Yes , me too. Maybe in the next update the problem got solved ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] greenys':
Not kernel related. Using 3.2 for a few days now. Charging is awesomely fast.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] faishalls:
Any bug in 3.2 ? Can you send link ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] IceHotKilla:
No bugs. Link is the same as the download link.

https://androidfilehost.com/?fid=11410963190603865095
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] faishalls:
Thx. But if i update this version , i must flash magisk again or not ? And i have to do back to stock kernel after that install this version , or only flash like i flash this kernel for first time ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] J.Venkat Sai:
No need of flashing the magical again cuz I r not installing a rom for the root to be erased from ur device , if u need this kernel just flash the zip file that's it and again if u want to change to another kernel just flash that kernel's zip file.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nicemak:
Hi, i am using Havoc 2.0 official, and installed latest version of this kernel, i am facing the delay in finger print unlocking, is this is rom issue or this kernel? If this is kernel issue does any one know to speed up unlocking with this kernel setting or anything? Thanks
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Heiko77:
This is a pie rom issue. At the moment there is no pie rom with the speed of original miui rom
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] greenys':
That statement is kind of messed up if you ask me.

I'd rather write: At the moment there is no pie rom with the speed of android oreo rom. Especially not miui for it's stuck on official 7 and unofficially android 8.1.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nicemak:
What are the best settings for good battery life and performance.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] S.N.A.P:
for my personal settings :

- use Kernel Adiutor, in CPU tab change input boost value to 750ms and 1036MHz,in Thermal tab turn on thermal throttle

- use Spectrum, choose Balance profile
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Walden0:
sir, The link in OP is not updated. it still redirects to 3.1.

---------- Post added at 09:58 PM ---------- Previous post was at 09:45 PM ----------

also, there is actually lag while scrolling. not fixed in 3.2.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] greenys':
Barely noticeable on Los 15.1 latest. True that I use deadline i/o which kind of makes everything more fluid so I cannot say for sure.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Walden0:
can you please share those settings with me?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nicemak:
I am using darkness control as suggested by developer, i didn't see any spectrum option there, i am facing very fast draining on mobile data like in 20 minutes 100 to 90. Anything other settings to improve battery life like governor setting or anything?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nicemak:
Are these statistics are okay?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] greenys':
Sure. But be warned that using deadline i/o (while makes your battery drain evenly and gives a fluid performance compared to cfq/bfq/noop) comes with higher battery drainage than BFQ or NOOP.

I'd make screenshots but uploading is too troublesome. So here are my daily driver tweaks:

Maximum CPU freq: 2.2 GHz

Minimum CPU freq: 652 MHz

CPU governor is intelliactive

ZRAM is disabled

Deadline is set as a default i/o scheduler for both internal and external storage with 2 MB of preread cache. Entropy pool write is set to 1 MB, read is to 4 MB for faster app management.

I've been using these tweaks for nearly all kernels and with Ethereal I can play Bleach Brave Souls 6-18h with 40% battery left. Which is pretty good. However if you use BFQ i/o scheduler on all partitions the battery life can be greatly improved at the cost of getting some lag.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] IceHotKilla:
What about Maple?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] S.N.A.P:
Spectrum is an app you need to download from Play Store

all the settings I use are the one I post, no problem with battery here

---------- Post added at 03:30 PM ---------- Previous post was at 03:28 PM ----------

not okay at all

for me I can easily get more than 1 hour with 8%
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nicemak:
Thank you for guiding me, i installed spectrum and chose balanced profile and did the settings in darkness control. Lets see what happens :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] S.N.A.P:
good luck bro :good:

just post here if you need further help
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] faishalls:
How long your SOT device ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] SJD Ayy:
Release 4 is Here!

Changelog:

Compiled using UberTC 8

Upstreamed to Linux 3.18.129

Back to Stock I/O Settings

Fixed App Opening Delays for Certain People (((Hopefully)))

Added State Notifier

Minor Changes in Goodix FP Driver Again

Slight Spectrum Profile Tune-Ups

Bring Back KCAL Color Inversion

Some Under-the-hood Improvements that aren't worth mentioning

OP has been Updated with the Latest Download Link. A Clean Flash is Recommended. Enjoy.

Apologies for the slight inconveniences on the last release. Everything *should* be alright now.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] S.N.A.P:
from 100-20%, about 10-11 hours
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] faishalls:
love this kernel so much , very smoothly and good performance but, for update. should I flash the stock kernel first, then flash this kernel, or can I install this kernel directly? And about magisk , should i must flash magisk again ? Sorry im newbie , thx ;)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] S.N.A.P:
for me, I flashed the update directly and no need to flash magisk again
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] faishalls:
Only flash the zip ? No need extract the kernel first and flash boot.img ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] S.N.A.P:
yep

no need
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] superjules0:
OP, can u help me a little bit here? I tried flashing the new kernel but it says "Unpacking ramdisk: Failed" Help me OP. ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] henxui25:
I dont see this your problem. Trying downloading and flashing again!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] faishalls:
Thanks a lot bro :good:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] greenys':
Maple is an all rounder. Tries to maintain good performance, mediocre battery life and smooth experience. I talked with the original developer of the i/o scheduler as well. It's just I'm not sure how often does it get updates for the dev isn't touching it very often. Also while it tries to stick to the golden middle between the high road and the low, for me it's not too ideal. Try it for yourself. If you're using maple as a daily driver and you don't spend a lot of time on your phone playing it might be just ideal.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] SJD Ayy:
SoTs from the latest build.

Originally posted by: People on the TG Group.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] henxui25:
Which rom do they use?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] nanachitang420:
Even me facing the same problem. Same error is coming while flashing this 4.1 build on msm extended rom. Tried mounting system before flashing but same error. Build 3.1 was not having this issue. Please help
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] greenys':
Try backing up stock rom boot.img, flash it back then install Magisk and later on Kernel.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] J.Venkat Sai:
The previous build was great like it took 2½ hours of screen on time for 25% of battery , but the problem was the app opening are damn slow .
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] S.N.A.P:
try to set CPU input boost value to 750ms and 1036MHz
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] J.Venkat Sai:
Well I haven't rooted my device, that's because as I root my device there are some unknown users who are connecting to my wifi ??.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] IceHotKilla:
What do you mean by unknown users gonna connect to your WiFi as you root your phone?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] desaturated:
When I touch an app is not open. Just glow. Experiencing several times
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] J.Venkat Sai:
Well I too don't know the reason , once I rooted my device the wifi got disconnected and then went to the wifi portal and checked who were using my wifi there were 4 extra members and checked the wifi password the password got changed , I unrooted my phone and thought it was a coincidence and again rooted my device after installing another rom again some extra people were connected to my wifi without my permission .
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ichwan-Ka:
What if I already on custom kernel extreme, and I want to flash this kernel without re-flash the cusrom?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] yachint:
Can Someone explain the difference between intelliactive and darkness governor?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] notoriouslion:
Just flash the kernel
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ariyan Alite:
I also want to know the difference between intelliactive and darkness
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] prasaddeshmukh:
It's a legendary battery life kernel. Thank you developer
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ariyan Alite:
can anyone please explain what's the difference between darkness and intelliactive governor?? I asked many time but no reply
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] mad jebon:
just google it bro,,

---------- Post added at 05:58 AM ---------- Previous post was at 05:56 AM ----------

So far this kernel stable,good batery life and performance,thanks dev to make great kernel for mido,
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] SJD Ayy:
Release 5 is Here!

Changelog:

Upstreamed to Linux 3.18.131

Multiple CAF Upstreams

Multiple Prima Upstreams

Android Binder Updates

Pull Missing USB, MMC Changes

Remove unneeded SMP2P Test Support

OP has been Updated with the Latest Download Link. A Clean Flash is Recommended as Always. Enjoy
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] NeonKatt:
GPU max freq is set to 700 by default on every boot, even though I limit it to 650 in kernel manager (tried EX and Adiutor). CPU freq limits without any problems, but GPU's doens't apply on boot.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ariyan Alite:
Which governor has best battery backup?(without the powersave governor)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ariyan Alite:
I'm facing touchscreen not responsing issue.I thinks it's kernel related.After few hours screen of my touch screen not working.after reboot it's work again.(sorry for my bad english)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] fath_mu:
Yeah, i agree with this... Sometimes the touchscreen is very bad, but i think this kernel very stabale for daily use, keep it up :highfive:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] hasanandnexus:
Conservative
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ciamabhishek:
Governor for gaming on ethereal kernel?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] S.N.A.P:
more simple method : use Spectrum app and choose Gaming profile
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] tester110:
hi, now I've flashed the kernel successfully.

How and where do I have to adjust something so that the battery lasts longer?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Izaike:
Will this kernel fix my unlock screen delay? Because I've been told to install a custom kernel and I installed Xenial but it didn't fix it so now I'd like to ask if this kernel would fix that issue or after flashing it, what setting do I have to tinker in order to make my screen wake when I press the power button or use the FP scanner without delay.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] DerMetzgermeister:
Install the spectrum app. There is a profile for battery efficiency.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] CYPHER11:
I was using extreme kernel prior to this and the FP scanner of this kernel is much faster
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ciamabhishek:
Where can i find zram in kernel adiutor?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] S.N.A.P:
virtual memory tab
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ariyan Alite:
Please increase the charging mah from 2000mah to 2200mah like wayang kernel.It will help to charge the device faster
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] prashant2198:
With gaming profile in the spectrum app the cpu has maximum speed of 2016 mhz whereas it is 2208 mhz in the performance profile. Also the gpu in the performance profile is tuned to the performance governor which performs better than the msm adreno tz governor although it is clocked 50 mhz higher. All this results in slight better gaming in the performance mode than in the gaming mode which has frame drops and lags. Is this the case with anyone else ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] IceHotKilla:
And also will burn your device. The charge limit of the phone is 2000mAH.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Ariyan Alite:
I use wayang kernel.It has 2200mah charging.not burn my device.It's save upto 30 minute on charging
[Magisk] nuschpl:
Hello

As we all know whatever modification you do to the system it always have security drawback - you can either use custom exploits without touching bootloader but it will quickly be spotted by Google Safety Net or you do OEM unlock. After OEM unlock:

your data are protected 'at rest' - with strong password and no flaw in vendor implementation based on secure cryptoelement nobody can simply crack your lost phone

you are vulnerable to evil maid attack - if you leave your phone unattended even for a while(e.g if you used to sleep) somebody may prepare and flash boot image which will collect your password

you are vulnerable to cold boot attack - your turned on, even locked phone store some secret in RAM. You can prepare image to extract whole content of RAM , with unlocked bootloader and after forcibly reset the phone this image may collect all cryptographic primitives and send them over USB.

There is no forward secrecy - your system partition may be dumped at this time and dump decrypted with password collected later

So the aim if to create modification for security paranoids like owners of cryptocurrency exchanges which will allow to have full control over own device but without current security compromises. It need to modify boot/recovery partitions in way those will authenticate all sensitive operations with password.

There were always discussions with TWRP and ClockWorkMod recovery to add such password, but those were always closed with argument that if you can't control boot(flash new image) there is no sense to protect recovery. With current Magisk implementation even if we can't relock bootload by vendor mechanisms it may be easier now.

So aim of my project would be to:

Add code for password derrivation function - SCRYPT or PBKDF2 in boot

Add debug logic - diode red/green in boot.img to avoid status testing without chance to brick device

Implement logic which will need password to enter all vendor kinds of fastboot/recovery/download mode

Implement password storage logic - initially with PBKDF2/scrypt hash builtin into image itself, then on eMMC storage, then with vendor/model specific secure element implementation - initially for rate limiting password attempts, finally for actual cryptographic secret storage

[MENTION=4470081]topjohnwu[/MENTION] what you think, is is worth to build this on top of Magisk?