yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] SH3H1:
I am on latest global beta 8.9.20 fyi and i doubt if there is much change with Xiaomi.eu builds(Maybe there is)

I can list out whatever i found salty in this one

-each 4-5 times unlocking the device,you will get ad opening in browser no matter if you are using an app or in home screen (Was good with stable builds,didnt know Xiaomi messed it this bad now)

I am getting ads here and there even while using the device (Annoying since its like we have to put up with ads because we pay less for this device lol)

I am sure adaway or other adblock should work but system level adware is bad move from Xiaomi

(Don't know if Xiaomi.eu is clean from this,maybe it is? Anyways just wanted list out something important ? )

-Notch comes between normal usage - Definitely your idea is lit ? , having a double row status bar would be the way to deal with it

-Seems the battery life was better with MiUi 9 stable,Got upto 9-10hrs on my daily use,but now 6-7hrs only(Mostly due to wakelocks of adwares i guess)

-As someone else stated if you could pull out something out of Mi8 for camera,would be really good addition,Not that there is anything wrong but we always love something more lol

I am so used to MiUi that i cant get rid of it,This project seems fit for my likings ? Will test it once it gets out for sure

Basically a super heavenly perfect ROM? lol We would get there eventually
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Indeed.

I'm just working on a pocket-skip feature for now, since it's easy and already done - I'm just automating the patching in the kitchen now but I'm doing an app to toggle stuff next :) Then I will do two builds; global and xiaomi.eu builds.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jineshpatel30:
How to check if FBE is enabled or disabled currently ?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
ADB shell or terminal:

cat /vendor/etc/fstab.qcom | grep "userdata"

FBE (always forced) has fileencryption=ice

FDE forced has forceencrypt=footer

FDE optional has encryptable=footer
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] ayush.gl:
Please port miuipro or epicrom for poco f1. [MENTION=1844875]CosmicDan[/MENTION]
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] SH3H1:
I wonder what you will get better from those? Those names? I am sure you will get everything that you get from those and more from this one...it is a long term project hence be patient about it

Meanwhile try Xiaomi eu,good alternative right now, using it and everything is good
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jineshpatel30:
This is my output, should i flash FBE enable zip ? (i flashed forced encryption disabler after twrp)

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\Jinesh> adb shell
* daemon not running; starting now at tcp:5037
* daemon started successfully
beryllium:/ $ cat /vendor/etc/fstab.qcom | grep "userdata"
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,noauto_da_alloc wait,check,reservedsize=128M,encryptable=footer,quota
beryllium:/ $
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
If you want FBE, yes. You will also need my TWRP for FBE support.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] r0ngm0sal0:
Update Benchmark score in xiomi.eu rom please
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
42.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] samexex:
request : fake fingerprint scan button on lockscreen, and that triger face unlock would be nice..
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Puneeth 676797:
Seriously dude?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] rj.rijo:
Does IR works on this?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] mumith3:
Well... The idea is a pretty good one imo ??? cool way to show off ?

Why? It sound interesting ? & open source does mean the freedom to customize & utilize the phone however we want. Even if people try to show off... & The idea is pretty interesting if you ask me.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Poll is closed, thank you to all participants. Here is the resulting decision and way forward.

MIUI Ex was unexpectedly the most popular, with OMP in second place. Both names will be used for different things.

OMP, or Open MIUI Project, will be the name of the kitchen software and community itself, in general. In future, if all things go to plan and this one day becomes an automatic Magisk module, it might be renamed to Open MIUI Patches.

MIUI Ex will be the name of the bleeding-edge "flavor" of OMP builds, where all the new features go.

If this little thing we have going here catches on, then there may be other flavors contributed by other developers in future.

Planned kitchen flavors:

global - Based on official Global ROM with minimal feature-and-function changes (focus on fixes and optimizations);

eu - Based on xiaomi.eu ROM with minimal feature-and-function changes (focus on fixes and optimizations only);

ex - Based on official Global ROM (probably) with all of the new and original features, functions and customization.

The global and eu builds will serve as a baseline and a good comparison for the ex ROM, since the ex ROM is more likely to have bugs.

The ex builds, ex for extended, will be the new home-grown effort. All my new original work will go into this flavor. At first it will be based on eu - this means that users should be able to dirty-flash between ex and eu version (in case something in ex is wrong).

Here is a quick roadmap and status update of what development things are happening now-ish:

More work on the essential kitchen stuff (haven't made a push in a while but there's lots of rough work locally);

Do the high-priority features then make the first ex build(s);

Re-do the OP;

Re-implement the useful Xiaomi.eu changes into OMP patches;

Rebase ex flavor on global and stop building eu flavors (at this stage, eu flavor will be redundant).

There's still quite a bit of work, but it's getting there.

Stop building Xiaomi.eu flavors? Huh?

This was always a goal of mine. Eventually, all of the *good* things in Xiaomi.eu builds will be re-created in the kitchen as patches which can be applied to the official Global ROM instead of relying on Xiaomi.eu builds. Why:

Xiaomi.eu, originally miuiandroid.com, was first designed to convert China MIUI ROM into global versions with translations and globalisations. It was a project made out of necessity - before Global devices even existed - as such, a lot of their China-to-EU patches just don't apply to the Poco;

Xiaomi.eu ROM and kitchen is 100% closed and the changes they make to MIUI are completely undocumented (apart from a dubious feature list);

Xiaomi.eu kitchen is getting a bit long in the tooth. Lots of the fixes/tweaks are actually bad or obsolete, such as the optimized GPS setting for EU

Mark and ingzby seem a bit burnt out - they're not as communicative with the community as they used to be.

That's all for now.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] ayush.gl:
Will you build miui ex with new coming xiaomi.eu build?? [MENTION=1844875]CosmicDan[/MENTION]
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
I'm not sure. I probably will because it makes it more usable, but then a later switch to global official will need a Factory Reset.

I think early ones based on xiaomi.eu will remain unnamed - just "OMP build"; then when its prime time the mods will be moved to global official as a base and that will effectively be the first real MIUI Ex. Might have OTA by then too.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jineshpatel30:
Any new build ? Will your build come without disabling force encryption & deodex ? since we have TWRP which can decrypt data now , disabling it don't make much sense like xiaomi.eu guys do.

BTW do have any idea why Stock MIUI both 9.x.xx & 8.x.xx are failing on SafetyNet even without root ? CTS profile always fails on Stock rom so it'll definaltely fail on customs as well. except for xiaomi.eu as they change device.fingerprint to "Polaris" instead of "beryllium"
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Interesting. Thanks for the tip. Very strange that the codename change fixed it - probably an MIUI bug. In all honesty I have no idea how CTS verification is performed - I'm just guessing that there's some internal database in the ROM itself.

No ETA on a new build I'm afraid, but I will share some details on progress.

Most of my time has been going into reverse-engineering and researching..... the things (feature list will come soon, see next paragraph for roadmap plans). I'm sorry to say that MIUI has really gone downhill in the past year, I'm discovering more and more bugs that the scene hasn't even talked about yet (well, nothing found in Google or forums I check). So my notes and research are just getting bigger and bigger lately with little actual ROM work.

With that said, it's time I redo the OP and start the super fun community development of the project (not sarcasm - I'm qualified as a project manager but don't work in the field professionally so this is exciting). So my current focus will include things like:

1) Redo the OP to properly reflect the new stuff we all talked about and voted on, and re-iterate that the project is in its infancy and there's a call-out for contributors of all kinds (except coders, unless you're at least as good as me - I'm not here to be anybody's teacher);

2) Open a public chat room somewhere. Unless someone has a good reason, I've decided on Discord over Telegram mostly because of superior privacy and spam/notification management;

...that list was originally bigger but I realized that #1 is actually gonna take a day or two.

Lastly, I invite anybody who is experienced in web and gfx development to reach out to me if they're interested in becoming part of the project officially. I am thinking WordPress since I'm already very comfortable with it. But maybe we can organise a competition for logo designs or something :)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jineshpatel30:
There's more to it than it looks.

See , getprop ro.build.fingerprint

output from,

Xiaomi.eu Beta Xiaomi/polaris/polaris:8.0.0/OPR1.170623.032/V9.5.19.0.ODGMIFA:user/release-keys

MIUI Stable Xiaomi/beryllium/beryllium:8.1.0/OPM1.171019.011/V9.6.22.0.OEJMIFD:user/release-keys

MIUI Beta Xiaomi/beryllium/beryllium:8.1.0/OPM1.171019.026/8.9.20:user/release-keys

I know results are from previous version but latest version of MIUI also have safetynet fail. (I check both stable & Beta from this week.)

So, i think POCO is still not registered with Google for passing safetynet that's why xiaomi.eu guys are using porlaris MI MIX 2s to fool safetynet as it's already registered. May be this is alse the one of the reason why Asphalt series isn't working on POCO. As there's was one build from MIUI (i think 9.6.14) which actually passed safetynet and at that time Asphalt download was also working, but now again it's gone.

I have not much time to pursue this further on official xiaomi forum but if you find this info interesting please push to offical POCO team on it.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Oh it's definitely registered with Google - if it wasn't then every single Poco user would be unable to see Netflix and a bunch of other apps in the Play Store, and there'd be a LOT of complaints about that.

Could be avb related - unlocking bootloader = avb status orange immediately - and maybe these fingerprints are only registered for green (i.e. secure) devices. Notice the polaris version - 9.5.19 - that's from May this year, the Mi Mix 2S was only released in April - so Xiaomi have not just replaced fingerprint with polaris one, but from a much older polaris firmware - possibly the very first global ROM for polaris (too lazy to check right now) - which could be registered to Google for both green and orange avb, whereas all later OTA's they only bother registering the green avb to save time and effort.....

....all just a guess.

Oh I forgot to answer other stuff - No I will not disable forced encryption, and No the main MIUI Ex ROM releases will not be "deodexed" (well, first few builds may still be because I need to design all the kitchen stuff to "reodex" the ROM, and there are other higher priorities)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jineshpatel30:
possible but still very bad trade off for users. Unlock Boot-loader vs Keep Safety net :(
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Nah not really. 95% of Xiaomi users won't even know what a bootloader is. The modding we do is very niche, average people find it either pointless or frightening.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jineshpatel30:
Point but then again POCO was supposed to be modding friendly device so just unlocking boot-loader shouldn't tip-off safety-net otherwise there's no point to keep beta update to unlocked boot loaders only :p
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Hmm. Maybe it's temporary then, or maybe a mistake/accident. Or maybe I'm completely wrong and it's something else - I'm not willing to risk re-locking the bootloader to see.

I considered the main point of unlocked bootloader requirement for beta as a deterrent against casual users or accidental upgrades.

But also, I've not seen anybody else talk about this problem except yourself so *shrug*
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Aka9413:
Does your rom also has the touch latency / high sensitivity issue like official miui rom i.e present in both stable and beta rom
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
I don't have this problem, this is a NVT firmware thing that Xiaomi's ODM needs to solve for those few who have this issue.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Aka9413:
I see thanks for the reply
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] iamsubhranil:
[MENTION=1844875]CosmicDan[/MENTION] can the MIUI 10's dynamic notification shade blur be ported to custom ROMs? It looks way too much sexy, and fhe animation with step increase of the blur depending on the drag level looks pretty slick.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] $hivaM Manav:
Easier said than done but yes it can be ported to custom ROMs but not on Oreo based ROMs from what ik.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Ajudia:
Hi, can anyone extract miui camera apk, and upload here.

thanks
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] iamsubhranil:
can you give me some pointers about where to find more info?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Off topic.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] iamsubhranil:
you are modifying MIUI and claiming to do it openly. How is it off topic?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] chrome6boy:
Because this is a thread which he started about his builds.

This is not a thread about general MIUI hacking tutorials.

Respect the OP, or start a new thread.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
If you want to port stuff to MIUI then it would be welcome discussion - but you're going the wrong way around so it's unhelpful and just looks like a hijack.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dafreaking:
Is this DOA? (no disrespect)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Nope. Just busy. Working very slowly.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dafreaking:
Phew...sounds like a very interesting project
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Saswata Chakraborty:
Hi buddy, I am extremely sorry for asking an off topic question. I couldn't find the right post, hence I am asking it here.

Can I use your tool to change the splash screen of Poco F1? I had a great time with the tool on my Mi A1
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
No.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] VARGNAR:
looking forward to this project will be complete one day. i love miui based rom.. they are more optimized than other based rom, designated for xiaomi phone exclusive... with extended on the project name, i hope this miui extended gonna be very customizable and tuneable, like most aosp custom based rom had,better than what miui pro did. good luck with the project
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] SH3H1:
So basically all Xiaomi doing is holding back Poco with software?

I guess same reason why the Mi8 port worked great with camera...Not sure if Xiaomi eu would do anything but hope we can somehow pull the good stuff in OMP [MENTION=1844875]CosmicDan[/MENTION]

Edit:- official twrp should be here in few days,as dees troy recieved his dev unit
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Nice, good to know.

Holding it back, how?

I am not a fan of Xiaomi.eu ROM's, not for the Poco anyway. They were good for Mi devices when all we had was China ROM's but the Poco Global ROM is better. Xiaomi.eu ROM doesn't even let you restore from a Google backup, among various other things missing.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] SH3H1:
I was talking about the camera capabilities...sure we don't have OIS and apertures are different but still it could come really close but they want their flagship to perform best it seems, otherwise we would have seen all the features like night mode with Poco as well...i was wondering if we can snatch the camera stuffs from Mi8 to poco?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Interesting. Maybe, probably possible. I don't know much about camera stuff personally, but I'll keep it in mind.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Howdy everyone,

Apologies for the lack of news lately. Work is continuing, in fact I've started yet another rewrite of the build system... This time in Java. It will take a lot of work but be totally worth it.

The main advantage here is that I can write my own patching system tailored specifically to smali. I can de-serialize a class in the ROM and manipulate it far better than any bash script or GNU tool could. Plugins/patches/mods can be written in a real programming language with all the benifits it brings. Developer stuff, if that doesn't make sense at all then nevermind - but trust me, it's very cool :D

Simple explanation: bash scripting is just too fragile and difficult to maintain. Using sed or diff files are just not good enough on this scale. Without this rewrite, the build system is destined to fail as it will become way too complicated and bloated

It also paves the way for building the OMP modded ROM's on Windows, Mac or even Android itself. So that's another cool thing. EDIT: Also easier to integrate with a build server, when that time comes. OTA's and stuff too, I think I've already mentioned (at least for MIUI Ex).

If I'm going to do this, I may as well do it right ;)

EDIT: Oh, also - it's had another name change lol. It's now going to be known as the Open Android Patcher, since it has potential to work with any Android ROM rather than just MIUI - every single part of it will be modular. But of course my work will be 100% on modded MIUI for Poco, just as it originally was :)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] fjbonilla:
My best energies for this project!

Up POCO F1!!!!! ?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] SH3H1:
Glad to see this up and alive, waiting for it to replace eu ROM for me
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Puneeth 676797:
Whoa,.... Cool..

I'm still using the twrp by you. I believe you'd do great. All the best
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] shubham panjla:
when will update came its been long time:(
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Read the last post I just made above (and others quoted).
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
If anybody knows of any library or cross-platform tool to extract/modify raw ext(4) images then please do let me know. Having a bit of trouble with this.

These are the only three implementations I've found:

loopback mount

- What I was doing before

- Linux only (my Java dev machine is Windows)

- Requires sudo

ImgExtractor.exe

- Closed-source (from 4PDA)

- Windows only (might work in Wine but that's undesirable)

- Buggy (produces corrupted statfile / fs_config)

7-zip

- Doesn't extract everything (e.g. symlinks that go above the root mount point)

- No easy way to build fs_config from what I can see

I'm looking at libguestfs right now, which has Java bindings already so might be able to do what I need with that - but I need to explore the API thoroughly. Update: Seems I'd need to figure out how to compile it with Cygwin still, as it has native code but not supported on non-Linux.

So if anybody knows of something else that I haven't mentioned above, let me know!

UPDATE: Turns out the problem is Pie. Need to use e2fsdroid from AOSP, which has not been ported to Windows - it's a part of e2fsprogs which uses lots of Linux specific stuff.

So there goes the idea of making it cross-platform. I'm going to have to re-think the architecture of the build system - probably will just separate the firmware rebuilding process, make all of that Linux-only .sh scripting - then the main bulk of the program can still be in Java to do the heavy lifting.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Masterx1200:
Definitely looking forward to this project!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] elandroido:
Hey [MENTION=1844875]CosmicDan[/MENTION],

This sounds really cool, I might want to participate in this.

I had reduced my open source activities to practically zero, since my new devlead job at my job kinda hit me hard.

Anyhow I miss the open source stuff a bit, but just have no feeling to commit myself to anything.

Well, anyhow I have a brand new poco f1 and you got me at „super fun community development“. :)

Maybe I can contribute somehow.

What could be areas?

I have some android hacking experience, but very little. I was „co-pilot“ in porting cyanogen unofficially to the moto g4 and thats pretty much it aparty from using the stuff and fixing end user issues.

Other open source things I did were FreeBSD things and an own project, nothing huge.

Anyhow I can probably help with build systems (I used to maintain a sh/make based one at a chip vendor), and I guided (and implemented) a java project at work recently, so there should be fresh knowledge.

Well I just love hacking, whih I have not so much opportunity to do in my new job, so if you like and it turns out to work, I may like to contribute here.

No commitment from me, just „super fun community development“ for the sake of itself.

Gr33z, elandroid

P.S.: Excuse me, non-native speaker :)