• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][10.0][OFFICIAL] FlokoROM v3.0 [clover/Mi Pad 4]

1indwurm

Senior Member
Sep 9, 2014
102
277
63
maud.io


Your warranty is now void.

I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this ROM before flashing it!
YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
Features

Floko-specific features:
  • OmniSwitch included
  • Switch "Recents" style (now you can choose QuickStep or OmniSwitch as default recents!)
  • Locale(language) Tile in QS
  • Remove Music Player (install what you like)
  • Remove "non-free" Font Packages
  • Disable ADB when gaming mode (optional)
  • LineageOS screenrecoder

crDroid and LineageOS features:
  • Network traffic monitor
  • Switch 4G/LTE icon
  • Battery bar
  • Statusbar Quick/Smart pulldown
  • QS columns
  • Notification Ticker
  • Smart Charging
  • Rounded corners
  • Style(Theming)
  • Volume panel customization

Known Issues

  • If you encountered other issues, please tell me

How to Install

  1. MAKE A BACKUP OF ALL YOUR DATA.
  2. (First time) Wipe Data, Cache, Dalvik
  3. Flash ROM, GApps, Magisk(optional), dm-verity Disabler(optional)...
  4. Reboot to System
  5. Enjoy.

Thanks

love. respect. and love.

ROM:
  • crDroid
  • LineageOS
  • OmniROM
Device:
  • xiaomi-sdm660 team
  • rcstar6696
  • GuaiYiHu

Team


Downloads


Reporting Bugs

  • DO NOT report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

Source Codes




XDA:DevDB Information
FlokoROM, ROM for the Xiaomi Mi Pad 4

Contributors
1indwurm, 1indwurm
Source Code: https://github.com/FlokoROM

ROM OS Version: Android 10
ROM Kernel: Linux 4.x
Based On: crDroid, LineageOS

Version Information
Status: Alpha

Created 2020-04-13
Last Updated 2020-04-13
 
Last edited:

1indwurm

Senior Member
Sep 9, 2014
102
277
63
maud.io
FAQ

Why this ROM encrypting my /data partition? How to disable it?
FlokoROM enabled forceencrypt for /data partition as default to avoid problem and keep your data securely.

If you don't want encryption, you can use this Universal DM-Verity, ForceEncrypt, Disk Quota Disabler .
note: This Disabler require formatted /data . you can use it at first time you flash Floko. DO NOT use for already encrypted /data .

First time: in TWRP, Format Data(THIS WILL ERASE YOUR DATA) -> Flash Floko -> OpenGApps(optional) -> Magisk(recommended) -> Flash Disabler .
update: Flash Floko -> OpenGApps(optional) -> Magisk(recommended) -> Flash Disabler.


Why this ROM can't install Netflix?
We never use spoofed fingerprint from other devices. but you can change it at your own risk. Try MagiskHide Props Config Module.


Why FlokoROM doesn't support "Fast Charge"?
Hardware issue. Mi Pad 4 DOES NOT support ANY "fast charge", 5V/2A is max (depend on charger and cable).

Battery is drained!
1. Please DISABLE pocket detection in FlokoSettings.
2. If your Mi Pad 4 is rooted, change CPU Governor(ex. conservative) from performance(maybe default).


Changelog

You can read full changelog (Git changes) in FlokoROM. Open Settings -> Floko Settings -> about FlokoROM -> current changelog .

Code:
[SIZE="3"]
Floko-v3.0-clover-20201031_045346-OFFICIAL: 2020.10 release
  * Include 2020-10-05 security patch levels
  * Reduce audio latency for some applications

Floko-v3.0-clover-20200808_105647-OFFICIAL: 2020.08 release
  * Include 2020-08-05 security patch levels

Floko-v3.0-clover-20200713_063400-OFFICIAL: 2020.07 release
  * Include 2020-07-05 security patch levels
  * themeable ON/OFF switch

Floko-v3.0-clover-20200607_140303-OFFICIAL: 2020.06 release
  * Include 2020-06-05 security patch levels
  * Add notification clear all button
  * show Brightness slider in QS
  * add back weather parts

Floko-v3.0-clover-20200511_104512-OFFICIAL: 2020.05 release
  * Include 2020-05-05 security patch levels

Floko-v3.0-clover-20200415_013414-OFFICIAL: fix
  * Remove FaceUnlock (due to license violation)

Floko-v3.0-clover-20200412_134431-OFFICIAL: 2020.04 release
  * Initial public release!
  * Include 2020-04-05 security patch levels
  * Interface transparency in FlokoSettings
  * Locale(language) Tile in QS
  * better OmniSwitch integration
  * Face unlock is back
  * Landscape lockscreen is finally fixed

Floko-v3.0-clover-20200301_042627-EXPERIMENTAL: v3 RC
  * v3.0 (based on crDroid)
  * OmniSwitch
  * remove non-free fonts
  * disable adb in gaming-mode
[/SIZE]
 
Last edited:

l_mike

Senior Member
Jan 6, 2013
109
49
0
Just got it on my device. Seems very smooth!

Wysłane z mojego Mi Pad 4 przy użyciu Tapatalka

--edit--

Is the deep sleep mode working for you?
 
Last edited:

Malteubz

Member
Jul 11, 2016
8
3
0
Hello, first of all, ty for this nice and smooth rom ! Great work !

I would like to know if someone has a ctsProfile : false issue ? Dunno how to fix it. Already tried the patcher module, but no luck.
 

cyberdev

Senior Member
Dec 12, 2010
107
26
0
Using this rom since yesterday and have for general it seems pretty good.
2 things i noticed:
Screen rotation does not work for me
And it uses much more battery (battery life with floko 2.0 was much better)
 

l_mike

Senior Member
Jan 6, 2013
109
49
0
Using this rom since yesterday and have for general it seems pretty good.
2 things i noticed:
Screen rotation does not work for me
And it uses much more battery (battery life with floko 2.0 was much better)
Check with CPU spy if you have deep sleep working. This is mine overnight info.Screenshot_20200416-062532_CPU_Spy.jpg

Wysłane z mojego Mi Pad 4 przy użyciu Tapatalka
 

1indwurm

Senior Member
Sep 9, 2014
102
277
63
maud.io
I would like to know if someone has a ctsProfile : false issue ? Dunno how to fix it. Already tried the patcher module, but no luck.
we never spoof fingerprint (from other devices) in offcial build, and maybe wontfix because I think clover haven't shipped with GMS.


Can I directly upgrade from Floko 2.0 or I have to start all over again?
I *strongly* recommend clean install (with format /data ).
 
  • Like
Reactions: Never_Sm1le

Malteubz

Member
Jul 11, 2016
8
3
0
we never spoof fingerprint (from other devices) in offcial build, and maybe wontfix because I think clover haven't shipped with GMS..
Ok I see. I was asking because I can fix this issue with other roms (with the patcher module in Magisk). So there is no solution for this rom ? (I can't officially install netflix for example, due to this).

Thanks again for this great rom and your fast response :)
 

zuhero

Senior Member
May 17, 2014
104
8
0
FAQ

Why this ROM encrypting my /data partition? How to disable it?
FlokoROM enabled forceencrypt for /data partition as default to avoid problem and keep your data securely.

If you don't want encryption, you can use this Universal DM-Verity, ForceEncrypt, Disk Quota Disabler .
note: This Disabler require formatted /data . you can use it at first time you flash Floko. DO NOT use for already encrypted /data .

First time: in TWRP, Format Data(THIS WILL ERASE YOUR DATA) -> Flash Floko -> OpenGApps(optional) -> Magisk(recommended) -> Flash Disabler .
update: Flash Floko -> OpenGApps(optional) -> Magisk(recommended) -> Flash Disabler.


Why FlokoROM doesn't support "Fast Charge"?
Hardware issue. Mi Pad 4 DOES NOT support ANY "fast charge", 5V/2A is max (depend on charger and cable).

Changelog

You can read full changelog (Git changes) in FlokoROM. Open Settings -> Floko Settings -> about FlokoROM -> current changelog .

Code:
[SIZE="3"]
Floko-v3.0-clover-20200415_013414-OFFICIAL: fix
  * Remove FaceUnlock (due to license violation)

Floko-v3.0-clover-20200412_134431-OFFICIAL: 2020.04 release
  * Initial public release!
  * Include 2020-04-05 security patch levels
  * Interface transparency in FlokoSettings
  * Locale(language) Tile in QS
  * better OmniSwitch integration
  * Face unlock is back
  * Landscape lockscreen is finally fixed

Floko-v3.0-clover-20200301_042627-EXPERIMENTAL: v3 RC
  * v3.0 (based on crDroid)
  * OmniSwitch
  * remove non-free fonts
  * disable adb in gaming-mode
[/SIZE]
Why does face unlock has a license violation? I mean, it's a great feature.
 

1indwurm

Senior Member
Sep 9, 2014
102
277
63
maud.io
Why does face unlock has a license violation? I mean, it's a great feature.
1. crDroid (we fork them) picked PixelExperience's FaceUnlock implementation
2. PixelExperience devs grabbed libs from Motorola's implementation
3. Motorola got licensed Face++ from Megvii but I think PE didn't
4. We didn't have valid license to use faceunlock implementation
 

t-ryder

Elite Member
Feb 23, 2011
1,262
974
113
www.t-ryder.de
I was using this ROM and chatted about it with some other clover dev (whose identity I keep to myself). I stated that I quite like floko. Runs smooth, no bugs as far as I was using it. The other dev replied

"Good luck with that chinese ****. Floko is very unserios in dev Community."
"Its not only my opinion. But you can use what you want. Floko is done by chinse devs who was working on other ROMs and got banned there."

Now I see that you taking license stuff serious, regarding kanging I don't know. But what is going on? Why the hard feedback from that other clover dev?
 

Motto_MTR

Member
Feb 3, 2018
22
5
0
I was using this ROM and chatted about it with some other clover dev (whose identity I keep to myself). I stated that I quite like floko. Runs smooth, no bugs as far as I was using it. The other dev replied

"Good luck with that chinese ****. Floko is very unserios in dev Community."
"Its not only my opinion. But you can use what you want. Floko is done by chinse devs who was working on other ROMs and got banned there."

Now I see that you taking license stuff serious, regarding kanging I don't know. But what is going on? Why the hard feedback from that other clover dev?
Well, I think they have some misunderstanding around Floko, or taking FlokoROM for some another ROM.

First, the main dev of Floko(exactly @1indwurm ) is not a Chinese, but a Japanese.
Second, there's no fact that he has been banned from any ROM projects.

FlokoROM was originally "AICP-mordiford" which was based on AICP but not official, and had been so until around Android 8. He made it for himself, to remove pre-included Magisk and un-free fonts, or to merge some tweaks that were not included in AICP.
Around the time Android 9 comes, he decided to change his ROM's name to Floko, to avoid confusion with AICP official.
 
  • Like
Reactions: 1indwurm

Never_Sm1le

Senior Member
Sep 26, 2016
324
73
28
Hanoi
OK, thanks for the info. I was wondering why the other guy gave such negative feedback, after I wrote that the ROM runs fine.
@1indwurm do you have any clue what that guy was about?
Maybe what he meant is some floko unofficial developers? Like the one developed floko for Z3 compact tablet, he got PMed so much to the point he gave up developing
 

lemyx

Member
Jan 26, 2016
9
0
0
Hi guys.
Thank you for this firmware, its awesome!

I have a question.
In the original firmware the is a function, when pad is locked and you touch the sensor at the bottom of the screen, then screen turns on (even if you dont have fingerprint set up).
In this firmware, when I touch the sensor, nothing happens.
Is there any possibility to make it work?
One more time. I want to make pad turn on the screen when I touch fingerprint sensor without fingerprints set up.

Thank you!