Xperia M5 got 6.0! - Redmi Note 2 Q&A, Help & Troubleshooting

Sadly Xperia m5 got marshmallow and we didn't!
Is there any way to use that to build a rom for redmi note 2?

Useless for us.

Only the soc is same
Other chipset like wifi/bt and modem/rf is different
The camera and other sensors is also different
I extract the config from stock kernel then compile the kernel with hermes config and xperia m5 kernel source on xperia dev
The kernel can boot on miui and cm12.1 but wifi/bt , radio and a lot of sensors is not working because of different chipset i think
Sorry for my bad english

I wish at least someone tries to port Xperia m5 5.0 or 5.1 rom!
Idk why no one tries

mehdi554 said:
I wish at least someone tries to port Xperia m5 5.0 or 5.1 rom!
Idk why no one tries
Click to expand...
Click to collapse
But that "someone" could be you!

I tried but could not unpack M5 Kernel.

mehdi554 said:
I wish at least someone tries to port Xperia m5 5.0 or 5.1 rom!
Idk why no one tries
Click to expand...
Click to collapse
We don't have drivers sources. What if someone will port that rom? Everything will not work for example bluetooth, Wi-Fi, camera and much more. Developers hasn't any reason for do that.

Kernels must be decompiled -they are not compressed archives that can be unpacked. If there is no source code, kiss the idea goodbye.
There are too many hardware differences in the M5 to be even remotely useful. There is a LeTV phone that is far closer to ours (if not almost identical) and maybe one of the HTC models with 6795 SoC such as X9?
As pointed out by @bjsiu0617 It is the LCD screen and other add-on hardware that cause the problem - having the same SoC helps with most of the wifi, BT, modem etc. that is all part of the System on Chip.
Maybe a decent technical thread could be started to identify potential donor phones? It would have to break down each candidate into its component parts i.e. what model LCD, mag sensor, light sensor, cameras etc.
The sad part is that most of the candidates do not have Marshmallow and also have bastardized version of Android like MIUI and eMIUI etc.

just enjoy your xiaomi and your lollipop...
i've just sold my xiaomi device..
lol
---------- Post added at 08:33 AM ---------- Previous post was at 08:32 AM ----------
just enjoy your xiaomi and your lollipop...
i've just sold my xiaomi device..
lol

I didn't mean marshmallow. I saw in a tutorial that mediatek devices with same soc can port roms (same android version). And we have working 5.0 and 5.1 kernels.

This is it
http://forum.xda-developers.com/k3-note/development/guide-porting-64bit-mtk-roms-cross-t3310605

I think in this way we use xiaomi drivers. I said that because Xperia rom looks better than cm12.1 or aosp. And I thought it would be nice to have a 5.0 or 5.1 Xperia rom.

I'm confused. You created thread about Marshmallow for xperia m5 and now you only want Lollipop rom for our device because this port would look better.

Yes at first it was about marshmallow but I said no one even tried to port the 5.0 rom. I tried but couldn't unpack the kernel as it was in that tutorial.

Related

[Q] GB Device Tree convert to CM

So, ive got source's of android to my smartphone thanks to kindness of my device company. Its source for gingerbread 2.3.4 i want to take the device tree from it and convert it to CM11.0 and here is the thing. How to do this? What do i need to know? Is there any guide?
Third post on this forum and none got replied? Rly?
Well you could have done some search before asking
As far as i know you can't convert your android soruce to CM , but you can port a CM ROM in your device but since you have GB your only able to port CM7 , also next time write your device name so i know what we are talking about
---------- Post added at 05:01 PM ---------- Previous post was at 04:43 PM ----------
A lil more search and i was able to find that your device has the same chip as Samsung GALAXY mini 2 , go to galaxy mini 2 forum and ask there if someone can port CM11 to your device , If this helped press the THANKS button
My phone is GSmart G1345. Samsung galaxy ace have pretty smilar hardware so as htc wildfire s, and those devices have already CM11 develoed. If i take device tree from their sources, and do some changes, could it work ? Or maybe port it somehow but i dont know what base rom to use
Btw. Ive done already a lot of research but my smartphone is pretty rare. If you could point me where to start off it would be great
BlayDee said:
My phone is GSmart G1345. Samsung galaxy ace have pretty smilar hardware so as htc wildfire s, and those devices have already CM11 develoed. If i take device tree from their sources, and do some changes, could it work ? Or maybe port it somehow but i dont know what base rom to use
Btw. Ive done already a lot of research but my smartphone is pretty rare. If you could point me where to start off it would be great
Click to expand...
Click to collapse
First of all , nop you don't have same specs as the phone you said , You can only port roms or kernels from phones who have same Chipset and Samsung galaxy ace or wildfire have a Qualcomm MSM7227 Snapdragon and you have Qualcomm MSM7227T Snapdragon so its not the same , maybe you can port roms HTC ChaCha and Samsung GALAXY mini 2 since they have the same chip as yours
As for porting roms check in the devolper thread i think theres a tool there that helps you in the process but you need a kernel first and i don't know how to port that , also i don't understand why do you want CM10 or 11 since they would lag so badly in a 800mhz device
EvilMegaDroid said:
First of all , nop you don't have same specs as the phone you said , You can only port roms or kernels from phones who have same Chipset and Samsung galaxy ace or wildfire have a Qualcomm MSM7227 Snapdragon and you have Qualcomm MSM7227T Snapdragon so its not the same , maybe you can port roms HTC ChaCha and Samsung GALAXY mini 2 since they have the same chip as yours
As for porting roms check in the devolper thread i think theres a tool there that helps you in the process but you need a kernel first and i don't know how to port that , also i don't understand why do you want CM10 or 11 since they would lag so badly in a 800mhz device
Click to expand...
Click to collapse
From what i read Samsung galaxy mini 2 have MSM7227A click. Also can you port gingerbread to CM? I readed that it needs to be same android ver. so i probably need compile from source right? Or am i wrong?
Also comparing MSM7227T to MSM7227 thers only a 200mHz diffrence beetwen those chipset
BlayDee said:
From what i read Samsung galaxy mini 2 have MSM7227A click. Also can you port gingerbread to CM? I readed that it needs to be same android ver. so i probably need compile from source right? Or am i wrong?
Click to expand...
Click to collapse
http://system-on-a-chip.findthebest.com/l/254/Qualcomm-MSM7227T#devices&s=2oFpnh&st=2JobHv (that's why i said maybe cuz this site says that galaxy_mini_2 uses MSM7227T but you can try with HTC ChaCha )
Also you don't port GB to android , you port CM7(that uses GB as base) to your device so you have a custom android rom , also do you have your kernel source cuz you will need that for sure (if you don't have that the chance that you can port the rom are less than 1% , maybe using the boot.img from your room would work)
Better ask in galaxy_mini_2 section or in HTC ChaCha thread , maybe someone there would help you to port a rom and a working kernel
I never tried to port roms so i can't port one for you , let alone even if i tried i don't own your device so it would take a lot of time (and that's something i don't have)
---------- Post added at 03:17 AM ---------- Previous post was at 03:15 AM ----------
EvilMegaDroid said:
http://system-on-a-chip.findthebest.com/l/254/Qualcomm-MSM7227T#devices&s=2oFpnh&st=2JobHv (that's why i said maybe cuz this site says that galaxy_mini_2 uses MSM7227T but you can try with HTC ChaCha )
Also you don't port GB to android , you port CM7(that uses GB as base) to your device so you have a custom android rom , also do you have your kernel source cuz you will need that for sure (if you don't have that the chance that you can port the rom are less than 1% , maybe using the boot.img from your room would work)
Better ask in galaxy_mini_2 section or in HTC ChaCha thread , maybe someone there would help you to port a rom and a working kernel
I never tried to port roms so i can't port one for you , let alone even if i tried i don't own your device so it would take a lot of time (and that's something i don't have)
Click to expand...
Click to collapse
ohh yeah cuz i forgot you can also build CM roms from CM source and you add your kernel on top of it and it should work
BlayDee said:
From what i read Samsung galaxy mini 2 have MSM7227A click. Also can you port gingerbread to CM? I readed that it needs to be same android ver. so i probably need compile from source right? Or am i wrong?
Also comparing MSM7227T to MSM7227 thers only a 200mHz diffrence beetwen those chipset
Click to expand...
Click to collapse
yeah but it depends on people workig on it , for example my HD2 has only 1ghz of max frequency but since it has alot of Roms and custom kernels , im able to overclock it beyond 1.5 , i even was able to get 2ghz on it so it depends on the kernel , if someone modify your phone kernel he may be able to achive higher speeds

CM 13 on the Mediatek

Can i possibly know why devices owning the 6795 like the rn3 won't upgrade to CM13 ? What do the devs require so much that they can't port CM13 to the mediatek version ? I'm afraid i'm not aware of this version so much, but does it properly need android M in order to run ?
Mediatek phones are generally far more difficult to develop for because they don't like to release kernel sources and they are built for generic phones so they don't work as well
Mediatek development most currently are porting roms that is the same base as the original. If it came out with 5.0.2 then the max version for a custom rom is probably 5.1.1 and its harder to port higher android OS without any sources.
Oh, i see.. So mostly is because of the phone devs that won't release certain codes and whatever you need in order to develop the rom, right ?
Yeah blame the chipset manufacturer.
I'm no developer, but what about this info?
https://github.com/rmtew/MediaTek-HelioX10-Kernel

AOSP base rom for Redmi Note 4(MT6797)

Hi
Please build or port an Aosp rom to our great devices.
If somebody agree with me, please strengthen in it.
Thanks
zsolt
There are people working on CM and AICP ports. You can see here: http://en.miui.com/thread-407842-1-1.html
prismk said:
There are people working on CM and AICP ports. You can see here: http://en.miui.com/thread-407842-1-1.html
Click to expand...
Click to collapse
yes i know, i have seen these posts
thanks
If you already knew then why did you start a new thread?
Why do some people think that asking for a ROM will make it magically happen faster or something?
Sent from my Redmi Note 4 using Tapatalk
Do you use AOSP rom if that rom don't have fingerprint function (because RMN4 use FPC1035 with MTK TrustSonic enabled, it's so hard to port it unless Xiaomi release kernel source code) ?
Most people asking for porting rom from other devices but also demand porting rom have full functions working like original rom which impossible to make it happen...
longnt2007 said:
Do you use AOSP rom if that rom don't have fingerprint function (because RMN4 use FPC1035 with MTK TrustSonic enabled, it's so hard to port it unless Xiaomi release kernel source code) ?
Most people asking for porting rom from other devices but also demand porting rom have full functions working like original rom which impossible to make it happen...
Click to expand...
Click to collapse
Yep. As I said in the X20 kernel thread, it's only just the beginning because that's only generic X20 kernel source. ODM's *always* add their own hardware that is not covered by the original kernel source.
Typically, Camera and Sensor drivers were the most difficult to port (with blobs and reverse-engineering stock firmware). But TrustSonic sounds like it will be the biggest task.

PORT Sense to another phone

Hello , i have 1 question can it be work if i port a Sense rom to my honor 8 ?
beacouse i love the Sense ui and the look i will be great if i see a sene rom for my phone
When you know the HTC HD2 and they have done to make a windows phone to an android phone with a lot of roms like Sense,Miui,AOKP, or PAC man rom then
at can be done with another one
The problem is, that it is really hard to build ROMs for devices with Kirin Chipset, because Huawei won't release any helpful source code. We can be lucky that they released some Kernel sources for several devices. Some honor and Huawei devices are nearly the same and ROMs that are build for one device, work on others with the same Chipset as well, so go and look if you find any, I think the OpenKirin released something for the honor 8/ the Huawei version. Just search your Chipset here on xda, you should find something. But there won't be a Sense ROM, I'm pretty sure.
EDIT: There is RROS available for your device!
You have to follow every single instruction, or some features won't work. That's probably everything you will get for that device.
Here is the link: https://forum.xda-developers.com/honor-8/development/rom-t3606257
GAMEthe said:
Hello , i have 1 question can it be work if i port a Sense rom to my honor 8 ?
beacouse i love the Sense ui and the look i will be great if i see a sene rom for my phone
When you know the HTC HD2 and they have done to make a windows phone to an android phone with a lot of roms like Sense,Miui,AOKP, or PAC man rom then
at can be done with another one
Click to expand...
Click to collapse
Simple answer is no. Sense like TouchWiz and all other oem distros rely on their own frameworks files that are closed Sourced and only compatible with their devices.
As for the HD 2. That was the last great device of its kind with a really open bootloader.

Asking for a 'light' / advice to more experienced devs (making AOSP + device to buy)

Hi, I'm in need of some advice about Android development/device to purchase,
Since the devs here are far more experienced than me I would ask some advice,
I started recently 'making' my own AOSP but I needed slow down after discovering I need to have the binaries(kind of: the drivers of the hardware?). So I spent my last 2 days searching about it and devices I could use
I came to the following understanding, I need the AOSP + kernel(as long as I have the kernel I don't need worry about the binaries from the vendor ? since the kernel takes care of it)
I'm thinking between a Moto C Plus or Xiaomi Redmi 6A, since I discovered there are currently ROM's and both have their TWRP. On the case of Xiaomi even the kernel is available. I also noticed the Xperia are good for development, but my problem is the budget I have available
Any piece of advice is welcome, thanks :good:
Try this
biscottoesse said:
Hi, I'm in need of some advice about Android development/device to purchase,
Since the devs here are far more experienced than me I would ask some advice,
I started recently 'making' my own AOSP but I needed slow down after discovering I need to have the binaries(kind of: the drivers of the hardware?). So I spent my last 2 days searching about it and devices I could use
I came to the following understanding, I need the AOSP + kernel(as long as I have the kernel I don't need worry about the binaries from the vendor ? since the kernel takes care of it)
I'm thinking between a Moto C Plus or Xiaomi Redmi 6A, since I discovered there are currently ROM's and both have their TWRP. On the case of Xiaomi even the kernel is available. I also noticed the Xperia are good for development, but my problem is the budget I have available
Any piece of advice is welcome, thanks :good:
Click to expand...
Click to collapse
Hi there,
The best phone that I recommend is the Moto phones as they are easier to port custom versions of android. However, since the Moto C Plus has a MediaTek Processor, I suggest you look for other versions of the Moto Series phones that has a Snapdragon Processors. For example like the Moto E 2nd Gen LTE version, though it has a 1gb ram, I've seen many developers developing their own custom ROM.
I played around with MediaTek Processors the one thing I really don't love about them is that they are not robust like other processors. I had a Lenovo S820 with a MediaTek processor, the one thing I find annoying is that the MediaTek Processors use SPFLASH Tool.
But hey it's your choice like, just make sure the phone that you choose is able to port your custom ROM easily and won't brick the device.
Thank You
KIBS2173
!!!!!!!!!!!! I AM NOT RESPONSIBLE IF YOUR DEVICE GOT BRICKED OR DAMAGED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
KIBS2173 said:
Hi there,
The best phone that I recommend is the Moto phones as they are easier to port custom versions of android. However, since the Moto C Plus has a MediaTek Processor, I suggest you look for other versions of the Moto Series phones that has a Snapdragon Processors. For example like the Moto E 2nd Gen LTE version, though it has a 1gb ram, I've seen many developers developing their own custom ROM.
I played around with MediaTek Processors the one thing I really don't love about them is that they are not robust like other processors. I had a Lenovo S820 with a MediaTek processor, the one thing I find annoying is that the MediaTek Processors use SPFLASH Tool.
But hey it's your choice like, just make sure the phone that you choose is able to port your custom ROM easily and won't brick the device.
Thank You
KIBS2173
!!!!!!!!!!!! I AM NOT RESPONSIBLE IF YOUR DEVICE GOT BRICKED OR DAMAGED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
thanks for your share :good:

Categories

Resources