yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
i will share next release asap it get ready. working on it :)

it's separated to 2 build for stock and aosp.

for testing purpose you can check telegram channel mentioned in 1st post
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
New Release

Kernel 2.0

*Upstream to 3.18.92

*Implement Boeffla wakeock-blocker v1.1.0

*Implement DT2W/S2W

*Cpuset disabled

*Merge update to Kernel Scheduler

*Merge update to RCU (how drivers talks to kernel)

*Disabled extended HMP drivers, use Generic HMP and related drivers

*Merge fixes for high load average and queuing works on power-efficient workqueue

*Merge fixes to led-flashlight

*Merge fixes to Battery/Charger

*Merge IPA fixes from caf-tag LA.UM.5.6.r1-05400-89xx.0 (internet packet accelerator)

*Merge fixes to Xiaomi Colour and Contrast

*Entropy Tweaks at Startup

*Separated to 2 Builds for MIUI and AOSP Based Roms

*Selinux is Permissive for Oreo and Enforcing for Nougat

#Thanks to [MENTION=5250109]rainforce279[/MENTION] for Few Fixes
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Yousef Algadri:
From where i get it for Oreo?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Look at the data/.gabriel

Should look like attached pics (lots of file) and boot-log show you the time of finished boot. Flash it over magisk.

Otherwise you opened stweak soon.remove it from recents wait some and re open
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Olezka:
after new update have problem with Tasker and script: sh /res/uci.sh /push-action/config_backup_restore X

it's run .. but sometimes profile change .. sometimes don't change ... before it's work on 100% .. now 50/50
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] iZsk:
it is showing like this.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] fahmiyufrizal:
Still waiting for the new version release
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Already released see op
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Can you please delete /data/.gabriel dir .wait some second & reboot.

It will delete your config too & reset to default [MENTION=1850920]Olezka[/MENTION] i think you don't made config update for new items means your previous config is out dated & can't find new items & failed there.so after reset please make it again.

Thanks

Looks good

Just close & wait more

If it didn't work please get logcat and send it

All kernel managers has option to get dmesg & logcat
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
Will this kernel work on NOS and I have ext4 and not f2fs. I don't want any bootloop so anyone who tried it on ext4?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Olezka:
I use ext4 without f2fs. 28feb update and yesterday update. any problems
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
Works fine, which governor should be used for good battery life and litte performance ! :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Kajuru:
Powersave?

I like Cultivation more than Alucard. Alucard ramps clocks up way more often from what I observed. I have no opinion on Relaxed yet.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
What do you consider about lionfish ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Olezka:
I think lionfish more perfomance then powersave gov.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] darkboid47:
After flashing safetynet all false.. Tried 3 roms
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Yes [MENTION=5175597]mostafaz[/MENTION] I am also facing same problem. Flashed the safetynet fix zip but the problem still persists.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Hi

From what I've found it's related to kernel boot flags which i had them from v1 or 2 but there was some extra stuff in ramdisk by me which broken safetynet .

I tested on both nougat & oreo (non stock).currently on rr oreo.

At beginning it only pass "basic integrity" and fail "cts profile" .as soon as flashing safetynet fix module it will pass too. Works on both magisk 15.3 & 16.

I'm sorry for my misunderstanding & wrong logic for previous builds which broken it but it only works with latest build in tg channel. If you flash it over a previous build then it fail again.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Kk let's see if it works
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
I updated magisk but still same. Can you please provide the safetynet zip which you flashed
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Your basic integrity failed. I dunno it can pass or not

Reference forum

https://xdaforums.com/apps/magisk/xiaomi-safetynet-fix-t3600431

Latest beta i used

I suggest you fresh install rom & magisk & gapps & fix module and check safetynet status.then flash gabriel and check again to see it's from my side or yours to help you.

Please put output of #cat /proc/cmdline
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
OK I will try to do it when I flash any other ROM till then I will stick to the rom which I am currently using. One more thing that I flashed unofficial gapps . Does it matter in safetynet
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] kikkoman+:
Does this work with Marshmallow ( xiaomi.eu 8.5.4.0 ROM, MIUI 8.5 / Android 6.0.1)?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Ok thanks for your support

I dunno but good catch. I got them from rom forum.officia

:good:l

It uses anykernel can load on any rom.about drivers i don't think they conflict or fail there.backup your boot before flash. :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
Flashing safetynet worked well for me, it solved the issue. Thanks a lot
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Was basic integrity true from beginning
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
Yes
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sochansam:
[MENTION=5175597]mostafaz[/MENTION] I'm curious which ROM are you using?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] kikkoman+:
Thanks but it doesn't work. I get a bootloop no matter which version I try, also tried all the different anykernel.sh versions. (no f2fs so the old ones should work)

Technically it's not a bootloop, it just gets stuck after the MI logo (black screen) and the LCD backlight goes on and off. It's doing *something*, the USB connection on my PC switches back and forth a few times, but that's it.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
It's rr Oreo *g*
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
So it's not supported

Have you tried aosp version too ?(built in drivers)

Sorry. I think Selinux is the main suspect .i don't have reference for that
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rkdok23:
Safety Net fix wont work for me . cts profile and basic integrity are both false . I am currently using miui 9 beta with your kernel .
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
I'm currently in a non stock ROM

Thanks for report

Asap i get there i do check that as well.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rkdok23:
Okay no problem
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
:good:

For clarification do you flash it over previous build ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rkdok23:
No i clean flashed miui 9 beta with your kernel now . Found cts and basic integrity to be false . Then i went to recovery and flashed safetynet fix but that doesnt work . Still both are false .
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Kajuru:
The reason for safety net failing is Xposed(in my case, at least).

Attached screenshots with it enabled and disabled with just a reboot in between.

Using Crdroid Oreo and kernel from TG group.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Congratulations

So you may wants to use systemless xposed module (magisk)

:good: [MENTION=7992915]prin2ce[/MENTION]
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Kajuru:
My Xposed is systemless.

IDK if there's a way around that. Did it just to help, since I don't care for safety net.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Thanks for sharing *g*
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] solim:
I read on xda magisk thread that magisk can't hide systemless xposed.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Dynaguy:
am facing tons of lags while using both battery profiles and apps like facebook is force closing often
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Please attach active kernel debug

Edit:you should give some power to it to reduce lags
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
No luck sir. I think in my case problem is with gapps because I installed the unofficial one
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Have you read magisk forum? Or safetynet fox module forum?

No one mentioned that ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Nope i haven't read
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
The only difference is your gapps

So you may right :good:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Maybe :D
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
Even am using the unofficial one and works after the safetyney fix zip
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Interesting

Do you think the rom is one of these procedure?

I've done it on both rr nougat & oreo

As a user reported it failed on miui ! So there can be some stuff like what i did in previous builds which cause failure.

So rom & it's stock kernel can be a member of this talk too :)

My busybox installation was the problem.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Yup and safetynet is not a major issue for me as i dont do banking etc. on this phone. Btw i am using rr luis not the official one :good:

---------- Post added at 07:48 AM ---------- Previous post was at 07:41 AM ----------

Did you enable xposed from magisk or not
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
Noo, I didn't
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Kk :good:

---------- Post added at 08:48 AM ---------- Previous post was at 08:07 AM ----------

@mostafaz I use lucky patcher. Does it matter in safetynet in anyway
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
I dunno these stuff much

Do you use magisk hide? It may help
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
I'm sure lucky patcher is creating problems
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Play protect catches

So it wont pass if it see a risk

:good:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Does hiding them with magisk hide works ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] prin2ce:
Yup

---------- Post added at 01:39 PM ---------- Previous post was at 01:38 PM ----------

Nope
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Dynaguy:
i even tried power profile
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
You can disable master switch & reboot to see it's even happen with no config or not.

It's good to get the log when it happens so i can see that.

In stweak push active kernel debug
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] kikkoman+:
Could have been either SELinux or FW related; one of the other custom kernel explicitly requires a FW from a Nougat ROM (v028 or above IIRC).

Anyway, I upgraded to 9.2.1.0 (7.1.2) since I figured the reported battery drain issues (stock) are kernel related, installed your kernel, and things look good.

Standby battery usage below 0.1%/hr.

:good::good::good:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] dan112:
in my redmi 4x battery stuck at 90%

---------- Post added at 04:08 PM ---------- Previous post was at 04:02 PM ----------

at my redmi 4x battery stuck at 90%
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
I am getting only 5-6 hours of sot. :( Someone suggest me good settings for good battery life and performance
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Depends on your usage pattern

Sometimes no need to force phone to save power. Just a performance oriented profile will finish tasks faster & save battery.

Also track wake Locks to reduce power waste
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] parthavluv:
Your kernel sucks me.....

After install your kernel charging time of my 4X increased....

which is very bad...

I got 300-450ma

Before your kernel i get 1500-1800ma

Then i restore my old kernel but problem is still there...

I thought i take very bad decision to install your kernel...

Expect to charging time

All over preformance is very good..

Sorry for my bad english...
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
Enable fast charging bro from Gabriel stweak app. I get 2000 ma charging speed
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] parthavluv:
Fast charge is for pc usb charging... Not normal charging bro.... I dont know how you get 2000ma but i got only 300-450ma...

Even i changed my charger and usb cable too...

I dont know how to resolve..
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
You require a fast charger for that. I have mi power bank which supports fast charging and charges my phone in just 1.45 hours :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] parthavluv:
Mine take 4-5 hour to charge full...

1%-98%

Are you on custom rom or stock one ???
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
Custom Nitrogen os + Gabriel kernel
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] parthavluv:
volte is working in your rom or not ? With this kernel...
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
Yes its working but I don't use jio. But yes volte works fine :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] parthavluv:
Are you sure ?

Bcoz previous version of this kernel does not support volte...

And now u saying that its working...

If it is support then i would love it to install this kernel again....
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] himfa71:
Almost every one getting good charge speed, check from your side what's wrong, clean flash your rom, firmware and some other things, but there's no problem in kernel
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
Actually I think the ROM is responsible for volte working or not and not the kernel, still I will check using a jio sim and let you know :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] parthavluv:
I've done clean fastboot flashing....

After that till now i only get 300-450ma

---------- Post added at 06:13 AM ---------- Previous post was at 06:11 AM ----------

But i thought in some reason kernel responsible for volte to work....

I used this kernel before then my volte stopped working...

Again i get back to stock kernel volte working again...

Can you give me latest kernel link for miui
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] bhavikjajal:
Yes maybe that's an issue. Even I see volte not working on this kernel. I don't know. You using miui ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] parthavluv:
Yeah m on miui global developer rom 8.3.8
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Hi

Thanks for report

You may stuck there coz of heat

It will reduce current to prevent damage.

I didn't change threshold & it's just like stock.

Users reported volte is working. just flash firmware.

Get latest build from telegram channel in 1st post

Mine is 1750
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] x.Je:
Works perfectly on bootleggers rom. Thanks dev. Also after installing this the charging time is much faster than stock kernel. Keep it up :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] parthavluv:
Volte is not working in my case...

Rom - miui global developer 8.3.8

Baseband version - V033

Android version - 7.1.2

4GB variant
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Captain_Hungary:
[MENTION=5175597]mostafaz[/MENTION] Ilove your kerneland the the stweak app for it, because it sets every parameter per cluster, unlike all the root tweak apps, that I have tried. For me there is however a few options missing, that i currently use Exkernel manager for. These are the ability, to set the min cores online, which defaults to 2/2, and the per cluster cpu up/down throttle. This one is a bigger problem for me, because for the little cluster there are no values given by default, so these 4 cores can't actually go offline. I don't like using 2 apps for cpu control, because it can cause troubles sometimes, and yours is especially great since we have the ability to define screen off behavior. That saves a lot of battery for me.

Can you please implement these to your app in the future?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Kajuru:
+1 for ability to set min cores online. Stweak automatically turns off the big cores, but not the LITTLE ones.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Hi

Thanks for report and sharing your experiences *g*

Currently it control max cores. You are right. I'll add them too.

I've founded we should set threshold for little to be able control them. Right?

So new items will be up/down threshold & min/max cores & even offline delay & task threshold (if you think changing them has affect)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Vyoman Jain:
Could anyone please share the stweak app for this kernel. I am not able to find it.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Vyoman Jain:
I downloaded Gabriel STweak 2.3 apk but it shows nothing when I load it.

Please help
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] rkdok23:
Reinstall app . If still problem persist then reinstall both kernel and app .
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Vyoman Jain:
Okay thanks will try
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Hi

3.18.93 !

You flashed build from xda forum

Current build in xda doesn't support it

Get latest build from telegram channel in 1st post

Until i finish it & share to xda

Thanks :)
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Vyoman Jain:
Yes I just now flashed it from telegram. Anyway thanks!
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Kajuru:
I have one issue to report on that subject, but I don't know exactly what causes it, just when. I have Max cores set like the screenshot, awake 4/4, suspend 1/1, but sometimes when it wakes, I notice it's very slow, when I check for active chores it's running on a single little core and stweak shows the awake setting as 1/1 instead of 4/4.

Basically for reasons unknown to me, the Max active cores are reset/overwritten to the same value as the Suspend. To test, set it like the screenshot and it will eventually happen after waking.

PS. I know I could set it to 4/4 4/4 and possibly avoid the issue.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
Thanks

That may coz of sometimes we turn screen on off after each other rapidly so it still in applying suspend parameters while in awake mode.

Suspend delay is 3 seconds. I can make it tunable by user to prevent such problems.(BTW it has a protection but i may missed)

Or rethink about them to apply faster or another way to apply reported options. *g*
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Kajuru:
What bugs me most is the fact it gets overwritten. I mean, assuming the settings are saved in a config file, who is changing it?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
I used same method for it with config save/load :D

It can change parameters in stweak like what you saw. It's uci.sh
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Captain_Hungary:
Thank you very much for your work [MENTION=5175597]mostafaz[/MENTION]. Yes, if I set values for little threshold, then they can go offline just like the the big clusters' cores. Offline delay would be great too, I like to set them 500/250 for resource hungry apps. And the threshold settings also has effect, because this way I can set the little cluster to get more agressively ramped up, than the big one.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Kajuru:
Agree, its sad to see (in any kernel) the big cores turning on while the LITTLE ones are idle or under 15% load.

In that screenshot, for instance, I don't see why core 4 is at 35% load, if cores 7 and 8 are completely idle. I know that's probably an Android issue itself, but didn't change the fact big core should only turn on after Little cores are already struggling.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Spicy_WinG:
Hi, sometime i got my navigation keys not working. I try to reboot but the "restart" button is not working too. I have to long press my power button to force restart. Is it because firmware version? Im using v34.

And, is this kernel support f2fs for system partition? Will you update with official source? :)

Thx.

Sorry for bad english
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
I can set kernel to work more with little from my side but cause some problems. I'll check again later. BTW features implemented and some drivers were updated & performance improved or I'm dreaming *g*

I appreciate your helps for tuning

I dunno about keys right now. So touch has stopped? Any features enabled in rom related to sensors or pocket detection or etc?

System is read only for users so i don't think it has benefit with f2fs but I'll add *g*

Currently only support data & cache
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Spicy_WinG:
Nope, touch still working on apps. Just power menu and navigation keys do not respons the touch. i'll try to find what causing the problem, maybe it's rom bug (im using EU rom).

How to migrate to f2fs by clean install the rom?

Wipe>convert>flash?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mostafaz:
If it's not work please send fstab.qcom which placed in root dir for miui roms.

Convert EXT4 to F2FS (/data /cache)

* Your recovery should support F2FS

* Supported on /data /cache

* Make sure to backup all Internal Storage data because it will be erased during the process

* Make a full backup with TWRP and/or copy TWRP folder to your computer/otg/ext_sdcard

* You can do this Instruction over /data /cache (or just one or both of them)

* You may experience a little bit delayed phone start-up

1. Navigate to Wipe menu

2. Select "Advanced Wipe" button

3. Check data or cache partition

4. Select "Repair or Change File System"

5. Select "Change File System" Button

6. Select F2FS button

7. Return to Advanced Wipe menu

8. Repeat steps 3-7 for cache or data partition

9. Copy Twrp folder to internal from computer if you don't have ext_sdcard or otg

10. Navigate to Settings menu and Select "Use rm -rf instead of formatting" (you can uncheck before reboot)

11. Navigate to Restore menu and Restore each Partition you Converted to F2FS (/data , /cache or both of them)

12. Flash latest Gabriel Kernel and enjoy it
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Spicy_WinG:
Flashed Dev ROM 8.3.15 so far looks good no not responding touch screen. And now your kernel works better than before. Thx man keep your great work please :D:good:
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Ramakrishnan ?:
[MENTION=5175597]mostafaz[/MENTION] . . Dirty flashed latest 17/3 build with NOS Rom and Modified kernel settings and rebooted . . settings are going stock after reboot !
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mimka:
[MENTION=5175597]mostafaz[/MENTION]

bro... why big clock speed stuck at 1401???

please enable 1536 as default without kernel adiutor.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] justyourimage:
delete me