yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
It will get better but never as good as stock because of the lack of predexopt. This will be improved in later builds.

Thanks for the offer. My home server is best for now, but if I ever setup automated builds for multiple devices then feel free to remind me of that :p

No. It supports FBE only, stock is FDE.

THIRD TIME NOW I have asked to take it somewhere else. This thread is NOT ABOUT XPOSED and NEVER will be. I will NOT ask again.

Read OP or GTFO. I've clearly stated that this is alpha.

There's a lot of work for one person here to do, guys, so please be patient with development. I need to implement odex in kitchen to solve the jank completely before I go anywhere else.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
It will get better but never as good as stock because of the lack of predexopt. This will be improved in later builds.

Thanks for the offer. My home server is best for now, but if I ever setup automated builds for multiple devices then feel free to remind me of that :p

No. It supports FBE only, stock is FDE.

THIRD TIME NOW I have asked to take it somewhere else. This thread is NOT ABOUT XPOSED and NEVER will be. I will NOT ask again.

Read OP or GTFO. I've clearly stated that this is alpha.

There's a lot of work for one person here to do, guys, so please be patient with development. I need to implement odex in kitchen to solve the jank before I go anywhere else.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sreekantt:
Apart from the initial performance which is getting better. Looks like everything works as expected. Stock cam quality on these builds which hosts China camera libs are far better than POCO stock global ROM. It almost matches the Gcam or sometimes better except the pics are slight softer but also lot less noise.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Indeed, the China ROM's have a lot of little benefits. Is the camera being better also the case with the latest Xiaomi.eu build for Poco? (If it's not up yet it will be soon).

After talking to Xiaomi.eu guys and doing more of my own research, I've found that the difference between Poco MIUI and normal China MIUI is actually very minimal. As such the Mi8 ports will NOT be a focus of mine from now on. The lag is actually caused by the port being incomplete - Xiaomi.eu Poco build is super duper snappy! I want to move focus on developing my original mods instead, now that the kitchen re-write is almost done.

If the camera in Xiaomi.eu Poco builds are not as good as the Mi8 port, then I can instead look into porting the camera stuff over. Thought I might need help from someone to give me a good easy example of how to compare quality (I know absolutely nothing about camera stuff).
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] josip-k:
As they have same sensors (dipper and beryllium) i think we coild have some benefits from proprietary blobs. Apart from secondary sensor, wich is 12MP in dipper and 5MP in beryllium, they are almost identical.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Domayyy:
Can i switch from your rom to xiaomi.eu like usual? Or is there the rollback protection or smth
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] sbhas2k:
Poco doens't have rollback protection. You can swiych
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Domayyy:
alright thank you. is the xiaomi.eu version stable?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] sbhas2k:
Check that relavant thread. I've been using it since yesterday and pretty good so far. No issues
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] asusm930:
Can you upload the folder "camera" in mi8 vendor/lib/

Having trouble unpacking mi8 dumps to do this myself.

If possible from last mi8 oreo beta build

Thanks
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Yeah, if the sensor is the same manufacturer then it's probably the same driver anyway, maybe just config differences (there are some build.prop entries related to camera that needed to be changed for the Mi8 port to work).

I don't have latest Mi8, only last stable. But that's good enough for you to test at least, right? There's a good chance the vendor blobs haven't changed anyway.

Here: http://www.mediafire.com/file/s0q292f9jr3md46/mi8_camera_libs_10.0.4.0.7z/file
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] josip-k:
I dont know if image processing stuff is related to configs or blobs, but either way, if we can get something out of it i would use both. It will be especially useful in custom roms (i don't know how miui is done tbh, never did it)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Domayyy:
Where do i find the thread? I cant find the rom on their website
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] methuselah:
[MENTION=1844875]CosmicDan[/MENTION]] great to see you here too. I was thinking getting this phone and now I can see another reason. Keep up buddy.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] SH1M4BD3:
[MENTION=1844875]CosmicDan[/MENTION] sorry its out of topic, since this rom was a port from dipper (correct me if i'm wronged), does the Los build for dipper here https://xdaforums.com/mi-8/development/rom-lineage-15-1-alpha-t3840238 is also possible to port and boot on our device, it's safe to only changing the script to avoid error while flashing on TWRP
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sreekantt:
I didn't try the Xiaomi.eu POCO builds but I don't think they host the better camera libs than Global currently. It's always better if you port the MI 8 china camera libs as it's been regarded by many people to have one of the best quality among all the variants. May be you can ask the Xiaomi.eu guys for a better confirmation regarding this.

Update - I just compared the pics side by side with global stock ROM of POCO. You can be rest assured, Pics on your build are currently 20-30% better than stock with sharper images, more detailed & natural color reproduction. If you switch to the POCO Xiaomi.eu ROM in future, try to retain the same camera libs. of MI 8 China. Attached the comparision pics with Gcam because Gcam performs lot better than stock cam of POCO but the cam in this build goes ahead of Gcam.

(Left)Stock build - (Right)CosmicDan's build [Zoomed in pics]

View attachment 4600471

View attachment 4600472

Hoping the performance bug would be fixed soon.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] SamuelChenkual:
When will AOSP roms arrive for this phone?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Go away.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] asusm930:
Mate, can you upload the whole lib folder? (Only lib. Not lib64)

Trying some hackery to improve camera

System/vendor/lib
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
http://www.mediafire.com/file/b4bwev4bqf0wb4q/mi8_system_lib_v10.0.4.0.zip/file
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Ok, small news / status update on the work. Bit of a rant actually but whatever lol.

Been plugging away at the kitchen, and over the last few days I have reached-out to various veteran ROM and MIUI hackers for some advice and help, many of which I've got years of history with.

And basically all of them gave me the finger.

For some reason, everyone involved in MIUI and other stock ROM modding is keeping their secrets very well guarded. I don't know what the source of this culture is, but it's really annoying. So I'm doing all this stuff from complete scratch... but will keep it open. And it's going to be better, and they'll probably steal my/our work anyway but meh.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] trax7:
[MENTION=1844875]CosmicDan[/MENTION], I salute you, sir! I am new to Xiaomi, my Poco is the first phone I have from this brand but already I see amazing devs like you! I have been thinking of going into Android development for quite a while but never had the time/will to push that initial learning curve because of uni/work...I've only made a TWRP build for my old Sony Z5C.

You just gave me inspiration to try again! :)

Allow me to offer my help if you provide me with some initial documentation/opinion on where I can start and be of the most use.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Hate you let you down but I have absolutely no advice or pointers. I've been hacking around on Android for almost ten years now, and was already an amateur programmer before that. I wouldn't even know where to start, except for just googling for questions and looking for answers.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
So this is what I've been fiddling with (status bar):

I REALLY do not like the limitations imposed by the notch. I think a double-row status bar is a fine solution though. Since our screen is 18:9, with double-height status bar we still get the same amount of pixels in height (or even more, still) than a standard 16:9 display. I want the date to be ISO standard (e.g. 2018-09-22) which still needs to be coded and hooked-up. Maybe abbreviated Month (Sep) on the right ear too, if it fits. And on the left ear by the clock there can be an abbreviated day of week (Sat).

I could also move some particular system icons up, e.g. Alarm icon near the clock, but that takes special work so isn't a priority right now.

There are some issues with this still, though:

Stock launcher is dumb, the Google search bar overlaps

Haven't figured out how to have a normal single-row status bar in landscape (status_bar.xml in /res/layout-land/ does nothing)

Alignment of clock/date should probably be centered inside each ear

No longer have a nice percentage-inside-battery-icon like it was before (probably an easy fix, just need to find the code).

Any thoughts or suggestions are welcome!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] PerfectSlayer:
As far as I can remember, SystemUI won't use land modifier for layout. Only for values.

If it is the case, why don't you change the original layout to include two new layouts: one for landscape and another for portrait?

According the screen configuration, you change the visibility of both of them in the Java related code to only display the right one.

About the global size, the dimension height could be store in a values/dimens.xml and values-land/dimens.xml files. It should work I guess.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
So just have a container for two layouts, and call setVisibility on each container appropriately in onConfigurationChanged? Sounds good.

Yeah the height already works fine; the statusbar itself is the original size when in landscape (which means only the clock and date-placeholder are visible at all, right now).

Will see how I go, cheers!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] asusm930:
Man how does this work when its finished? Will be an overlay or will it need to be a modded systemUI?

Great work ???
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] WingXBlade:
Wow, this is what I imagined would potentially fix the notification problem but I'm too much of a noob to build a ROM myself. Anyway good luck on this project, I'm really looking forward to seeing this in action. :)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Tomatot-:
That's both very interesting and very clever. Your solution to actually add more infos with the double status bar doesn't make things perfect but already much better. You almost get best of both worlds.

Very sad you can't get help from veteran though. I've always read good feedback about help in between developers but I guess you got unlucky :/.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Neither. The kitchen is building full ROM's. That's the current goal.

Next goal will be to make an app that allows customisation of the mods.

Goals after that include build servers and a delta OTA system.

Long-term goals might consist of Magisk-enabled installers that can automatically generate patches/mods for the system on boot, which would eliminate the reliance on my custom builds and OTA system. But that approach would need a lot of work and could be more fragile. I will probably work on my plans for a custom Recovery before attempting this.

Yeah it's not perfect but I think it's the best solution to retain all the info. It effectively removes the notch - we still get the same number of pixels as a non-notch screen - but with the bonus of extra pixels on the notch ears. So if you just pretend it's a phone with a standard 16:9 display then it's actually great :P

Yeah there is some culture with stock ROM modding that don't like to open their work. Maybe they are afraid the ODM companies will try and prevent it, idk.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] trax7:
As long as it's able to be turned on/off, sure! I'm just one of those people who are okay with the cleaner status bar and notch. :D
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Well, the on/off toggle for status bar mod wont come for a long time. It will take a lot of work, which means I won't be able to work on the other features I actually want to have.

So if you don't like the mods in this ROM, just use stock ROM until then. Because it's not a priority to put development into making a custom ROM behave like stock unmodified ROM. I mean, why even use the ROM if you don't like the features :\

Saying that, the kitchen is 100% open so there'd be nothing stopping people from building their own ROM with some things disabled. But I can't build and upload every single possible combination of mods. Someone else can, if they want - but me doing that would be a waste of my development time.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
^ I hope you know what I'm saying here, and that I'm not coming off as arrogant or whatever :P it's just a statement of where to put priorities.

I personally will make and upload builds that have "all the mods", those will be official or "master" builds.

The kitchen is designed to be modular, and I *will* create documentation (a wiki, even) on how anybody can build and customise with their own mods. This will also be expanded with general info and guidelines on how others can add their OWN mods, including tips and tools that I personally use to develop (within reason - one of my tools is a commercial Android decompiler that is amazing and expensive which I obviously can't share - but there are other great java/Dex decompilers out there these days which are free).

On that note, something that I will need to think about is a proper name for the project. Some initial ideas are "MIUI Ex" or "MIUI Pro". Name ideas welcome :D

Suppose I will open up a Telegram group soon, maybe after we settle in a proper name for the project.

I'm here for the long haul, people ;)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] tombassi:
How about: MOSP : Miui Open Source Project , sounds good to me, hi dude my Sony xperia x10 was running smoothly on your miui build for almost 3 years until the screen broke , I am very sure we will have the same quality here. Thanks for your hard work.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
MOSP is a pretty cool name, I have to say. Though could it be misleading in making people think that the ROM itself is like an AOSP ROM trying to clone MIUI? Since it's so similar to "AOSP"....

I often agonize about picking names for projects so don't take it personally haha! I tend to envision the name being used in all kinds of scenarios, and there's always negative ones no matter what lol. But I do think it's good to have "open" in the name. Maybe "OMP"? Could stand for Open MIUI Project, effectively the same but distanced from the "AOSP" moniker.

Maybe I can add a poll to the thread (not sure if I can for DevBB threads) and let people vote for a while.

Oh wow X10, I think I still have it in a cupboard somewhere!

EDIT: OK, I just added a poll - but after creating it I realized I can't add any more options :\ so maybe I should have waited for any more ideas before opening up a vote. Hrr....

EDIT2: Google Forms survey open - name the project! (please ignore the XDA poll)

Be sure to read the description for why/what the name is about. Also feel free to ask questions here.

Link: https://goo.gl/forms/fupvKVw5Ddra6sXl1

You can add your own option and it will appear as a new option for others to vote on

You can go back and edit your vote later (in case a new option you like more appears)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] SmallTarzan:
AMiracleROM

...

I KNOW I'M ORIGINAL

...

I like the name though.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] jineshpatel30:
How about MOS (MIUI Open Source/MIUI OS like Oxygen OS) only ?

It sounds good and doesn't create confusion :p
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Looks like MOSP might be winning, drat! I liked OMP :( lol. Oh well, MOSP isn't so bad.

Will keep it open for at least another day though, maybe two.

I see some people voted on the XDA poll - if they read this post then please be aware that it's not being counted (it was only a test - Google Forms is better since it allows people to add their own options).
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] nC3rtaintiy:
But even if they did put their own option.. aren't chances that only their own vote would ever get casted in their favour? I like MOSP a lot.. although I voted for MEx.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Good point. I guess if some people think their suggestion is good enough, they can make a new one that will make others change their mind. I dunno, didn't occur to me tbh.

I guess the "own option" is more suitable for long-term polls.

Definitely looks like it will end up being either MOSP or OMP though. MOSP was winning but now OMP is - I wonder if some people changed after I said :( about MOSP lol. Both are great really.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] josip-k:
Maybe LibreM Project? like Libre Miui project :)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] trax7:
That's okay. I'd use the ROM for all the other features, the optimisations, the removed bloat and the ability to adapt and change as I see fit.

A good alternative to a modular kitchen could be to make the mods Magisk flashables? That way you'd be able to turn them on/off at will, albeit not from the MIUI settings menu but still. That would also give you, the developer, more modularity, as you can modify and ship them without touching the main ROM! :D Another good thing, nobody would be able to steal your work, provided it is stated "made by [MENTION=1844875]CosmicDan[/MENTION]" right there under the module name. The mods would also be easier to port to other devices, at a small maintenance cost - sticking to Magisk guidelines and updates but that should be a small price to pay since most of them share the same base.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] _WiNNa_:
I've just created an option for 'CosMIcUI' in your survey [emoji16]
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Yes, that's the goal. The problem with that is that there needs to be new Magisk modules for every firmware - if you installed an update, it'd stop working.

The solution to that could be one of two things:

1) Make it turn off automatically, and have a separate app that can check and install updates when they get made (easier to make but means I will need a built bot and a LOT more work on the kitchen, or;

2) Develop a Magisk-module that can do on-device patching automatically. Would need a custom boot process and stuff.

Maybe a combination is best. 2#, but can revert to stock if it failed in some way, and use an app to fix/update/configure.

Problem with both is that they need a very resilient build system. I have designed it to be relatively defensive, but there's still a long way to go on the core functionality before I can expand to higher-level improvements.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] bassbounce:
Good luck, I look forward to it!

Since the early days I just removed miui to go to aosp but since miui 10 came out I really like it but misses the notification icons in the statusbar.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] chrome6boy:
+1
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] sanjay0501:
Xiaomi seems to have confirmed they have rectified the notification on status bar issue and will be rolling it out in the new update. Keeping my fingers crossed and till then using klwp pro .
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] bower1994:
Hi there, I think it's a shame from the developers to have such an atittude but anyway I'm no one and I know nothing about development to say anything really....

I'm just writting this because there is a quite new team that started off recently that call their custom rom Revolution OS. It is said to be open source regarding the changes they do and when I tried it in my beloved mi 5 was working fairly good, better than the usual xiaomi.eu that seems to do the same plain simple changes to all devices. So in case you wanna take a look I'll leave here their website and their github.

http://miui.revtechs.me/es/index.html

https://github.com/Rev-OS

Anyway thanks for your work for our new device :)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] trax7:
Upon updating your ROM, we'd need to update the mods too - that much is clear. If we're using your ROM, we aren't just going to OTA to stock, we'll wait for you to update it.

What you can do is make a ready/not ready mod database here for the latest version in the thread on second post maybe. I might look smth like this:

CosmicMIUI 9.x.x.x:

MOD_X link (READY)

MOD_Y no link yet (UNFINISHED)

Making the text after the link green/red in colour would be a way to instantly spot what is available and what isn't.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
I'm researching build bot stuff, which would be hosted at e.g. omp.cosmicdan.com - but I want it to integrate with GitHub. Might have to do it from scratch, but my PHP is meh.

Eh, I'll figure it out another time.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] SH3H1:
MiUi is a fantastic stock ROM indeed, but it has been recently annoying me with popup ads...If i am getting anything better from stock,i am keeping this one
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] CosmicDan:
Have any interest in making a detailed list? Would be a good issue for GitHub.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] iamsubhranil:
I think the ultimate goal would be a clean, bare minimum ROM, with all features which can be toggled as the user pleases, with the shear beauty of MIUI 10 and its battery and performance, minus all the additional apps and services that MIUI binds the user to for no reasons.

It will be closed, but there will be a sense of "freeness", if that's even a word.

Your goal is looking ambitious, and your passion sounds very pleasing.

Let me know if I can be of any help.