Why do all custom ROMs require a vendor flash as first step? - Redmi K20 / Xiaomi Mi 9T Questions & Answers

So, I'm asking since I thought about going for a custom ROM to escape all the little incompatibilities of MIUI.
For the Mi 9T every cROM installation begins with installing a vendor first though and I was wondering why that is needed. Are essential parts of the ROM not open to cROM developers? Or is everything closed up and all cROMs are just very intricate themes and extra programs laid on top of MIUI (like an emulation)?
If any developer could chime in and explain why cROM installation is so different for the Mi 9T compared to other devices, I'd be very obliged. :good:

Hi.. I'm no developer, but what I can tell you is that it is not only a Mi 9T "problem", but almost all newest Xiaomi devices need a vendor firmware flash before installing a custom ROM. This is because all device updates and security fixes are distributed that way. BTW.. Just to make sure, vendor firmware must not be confused with vendor partition.
Hope this helps a little bit.
Cheers

Related

Guide to debloat MIUI

I've searched but couldn't find anything useful about how to best debloat a Chinese MIUI ROM for the non-Chinese market? I'm awaiting a Xiaomi Mi 5S in the coming days which doesn't have an internatinoal ROM yet albeit any other AOSP cloaser ROM. So it will be coming with a Chinese ROM. I would surely like to debloat it properly and make Google apps available on it by default so it would be more like a normal Android phone. I've heard that MIUI is a ice ROM (only been using Nexus devices so far, but never tried anything else apart from original AOSP or some custom AOSP ROM (becase device wasn't officially supported any more by Google). So. Debloat a MIUI 8 then...
Flash xiaomi.eu ROM
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
This should help: http://xiaomitips.com/download/google-installer-app/
I haven't tested it myself, as I'm also waiting for the phone delivery.
This is just for the whole google stuff, you might want to first uninstall all apps in the normal app uninstall menu.
Flash xiaomi.eu ROM as @Klanac89 said and then I use App Quarantine to freeze remaining bloatware. Works a dream.
How to disable "security" app without issues? When I try delete apk with root I have a lot of FC and other issues.
Is there any way possible to instal a stock-like ROM on the Xiaomi Mi5S? Cyanogenmod for example, rooting, TWRP recovery all that stuff.
Thanks in advance
Kikkert said:
Is there any way possible to instal a stock-like ROM on the Xiaomi Mi5S? Cyanogenmod for example, rooting, TWRP recovery all that stuff.
Thanks in advance
Click to expand...
Click to collapse
No, not until we get kernel sources and someone builds the roms
ermacwins said:
No, not until we get kernel sources and someone builds the roms
Click to expand...
Click to collapse
Can root / instal twrp + xiaomi.eu rom and customize it as u want with xposed.
Probably not as good as CM, but is a good start.
Klanac89 said:
Flash xiaomi.eu ROM
Click to expand...
Click to collapse
Care to provide a link to it?
literadesign said:
Care to provide a link to it?
Click to expand...
Click to collapse
Use the guide from xiaomi.eu, (unfortunatelly i can not post link on this forum yet), the post is called "All-in-one Guide Compilation On How To Flash Xiaomi.eu Roms On Your Mi5s"
I used the guide above to succesfully flash xiaomi eu rom on my mi5s. All the necessary links to tools and roms are available in the guide.
Friborg said:
Use the guide from xiaomi.eu, (unfortunatelly i can not post link on this forum yet), the post is called "All-in-one Guide Compilation On How To Flash Xiaomi.eu Roms On Your Mi5s"
I used the guide above to succesfully flash xiaomi eu rom on my mi5s. All the necessary links to tools and roms are available in the guide.
Click to expand...
Click to collapse
But is xiaomi.eu ROM official or is it just some other ROM that's faking officiality?
xiaomi.eu ROM is a custom rom, like CM. It just looks more or less the same and I think it's even part the same developers as the official ROM, but that's just a guess.
patoberli said:
xiaomi.eu ROM is a custom rom, like CM. It just looks more or less the same and I think it's even part the same developers as the official ROM, but that's just a guess.
Click to expand...
Click to collapse
If they're not official devs, then I don't know how are they able to create custom ROM as Xiaomi hasn't officially released kernel sources? XDA developers can't do zilch about custom ROMS but they can. That would make them either creme de la creme of Android/Linux devs or they just have access to more Xiaomi original sources than the rest of the world does... Is there a third option?
literadesign said:
Is there a third option?
Click to expand...
Click to collapse
Could the changes be in the APKs and not the kernel?
CL0SeY said:
Could the changes be in the APKs and not the kernel?
Click to expand...
Click to collapse
I suppose they could be yes, but one would need either source code of all those APKs or at least a working reverse engineered source. Which gets us basically back to square one. There's a lot more APK sources than there is of the kernel. I would guess so. Which simply means much more work.
Honestly I'm not sure. I don't have an account at xiaomi.eu (yet), but maybe you want to ask your question there?
---------- Post added at 14:10 ---------- Previous post was at 14:05 ----------
The only information I found: https://xiaomi.eu/community/threads/how-is-this-different-than-miui-com.18629/
Sadly they don't write about SafetyNet there.
flash the mi 5s poland version rom which is official
https://miuipolska.pl/DOWNLOAD/
I haven't flashed it yet. However, from my past experience, the Polak rom comes rooted and debloated.
Hmm if that is the same as the official beta ROM, then this version doesn't yet include support for the MI 5s. That was probably completely added this week, in the new version 6.11.24 (source: http://en.miui.com/thread-417573-1-1.html). Release notes with the list of supported devices will be out tomorrow. Last weeks version included the 5s for the first time, but it was "on hold - because of new drivers", which means no download links.
patoberli said:
Hmm if that is the same as the official beta ROM, then this version doesn't yet include support for the MI 5s. That was probably completely added this week, in the new version 6.11.24 (source: http://en.miui.com/thread-417573-1-1.html). Release notes with the list of supported devices will be out tomorrow. Last weeks version included the 5s for the first time, but it was "on hold - because of new drivers", which means no download links.
Click to expand...
Click to collapse
No download links in 6.11.24 either. And I suspect that device listing has a typo as instead of stating Mi 5s it should likely state Mi 5s Plus which does have global ROM support. I sincerely hope there will be a global ROM for Mi 5s as well in the near future, but that may never happen. I hope my request to unlock doesn't get rejected though, so I have hopes of flashing the EU version... BTW: 6.11.24 still has Mi 5, Mi 5s (plus), Mi Mix on hold because of Qualcomm.
im8a said:
flash the mi 5s poland version rom which is official
https://miuipolska.pl/DOWNLOAD/
I haven't flashed it yet. However, from my past experience, the Polak rom comes rooted and debloated.
Click to expand...
Click to collapse
If this is official ROM then you should be able to flash it without unlocking your device. If an unlock is required, then I'm afraid this is not official as I'm pretty sure there is no special Polish version of the ROM. It's either Chinese or Global... Everything else is unofficial and requires bootloader unlock.

Q.When will twrp and custom rom for mi a1 be available ?

I have noticed that there is no TWRP recovery available for our device and also no custom rom which i wanted for customization as stock rom doesn't have it.
If anyone found TWRP recovery for mi a1. please post here as I want to root my device.
Bro, you can root your device without TWRP, but yes we all are looking for the TWRP for our lovely device, hope someone will crack it soon, hope for the best !
Rooting method - https://forum.xda-developers.com/mi-a1/how-to/root-mia1-twrp-t3678453
This phone is awesome, I like RAM management of this phone. I don't think this phone requires any customisation and guys feel innovative of this ROM atleast for few month's.
Is rom customization was what you were after then you should not have gotten this device. The A/B partition makes development hard. This is the main problem the pixels had and why many developers stopped working on devices with that partition.
I know that
Last gen Android one devices had rich custom ROM development. I expect same for mi A1. Though it will take some time, but twrp and custom ROMs will soon be available. I want custom ROM for features like night light, pixel color palette, double tap to sleep, button customisation, button led, etc, etc.
Custom ROM and Custom Kernals will only be available when OeM will release the source code
Official TWRP for Xiaomi Mi A1
But for my knowledge, the official twrp is already released. I have the file but as I'm new in the forum so I'm not able to post the external link in the post. DM me if anyone needs the link.
(If have any doubt you can check the compatibility directly boot from this twrp without flashing stock.)

Miui. please respond to the developers

flipped through the forum 4pda in Russia in Russia, we got involved with the instruction on the firmware LOS 15.1 through fastboot. The man told a detailed instruction about the firmware of the folds.
Firmware system_b.
The question is as follows. Can I use only one partition under the firmware without using the other one?
I also read that you need one more must section, for miui applications, you can also create it for yourself.
yes we will lose in the amount of memory. but we get a working miui.
PS I'm not a developer just reading the forums I collect information bit by bit.
Translate via Google
Pa94 said:
flipped through the forum 4pda in Russia in Russia, we got involved with the instruction on the firmware LOS 15.1 through fastboot. The man told a detailed instruction about the firmware of the folds.
Firmware system_b.
The question is as follows. Can I use only one partition under the firmware without using the other one?
I also read that you need one more must section, for miui applications, you can also create it for yourself.
yes we will lose in the amount of memory. but we get a working miui.
PS I'm not a developer just reading the forums I collect information bit by bit.
Translate via Google
Click to expand...
Click to collapse
The work to port miui on mi a1 is really huge and above all it's a nonsense.
If you want miui then buy a miui capable phone. Mi 5x is an example... The mi a1 Chinese twin.
Someone tried to port miui to mi a1 in vain...
Personally I doubt that anyone is ready to take the task and make this work.
The MIUI version of a1 is even cheaper to buy... I really don't understand why people want to run MIUI on the only Xiaomi phone where you pay a premium not to have it in the first place.
The mind boggles!
As others have said, if people want a MIUI phone, buy *any* other Xiaomi device!
I am so glad to see the replies from you other people. I thought I was missing something thinking "What? WHY!"
There is an, as I understand it, identical device with MIUI (Mi 5X?) already. And a bunch of other Xiaomi phones of course.
There actually was a thread some time back (a couple of months?) about MIUI on A1 and someone being a bit snotty about it. HAve to go back and look... (yeah, I live a pretty pathetic life... )
Just if you deal with the sections in this phone it will help to solve problems later. e.g. flyme
I believe the reason for people wanting MIUI in Mi A1 was because Mi A1 has more bands than its Chinese twin.
KDash4 said:
I believe the reason for people wanting MIUI in Mi A1 was because Mi A1 has more bands than its Chinese twin.
Click to expand...
Click to collapse
I realised that too afterreading an old thread about this. Apparently band 20 isn't enabled in 5X.
>company makes all of their devices with miui skin
>Releases a phone, only one model in 2 variants: with miui and with stock android
>People want miui variant
>They do not buy miui variant, instead they buy the variant they didn't want and asks how to install miui
This idiocism is beyond any reasonable understanding
>company makes all of their devices with miui skin
>Releases a phone, only one model in 2 variants: with miui and with stock android
>People want miui variant
>They do not buy miui variant, instead they buy the variant they didn't want and asks how to install miui
>a guy in xda claims they are idiots without even knowing the reason behind it that was just described in the first post over his head
Why immediately idiocy? I'm trying to figure out what's what, I'm interested in porting. Since I have not done this before, I find out the necessary information. Therefore, the developers, share experiences, can advice.
KDash4 said:
I believe the reason for people wanting MIUI in Mi A1 was because Mi A1 has more bands than its Chinese twin.
Click to expand...
Click to collapse
then buy a different phone with that band
i'm sure there are a lot of alternatives close to the Mi A1
albi7894 said:
>company makes all of their devices with miui skin
>Releases a phone, only one model in 2 variants: with miui and with stock android
>People want miui variant
>They do not buy miui variant, instead they buy the variant they didn't want and asks how to install miui
>a guy in xda claims they are idiots without even knowing the reason behind it that was just described in the first post over his head
Click to expand...
Click to collapse
that reason it's pretty stupid, to be honest
Pa94 said:
Why immediately idiocy? I'm trying to figure out what's what, I'm interested in porting. Since I have not done this before, I find out the necessary information. Therefore, the developers, share experiences, can advice.
Click to expand...
Click to collapse
I understand that porting and developing is fun and people are curious, but why not focus your energy and time on other things? (like helping with 7.1.2 and 8.1.0 AOSP builds or pressuring Xiaomi into releasing the sources for Oreo).
If someone success on porting MIUI, probably 3 people in the world would use it. It's pointless.
Don't be so stubborn on something that's pretty much pointless.
@Pa94 I'm also slowly researching what a port would take. I don't think it would be too hard considering we have an almost equal device in mi 5x to use as base for a patchrom. Then port that on top of any nougat rom for the A1. However I don't have enough time currently and knowledge about the partition layouts. What I know differs is the miui cust partition and the a/b layout. I guess it takes first of all an boot.img port pointing to the right partitions and things. Then patch the 5x rom.
Here we go, again!

Development

As this has very similar specs to laurel_sprout(Mi A3) and the kernel source code has been released by Xiaomi, I am going to work for this device by bringing TWRP and some custom ROMs to it. As I do not own the device, I will need one tester at least to help me test my works regurarly. Therefore, I made a official Mi CC9e Telegram group to discuss with my testers with ease and to keep everyone updated faster. Just search for Mi CC9e, you'lll find it.
Kernel source code: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/laurus-p-oss
As soon as I'll get some tester(s) with the bootloader unlocked, I'll get right on working on this.
Regards,
any udpdate for micc9e with global rom (MIA3 eu)
I hear, unlike Mi A3, CC9e is A (not A/B). correct?
what is this A/B.this is from 4pda?what they mean A-B there?
oska3 said:
what is this A/B.this is from 4pda?what they mean A-B there?
Click to expand...
Click to collapse
A/B is a Google concept and means (at least) vendor system boot and modem partitions are present twice so one can do seamless upgrade which falls back to previous in case it fails.
Hey! I'd like to help out. However, I cannot find your telegram group. Could you put the link of group here? So that we can help you more easily.
By the way, Mi cc 9e is almost the same as Xiaomi A3. They even share the codename (laurus). I wonder if the Android One could be ported to Mi cc 9e. (I really hate MIUI)
pls pls some port for cc9e,
XTutorials said:
As this has very similar specs to laurel_sprout(Mi A3) and the kernel source code has been released by Xiaomi, I am going to work for this device by bringing TWRP and some custom ROMs to it. As I do not own the device, I will need one tester at least to help me test my works regurarly. Therefore, I made a official Mi CC9e Telegram group to discuss with my testers with ease and to keep everyone updated faster. Just search for Mi CC9e, you'lll find it.
As soon as I'll get some tester(s) with the bootloader unlocked, I'll get right on working on this.
Regards,
Click to expand...
Click to collapse
I have the Mi cc9e, with bootloader Unlocked.
Hope you have time to get the twrp for us. I would be happy to be your tester.
i also want to help with something.if i unlocking bootloader,did i receive oficial updates?

Please recommend me a stable Android 11 ROM

Hi all,
I am looking for a stable Android 11 ROM that is not MIUI.
Safetynet must pass and Widevine must remain L1.
Fingerprint sensor must work still when night mode is turned on.
Please recommend me one.
Thanks
If you wanna live without google like me:
Rom to degoogle phone?
I'd like to increase the privacy of my phone. I'm looking for a compatible open source ROM for the Xiaomi Mi 9T with the latest stock android firmware without any bloatware from google or xiaomi. Better if it's a popular ROM so I can find support...
forum.xda-developers.com
else: I like Havoc-OS in the past but just took on of those roms, listet here at xda. Or just take official LOS.
EDIT: Sorry missed your Safetynet part... Hmm... Is it possible without stock-rom?
I_did_it_just_tmrrow said:
If you wanna live without google like me:
Rom to degoogle phone?
I'd like to increase the privacy of my phone. I'm looking for a compatible open source ROM for the Xiaomi Mi 9T with the latest stock android firmware without any bloatware from google or xiaomi. Better if it's a popular ROM so I can find support...
forum.xda-developers.com
else: I like Havoc-OS in the past but just took on of those roms, listet here at xda. Or just take official LOS.
EDIT: Sorry missed your Safetynet part... Hmm... Is it possible without stock-rom?
Click to expand...
Click to collapse
With GApps (not without like Mkcro-G) and with Magisk.
Might not be easy

Categories

Resources