Purpose of the GSI - Treble-Enabled Device Guides, News, & Discussion

Hi there,
A GSI sounds like a nice idea to me. I'd be really happy with a vanilla Android system since I don't really care about any vendor specific UI modifications.
However, the exact purpose/functionality of the GSI's is not perfectly clear to me.
If your phone is treble compliant, is it possible to just start using a GSI instead of waiting for the manufacturers Android version? Is a vanilla GSI going to be a complete system that has phone, connectivity and other functionalities as per usual? I mean, are there things that are KNOWN NOT to work?
I have Motorola ZOOM, BTW. Anyody out there running a vanilla GSI on it, by any chance?
Noa

NOABOU said:
Hi there,
A GSI sounds like a nice idea to me. I'd be really happy with a vanilla Android system since I don't really care about any vendor specific UI modifications.
However, the exact purpose/functionality of the GSI's is not perfectly clear to me.
If your phone is treble compliant, is it possible to just start using a GSI instead of waiting for the manufacturers Android version? Is a vanilla GSI going to be a complete system that has phone, connectivity and other functionalities as per usual? I mean, are there things that are KNOWN NOT to work?
I have Motorola ZOOM, BTW. Anyody out there running a vanilla GSI on it, by any chance?
Noa
Click to expand...
Click to collapse
check out the wiki and FAQ
https://github.com/phhusson/treble_experimentations/wiki

NOABOU said:
I mean, are there things that are KNOWN NOT to work?
Click to expand...
Click to collapse
This is what interests me, too.
GSI's "should basically work" on just about any device these days, as long as it isn't a brand new SoC or has some unique hardware - Phhusion has been really committed to compatibility, along with community contributions.
However, expect some things to be broken. For example, on my Poco F1, loudspeaker is not working at all (I believe this is a common issue, I vaguely recall it but am currently researching). But everything else so far works fine. This is likely because the Poco is an SDM845, very mature, and is also 99% identical to the Mi 8 and Mi Mix 2S (iirc) so even though its not a mainstream device it also shares a lot of hardware with other SDM845 devices (e.g. modem).
To answer your question, these are the only two things I know of so far that are apparently impossible to fix on a GSI:
1) MiraCast (wireless display)
2) File-Based Encryption (FBE) cannot work. If your stock vendor is set to this (many/most modern Android devices are), you will need to either mod it to disable encryption or change it to the classical Full-Disk Encryption (FDE).
Hopefully I don't find too many more things that are not fixable...

Related

Is that possible to make a Marshmallow ROM for OP5?

And if that's impossible , can someone kindly explain why? Thanks
Absolutely no.
HatRiGt said:
Absolutely no.
Click to expand...
Click to collapse
Yeah, I searched in forum and everyone says no, I'm just curious about the technical reason
Technically it's not impossible but the real problem is that the OnePlus 5 has never had a Marshmallow so there's no kernel source or device tree for Marshmallow on the 1+5. Developers use these things because it contains all the lines of codes needed to tweak and compile their own custom ROMs, having the original code is very important because it has all the necessary APIs needed to interact with every piece of hardware on the device. Since the 1+5 never had Marshmallow built for it that means in order for you to have a seamless experience like the one you expect from stable software, you have to build it from scratch or you could borrow the source from a similar hardware, like 1+3t. Problem is if you go that route, there are many hardware differences so you still have to spend a lot of time rewriting code, debugging, testing, and repeating all that over and over again and even then you probably won't get a couple of things working properly.
In simple terms, it would take an awful lot of time to port a software version that for many of us is already outdated for a device that never had that version and that would probably not run as smoothly as Nougat based Roms.
HueleSnaiL said:
Technically it's not impossible but the real problem is that the OnePlus 5 has never had a Marshmallow so there's no kernel source or device tree for Marshmallow on the 1+5. Developers use these things because it contains all the lines of codes needed to tweak and compile their own custom ROMs, having the original code is very important because it has all the necessary APIs needed to interact with every piece of hardware on the device. Since the 1+5 never had Marshmallow built for it that means in order for you to have a seamless experience like the one you expect from stable software, you have to build it from scratch or you could borrow the source from a similar hardware, like 1+3t. Problem is if you go that route, there are many hardware differences so you still have to spend a lot of time rewriting code, debugging, testing, and repeating all that over and over again and even then you probably won't get a couple of things working properly.
In simple terms, it would take an awful lot of time to port a software version that for many of us is already outdated for a device that never had that version and that would probably not run as smoothly as Nougat based Roms.
Click to expand...
Click to collapse
Get it, thanks very much my friendSo seems I have to wait for the Xposed for Noughat.Well, be patient
HueleSnaiL said:
Technically it's not impossible but the real problem is that the OnePlus 5 has never had a Marshmallow so there's no kernel source or device tree for Marshmallow on the 1+5. Developers use these things because it contains all the lines of codes needed to tweak and compile their own custom ROMs, having the original code is very important because it has all the necessary APIs needed to interact with every piece of hardware on the device. Since the 1+5 never had Marshmallow built for it that means in order for you to have a seamless experience like the one you expect from stable software, you have to build it from scratch or you could borrow the source from a similar hardware, like 1+3t. Problem is if you go that route, there are many hardware differences so you still have to spend a lot of time rewriting code, debugging, testing, and repeating all that over and over again and even then you probably won't get a couple of things working properly.
In simple terms, it would take an awful lot of time to port a software version that for many of us is already outdated for a device that never had that version and that would probably not run as smoothly as Nougat based Roms.
Click to expand...
Click to collapse
Well said. Thanks fur the explanation. I don't even own an OP5 but was considering it..... Might have to give up Xposed finally
Ramaness said:
Get it, thanks very much my friendSo seems I have to wait for the Xposed for Noughat.Well, be patient
Click to expand...
Click to collapse
Unfortunately I don't think Xposed will ever make it to Nougat, and as for android O, I wouldn't bet on it being released anytime soon after O's official release.
The closest thing to Xposed modules that work on Nougat are the Magisk modules, Magisk is a type of systemless root that has support for modules that work similarly to Xposed. I suggest you read up on it and se if it is something that can work you.

Miui Rom on Mi A1 to have a Mi 5x with Unlocked LTE

Hello,
Many people already asked this question on many other forums, and they have been blamed by everyone because people consider stupid to buy an A1 and ask for a MIUI when you have Mi 5x that's identical and already run MIUI rom.
THOSE PHONES ARE NOT IDENTICAL
In fact, A1 runs LTE (4g) bands that Mi 5X doesn't have. In Italy the majority of the LTE is on Band 20 for example, and this is the reason why A1 is having lot of success like the other phones with a GLOBAL version (Redmi 4x/Redmi Note 4 Global etc).
What we're asking for is not a rom: the rom already exists.
What we're asking for is not a porting: the phone's HW is THE SAME so there's no need to work or fix anything.
We just need a way, a tweak, a solution, a trick, a "something" to avoid the A/B partition problem and flash the xiaomi.eu rom for Mi 5x on A1 to have a FULLY UNLOCKED phone that can use ALL THE LTE BANDS and also all the advantages of the MIUI rom.
Can somebody help us, now that you know that's not only matter of "PLS port MIUI on A1 cuz it's beautiful plz plz plz"
As italian, i'm totally afree with you...i just want the MIUI features and the 20 LTE band.
timeless241285 said:
Hello,
Many people already asked this question on many other forums, and they have been blamed by everyone because people consider stupid to buy an A1 and ask for a MIUI when you have Mi 5x that's identical and already run MIUI rom.
THOSE PHONES ARE NOT IDENTICAL
In fact, A1 runs LTE (4g) bands that Mi 5X doesn't have. In Italy the majority of the LTE is on Band 20 for example, and this is the reason why A1 is having lot of success like the other phones with a GLOBAL version (Redmi 4x/Redmi Note 4 Global etc).
What we're asking for is not a rom: the rom already exists.
What we're asking for is not a porting: the phone's HW is THE SAME so there's no need to work or fix anything.
We just need a way, a tweak, a solution, a trick, a "something" to avoid the A/B partition problem and flash the xiaomi.eu rom for Mi 5x on A1 to have a FULLY UNLOCKED phone that can use ALL THE LTE BANDS and also all the advantages of the MIUI rom.
Can somebody help us, now that you know that's not only matter of "PLS port MIUI on A1 cuz it's beautiful plz plz plz"
Click to expand...
Click to collapse
But still, why do you need Miui so badly when you have stock Android ? Because of special features like dt2w and so ? That will come here also when custom kernel arrive.
NITRO_100 said:
But still, why do you need Miui so badly when you have stock Android ? Because of special features like dt2w and so ? That will come here also when custom kernel arrive.
Click to expand...
Click to collapse
MIUI has an optimisation than stock Android hasn't. RAM cleaner on the Recent tabs, Security Center, Built-in call recording, sound recorder, dual space (that for dual SIM it's very important) and many others and features..
I guess when kernel source is available developer will be able to port miui regardless of band and any other limitations..
jack_21 said:
MIUI has an optimisation than stock Android hasn't. RAM cleaner on the Recent tabs, Security Center, Built-in call recording, sound recorder, dual space (that for dual SIM it's very important) and many others and features..
Click to expand...
Click to collapse
Miui has very aggressive optimization that I hated, because many apps had misbehaved, I always turn that off. Ram cleaner is nonsense but you have it in stock android too. The options in security center, call recording, sound recorder can be achieved by 3rd party apps. Dual space is like 2nd account.
Don't get me wrong, I generally like miui but there isn't any option that I miss, and multitasking is way better in stock android, apps doesn't get killed after 10 minutes.
Stop forcing your opinion on others by asking why do we need MIUI when have stock android which is better. It is just basic preference. I like MIUI over stock android and perhaps over any custom rom. It is personal taste.
Do I know that MIUI is not as optimized as stock android? YES.
Do I still want it? YES.
IamSubhodeep said:
Stop forcing your opinion on others by asking why do we need MIUI when have stock android which is better. It is just basic preference. I like MIUI over stock android and perhaps over any custom rom. It is personal taste.
Do I know that MIUI is not as optimized as stock android? YES.
Do I still want it? YES.
Click to expand...
Click to collapse
Stop asking for miui on an Android stock phone. Go for the mi5x instead , i know it lacks the B20 but life is hard.:good:
jlmcr87 said:
Stop asking for miui on an Android stock phone. Go for the mi5x instead , i know it lacks the B20 but life is hard.:good:
Click to expand...
Click to collapse
We don't come on the XDA for philosophy classes. :|
I really hope that we'll be able to run MIUI on this device.
I already own a Mi A1.
IamSubhodeep said:
Stop forcing your opinion on others by asking why do we need MIUI when have stock android which is better. It is just basic preference. I like MIUI over stock android and perhaps over any custom rom. It is personal taste.
Do I know that MIUI is not as optimized as stock android? YES.
Do I still want it? YES.
Click to expand...
Click to collapse
I guess that was meant for me (next time pls quote me). Well I have my opinion an I feel free to share it, as you share yours which I appreciate.
I still think that there is nothing that miui has that can not be achieved in stock android. It's just the cosmetics that bothers you. You knew that this phone is pure android, you knew that it has 2 partitions and you should have researched if there is miui rom/port available before you purchased it. Or better, you should purchased it when miui rom/port eventually will be available. And there are good phones from Xiaomi (global ones) even cheaper than this with Miui 9.
Btw, I believe someone (maybe you) will port miui after xiaomi release kernel source, but then we would be allready on Oreo.
NITRO_100 said:
I guess that was meant for me (next time pls quote me). Well I have my opinion an I feel free to share it, as you share yours which I appreciate.
I still think that there is nothing that miui has that can not be achieved in stock android. It's just the cosmetics that bothers you. You knew that this phone is pure android, you knew that it has 2 partitions and you should have researched if there is miui rom/port available before you purchased it. Or better, you should purchased it when miui rom/port eventually will be available. And there are good phones from Xiaomi (global ones) even cheaper than this with Miui 9.
Btw, I believe someone (maybe you) will port miui after xiaomi release kernel source, but then we would be allready on Oreo.
Click to expand...
Click to collapse
It was not meant for you specifically. I have seen people bashing the MIUI users with the same comment on multiple forums.
And about porting, I know nothing about it. Waiting for you people to do that. I'll be grateful.
NITRO_100 said:
I still think that there is nothing that miui has that can not be achieved in stock android.
Click to expand...
Click to collapse
Ok, then show me how can I achieve built in XiaomiAccount, Mi Cloud/Gallery, Mi App store, Xiaomi Notes, etc...
I don't care about the bells and whistles if these services working good!
And that fine grained permission management would be good, not that simple dull one from stock android.
Upo_hu said:
Ok, then show me how can I achieve built in XiaomiAccount, Mi Cloud/Gallery, Mi App store, Xiaomi Notes, etc...
I don't care about the bells and whistles if these services working good!
And that fine grained permission management would be good, not that simple dull one from stock android.
Click to expand...
Click to collapse
And how is all that different then Google account, drive, photos, play store, keep which all are working great if not better then miui (especially the web versions) ? As I said, there is nothing in miui that can't be replaced. And what do you mean by dull permission management ?
And there are 2 ways of how you can achieve that: wait till xiaomi release kernel source and try to port miui rom, or get a global version (if you are in Europe) of some other Xiaomi device.
timeless241285 said:
Hello,
Many people already asked this question on many other forums, and they have been blamed by everyone because people consider stupid to buy an A1 and ask for a MIUI when you have Mi 5x that's identical and already run MIUI rom.
THOSE PHONES ARE NOT IDENTICAL
In fact, A1 runs LTE (4g) bands that Mi 5X doesn't have. In Italy the majority of the LTE is on Band 20 for example, and this is the reason why A1 is having lot of success like the other phones with a GLOBAL version (Redmi 4x/Redmi Note 4 Global etc).
What we're asking for is not a rom: the rom already exists.
What we're asking for is not a porting: the phone's HW is THE SAME so there's no need to work or fix anything.
We just need a way, a tweak, a solution, a trick, a "something" to avoid the A/B partition problem and flash the xiaomi.eu rom for Mi 5x on A1 to have a FULLY UNLOCKED phone that can use ALL THE LTE BANDS and also all the advantages of the MIUI rom.
Can somebody help us, now that you know that's not only matter of "PLS port MIUI on A1 cuz it's beautiful plz plz plz"
Click to expand...
Click to collapse
Although I am not sure but I think that using Qualcomm Flash Tools you should be able to install Mi 5X ROM with Mi 5X partition table and get it up and running, but if these devices aren't that similar inside then you can end up with a hard brick. After flashing using QFIL you might have to flash Mi A1 modem for A1 band support...
PS: Don't do this and backup EFS and other critical partitions if you decide to do it anyway
But if we flash (on one of the a/b partition so you can set active the other in case you have make disaster) only the system and boot partition from Mi 5x fastboot official room, it may be enough?
Of course you will have to wipe data...
NITRO_100 said:
And there are 2 ways of how you can achieve that: wait till xiaomi release kernel source and try to port miui rom, or get a global version (if you are in Europe) of some other Xiaomi device.
Click to expand...
Click to collapse
+1
The reason why I bought this phone is because I didn't want to throw 800e on Pixel, and I wanted a cheap phone with a pure android.This thing is a real successor of the Nexus line.
There are so many global versions of xiaomi devices outhere, that there is no need for this phone if all you want is a miui.But you can always try to port it. That's the beauty of development.
Sent from my Nexus 7 using Tapatalk
Frankly, I don't know what is wrong for asking. Usually so called real technical people will tell people off if you want this why don't you buy that kind of argument. I see that the one that asks this question has nothing wrong. Everyone of us having such experience when we buy something from the market, we realise that there is a gap in functionality or even down the aesthetic feels, gestures or even some of the commands arrangement that looks stupid....etc, therefore, we asked for something we felt that has done very well, and wish that it could be done in this. If we always have to put up with what is in the box, we don't give the chance for the company to improve, and you ultimately don't help to improve the products.
After reading information from different forums, sometimes I felt sorry for those people who scoffed at people. Maybe you are protecting the brands, or protecting somethings that you feel so much attached to and disregard other people.
May I suggest that if you could not offer a better solutions, or if you think that this is not worth to do it. Just keep quiet and let other people try to answer. Or if you would like to encourage it, such as this example, a simple words like "I like the idea too!" will probably help. Words such as "No way there will be MIUI on Stock Android Phone...etc." If you believe so much about no way, would you willing to bet your neck on your chopping board? With enough incentives, someone will come out with a solution.
Sorry if I sound harsh, but this is how innovation and revolution comes about.
There is nothing wrong with asking. But there is everything wrong with asking the same question every day, in every section and always starting a new topic. You got the answer already, "currently not possible, if you want MIUI, but a device with MIUI". One would expect, that guys wanting MIUI will be satisfied, but no. They'll just create a new topic and ask the same question over and over again. If someone ports MIUI to A1, I'm pretty sure that there will be a proper topic and announcment for that.
Btw. words like "I want it too" can maybe help you to find similarly frustrated people, but that's it. Xiaomi won't read it. Google will not read it. Developers don't care, if they'll do it, it won't be because you want it (donation might be motivating though). Just look at Xposed for Nougat or Oreo topics, hundreds of useless posts like "waiting for an update..".
I would understand negative reactions if this thread would request Xiaomi to replace Android Stock with MIUI on all Mi A1 models for good! But it's addressed to developers on this forum and you'll loose nothing if someone will work on it. Why would you comment against it if you don't like or need MIUI on your phone?... This is beyond my understanding, but sadly the internet is full of this kind of thinking.
Dual app is a feature you can not have it in Stock as fully operational as in MIUI. Some apps (like FB Messenger) will not get push notifications on Stock for cloned apps.
You can use Second Space with one account and you don't have a replacement for this feature for now.
Permission Management is far more complex than even any Xposed module.
China build have Automated Task which again, no module could replace it, as for example: you can schedule to disable just vibrations and nothing else on a specific time of the day.
Notifications synced online.
Calculator with any kind of functions.
Call Recording.
One Hand Mode accessed by swiping from Home button to the left or right. You don't have to loose other functions using different shortcuts. (Double tap is just not efficient).
You have Wallpaper Carousel for your Lockscreen.
You can combine multiple themes to create your best appearance. Stock will never be as beautiful as MIUI can be, but that implies you have some taste for design and art.
All of this are BUILT IN and no root needed or any additional work!
I'm sure I have missed some other details, but when you love MIUI, you just need it, without any explanations. And a lot of Xiaomi phones doesn't have band 20 (800 Mhz) within this price range and specs.
Or maybe you just like to have them both available for your phone with Stock as official. Why's that wrong? ...
Absolutely agree! And additionally, all my data syced to mi cloud, just 1 click to restore. And it is unusable on android one. I too would buy a Mi 5x with B20 or A1 with miui!

[PETITION] Ask OnePlus to implement Project Treble on currently supported devices.

Project Treble, as you've heard, is an amazing new update structure for Android devices and also can affect the speed and stability of Android development.
OnePlus has decided not to implement the current OnePlus devices with Project Treble, and they haven't given an explanation as to why they decided not to.
Project Treble can help the 3/3T as they are almost out of the OEM support days. If they do implement this, you may be looking at Android P ROMs for your device within days of the release of the AOSP commits.
Stand UP for your device and our responsibility as the community should be to bring support for our device for as long as possible. If OnePlus implements this, our device will be future proof for the aeons to come.
Your vote counts.
Change Org - https://www.change.org/p/carl-pei-w...-ask-oneplus-to-support-project-treble-in-oos
Do your part as a OnePlus 3/3T user and VOTE!
What's your drug of choice?
suraj.das said:
What's your drug of choice?
Click to expand...
Click to collapse
What do you mean?
thes3usa said:
What do you mean?
Click to expand...
Click to collapse
He means that you must be high on something to think OP will give this petition any consideration. I don't think they will either, but I signed it anyway. It'd be nice if they did. It would certainly bolster consumer confidence in OnePlus if they supported such a game changing feature.
HampTheToker said:
He means that you must be high on something to think OP will give this petition any consideration. I don't think they will either, but I signed it anyway. It'd be nice if they did. It would certainly bolster consumer confidence in OnePlus if they supported such a game changing feature.
Click to expand...
Click to collapse
This really isnt that much of a game changer really. Dont let those on the portal make you think other wise. The rom developers are laughing at him as he has no real idea of how this is gonna work. In the end it will have 0 effect on roms or OEM updates.
zelendel said:
This really isnt that much of a game changer really. Dont let those on the portal make you think other wise. The rom developers are laughing at him as he has no real idea of how this is gonna work. In the end it will have 0 effect on roms or OEM updates.
Click to expand...
Click to collapse
How so?
Sent from my ONEPLUS A3000 using Tapatalk
HampTheToker said:
How so?
Sent from my ONEPLUS A3000 using Tapatalk
Click to expand...
Click to collapse
Well the only this this allows is updated things from the SOC manufacturers. Making things for the oem faster, if they ran aosp. But they dont. Updates will be just as long If not longer now due to this. Why you ask. Well now the OEM has to build their entire OS completely differently now. This is from OEM changing the entire OS framework as well as every file google makes.
As for custom roms. Well this really means nothing as most custom roms are already on newer patches then even what google has pushed to aosp.
zelendel said:
Well the only this this allows is updated things from the SOC manufacturers. Making things for the oem faster, if they ran aosp. But they dont. Updates will be just as long If not longer now due to this. Why you ask. Well now the OEM has to build their entire OS completely differently now. This is from OEM changing the entire OS framework as well as every file google makes.
As for custom roms. Well this really means nothing as most custom roms are already on newer patches then even what google has pushed to aosp.
Click to expand...
Click to collapse
What? What even are you talking about? Project Treble is a huge step for AOSP ROM development.
Read here - https://www.xda-developers.com/stock-android-oreo-huawei-mate-9-project-treble/
Project Treble can bring quicker and more stable ROMs to devices faster and more efficiently.
HampTheToker said:
He means that you must be high on something to think OP will give this petition any consideration. I don't think they will either, but I signed it anyway. It'd be nice if they did. It would certainly bolster consumer confidence in OnePlus if they supported such a game changing feature.
Click to expand...
Click to collapse
OnePlus's rule is to listen to their community yeah? With the petition over 5000 signatures and the link booming on r/OnePlus, it'll make them look bad if they ignore the petition.
thes3usa said:
What? What even are you talking about? Project Treble is a huge step for AOSP ROM development.
Read here - https://www.xda-developers.com/stock-android-oreo-huawei-mate-9-project-treble/
Project Treble can bring quicker and more stable ROMs to devices faster and more efficiently.
Click to expand...
Click to collapse
Please. First of getting aosp to boot on that device is not that big of a deal. Rom devs do it all the time. The only reason those devices are left behind is because developers refuse to work with their chipset.
So explain how something only concerns the SOC manufacturer and the OEM will make roms faster?
If you really thiink this will make the OEMS update any more then they already do then you are sadly mistaken.
Thats the one that I mentioned that the devs are laughing at.
Also if you follow the thread linked you will see that things are still broken and causing issues. Nothing new.
Project treble means nothing for the average person and it is sad that the portal guys are not tech savvy, which leads them to making statements that are not even close to being true.
zelendel said:
Please. First of getting aosp to boot on that device is not that big of a deal. Rom devs do it all the time. The only reason those devices are left behind is because developers refuse to work with their chipset.
So explain how something only concerns the SOC manufacturer and the OEM will make roms faster?
If you really thiink this will make the OEMS update any more then they already do then you are sadly mistaken.
Thats the one that I mentioned that the devs are laughing at.
Also if you follow the thread linked you will see that things are still broken and causing issues. Nothing new.
Project treble means nothing for the average person and it is sad that the portal guys are not tech savvy, which leads them to making statements that are not even close to being true.
Click to expand...
Click to collapse
By your judgement, what is not true as explained by the portal guys?
Isn't the whole point of Project Treble making it easier for devs to work with chipsets such as MediaTek or Kirin?
Project Treble third party development is still early, you need to give it time. It's not like every new feature in Android sprung up to be in the top places at once. Things will be broken, and the devs will find a solution.
Also, the point of Project Treble will be having unified ROM files for many devices in a category ( eg: Same SoC, same OEM, etc), and also where the device trees have not been released, unlike OnePlus, who has their Day One project.
By your logic, you're saying that there's no use for Project Treble, and it's all a complete waste of time.
But hey, it's your opinion .
But you do have a point, the portal is not to be trusted too far, and I would wait until a developer has shown that Project Treble has been put to good use on a device. But, that does not mean that Treble support should not be given to a device like ours that's super powerful.
thes3usa said:
By your judgement, what is not true as explained by the portal guys?
Isn't the whole point of Project Treble making it easier for devs to work with chipsets such as MediaTek or Kirin?
Project Treble third party development is still early, you need to give it time. It's not like every new feature in Android sprung up to be in the top places at once. Things will be broken, and the devs will find a solution.
Also, the point of Project Treble will be having unified ROM files for many devices in a category ( eg: Same SoC, same OEM, etc), and also where the device trees have not been released, unlike OnePlus, who has their Day One project.
By your logic, you're saying that there's no use for Project Treble, and it's all a complete waste of time.
But hey, it's your opinion .
But you do have a point, the portal is not to be trusted too far, and I would wait until a developer has shown that Project Treble has been put to good use on a device. But, that does not mean that Treble support should not be given to a device like ours that's super powerful.
Click to expand...
Click to collapse
The portal guys will have you believe that this will help rom development. It wont.
The problem the devs have with the Kirin chip is that it is done in mostly Chinese and there is 0 documentation on how to work with the chips. as for MTK. Yeah that wont happen. There is a reason those chips are used mostly on devices that dont have google play services.
No that will not mean unified rom files. Another thing they lead to you believe. Even the dev doing the work (not the portal writer) has already said each device will still need its own kernel.
Project treble does have a use. Its just not something we can really use.
Project treble was made so OEM can update android without having to update their version of the android OS. Everything is between the SOC Oem and the device oem.
Now ask yourself this. What OEM is really gonna update a device without updating their OS version? Also you cant really seperate the OS framework from googles android and the OEM. This is due to the OEM changing or replacing completely every base android framework file that google releases. (another thing the portal has people not understanding. OEM do not skin android. They replace it with completely different versions of android. Like Linux distros.) Also even if you can boot AOSP on any device. Are you willing to lose all the features that Oem add to their devices? Take the one plus camera deal as a perfect example.
Quote from other thread:
regarding Project, it targets all devices launched with Android 8.x also It has almost nothing to do with Oneplus, if Qualcomm update the reference msm8996 kernel to linux 4.4 then its trivial to port oneplus modifications over. Qualcomm has practically zero motivation to do this, infact it works against their interests.
So better petition Qualcomm

bit of update concerning kernel development

Hey there,
Most of you have noticed there is no to very low development for our devices.
For what is worth, there is development, and it is awesome.
We have a very nice device and with great kernel I can assure you that you will be amazed by the performances and battery life for this device.
*I'm currently testing a custom kernel (Hex), and even if it's still a bit of a pain to flash it (twrp need to be installed on one partition and kernel on the other "side") so you need a PC to get it flashed.
So. Please be a bit patient and it will be awesomely rewarded
I wrote this post to all fearing no dev. For the mia2, there is, and damn it's DDucking awesome
Have a nice day!
Regards,
H.
Thanks :good::good:
Wow! It's good to know this,
I would like to see the growing number on the development for this device to the point like other popular device such as my old Redmi Note 4 (its running awesome when installed LOS Oreo). The thing is this A/B partition on MiA2 seems to be complicated and have a high risk if you do wrong from my perspective. With that reason I still keep my phone as it is for now, looking forward for more development and tweaks tho
mark.dx said:
I would like to see the growing number on the development for this device to the point like other popular device such as my old Redmi Note 4 (its running awesome when installed LOS Oreo). The thing is this A/B partition on MiA2 seems to be complicated and have a high risk if you do wrong from my perspective. With that reason I still keep my phone as it is for now, looking forward for more development and tweaks tho
Click to expand...
Click to collapse
Yes, me too, even just try to unlock and just enable camera2api without root can turn in a briked device. So i will wait for an oficial TWRP that don´t transform my A2 in to a brick. like this user:
https://forum.xda-developers.com/showpost.php?p=77825415&postcount=13
ki69 said:
Yes, me to even just try to unlock and just enable camera2api without root can tur in a briked device. So i will wait for an oficial TWRP that don´t transform my A2 in to a brick. like this user:
https://forum.xda-developers.com/showpost.php?p=77825415&postcount=13
Click to expand...
Click to collapse
Mmh, it's definitely way too early to use any tool. God knows what the tool will do (it's just an automated batch based on ADB/fastboot aka. Platform tools) ?
Again, it's currently a pain to flash anything but at least, it's now 100% stable (if manually flashed with correct ADB (last) version.
?
Just a question of time that everything goes to the "noob-world" <- no offense we, just another way to say "bulletproof secure"
I got mine converted to Mi 6X (wayne) and I have only A partition slot. A/B it's ****. I also earned some internal storage space (around 4 Gigs) by doing this. I flashed back AEX and all is good! There is also a fixed vendor coming up which will allow to run every GSI image out-of-the-box without any bugs, thanks to Manish!
If you want guys, I can make a step by step guide on how to root and use magisk, substraum and gcam
It is very easy in my opinion, can be done in 5 minutes
I think that could be actually great. It took me some times to harvest all Infos and find a way which was making some sense. No rant on devs. But a clear way step by step would be great. At least to answer the 2000 message I get on "how-to do it" ????
For substratum not needs always root....Andromeda + substratum works very fine on stock devices(Andromeda cost is very small)
A2 certainly needs an official twrp,first than all....perhaps it will come soon, the device is still new...
mark.dx said:
The thing is this A/B partition on MiA2 seems to be complicated and have a high risk if you do wrong from my perspective.
Click to expand...
Click to collapse
It was an issue in the past, but now that there's wide support for the Google Pixel (which even has official LOS) things just got a lot easier. A/B is a non-issue for the end-user, the developer does need to check how things are done in the Pixel (which takes valuable time), but shouldn't be a deal breaker as everything is already public.
IMHO the real issue is the fact the Mi A2 wasn't really that popular to begin with (among the kind of enthusiasts that would only ever run a custom ROM, that is). When it launched, those enthusiasts preferred the whyred (which already had great support, namely official LOS). Shortly after, Poco happened.
I honestly think this device will be like most others, custom ROMs will either come straight from GSI (when vendor is fixed) or only after the Android One support ends (aka. when we'll be pressed to do something).
It's not too bad at all, it's just slightly disappointing because (1) Xiaomi timed their product releases poorly, not giving enough information to make an informed purchase; and (2) we kinda of expected a little more from Android One than to be grounded to stock or (now) a GSI.
At the end of the day it is up to us (everyone in this community) to do something about it (ie. start working on the device instead of expecting someone else to pick that job). Harsh words, but true nonetheless.
enapah said:
It was an issue in the past, but now that there's wide support for the Google Pixel (which even has official LOS) things just got a lot easier. A/B is a non-issue for the end-user, the developer does need to check how things are done in the Pixel (which takes valuable time), but shouldn't be a deal breaker as everything is already public.
IMHO the real issue is the fact the Mi A2 wasn't really that popular to begin with (among the kind of enthusiasts that would only ever run a custom ROM, that is). When it launched, those enthusiasts preferred the whyred (which already had great support, namely official LOS). Shortly after, Poco happened.
I honestly think this device will be like most others, custom ROMs will either come straight from GSI (when vendor is fixed) or only after the Android One support ends (aka. when we'll be pressed to do something).
It's not too bad at all, it's just slightly disappointing because (1) Xiaomi timed their product releases poorly, not giving enough information to make an informed purchase; and (2) we kinda of expected a little more from Android One than to be grounded to stock or (now) a GSI.
At the end of the day it is up to us (everyone in this community) to do something about it (ie. start working on the device instead of expecting someone else to pick that job). Harsh words, but true nonetheless.
Click to expand...
Click to collapse
This should be stickied somewhere, this is exactly what happened and what needs to be done. True words
by any chance will this work with mi 6x?
mugentech said:
by any chance will this work with mi 6x?
Click to expand...
Click to collapse
Some have tried, it doesn't unfortunately ?
Aww. Was hoping it would work on 6x since it's faster atm
Ähm.. mia2 + Hex Kernel is soooo faster than mi6xx ? and 6-7h of SOT on wifi (5-6h on 4g)
Again, a bit of patience, it will be all good. It is already for motivated flashers
dodjob said:
Ähm.. mia2 + Hex Kernel is soooo faster than mi6xx and 6-7h of SOT on wifi (5-6h on 4g)
Again, a bit of patience, it will be all good. It is already for motivated flashers
Click to expand...
Click to collapse
with this statement, will not buy 6x and wait for A2
saves me trouble of flashing PE on 6x
:fingers-crossed:
dodjob said:
Ähm.. mia2 + Hex Kernel is soooo faster than mi6xx and 6-7h of SOT on wifi (5-6h on 4g)
Again, a bit of patience, it will be all good. It is already for motivated flashers
Click to expand...
Click to collapse
Is the Hex kernel being done in collaboration with the X-team?
Their extreme kernel for the Mi A1 is crazy good.
Can you point me to the kernel file? I would like to test and report
enapah said:
It was an issue in the past, but now that there's wide support for the Google Pixel (which even has official LOS) things just got a lot easier. A/B is a non-issue for the end-user, the developer does need to check how things are done in the Pixel (which takes valuable time), but shouldn't be a deal breaker as everything is already public.
IMHO the real issue is the fact the Mi A2 wasn't really that popular to begin with (among the kind of enthusiasts that would only ever run a custom ROM, that is). When it launched, those enthusiasts preferred the whyred (which already had great support, namely official LOS). Shortly after, Poco happened.
I honestly think this device will be like most others, custom ROMs will either come straight from GSI (when vendor is fixed) or only after the Android One support ends (aka. when we'll be pressed to do something).
It's not too bad at all, it's just slightly disappointing because (1) Xiaomi timed their product releases poorly, not giving enough information to make an informed purchase; and (2) we kinda of expected a little more from Android One than to be grounded to stock or (now) a GSI.
At the end of the day it is up to us (everyone in this community) to do something about it (ie. start working on the device instead of expecting someone else to pick that job). Harsh words, but true nonetheless.
Click to expand...
Click to collapse
I agree with what you said. Its just unfortunate that this device got a lot of bugs despite its being an Android One phone. I'm sitting here just waiting for October update or Android Pie update so I can use my device without worries.

What's the point of custom roms

What's the point of custom ROMs when we already have OOS I mean it's customizable, speedy has fast update like seriously what's the point though sacrificing features like fingerprint, etc sorry if this offended some of you just asking.
I'm sure you'll get a lot of different answers because there is no ONE answer.
First and foremost people here on XDA just love to play with things! Flashoholics if you will! But if your looking for more then that:
Support for a phone long past it's EoL. I'm fairly certain Lineage is still updating for OnePlus 1, among the other plethora of devices, and thats just 1 rom.
Targeted feature sets: Some people will build a rom based on specific feature sets, like for example going full audiophile. Building in all kinds of tools and mods geared toward that. It's far easier to pick up your favorite rom from a like minded community that has everything you want built in than to do it all yourself.
Those would be 2 of the largest reasons imo. As far as your comment on no fingerprint with a custom rom, that maybe true "right now", but once 1+ releases the source code every custom rom for this device will have that feature working. So really it's a none issue, or more will be a none issue in the future. Just my 2 cents
OOS is okay, but I much prefer an AOSP looking ROM (like Havoc OS) or whatever. Way too many reasons to even list.
Custom roms will have way more features but fingerprint is not working now. Once they get FP working I'm flashing with no hesitation. I've ran roms on my last devices - OnePlus 3T and Motorola Nexus 6 and enjoyed the experience much more than stock. You seem to think more things other than FP aren't working but in my research that is the only thing. Maybe the camera optimization is a little better on OOS but I just take basic pictures so that never bothered me.
Let's flip the question around and why would you come on XDA and ask such a question? That's like being on a forum dedicated to car modifications and then you come in and ask why would you do that to your car when stock works fine?
Ehhh did I write this????

Categories

Resources