yashsingh1/xdaforums huggingface dataset:
[Android Head-Units] adrianmanta10:
Setting an amplifier with an Android HU

Hi all,

for sometime i've purchased an auto amplifier for improving the sound quality in my car.But, to my dissapointment, my android HU has not the android audio quality i was expecting....so i started to do some measurments, to see what are the limits and how could one combine the different factors to get good audio out of the HU. The basics of setting an amplifier are: HU clipping point,adjusting the gains on the amplifier and waking your neighbours up with your music. Simple,heh? Not so much...because these HU are a nightmare regarding the progamming/coding of the different modules( audio,BT,Radio,A/V in,etc)

Step one- tapping into your speaker system:there are 2 ways- High Level( tapping direct into the speaker cables) and Line Level( the RCAs output). I always go with High Level,because the RCAs ob these unit are not to rely on. So, all the values here are from tapping into the speaker cable.

Step two- HU clipping point. Every HU has a clipping point. To determinate where that is, you will need a oscilloscope( Amazon, Longrun DSO 138- 22 Euro) , a multimeter and a 1000kz test tone@ 0 dB. In the Factory setting you can find the Gain seting(under Volume tab). The Gain adjusts the loudness of the sound and the power that fills your speaker.Here is what i measured:

Gain Voltage [MENTION=383406]volume[/MENTION] 30 Voltage@HU w/o clipping

0 6,63 6,63

1 8,31 8,31

2 9,40 8,41/Vol 29

3 10,60 8,43/Vol 28

4 11,25 8,44/Vol 27

5 11,68 8,42/Vol 26

6 11,97 8,40/Vol 25

so to sumarise:beginning with Gain set at 2, your unit wil clipp at Volume 28,27,26....until 22(Gain set at 10) and the unclipped voltage stays at 8.40 V ACc .Because you should take advantage of the full scale of the volume bar- there is a progression in the volume when you press louder- the value 2 is the best option:it will give you the full volume scale(vol 29 inclusive), the loudness level is good(you could use gain 4,5 or 6,for example,but at low volume, because of the loudness, the sound will be too loud) and get the full unclipped voltage the unit has to offer. The value 3 its good but until volume 20/21, after that the loudness is way to much. Without an amplifier, you could get 4*17.6 W out of the HU.(Ohm's law)

Step three- setting the gains on your amplifier: you will need the oscilloscope and a test tone.Regarding the test tone- you should use a negative dB, for 2 things: headroom and Sound Pressure Level. For pop music, go with -10 dB;for bass boosted music choose -5 db. I go with -7.5 dB, because i find it a good compromise between SPL and headroom. Play the test tone at the max volume without clipping(29, if you set Gain on the HU at 2) and using the oscilloscope, turn your amplifier gains untill it clipps.

Step four-enjoy...;)

*this is a crush course. Ask for clarifications.

** i could do RCAs output measurments, if needed., sometime over the weekend.

*** i'll try to do some measurments for BT module- clipping point and voltage- its more difficult,because of the 2 Volumes combining(HU and your smartphone).

Thanks for reading and keep it loud,but safe!
[Android Head-Units] ionizing:
Thanks for all the information in this thread! I was able to update the firmware and MCU and then Root my 7" Pumpkin android 9 HU purchased from Amazon, all thanks to the information in this thread!

The only thing I would like to do someday is pair a BT 4.2 device to these HU so that an app can see a piece of hardware. Specifically, I have an audio control DM-608 with a nice Android app that uses bluetooth to communicate, but of course these head units seem to restrict that ability. I am tempted to start buying bluetooth dongles and see if any work, but after all the reading I've done on these forums, I still don't think it is possible to pair bluetooth hardware like mice/keyboards/DSP units. If I ever figure it out I'll report back.
[Android Head-Units] xdamember2:
How did it go with the battery and signal status? I am still on the 11/1 ROM, not sure if it's worth updating to 11/11. Everything else is ok lately. :)
[Android Head-Units] T5rider:
I didn't notice real changes between 25/09 and 1/11 ROM, I can't see the phone battery and signal status on my system. I will stick to this for the moment, except if someone posts a changelog with interesting features. Thanks to all contributors anyway!
[Android Head-Units] WyRex:
Need help please

Hello all,

I have installed KLYDE 10.1 head unit but I noticed many problems and don't know whether software or hardware problems and I need your help guys to find out or to fix them.

The Android version is 9 (March 5th, 2019) MCU (CSN2_D_08172019_142405) PX5.

The issues are

1- Slow and lagging WiFi

2- GPS hardly shows location needs many tries and does not follow the road when I use a navigation app.

3- Radio loses channels and needs to search and save them again.

4- My car equipped with park assist which is the sensors cove 360 degrees but on the screen, only front and back sensors appear.

Thank you
[Android Head-Units] xdamember2:
1 & 2 are not issues for me, with the current ROM & MCU. I can't comment about 3 & 4.:D
[Android Head-Units] WyRex:
Do you have the same Android version 5th March? Or newer/older one?
[Android Head-Units] WyRex:
hello. there.

MY OS version now is March 5th, 2019 MCU CSN2_D_08172019_142405 MCU with DSP

can I update it to

September 25th 201909251350 + MCU CSN2_D_08172019_142405 MCU with DSP

same MCU but don't know whats this no. (201909251350)

need a quick answer to start to update it.
[Android Head-Units] xdamember2:
I am running the November 11 ROM which I installed last night. My HU original ROM was newer than March 5.

I noticed in this ROM the option to enable video when the vehicle is detected "stopped" according to GPS. The BT phone signal and battery indicators are again not working.

---------- Post added at 06:06 PM ---------- Previous post was at 06:02 PM ----------

The number means the ROM is release number 1350, dated September 25th 2019. I never had a problem with updates but they do wipe the system.
[Android Head-Units] WyRex:
Thank you for reply, have nothing on it to worry about, all I hope to solve some issues that I have that I have mentioned before.
[Android Head-Units] _yuzo_:
Added Nov 12th and Nov 27th android 9 firmware.

I have no change log, as the manufacturer does not give that, but Nov 27th firmware has a bit more options in car settings related to driving. Enjoy!
[Android Head-Units] joefx13:
Debating if it’s worth flashing over the 11/12 version. Do you know what additional settings are available?
[Android Head-Units] WyRex:
Is it ok to flash with last one even if with different no.? I choose the one which matches with the current?
[Android Head-Units] xdamember2:
Yes it's ok just match the Android version 8 or 9.

Could use a screen capture of the latest car settings. It's a several hours job for me to upgrade.
[Android Head-Units] WyRex:
Mine is Android 9 MCU is (CSN2_D_xxxxx), do I have to flash it with a rom that has the same MCU or use any MCU as long as its same Android version?:confused:

and you as programer are you able to change some of the things in the OS like the ugly look of the sensors when reversing? I tried to upload a photo but I could not it said upload failed.
[Android Head-Units] xdamember2:
I understand one needs to match having or not a DSP. So in your case an MCU with the _D_ is advisable. However the sticky post is confusing, it says "with dsp" but the file name does not indicate this so try at your own risk. I did not try it myself. Mine is without dsp. If it is wrong the result should be no sound and just flash a different MCU.

I'm not too focused on the GUI, my mods have been rooting and changing the sleep behavior. It should be possible to tweak the GUI like other HUs. Apktool works as does Jadx.
[Android Head-Units] WyRex:
Thank you for reply, Actually I'm not gonna take that risk, leave it at it is even with the issue that I have and don't like, waiting for someone to make a perfect rom has everything we desire, especially the ugly look.
[Android Head-Units] WyRex:
Many thanks, would you tell me if it fit for (MCU CSN2_D_08172019_142405 MCU with DSP) to flash mine with it? because you did not add to it further information at the sticky note.
[Android Head-Units] _yuzo_:
It is better to install the most recent MCU CSN2_D_11122019_095835 as some changes in android part may rely on it.
[Android Head-Units] jimb76:
Got an Erisin with the same MCU.

I spent ages trying to install viper4android (until I realised you can't)

While trying to get it to work I installed SELinuxchanger and set it to enforced. Which I had to wipe all apps to get it going again from the recovery options.

However since then (installed SELinuxchanger again and it's now on permissive) no USB or SDcard will recognise , all will say corrupt and I need to fix. Even if I go fix and it completes it "successfully" still doesn't show up. (all the cards and drives work fine on computers)

Any ideas as I want to go back to original by installing the original Update.zip file? however can't without USB or SD. If I can't get them working again, maybe there is another way to install from internal memory?
[Android Head-Units] DariuZa:
Can I update?

Hello everyone. I have an Android unit from AOTSR. Android version is: 201905080941, and MCU is: CSN2_04162019_112307. In system settings is shown that this is Android 9. Also the seller told that this unit has DSP. So is there chance to update this unit?

Sorry for my bad english.
[Android Head-Units] liamstears:
Hope someone can help, I've managed to fry my LCD (dropped some solder on it without realising) a small amount of smoke later and now my LCD won't turn on!

Checked the board and the only faulty bit I can physically see is the resistor in the pictures

Anyone know the value or can share a picture of their LCD so I can attempt a repair?
[Android Head-Units] WyRex:
I have another brand but same system, the updates are the same just fixing some issues, so if you have any issues just post it might be find help.

The sticky post has the last updated version of OS, just check you OS date.
[Android Head-Units] DariuZa:
No issues for now, just wondering which update is suitable for. Want to update mcu, but according to sticky post my MCU is from Android 8, but in the system settings is shown Android 9. I'm a little bit confused.
[Android Head-Units] liamstears:
Anyone have problems with subwoofer output? I currently have an issue that the phase is incorrect, also there is no toggle to switch phase of the subwoofer. Is it possible to change the phase using adb commands maybe? Or possibly modify the APK and add a switch? Hope someone can help...
[Android Head-Units] xdamember2:
After running the "no kill" version for a while I find it will do a cold boot too often. Now I've restored the call to close processes when going to sleep, and instead I've edited the white list that applies to all processes, and the blacklist for system processes. I will see if this works better.

Edit: the code I posted above doesn't appear to have the whitelist, but there is one in later ROMs.

Update: My unit is still cold-booting. I am going to try without root.

Update: it still cold booted, maybe a fan will help.
[Android Head-Units] djwieli:
Hi all,

I dont know If I'am right here :)

I bought for my ford smax a pumpkin radio unit 3 weeks ago.

My head unit has the following details:

- Modell: PX5

- Android Version 9

- 64-Bit 8-Core Cortex A53 1.5 GHz

- MCU: CSN2_05312019_173534

- Buildnumber: 201906111729

Is the software discussed in this thread the right one for me?

Thanks

djwieli
[Android Head-Units] sambhasanbiswas:
Head units RockChip PX5 with MCU CSN2 and CSN2_D (Android 8.0.0/Android9.0.0)

Yes, you are in the right thread.

You will get all help and info from this thread. You can refer to the first post for more info
[Android Head-Units] alo06:
I'm trying to flash the 27th nov update by following steps above. It doesnt work.
[Android Head-Units] _yuzo_:
Please try to use smaller USB stick (2-16Gb). As a rule your error appears on big volumes.
[Android Head-Units] _yuzo_:
Try to install android in the way 3 described there

According to MCU number that does not have DSP. You can use any Andriod firmware from Android 9 section and any MCU (from both sections) without _D_ in its name.

Please also post that on 4pda. There are several people who is going to disassemble unit and install the radiator because of overheating. Maybe someone will take photos of display for you.

You can use MCU from both Android 8 and Android 9. The only point there is DSP. Look for _D_ letter in MCU marking
[Android Head-Units] DariuZa:
How to backup current android firmware?
[Android Head-Units] lew26:
I'm having an issue getting USB tethering working. I turned on developer options and select the option on my phone. I can create a hotspot with my phone. Do I need a third party app? Do I need an OTG cable/adapter.

Not sure why more people don't use USB tethering. Everything I've read indicates the speed is better and battery drain on the phone is less.
[Android Head-Units] Tom.Macchi:
As far as i'm aware of, every android phone (At least with the stock firmware) is capable of usb tethering. No need of developer options neither.

Just connect the usb cable and go to settings >> network & internet >> hotspot & tethering >> usb tethering >> set usb tethering on

That's it.

(It won't work without connecting the usb cable first and also I had to install a custom firmware since the phone came with stock T-mobile firmware unable of tethering).
[Android Head-Units] Skysurfer14:
Sound mixing issue

Hi there, I have a little issue with my new Pumpkin PX5 (Build 201911231230, MCU CSN2_1062019_143526). For navigation I'm using HERE WeGo with german female voice. In the voice prompts of the navigation some words are missing. For example "After --- turn left" .

I suspect that the speech output is a bit too slow and therefore this effect occurs. Is there a way to modify the time-settings for the sound mixing?
[Android Head-Units] lew26:
I have a G9. I bought it,full price, retail. I can set USB tethering on. Using the Samsung cable which came with my phone I don't get any internet on my HU. (I previously tried an Anker cable but decided to eliminate one variable) Tried chrome and playstore. No internet Googling suggests USB tethering with a tablet requires an OTG USB cable. I don't see any mention of requiring a special USB cable in these forums. I don't think a HU is the same as a tablet. I can create a mobile hotspot and use wifi. I'm using cricket.

Any suggestions before I give up. I tried connecting directly to the female USB cable from my HU and through a powered hub. Phone and HU are both on 9.

I didn't see any setting on my HU to accept USB internet (I know poor choice of words).
[Android Head-Units] WyRex:
Hello all,

My GPS antenna shows one sat only, I don't know if the problem with antenna or it location or the software, so I decided buy USB gps antenna or thumb drive gps, but I'm wondering if they gonna work through usb instead the original one.
[Android Head-Units] Tom.Macchi:
Maybe try it first setting all the networks off on a computer, and then connecting the phone on any free usb port with the Samsung cable. If the computer can't connect to the network, there is something odd with your phone. If not, the problem is on the HU. (Also check the wiring diagram on your HU. There should be a special usb port for 3g/4g modems/dongles).
[Android Head-Units] lew26:
Thank you. Works fine off my computer, I disconnected my cat 5 to be sure. Both my USB ports on my HU are labeled USB 3g. I'll go through all the menus on my HU and see if there is some port configuration. Otherwise I'll buy one of the OTG cable/adapters and see if it does the trick.
[Android Head-Units] elviron:
PX5 with CSN2 and DAC USB

Hello! I have a problem with my PX5. Recently I have bought a Dragonfly Black v.1.5 and have plugged it into my HU (I did this because of very poor sound quality going out of the original RCA output). Unfortunately Android doesn't recognize it. After tens of hours spent with my device and Google looking for any solution I have realized, that I don't even have a proper Android driver in the kernel (snd-usb-audio I think). When I have installed USB Audio Player PRO, everything has worked great and the sound quality was excellent. But I want to achieve two things:

1. Get DAC USB working also with other applications, YouTube, FM Radio, Google Maps etc.

2. Control volume of DAC USB by the system (not only by the app) and steering wheel.

I started looking for some updates to my HU. I have installed Android 8.0 version 201906180853 + MCU CSN2_10112019_145049 from this thread, but still there is no driver there.

Is there any chance of getting this HU to work with DAC USB in all apps and having control of the volume in Android? Would Android 9.0 be the solution? I would already try this on my own, but I don't want to loose the guarantee by disassembling my HU, at least not until I will be 100% sure, that it will help.
[Android Head-Units] WyRex:
I had problem with steering wheel control due to wrong CANBUS that's cam with HU once I changed it everything works fine.
[Android Head-Units] elviron:
I think my CANBUS is OK. I have volume control in "normal" cases, when sound output is RCA. Only when i play by DAC USB I cannot change it. I'm pretty sure that it's because of Android, which doesn't see my Dragonfly Black.
[Android Head-Units] Azumi4:
is there a way to put the "outside temperature information" on the status bar?

its already on the "car info" app only
[Android Head-Units] elviron:
Press the OUT button on the panel below the screen.

Can anyone help me with the DAC USB problem?
[Android Head-Units] ecolibra:
Hello everyone, I have a problem with my csn2 ... I am Spanish and I have the radio set in Spanish, and I get the settings of android in Spanish, but the car settings menus and the car review menus, change of oil etc .. I only get English, is there any way I can put these menus in another language like Spanish? I have the radio rotated in case it would help ... greetings.
[Android Head-Units] rigattoni:
You need to decompile the related apk and translate it yourself. There is no other chance.
[Android Head-Units] ecolibra:
ok, thanks for answering me, the problem is that I don't know what the apk is since in csn2 I have read that the apk of the car menu is shared with the radio etc ..., in my previous mtcd I did it, but in the csn2 I'm afraid to do it wrong ... can you help me and tell me what is the apk that I have to translate?

Enviado desde mi Mi A1 mediante Tapatalk
[Android Head-Units] adrianmanta10:
Advice

Hi guys,

i have an Erisin HU,but the audio quality of the audio chipset is .. .poor, because of the driver itself. could you advice me towards a HU with a better audio driver?or could i,somehow ,do a driver update/change?

Thanks a lot!
[Android Head-Units] Clandaries:
So there is MTC, CSN2 and MST32.

What is the best choise to buy?

Now i have a MTC-D device but i want to upgrade toan 10 inch radio and there are so many on the marked.

Thank you
[Android Head-Units] adrianmanta10:
Hi,

Off topic:Take a look at Joying....they have a unit with 10" screen and Dsp with digital out,with Intel processor...from what i read on xda they one of the best around.

Cheers
[Android Head-Units] elviron:
Come on, nobody has tried DAC USB? Could anyone tell me at least if a directory /sys/module/snd_usb_audio exists on Android 9 for CSN2?
[Android Head-Units] _yuzo_:
Added an instruction how to upgrade from Android 8 to Android 9 without disassembling. Please see it here.
[Android Head-Units] Clandaries:
Ehm no.

I had one Joying and never again.

Then i take a MTC head unit to get support from Malaysk or Hal9k...
[Android Head-Units] philicibine:
Awesome!! Thanks for your hard work!

Trying this tomorrow morning. Will report back.
[Android Head-Units] philicibine:
Just had success with this on my KLYDE unit!! Only got slightly scared when it failed the first try.. turned out i hadnt copied kupdate.zip to the usb!:D All working now tho. thanks again.
[Android Head-Units] _yuzo_:
Great news! :good:
[Android Head-Units] dorkisbored:
Hi, thanks for that

I updated my Pumpkin Radio and it works fine :good: (latest Firmware and the latest MCU without DSP)

But after the Update, i can´t connect my phone over BT. Is there anything to do in the settings? The Radio do not find any device and my Mobile do not see the radio.

Thanks
[Android Head-Units] _yuzo_:
Factory settings --> FUNC --> BT Settings. Most probably a wrong module is specified there. Please set the one that you have. If you do not know, try IVT140 firstly, then the rest ones.
[Android Head-Units] dorkisbored:
Thanks, changed to IVT140 and now it works:good:
[Android Head-Units] dannycrane:
Could this method be used to refresh a radio with Android 9 already installed?

My touchscreen is not working properly and flashing updates did not solve the problem.
[Android Head-Units] rigattoni:
NO, this is an UPGRADE from Android 8 to 9, nothing else!

The touch screen can be calibrated within the factory settings.
[Android Head-Units] smalik85:
I get the same error. My USB is 3.74 GB.
[Android Head-Units] rigattoni:
Try another USB-Stick. A friend of mine had the same issue. After using another USB the setup worked perfect.
[Android Head-Units] sosaudio1:
Hey everyone... [MENTION=7281201]_yuzo_[/MENTION] is there a way to check for something deep in the android settings? Something I have noticed on my phone and I think too on my Pumpkin CSN2 head unit is something called AGC or Automatic Gain Control. In sound processing it is also considered and called "audio compression". The definition that is out there is "AGC (Automatic Gain Control) is for limiting tracks that have a high volume". But it also attempts to slightly boost lower volume selections to even out the signal. The issue is AGC or compression kills sound quality. When a track is started the android gain control uses the beginning of the track to estimate the gain control, if the song pushes hard on the gain control, you get distortion.

I don't know where you could even start on this _yuzo_ but I think it is probably a setting buried deep in the android sound settings. I don't know if it would live in PROP and therefore be able to be edited there using prop editor or if there is a sound conf file that you could find that in and comment it out. It would go back to probably needing root to fix that file. Or, if there was a way to get the MCU software to reach the android sound settings, you could code in something there. Yes, a dsp would probably fix this.....because....you are going around the android sound control. BUT, I don't feel confident...yet....hacking my mainboard to install a dsp chip. I would like to use a Pioneer DEQ-S1000A. It has an android app to go with it. But, I am not sure you can use the hardware volume control or if you have to use the software.

Thanks for all the work everyone in getting this to work and sound good

Rich
[Android Head-Units] rigattoni:
Did anyone find a way to whitelist apps?
[Android Head-Units] atalmatal:
hello my friends

afte update my device zlink app removed

where i can download it again and use appla carplay?
[Android Head-Units] _yuzo_:
Added a new android 9 firmware. See the first message in the thread.
[Android Head-Units] WyRex:
Thank you, would you provide a full information about it, like what new, if it fit for csn_d with dsp?
[Android Head-Units] _yuzo_:
Android part does not depend on DSP, MCU firmware can be recognized by _D_ letter in its version. Unfortunately, the vendor does not share the changelog with us :(. I can only say that 4pda users confirmed that some bugs related to canbox adapter are addressed.