[BETA][ROM][Unofficial] ArrowOS 12.1 | Latest release: November 27th 2022 [DISCONTINUED]

Search This thread

xxseva44

Senior Member
May 16, 2019
464
189
Canada
LG V20
Google Pixel 4a 5G
Update time
What's new?

-All dac functions from stock work on 12
-Ported dac filters from V30 (Big shoutout to SGCMarkus for his initial work)
-Enabled Dac AVC volume comtrol (Again, Big shoutout to SGCMarkus for his initial work)
-DRM is now functional
-Immense performance improvements (refer to changelog for more info)

Keep an eye out for new uploads:)
 
Last edited:

sqrtus

Member
Feb 9, 2021
19
0
Sound recording does not work in any application. The system does not seem to see the built-in microphone at all. In the hardware part, everything is fine - I immediately changed it to Lineage OS 18.1 - recording from the built-in microphone works fine. Developers, it's in your firmware. Tested on OpenCamera and Smart Voice recorder

In the Smart recorder application, select the microphone setting, uncheck auto-detect, click adjust the gain, and only after that will you start recording the sound. However, after the end of the recording, the software crashes when entering the list of records - too.
In the OpenCamera application, you need to select "Audio source" in the video settings and select the item: "Optimized for voice" or the item "Optimized for voice recognition" - then the sound of the video will be recorded. However, the software still freezes when starting or stopping recording.
 
Last edited:

ROMSG

Senior Member
Sound recording does not work in any application. The system does not seem to see the built-in microphone at all. In the hardware part, everything is fine - I immediately changed it to Lineage OS 18.1 - recording from the built-in microphone works fine. Developers, it's in your firmware. Tested on OpenCamera and Smart Voice recorder

In the Smart recorder application, select the microphone setting, uncheck auto-detect, click adjust the gain, and only after that will you start recording the sound. However, after the end of the recording, the software crashes when entering the list of records - too.
In the OpenCamera application, you need to select "Audio source" in the video settings and select the item: "Optimized for voice" or the item "Optimized for voice recognition" - then the sound of the video will be recorded. However, the software still freezes when starting or stopping recording.
Try this
 

Attachments

  • LG V20 Mic Fix.txt
    1.7 KB · Views: 15

sqrtus

Member
Feb 9, 2021
19
0
I changed all the given values, didn't change DEC7 in the values:
Code:
three-mic
camcorder-stereo-dmic
camcorder-stereo-dmic-reverse
speaker-dmic-endfire
voice-tty-vco-handset-mic
unprocessed-three-mic
handset-mic-vr
submic-1
submic-1qvoice-mic
mic-vr
camcorder-0
camcorder-90
camcorder-180
camcorder-270
hifi-recorder-0
hifi-recorder-90
hifi-recorder-180
hifi-recorder-270
hifi-recorder-speech-0
hifi-recorder-speech-90
hifi-recorder-speech-180
hifi-recorder-speech-270
hifi-recorder-concert-0
hifi-recorder-concert-90
hifi-recorder-concert-180
hifi-recorder-concert-270
voice-memo-8K
voice-memo
and no change.. What's going wrong? Audio in stock camera application works without audio...
 

Attachments

  • mixer_paths_tasha.xml
    144.1 KB · Views: 4

ROMSG

Senior Member
I changed all the given values, didn't change DEC7 in the values:
Code:
three-mic
camcorder-stereo-dmic
camcorder-stereo-dmic-reverse
speaker-dmic-endfire
voice-tty-vco-handset-mic
unprocessed-three-mic
handset-mic-vr
submic-1
submic-1qvoice-mic
mic-vr
camcorder-0
camcorder-90
camcorder-180
camcorder-270
hifi-recorder-0
hifi-recorder-90
hifi-recorder-180
hifi-recorder-270
hifi-recorder-speech-0
hifi-recorder-speech-90
hifi-recorder-speech-180
hifi-recorder-speech-270
hifi-recorder-concert-0
hifi-recorder-concert-90
hifi-recorder-concert-180
hifi-recorder-concert-270
voice-memo-8K
voice-memo
and no change.. What's going wrong? Audio in stock camera application works without audio...
Try getting a log
 
  • Like
Reactions: d2xTaimen

sqrtus

Member
Feb 9, 2021
19
0
The stock FM radio app seems to find radio stations when headphones are connected, but when you turn on the broadcast, there is no sound in either the headphones or the speaker. Everything works in Lineage OS 18.1, this is not a hardware problem, but something is wrong in the firmware.
 

Hadi99

Senior Member
Jun 16, 2015
319
97
The stock FM radio app seems to find radio stations when headphones are connected, but when you turn on the broadcast, there is no sound in either the headphones or the speaker. Everything works in Lineage OS 18.1, this is not a hardware problem, but something is wrong in the firmware.
How did you get FM Radio to work on Lineage?
 

xxseva44

Senior Member
May 16, 2019
464
189
Canada
LG V20
Google Pixel 4a 5G
The stock FM radio app seems to find radio stations when headphones are connected, but when you turn on the broadcast, there is no sound in either the headphones or the speaker. Everything works in Lineage OS 18.1, this is not a hardware problem, but something is wrong in the firmware.
Yes there is an issue with either the the mixer paths or audio props that needs to be addressed. However, how are you getting the fm app to work on los? Are you using the 4.4 kernel or just los stock?
 

sqrtus

Member
Feb 9, 2021
19
0
You said you used the fm app on lineage, how did you make it work? Los does not have the required packages or the V4L2 bcrm driver to support fm. Also, arrow is not firmware, it's an operating system, OS.
What are you talking to me about? Inside Arrow OS 12.1, there is already a system FM radio application that seems to search and find stations, but no sound is played. I'm not speaking about LOS.
Also often hangs when starting or stopping recording, the camera application or OpenCamera. If the camera application is frozen, then the logo just hangs on restart, but the application does not start.
 

AShiningRay

Senior Member
Sep 1, 2021
147
67
Xiaomi Redmi Note 4
LG V20
The stock FM radio app seems to find radio stations when headphones are connected, but when you turn on the broadcast, there is no sound in either the headphones or the speaker. Everything works in Lineage OS 18.1, this is not a hardware problem, but something is wrong in the firmware.
As you said yourself: "Everything works in Lineage OS 18.1". Maybe you confused something in that sentence, but it does imply that you got FM and broadcast working on LOS 18.1, which has neither rom nor kernel support for hardware FM since it runs 3.18 with many FM parts stripped from it.
 
  • Like
Reactions: xxseva44

xxseva44

Senior Member
May 16, 2019
464
189
Canada
LG V20
Google Pixel 4a 5G
What are you talking to me about? Inside Arrow OS 12.1, there is already a system FM radio application that seems to search and find stations, but no sound is played. I'm not speaking about LOS.
Also often hangs when starting or stopping recording, the camera application or OpenCamera. If the camera application is frozen, then the logo just hangs on restart, but the application does not start.
Camera is unstable, as I've described on the wiki page.

Also, Post in thread '[BETA][ROM][Unofficial] ArrowOS 12.1 | Latest release: November 27th 2022' https://forum.xda-developers.com/t/...ease-november-27th-2022.4488381/post-87815907
 

MinoForge

New member
Feb 11, 2019
1
0
Hey folks, really happy to see this development! Hope it goes great places. Looks slick as anything

I have a somewhat related question and I hope its okay to ask here. I know that VoLTE hasn't worked for any custom roms, and I'm interested in the problem. To be clear, I'm not asking for a miracle from you guys. This is a purely exploratory question for my own benefit. I am considering attempting to reverse-engineer some of the (from my understanding) proprietary blobs that make VoLTE work on the stock/stock-adjacent roms.

Have there been any deep-dives into IMS/VoLTE stuff posted?
Maybe notes about how things interact when everything is working happily on a stock(ish) rom?

Again, I'm just curious, and kinda looking for a masochistic hobby RE project. I'm somewhat new to radios/modems/IMS etc, but have some experience with other areas of android and RE. Any pointers would be appreciated.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Aww man, guess I'll wait for npJohnson to make 12/13 for the v20, thanks for bringing us 11 and 12 to the v20!!
    The los19.1/A12 builds will be released soon Keep an eye on the official los 19.1 thread as it's already up.
    Also, no problem:)

    I might still make builds here and there in the future.
  • 11
    logo.png

    ArrowOS

    Code:
    /*
    * 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.
    *It is your fault because you chose to do all the modifications on your device.
    * Remember projects like these and the work done on them is a hobby to the
    * contributors and the team members, no one is working for you nor is getting paid for it
    * have some respect for the work done by them since it is done purely on interest or a hobby
    
    */

    DISCONTINUED
    Why?

    __________________________________________________________________________________________________________________

    ABOUT
    ArrowOS
    is an Android Open Source Project based Android mobile operating system started with the aim of keeping things simple, clean and neat.

    Website: https://arrowos.net
    Github: https://github.com/ArrowOS

    Credits:
    @xxseva44
    @AShiningRay
    @ROMSG
    @askermk2000
    @Stealth1226

    Rom details
    Release Kernel: 4.4.205
    Android Version: 12.1
    Adreno Driver: 5xx
    Selinux: Permissive
    Maintainer: Me, xxseva44

    What works and what doesn't?
    Refer to my wiki page:


    Want root?
    Use magisk v25.2, availible here. Change the file extention from apk to zip and flash in recovery.


    Want gapps?
    Use nikgapps, availible here.

    AND A MESSAGE FROM ONE OF THE TWO KERNEL DEVS:


    ####################NOTE#########################

    You MUST update to twrp V3.70 before flashing.

    You can downlaod it here: https://twrp.me/Devices/
    Thanks @npjohnson :)

    FAILING TO DO SO MAY RESULT IN CORRUPT FILE SYSTEM ONLY FIXABLE THROUGH LG UP OR 9008 RECOVERY MODE. YOU MAY ALSO END UP IN A RECOVERY BOOTLOOP ONLY RECOVERABLE BY FLASHING THE REOCVERY PARTITION. YOU HAVE BEEN WARNED

    ##################################################

    TREES:
    ##################################################################################
    ##################################################################################

    CAF display

    CAF media

    Broadcom FM(Modified)

    Kernel

    Dac interface

    MSM8996 common

    V20 variants

    V20 common

    LG common

    Vendor
    ##################################################################################
    ##################################################################################

    Screenshots:
    7
    That's right! We're finally releasing the first 4.4 open beta, starting with Android 12.1 for G5, G6 and V20!

    I'm the one of the main kernel devs on this project, so i'll be adding info on this part of the development and beta testing.

    ________________________________________________________

    To anyone who wants to beta test this and the upcoming CRDroid rom by @ROMSG: We're using a dedicated github organization to handle feedback, bugs, trees and general development.

    That organization is located here, with @xxseva44 moving the trees above to that same org soon:



    If you have any issues that span across multiple roms using this newer kernel and updated device trees, or simply know that what you're facing is something that's bound to happen irrespective of a specific ROM, please open an issue in that org detailing the problem, your phone model, etc.

    ________________________________________________________

    For a list of features that already work in kernel 4.4, we have a wiki page with just that:



    ________________________________________________________

    Kernel issues should ideally be opened here:

    Please note that this kernel is shared by the LG G5, V20 and G6, so when opening an issue, we need to know at least which device you're using, but the model (VS995, H872, etc) can give us more insight.


    ________________________________________________________

    ROM issues will probably work best as xda posts for now, since those are already going to be separated by phone.


    ________________________________________________________

    Quick primer of what to expect:

    For the kernel: It's fast, really fast. Not only did we clean up tons of LGE code from the kernel trees, saving up a lot of memory and overhead, but also added lots of optimizations on top of a custom branch to make what's essentially a mix of @askermk2000's mk2000 and my own SwanKernel.

    For the roms: We've been working with people from G5 and G6 as well, and in turn managed to do a major overhaul of the rom-side blobs, drivers and hals, resulting on much improved performance and stability, even during internal tests.

    For issues: We didn't iron out all of the issues yet and are far from testing those things in a large scale, hence the open beta. We already have some known issues to fix, such as the much slower charge curve, usb OTG not being as fully fledged on the V20 as it was on 3.18, IR working slightly better than 3.18 but still not great, camera still freezing randomly... In any case, most of the other kernel features either work just like in 3.18, or better.



    ________________________________________________________

    Known issues outside of Android 12 and 4.4:

    Both TWRP and SHRP can have issues while flashing 12 due to incomplete support, so be careful and have a complete backup (including the recovery image itself) beforehand.
    6
    Update time
    What's new?

    -All dac functions from stock work on 12
    -Ported dac filters from V30 (Big shoutout to SGCMarkus for his initial work)
    -Enabled Dac AVC volume comtrol (Again, Big shoutout to SGCMarkus for his initial work)
    -DRM is now functional
    -Immense performance improvements (refer to changelog for more info)

    Keep an eye out for new uploads:)
    4
    Update time
    What's new?

    -Fingerprint is now functional
    -Dac is now functional
    -October security patch
    -Extra perf by killing logspam

    Keep an eye out for new uploads
    All builds have been uploaded:)
    4

    DOWNLOADS/RELEASES​

    DOWNLOAD

    VS995:​

    27/11/2022: Uploaded
    ________________________________________________________________________________________________________________

    H990:​

    27/11/2022: Uploaded
    ________________________________________________________________________________________________________________

    H910:​

    27/11/2022: Uploaded
    ________________________________________________________________________________________________________________

    H918:​

    27/11/2022: Uploaded
    ________________________________________________________________________________________________________________

    LS997:​

    27/11/2022: Uploaded
    _________________________________________________________________________________________________________________

    INSTALLING STEPS​

    ********************************************Prerequisites**********************************************​

    1.If coming from stock, you MUST be on NOUGAT FIRMWARE​

    2.Own a v20 (duh)​

    3.Unlocked bootloader (if you are using a us996 or vs995, i can assist you, if not, look around on xda for a guide)​

    ********************************************************************************************************​

    STEPS:

    1.Reboot into recovery via the hardware button combo

    2. Wipe system, data, delvik, cache, system and data

    3.Flash the OS

    4.Flash anything else you want to run (magisk, etc) DO NOT FLASH ANY KERNEL UNLESS IT"S AN UPDATED 4,4 KERNEL

    5.Reboot

    6.Enjoy Android 12 on the V20:)