/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here 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.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
LineageOS is a free, community built, aftermarket firmware distribution of Android 10, 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.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
What's working :
Boots
RIL (Calls, SMS, Data)
Fingerprint
Wi-Fi
Bluetooth
Camera
Camcorder
Video Playback
Audio
Sensors
Flash
LED
GPS
VoLTE
Known issues:
you tell me
Instructions :
Download the latest build and GApps
Reboot to recovery
Flash the latest build, Recovery Installer and Reboot
- First of all, make sure to download and move all the above required ROM packages on your Xiaomi Mi A3 Internal storage.
- Now wipe the cache, data, and system before flashing the Latest Build on Xiaomi Mi A3.
- To Wipe data: Go to Wipe —> Advanced Wipe and select Dalvik/ART cache, cache, System, Vendor, and Data and then swipe to wipe. Warning: Make sure not to select Internal storage
- Now you can install the Latest Build in TWRP
- Flash the latest TWRP/Whatever recovery installer you're using.
LineageOS is a free, community built, aftermarket firmware distribution of Android 10, 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.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
What's working :
Boots
RIL (Calls, SMS, Data)
Fingerprint
Wi-Fi
Bluetooth
Camera
Camcorder
Video Playback
Audio
Sensors
Flash
LED
GPS
VoLTE
Known issues:
you tell me
Instructions :
Download the latest build and GApps
Reboot to recovery
Flash the latest build, Recovery Installer and Reboot
Flash GApps and Patch_NO_FDE
Reboot
TLDR; Good Stable ROM with a little bug.
Can't hide app in the default launcher. System app like Android System Webview, Google TTS are on the drawer
FOD Speed is OK i guess, same speed as stock.
Max screen brightness on FOD bug.
The only feature that completely broken is Notification LED. Right now I'm relying on AOD. I hope LED will be fixed on next update.
No review on VOLTE. I can't test it.
[12-04 15:50:23.444 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:23.539 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:23.544 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:23.545 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:23.646 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:24.749 1139:1259 E/KernelCpuSpeedReader]
Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state: open failed: ENOENT (No such file or directory)
[12-04 15:50:24.749 1139:1259 E/KernelCpuSpeedReader]
Failed to read cpu-freq: /sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state: open failed: ENOENT (No such file or directory)
[12-04 15:50:25.023 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:25.028 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:25.029 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:25.138 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:29.367 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:29.372 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:30.169 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:31.644 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:32.166 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:32.169 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:32.169 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:32.270 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:37.179 1139:1267 E/LightsService]
Light requested not available on this device. 2
[12-04 15:50:37.781 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:37.785 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:37.786 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:37.792 1139:1746 E/LightsService]
Light requested not available on this device. 2
[12-04 15:50:37.886 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:39.065 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:39.076 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:39.076 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:39.169 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:39.170 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:39.962 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:40.060 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:40.081 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:40.128 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:40.138 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:40.139 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:40.142 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 1]
[12-04 15:50:40.142 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 1]
[12-04 15:50:40.142 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:40.143 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:40.272 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:40.352 621:2893 E/ANDR-PERF-LM]
AdaptiveLaunch: writeToDataBase() 63: Meter aborted or could not get meter data for this run
[12-04 15:50:41.322 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:41.326 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:41.407 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:42.464 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:43.251 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:43.254 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:43.357 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:43.878 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:43.906 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:43.910 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:43.976 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:45.291 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 1]
[12-04 15:50:45.291 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 1]
[12-04 15:50:45.291 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:45.292 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:45.389 7400:7400 E/id.GoogleCamer]
Not starting debugger since process cannot load the jdwp agent.
[12-04 15:50:45.470 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:45.471 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:45.501 621:2893 E/ANDR-PERF-LM]
AdaptiveLaunch: writeToDataBase() 63: Meter aborted or could not get meter data for this run
[12-04 15:50:45.576 7400:7400 E/id.GoogleCamer]
No implementation found for java.lang.String andhook.lib.AndHook.getVersionInfo() (tried Java_andhook_lib_AndHook_getVersionInfo and Java_andhook_lib_AndHook_getVersionInfo__)
[12-04 15:50:45.582 7400:7400 E/id.GoogleCamer]
No implementation found for java.lang.String andhook.lib.AndHook.getVersionInfo() (tried Java_andhook_lib_AndHook_getVersionInfo and Java_andhook_lib_AndHook_getVersionInfo__)
[12-04 15:50:45.711 778:3706 E/CameraService]
supportsCameraApi: Unknown camera ID 2
[12-04 15:50:45.912 691:691 E/Layer]
[Surface(name=AppWindowToken{d300e03 token=Token{774eeb2 ActivityRecord{f5938bd u0 com.google.android.GoogleCamerc/com.android.camera.CameraLauncher t148}}})/@0x5190357 - animation-leash#0] No local sync point found
[12-04 15:50:45.913 691:691 E/Layer]
[Surface(name=AppWindowToken{d300e03 token=Token{774eeb2 ActivityRecord{f5938bd u0 com.google.android.GoogleCamerc/com.android.camera.CameraLauncher t148}}})/@0x5190357 - animation-leash#0] No local sync point found
[12-04 15:50:45.913 691:691 E/Layer]
[Surface(name=AppWindowToken{bc0bd89 token=Token{3803090 ActivityRecord{2aeff53 u0 com.android.launcher3/.lineage.LineageLauncher t137}}})/@0xa4c5a7a - animation-leash#0] No local sync point found
[12-04 15:50:45.913 691:691 E/Layer]
[Surface(name=AppWindowToken{bc0bd89 token=Token{3803090 ActivityRecord{2aeff53 u0 com.android.launcher3/.lineage.LineageLauncher t137}}})/@0xa4c5a7a - animation-leash#0] No local sync point found
[12-04 15:50:46.042 7400:7400 E/AndroidRuntime]
FATAL EXCEPTION: main
Process: com.google.android.GoogleCamerc, PID: 7400
java.lang.IllegalArgumentException: supportsCameraApi:1935: Unknown camera ID 2
at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:791)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:327)
at com.google.android.libraries.camera.framework.characteristics.CameraCharacteristicsCache$CameraMetadataCache.get(Unknown Source:25)
at com.google.android.libraries.camera.framework.characteristics.HardwareId.compute(Unknown Source:42)
at com.google.android.libraries.camera.framework.characteristics.CameraCharacteristicsCache.get(Unknown Source:110)
at com.google.android.libraries.camera.framework.characteristics.CameraHardwareManagerImpl.getCameraIdList(Unknown Source:35)
at com.google.android.libraries.camera.framework.characteristics.CameraHardwareManagerImpl.findAllCameras(Unknown Source:0)
at com.google.android.libraries.camera.framework.characteristics.ForwardingCameraHardwareManager.findAllCameras(Unknown Source:2)
at com.google.android.apps.camera.app.CacheCameraInfoBehavior.run(Unknown Source:9)
at com.google.android.apps.camera.startup.Behaviors$$Lambda$0.run(Unknown Source:8)
at com.google.android.libraries.camera.async.MainThreadThrowingExecutor$MainThreadThrowingRunnable.run(Unknown Source:2)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
at com.google.android.libraries.camera.async.AndroidPriorityThread.run(Unknown Source:5)
Caused by: android.os.ServiceSpecificException: supportsCameraApi:1935: Unknown camera ID 2 (code 3)
at android.os.Parcel.createException(Parcel.java:2085)
at android.os.Parcel.readException(Parcel.java:2039)
at android.os.Parcel.readException(Parcel.java:1987)
at android.hardware.ICameraService$Stub$Proxy.supportsCameraApi(ICameraService.java:800)
at android.hardware.camera2.CameraManager.supportsCameraApiLocked(CameraManager.java:844)
at android.hardware.camera2.CameraManager.supportsCamera2ApiLocked(CameraManager.java:820)
at android.hardware.camera2.CameraManager.getCameraCharacteristics(CameraManager.java:303)
... 16 more
[12-04 15:50:46.064 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:46.064 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:46.091 1139:1746 E/InputDispatcher]
channel '280995e com.google.android.GoogleCamerc/com.android.camera.CameraLauncher (server)' ~ Channel is unrecoverably broken and will be disposed!
[12-04 15:50:46.182 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:46.184 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:46.284 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:50.017 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:50.021 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:50.028 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:50.128 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:50.723 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:50.726 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:50.820 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:50.921 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:50.923 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:50.926 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:50.926 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:51.161 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:51.442 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:51.444 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:51.445 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:51.519 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 1]
[12-04 15:50:51.519 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 1]
[12-04 15:50:51.520 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:51.520 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:51.664 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:51.664 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:51.724 621:2893 E/ANDR-PERF-LM]
AdaptiveLaunch: writeToDataBase() 63: Meter aborted or could not get meter data for this run
[12-04 15:50:51.767 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
[12-04 15:50:52.768 621:641 E/ANDR-PERF-MPCTL]
Invalid profile no. 0, total profiles 0 only
[12-04 15:50:52.772 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:52.773 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to apply optimization [2, 0]
[12-04 15:50:52.875 621:641 E/ANDR-PERF-RESOURCEQS]
Failed to reset optimization [3, 0]
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here 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.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
LineageOS is a free, community built, aftermarket firmware distribution of Android 10, 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.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
What's working :
Boots
RIL (Calls, SMS, Data)
Fingerprint
Wi-Fi
Bluetooth
Camera
Camcorder
Video Playback
Audio
Sensors
Flash
LED
GPS
VoLTE
Known issues:
you tell me
Instructions :
Download the latest build and GApps
Reboot to recovery
Flash the latest build, Recovery Installer and Reboot
do you plan to migrade to an official lineage version. If so, how long do you think you will support this device. At the moment I have a S4mini, and I really liked the long (since 2013) support from arco68.
Thank you.
wacken
Im not sure as to how long I will support this device, If I get good feedback from the community I will keep LOS alive for this device! and as to official version, that will come once i make LOS bugless! Thanks for your support
- First of all, make sure to download and move all the above required ROM packages on your Xiaomi Mi A3 Internal storage.
- Now wipe the cache, data, and system before flashing the Latest Build on Xiaomi Mi A3.
- To Wipe data: Go to Wipe —> Advanced Wipe and select Dalvik/ART cache, cache, System, Vendor, and Data and then swipe to wipe. Warning: Make sure not to select Internal storage
- Now you can install the Latest Build in TWRP
- Flash the latest TWRP/Whatever recovery installer you're using.