yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] TheZeroDev:
[MENTION=2475226]oka1[/MENTION] close i`am flash version r2 and get same problem "Data Encrypted"

---------- Post added at 02:25 AM ---------- Previous post was at 02:21 AM ----------

No now i`am flash r2 version and get same problem disable Treble!!!! you only test kernel in treble rom. test in Normal ROM and look not working!!!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
We tested it on several Treble and non-Treble ROMs, before and after converting to Treble. There's a warning in the OP as we work on fixing the issue. Be patient.

If you demand a fix so soon, then fix this error:

scm_call failed: func id 0x72000501, ret: -2, syscall returns: 0xffffffffffffffbf, 0x0, 0x0
get_ice_device_from_storage_type: found ice device ffffffc0dc7a3600
QSEECOM: __qseecom_process_incomplete_cmd: fail:resp res= -71,app_id = 0,lstr = 12288
QSEECOM: __qseecom_set_clear_ce_key: process_incomplete_cmd FAILED, resp.result -71
get_ice_device_from_storage_type: found ice device ffffffc0dc7a3600
QSEECOM: qseecom_create_key: Failed to create key: pipe 2, ce 0: -22
QSEECOM: qseecom_ioctl: failed to create encryption key: -22
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gundam311:
Don't use the kernel, or make your own, problem solved. I am not on treble rom and the kernel is working fine, why is it that you are so eager to close this thread?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jigs4wkiller:
I think he is traumatized by certain people here and therefore he doesn't understand that just because it doesn't work for him that it doesn't mean that it doesn't work generally.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jigs4wkiller:
You can only speak for yourself.

And it works perfectly fine for me.

And your call to close the thread is just ridiculous.

A bootloop has nothing to do with a brick.

So do us all a favor and just go silently and use one of the numerous other Kernels.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jigs4wkiller:
Is it really necessary to use such a language.

I do not want to offend you, but I'm sure that I'm and the people who criticize your words know more about Android than you.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] hantux:
Can you make not treble version ?

I want try but not treble
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] oka1:
From the Moderator

All,

Please make sure you are OK with flashing in general .......... this and many other ROMS / Kernels often are unstable and do not work on all phones.

That is the inherent risk to flashing custom software ...Be Advised you are the only one taking the Risk.

To the OP ---

*** Post more information and screen shots of the Kernel.

*** Edit your OP showing all the known things that can or are going on that have been cited.

Do this Now, the next time I check if this is not done, I will close. Honest disclosure is Key to both the end user and Dev to make sure all bugs can get resolved.

Thanks !! ~~~ oka1
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] DeviceIK3:
Can you add support for the stock rom?

I want to help in the development, but I'm on the stock rom.

---------- Post added at 07:09 PM ---------- Previous post was at 07:06 PM ----------

This kernel support Treble and non-treble ROM's.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tytydraco:
What screenshots do you want? I already posted screenshots of kernel auditor but I don't know what exactly is required for kernel screenshots since there is no interface.

We are actively resolving the bug and until we release the patch a warning has been placed in the first post.

Please let us know if this is enough information, as we would like to keep the thread open. Please PM me if there's any issues and I can sort them out. Thanks so much.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] wesleysilva:
Rotation not working

Rotation not working in pixel experience rom
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tytydraco:
Reboot and clear dalvik. This shouldn't be a related issue.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] darkpegasus:
I don't know why people are getting issues. The kernel is pretty good.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gundam311:
after a day of using this kernel, i didnt encounter any problem. using liquid remix rom and velocity kernel :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
A new build has been released that fixes corruption with encrypted data. Get it here: https://github.com/kdrag0n/velocity_tissot/releases/tag/r3
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] upilguebu:
Thank you for the update. I'm gonna try with liquidremix. Anyway, can I know what app that OP use in the screenshots? Thankyou
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tytydraco:
EXKM. Elemental X Kernel Manager. All managers are compatible.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jigs4wkiller:
https://play.google.com/store/apps/details?id=flar2.exkernelmanager
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] TheZeroDev:
*Deleted*
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] upilguebu:
You really need to stop my friend.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] darkpegasus:
Seriously? It is you who is behaving like a kid. A rude, arrogant, punk kid. The kernel works really fine. I'm using it .

People like you should be banned from this community.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Rakibboss:
Can i install it on GSI image?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mjust921:
[MENTION=7291478]kdragon[/MENTION]

Bro did a really good work now. Its working fine everything is good.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ProchyGaming:
[MENTION=8362115]TheZeroDev[/MENTION] Lazy? Actually you know how difficult is to make an install for kernel to detect treble and install the kernel according whether there is or not? And to be honest I think the dev makes great progress and everyone can make a mistake. And do you remember when you reposted a ROM by an Italian "dev" that couldn't just understand that there's A/B partition and bricked multiple devices? Dude encryption issues are ok, not like what you and your friend have done to loads of devices. Sorry for going off-topic.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Custom rom 243:
Oh yeaa so much governors .. Gonna try of asap. ;)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gougous3:
Could you please consider undervolting?

I'm about to try the kernel considering you had fixed it for encrypted devices. I'm quite excited as feature wise it looks very promising, nice job!

Could you please provide more information on the EAS governors? I've been struggling to find details about then and I'd like to know how they compare to each other.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
Yes, clarified that in the OP.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
This kernel should actually be undervolted based on some changes we made to regulator voltages but I haven't confirmed that.

In terms of aggression, alucardsched > electroutil > (pwrutilx / schedutil) > darknessched. For more information, consult this post:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] adinbh09:
Does it work for stock roms without Treble?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Dasseem:
Found an issue , after flashing the kernel, device shows some random MAC address for WiFi. Even though it works fine, people take a back up of your persist partition just to be safe.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gougous3:
Oh God, helix_schedutil is a monster of a governor then :D

The magic that can be done with it is amazing.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] oka1:
From the Moderator

All in this thread ..... Do not bring drama into the thread

@thezerodev do not post anything in this thread that is not development related.....

...... If you think there is an issue then report it... It is for the Moderators to decide whether the issue violates the rules of XDA ... no one else.

If Anyone cannot post on topic and development related (meaning postings discovered issues or bugs) .... and cannot post respectfully, then

DO NOT POST ............ Easy ......

~~~ oka1
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ProchyGaming:
I'm getting random reboots. After the reboot I can't boot into the ROM, I'm stuck in a bootloop. I must do a dirty flash every time this occurs. I'm on the latest build of the kernel and the ROM I use is Liquid Remix. Logcat attached in the attachments. Logcat is taken of the bootloop after the random reboot
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] bmylover:
Didn't notice till I read this post, my wifi mac is back to randomized address. i think the kernel replace WCNSS_qcom_cfg.ini file.

And the kernel on my device seems to be working, but somehow.. very slow?:crying: tried reflash, tuning the kernel, switch to performance mode.. still slow.. had to return to moun v.4

my setup : dirty flash the rom + kernel, rr 2505, with velo r3 kernel, encrypted storage
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
It works for custom ROMs with and without Treble. Xiaomi stock firmware is not supported.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
This kernel does not touch your Wi-Fi MAC. Resurrection Remix or another ROM randomized your MAC.

It does seem that there some performance regressions in the latest kernel. A build will be released shortly which should fix them.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Dasseem:
Thanks for the info, but my mac didn't get corrupted by any ROM. Since it was showing the original MAC in LR Rom, anyway got my Mac address to original while restoring to stock kernel.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] :
:confused:Why did you steal my work for OC CPU AND GPU from Extreme Kernel?You must First ask me in PM if i give you credits to use my work then to give credits to me ...:confused::confused:

Some Proof that you use same values from my Kernel

Edit:He give me now Credits Fixed Next time ask before using other's work...in this sitution was better to don't give permissions and report to Moderators and Lock the thread until he remove my work because this guy First has Reported me to Moderators when i haven't uploaded the source from my Extreme Kernel V2 Beta...He asked me in Telegram to upload the source because he needs to OC his kernel and he said that i was breaking rules to Xda for the source ..He didn't asked for any permissions..but i'm good person?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gougous3:
Regarding the performance issue, setting the CPU governor to anything other than the EAS based ones, seemed to help, at least for me.

I would like to report as well that somehow when playing music, for example, and using helix_schedutil governor, it assumes there's a high load on the CPU and ramps up to the max frequency.

I've also been getting a slow video playback on browsers.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
That must mean something's wrong with the driver. I'll take a look at it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
EAS doesn't seem to perform great on our device because we don't have a proper power model created just for our chip, so it can't really scale to the right frequencies for the load and capacity of the CPU. I'll see if I can get a better power model.

The helix_schedutil issue is either the governor's fault or the power model as explained.

My video playback is perfectly fine. What browser and website are you using?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tytydraco:
Hello Alex, I'd like to discuss this with you. First of all, we don't need your permission to use your source code as the Linux tree is distributed under a GPL license. Additionally, locking the thread accomplishes nothing since we didn't do anything wrong. I did ask for your source code over telegram, but I did NOT mention anything about reporting you, or asking you to even upload your source. To prove it, I'll include the log for telegram here: https://hastebin.com/jihebisonu.coffeescript

Good luck and I hope our dispute can end. For further talk please contact me directly via telegram.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] bmylover:
okay, maybe something i overlook

looking forward for that, will be waiting for the awsome kernel, thank you :D
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gougous3:
Sure. With my current config for helix_schedutil, things are quite nice (both battery and performance wise), the only issue was the responsiveness of the governor itself but after lowering the up rate tunable it got better.

Also could you please also have a look at lazyplug? I think that it needs some tweaks to properly work with our SoC, from what I've seen, it is only partially working right now.

I'll give more details on the video playback issue later, kinda busy right now.

Thanks for the attention and the great kernel!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
We just released r4 which should fix most of the performance issues as well as the broken Wi-Fi MAC address. Get it here on GitHub.

Changelog:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] khusika:
WTF with you again, you said that codes is yours?? Oh man, you just amend everything from others, even you wanna get some coins by amend everything from there before. And i now that you take it from mido instead of your own codes. LMAO.

Just look at your self, before judging people. And i saw that the OP have more skills about codes than you.

This is the original codes

https://github.com/kondors1995/andr...57a9646#diff-fb8cf9a1a0b868557516caf54f4e966b
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tytydraco:
Thanks for doing the world a favor :good:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] hantux:
ask again, this kernel include root magisk?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Dasseem:
Cool, One more thing, my magisk got removed after flashing the kernel, is it how it does work.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tytydraco:
It's a bug currently affecting many kernels that mess with init. To fix it, just re-flash Magisk after you flash Velocity.

---------- Post added at 04:13 AM ---------- Previous post was at 04:07 AM ----------

Thanks for the info, that really helps us out. Can you screenshot the config for lazy you use? I wanna try it and if its good i'll add it to the

spectrum presets.

Also, the video thing happens to us to. It can usually be fixed by refreshing the view, like rotating the video and re-opening it. I'm gonna keep trying to fix it, but glad to know it's still an issue.

---------- Post added at 04:20 AM ---------- Previous post was at 04:13 AM ----------

Oh another thing, we just switched to GCC 8 from Clang 7 and we are hoping it brings some better responsiveness. Let us know thoughts
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] hantux:
I thing touch not responsif with aex latest..

latest this kernel
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
Try dirty flashing your ROM and the kernel over it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
No, you can flash Magisk manually after flashing Velocity.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kolpomanob:
Tytydraco . Fast charge is not working in Aex even the charging is not rising over 1000.. and android is rebooting automatically now and then
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kolpomanob:
Worse performance and frame drop issue i ever had
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Blindi1985:
How it's possible to de-activate DT2W and S2W?

App don't Work, always reset the settings (EXKM)....

Ty
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] :
I don't care if they have more skills than me and No it's not Original Code...At first this Commit is done 17 days ago i released the Kernel 25 Days Ago also I just do my own values for frequencies and voltage with comparing stock values and doing some random frequencies second this guy who made the OC for Mido asked me in Telegram to give my code to OC their device so i give them Permissions but first of All he asked me instead of stealing code like this guys....but as i said they give me now credits so next time ask before you use someone hard work

Some Proof:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jigs4wkiller:
Yup the standard configuration isn't perfect but when you invest some time with tweaking the Kernel you will have a great performance and a just amazing battery lifetime.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kolpomanob:
Ok then give me some tweaked profile or kernel auditor ss so i can tweak it otherwise i m not interested in blowing my device off to mars..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tytydraco:
Is that on the newest build? If so then I may know whats wrong.

---------- Post added at 06:17 PM ---------- Previous post was at 06:16 PM ----------

Use spectrum's Balanced config. We tweaked it for great battery and good performance.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kemdroid:
I'll never use this kernel. It's just damaging user's phones since it's beta testing apparently. If you really want a kernel wait until it's stable after a few months. Or use another one around for longer time.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ProchyGaming:
It is not beta testing. And the kernel is pretty good in my opinion. And for the damaging phone part it's your responsibility what you do to your phone
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tytydraco:
The damaging issue was a simple bug and it didn't actually corrupt data. It could be repaired by flashing another kernel. As of now the kernel is stable. We are still experimenting with settings so it's gonna take a while to perfect performance.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gougous3:
Another bug I found however haven't researched enough is that sometimes, video playback fails (at all) and the device gets unable to play any video till a restart. (all this with r3)

There's the config for lazyplug. The only thing I wish I could control better is the number of cores when idle load is detected (basically when it kicks in) / the minimum active cores number. Right now it is 2 which sometimes isn't enough for the device to stay smooth till the activation of the other cores, in my testing.

On a side note, I think you should disable autosmp by default. You see, Qualcomm has disabled hotplugging on the 625 by default. Why? Probably because the CPU itself is optimized to the point where active hotplugging (turning the cores on and off) does more harm than good (considering the CPU cycles wasted to decide wether or not to switch a core and the process itself of switching the cores). That or at least do a benchmark on the subject.

There's also my config for helix_schedutil which I know you haven't asked but, I think you should take it into consideration when having a look at the EAS power model. It tries to make use of the middle frequencies while still providing enough performance on high load scenarios.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kemdroid:
Okay I didn't flash it. I read and there's not much good about it yet.

---------- Post added at 07:39 PM ---------- Previous post was at 07:39 PM ----------

Hmm I see. Alright all the best with it. The features look promising so many guys like me will wait.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tytydraco:
Guys we fixed the bug with the latest build. SOMEONE *ahem dragon ahem* decided to disable CPUSETS which meant multicore was half speed. we fixed it and we are uploading to github now. Please stay tuned. An official release post will be posted soon.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gougous3:
The kernel feels much more smooth and fluid with build 4 but I've been unable to change ZRAM's compression algorithm, for example, to zstd (even with it disabled).

Also, when trying to disable S2W (on EXKM), it remains as enabled however it doesn't work anyway (it only works once when I try to disable it for the second time, I know, doesn't make sense). And after disabling DT2W on both EXKM and RR settings, somehow it still works. Currently on lastest official Resurrection Remix revision.

Could you check wether the fingerprint boost is working as intended as well?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
r5 was just released with a fix for all the performance issues and vastly improved benchmark scores (and real-world performance). The Spectrum profiles have also been fixed and revamped to being the best balance of performance and battery life. Benchmark scores from Antutu and Geekbench have been attached.

Get it here on GitHub.

Full changelog:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] DeviceIK3:
Thanks for update, sorry for ETA's but when we can expect support for stock?

I think many are waiting this kernel for stock
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Golkar™:
Yeah, been wondering about that too
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
It looks like EXKM doesn't set it properly for the updated ZRAM in this kernel. I am able to manually set it with the following commands:

swapoff /dev/block/zram0
echo 1 > /sys/block/zram0/reset
echo zstd > /sys/block/zram0/comp_algorithm
echo 1048576000 > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0

After running those commands, EXKM should also start to show zstd.

I'm able to disable S2W and fast DT2W fine from EXKM. The difference between the one available in EXKM and the one in system settings is that the EXKM one is faster, while the system set one will be slower to wake. This is because the system one uses low power mode. Not sure why it doesn't turn off though.

Fingerprint boost and input boost have been removed because EAS should be able to handle it all. In my testing, the new Balanced settings were effectively boosting on fingerprint and waking was plenty fast.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kolpomanob:
Yes its the newest r4 build.. also i got sudden reboot many. Times.and my phone becomes unstable and good for nirhing..i had to flash another kernel
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tytydraco:
Try our latest one it should be fixed. Its r5.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] darkpegasus:
r5 is a huge improvement over r4! I got random reboots and very laggy performance even after overclocking and using performance governer in r4. It is all fixed in r5. Thanks!

Edit: The fingerprint scanner is really fast! Phone unlockes really quick. Lmao this is the first time I'm seeing 'Fingerprint Boost' thingy really work.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
Not sure at this point. We tried to add stock support but Wi-Fi never worked.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
We actually don't have fingerprint boost, that's the magic of properly tuned EAS governors ;)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Yudhz®:
what is the best setting for this kernel ?

thanks
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kemdroid:
Keep up the good work. Just try to make as less builds as possible. I have tried it yet but just a pointer. Do rigorous testing then release say every week. This way it can be more user friendly.:svetius:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
The default settings. (Balanced Spectrum profile)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kdrag0n:
We should be able to do that as soon as r6 is released to squash the last few bugs. :good:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kemdroid:
Great!