[UNOFFICIAL][LineageOS 19.1][ Android 12L ] For A310, A510, and A710[ALPHA]

Search This thread

4nonymu

Member
May 30, 2020
9
2

Attachments

  • Screenshot_20220516-110552_Arquivos.png
    Screenshot_20220516-110552_Arquivos.png
    89.4 KB · Views: 19

se.developers

Senior Member
Jun 11, 2014
102
29
Did you do a phone call or what should I check?
yes, I made a call and checked finger print before making logs. phone calls are still delayed and there is no sound on the ear speaker, but when I put it on loudspeaker there is no problem. I have to hold the call first then the sound appears on the ear speaker
 

html6405

Recognized Developer
yes, I made a call and checked finger print before making logs. phone calls are still delayed and there is no sound on the ear speaker, but when I put it on loudspeaker there is no problem. I have to hold the call first then the sound appears on the ear speaker
Alright thx, I will try to find a solution.
 
  • Like
Reactions: se.developers

se.developers

Senior Member
Jun 11, 2014
102
29
hi, I just tried it.
for the first call it's normal on the ear speaker, when I use the loudspeaker it's also normal.
and when I moved again to the ear speaker it was gone again.
these are the logs and screen recordings I made

https://streamable.com/9g3biu

for the second call recording is fail, the second recording audio doesn't appear while recording screen
 

Attachments

  • 2022-05-20_10.10.zip
    801.8 KB · Views: 5
Last edited:

html6405

Recognized Developer
hi, I just tried it.
for the first call it's normal on the ear speaker, when I use the loudspeaker it's also normal.
and when I moved again to the ear speaker it was gone again.
these are the logs and screen recordings I made

https://streamable.com/9g3biu

for the second call recording is fail, the second recording audio doesn't appear while recording screen
Thx,
somehow the audioserver is still crashing, but is there a improvement at all?
 

se.developers

Senior Member
Jun 11, 2014
102
29
Could someone test the new version (A5)?
I've uploaded it to AFH.
I just tried it again without gapps, only rom and magisk.
I think this is more random, after several times of testing sometimes there is no sound in the earspeaker.
for the first call on the ear speaker appears, I try to switch to loudspeaker also smooth, after I move again to earspeaker sometimes it disappears.

I found this

Code:
05-20 15:44:23.152 E/audio_hw_primary(9649): Amplifier initialization failed
05-20 15:44:23.157 E/        (0): [2:    kworker/2:2: 2673] cod3022x 3-a004: Unable to configure codec gpio as idle
05-20 15:44:23.543 E/SchedulingPolicyService(2715): Failed setThreadScheduler: java.lang.SecurityException: No permission to modify given thread 9663
05-20 15:44:23.614 E/AudioFlinger(9648): no wake lock to update, but system ready!
05-20 15:44:23.617 E/FastThread(9648): did not receive expected priority boost on time
05-20 15:44:23.621 E/SchedulingPolicyService(2715): Failed setThreadScheduler: java.lang.SecurityException: No permission to modify given thread 9674
05-20 15:44:23.784 E/        (0): [0:    kworker/0:2: 6953] cod3022x 3-a004: Unable to configure codec gpio as idle
05-20 15:44:24.601 E/HalDeathHandler(9648): HAL server crashed, audio server is restarting
05-20 15:44:24.601 E/HalHidl (9648): Stream 0xe7141668 setParameters: Status(EX_TRANSACTION_FAILED): 'DEAD_OBJECT: ' (from rpc)
05-20 15:44:24.601 E/TaskPersister(2715): File error accessing recents directory (directory doesn't exist?).
05-20 15:44:24.608 E/AudioSystem-JNI(2715): Command failed for android_media_AudioSystem_error_callback: -32
05-20 15:44:24.608 E/AudioSystem-JNI(2715): Command failed for android_media_AudioSystem_setPhoneState: -32
05-20 15:44:24.805 E/        (0): [0:    kworker/0:2: 6953] cod3022x 3-a004: Unable to configure codec gpio as idle
05-20 15:44:27.088 E/[3:     android.bg: 2747] audit(0): rate limit exceeded
05-20 15:44:27.771 E/[0:           init:    1] libprocessgroup(0): Failed to make and chown /sys/fs/cgroup/uid_1041: No such file or directory
05-20 15:44:27.771 E/[0:           init:    1] init(0): createProcessGroup(1041, 9683) failed for service 'audioserver': No such file or directory
05-20 15:44:27.775 E/[2:           init:    1] libprocessgroup(0): Failed to make and chown /sys/fs/cgroup/uid_1041: No such file or directory
05-20 15:44:27.775 E/[2:           init:    1] init(0): createProcessGroup(1041, 9684) failed for service 'vendor.audio-hal': No such file or directory
05-20 15:44:27.827 E/LegacySupport(9684): Could not get passthrough implementation for [email protected]::ISoundTriggerHw/default.
05-20 15:44:27.828 E/LegacySupport(9684): Could not get passthrough implementation for [email protected]::IBluetoothAudioProvidersFactory/default.
05-20 15:44:27.829 E/LegacySupport(9684): Could not get passthrough implementation for [email protected]::IBluetoothAudioOffload/default.
05-20 15:44:27.970 E/audio_route(9684): Control 'EP EP On' already exists in path 'fm_radio-speaker-headset'
05-20 15:44:27.985 E/audio_route(9684): expect 2 values but only 1 specified for ctl Line-in Volume
05-20 15:44:27.985 E/audio_route(9684): expect 2 values but only 1 specified for ctl DAC Gain
05-20 15:44:28.179 E/audio_hw_primary(9684): Amplifier initialization failed
05-20 15:44:28.183 E/        (0): [1:    kworker/1:2: 1294] cod3022x 3-a004: Unable to configure codec gpio as idle
05-20 15:44:28.671 E/SchedulingPolicyService(2715): Failed setThreadScheduler: java.lang.SecurityException: No permission to modify given thread 9698
05-20 15:44:28.691 E/AudioFlinger(9683): no wake lock to update, but system ready!
05-20 15:44:28.692 E/FastThread(9683): did not receive expected priority boost on time
05-20 15:44:28.695 E/SchedulingPolicyService(2715): Failed setThreadScheduler: java.lang.SecurityException: No permission to modify given thread 9708
05-20 15:44:28.866 E/        (0): [1:    kworker/1:2: 1294] cod3022x 3-a004: Unable to configure codec gpio as idle
05-20 15:44:29.318 E/HalHidl (9683): Stream 0xe7140fd8 setParameters: Status(EX_TRANSACTION_FAILED): 'DEAD_OBJECT: ' (from rpc)
05-20 15:44:29.319 E/HalDeathHandler(9683): HAL server crashed, audio server is restarting
05-20 15:44:29.325 E/AudioSystem-JNI(2715): Command failed for android_media_AudioSystem_setForceUse: -32
05-20 15:44:29.326 E/AudioSystem-JNI(2715): Command failed for android_media_AudioSystem_error_callback: -32
05-20 15:44:29.326 E/AudioSystem-JNI(2715): Command failed for android_media_AudioSystem_removeDevicesRoleForStrategy: -32
05-20 15:44:29.326 E/AudioSystem-JNI(2715): Command failed for android_media_AudioSystem_setPhoneState: -32
05-20 15:44:29.523 E/        (0): [0:    kworker/0:2: 6953] cod3022x 3-a004: Unable to configure codec gpio as idle
 

Attachments

  • 2022-05-20-15-45-26.zip
    12.9 KB · Views: 9
Last edited:

html6405

Recognized Developer
I just tried it again without gapps, only rom and magisk.
I think this is more random, after several times of testing sometimes there is no sound in the earspeaker.
for the first call on the ear speaker appears, I try to switch to loudspeaker also smooth, after I move again to earspeaker sometimes it disappears.

I found this

Code:
05-20 15:44:23.152 E/audio_hw_primary(9649): Amplifier initialization failed
05-20 15:44:23.157 E/        (0): [2:    kworker/2:2: 2673] cod3022x 3-a004: Unable to configure codec gpio as idle
05-20 15:44:23.543 E/SchedulingPolicyService(2715): Failed setThreadScheduler: java.lang.SecurityException: No permission to modify given thread 9663
05-20 15:44:23.614 E/AudioFlinger(9648): no wake lock to update, but system ready!
05-20 15:44:23.617 E/FastThread(9648): did not receive expected priority boost on time
05-20 15:44:23.621 E/SchedulingPolicyService(2715): Failed setThreadScheduler: java.lang.SecurityException: No permission to modify given thread 9674
05-20 15:44:23.784 E/        (0): [0:    kworker/0:2: 6953] cod3022x 3-a004: Unable to configure codec gpio as idle
05-20 15:44:24.601 E/HalDeathHandler(9648): HAL server crashed, audio server is restarting
05-20 15:44:24.601 E/HalHidl (9648): Stream 0xe7141668 setParameters: Status(EX_TRANSACTION_FAILED): 'DEAD_OBJECT: ' (from rpc)
05-20 15:44:24.601 E/TaskPersister(2715): File error accessing recents directory (directory doesn't exist?).
05-20 15:44:24.608 E/AudioSystem-JNI(2715): Command failed for android_media_AudioSystem_error_callback: -32
05-20 15:44:24.608 E/AudioSystem-JNI(2715): Command failed for android_media_AudioSystem_setPhoneState: -32
05-20 15:44:24.805 E/        (0): [0:    kworker/0:2: 6953] cod3022x 3-a004: Unable to configure codec gpio as idle
05-20 15:44:27.088 E/[3:     android.bg: 2747] audit(0): rate limit exceeded
05-20 15:44:27.771 E/[0:           init:    1] libprocessgroup(0): Failed to make and chown /sys/fs/cgroup/uid_1041: No such file or directory
05-20 15:44:27.771 E/[0:           init:    1] init(0): createProcessGroup(1041, 9683) failed for service 'audioserver': No such file or directory
05-20 15:44:27.775 E/[2:           init:    1] libprocessgroup(0): Failed to make and chown /sys/fs/cgroup/uid_1041: No such file or directory
05-20 15:44:27.775 E/[2:           init:    1] init(0): createProcessGroup(1041, 9684) failed for service 'vendor.audio-hal': No such file or directory
05-20 15:44:27.827 E/LegacySupport(9684): Could not get passthrough implementation for [email protected]::ISoundTriggerHw/default.
05-20 15:44:27.828 E/LegacySupport(9684): Could not get passthrough implementation for [email protected]::IBluetoothAudioProvidersFactory/default.
05-20 15:44:27.829 E/LegacySupport(9684): Could not get passthrough implementation for [email protected]::IBluetoothAudioOffload/default.
05-20 15:44:27.970 E/audio_route(9684): Control 'EP EP On' already exists in path 'fm_radio-speaker-headset'
05-20 15:44:27.985 E/audio_route(9684): expect 2 values but only 1 specified for ctl Line-in Volume
05-20 15:44:27.985 E/audio_route(9684): expect 2 values but only 1 specified for ctl DAC Gain
05-20 15:44:28.179 E/audio_hw_primary(9684): Amplifier initialization failed
05-20 15:44:28.183 E/        (0): [1:    kworker/1:2: 1294] cod3022x 3-a004: Unable to configure codec gpio as idle
05-20 15:44:28.671 E/SchedulingPolicyService(2715): Failed setThreadScheduler: java.lang.SecurityException: No permission to modify given thread 9698
05-20 15:44:28.691 E/AudioFlinger(9683): no wake lock to update, but system ready!
05-20 15:44:28.692 E/FastThread(9683): did not receive expected priority boost on time
05-20 15:44:28.695 E/SchedulingPolicyService(2715): Failed setThreadScheduler: java.lang.SecurityException: No permission to modify given thread 9708
05-20 15:44:28.866 E/        (0): [1:    kworker/1:2: 1294] cod3022x 3-a004: Unable to configure codec gpio as idle
05-20 15:44:29.318 E/HalHidl (9683): Stream 0xe7140fd8 setParameters: Status(EX_TRANSACTION_FAILED): 'DEAD_OBJECT: ' (from rpc)
05-20 15:44:29.319 E/HalDeathHandler(9683): HAL server crashed, audio server is restarting
05-20 15:44:29.325 E/AudioSystem-JNI(2715): Command failed for android_media_AudioSystem_setForceUse: -32
05-20 15:44:29.326 E/AudioSystem-JNI(2715): Command failed for android_media_AudioSystem_error_callback: -32
05-20 15:44:29.326 E/AudioSystem-JNI(2715): Command failed for android_media_AudioSystem_removeDevicesRoleForStrategy: -32
05-20 15:44:29.326 E/AudioSystem-JNI(2715): Command failed for android_media_AudioSystem_setPhoneState: -32
05-20 15:44:29.523 E/        (0): [0:    kworker/0:2: 6953] cod3022x 3-a004: Unable to configure codec gpio as idle
Is there any difference to the version before?

Your log does not contain the root cause, could you try it with syslog again?
 
Last edited:

se.developers

Senior Member
Jun 11, 2014
102
29
Is there any difference to the version before?

Your log does not contain the root cause, could you try it with syslog again?
sorry, I forgot to explain.
for the second call (first connected) in the previous version it was pretty good on the earspeaker. but in this build the second call and so on (first connected) are very random.
sometimes there is no sound at all. I have to reboot it first. sorry it's so hard to explain haha 😂
tomorrow I'll try to make another log with syslog.

edit : sorry, I can't make another log again at this time, build 20 is deleted.
looks like I had time to make from syslog. If I'm not mistaken, this is the file.
 

Attachments

  • 2022-05-20_15.36.zip
    799.6 KB · Views: 2
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    are you planning to build crDroid Android to A310,A510,n A710?
    Only if I can move this ROM to a BETA state.
    2
    I've found a cheap device with a broken screen for 40€, if I would buy it I maybe could fix the audio problem and the fingerprint for the A5 and A7, maybe this also fixes the audio problem for the A3, some one wanna support?
    hello sir, I really want to support you.
    but unfortunately I also don't have any extra money.
    I can only thank you, this is stable enough for me.
    Thank you very much.
    1
    hello.
    I have installed build

    19.1-20220520-HTML6405-a5xelte.zip on A510M​

    but the audio does not work well in calls, it connects and disconnects the audio when I'm in a call. the same happens when activating the loudspeaker
    Another point is the fingerprint, which is not yet available.
    I have installed NikGapps-core-arm64-12.1-20220501-signed.zip
    Without GApps too
    1
    cách sử dụng nó khi flash ROM + upadte.zip + mindthegapps AMR
    and i just flashing file update.zip then flashing ROM it si failed
    that's not a zip install, but a script file that you have to move or edit into mindthegapps.
    you have to edit the binary script first. _-
    I've made it for you, the latest version of mindthegapps.

    after installing the rom.zip you can directly install this gapps
    Mindthegapps Resigned
    1
    I have tried it on my a510f and the only problem is the fingerprint sensor
  • 21
    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.
    *
    */
    Hi,

    here you can find my build for the A310, A510, and A710,
    most problems are already solved.

    Here you can see how far everything is working for now.

    • Boot
    • Audio
    • Bluetooth
    • Graphics
    • Cameras
    • Sensors
    • Wifi
    • USB
    • Video playback (HW/SW)
    • Tethering via USB
    • OTA-Updates
    • RIL
    • Mobile data
    • GPS
    • DRM
    • Tethering via WIFI and Bluetooth
    • much more...
    • BT audio in a phone call (untested)
    • Audio seems to act weird sometimes in a phone call
    • Fingerprint

    Do you like my work?
    Than you can simply hit the thanks button and consider to spend me a coffee or a beer,
    I'm doing this in my free time and it also costs a lot of money to buy hardware.

    donate

    Instructions (for S3, simply use the files for your device)
    XDA:DevDB Information
    [ROM][12.x][a3xelte a5xelte a7xelte][ALPHA] LineageOS 19.1, ROM for the Samsung Galaxy A3, A5 and A7 ( A310, A510, and A710)

    Contributors

    html6405
    Source Code: https://github.com/html6405

    ROM OS Version: 12.x S
    ROM Kernel: Linux 3.x
    ROM Firmware Required: TWRP 3.5.2
    Based On: LineageOS

    Thanks
    danwood76 for the great work for these devices
    The LineageOS team
    And all others who have contributed to the Exynos projects past and present

    Version Information
    Status:
    Alpha

    Created 2022-03-15
    Last Updated 2022-05-03
    8
    Update 28.03.2022:
    • Synced with latest LineageOS sources
    • Fixed Audio for A5 and A7 (only tested on A5)
    • Fixed Fingerprint for A5 and A7 partly, still working on this
    • Created possibility to disable hw navigation buttons (needed to use software navigation)
    7
    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.
    *
    */
    Hi,

    here you can find my build for the A310, A510, and A710,
    most problems are already solved.

    Here you can see how far everything is working for now.

    • Boot
    • Audio
    • Bluetooth
    • Graphics
    • Cameras
    • Sensors
    • Wifi
    • USB
    • Video playback (HW/SW)
    • Tethering via USB
    • OTA-Updates
    • RIL
    • Mobile data
    • GPS
    • DRM
    • Tethering via WIFI and Bluetooth
    • much more...
    • BT audio in a phone call (untested)
    • A5 Audio

    Do you like my work?
    Than you can simply hit the thanks button and consider to spend me a coffee or a beer,
    I'm doing this in my free time and it also costs a lot of money to buy hardware.

    donate

    Instructions (for S3, simply use the files for your device)
    XDA:DevDB Information
    [ROM][12.x][a3xelte a5xelte a7xelte][ALPHA] LineageOS 19.1, ROM for the Samsung Galaxy A3, A5 and A7 ( A310, A510, and A710)

    Contributors

    html6405
    Source Code: https://github.com/html6405

    ROM OS Version: 12.x S
    ROM Kernel: Linux 3.x
    ROM Firmware Required: TWRP 3.5.2
    Based On: LineageOS

    Thanks
    danwood76 for the great work for these devices
    The LineageOS team
    And all others who have contributed to the Exynos projects past and present

    Version Information
    Status:
    Alpha

    Created 2022-03-15
    Last Updated 2022-03-16
    i never make xda account since 2012 i know xda dev.. today for the first time ever i create an account just to hit like button... my device is a510f.. i love this device bcoz the size is perfecr for me.. the flat design is beautiful.. having an old device with latest os make me happy.. happy enough to create acvount and comment..
    5
    Update 03.05.2022 & 05.05.2022:
    • Synced with latest LineageOS sources
    5
    hi guys i just wanted to say i found a gapps pack that works just download nikgapps and install google play manually