[ROMs] Nougat ROMs for Redmi Pro

Search This thread

end222

Senior Member
Dec 17, 2016
160
176
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 :D

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
 
Last edited:

end222

Senior Member
Dec 17, 2016
160
176
I recommend you to atach the sources below the rom and use devdb not just a regular thread
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
 

kristi6.9

Senior Member
Dec 8, 2016
135
134
Tirana
OK

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

:)
 

end222

Senior Member
Dec 17, 2016
160
176
when can you make this rom stable bro?not eta just asking
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
 

turbochild

New member
Feb 22, 2014
1
1
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.
:D
 
  • Like
Reactions: waigyi

end222

Senior Member
Dec 17, 2016
160
176
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.
:D
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
 

rijrg4

Member
Apr 3, 2017
8
1
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 >.>
 
  • Like
Reactions: end222

end222

Senior Member
Dec 17, 2016
160
176
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 >.>
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
 

end222

Senior Member
Dec 17, 2016
160
176
I want to try this ROM, can i downgrade to 6.0 based miui rom safely after I try this ROM? ini
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
 

doripto.

Member
Feb 17, 2015
25
4
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...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    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 :D

    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
    6
    Good news,
    Speaker works now but only in certain apps.
    When putting music from the file manager and it works well but it does not work in the music app. For headphones it is exactly the opposite, they work well in the music app and not in the file manager.
    Bluetooth headphones work well in both cases.

    Will upload an update soon as now we also have the proper device name and I will put the device tree to compile it in the first post
    5
    I appreciate the great work budd! I've been waiting for a modified rom for my redmi pro for a while now too and seeing people working on it really makes me feel so good! I am looking forward in trying your rom, and hope we will be able to make one 100% working rom for our device.
    5
    I finally fixed the device tree and we can now compile any Android N ROM from source instead of porting them. However bugs stay the same :p

    EDIT: boot.img stills needs modifications after compilation. Will try to implement that in the device tree when I have time
    4
    I finally fixed the device tree and we can now compile any Android N ROM from source instead of porting them. However bugs stay the same :p

    EDIT: boot.img stills needs modifications after compilation. Will try to implement that in the device tree when I have time

    Done, it is compiling well now :D
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone