Related
Hello everybody!
This thread will be dedicated to Android N developement. Since now the ROMs are not ported (we have a device tree to compile from source) we can get any Android N ROM working but with the same bugs.
From now on i will be working on fixing the bugs of the device tree/vendor tree and any help with it would be apreciated.
I will share my device tree so that people can help with it:
Device tree: https://github.com/end222/lineage_device_omega
Vendor tree:https://github.com/end222/lineage_vendor_omega
Want to help?
In the device tree in github I have opened some issues where I try to put as much relevant information as I can about the state of each bug and the errors I am getting. Please give it a look to see if someone can help
Bugs:
Working:
It boots up
Speaker sometimes
Network
Wifi
Bluetooth
FM Radio
Chargin while being off
Flashlight
Rear camera without focus
Mobile data
Sound
Not working:
Calls
Camera focus and front camera
Headphones
IR
Fingerprint sensor
It shows corrupted SD at boot but SD works good
Download links:
LineageOS: https://www.androidfilehost.com/?fid=817550096634793903
Old ones (To be updated):
AICP: https://www.androidfilehost.com/?fid=745425885120743786
Resurrection Remix: https://www.androidfilehost.com/?fid=817550096634781602
Dirty Unicorns: https://www.androidfilehost.com/?fid=817550096634782672
If you want to give a try to another AOSP like ROM just tell me and I can make a build
If you try the ROM and find any bug please tell me and I will add it to the bugs section in order to work on it and also to give other a clearer information about the ROM.
Do you like my work?
Offer me a beer here:
https://www.paypal.me/OrdunaLagarma
You forgot to add fingerprint sensor.
kristi6.9 said:
You forgot to add fingerprint sensor.
Click to expand...
Click to collapse
That's right
I recommend you to atach the sources below the rom and use devdb not just a regular thread
kristi6.9 said:
I recommend you to atach the sources below the rom and use devdb not just a regular thread
Click to expand...
Click to collapse
In the end I didn't use the device tree I had done. CM sources were giving me warnings about framework, something related to non-existent images for the resolution of the Redmi Pro (CM had already closed when I downloaded them).
Then I took the ROM compiled by andrianom for the RN4 and resized the system dat by hand. Then I modifyed the kernel to get it working on the RM Pro.
So in the end this is a port from the RN4, it is not compiled from source. However I will try to compile Lineage from source as it is almost the same and the device tree I had made should work with some modifications
OK
end222 said:
In the end I didn't use the device tree I had done. CM sources were giving me warnings about framework, something related to non-existent images for the resolution of the Redmi Pro (CM had already closed when I downloaded them).
Then I took the ROM compiled by andrianom for the RN4 and resized the system dat by hand. Then I modifyed the kernel to get it working on the RM Pro.
So in the end this is a port from the RN4, it is not compiled from source. However I will try to compile Lineage from source as it is almost the same and the device tree I had made should work with some modifications
Click to expand...
Click to collapse
If someone could fix fingerprint sensor and headphones, I'm sold
misterright1 said:
If someone could fix fingerprint sensor and headphones, I'm sold
Click to expand...
Click to collapse
I know there are many bugs but at least headphones are working
end222 said:
I know there are many bugs but at least headphones are working
Click to expand...
Click to collapse
HHahahah thats an advantage according to other roms.?????
when can you make this rom stable bro?not eta just asking
pou_gh2 said:
when can you make this rom stable bro?not eta just asking
Click to expand...
Click to collapse
I won't answer that question [emoji14]
I am still really new in the world of developing ROMs as Redmi Pro is the first device that I have used for developing. Then if I knew how to solve all the bugs maybe I could tell you more or less how long it could take.
However, the only thing I know is that I have to modify the vendor tree by mixing it with the vendor tree of other devices. So I cannot tell how long it can take and if I will be able to do it
pou_gh2 said:
when can you make this rom stable bro?not eta just asking
Click to expand...
Click to collapse
don't be a prick dude
Recommended resources
Hi end222 , I just got this phone. Love the specs / screen / performance. The only thing i hate is the OS. I had been using Nougat on a flashed Samsung S4. Just cant bear the older version of Android now, especially the notifications.
I am not new to the world of development but haven't developed ROMs before. Are there any recommended resources you have where I can learn the basics and add on to the work you have done so far. I would love to to be able to create version which can be used daily.
turbochild said:
Hi end222 , I just got this phone. Love the specs / screen / performance. The only thing i hate is the OS. I had been using Nougat on a flashed Samsung S4. Just cant bear the older version of Android now, especially the notifications.
I am not new to the world of development but haven't developed ROMs before. Are there any recommended resources you have where I can learn the basics and add on to the work you have done so far. I would love to to be able to create version which can be used daily.
Click to expand...
Click to collapse
I would really love to see more people working for this phone.
What I recommend you is to read some of the MTK porting guides that can be found on the internet, for example, on xda.
The most important thing you have to learn from those guides is how to port the boot.img.
Do not try to port the whooe ROM using those methods because I tried and they result in most of cases in bootloop. So to port to Redmi Pro you have to:
- From RN4 just by porting the boot.img (and resizing the system image in Nougat) is enough to get it booting.
- From Apollo Lite you will have to copy also hwcomposer from the stock ROM, located in lib/hw and lib64/hw. Also do not forget to port also the boot.img
If you find any problem or have any doubt do not hesitate to send me a message and I will do my best to help
Enviado desde mi Redmi Pro mediante Tapatalk
Thanks end222 for your work keep it up man
Sent from my Redmi Pro using Tapatalk
Lately, I have been always checking all the threads created expecting for any stable update to flash redmi pro but it seems everyone gave up from porting... Is there anyway to port an existing nougat ROM from other xiaomi model and getting stable ? At least the phone and the headset part... I am tired of MIUI ROM specially the weekly version...
Besides that I would to thank to all the people that had helped with this project without them I probably had sold my redmi pro already >.>
rijrg4 said:
Lately, I have been always checking all the threads created expecting for any stable update to flash redmi pro but it seems everyone gave up from porting... Is there anyway to port an existing nougat ROM from other xiaomi model and getting stable ? At least the phone and the headset part... I am tired of MIUI ROM specially the weekly version...
Besides that I would to thank to all the people that had helped with this project without them I probably had sold my redmi pro already >.>
Click to expand...
Click to collapse
The closest phone to the RM Pro is the Redmi Note 4 and this is the best I have been able to do by porting from that device. The main problem is that the phone isn't working in the RN4 either.
Whenever I have more free time I will keep trying things. It should be possible to get at least a good working non MIUI ROM based on Android 6. However it would be much harder to get Android 7 stable
I want to try this ROM, can i downgrade to 6.0 based miui rom safely after I try this ROM? ini
doripto. said:
I want to try this ROM, can i downgrade to 6.0 based miui rom safely after I try this ROM? ini
Click to expand...
Click to collapse
Yes, you should be able to flash MIUI with TWRP after using this ROM. I would also recommend you to do a backup of MIUI before flashing it and then you can come back to MIUI without losing any apps
I tried this rom last night and its great to experience CM again, btw when im insert my sd card it says that my sd card is corrupted but its not corrupted and working fine when I tried it with my sisters MiMax...
I'm guessing this has been discussed plenty of times but as someone who just picked up one of these, there a lot of old threads to go through.
I was hoping to load a open source custom rom but it seems that will disable VoLTE which I really need. Is this still the case? can a binary zip be flashed over LOS or something to enable it?
or is it only stock based roms?
either way what are my best options to consider for this phone and retain VoLTE in 2019?
I usually run LOS and MicroG and get most apps off FDroid.
Thanks!
https://forum.xda-developers.com/sa...m-hadesrom-pie-stock-v1-0-a5-a7-2017-t3926709
That one seems to have VOLTE in the settings. I don't know if it's working as intended though. I just know that it's there and can be enabled/disabled.
rich333 said:
I'm guessing this has been discussed plenty of times but as someone who just picked up one of these, there a lot of old threads to go through.
I was hoping to load a open source custom rom but it seems that will disable VoLTE which I really need. Is this still the case? can a binary zip be flashed over LOS or something to enable it?
or is it only stock based roms?
either way what are my best options to consider for this phone and retain VoLTE in 2019?
I usually run LOS and MicroG and get most apps off FDroid.
Thanks!
Click to expand...
Click to collapse
I am not sure if there is any lineage os based roms with volte. The lineage 16 dev for this device said it uses proprietary Samsung drivers to enable volte, and therefore would take a lot of work if I am not mistaken.
Is the device hard to work on or it just lacks support? There only seems to be one rom available long time now.
Theres currently lineage and aosp.
But the difference of roms for this device compared to other devices is the problem with GSI.
It requires devs to know how to build gsi roms based off phh modifications. Not to mention kernel changes and including the correct vendor partitions to play nice with the phh roms.
Not many devs in the g7 forum, i personally have nothing to work on since i dont like to build with no actual device to test since my G7 is bootloader locked.
loonycgb2 said:
Theres currently lineage and aosp.
But the difference of roms for this device compared to other devices is the problem with GSI.
It requires devs to know how to build gsi roms based off phh modifications. Not to mention kernel changes and including the correct vendor partitions to play nice with the phh roms.
Not many devs in the g7 forum, i personally have nothing to work on since i dont like to build with no actual device to test since my G7 is bootloader locked.
Click to expand...
Click to collapse
Pretty sad tbh its a nice device.
loonycgb2 said:
Not many devs in the g7 forum, i personally have nothing to work on since i dont like to build with no actual device to test since my G7 is bootloader locked.
Click to expand...
Click to collapse
Are you on TM? Otherwise why not unlock your bootloader?
mr3p said:
Are you on TM? Otherwise why not unlock your bootloader?
Click to expand...
Click to collapse
I have sprint version, but i chose not to use the v30 octopus way since its not official.
I would need fastboot still since edl is not an option.
loonycgb2 said:
I have sprint version, but i chose not to use the v30 octopus way since its not official.
I would need fastboot still since edl is not an option.
Click to expand...
Click to collapse
Sprint version is unlockable without Octoplus although it is not official
mr3p said:
Sprint version is unlockable without Octoplus although it is not official
Click to expand...
Click to collapse
Link me? I never seen a sprint unlockable without octoplus using the v30 dev boot
loonycgb2 said:
Theres currently lineage and aosp.
But the difference of roms for this device compared to other devices is the problem with GSI.
It requires devs to know how to build gsi roms based off phh modifications. Not to mention kernel changes and including the correct vendor partitions to play nice with the phh roms.
Not many devs in the g7 forum, i personally have nothing to work on since i dont like to build with no actual device to test since my G7 is bootloader locked.
Click to expand...
Click to collapse
Almost no work is needed for GSI support. If you want to install any GSIs just check out the "how to install pie" tutorial. The second part covers it.
The idea of GSIs is that it works with treble to work on any treble enabled phone. It's already build and the last thing left to do is to make sure it works. Thankfully only some small modifications were needed to get it to work
LameMonster82 said:
Almost no work is needed for GSI support. If you want to install any GSIs just check out the "how to install pie" tutorial. The second part covers it.
The idea of GSIs is that it works with treble to work on any treble enabled phone. It's already build and the last thing left to do is to make sure it works. Thankfully only some small modifications were needed to get it to work
Click to expand...
Click to collapse
Lol if only it was that easy but with most of these phones they all need work.. phh has been adding support for most phones as he continues to update his work.
LG blobs arent very common, they will need work especially the video lag and possibly non working data or wifi.
Download the RR arm64 gsi and let me know if it fully works.
loonycgb2 said:
Lol if only it was that easy but with most of these phones they all need work.. phh has been adding support for most phones as he continues to update his work.
LG blobs arent very common, they will need work especially the video lag and possibly non working data or wifi.
Download the RR arm64 gsi and let me know if it fully works.
Click to expand...
Click to collapse
I'm 99% sure that the old versions work. I had it myself.
There's no need to rework wifi or data. It just works. LG had made their treble support pretty good. The only things that do not work is the LED and a 0.5 black screen bug after an unlock
There's no video lag.
mr3p said:
Are you on TM? Otherwise why not unlock your bootloader?
Click to expand...
Click to collapse
I have an international model, most likely it is unlocked
So from miui 13 xioami.eu is not working properly with mi11x (aliothin).
As xioami.eu refuses to support mi11x though alioth and aliothin are the same device.
(They said and I am quoting here "This is intentional. The ROM didn't have proper support for aliothin to begin with (when you say "it was working fine" you don't really know what you're talking about because you didn't notice the issues). We removed the remaining aliothin junk. So yeah, it's not meant to work on aliothin.")
Anyone have any miui 13 custom rom suggestion? Not based on china base
I also ended up in a boot loop, got "nv data corrupted msg" in miui recovery. Flashed miui official V13.0.4.0.SKHINXM via usb otg and booted successfully.
What's slot A/B in TWRP?
xiaomi.eu was in slot A and miui official in slot B.
I'm not able to flash xiaomi.eu android 12, not able to install from otg. Wiped slot A but not able to copy zip to data.
Currently using android 13 official.
Yeah, miui eu doesn't support aliothin, which i find so awkward.
But i managed to flash miui eu latest, and everything works fine except for the camera. It's not usable at all. When you take a shot , the app closes and nothing is saved.
No matter what app you use for camera , it's the same thing.
mostafa asal said:
Yeah, miui eu doesn't support aliothin, which i find so awkward.
But i managed to flash miui eu latest, and everything works fine except for the camera. It's not usable at all. When you take a shot , the app closes and nothing is saved.
No matter what app you use for camera , it's the same thing.
Click to expand...
Click to collapse
The display setting will not have the 120hz option.
This happens when xiaomi.eu deliberately removes code related to aliothin. I still don't understand the reason behind it. And it's just frustrating.
And nobody should recommend xioami.eu for mi11x.
Hoping other custom MIUI in future that will support mi11x.
I own Mi 11x and I currently have Xiaomi.eu 12.5.18 stable installed. And the battery life is terrible
I was thinking of updating to miui13 hoping for better performance and I came across this thread.
What do you guys suggest?
This device is great except the proximity sensor and battery life, which is a serious turn down
rockyyy said:
I own Mi 11x and I currently have Xiaomi.eu 12.5.18 stable installed. And the battery life is terrible
I was thinking of updating to miui13 hoping for better performance and I came across this thread.
What do you guys suggest?
This device is great except the proximity sensor and battery life, which is a serious turn down
Click to expand...
Click to collapse
Well for battery life you can root and install naptime + servicely. This helps a lot in aosp rom.
Also lower the clock speed of every cpu cluster by 100-200 (max). For this use franko kernel manager.
You can this on miui also. I never did this in miui.
Basically there are **** ton off background services and wake locks prevent your phone from sleeping and consumes more and more battery. Above mentioned apps let you choose how android behaves when screen is off also limiting unnecessary background processes.
souvy said:
Well for battery life you can root and install naptime + servicely. This helps a lot in aosp rom.
Also lower the clock speed of every cpu cluster by 100-200 (max). For this use franko kernel manager.
You can this on miui also. I never did this in miui.
Basically there are **** ton off background services and wake locks prevent your phone from sleeping and consumes more and more battery. Above mentioned apps let you choose how android behaves when screen is off also limiting unnecessary background processes.
Click to expand...
Click to collapse
Any options available without root. I cannot afford to block my banking apps
rockyyy said:
Any options available without root. I cannot afford to block my banking apps
Click to expand...
Click to collapse
Well most banking apps working with magisk + shamiko + safteynet fix.
Here's a tutorial. What banking apps do you use? Most upi apps will work.
Naptime works without root using some adb commands. But I don't know how usefull it will be. Because it doesn't freeze the background services when not in use.
If you don't want to root and want a good battery backup. Stock is the best option. Just use some debloating tools to uninstall unnecessary mi services.
Other wise you can try aosp + kernel. I don't if that will pass safteynet.
mostafa asal said:
Yeah, miui eu doesn't support aliothin, which i find so awkward.
But i managed to flash miui eu latest, and everything works fine except for the camera. It's not usable at all. When you take a shot , the app closes and nothing is saved.
No matter what app you use for camera , it's the same thing.
Click to expand...
Click to collapse
I am using MIUI EU weekly ROM from the past 10 months. But for me also from last march month onwards, unable to flash latest ROM, as it shows NV data corrupted. Any help or workaround to fix or bypass this problem? How you flashed the latest?
myjamalmd said:
I am using MIUI EU weekly ROM from the past 10 months. But for me also from last march month onwards, unable to flash latest ROM, as it shows NV data corrupted. Any help or workaround to fix or bypass this problem? How you flashed the latest?
Click to expand...
Click to collapse
I didn't. That's the post about. I was able to falsh the stable rom but not weekly.
You can try. Miui sr. It's working perfectly. Available in telegram.
souvy said:
So from miui 13 xioami.eu is not working properly with mi11x (aliothin).
As xioami.eu refuses to support mi11x though alioth and aliothin are the same device.
(They said and I am quoting here "This is intentional. The ROM didn't have proper support for aliothin to begin with (when you say "it was working fine" you don't really know what you're talking about because you didn't notice the issues). We removed the remaining aliothin junk. So yeah, it's not meant to work on aliothin.")
Anyone have any miui 13 custom rom suggestion? Not based on china base
Click to expand...
Click to collapse
Please support miui.eu rom for mi 11x
souvy said:
So from miui 13 xioami.eu is not working properly with mi11x (aliothin).
As xioami.eu refuses to support mi11x though alioth and aliothin are the same device.
(They said and I am quoting here "This is intentional. The ROM didn't have proper support for aliothin to begin with (when you say "it was working fine" you don't really know what you're talking about because you didn't notice the issues). We removed the remaining aliothin junk. So yeah, it's not meant to work on aliothin.")
Anyone have any miui 13 custom rom suggestion? Not based on china base
Click to expand...
Click to collapse
Any other rom like miui.eu for mi 11x suggest me please
Rajgupta1245 said:
Any other rom like miui.eu for mi 11x suggest me please
Click to expand...
Click to collapse
Miui sr. Using it right now.
It's available in telegram group.
souvy said:
Miui sr. Using it right now.
It's available in telegram group.
Click to expand...
Click to collapse
But it's is beta rom
now that mi 11x is not supported by xiaomi.eu since miui 13, has anyone tried miui china rom? might not be as good as eu, but surely better than global. what about google app? and can it be debloated? anyways my battery backup was very poor on xiaomi.eu 12.5.18 stable and i had to make a switch.i am planning to switch to miui china V13.0.6.0.SKHCNXM. but i wanna make sure it doesnt have any issues before i do it.
souvy said:
Miui sr. Using it right now.
It's available in telegram group.
Click to expand...
Click to collapse
Is it encrypted by default and if it is can you please post the telegram link here tried search but couldn't find
afrin101 said:
Is it encrypted by default and if it is can you please post the telegram link here tried search but couldn't find
Click to expand...
Click to collapse
It's not encrypted by default.
Didn't shared the direct link. Telegram link sharing is banned I think in XDA
Fastest Online Notepad with Privacy and Publishing
Take notes online. 'Free and no login' or 'privacy and productivity': super simple, with publishing and markdown, share to all devices.
shrib.com
souvy said:
It's not encrypted by default.
Didn't shared the direct link. Telegram link sharing is banned I think in XDA
Fastest Online Notepad with Privacy and Publishing
Take notes online. 'Free and no login' or 'privacy and productivity': super simple, with publishing and markdown, share to all devices.
shrib.com
Click to expand...
Click to collapse
Thanks a lot for sharing the link.
I'll check it out and see how to get it encrypted
How is the current state of GSI in 12X?
Is it usable as daily driver?
ChessPiece said:
How is the current state of GSI in 12X?
Is it usable as daily driver?
Click to expand...
Click to collapse
Gsi roms are universal, you can install the same rom on a Xiaomi, Samsung, Lg, etc..
I answered you about it here:
https://forum.xda-developers.com/t/gsi-compatibilty.4550885/post-88115511
ChessPiece said:
How is the current state of GSI in 12X?
Is it usable as daily driver?
Click to expand...
Click to collapse
known bugs: auto brightness, fingerprint, double tap2wake
NOSS8 said:
Gsi roms are universal, you can install the same rom on a Xiaomi, Samsung, Lg, etc..
I answered you about it here:
https://forum.xda-developers.com/t/gsi-compatibilty.4550885/post-88115511
Click to expand...
Click to collapse
I know what GSI is. I want to know what is currently doesn't work in this particular device, that's why I asked on two different thread because they are two different devices.
nofx161 said:
known bugs: auto brightness, fingerprint, double tap2wake
Click to expand...
Click to collapse
I see. I saw the D2TW issue is stale on PHH's repo.
Thanks for the info!
ChessPiece said:
I know what GSI is. I want to know what is currently doesn't work in this particular device, that's why I asked on two different thread because they are two different devices.
Click to expand...
Click to collapse
Your question is too general, specify for example, Pixel or LOS, A12 or A13, because some have no bugs.
ChessPiece said:
How is the current state of GSI in 12X?
Is it usable as daily driver?
Click to expand...
Click to collapse
Hi, I tested a lot of gsi's, since there were no custom roms until August 21... They work ok. Battery is better than stock and most of them (crdroid, los, pe, arrow) are more snappy. As written above, the bugs are dt2w and fingerprint sensor, but the most annoying bug is a soundbug, that appears, when using teams or whattsapp. The sound then has some kind of mickeymouse filter. It's high and distorted... And itbwas told many times, that it's solved, but it never was. No matter which base I used. Now I use PA and it's the first time O like this phone...
NOSS8 said:
because some have no bugs
Click to expand...
Click to collapse
Which one for 12x have no bugs? Wanna try it.
alex_pacific said:
Which one for 12x have no bugs? Wanna try it.
Click to expand...
Click to collapse
I do not install and will never install GSI roms (too risky).
Here some GSI roms. (prefer A12).
Generic System Image (GSI) list
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Voodoojonny said:
Hi, I tested a lot of gsi's, since there were no custom roms until August 21... They work ok. Battery is better than stock and most of them (crdroid, los, pe, arrow) are more snappy. As written above, the bugs are dt2w and fingerprint sensor, but the most annoying bug is a soundbug, that appears, when using teams or whattsapp. The sound then has some kind of mickeymouse filter. It's high and distorted... And itbwas told many times, that it's solved, but it never was. No matter which base I used. Now I use PA and it's the first time O like this phone...
Click to expand...
Click to collapse
We might be able to fix the sound distorsion by looking through PRs and Issues on phhusson's GSI repo. My last device has this bug too but managed to fix it by modifying some values in build.prop, then the changes ware merged to master.
ChessPiece said:
We might be able to fix the sound distorsion by looking through PRs and Issues on phhusson's GSI repo. My last device has this bug too but managed to fix it by modifying some values in build.prop, then the changes ware merged to master.
Click to expand...
Click to collapse
Ah that's interesting. But I guess, PA will be stable very soon and then I think, that many roms will appear with that sources.
Hello 2 everyone. Does someone use gsi of PE 13+ as daily driver? I'm asking, because wondering if it could work as anoying miui....