[ROM][TREBLE] Project Treble for Xiaomi Redmi 4A & 5A [UNIFIED] - Xiaomi Redmi 4a ROMs, Kernels, Recoveries, & Other

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We're not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this TREBLE
* SUPPORT before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
What is Project Treble:
Project Treble basically partitions your device into two separate partitions, a system and a vendor: system contains your generic system image, while vendor partition has your device specific files required for booting and running your phone. This way we can easily change the system image and be able to run our device on different system images with the same kernel and vendor partition
Read more about Project Treble​
What's a GSI?:
A GSI literally means Generic System Image. It is a general system image meant for no specific device. Treble enabled devices have the capability to run a GSI. You can find a GSI here: Phh-Treble​
Xiaomi Redmi 4A hardware vs Treble implementation:
Our Redmi 4A is an A-only device. This means that regarding the GSI images (GSI = Generic System Image) to be used, you need to get ARM64 and A-Only system images​
How to report bugs:
Logcat, a simple description of the bug, kmsg or dmseg depending on the bug​
What's Packaged in the zip:
A boot image (kernel)
A compressed vendor image (cust partition)​
How to use:
Reboot to recovery (Custom TWRP recovery for Redmi 4A - Direct link)
Format /system, /data and /cache
Install Treble flashable zip package (Project Treble flashable for Redmi 4A - Direct link)
Install the GSI system image you wish to use (How to flash a Generic System Image (GSI) on Project Treble supported devices - Direct link)
Reboot
Important notes:
Current minimal * required * firmware version is MIUI 8.3.29 Global dev, otherwise installation could have issues. Download the latest dev fastboot package directly from Xiaomi and flash it prior to installing LineageOS or, alternatively, download and install one of the latest custom packages containing firmware only (at your own risk).
GApps can only be flashed on clean installs.
Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed and device was encrypted.
Screenshots:
Broken:
WIFI MAC address gets randomly generated (only once, you will keep the same as long as you are on LOS)
Encryption (format data or remove encryption when coming from a non-treble rom)
Sepolicy is still permissive
Nothing else? Otherwise please report it!
Working:
Camera (and flashlight)
WiFi
Bluetooth
Telephony (Calls and Data)
Audio (Record and Playback)
Video Playback
Sensors
GPS
VoLTE (AOSP doesn't have the needed patches to get it working, but most other GSIs have them)
Credits & collaborations:
This work is due to efforts from RedmiDevs founding members that did the full device bring-up. Huge thanks to @xboxfanj for all the help during that bring-up.
Finally, all RedmiDevs & LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
And I would give a special thanks to Baron Bronson for providing his device for developing!​
Device wiki:
Unofficial wiki link
XDA:DevDB Information
Project Treble, ROM for the Xiaomi Redmi 4A & 5A
Contributors:
33bca
ROM OS Version: 8.1 Oreo
ROM Kernel: Linux 3.18.71
ROM Firmware Required: MIUI 8.4.12 dev
Version Information
Status: Beta
Created 2018-05-13
Last Updated 2018-05-24

You like my work? Feel free to donate here.

Changelog:
V1 - 13.05.2018
- Initial Release
V2 - 24.05.2018
- Unified with Redmi 5A from now on!
- Added full RGB LED (It's slow while selecting the colors, but I'll improve the HAL soon)
- Added new poweroff charging animations (Yay, it even shows percentage)
- Fixed calls over bluetooth
- Updated screen off gestures ( Added some new goodies)
- Updated Camera to the latest CAF tag
- Updated Kernel to the latest CAF tag

Reserved #3

Finally a treble support for rolex. Thank you for make it happen.

Reserved.

Dang, you really did it! Thanks a ton for supporting our device. ?

There seems to be no option in TWRP to flash the system image, only for boot and recovery. Do we flash it via fastboot?

Do we need any special version of TWRP for this ?

Rajat14801 said:
Do we need any special version of TWRP for this ?
Click to expand...
Click to collapse
I want to know it too.

MaxisMan said:
There seems to be no option in TWRP to flash the system image, only for boot and recovery. Do we flash it via fastboot?
Click to expand...
Click to collapse
Yes, that's what I did.

Is this a ROM or a file

Update
Unified with Redmi 5A from now on!
Added full RGB LED (It's slow while selecting the colors, but I'll improve the HAL soon)
Added new poweroff charging animations (Yay, it even shows percentage)
Fixed calls over bluetooth
Updated screen off gestures ( Added some new goodies)
Updated Camera to the latest CAF tag
Updated Kernel to the latest CAF tag
You can find the remaining bugs in the OP.
Due to my broken Redmi 4A I can't deliver that many and bigger updates. I should receive the replacement parts in about a month. (I didn't find any faster delivery at a reasonable price..)
Grab the update here!
BTW: You will need a TWRP with custom vendor support like this one.

MaxisMan said:
There seems to be no option in TWRP to flash the system image, only for boot and recovery. Do we flash it via fastboot?
Click to expand...
Click to collapse
Rajat14801 said:
Do we need any special version of TWRP for this ?
Click to expand...
Click to collapse
BTomiii said:
I want to know it too.
Click to expand...
Click to collapse
You will need at least a recovery with vendor partition support, you can check this one out: https://androidfilehost.com/?fid=818222786056029479
rseragon said:
Is this a ROM or a file
Click to expand...
Click to collapse
A flashable ZIP that contains the vendor and boot image.

Does this work on any custom ROM or only los
I am using aex 5.5 will it work on it

Any fix for decryption failure?

BTomiii said:
Any fix for decryption failure?
Click to expand...
Click to collapse
Not yet
Sent from my Redmi 4A using XDA Labs

Does the decryption issue just mean when flashing to treble that the device must be unencrypted or that I also can't encrypt after flashing a GSI? If only the former then it's annoying but not too bad. If the later, I hope it can be fixed soon as I like device security.

cant flash gapps on dotos gsi

How do I go back to the stock MIUI ROM after following the given steps and installing a Generic System Image?
Can all of this be reverted by installing a MIUI ROM via Mi Flash?

Related

[SAGIT][TREBLE][BETA][DISCONTINUED] Project Trouble

Project Trouble (Treble)​
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We're not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this TREBLE
* SUPPORT before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
What is Project Treble:
Project Treble basically partitions your device into two separate partitions, a system and a vendor: system contains your generic system image, while vendor partition has your device specific files required for booting and running your phone. This way we can easily change the system image and be able to run our device on different system images with the same kernel and vendor partition
Read more about Project Treble
What's a GSI?:
A GSI literally means Generic System Image. It is a general system image meant for no specific device. Treble enabled devices have the capability to run a GSI. You can find a GSI here: Phh-Treble
Mi 6 hardware vs Treble implementation:
Mi 6 is an A-only device. This means that regarding the GSI images (GSI = Generic System Image) to be used, you need to get ARM64 and A-Only system images
How to report bugs:
Logcat, a simple description of the bug, kmsg or dmseg depending on the bug
What's Packaged in the zip:
A boot image (kernel)
A vendor image (cust partition)
How to use:
Download the TREBLE zip provided here: AFH
Download a GSI image from HERE (Remember: ARCH64 and A-ONLY version)
Reboot to recovery (twrp-3.2.1-0-sagit-blankaf-3.img REQUIRED)
Clean the device (wipe Dalvik/Cache/System/Data/Vendor partitions)
Flash Treble sagit zip
Flash the GSI system image you wish to use
Reboot
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What's working:
RIL (both SIMs)
Camera (and flashlight)
Camcorder
WiFi
Bluetooth
Telephony (Calls and Data)
Audio (Record and Playback)
Video Playback
Sensors
Vibrator
Fingerprint sensor
GPS
IR
NFC
HW buttons light
DT2W
What's not working:
VoLTE
SELinux is permissive
You tell me!
Contributors:
Thanks @DanWard for fixing camera
thune-xiaobai for his work on the device tree
blankaf (me) for bringing up treble
Source code:
Device tree
Vendor tree
Kernel source
XDA:DevDB Information
Project Trouble, ROM for the Xiaomi Mi 6
Contributors
blankaf
ROM OS Version: 8.x Oreo
Version Information
Status: Alpha
Created 2018-03-15
Last Updated 2018-04-08
Reserved.
keep it up dude ?
So @blankaf would this work with your lineage rom I currently run or is it really for stock rom users? Is there any benefits to treble when using custom roms? Thanks for your work, makes this phone a joy.
Motorheadache84 said:
So @blankaf would this work with your lineage rom I currently run or is it really for stock rom users? Is there any benefits to treble when using custom roms? Thanks for your work, makes this phone a joy.
Click to expand...
Click to collapse
It won't work with my rom as of now, however I plan to release an update for my LOS that is treble-compatible when I find this project stable.
There's not really any benefit when you're using custom roms as of now. But when this becomes "mainstream" there will be a lot of custom roms that might go with generic system images.
It could also make it easier to update our Mi6 to Android P.
Motorheadache84 said:
So @blankaf would this work with your lineage rom I currently run or is it really for stock rom users? Is there any benefits to treble when using custom roms? Thanks for your work, makes this phone a joy.
Click to expand...
Click to collapse
I can only speak for myself but I will wait until I will use a treble ROM. Not because I don't trust in the amazing capabilities of the devs but right now it just lacks features that I am used to have in a custom ROM.
Thank you for your time explaining that, I appreciate it.
Motorheadache84 said:
Thank you for your time explaining that, I appreciate it.
Click to expand...
Click to collapse
I think there will be great Treble ROMs in no time. Right now LOS 15.1 does everything I need without Treble.
Amazing! You're awesome mate, gonna treblize my sagit!!
wow, finally!! thank you for bringing up treble to sagit... hope it get stable soon.
Been waiting for this! Thank you so much blankaf!!
amazing thanks for your work
hahaha
thanks!!!:fingers-crossed:
Updated thread.
hi ,flash Project Treble later, how to update, ota? flash supersu can update Project Treble?
With treble I can simply download any generic treble rom and run it?
Sosneetskey said:
With treble I can simply download any generic treble rom and run it?
Click to expand...
Click to collapse
Yep.
:crying: how to solve it ,I use 2.82 2.79 and old version,also can't solve it
I flashed this new recovery. But now I can't boot to recovery mode. Only fastboot appears when I try to.
Guangd said:
:crying: how to solve it ,I use 2.82 2.79 and old version,also can't solve it
Click to expand...
Click to collapse
Google play phh's superuser

[ROM][10.0.0_r40]Lineage OS 17.1 [UNOFFICIAL][rolex]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Introduction
LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (Q), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
What's working:
Boot
Bluetooth
Camera / Camcorder
Double Tap to Wake
IR Blaster
RIL (LTE/Dual SIM/SMS)
FM Radio
VoLTE
GPS
WiFi
WiFi Hotspot
USB (ADB/MTP/PTP)
Video Playback
Touch
Sensors
SELinux enforcing
What's not working:
You tell me.
Maybe encryption.
Installation instructions
Download the zip(s).
Install a compatible Recovery, i.e. with vendor support.
Perform a NANDroid backup of your current ROM (Optional)
Wipe data if you come from different ROM. Don't needed if you do an upgrade from LOS 17.1.
Wipe system, cache and vendor partitions.
Flash ROM.
Optional: Install the Google Apps addon package.
Optional: Install Magisk for Root.
Downloads
If you don't have Recovery with vendor support: Unofficial TWRP by nick00007
Rom: https://rolex.yurikoles.com/
Official GApps: Open GApps 10.0 arm64
Latest radio firmware: Xiaomi Firmware Updater by yshalsager
Bonus: I prefer aroma GApps (you choose what to install): Unofficial Open GApps 10.0 arm64 aroma
Thanks To
* AOSP
* Lineage OS Team
* Thago for Triton-kernel
* nick00007 for device and vendor trees, recovery.
XDA:DevDB Information
Lineage OS 17.1 ROM, ROM for the Xiaomi Redmi 4a
Contributors
yurikoles, Thago, nick00007
Source Code: https://github.com/xiaomi-rolex
ROM OS Version: Android 10
ROM Kernel: Linux 3.x
ROM Firmware Required: Latest
Based On: LineageOS
Version Information
Status: Stable
Current Stable Version: 17.1
Stable Release Date: 2020-06-27
Created 2020-06-27
Last Updated 2020-07-10
Reserved
Changelog:
2020-07-10:
July security patch, r10.0.0_r40.
2020-07-04-2:
June security patch, r10.0.0_r39.
2020-07-04:
Sync from LOS 17.1.
2020-07-01:
Sync from LOS 17.1.
Uploaded a correct recovery to the same dir on my server. Updated OP post accordingly. Thanks to @michal778 for a good bug report.
Added instructions on formatting /data with F2FS for a maximum performance.
2020-06-28:
Sync device and vendor trees from RevengeOS.
Sync from LOS 17.1.
Disable debug during build, so it should be faster now.
2020-06-27:
Initial release.
Reserved
What's the difference from this?
https://forum.xda-developers.com/redmi-4a/development/rom-lineage-os-17-0-unofficial-t3987561
MaxisMan said:
What's the difference from this?
https://forum.xda-developers.com/redmi-4a/development/rom-lineage-os-17-0-unofficial-t3987561
Click to expand...
Click to collapse
My version is shipped with Triton kernel and I hope to provide more frequent updates.
i m using android10 rom with orangefox recovery can i flash directly n the recommended unofficial open gapps size is big can i install official open gapps
Roshan Gangmei said:
i m using android10 rom with orangefox recovery can i flash directly n the recommended unofficial open gapps size is big can i install official open gapps
Click to expand...
Click to collapse
I had updated my post. Any recovery with vendor support or any Android 10 arm64 should work. It's always recommended doing clean flash, e.g. full wipe when you switch between different ROMs. You may still try to do keep your data partition, but please don't report any bugs until you can reproduce them with clean flash.
Do I have a bluetooth connection problem for sound devices?
Any changelog 28/06 from 27/06? Greeting from Russia )
yurikoles said:
My version is shipped with Triton kernel and I hope to provide more frequent updates.
Click to expand...
Click to collapse
Great. :good:
suzver said:
Any changelog 28/06 from 27/06? Greeting from Russia )
Click to expand...
Click to collapse
Greetings from Ukraine, @suzver.
Thanks for reminder, I had added changelog to second post.
Thanks for this awesome ROM,its smooth n fast.everything works perfectly without a glitch.what I did first was changing orangefox recovery to op unofficial twrp via team win apk,without formatting it shows error in twrp n flashing with magisk it did boot up but to twrp again n flash again without it yes it works.I m okay with less customizations.BTW I m using official open gapps nano.Hats off to you.
What you mean by wipe vendor partition"s"?
I understand that I should wipe system, data, cache, dalvik, vendor?
Well, a huge disappointment can't flash lineage-17.1-20200628-UNOFFICIAL-rolex.zip at all. I'm using miui 9.2.6.0 and twrp that you posted. Can't wipe vendor because it's not showing in wipe list, so I'm wiping rest. It's says flashing was successful, but gapps giving error 30 and tells me my android is 7.1.2! Something is wrong. I'm doing clean flash from miui. It's not installing at all, so OS is broken or twrp posted. You tried that twrp?
EDIT: Yup it's twrp thing, i used another that allowed me to wipe vendor, and gapps now flashing. Sir, next time better check please.
WSTxda said:
Do I have a bluetooth connection problem for sound devices?
Click to expand...
Click to collapse
Is this a question? I don't know what you have on your phone. As for me, I didn't check BT audio yet, but I hope to have some BT headset available soon.
michal778 said:
Well, a huge disappointment can't flash lineage-17.1-20200628-UNOFFICIAL-rolex.zip at all. I'm using miui 9.2.6.0 and twrp that you posted. Can't wipe vendor because it's not showing in wipe list, so I'm wiping rest. It's says flashing was successful, but gapps giving error 30 and tells me my android is 7.1.2! Something is wrong. I'm doing clean flash from miui. It's not installing at all, so OS is broken or twrp posted. You tried that twrp?
EDIT: Yup it's twrp thing, i used another that allowed me to wipe vendor, and gapps now flashing. Sir, next time better check please.
Click to expand...
Click to collapse
Thanks for report, @michal778 and sorry for that. I don't remember where I got recovery that I had on my phone. But I found a recommended recovery on 4PDA, I had uploaded it to the same dir on my server and updated OP.
I had double-checked that I get working LOS 17.1 + GApps with it, by flashing MIUI 10.2.3.0 via fastboot first.
Bluetooth work fine with my Redmi AirDots after clean flash lineage-17.1-20200628-UNOFFICIAL-rolex.zip
yurikoles said:
Thanks for report, @michal778 and sorry for that. I don't remember where I got recovery that I had on my phone. But I found a recommended recovery on 4PDA, I had uploaded it to the same dir on my server and updated OP.
I had double-checked that I get working LOS 17.1 + GApps with it, by flashing MIUI 10.2.3.0 via fastboot first.
Click to expand...
Click to collapse
I flashed directly from crdroid 6.7 got some minor issue in twrp as mentioned in my previous post,instead of flashing fastboot miui 10.2.3 can we use minimal firmware of the same(size about41mb) in future.
Sir congratulations for the great ROM! Any chance of this ROM becoming official?
Roshan Gangmei said:
I flashed directly from crdroid 6.7 got some minor issue in twrp as mentioned in my previous post,instead of flashing fastboot miui 10.2.3 can we use minimal firmware of the same(size about41mb) in future.
Click to expand...
Click to collapse
Yes, sure. You may grab one here. I had updated OP, thanks.

[GSI][ROM][11.0][AOSP+GAPPS][04/08/21]

Code:
Disclaimer:
We are not responsible for anything that may happen to your phone as a result of installing custom roms and/or kernels. you do so at your own risk and take the responsibility upon yourself.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What is this?
An AOSP based ROM, with gapps included and gesture support (pocket, hand wave, pickup).
Based on Android 11.0
Bugs:
You tell me!
Steps:
1. Use latest CosmicDan treble TWRP
2. Re-partition to treble layout if you haven't done so yet
3. Flash vendor.img, system.img and a treble supported kernel (you can use mine or any of the other treble kernels on tissot xda)
4. Wipe data if coming from any other rom(!)
5. Flash Rom (No need for gapps, do not flash them, they are included!)
6. Reboot and wait for setup wizard to come up (may take 2-3 minutes)
7. Reboot
There is now a toggle to add SuperSU on boot in Phh Settings > Misc:
Just enable it and reboot. (Keep in mind it breaks safteynet, if you need to use a banking app, disable it from settings and reboot)
Downloads: Link
@phhusson for his work on GSI (donate to this man, he works on dozens of devices)
@flex1911 for his help bringing 9.0 kernel source for tissot
Oreo team (you all know who you are,@CosmicDan for twrp, @ghpranav for treble vendor source)
Enjoy!
P.S.
I am not going to add any custom features from other roms so please don't comment about that, feel free to flash any other GSI with this vendor/kernel if you want other features.
Source: https://github.com/aosp-tissot
kernel source: https://github.com/aosp-tissot/android_kernel_xiaomi_msm8953-1
Credit to @flex1911 for the original work on the kernel
XDA:DevDB Information
[GSI][ROM][11.0][AOSP+GAPPS][05/11/20], ROM for the Xiaomi Mi A1
Contributors
sooti, phhusson, flex1911, Ranjan
Source Code: https://github.com/aosp-tissot
ROM OS Version: Android 11
ROM Kernel: Linux 4.x
ROM Firmware Required: Treble
Based On: AOSP
Version Information
Status: Stable
Stable Release Date: 2020-11-05
Created 2020-09-21
Last Updated 2020-11-05​
Changelog:
04/08/21:
* Final build of A11 (until 12 )
* August security patch
01/08/21:
* Small fixes
* Refactor over phh repo
20/07/21:
* July security patch
19/06/21:
* June security patch
* Latest phh additions
15/05/21:
* Latest May sec patch
* Latest phh additions
09/04/21:
* Latest April sec patch
* Latest phh additions
03/02/21:
* Fixed magisk support, please disable phh-su and restart to remove it if you want to flash magisk afterwords
* Feb security patch
05/01/21:
* Jan security patch
* New treble settings for style thanks to phh
* Enabled the sdcardfs override feature, should provide better performance
08/12/20:
* December security patch
05/11/20:
* November security patch
* Any hotspot issues should be fixed now
17/10/20:
* Fixed button lights
* Fixed camera crashing in 3rd party apps like bigo live
15/10/20:
* Added wellbeing to settings
* Exclusive Feature: Super SU on demand:
Simply enable it from Phh-Settings > Misc > Enable SU
Then reboot. Please not safteynet will fail while its enabled, if you need a banking app, just disable it from settings and reboot
07/10/20:
* Fixed VoLTE
06/10/20:
* Merged the latest Phh fixes (nothing device specific for our device)
* October security patch
* Pulled latest phh settings app
23/09/20:
* Fixed FPC sensor detection (fingerprint should work now on fpc devices)
21/09/20:
* Initial release: everything except voLTE works (including passing CTS etc)
Thanks bro.
I don't know if I did something wrong, but the fingerprint is not working for me
leofwg said:
I don't know if I did something wrong, but the fingerprint is not working for me
Click to expand...
Click to collapse
What do you mean not working? Did you clean install? Does it show up in settings? Are you using my vendor + kernel?
Edit: tested it again on clean install, works fine.
Please follow all the instructions and use my kernel and vendor
sooti said:
What do you mean not working? Did you clean install? Does it show up in settings? Are you using my vendor + kernel?
Edit: tested it again on clean install, works fine.
Please follow all the instructions and use my kernel and vendor
Click to expand...
Click to collapse
I'm probably missing something ... these are my steps:
- device is already in treble mode
- format data
- flash vendor, flash system,flash boot.img (kernel = boot.img, right?)
- the system starts without problems! but the initial configuration does not show the fingerprint option
apparently for me only fingerprint didn't work... the system is working perfectly. thank you sooti
leofwg said:
I'm probably missing something ... these are my steps:
- device is already in treble mode
- format data
- flash vendor, flash system,flash boot.img (kernel = boot.img, right?)
- the system starts without problems! but the initial configuration does not show the fingerprint option
apparently for me only fingerprint didn't work... the system is working perfectly. thank you sooti
Click to expand...
Click to collapse
I don't know...was it working for you in Q?
Try 'fastboot -w' in fastboot
sooti said:
I don't know...was it working for you in Q?
Try 'fastboot -w' in fastboot
Click to expand...
Click to collapse
i was not using Q before
tried with fastboot -w... still no fingerprint option on initial setup
ill use it without fingerprint for a while!
thank you
Any lag issue?
Mr Magneto said:
Any lag issue?
Click to expand...
Click to collapse
No
Works normal so far. Is there the latest boot.img? Because this old boot.img makes GCam v7 freeze.
Sorry,
but how I can "re-partition to treble layout if you haven't done so yet"?
GPS, battery life, gcam, WiFi, Bluetooth, ok Google are ok?
leofwg said:
I don't know if I did something wrong, but the fingerprint is not working for me
Click to expand...
Click to collapse
It's same for me aswell. Fingerprint missing . It was working in Q
binishm said:
It's same for me aswell. Fingerprint missing . It was working in Q
Click to expand...
Click to collapse
No idea, it's working fine for me, please make sure you haven't flashed magisk
Flash the vendor and boot image from the drive , wipe using fastboot -w then reboot ,.
Tried it twice and it's fine
If it's still not working please send logs
d_borghi said:
Sorry,
but how I can "re-partition to treble layout if you haven't done so yet"?
GPS, battery life, gcam, WiFi, Bluetooth, ok Google are ok?
Click to expand...
Click to collapse
If you don't have a vendor partition you need to repartition
fachry said:
Works normal so far. Is there the latest boot.img? Because this old boot.img makes GCam v7 freeze.
Click to expand...
Click to collapse
You can flash any boot.img that supports treble
sooti said:
If you don't have a vendor partition you need to repartition
Click to expand...
Click to collapse
I'm on revengeos 9;
Where I can find tutorial for all steps?
Thank you
sooti said:
You can flash any boot.img that supports treble
Click to expand...
Click to collapse
I think Perf+ v235 support Android R, Unfortunately no. Until now nothing kernel support R for Mi A1.
Adaptive screen still error. Sometimes dimm sometimes bright
fachry said:
I think Perf+ v235 support Android R, Unfortunately no. Until now nothing kernel support R for Mi A1.
Adaptive screen still error. Sometimes dimm sometimes bright
Click to expand...
Click to collapse
Not sure what you're talking about... Best to just use my vendor and kernel, no brightness issues
FPC fingerprint don't work. Nice work, thanks

[ROM] Lineage-OS-18.1 [REDMI 4A/5A] [UNIFIED [UNOFFICIAL

[ROM] Lineage-OS-18.1 [REDMI 4A/5A] [UNIFIED [UNOFFICIAL]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Introduction
LineageOS is a free, community built, aftermarket firmware distribution of Android 10 (Q), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
What's working:
Boot
Bluetooth
Camera / Camcorder
Double Tap to Wake
IR Blaster
RIL (LTE/Dual SIM/SMS)
FM Radio
VoLTE
GPS
WiFi
WiFi Hotspot
USB (ADB/MTP/PTP)
Video Playback
Touch
Sensors
SELinux enforcing
What's not working:
You tell me.
Gapps - Nik core or Bit gapps
Clean flash necessary to avoid issues
Installation instructions
Download the zip(s).
Install a compatible Recovery
Perform a NANDroid backup of your current ROM (Optional)
Wipe system, data, cache and vendor partitions
Flash ROM.
Optional: Install the Google Apps addon package.
Optional: Install Magisk for Root.
DOWNLOAD
Kernel Source - https://github.com/Thagoo/platform_kernel_xiaomi_msm8917/tree/r
Device tree source - https://github.com/Thagoo/android_device_xiaomi_rolex
Rom Source - https://github.com/LineageOS
Reserved
how much bandwidth (to download the repo) is required to build this on my system ?
[email protected] said:
how much bandwidth (to download the repo) is required to build this on my system ?
Click to expand...
Click to collapse
Noob's guide to building AOSP from scratch.
So, I have been an Android developer since 2009 (HTC dream), and have been actively "consuming" XDA, custom ROMs and other tweaks. Surprisingly, never tried to build my own ROM from scratch. Recently, something made me want to build the ROM, so...
forum.xda-developers.com
This thread explains better than me
Is this based on kernel 4.9? can i use the trinton kernel with this one?
Thread closed
Threads without proper source are not allowed.
@op: Please pm me when you can provide the necessary.
strongst
Forum Moderator
Thread open again
When coming from stock to this ROM or one of the other Lineage-based ROMs, yours prompts for a pre-boot decryption password and crashes on attempts to encrypt, while the other doesn't, using the apparently included default. That includes upstream TWRP releases.
Any data I could supply to help get FDE working on this? Might be useful for your other 11/R-based ROMs, if this occurs on them, as I haven't checked.
zer0def said:
When coming from stock to this ROM or one of the other Lineage-based ROMs, yours prompts for a pre-boot decryption password and crashes on attempts to encrypt, while the other doesn't, using the apparently included default. That includes upstream TWRP releases.
Any data I could supply to help get FDE working on this? Might be useful for your other 11/R-based ROMs, if this occurs on them, as I haven't checked.
Click to expand...
Click to collapse
You xan flash magisk to avoid and i recommend you to other recoveries which has extended features for orangefox they disable forcencryption
Thago said:
You xan flash magisk to avoid and i recommend you to other recoveries which has extended features for orangefox they disable forcencryption
Click to expand...
Click to collapse
I know, however I actually find forceencryption valuable, in spite of it's shortcomings, and the linked Lineage 17.1 ROM makes it work (and makes TWRP work with it, too). The solution I would be looking for is not to disable, but rather support it.
zer0def said:
I know, however I actually find forceencryption valuable, in spite of it's shortcomings, and the linked Lineage 17.1 ROM makes it work (and makes TWRP work with it, too). The solution I would be looking for is not to disable, but rather support it.
Click to expand...
Click to collapse
Disk encryption is not stable yet on android 11 you should wait untill it get stable or better go with android 10 ROMs
Seems to be squared off in upstream. Since there's no official support for MSM8917, if you're tracking changes from a different device's tree, which device is it?
zer0def said:
Seems to be squared off in upstream. Since there's no official support for MSM8917, if you're tracking changes from a different device's tree, which device is it?
Click to expand...
Click to collapse
CAF
Update 2021 Apr 07
Changelog:
- audio: Update upto LA.UM.9.6.2.r1-03300-89xx.0
- audio: Update mixer_paths from LA.UM.9.6.2.r1-03300-89xx.0
- Switch to New AIDL Power HAL
- Update CarrierConfig from LA.UM.9.6.2.r1-03300-89xx.0
- Fix device manufacturer & model exif value in Camera apps thanks to iusmac for PR
- Set lmkd configuration properties
- Update Power Profile XML
- Configure PSI for low_ram device
- Block some more wakelocks Fixup deepsleep issue
- Rebased kernel
- merge linux-v4.9.264
DOWNLOAD​
Any changelog from 08.04.2021 build?
suzver said:
Any changelog from 08.04.2021 build?
Click to expand...
Click to collapse
[ROM] Lineage-OS-18.1 [REDMI 4A/5A] [UNIFIED [UNOFFICIAL
[ROM] Lineage-OS-18.1 [REDMI 4A/5A] [UNIFIED [UNOFFICIAL] #include /* * * We are not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some...
forum.xda-developers.com
hi, i've been testing this rom, and i haven't been able to make it work with my sim card. The official rom works fine, and other sim cards from other vendors work fine on this rom.
I tried flashing the official firmware fw_rolex_miui_HM4AGlobal_V10.2.3.0.NCCMIXM_69d07208fd_7.1.zip, but I couldn't get it to work either.
Lineageos 17.1 doesn't work either.
jlneder said:
hi, i've been testing this rom, and i haven't been able to make it work with my sim card. The official rom works fine, and other sim cards from other vendors work fine on this rom.
I tried flashing the official firmware fw_rolex_miui_HM4AGlobal_V10.2.3.0.NCCMIXM_69d07208fd_7.1.zip, but I couldn't get it to work either.
Lineageos 17.1 doesn't work either
jlneder said:
hi, i've been testing this rom, and i haven't been able to make it work with my sim card. The official rom works fine, and other sim cards from other vendors work fine on this rom.
I tried flashing the official firmware fw_rolex_miui_HM4AGlobal_V10.2.3.0.NCCMIXM_69d07208fd_7.1.zip, but I couldn't get it to work either.
Lineageos 17.1 doesn't work either.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
jlneder said:
hi, i've been testing this rom, and i haven't been able to make it work with my sim card. The official rom works fine, and other sim cards from other vendors work fine on this rom.
I tried flashing the official firmware fw_rolex_miui_HM4AGlobal_V10.2.3.0.NCCMIXM_69d07208fd_7.1.zip, but I couldn't get it to work either.
Lineageos 17.1 doesn't work either.
Click to expand...
Click to collapse
Update your recovery to the latest orangefox recovery which has 4.9 kernel
Wipe data vendor system cache and dalvik cache before flashing the rom
Restore perisist backup (look for redmi 4a persist backup if you don't have)
Hi. I've been having a problem with this new build. After a while, after waking up the phone from deep sleep, I can't open any app or phone setting. The apps just stay loading. Programmed tasks like alarms don't work, either. I have to reboot the phone every once a while as a workaround. This problem was also present in Lineage OS 17, but it didn't happen with Thagoo's older LOS 18.1 build on Telegram. Maybe it's due to the new blocked wakelocks?
Thago said:
Update your recovery to the latest orangefox recovery which has 4.9 kernel
Wipe data vendor system cache and dalvik cache before flashing the rom
Restore perisist backup (look for redmi 4a persist backup if you don't have
Click to expand...
Click to collapse
Sorry, I guess It was a hardware problem. I had another xiaomi redmi 4a and it worked there so i just switched phones. Thank you anyway.
Nice job Qcom sir

[ROM][NIPPON GSI Port][Alpha][R/A] MIUI 13 Android 12 & 11

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DISCLAIMER
Code:
* Your warranty is now void.
* We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.
* You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.
MIUI 13 for Galaxy S9/S9 Plus with Project Treble - Porting R/A
- Warning this is not for daily use.
- GSI made by Nippon, credit goes to him.
-MIUI 13 Port Alpha #1 without R/A is Android 11, with R/A is Android 12.
Features:
- Full MIUI 13 firmware from NIPPON GSI Global.
- Added a brightness overlay to try and improve it but more work needs to be done.
- Modified vendor and disabled KeyStore.
Working:
- RIL.
- SD Card.
- Touch.
- Hard press button.
Bugs:
- Most likely more stuff I haven't noticed yet.
Warning:
- The ROM, has not yet been tested on Samsung Galaxy S9 Plus, we look for beta testers. To propose yourself join on our telegram channels.
Guide [HOW TO INSTALL IT]:
1. Extract the zip, and save it on SD Card or memory
2. Do proper backup of your important vids, pics, files, etc.
3. Reboot to recovery
4. Clean wipe (Dalvik, system,data,vendor,cache)
5.[T.2] Flash vendor.img & boot.img for your device.
6. Flash system.img
7. Flash permissiver, zygote, etc. if needed.
8. Reboot and good luck.
Instructions only for Samsung S9 Plus users:
-Reboot to recovery
-Wipe system, cache, dalvik and data
-Flash CrDroid Android Q (CrDroid)
-Flash System img from miui
-Mount vendor in twrp and go to /vendor/lib64/hw/ and rename the keystore file with a .bak at the end
Downloads:
MIUI13 R/A
MIUI13
Okami Project [Tips, Fixs, Extras]:
Project
Kernel Source:
Source
Tips:
-[T.2] In case, it does not go for Samsung Galaxy S9 Plus users, use another vendor, possibly AOSP and/or CrDroid or the stock vendor.
-In case, it does not go for Samsung Galaxy S9 Plus users, use another kernel, possibly AOSP and/or CrDroid.
-To report bugs you will have to be clear and share the log.txt.
Credits:
[email protected] for Vendor & Boot.
Social Network:
Telegram Group
Telegram Channel
Telegram Support Bot
Thread re-opened.
can you post the link for Android 11 of this thread?
[CLOSED][ROM][NIPPON GSI Port][Alpha] MIUI 13 Android 11
DISCLAIMER * Your warranty is now void. * We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels. * You do it at your own risk and take the responsibility upon yourself and you are not to...
forum.xda-developers.com
vwong said:
can you post the link for Android 11 of this thread?
[CLOSED][ROM][NIPPON GSI Port][Alpha] MIUI 13 Android 11
DISCLAIMER * Your warranty is now void. * We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels. * You do it at your own risk and take the responsibility upon yourself and you are not to...
forum.xda-developers.com
Click to expand...
Click to collapse
I just update this Thread, if you go to the beginning, in the part where there is Downloads, you find MIUI13, careful that MIUI 13 R/A is with Android 12.
I have star2lte (S9+) currently downloading it.
I'll post a feedback when it's done.
EDIT:
Device boots to download mode.
What I did:
-Wiped system, cache, dalvik and data
-Flashed CrDroid Android Q (CrDroid)
-Flashed System img from miui13 R/A
- Renaming /vendor/lib64/hw/ keystore file results with Error 1.
Does it work on G9650?
Do we have screenshots
I tried it and there a weird hole punch at the top other then that is working ig
Supernova| said:
I tried it and there a weird hole punch at the top other then that is working ig
Click to expand...
Click to collapse
Does it work on G9650?
I tried it for s9+ there's a weird hole at the top, it recognises the sim card but calls doesn't work. Other than that it works.
Coach876_ said:
I tried it for s9+ there's a weird hole at the top, it recognises the sim card but calls doesn't work. Other than that
Click to expand...
Click to collapse
Coach876_ said:
I tried it for s9+ there's a weird hole at the top, it recognises the sim card but calls doesn't work. Other than that it works.
Click to expand...
Click to collapse
s9 plus with exynos or snapdragon?
Exynos
F17mous said:
I have star2lte (S9+) currently downloading it.
I'll post a feedback when it's done.
EDIT:
Device boots to download mode.
What I did:
-Wiped system, cache, dalvik and data
-Flashed CrDroid Android Q (CrDroid)
-Flashed System img from miui13 R/A
- Renaming /vendor/lib64/hw/ keystore file results with Error 1.
Click to expand...
Click to collapse
From an user on support:
I installed the rom on galaxy s9 + according to the instructions, coming after android 11, i had to install the vendor on android 10, for crdroid 10. After installing crdroid, I flashed system.img and reboot. Initially the phone went into download mode, then I went back into recovery mode and flashed boot.img. This time it was lucky, the phone opened.
Follow this Guy.
Guilhermegh7 said:
Does it work on G9650?
Click to expand...
Click to collapse
I don't think because it's for Exynos, but you can use the system.img and replace vendor.img and boot.img with your for the snapdragon. Use AOSP or stock.
Supernova| said:
I tried it and there a weird hole punch at the top other then that is working ig
Click to expand...
Click to collapse
Use Okami Project, and the fixes you find in the telegram channel.
Badger50 said:
Тема вновь открыта.
Click to expand...
Click to collapse
я извняюсь , а означает что R/A?
it cant use on A3 2017
although using cr boot vendor still stuck on first logo
MIUI 12.5.3 worked but no sim detect
Does it work on G965N device?
AlexanderDev said:
DISCLAIMER
Code:
* Your warranty is now void.
* We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.
* You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.
MIUI 13 for Galaxy S9/S9 Plus with Project Treble - Porting R/A
- Warning this is not for daily use.
- GSI made by Nippon, credit goes to him.
-MIUI 13 Port Alpha #1 without R/A is Android 11, with R/A is Android 12.
Features:
- Full MIUI 13 firmware from NIPPON GSI Global.
- Added a brightness overlay to try and improve it but more work needs to be done.
- Modified vendor and disabled KeyStore.
Working:
- RIL.
- SD Card.
- Touch.
- Hard press button.
Bugs:
- Most likely more stuff I haven't noticed yet.
Warning:
- The ROM, has not yet been tested on Samsung Galaxy S9 Plus, we look for beta testers. To propose yourself join on our telegram channels.
Guide [HOW TO INSTALL IT]:
1. Extract the zip, and save it on SD Card or memory
2. Do proper backup of your important vids, pics, files, etc.
3. Reboot to recovery
4. Clean wipe (Dalvik, system,data,vendor,cache)
5.[T.2] Flash vendor.img & boot.img for your device.
6. Flash system.img
7. Flash permissiver, zygote, etc. if needed.
8. Reboot and good luck.
Instructions only for Samsung S9 Plus users:
-Reboot to recovery
-Wipe system, cache, dalvik and data
-Flash CrDroid Android Q (CrDroid)
-Flash System img from miui
-Mount vendor in twrp and go to /vendor/lib64/hw/ and rename the keystore file with a .bak at the end
Downloads:
MIUI13 R/A
MIUI13
Okami Project [Tips, Fixs, Extras]:
Project
Kernel Source:
Source
Tips:
-[T.2] In case, it does not go for Samsung Galaxy S9 Plus users, use another vendor, possibly AOSP and/or CrDroid or the stock vendor.
-In case, it does not go for Samsung Galaxy S9 Plus users, use another kernel, possibly AOSP and/or CrDroid.
-To report bugs you will have to be clear and share the log.txt.
Credits:
[email protected] for Vendor & Boot.
Social Network:
Telegram Group
Telegram Channel
Telegram Support Bot
Click to expand...
Click to collapse
Not working on s9+ the android 12
my phone is mi 8 pro codename is equuleus.
can i flash this rom?

Categories

Resources