yashsingh1/xdaforums huggingface dataset:
[Android Head-Units] IG_Vasilich:
@realzoulou

maybe you have an idea...

if CPU load on my SoFIA Android 6 HU gets higher, then the sound from DAB-Z gets interrupted - for a short time, but quite often. The signal strength is (almost) always BEST, and doesn't change even when interrupts are happening. Mostly happening when Torque is running in background, or with navigation software (e.g. Sygic) in foreground.

This doesn't happen if playing sound files with any music player.

Could it be kind of problem with USB (DAB+ adapter is connected via USB hub)?

Or are there some settings in Android i can try (i don't know any that can be nearly related to this)?

Or any other idea?
[Android Head-Units] okij:
@IG_Vasilich: It might be that the CPU of your head unit is just too weak to handle those tasks in parallel without interruptions.

Sygic is quite ressource demanding. Please try if deactivating 3d view of buildings (if you have it enabled) helps.

Maybe @realzoulou could add an option to set the priority of DAB-Z for multitasking. I don't know if this is possible in Android.
[Android Head-Units] NogenLunde:
Similar behavior on the strong Snapdragon 625 units. In fact, just launching the HU Options menu makes the sound stutter for a moment. The stuttering is similar to what I experience when switching stations (reported a while ago).

Could you try version 1.7.75? This is the last version that has no stuttering on my Snapdragon 625 unit. If this version behaves nice also on your unit, we might have a clue. Perhaps CPU specific optimizations in later versions is to blame?
[Android Head-Units] chien2talus:
Hi guys can you help me finding the apk of DAB Z NO USB

the one working without USB ?

My dasaita HU has a special connector > no usb
[Android Head-Units] realzoulou:
Will be fixed in next version
[Android Head-Units] realzoulou:
The Dasaita DAB box is not supported by DAB-Z (and never will be)
[Android Head-Units] realzoulou:
I already have done everything I can in order to give all audio threads the maximum allowed priority. Nothing can be improved anymore for me.

@IG_Vasilich: I assume you have reactived Timeshifting. This continously adds CPU load on top of your Intel Sofia CPU. Maybe you really want to look for a new HU ;)
[Android Head-Units] chien2talus:
Ok thanks for your answer, any ideas of what other app I could use with my DAB Box? Dasaita has not answered my messages yet
[Android Head-Units] TorstenH:
YHX-DAB+W8-S1.38.zip - Google Drive

YHX-DAB+W8-S1.38.zip

drive.google.com
[Android Head-Units] chien2talus:
Thx a lot I will try this update
[Android Head-Units] TorstenH:
You're welcome. Please tell us, if it works to help other users. Thank you.
[Android Head-Units] seppen:
Hi Thorsten,

that's I'm serching for some days.

I have lost it on my AA0584B-B01.

Built in DAB+ works now.

Thank you very much.
[Android Head-Units] Zabzd:
Good day.

As of version 1.8.103, it also sometimes happens to me that there is an empty list of stations after launch. After restarting the application, everything is fine. I created a LOG, maybe it will help you.
[Android Head-Units] realzoulou:
Dobrý den @Zabzd. Unfortunately, the logcat is nearly empty. What Android ROM do you have? Do you use a Malaysk ROM ?
[Android Head-Units] Zabzd:
Good day. It's cheap Chinese radio. See photo.

We have already solved it together that he does not have much information in the logs. I tried to send it to you if this error does not appear there. Have a nice day
[Android Head-Units] realzoulou:
DAB-Z release 1.8.105

Change log:

compared to 1.8.104

Changes

* Corrected layout of station details, reported by @IG_Vasilich in post #3237

* Enhanced analysis of NoAudio events
[Android Head-Units] IG_Vasilich:
@realzoulou

any comment on https://xdaforums.com/t/dab-app-real-zoulous-dab-z-app-official-support-thread.3609608/post-84675421 (pause->play continues from pause point when timeshift is active)?
[Android Head-Units] IG_Vasilich:
btw, i have experimented with timeshift - you were correct, deactivating timeshift reduces audio interruptions drastically (actually, it eliminates it almost completely) on my SoFIA-based unit.

My further experiments with priorities have shown, that giving DAB-Z app higher priority also helps, so i will probably live with weak SoPHIA CPU (until it breaks) and just give DAB-Z higher priority (2 steps higher than normal), because i used to timeshift from home use (watching TV via MediaPortal since ages), and don't want to miss it here :)
[Android Head-Units] realzoulou:
Sorry missed this earlier. I just tested this scenario. It is already working as you wish. I tested Play/Pause while in timeshift using the media controls from the DAB-Z notification. What controls are you using?
[Android Head-Units] realzoulou:
How are you doing so? I honestly did not even know that Android allows you to lower/raise priority of an App via any Android setting. Do you use any app for this?
[Android Head-Units] realzoulou:
Hi @NogenLunde Maybe I can find out what is the issue with DAB-Z on your device from a systrace file.

See the video below on how to activate a systrace. The video was made from an Android 10 head unit.

In short:

1. Close DAB-Z

2. Go to Developer Settings, scroll to System Tracing, configure 64K CPU buffers and default categories. Then start to record the trace.

3. Open DAB-Z and change stations maybe 2 times.

4. Then stop DAB-Z and stop the trace.

The trace file is stored in /data/local/traces and is quite huge (>50 MB), so that GMail denies to send it.

Could you get me such a trace?

Spoiler content hidden.
[Android Head-Units] rowan112:
Hello i have a PX6 android 10 headunit. I am getting signal but i cannot seem to hear anything.

It was able to get all the stations showing
[Android Head-Units] TorstenH:
Switch audio output for testing. Eg. to phone or another channel.
[Android Head-Units] realzoulou:
What DAB-Z version are you using? Is this only with BBC Radio 2?
[Android Head-Units] rowan112:
Done that, it didn't fix it

I am using the latest version just freshly downloaded from the playstore. Na it was with all the stations.

Okay so weird thing is that i restarted my stereo and it started working.

I have done it like 5 times now and out of those 5 times ever since it was working is that it has failed only once, so idk how to repeat it.
[Android Head-Units] rowan112:
is there a way to check if my DAB signal is being boosted?

I am using a focus mk3 2014 and from what i've seen there's two fakra connectors which one of em is for FM/DAB and the other is for phantom power. I have purchased a dual fakra to single fakra then a fakra to dab/fm/power.

I have connected the power to the ACC which delivers 12v.

Does the app have a way to check if i have boosted it because i am noticing my signal does drop a bit, i live in the suburbs in uk so i shouldn't have that bad of a signal.

might do a trial where i don't connect it to the phantom power and just send it to the dab/fm fakra.
[Android Head-Units] realzoulou:
The signal bar icon is the only thing in the app, that can help to see if reception drops or increases when playing around with the phantom power supply.
[Android Head-Units] Adam1942:
@rowan112are you sure that's that's case? I read the same all over the web..White phantom power and black fm/dab but I get FM on white and DAB on black on my 2015 Fiesta ST

Also @realzoulou app is excellent thank you.
[Android Head-Units] pug304_:
Hi @realzoulou,

since some days i get randomly "perform station seek" (Sendersuche durchführen). After stopping the app and restart everything work as expected. i will forward a system wide loccat
[Android Head-Units] NogenLunde:
Thanks for looking into this again!

I have now made this trace file, 13 MB, is it safe to attach it here?
[Android Head-Units] realzoulou:
I received your log. What I see is quite strange. What else did change some days ago?
[Android Head-Units] realzoulou:
13 MB is quite small for a systrace. Anyway, let's see.

Please use a file share mechanism (dropbox, gdrive, filedropper.com, etc.) and just add the link here, or send to my email address.
[Android Head-Units] pug304_:
to be honest, no glue! beside some updates of apps via Google play store nothing
[Android Head-Units] rowan112:
i don't really know tbh, everyone says white for power and dab/fm on black.

I have tested it on both, i have tapped into ACC on just black fakra and ACC for both black and white fakra. i get the same outcome in which the DAB signal is amplified and works good.

So i don't know.

I have noticed that my signal isn't that great though in area and i live in a urban area. some places it's good, other places it's bad
[Android Head-Units] acain:
DAB-Z is a really excellent app. I use everyday in the car :)

One item which I would appreciate is if the app honored the media keys.

e.g MEDIA_NEXT, MEDIA_PREVIOUS, MEDIA_PLAY_PAUSE

When my steering wheel remote buttons are pressed it sends these KEY_CODES . Most audio plyers respond appropriately however, DAB-Z doesn't.

Thanks for your app.
[Android Head-Units] Zabzd:
Good day.

I had the same problem. I found out that the DAB-Z application starts at the same time from the Android system and the launcher. When I removed DAB-Z from "run at startup", it didn't work for me anymore.
[Android Head-Units] IG_Vasilich:
if you mean this

https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_MEDIA_NEXT

then DAB-Z reacts on these keys. I checked it with my self-written app, and all mediaplayers tested (except of built-in Joying media player) react on these events - DAB-Z also. So it works for me to control DAB-Z from steerig wheel buttons and from launcher widgets. So check in LogCat whether such events are fired for broadcast.
[Android Head-Units] 0xt0mt0m:
So my problem is still there :(

Active USB-C hub with USB DAC and DAB+ connected.

There is no DAB+ station found / signal strenght goes to zero when USB DAC is connected.

I have tried to extend the DAB+ device with an 1m usb cable, but no success. Could it be software related?

Also groundshield the DAB+ device changes nothing.

Many thanks in advance.
[Android Head-Units] ptexas:
Hi, I just bought and installed a new Android Head unit for my Hyundai iX35. I also bought the DAB+ adapter from the same seller. The seller also sent me the DAB+ app YHX-DAB which I found quite useless. Then I found the DAB-Z and am very pleased with the look and feel of it. But here's my problem. When I scan the stations I find al lot of stations and they all provide their logo. But many stations have a poor or bad signalstrength. I looked a bit closer and I found out that stations that broadcast in the 7D band (194 MHz) have no signal at all, Stations which broadcast in the 7A band (188MHz) have a bad signal with a lot of noise and Stations that send on other bands like 12C (227 MHz) have a strong signal and are perfect. So my problem is that all of our local radio stations I would like to hear seem to transmit in the 7D band and are not receivable for me.

Is this an issue with the app I can modify somewhere in the software or ist it a problem with my hardware I can fix by changing my cabling? Or do I need a other adapter or antenna? I believe I have a Seicane USB adapter with a sticky antenna that ist mounted on my windshield on the passenger side.

I am glad for any suggestions or tips.
[Android Head-Units] TorstenH:
Just want to provide the background of Junsun V1 which looks nice in DAB-Z:
[Android Head-Units] IG_Vasilich:
@ptexas

windshield-sticked antennas are proved to be bad in most cases. Try to use any other antenna.

As i have wrote here already - i exchanged my built-in car amplified FM antenna + windshield-sticked DAB antenna with that one https://www.amazon.de/gp/product/B073R8KW7F and now I have absolutely no problems in receiving any local DAB stations, and even get stations transmitting over 100km away from here (info for germans - living in Mayence, RP, i get stations from Bavaria and Unterfranken). I hoped it to be better, but haven't expected soooo much difference to sticked antenna...
[Android Head-Units] ptexas:
Thanks for your tip. Do I also have to replace the DAB+ decoding box or will this antenna work with my box? Because it has a MMCX connector an I'n no fan of adapters. For this antenna I would need a SMD - MMCX adapter.
[Android Head-Units] IG_Vasilich:
I bought this because it has SMA (not SMD!) connector to DAB - exactly what my DAB adapter has. You can try to search similar antennas with other kind of connectors (on same link there is also other variant with SMB connector) before buying adapter (like this https://www.amazon.de/Eightwood-Antenne-Adapter-Stecker-Wirelesse/dp/B01E565KTK).
[Android Head-Units] TorstenH:
MCX is not an usual connector and I had to use an adapter, too.
[Android Head-Units] Chrisu02:
@realzoulou

I want to do some DAB+ amplifier testing, i saw that DAB-Z does have a digit value of signal strengh at non OMRI Mode, do you have any tips for me how to read that value ?

Is it somehow calculateable to dB ?, is it a linear value or somehow progressive ?

:) Kri
[Android Head-Units] realzoulou:
No dB value (afaik). It's a somewhat proprietary value.

The lower the number, the better. This is the mapping for non-OMRI mode.

0..100 : 5 bars

101..200 : 4 bars

201..300 : 3 bars

301..400 : 2 bars

401..900 : 1 bars

>901 : 0 bars
[Android Head-Units] #marcg#:
hi,

last week, i had the great idea to update DAB-Z from .96 to .105 (current version). I have now several probs with dab-z :

- HarmonyFM wont play anymore (80s German station), Signalmeter is full green, but no musik. Switch to an other sound-output-channel has no effect...

- no sound after standby of the Headunit. Signalmeter is here full green too. Reboot fix this and close the dab-z app and restart works too.

I am testing several versions down to .96, but no luck. .96 is the latest working version for me.

Never touch a running system :D

My HU is a MIC AV8V5 / PX6 / Android 9 with Malaysk Full-Firmware

See attached Log Files

Greetz

mgreen
[Android Head-Units] realzoulou:
@#marcg# first log 17-50-46 only shows "hr1" (Fury in the Slaughterhouse, nice!), no harmony.fm in that file.

2nd file 17-54-57 starts with hr1, then switch to harmany.fm and then strangely no relevant info in the log anymore.

Could you create a raw recording of harmony.fm for me? See post #1 under b) raw recording ...
[Android Head-Units] #marcg#:
Here it is....see attachment

Im doing the following :

- upgrade .96 to .105, enable rawrec, switch the station to HarmonyFM, close DAB-Z & restart my headunit

- the HU comes up, dab.-z starts with HarmonyFM without sound, Signalmeter full green

- changing the station to FFH and PlanetRadio, both no sound, Signalmeters full green

- changing the staion to HR1, Musik comes up, all ok

- remove my carkey to standby the HU

- insert back the carkey and switch on the ignition

- the HU comes up, the station shows HR1, Signalmeter full green, but no sound

- disable rawrec, downgrade to .96, reboot the HU, disable developermode, all fine

Greetz

mgreen
[Android Head-Units] TorstenH:
Having the same problem if I add DAB-Z to the apps which should kept in memory to be instantly available after sleep mode.

Full signal bar but no sound. If I stop DAB-Z in app switcher and restart the app sound is back.
[Android Head-Units] realzoulou:
@#marcg# Thanks a lot. I can now reproduce the issue myself. Something is wrong with a station RFM in the "HESSEN NORD" ensemble. I look into this right now. So far I do not see why ignition cycles make any difference.
[Android Head-Units] realzoulou:
DAB-Z release 1.9.108 BETA​

Changes​

compared to 1.8.105

Full support of automatic/manual Service Following (SF)

See next post for more details

libdab mode is

deprecated

and will be

removed

in future.

Every 10th start of DAB-Z with libdab mode will bring a reminder dialog to switch to OMRI mode.

Spoiler content hidden.

Width of Station List can be configured in Settings->Layout, default uses 40% of screen width.

Only applicable in landscape mode.

In portrait mode (also in Split screen mode), it remains fixed at 50%.

Spoiler content hidden.

Storage location of the DAB folder for recordings, logs and user imported logos changed

Previous location <internal memory>/DAB/...

From now on: <internal memory>/Android/data/com.zoulou.dab/files/DAB/...

This was necessary to support the upcoming requirements from Google on "Scoped Storage" for Android 11. Otherwise DAB-Z would have been taken offline by Google, latest in fall 2021.

On devices with numeric keys you can jump to a station by entering its list position

Spoiler content hidden.

Rounded station list icons

Bugfix for Artist/Title not removed in Notification

Small improvements in low-level communication to USB DAB adapter
[Android Head-Units] realzoulou:
Service Following (SF)​

With DAB-Z version 1.9.108 the feature Service Following (SF) was introduced also to OMRI mode.

The legacy libdab mode based Service Following will be dropped along with libdab mode.

Frequently Asked Questions FAQ

#0 How does it look like?​

Video shows

DAB-Z starts to play recent station "ARABELLA BAYERN"

I disconnected the DAB antenna, signal drops down to 0, audio stops

After a few seconds, SF starts to attempt all 5 stations, which have also ARABELLA BAYERN.

Because all attempts fail, DAB-Z finally selects the original station

Spoiler content hidden.

#1 What is it useful for?​

If DAB signal becomes weak so that audio cannot be received anymore, DAB-Z follows the same station on other ensembles / channel frequencies.

Note: Not all stations support SF.

#2 How do I know if a certain station supports SF?​

In the station list, an SF icon is shown for those station that support it.

For the current station another bigger icon is shown, which turns to green when SF is possible.

DAB-Z uses ONLY the information provided by the station over DAB.

If a station does not provide such information, SF cannot work.

There are no backdoors or any file that you could modify to add stations (unlike the libdab-based SF).

#3 How does it work?​

The SF procedure is not based on the signal strength, which is reported by the USB DAB adapter to the app, visible as signal bars.

I decided to not use this, because quite often I have perfect audio although "no signal".

Instead, SF is triggered upon a drop of the actual incoming audio sample rate.

You can influence the sensitivity of the detection algorithm in Settings->General.

1 = very low sensitivity. SF kicks very late, when no audio samples can be decoded anymore for a while.

9 = very high sensitivity. SF kicks in very fast, when just a few samples are missing, which can be barely noticed by the user.

Default is 5.

#4 Why does it take 1 minute for the SF icon to become available?​

When you select a station for the first time, DAB-Z caches the information until it becomes stable.

This takes typically 1-2 min, because the SF information is repeated only very seldom.

DAB-Z stores this information in flash memory. The next time you select the same station, the information is available immediately.

Of course, DAB-Z updates this information in case it would change.

Information about Service Following (DAB specification calls it also Service Linking) is transmitted for the whole DAB ensemble.

This means that you will see the SF icon in the station list appear also for other stations in the same ensemble, if the station has SF stations.

Can I trigger SF manually?​

Yes. Tap the green SF icon.
[Android Head-Units] royalhawk2002:
Updated to last beta. The app started to act weird. Most of time it starts with black screen and sound in background, no commands are available. Sometimes I see the main screen but the touch screen is not working. I tried also to disinstall and reinstall with no success.

Rolled back to version 105 and everything is ok.

For the moment I left the beta program.
[Android Head-Units] okij:
@royalhawk2002: Thanks for your report. However, taking logs before leaving the beta program would have been more useful for the dev.
[Android Head-Units] royalhawk2002:
You are right but I was away from home and the unit was almost blocked. I need some background music to drive home... 😒

A suggestion to the developer: Could be nice if it could be possible to save all the custom settings in order to avoid to loose them every time the app is reinstalled.
[Android Head-Units] realzoulou:
Since 1.8.105 DAB-Z fully supports what is documented as "Back up user data with Auto Backup" by Google and available with Android 6 and higher.

I did not "advertise" this because it did never actually work for me, although it passed the tests, which Google documents for it.

Besides this Google Backup, the app supports Export and Import of station lists (and favorites). This does not backup settings however done in the Settings menu.
[Android Head-Units] royalhawk2002:
Today I installed again the beta and I found the problem that make the app blocked. The issue is starting when in the setting the station list is swapped. What happen is that the screen became black or the background image is displayed. Clicking on the screen it appears but the image in the center is very small. The list of the stations and the other buttons are not displayed anymore.

All the other setting are working well.

I found another little issue, the folder whith the downloaded logo is not present in the memory, this prevent to import them.

When the issue is present, it is impossible to go in the settings to get a log.
[Android Head-Units] retromann:
When I select the "Swap logo and station list" option, the screen is black after I restart the app.
[Android Head-Units] NogenLunde:
SF shows only for one station, until restart of DAB-Z, then the other stations in the same ensemble get the SF icon.

I also experience the black screen on option "swap logo and station list".

The new animation when switching stations, looks a bit weird on my unit. Some might want to turn it off (do we get an option for this?).
[Android Head-Units] okij:
@realzoulou: Today updated to the latest beta and I have the same issue that @royalhawk2002 described: Sound is playing and also changing channels via steering wheel buttons works, but I see no UI on the screen, only the background image.

Since I can't write a logcat via DAB-Z itself because of the missing UI, I wrote one with Logcat Extreme, which I will send you right now via email.

In the log I see the line

05-03 18:54:28.997 292 533 D SurfaceFlinger: duplicate layer name: changing com.zoulou.dab/com.zoulou.dab.activity.MainActivity to com.zoulou.dab/com.zoulou.dab.activity.MainActivity#1

and the lines

05-03 18:54:30.046 292 397 W SurfaceFlinger: Attempting to set client state on removed layer: com.zoulou.dab/com.zoulou.dab.activity.MainActivity#0
05-03 18:54:30.046 292 397 W SurfaceFlinger: Attempting to set client state on removed layer: Dim Layer for - Task=1147#0
05-03 18:54:30.046 292 397 W SurfaceFlinger: Attempting to destroy on removed layer: com.zoulou.dab/com.zoulou.dab.activity.MainActivity#0
05-03 18:54:30.046 292 397 W SurfaceFlinger: Attempting to destroy on removed layer: Dim Layer for - Task=1147#0
05-03 18:54:30.074 8137 8137 D dabplayer: UsbDeviceHandling: state STATE_STOP
05-03 18:54:30.167 292 533 W SurfaceFlinger: Attempting to set client state on removed layer: com.zoulou.dab/com.zoulou.dab.activity.MainActivity#1
05-03 18:54:30.167 292 533 W SurfaceFlinger: Attempting to destroy on removed layer: com.zoulou.dab/com.zoulou.dab.activity.MainActivity#1

which might be (part of) the problem.

I hope that my log helps you to quickly fix this issue, because it's quite bad for the users on beta channel. I have a common MTCE PX6 device, running on Android 9 Hal9k Mod 4.2.1, so it's likely that other devices are affected too by this bug.

Thanks in advance. 🤞
[Android Head-Units] NogenLunde:
@okij This is really easy to work around, just go to settings and change "Swap logo and station list". If you have disabled the option to go to settings after a crash, just uninstall DAB-Z and do a fresh install.

You might also be able to make a log from within DAB-Z this way. Just start with default layout, start logging, change layout.