Project Treble Support to mido! - Xiaomi Redmi 4 Prime Guides, News, & Discussion

Developer Abhishek987 brought full project treble support to Redmi Note 4 (mido), by converting cust partition to vendor partition, and moving HALs from system to there.
Being in similar rom resolution, other mid range devices may support project treble in future too. I'd like to tag recognized developers @brigudav, @karevn, @Razziell, @psykkuno, @unterwelt to look into it.
Original xda feature thread is here- https://www.xda-developers.com/xiaomi-redmi-note-4-project-treble/

It's available for Mi 5s now.
https://www.xda-developers.com/xiaomi-mi-5s-project-treble-compatibility-unofficially/

I think that developers are not interested Thanks anyway for sharing!

Mangel79 said:
I think that developers are not interested Thanks anyway for sharing!
Click to expand...
Click to collapse
Yes, they're not much interested. Razziell said in a way that it doesn't bring much for markw.

Treble is here: https://4pda.ru/forum/index.php?showtopic=794653&st=12920#entry72652457
It's working perfectly for me

Exentio said:
Treble has arrived: https://4pda.ru/forum/index.php?showtopic=794653&st=12920#entry72652457
Is working perfectly for me
Click to expand...
Click to collapse
Yep, followed on 4pda and telegram.

Exentio said:
Treble has arrived: https://4pda.ru/forum/index.php?showtopic=794653&st=12920#entry72652457
Is working perfectly for me
Click to expand...
Click to collapse
I face ccouple of problems with that rom.
USB connection keep disconnecting when plugged to the PC/Laptop. (Kernel treat it as AC Charger, so it draws more power from PC/Laptop)
Even though headset attached, sounds will play from speakers.
Official Magisk build not works with that rom. (This work though Link)

Dn.Thanujaya91 said:
USB connection keep disconnecting when plugged to the PC/Laptop. (Kernel treat it as AC Charger, so it draws more power from PC/Laptop)
Even though headset attached, sounds will play from speakers.
Click to expand...
Click to collapse
I don't have any of these issues, so sadly I can't help you. The only bug I have is that sometimes it reboots randomly, but it kinda happened with other ROMs too
Dn.Thanujaya91 said:
Official Magisk build not works with that rom.
Click to expand...
Click to collapse
It's stated in the thread, you should install the modded TWRP with Treble support and install the modded Magisk version from the Tools section. The download gives 404 on 4pda, I got it from here: https://androidfilehost.com/?fid=890129502657599344

Exentio said:
I don't have any of these issues, so sadly I can't help you. The only bug I have is that sometimes it reboots randomly, but it kinda happened with other ROMs too
It's stated in the thread, you should install the modded TWRP with Treble support and install the modded Magisk version from the Tools section. The download gives 404 on 4pda, I got it from here: https://androidfilehost.com/?fid=890129502657599344
Click to expand...
Click to collapse
I Already done that.
Rooting was ok.
but above problems force me to revert back for Nougat.
Fingers crossed they will solve it.

Related

[Review] [ROM] Resurrection Remix For Redmi 4 Prime

After Unlocking The Device Bootloader and Installing TWRP Recovery, Then i search for a Custom ROM and then i found this Thread, and I download the Resurrection Remix ROM, and For me its working very fine and haven't notice any Bug for one week. Following are the Video Review.
Live battery?
SAFI_AFRIDI said:
After Unlocking The Device Bootloader and Installing TWRP Recovery, Then i search for a Custom ROM and then i found this Thread, and I download the Resurrection Remix ROM, and For me its working very fine and haven't notice any Bug for one week. Following are the Video Review.
Click to expand...
Click to collapse
It's a 21/01/2017 version discontinued
I'm still using this, and will continue to do so until Nougat roms come out. Security is way out of date now, of course, but I just love the features of RR. Will not change to Lineage or Mokee.
kazekiri said:
I'm still using this, and will continue to do so until Nougat roms come out. Security is way out of date now, of course, but I just love the features of RR. Will not change to Lineage or Mokee.
Click to expand...
Click to collapse
I love RR too but i can't understand if it is fully functional (dt2w, lcd problems, camera upside down, no agps, wakelock with localization on... are being resolved in these days and some of those problems can't be solved because of proprietary issues) so how is possible that it works totally?
At this point i ask myself why the developers didn't use this source to build then?
angelgf90 said:
Live battery?
Click to expand...
Click to collapse
Battery is the same as in Miui V8 Global Stable and you can Extend it with Greenify and Disabled Location for apps.
cimdrap said:
I love RR too but i can't understand if it is fully functional (dt2w, lcd problems, camera upside down, no agps, wakelock with localization on... are being resolved in these days and some of those problems can't be solved because of proprietary issues) so how is possible that it works totally?
At this point i ask myself why the developers didn't use this source to build then?
Click to expand...
Click to collapse
They Focus On Lineage and this is just one build. so for me its working fine.
SAFI_AFRIDI said:
They Focus On Lineage and this is just one build. so for me its working fine.
Click to expand...
Click to collapse
RR is based on Lineage sources... I'm trying to learn and understand how is possible that we have a lot of proprietary stuff issues and there are not in an older rom
cimdrap said:
I love RR too but i can't understand if it is fully functional (dt2w, lcd problems, camera upside down, no agps, wakelock with localization on... are being resolved in these days and some of those problems can't be solved because of proprietary issues) so how is possible that it works totally?
At this point i ask myself why the developers didn't use this source to build then?
Click to expand...
Click to collapse
I haven't had any issues at all with mine (though I haven't tested dt2w since I don't use it). Works pretty much flawlessly after doing a couple fixes:
1. flash the "lights" zip to fix the LED behavior
2. Disable NetworkLocationService
Then this rom works damn near perfectly. I've had zero issues using it as a daily driver for 3 months.
kazekiri said:
I haven't had any issues at all with mine (though I haven't tested dt2w since I don't use it). Works pretty much flawlessly after doing a couple fixes:
1. flash the "lights" zip to fix the LED behavior
2. Disable NetworkLocationService
Then this rom works damn near perfectly. I've had zero issues using it as a daily driver for 3 months.
Click to expand...
Click to collapse
How about a fast charging ? Does it work or not ?
There may be a patch or custom kernel to fix this issue ? Please tell me.
Thanks.
cartosary said:
How about a fast charging ? Does it work or not ?
Click to expand...
Click to collapse
To be honest, I don't know what speed I am charging at, but it is fast enough for me.
cimdrap said:
It's a 21/01/2017 version discontinued
Click to expand...
Click to collapse
Here you can find a build from 10th of February ...
This might also be discontinued, so I will wait till the Resurrection people can take an official LineagOS version as base ...
Skeeve245 said:
Here you can find a build from 10th of February ...
Click to expand...
Click to collapse
It's from a different dev and I have heard it has a lot more bugs. Don't flash it.
SAFI_AFRIDI said:
After Unlocking The Device Bootloader and Installing TWRP Recovery, Then i search for a Custom ROM and then i found this Thread, and I download the Resurrection Remix ROM, and For me its working very fine and haven't notice any Bug for one week. Following are the Video Review.
Click to expand...
Click to collapse
Do you know why it's taking hours to boot up? Do I have to install any other file?
realz88 said:
Do you know why it's taking hours to boot up? Do I have to install any other file?
Click to expand...
Click to collapse
not at all but it must be some problems at your side. try to wipe cache and Dalvik cache after Installation.
WiFi peap-sim
The wifi peap-sim is not working. Anyone have the same experience?

LineageOS 15.1 [H830][OREO 8.1][SEMI-STABLE][UNOFFICIAL]

LineageOS 15.1 for the H830 (LG G5)
Code:
*** Disclamer
I am not responsible for any damage that happens to your phone
What's this?
-- Its a slightly unstable build of LineageOS without any mods for the T-Mobile H830. To get charging to work, you must enable adb debugging in the developer menu of the settings app.
Click to expand...
Click to collapse
Installation instructions
-- Download ROM from link and do a clean flash in TWRP
* -- (optional) install GAPPS
Click to expand...
Click to collapse
Download
-- DOWNLOAD
https://mega.nz/#!kvYkibLA!TCrvx-teeoM1lJ4LuKkjIwepbOMYDCfd3lHy3m0q5xA
Click to expand...
Click to collapse
Credits
-- LineageOS Team and the many contributers to the ROM
-- @Rashed97 for his contribution for the G5's progress
Click to expand...
Click to collapse
Source
https://github.com/LineageOS
Click to expand...
Click to collapse
XDA:DevDB Information
LineageOS 15.1 for the LG G5, ROM for the LG G5
Contributors
AutinDroid, Lineageos Team and everybody who contributed to its source
ROM OS Version: 8.x Oreo
Version Information
Status: Testing
Created 2017-12-26
Last Updated 2018-05-03
FAQ
What's broken?
-- Wifi, Quickcharge, Camera, NFC, Bluetooth, and probably a lot of other things I haven't tested.
What's not broken?
-- The built in voice recorder app is broken, but microphone works. Audio is all good.
How stable is the ROM?
-- Very unstable, crashes time to time, is pretty slow, gets pretty warm; in other words, its pretty bad.
What's special about this ROM?
-- It's just Oreo, vanilla lineageOS. Only thing I added was the always on display from the Pixel 2.
Why is X not working?
-- Because its broken.
Plz fix X
-- I'll try, but probably won't be able to
Click to expand...
Click to collapse
What's comming?
-- I'll be doing another build, hopefully will fix some issues (not guaranteed)
Also, if anybody with more knowledge about ROM development could help, that would be great.
the link is broken!!!!!
Phong phamj said:
the link is broken!!!!!
Click to expand...
Click to collapse
Fixed
probably it will take a few months to fix all the bug but eh, we waited this far anyway
It is a nice christmas present. Thx for doing it =)
any one tried this rom???
some screen shots??
rock-2 said:
any one tried this rom???
some screen shots??
Click to expand...
Click to collapse
i tried it. it look great, oreo is really beautiful but like the man said, rom is still buggy so wait for the next build to fix
Great work man, keep it up! Is there any chance of a H850 version of this build in the future?
Deltachrome said:
Great work man, keep it up! Is there any chance of a H850 version of this build in the future?
Click to expand...
Click to collapse
My computer is broken rn, but in the near future I can make a h850 build
you seem to be the only developer who care to bring us oreo. you should be praised as god
AutinDroid said:
Fixed
Click to expand...
Click to collapse
It looks like the link is broken again.
black metallic said:
you seem to be the only developer who care to bring us oreo. you should be praised as god
Click to expand...
Click to collapse
Holy, thx but no, I am not a proper developer to build 8.0, I can compile Android and fix errors, but I lack the fundamental skills in order to debug and fix problems. I am trying to learn how to fix broken functions, but it's going to be a long time till I will be able to be sufficient in Android development. I believe that for now, other devs such as Rashed should continue to support the devices, and I appreciate their hard work to bring Oreo to Android. As a matter of fact,all credit should go to these devs, not me. Also, I have one build that is half compiled, may fix wifi, but idk. Also link has been fixed (must have not fixed it properly)
Any chance to port this to RS988?
One day... Shortly after i am finished learning a new language i will be teaching myself rom building and will help... Provided i am still alive.....
If someone wants to check it out on h850...
https://drive.google.com/folderview?id=0B-9XEdE1L6Q1ZEVwdkhlNGthRDA
gismo2004 said:
If someone wants to check it out on h850...
https://drive.google.com/folderview?id=0B-9XEdE1L6Q1ZEVwdkhlNGthRDA
Click to expand...
Click to collapse
Can you say something about the Rom on H850 ?
PrinceLc said:
Can you say something about the Rom on H850 ?
Click to expand...
Click to collapse
Well, it's booting
I didn't tested a lot! I know that wlan, phone calls and Livedisplay is working.
Snap is crashing, but have not tested other cams...
I just have installed it to check out 8.1 and see what's different. Unfortunately I need my h850 for work, so I switched back to stable.
Will test more this week.
Cheers
gismo2004 said:
Well, it's booting
I didn't tested a lot! I know that wlan, phone calls and Livedisplay is working.
Snap is crashing, but have not tested other cams...
I just have installed it to check out 8.1 and see what's different. Unfortunately I need my h850 for work, so I switched back to stable.
Will test more this week.
Cheers
Click to expand...
Click to collapse
Okay thanks for the info and good luck for maybe a stable version
gismo2004 said:
If someone wants to check it out on h850...
https://drive.google.com/folderview?id=0B-9XEdE1L6Q1ZEVwdkhlNGthRDA
Click to expand...
Click to collapse
Tried installing it on my H850 but ended with : updater process ended with error 7 ; error instaling etc..

Best treble rom for xiaomi mix2s

Hello,
I notice that there isnt a lot of roms for this phone and maybe this is because this mobile acept treble roms.
Maybe it will be interesting to list the best treble roms in a post.
anyone are playing with the treble roms??
I think this isn't right place to ask that, but for me best is Resurrection Remix with gestures like MIUI, then AOSP, Pixel Experience and Dot OS, better if you ask in general thread.
I think pixel ROM is the best one, but MOKEE has published tonight.
I will try.
Is there any major but on RR guys?
There is an experimental mokee build for polaris here https://download.mokeedev.com
Anyone tried?
malimukk said:
There is an experimental mokee build for polaris here https://download.mokeedev.com
Anyone tried?
Click to expand...
Click to collapse
Tried it but all the apps are crashing at boot up.
thatguy222 said:
Tried it but all the apps are crashing at boot up.
Click to expand...
Click to collapse
There is now a nightly build as well, could you try that one? https://download.mokeedev.com/?device=polaris
sorry for post this in a incorrect forum!!
thanks for the movement!
I m reading some post of treble but i cant see what are the principal bugs for our mix2s.
The RR rom seams very interesting. Someone have this rom? any bug?
And someone can tell us the procedure to install a treble rom in our mix2s?
thanks!
I'm using RR Treble ROM and everything works well with the exception of Bluetooth audio. I have to used a wired headset if I want to listen to media through the phone.
Has anyone found a fix for this?
malimukk said:
There is now a nightly build as well, could you try that one? https://download.mokeedev.com/?device=polaris
Click to expand...
Click to collapse
mirror ?
ROM is down
morpheus620 said:
mirror ?
ROM is down
Click to expand...
Click to collapse
It is not. If you scroll down you'll see a link for the nightly build. Also you need to wait 60 sec for the download link to appear.
I've flashed the rom, works nicely for now.
not working for me. booting in twrp.
how do I have to flash it?
edit. its boot. format data and working.
Thanks so much! Just flashed the nightly build and everythings seems to be good. even bluetooth is working well!
gapps not working with mokee.
morpheus620 said:
gapps not working with mokee.
Click to expand...
Click to collapse
I have flashed open gapps mini, arm64 architecture for android 8.1. that should work
Mokee has problems with encryption from the system.
Sometimes it works and sometimes all apps stop when they start.
I had to run format data in twrp several times.
To the users of treble ROMs on Mi Mix 2S, are there any noticeable hardware features that are not enabled in the GSI ROMs? I know most of the treble ROMs are GSI and it does not support all the hardware features that may be specific to Mi Mix 2S.
The only one I know of so far is the camera is not fully utlised, as GCam can only use of the cameras.
morpheus620 said:
Mokee has problems with encryption from the system.
Sometimes it works and sometimes all apps stop when they start.
I had to run format data in twrp several times.
Click to expand...
Click to collapse
For me there are no such problems. Phone was encrypted from the beginning, from the first time I did the phone setup. But to me it does not really matter, as selinux is permissive, which is far worse IMO
malimukk said:
For me there are no such problems. Phone was encrypted from the beginning, from the first time I did the phone setup. But to me it does not really matter, as selinux is permissive, which is far worse IMO
Click to expand...
Click to collapse
Since mokee isn't a treble rom, maybe you should make a separate discussion thread about it?
ArctiX said:
Since mokee isn't a treble rom, maybe you should make a separate discussion thread about it?
Click to expand...
Click to collapse
I agree Mokee should have an actual thread, but since it doesn't I wan't to contribute this to the community.
Mokee Nightlies do work, but you'll get a Google crash (in Chinese) right off the bat stopping you from continuing through setup. Go back to TWRP and choose Format Data under Wipe. That will fix this issue.
Next you won't be able to turn on WiFi. Turn off Bluetooth (not sure if this is required), reboot and WiFi will be usuable. You can now turn Bluetooth back on.
The only issue I can see at the moment is SELinux is NOT enforcing. I tried to flip it with the Magisk module but that prevented it from fully booting. There maybe many more issues but I've only had it going for 10 minutes.

OxygenOS oreo for whyred

I found this rom on a Russian forum I gonna try it and let you know
venezolano69 said:
I found this rom on a Russian forum I gonna try it and let you know
Click to expand...
Click to collapse
Download Link please
drmuruga said:
Download Link please
Click to expand...
Click to collapse
https://androidfilehost.com/?fid=11410932744536993285
How is the ROM? Bugs? SOT?
Forum link please
I think Oxygen OS will Looking Beautiful if Work
venezolano69 said:
https://androidfilehost.com/?fid=11410932744536993285
Click to expand...
Click to collapse
Did you flashed gapp then which version 8.0 or 8.1
And did you flashed DT2w zip.
No need of gapps
Magisk works well
Stock camera not working flashed Stock_Camera_Port_Redmi_Note5-v4.4.zip magisk module to work.
DT2W.zip from telegram group
Everything fine now.
drmuruga said:
No need of gapps
Magisk works well
Stock camera not working flashed Stock_Camera_Port_Redmi_Note5-v4.4.zip magisk module to work.
DT2W.zip from telegram group
Everything fine now.
Click to expand...
Click to collapse
Camera works perfectly after first use, only close camera for the first time and then use it again and it will work without any issue...
I've installed this ROM and got to use it for a couple of minutes. The ROM appears to be smooth but there are a lot of bugs and needs a lot of work before it can used as a DD.
Looking forward to use this ROM. Good work by developer though.
Manoharyadav said:
I've installed this ROM and got to use it for a couple of minutes. The ROM appears to be smooth but there are a lot of bugs and needs a lot of work before it can used as a DD.
Looking forward to use this ROM. Good work by developer though.
Click to expand...
Click to collapse
Just tell me about major bugs which can affect day to day usage.
Anirudh44 said:
Just tell me about major bugs which can affect day to day usage.
Click to expand...
Click to collapse
for me the volte calling wasn't working
drmuruga said:
No need of gapps
Magisk works well
Stock camera not working flashed Stock_Camera_Port_Redmi_Note5-v4.4.zip magisk module to work.
DT2W.zip from telegram group
Everything fine now.
Click to expand...
Click to collapse
Please link for DT2W.zip
For me is impossible to use the rom doesn't let me set every app
The screen on the apps configuration turns black and I don't put username and password
But it's a cool Rom I hope that the dev can fix everything
venezolano69 said:
For me is impossible to use the rom doesn't let me set every app
The screen on the apps configuration turns black and I don't put username and password
But it's a cool Rom I hope that the dev can fix everything
Click to expand...
Click to collapse
Forum link please
Anirudh44 said:
Just tell me about major bugs which can affect day to day usage.
Click to expand...
Click to collapse
For starters during the initial startup, the keyboard is not working.. if you try to enter wifi password, the screen goes blank.. you can just skip the setup and go to home.. after getting to home, i changed the keyboard to gboard and it worked fine..
for me volte calling was working.. however, i couldn't hear anything through the earpiece. If i turn on the speaker, i was able to hear the other person.
Camera app froze for the first time, had close the app and open it and it worked, but, the portrait mode wasn't working.
Back button was working intermittently.
I couldn't use it for more than 20 minutes.
Overall, i felt the rom was smooth, that's it..
New build the dev says that still has a few bugs
I'm gonna try it
https://androidfilehost.com/?fid=11410963190603843868
venezolano69 said:
New build the dev says that still has a few bugs
I'm gonna try it
https://androidfilehost.com/?fid=11410963190603843868
Click to expand...
Click to collapse
Pls give me the forum link..... And also did you try it? What are the bugs after new build?
Anirudh44 said:
Pls give me the forum link..... And also did you try it? What are the bugs after new build?
Click to expand...
Click to collapse
I don't know the forum I found it in androidfilehost
I'm installing it and I like it, camera doesn't work I put a gcam
I didn't find any other bug until now
venezolano69 said:
I don't know the forum I found it in androidfilehost
I'm installing it and I like it, camera doesn't work I put a gcam
I didn't find any other bug until now
Click to expand...
Click to collapse
No bug found means standard stuff like calling via Volte etc. works fine?

Help me get developers to build some custom Roms for Doha!!

Come on, this device is awesome. Even though it supports project treble I haven't found any that were stable enough to make It thru a whole day without bugs glitches etc. Any thoughts on how to get some developers to support this phone?
It is a very good question to put on the agenda ...
I didn't adapt well to GSI (I didn't find one that actually worked on mine, actually)
I'm waiting too, at least one LOS for our G8Plus ...
https://forum.xda-developers.com/showpost.php?p=83039885&postcount=40
According to SnowTalker this GSI should work on our G8+
vietchecz said:
https://forum.xda-developers.com/showpost.php?p=83039885&postcount=40
According to SnowTalker this GSI should work on our G8+
Click to expand...
Click to collapse
Yes at least the g8 plus supports GSI otherwise I would probably just sell this phone ._.
vietchecz said:
https://forum.xda-developers.com/showpost.php?p=83039885&postcount=40
According to SnowTalker this GSI should work on our G8+
Click to expand...
Click to collapse
Bluetooth doesn't work with that GSI.
tripper22 said:
Bluetooth doesn't work with that GSI.
Click to expand...
Click to collapse
Ow that's an issue! Thanks for informing us. Perhaps Bluetooth will work with Havoc OS GSI? And what about fingerprint sensor?
vietchecz said:
Ow that's an issue! Thanks for informing us. Perhaps Bluetooth will work with Havoc OS GSI? And what about fingerprint sensor?
Click to expand...
Click to collapse
Bluetooth does not work with the latest havoc GSI but the fingerprint lock does!
I found this googling around. Perhaps you could try to change these settings in order to get bluetooth working?
Setting==> Developer options ==> Bluethooth audio codec (change to AAC)
Developer Options ==> Bluetooth AVRCP ==> 1.6
vietchecz said:
I found this googling around. Perhaps you could try to change these settings in order to get bluetooth working?
Setting==> Developer options ==> Bluethooth audio codec (change to AAC)
Developer Options ==> Bluetooth AVRCP ==> 1.6
Click to expand...
Click to collapse
@SnowTalker can you try this?
tripper22 said:
@SnowTalker can you try this?
Click to expand...
Click to collapse
No it still does not work with havoc os GSI :/
I am going to bringup this device in the possibility of my skills.
DarkJoker360 said:
I am going to bringup this device in the possibility of my skills.
Click to expand...
Click to collapse
looking forward to that!!
DarkJoker360 said:
I am going to bringup this device in the possibility of my skills.
Click to expand...
Click to collapse
Thank you very much, crossing my fingers the best i can for that!
Any news guys regarding custom roms for G8 plus? As far as i remember the source code fo the kernel was also released not long ago, making it even easier.
https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-QPI30.28-Q3-28-26

Categories

Resources