Will it be easy to install custom ROMS on the P20 family? - Huawei P20 Questions & Answers

Hi,
I've been using Nexus phones for years, and I'm thinking of buying a phone from the P20 family. I don't really like the version of Android that Huawei ships though, and I'd like to be able to install a stock ROM. I assume that this phone will have Treble support (since it shipped with Oreo) and that, because of that, it should be easy to install a custom ROM on it.
Is all of this correct? Will it be easy to install a custom ROM on these phones, or should I go for a different phone?

I'm also considering buying a P20 Lite tomorrow, how was custom ROMs development on P9 Lite and P10 Lite ?

Judging from the ROM development for the Mate 10 series and as it normally is for Huawei phones, it is not very likely that there will be that many ROMs specifically designed for the P20 phones.
However, installing Treble based ROMs should not be a problem at all. There are several such ROMs available, including AOSP, Lineage, Resurrection Remix, CarbonROM etc. The downsize is that these are often very generic ROMs and Huawei specific features may not be available. For example, third party camera apps often have inferior performance compared to the stock camera app. Sometimes these apps are ported over though.

Thanks for your answer!
mrabcx said:
Judging from the ROM development for the Mate 10 series and as it normally is for Huawei phones, it is not very likely that there will be that many ROMs specifically designed for the P20 phones.
However, installing Treble based ROMs should not be a problem at all. There are several such ROMs available, including AOSP, Lineage, Resurrection Remix, CarbonROM etc.
Click to expand...
Click to collapse
So, we can take any Treble based ROM and installed it on any Treble enabled phone, and it will work? Don't specific phones need specific ROMs anymore?
mrabcx said:
The downsize is that these are often very generic ROMs and Huawei specific features may not be available. For example, third party camera apps often have inferior performance compared to the stock camera app. Sometimes these apps are ported over though.
Click to expand...
Click to collapse
Let's say I install an AOSP ROM and use Google Camera. Should I expect it to take bad pictures, or are you referring to something else when you say inferior performance?
Probably dumb questions, but I've been out of the ROM scene for years.

frandavid100 said:
So, we can take any Treble based ROM and installed it on any Treble enabled phone, and it will work? Don't specific phones need specific ROMs anymore?
Click to expand...
Click to collapse
Yupp, that's pretty much the basic idea. Check out the following thread for more about project Treble.
https://forum.xda-developers.com/project-treble
frandavid100 said:
Let's say I install an AOSP ROM and use Google Camera. Should I expect it to take bad pictures
Click to expand...
Click to collapse
The thing here is that the stock ROM may nevertheless contain vendor specific code which is not released and may have other proprietary conditions on it. The Google Camera may thus not return the same quality as the stock one. This has at least been the case for Huawei phones, although the stock camera app has been ported over (see the thread above).

I just unlocked the boot loader on my P20 Lite, now waiting patiently for a custom recovery

Custom ROMs are not very likely in Huawei devices

Hi all
Also been using Nexus for quite some time now, and bought a Huawei P20 lady week.
1. The camera is great
2. EMUI is not my cup of tea
My goal the coming weeks is to try to understand if it's likely to see a Treble ROM and if the camera app from EMUI/P20 can be ported.
Tldr; I want to keep the camera functionality but use stock android 8.x
Anyone find anything, please post
Peace ✌?

Kaherdin said:
Hi all
Also been using Nexus for quite some time now, and bought a Huawei P20 lady week.
1. The camera is great
2. EMUI is not my cup of tea
My goal the coming weeks is to try to understand if it's likely to see a Treble ROM and if the camera app from EMUI/P20 can be ported.
Tldr; I want to keep the camera functionality but use stock android 8.x
Anyone find anything, please post
Peace
Click to expand...
Click to collapse
The camera app should be possible to port. It has been done in the past for both Kirin 960 and 970. Check this out for reference. In that thread the camera is based on the one from Mate 9 but in theory a newer one should be possible.

Related

What options are there for flashing a ROM to my phone and keeping it updated?

I'm currently looking to get a new phone to replace my OnePlus One. I am strongly against bloatware and have become very discontent with the lack of continued software support offered by most (all?) manufacturers, including OnePlus and Google.
I am entirely new to rooting, unlocking, or flashing custom ROMs to my phone. However, I want to explore what options are available for using a ROM other than the pre-installed one and keeping it up-to-date myself.
First, one thing I don't understand very well at the moment is: what is required for a particular phone to have different ROMs available for it? For example, if I were to buy a used Samsung Galaxy S6 edge and I wanted to run stock android on it, what is necessary for that ROM to exist? Are there generally a lot of phone/model specific modifications that must be made to the Android source in order for it to run/be usable on that particular phone? Does it depend, at least in part, on which phone-specific features one wants to be usable (I read that the edge on Galaxy Edge phones will not work)?
Beyond stock android, are distributions such as LineageOS effectively stock android + their own suite of additions? Would a LineageOS ROM offer better/worse device-specific support than a stock android ROM for the same device?
Second, if I wanted to install a ROM on some phone and keep it updated, how would the update process work? Would I have to wipe the phone every time I install an update, or can updates be applied incrementally?
Finally, if I want to run a stable ROM on my daily phone without having to worry much about running into issues, what are the common options?
Thank you so much for the help!
fvgs said:
I'm currently looking to get a new phone to replace my OnePlus One. I am strongly against bloatware and have become very discontent with the lack of continued software support offered by most (all?) manufacturers, including OnePlus and Google.
I am entirely new to rooting, unlocking, or flashing custom ROMs to my phone. However, I want to explore what options are available for using a ROM other than the pre-installed one and keeping it up-to-date myself.
First, one thing I don't understand very well at the moment is: what is required for a particular phone to have different ROMs available for it? For example, if I were to buy a used Samsung Galaxy S6 edge and I wanted to run stock android on it, what is necessary for that ROM to exist? Are there generally a lot of phone/model specific modifications that must be made to the Android source in order for it to run/be usable on that particular phone? Does it depend, at least in part, on which phone-specific features one wants to be usable (I read that the edge on Galaxy Edge phones will not work)?
Beyond stock android, are distributions such as LineageOS effectively stock android + their own suite of additions? Would a LineageOS ROM offer better/worse device-specific support than a stock android ROM for the same device?
Second, if I wanted to install a ROM on some phone and keep it updated, how would the update process work? Would I have to wipe the phone every time I install an update, or can updates be applied incrementally?
Finally, if I want to run a stable ROM on my daily phone without having to worry much about running into issues, what are the common options?
Thank you so much for the help!
Click to expand...
Click to collapse
Yes, ROMs and recoveries must be built specifically for each model number, they are all different.
Yes, if you flash a custom ROM and then the developer of that ROM releases an update to his ROM you flash that update without wiping but if you switch to a completely different ROM you have to wipe before flashing it.
As for options of which ROM to use, you'll have to experiment and try them to find one that suits your likes and dislikes. What I consider the best option may not be the best option for you. To each their own, as they say.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
Yes, ROMs and recoveries must be built specifically for each model number, they are all different.
Yes, if you flash a custom ROM and then the developer of that ROM releases an update to his ROM you flash that update without wiping but if you switch to a completely different ROM you have to wipe before flashing it.
As for options of which ROM to use, you'll have to experiment and try them to find one that suits your likes and dislikes. What I consider the best option may not be the best option for you. To each their own, as they say.
Sent from my SM-S903VL using Tapatalk
Click to expand...
Click to collapse
My goal is to find a stable ROM that will continue to receive security updates and bug fixes even once official manufacturer/vendor support has been dropped. Continuous software updates (i.e. to newer versions of Android) would be great too. I suppose this will depend on the hardware I'm wishing to use. Being new to xda, I've looked around and seen people posting various ROMs for various devices on the forums. But I'm not sure how reliable, stable, or even trustworthy they are. How do I evaluate ROMs posted on xda for those qualities?
LineageOS is one that clearly stands out and offers official support for many devices. Thus, it currently seems like a strong contender for my purposes. But I'm wondering if there are other distributions you would recommend that are on par with, or at least in the same tier as, LineageOS that would serve my purposes?
For what it's worth, being a developer, I would also like to give back and contribute to the community for the device I end up getting.
I'm not sure if they offer a ROM for your device, but Dirty Unicorns might be one to check out
Sent from my Nexus 5 using XDA-Developers Legacy app

Idea for Android One port for our devices

Anyone with the proper knowledge to port android one rom from A1 to Mi4c ?
Seen videos that compare the 2 variants, one with miui 9 and the other with android one (same phone, same hardware, identical devices in short) and
android one is a lot faster.
Don't know if it is possible, just had an idea.
Stock android for our device is very interesting as a thought.
Any real Dev which thinks this as a good idea ?
different SoC
Very difficult. If you want to experience faster Android, you can flash lineage OS.
Monazite said:
Very difficult. If you want to experience faster Android, you can flash lineage OS.
Click to expand...
Click to collapse
I am on aicp 12.1 right now no complain, excellent work by the devs, but i thought stock would be an interesting alternative.
Anyways....Different soc so not possible.
Dont know if it is possible but i also saw nexus 5x with google pixel rom OREO (same sd 808)
Maybe this is more easy to accomplish ?
nioonline said:
I am on aicp 12.1 right now no complain, excellent work by the devs, but i thought stock would be an interesting alternative.
Anyways....Different soc so not possible.
Dont know if it is possible but i also saw nexus 5x with google pixel rom OREO (same sd 808)
Maybe this is more easy to accomplish ?
Click to expand...
Click to collapse
Easier theoretically. But libra isn't a famous device and few developers willing to devote to it.

Rom Suggestion [ Oxygen OS 5.0.1]

As there are going to be a ton of roms for Mi A1 , i just want to raise a suggestion that if possible porting the latest oxygen os 5.0.1 would be huge benefit coz its based on stock and also has lot more futures without much of a bloatware ..................................
If possible or any dev going to work on it --- Feel free to announce it and make us filled with the rom soon
Vibun said:
As there are going to be a ton of roms for Mi A1 , i just want to raise a suggestion that if possible porting the latest oxygen os 5.0.1 would be huge benefit coz its based on stock and also has lot more futures without much of a bloatware ..................................
If possible or any dev going to work on it --- Feel free to announce it and make us filled with the rom soon
Click to expand...
Click to collapse
this section is only to post only ROMs,not about your polls or suggestions.
Do not post in ROM section again.
Vibun said:
As there are going to be a ton of roms for Mi A1 , i just want to raise a suggestion that if possible porting the latest oxygen os 5.0.1 would be huge benefit coz its based on stock and also has lot more futures without much of a bloatware ..................................
If possible or any dev going to work on it --- Feel free to announce it and make us filled with the rom soon
Click to expand...
Click to collapse
Oxygen OS is a closed source system from OnePlus, you can't port it just like you can't port the samsung customizations... but there are plenty of ROMs that offer the same features as oxygen like dark theme, DT2W, etc
Why are people making endless amount of useless threads?
And by the way, this section is for ROMs and kernel related topics and not for such polls!
Thread moved to correct forum.
whatever rom you all would port, please leave miui camera as it is
Whether the ROM is ported or not, i think the most important feature is instant face unlock.. Someone please port this feature...
Amfakh said:
whatever rom you all would port, please leave miui camera as it is
Click to expand...
Click to collapse
stock camera have poor quality compared to google camera
OxygenOS OxygenOS OxygenOS OxygenOS OxygenOS
Jheffynho Kevin said:
OxygenOS OxygenOS OxygenOS OxygenOS OxygenOS
Click to expand...
Click to collapse
Don't make demands. ROM development happens when devs have free time and do it as a hobby. Nobody is paying them.
Also OxygenOS isn't possible as it is closed source.
Sent from my Mi A1 using XDA Labs
AOSPA would be awesome
Vibun said:
if possible porting the latest oxygen os 5.0.1 would be huge benefit coz its based on stock and also has lot more futures without much of a bloatware ..................................
Click to expand...
Click to collapse
Oxygen without bloatware compared to A1 stock rom ? Is this a joke ?
Oxygen is heavily modified, and for example you can't use any substratum theme, only the ones that are made for oxygen, you can't use any google camera, only one modified for oxygen, you cant use any xposed module, etc. So I don't see point of ported oxygen rom, that's like jumping from horse to donkey, but ok, good luck if anyone tries to port it.
sooti said:
Oxygen OS is a closed source system from OnePlus, you can't port it just like you can't port the samsung customizations... but there are plenty of ROMs that offer the same features as oxygen like dark theme, DT2W, etc
Click to expand...
Click to collapse
H2OS ported roms are available i guess for couple of phones , one being Xiaomi Mi 5 and AFAIK H2OS is nothing but O2OS minus google play services

Why are there so few roms for mate 8

Since i got this phone i sadly realized that...why is that being the case that mate 8 is a powerfull and very famous device?if i always thought i would find a rom for my device is here in xda but i am surprised for bad...the few roms that there are are most based on chinese roms...
I agree. I've spent a lot of time looking for custom rooms for my Mate 8. I used to have a Samsung and there's no lack of roms for that brand. Hopefully more roms will follow for Huawei Mate 8.
Sadly, because the phone doesn't say Samsung/HTC/Google etc...
cuz huawei their own kirin cpu is not open source.
thus devs cant make actual custom rom like aosp, los.
but mate8 oreo support treble. so it's possible to flash aosp rom on mate 8 in the foreseeable future.
ericjwg said:
cuz huawei their own kirin cpu is not open source.
thus devs cant make actual custom rom like aosp, los.
but mate8 oreo support treble. so it's possible to flash aosp rom on mate 8 in the foreseeable future.
Click to expand...
Click to collapse
that sounds nice,i suppose we will have to look forward that.

LineageOS 15.1 Treble Rom ?

Still unsure if I should buy Mi Mix 2S or Oneplus 6
For me a working LineageOS 15.1 ROM are essential. With Treble this should be working already but it's pretty quiet in ROM section.
Anybody has it running ?
https://www.xda-developers.com/qualcomm-snapdragon-845-kernel-source-code/
I guess devs are waiting for this to build device-specific roms.
Some users have reported treble working with some bugs.. And there wont be any device-specific roms until the sources appear on CAF. That will happen soon.
If you need a big developer community I would go for the 1+6, if not the 2s wins (at least for me) because no notch and maybe a better camera(still waiting for tests here)
Phoost said:
Still unsure if I should buy Mi Mix 2S or Oneplus 6
For me a working LineageOS 15.1 ROM are essential. With Treble this should be working already but it's pretty quiet in ROM section.
Anybody has it running ?
Click to expand...
Click to collapse
Treble device development is discussed here, some people reported that treble roms on our phones are working fine with minor bugs (screen blinking on lock/unlock, no support for second camera). I am yet to test these, since my mix 2s is still awaiting bootloader unlock.
Flatric said:
If you need a big developer community I would go for the 1+6, if not the 2s wins (at least for me) because no notch and maybe a better camera(still waiting for tests here)
Click to expand...
Click to collapse
Have seen some relatively direct comparisons and the mix clearly has the better camera.
Im also keen to see a Lineage OS build but havent seen much discussion on it or heard any devs that are working on it. I have just onlocked and rooted my phone after waiting the 15 days.
I wonder when more Mi Mix 2s enter the global market, developers have waited 15 days to unlock phones and source code released from Qualcomm that we will see more activity on custom roms.
You can install lineage via treble right here https://forum.xda-developers.com/pr...evice-development/lineage-phh-treble-t3767690
aeppacher said:
You can install lineage via treble right here https://forum.xda-developers.com/pr...evice-development/lineage-phh-treble-t3767690
Click to expand...
Click to collapse
Yes, I am aware of that but certain features of the Mi Mix 2s do not work with this version (dual camera for example)
andyphone said:
Im also keen to see a Lineage OS build but havent seen much discussion on it or heard any devs that are working on it. I have just onlocked and rooted my phone after waiting the 15 days.
I wonder when more Mi Mix 2s enter the global market, developers have waited 15 days to unlock phones and source code released from Qualcomm that we will see more activity on custom roms.
Click to expand...
Click to collapse
It took almost 6 months for the Mi Mix 2 to get decent, stable, bugfree custom AOSP roms. Now they have plenty. I guess we will just have to be patient.
Would be nice to get some custom MIUI roms in the meantime though
Firipu said:
Would be nice to get some custom MIUI roms in the meantime though
Click to expand...
Click to collapse
Yeah, some custom MIUI roms would be nice. I couldnt get the EU one working on my device.
Firipu said:
It took almost 6 months for the Mi Mix 2 to get decent, stable, bugfree custom AOSP roms. Now they have plenty. I guess we will just have to be patient.
Would be nice to get some custom MIUI roms in the meantime though
Click to expand...
Click to collapse
Mix 2 didn't get source code for a very long amount of time.
Firipu said:
It took almost 6 months for the Mi Mix 2 to get decent, stable, bugfree custom AOSP roms. Now they have plenty. I guess we will just have to be patient.
Would be nice to get some custom MIUI roms in the meantime though
Click to expand...
Click to collapse
If you take a look here:
https://www.xda-developers.com/qualcomm-snapdragon-845-kernel-source-code/
You will know when it will be possible for devs to start working on our device
I'm new to this treble topic and have a few questions.
Those ROMs are intended to be flashed on ANY device being delivered with Android 8 or higher, right?
I read that some functions will not work as they are not a part of the treble environment. Can anyone tell me which parts of he phone this could on our model?
Has anyone already flashed the pixel experience rom on a Xiaomi MiMix2S? Will anything be broken? E.g. Bluetooth, WiFi, camera, storage?
The kernel is already published if I read that correctly, so it´s just a matter of time before any stock aosp roms will come to our devices, right? Can´t wait - and get rid of MIUI!
Need advice!
Best regards
kleinholzinferno said:
I'm new to this treble topic and have a few questions.
Those ROMs are intended to be flashed on ANY device being delivered with Android 8 or higher, right?
I read that some functions will not work as they are not a part of the treble environment. Can anyone tell me which parts of he phone this could on our model?
Has anyone already flashed the pixel experience rom on a Xiaomi MiMix2S? Will anything be broken? E.g. Bluetooth, WiFi, camera, storage?
The kernel is already published if I read that correctly, so it´s just a matter of time before any stock aosp roms will come to our devices, right? Can´t wait - and get rid of MIUI!
Need advice!
Best regards
Click to expand...
Click to collapse
Main features are all fine, you will find camera not great and 2nd camera not supported, most report treble ROMs having not great battery. But it will work.
M.
Thanks for the advice!
I think I'll wait for now until the Devs work their magic and publish a stable version with all the bells and whistles!
Is there any possibility to install a stock treble rom and install the camera APK afterwards? Would this work?
kleinholzinferno said:
Is there any possibility to install a stock treble rom and install the camera APK afterwards? Would this work?
Click to expand...
Click to collapse
It will not work. The functionality of the camera is not just related to the APK but also depends on framework and libraries.
kleinholzinferno said:
I'm new to this treble topic and have a few questions.
Those ROMs are intended to be flashed on ANY device being delivered with Android 8 or higher, right?
I read that some functions will not work as they are not a part of the treble environment. Can anyone tell me which parts of he phone this could on our model?
Has anyone already flashed the pixel experience rom on a Xiaomi MiMix2S? Will anything be broken? E.g. Bluetooth, WiFi, camera, storage?
The kernel is already published if I read that correctly, so it´s just a matter of time before any stock aosp roms will come to our devices, right? Can´t wait - and get rid of MIUI!
Need advice!
Best regards
Click to expand...
Click to collapse
We are also waiting for the snapdragon 845 sourcecode, when this is available (first week of July maybe) custom roms are right around the corner
That's great news. Can't wait to get a stable android p ROM for this device.
kleinholzinferno said:
I'm new to this treble topic and have a few questions.
Those ROMs are intended to be flashed on ANY device being delivered with Android 8 or higher, right?
I read that some functions will not work as they are not a part of the treble environment. Can anyone tell me which parts of he phone this could on our model?
Has anyone already flashed the pixel experience rom on a Xiaomi MiMix2S? Will anything be broken? E.g. Bluetooth, WiFi, camera, storage?
The kernel is already published if I read that correctly, so it´s just a matter of time before any stock aosp roms will come to our devices, right? Can´t wait - and get rid of MIUI!
Need advice!
Best regards
Click to expand...
Click to collapse
Flashed, but couldn't boot.
I flashed PHH-Treble 8.1 instead, still finding the MIUI camera or a workable Google camera.

Categories

Resources