G5 Plus and G5s Plus software interchangeability - Moto G5S Plus Guides, News, & Discussion

Both phones (Moto G5 Plus and G5s plus) have same hardware except for camera and display. Afaik, camera is the only hurdle on the software side that is preventing a direct interchangeability of firmwares between the phones.
So, is it possible, with little modification, to have G5s Plus firmwares (and custom ROMs too) work on G5 Plus and vice versa?
If my assumption is wrong, what other bottlenecks are there? Can they be overcome to achieve interchangeability?
If we somehow figure it out, we'd have a huge merged community with great support and more custom ROMs. It'd also ease the software development for both devices.
Footnotes:
This discussion thread is repost from G5 Plus forum, since it's also relevant here (so that devs/users who have G5S Plus can share their knowledge here)
Original thread

Immediate benefit would be getting the Oreo on one device from the firmware of the other, depending on which gets the update first (And thereby, future updates too)
Also, if anyone is willing and has a phone with unlocked bootloader, please try flashing G5s Plus 7.1.1 firmware on G5 Plus (or vice-versa) using fastboot (may be skip unnecessarily partitions, but then again, I have no idea how to go about it).

Related

[Question] Feasibility of porting Moto features

I'm definitely getting in over my head with my current knowledge/capability, but I'm thinking this would be a really cool project to work on for a few months or so. My idea is the following:
It seems that, so far, no one has been able to get a custom rom on the Moto X 2013 to use the low power cores at all, and from recent information it's pretty clear that the original Moto X will not get the MM upgrade. What I've also seen is stock-modified roms that use APKs from the more recent 2014 edition to get features such as "karate chop" for flashlight. Because of this, can it be assumed that the protocol for communicating with the low power chips is the same between the s4 pro and the 801? Could it be possible to take the Moto specific parts of the LP kernel (which the source for is widely available), put them into a marshmallow kernel that doesn't mess with the APIs used by Moto Voice and Active Display, compile an MM rom that runs on that kernel, and modify specific Moto apps to check for a different android version and model name?

Current X4 models to get treble support.?

So today Motorola India launched a new variant of X4 in India. Bumping the RAM from 3 & 4 GB to 6GB with same 64GB storage.
The main highlight is the phone comes with Oreo out of box and it supports Treble..
Now see what Motorola has to say about new X4 Variant -
There don't seem to be any other differences but the RAM amount, and the fact that the handset ships with Oreo by default. Motorola does say that there are a few interface tweaks pertinent to the fresh X4, but the other models will eventually get them, too. After that the key difference will be the extra 2GB of RAM.
So what is Motorola is talking here abt that the older models will eventually get it..? Is it the treble support.?
If they don't enable treble on the original moto x4, they will be loosing out on many potential customers who care about the latest updates and ROMs. I think that not enabling treble will be a huge mistake on Motorola's part. I'm also starting to get annoyed with the huge market catering to India...
Honestly, I think there's 0 chance it will happen, sorry.
Do you guys think its possible to flash the stock rom from a new moto x4 to an old one ? That could be a way to enable treble for the "old" devices
harry_martini said:
Do you guys think its possible to flash the stock rom from a new moto x4 to an old one ? That could be a way to enable treble for the "old" devices
Click to expand...
Click to collapse
I am curious to take a look at the firmware from this device. Does anyone have it?
No one should hold their breath for a "Treble Update" from Motorola... it may require repartitioning the device and doing that via OTA would be quite a challenge and be too risky for them.
That said, I would still like to see the vendor/HAL implementation, and especially check out partitioning. From an efficiency/cost standpoint it would be surprising to see any major differences in structure since that would require Motorola to have a dev team just for one new variant.
But even if the devices are identical that does not mean we could simply flash the Treble firmware. There would seem to be an intermediate step that would require partitioning. It may be beyond the scope of our existing tools. These may be changes that could only be made with Motorola proprietary software.
But an interesting development, nonetheless...
Just did a little reading, and it seems that the hardware IS different than the original X4...specifically the SoC which is SDM636 running custom Kyro architecture vs. our SDM630
mightysween said:
Just did a little reading, and it seems that the hardware IS different than the original X4...specifically the SoC which is SDM636 running custom Kyro architecture vs. our SDM630
Click to expand...
Click to collapse
where did u read that..?
The only difference is extra 2gb ram and Oreo out of box.
here is the product page, check for yourself..
https://www.flipkart.com/moto-x4-super-black-64-gb/p/itmez9u3cgg9zfy2?pid=MOBFF6GGPJYKGQCK&sattr=color&sattr=storage&sattr=ram&st=ram
Jithin91 said:
where did u read that..?
The only difference is extra 2gb ram and Oreo out of box.
here is the product page, check for yourself..
https://www.flipkart.com/moto-x4-su...CK&sattr=color&sattr=storage&sattr=ram&st=ram
Click to expand...
Click to collapse
Read it here on XDA
https://www.xda-developers.com/new-motorola-moto-x4-variant-india-february-1/
mightysween said:
Read it here on XDA
https://www.xda-developers.com/new-motorola-moto-x4-variant-india-february-1/
Click to expand...
Click to collapse
it was a rumour. x4 6gb version is still having sdm630.
kraatus90 said:
it was a rumour. x4 6gb version is still having sdm630.
Click to expand...
Click to collapse
Excellent... can't wait to see under the hood
I don't think so, but it IS possible.
When Oreo came out, it was important for Motorola to update their phones quickly to Oreo;
in order to look good compared to other brands.
Implementing Treble would take more time; but once implemented would make it easier for them to provide faster security updates in the future.
So it's a possibility that the next security update in january or february, may include Treble.
The moto X4 is due to receive Security updates until April 2019, so Treble might make sense to Motorola.
But there's definately no way to know for sure.
But isn't 6 GB just a variant of Moto x4, so probably it also doesn't have project treble enabled.
Jithin91 said:
So today Motorola India launched a new variant of X4 in India. Bumping the RAM from 3 & 4 GB to 6GB with same 64GB storage.
The main highlight is the phone comes with Oreo out of box and it supports Treble..
Now see what Motorola has to say about new X4 Variant -
There don't seem to be any other differences but the RAM amount, and the fact that the handset ships with Oreo by default. Motorola does say that there are a few interface tweaks pertinent to the fresh X4, but the other models will eventually get them, too. After that the key difference will be the extra 2GB of RAM.
So what is Motorola is talking here abt that the older models will eventually get it..? Is it the treble support.?
Click to expand...
Click to collapse
I am also sad seeing such slow development on X4 not much roms, not official or unofficial treble support!, still being Android one device is so sad and bad!
---------- Post added at 11:49 AM ---------- Previous post was at 11:43 AM ----------
mightysween said:
I am curious to take a look at the firmware from this device. Does anyone have it?
No one should hold their breath for a "Treble Update" from Motorola... it may require repartitioning the device and doing that via OTA would be quite a challenge and be too risky for them.
That said, I would still like to see the vendor/HAL implementation, and especially check out partitioning. From an efficiency/cost standpoint it would be surprising to see any major differences in structure since that would require Motorola to have a dev team just for one new variant.
But even if the devices are identical that does not mean we could simply flash the Treble firmware. There would seem to be an intermediate step that would require partitioning. It may be beyond the scope of our existing tools. These may be changes that could only be made with Motorola proprietary software.
But an interesting development, nonetheless...
Click to expand...
Click to collapse
I am very sad seeing such slow development on X4 not much roms, not official or unofficial treble support!, still being Android one device is so sad and bad!
The slow development is because of the A/B partition scheme, if you look other phones that uses the same partition system it'll be the same, it's Google "fault".
Last I checked, all devices running Oreo have to have Treble. That is why everyone was mad at HTC for shipping new phones with Nougat.It especially makes sense for the Android One variant because the have to get timely updates out, which they have. It would be off for the 6gb to have it and no others because Google requires every

project treble compatibility for Moto G5 S

Today it has been announced in the XDA that redmi Note 4 got its project treble compatibility and it is a full project treble compatibility.
So when is Moto G5 s going to receive any kind of project treble compatibility but I think that it is relative the easier than the Xiaomi devices because it has all the resources available and I don't think there is any kind of heavy modification from the Motorola side as Xiaomi
But motorola does not offer enough sources to enable trebel i think..
What is project treble anyway, care to explain?
Sent from my XT1805 using Tapatalk
jdesignz said:
What is project treble anyway, care to explain?
Sent from my XT1805 using Tapatalk
Click to expand...
Click to collapse
Google can explain, but don't expect anything for this device. It's good for the future, but this device is in the past.
jdesignz said:
What is project treble anyway, care to explain?
Sent from my XT1805 using Tapatalk
Click to expand...
Click to collapse
There's an additional abstraction layer / API between the OS and the hardware drivers,
that make it easier to update the Android OS across different vendors with the same chipset (SoC) and hardware features (and long-term probably also across newer Android and Kernel versions, not sure though)
In essence you should be able to run an AOSP build from e.g. Huawei on Sony phones, LG, etc. as long as the components are the same,
meaning: e.g. phone calling, WiFi, etc. all should be working out of the box after installing that, camera and specific features (e.g. dedicated sound DAC) might be a different story though and require adjustments (not sure how that is realized in detail with Treble)
The thing with Project Treble is that it has to be considered right from the start, meaning there need to be (2 ?) additional partitions for updates available:
Partition A (current),
Partition B (new)
So that means for existing device it would involve re-partitioning and/or adding additional partitions to make a device Project Treble "ready",
which is practically impossible since this cannot be achieved with OTA updates.
I've read that older Huawei (or other vendor, Xiaomi ?) has this experimentally added (community ?) but this would require TWRP and/or custom manual intervention through recovery
and most people aren't able to do this - so it's unrealistic that existing device without Project Trouble could be "upgraded", retrofitted through that means
that's at least the superficial level that I got to understand from the discussion from other Sony devs
Hope that helps
Anything that can be developed for this phone have to be figured out very fast because Moto is going to release the G6 family very soon and as you know that once a new family gets released the older family gets less attention and gradually dies over the time and sadly I can see that there are no dedicated developers for this phone so the community has to take the responsibility to do anything possible for this phone as soon as possible.

What model is the best for ROM's and such?

So... SO many models floating around the web. Which one is the best for custom stuff such as ROMs and what not?
XT1925-2? Or..?
Locklear308 said:
So... SO many models floating around the web. Which one is the best for custom stuff such as ROMs and what not?
XT1925-2? Or..?
Click to expand...
Click to collapse
None, given Android Pie is confirmed for the G6 models, people are staying away from developing ROMs.
SB581240 said:
None, given Android Pie is confirmed for the G6 models, people are staying away from developing ROMs.
Click to expand...
Click to collapse
I apologize, I don't quite follow what you mean.... So are you saying because it's going to get pie that it's basically useless as a phone for custom roms? That just doesn't make any sense to me
Locklear308 said:
I apologize, I don't quite follow what you mean.... So are you saying because it's going to get pie that it's basically useless as a phone for custom roms? That just doesn't make any sense to me
Click to expand...
Click to collapse
Just when I thought I was succinct. No one is building any ROM for this phone as of now. And many people who are holding this phone would likely not switch to a custom ROM because Android Pie would come soon, as soon as this fall. Please do not hold me for either statement, you being a senior member, you may be more knowledgeable about these things.
theres not enough dev support for any g6 device plain an simple if you cant tell by looking through the threads on here. the only one that has had even the tiniest bit of support is the g6+and thats just the most barebones stuff. tbh your best bet would the moto e5 or something i gave up on the g6 play and got a z2 force. i still have the g6 play if you know any devices interested in it
ninjakira said:
theres not enough dev support for any g6 device plain an simple if you cant tell by looking through the threads on here. the only one that has had even the tiniest bit of support is the g6+and thats just the most barebones stuff. tbh your best bet would the moto e5 or something i gave up on the g6 play and got a z2 force. i still have the g6 play if you know any devices interested in it
Click to expand...
Click to collapse
Ugh, I hate when they focus on the crap devices... why is it so hard to get away from crapoled and have even bare rom support?
The G6+ is just waiting for a dev to get the device. The funds were raised through donations and the device is on its way to India to the dev.
As for the "barebones" comment we have Los 15.1. That's android 8.1. Our devices ship with 8.0 and Moto has not released 8.1 and may skip right to Android 9(P/Pie). The Los rom we have is fully functional and working aside from Bluetooth calling. After flashing Los 15.1 you can then flash Gsi files which are generic system images. This will probably be the successor to roms imo. With Gsi you can flash Android P in a variety of flavors but beware of additional bugs as Pie has only just been official for a month roughly. So yes you could somewhat consider this barebones, I suppose, because Los15.1 had laid the ground work to where other roms could be ported with out much effort.
The g6+ will probably never have a huge variety of roms but atleast we have been promised los16 which should open enough doors to make an impact.
Tl;Dr the g6+ is the only G6 model with a dev. Dev will be receiving g6+ in a week or two(due to international shipping from the US to Indiana). We will get los16. Get a g6+ and be patient but forget the G6 and G6 Play variants.
Sent from my moto g(6) plus using Tapatalk
Oh and Los16/Pie for Evert/g6+ will probably be released tomorrow.
Sent from my moto g(6) plus using Tapatalk

Is Motorla E5 (all variants) ever going to be supported by /e/ ROM?

As I got scared by Google's approach to privacy, I have left my Moto E5 phone in the shelf for a year, however, I need to have one now for job. One of solutions to get rid of Google's spyware is to use /e/ ROM.
If you don't know what /e/ is, it is basically a LineageOS designed to be Google-free without any extra configuration. Look more here: https://e.foundation/
Are we ever going to port this operating system to all variants of Motorola E5?
Please support the request here, as every vote counts: https://community.e.foundation/t/motorola-moto-e5-nora/23005

Categories

Resources