[Devs] [Disscusion] Our Mi5x Is Treble Capable. - Xiaomi Mi 5X Guides, News, & Discussion

I founded that our Mi 5x is treble capable (we have /cust partition)
I dont have a linux dist and i cant install it.
We can port treble to it?Any idea how to port it?

Lol it is?!

René Rinner said:
Lol it is?!
Click to expand...
Click to collapse
Yes, it is. Theoretically, as we have this cust partition, it should be possible to port treble in the same way it was done for other Xiaomi phones. I once asked aex12 in his A1 oreo/nougat port thread if he thinks it's doable and if he plans to work on it, but i did not get any answer. Hopefully, some dev is going to try porting treble for our device.

Related

Android Nougat?

Will we get it?Im 1000% sure the phone is capable of running it.I believe somebody must mess with the RIL,the P8 devs say they have some issues with it(while building cm based roms),anyway flashable rom is easily to be made.
Here I found the source of the phone: http://emui.huawei.com/en/plugin.php?id=hwdownload&mod=detail&mid=70
Even if we dont have source,there is still a chance that we can make custom rom for it,just like broadcom grand neo got cm11.
''Contrary to the popular belief, userspace driver source code is not always required to make an AOSP-based ROM as long as the proprietary binaries shipped with the device does not modify the API too heavily (or is from a very different version of Android). Instead of modifying the source code of the drivers, the Android source code was adapted to be able to use the proprietary binaries.'' - using this logic there is flyme os 5.1.1 in 4pda,which is also skinnned chinese rom,we might be able to port the newer emui from p9 or honor 7.
Edit:Just saw that there is android n beta for p9 based on emui 5.Anyone wanna give a shot porting it?
Are there actually any active developers?
I think it's possible but it will be so difficult for the devs to do such thing...
But I really hope that some one ports it for our phone
Sent from my H60-L04 using Tapatalk
hamzio7 said:
I think it's possible but it will be so difficult for the devs to do such thing...
But I really hope that some one ports it for our phone
Sent from my H60-L04 using Tapatalk
Click to expand...
Click to collapse
I think porting the android n beta for p9 should be possible,or if not the beta then when the official version comes out.It has kirin 955 and mali gpu,I think it can be crossported.It would be easier to port from the p8,but I think it wont get it too.
Practically replacing some libs and folders with the ones from the stock marshmallow,that did work with mtk chipsets,but Im new at the kirin stuff.

Is there any Tool or Program For porting ROMs

Is there any tool or program for porting different roms from other devices to Oneplus one?
Vaibhav Jagger said:
Is there any tool or program for porting different roms from other devices to Oneplus one?
Click to expand...
Click to collapse
No,you'll have to port them manually.
Mr.Ak said:
No,you'll have to port them manually.
Click to expand...
Click to collapse
Any other method or I'll have to manually download all the source codes and all that stuff?
Vaibhav Jagger said:
Any other method or I'll have to manually download all the source codes and all that stuff?
Click to expand...
Click to collapse
You don't need source codes while porting,just the port ROM(the ROM which you're gonna port) and stock ROM(which in our case would be Cos(insert cm version here.)).
Though,porting for Qualcomm is not as easy as porting for mediatek but at least it's easier than porting for 64-bit,as you may know ours(sd801) is 32-bit.In short,you can port ROMs from only those processors which are 32-bit Qualcomm,for example ,sd800(nexus 5),sd801(lg g3,oneplus X)...I.e.,cross architecture port is not possible yet,though cross-porting is possible but it won't be easy,I suggest you should start porting from a sd801 device.
That being said,always make sure stock and port ROM's android version are same.
For more information,refer to a porting guide.
Edit-your service provider is "Iceland-Simnin"?
Mr.Ak said:
You don't need source codes while porting,just the port ROM(the ROM which you're gonna port) and stock ROM(which in our case would be Cos(insert cm version here.)).
Though,porting for Qualcomm is not as easy as porting for mediatek but at least it's easier than porting for 64-bit,as you may know ours(sd801) is 32-bit.In short,you can port ROMs from only those processors which are 32-bit Qualcomm,for example ,sd800(nexus 5),sd801(lg g3,oneplus X)...I.e.,cross architecture port is not possible yet,though cross-porting is possible but it won't be easy,I suggest you should start porting from a sd801 device.
That being said,always make sure stock and port ROM's android version are same.
For more information,refer to a porting guide.
Edit-your service provider is "Iceland-Simnin"?
Click to expand...
Click to collapse
Got it! Thankyou so much, I'll keep trying.
Vaibhav Jagger said:
Got it! Thankyou so much, I'll keep trying.
Click to expand...
Click to collapse
Okay,change your service provider.

Project treble for moto g2015?

Is it possible to implement project treble for our device by our talented Dev? Or can it be done only by manufacturer during launch
pokemonemeraldfirered said:
Is it possible to implement project treble for our device by our talented Dev? Or can it be done only by manufacturer during launch
Click to expand...
Click to collapse
It's not possible for our device as it requires separate vendor partition which we don't have, also there's no free partition in our device which devs will use as a vendor partition..
Oh thank you

Can open sources from Nougat work with treble based rom?

Hey all, just curious to know from developers if it's possible to take a treble based rom and implement mate 9 features from the Nougat open sources?
Wirmpolter said:
Hey all, just curious to know from developers if it's possible to take a treble based rom and implement mate 9 features from the Nougat open sources?
Click to expand...
Click to collapse
Uh.
We have kernel sources.
Treble only replaces system (system.img)
What features are you thinking about?
ante0 said:
Uh.
We have kernel sources.
Treble only replaces system (system.img)
What features are you thinking about?
Click to expand...
Click to collapse
Saw users posted they were having graphical glitches... Fingerprint scanner only recognizing on first touch and not being able to complete setting it up...
I would love to learn how to build my own rom geared towards the Mate 9 and was curious to know really if there was really anything specific that could be done.

Here a treble twrp.

Ok I'm working on create vendor partition.
What is the purpose of this twrp?
kalehrl said:
What is the purpose of this twrp?
Click to expand...
Click to collapse
For now it's useless for everyone except developers working on treble (me, ivolfram and a few more) and few testers. To really use it you need repartition script and treble-fied rom, both of which are currently not public. If you want to stay informed follow ProjectTreble_s2 on Telegram and https://github.com/project-treble-s2 for sources.
nullbytepl said:
For now it's useless for everyone except developers working on treble (me, ivolfram and a few more) and few testers. To really use it you need repartition script and treble-fied rom, both of which are currently not public. If you want to stay informed follow ProjectTreble_s2 on Telegram and https://github.com/project-treble-s2 for sources.
Click to expand...
Click to collapse
I'm also working on project treble Le 2.

Categories

Resources