yashsingh1/xdaforums huggingface dataset:
[Android Head-Units] realzoulou:
[MENTION=6758515]OnkelDeffe[/MENTION]: yeah, the logs only contain the events and logcat messages from syslog itself. No other info in there.

In order to help you understand what is going on in your head unit, I need a logcat. Two options for you if you want to proceed:

a) get root access to your head unit to be able to run syslog

b) capture a logcat from a PC using adb

EDIT: Btw. I guess that some of your system apps tries to send the steering wheel command PREV and NEXT directly to the stock music player app. This is what I have noticed when testing this scenario in my Android Emulator setup.

There is currently nothing that I could think of to change in the DAB App to make it "more compatible" with some head units that don't deliver the steering wheel controls the the DAP App today.
[Android Head-Units] zurwaq:
just wanted to inform you a new dab+ apk has been released...

https://www.youtube.com/watch?v=3yK...1sacebdtr3kmst0phg1pw03c010c.1509762382165152

download link for the apk is in the description.
[Android Head-Units] rknuette:
Graphicwise the new app is a major enhancement (although the search and favorite button are to close together, I accidentially pressed search instead of the favorites several times). But when in background, the sound is stuttering again. Therefore it is unusable for me.
[Android Head-Units] hans.vinkers:
I thought this one was around for a couple of months already

Verstuurd vanaf mijn Z2 Pro met Tapatalk
[Android Head-Units] realzoulou:
This "new" DAB app is the same crap that showed up some months ago from Witson. Filenames were CZY-DAB+V2.0-170727.apk and a bit older version CZY_DAB+NEW-20170608.apk.

It is still stuttering in the background, which is the main problem of all the DAB App version coming out of the darkness of China.

These "new" versions however send some data via Internet to Tencent servers in China. I did a Wireshark trace of the communication between the App and the servers. I don't know what exactly the app sends (your phonebook?, your emails?, your gmail address?), but I can prove that it sends something.

Those that can read German, find my analysis plus the Wireshark pcap file here: http://www.china-rns.com/m-i-c-rns/...onfiguration-probleme-pimp-52.html#post149641
[Android Head-Units] zurwaq:
sorry.... didnt know that... :) havnt read anything about it.. so i just wanted to share it... :)
[Android Head-Units] Bose321:
That sounds bad. Can you post the link somewhere else? I need to register there to read it.
[Android Head-Units] realzoulou:
Oh, sorry... this was no offense towards you!
[Android Head-Units] realzoulou:
Oh sure, did not consider this. I'll translate my post and add the pcap also here in the next few days.
[Android Head-Units] zurwaq:
no offense taken :D:D:D
[Android Head-Units] hans.vinkers:
So guys I have made the coax antenne after receiving the right connectors for the dab module. I will keep you updated shortly. I just need to find the time to fit the antenna.

Verstuurd vanaf mijn Z2 Pro met Tapatalk
[Android Head-Units] realzoulou:
I analyzed the version H2.02 of this "new" DAB+ App. In the Youtube video above, there is a link to a version H2.03. But I assume that my findings with H2.02 are still valid.

When you first start this App then it sends some data to an IP 203.205.146.45. This IP translates to "rqd.sparta.mig.tencent-cloud.net" and has an alias to "android.bugly.qq.com".

The WhoIs entry for this IP address states:

descr: Shenzhen Tencent Computer Systems Company Limiteddescr: Tencent Building, Kejizhongyi Avenue,Hi-techPark,

descr: NanshanDistrict, Shenzhen

country: CN

During normal operation of this App I did not see that it sends data again, but maybe I have not traced it long enough.

Attached to this post is a Wireshark trace of the traffic between the App running on my PC on a Genymotion Android Emulator (IP= 192.168.178.23) and the Tencent Server.

Within Wireshark you can extract the HTTP objects that are exchanged. It contains binary data, no text. So it is not possible to see what data the App really sends.

You will see that the App posts ~5K of data to the server.

View attachment DAB+20171019-H2.02-only-203.205.146.45.pcapng.zip
[Android Head-Units] Bose321:
Thanks. Nothing really to see there. Is it possible to use a sniffer on the device itself? Because I think you can then see the data before it's encrypted if it being sent via HTTPS.

Isn't there a way to check the .apk to see what it would possibly send?
[Android Head-Units] hans.vinkers:
Okay, today I tried my DIY antenna for dab. I found it at a couple of websites and a load of people where enthusiastic. Not me, maybe I am still doing something wrong... ?

I will share my findings trough YouTube links shortly

Verstuurd vanaf mijn Z2 Pro met Tapatalk

---------- Post added at 11:47 AM ---------- Previous post was at 11:11 AM ----------

https://youtu.be/sSDlcUWrqaM

That's with the window antenna, standing in a spot with good reception (compared to other places)

This is the coax antenna

https://youtu.be/sSDlcUWrqaM

Once it's outside the window, it's a little better but still not as you would assume.

Any ideas ?

Verstuurd vanaf mijn Z2 Pro met Tapatalk

---------- Post added at 11:50 AM ---------- Previous post was at 11:47 AM ----------

https://youtu.be/sOsvlHxLF8Q

The window antenna

Verstuurd vanaf mijn Z2 Pro met Tapatalk
[Android Head-Units] realzoulou:
This is HTTP, not HTTPS. There is no encryption involved. It is just binary data.

The apk is totally obfuscated. There is nearly no Java code in. All the functionality has been put into native libraries. For me no chance to look into them.
[Android Head-Units] hans.vinkers:
Do you mean you cannot see the YouTube video?

Verstuurd vanaf mijn Z2 Pro met Tapatalk
[Android Head-Units] realzoulou:
My response was on [MENTION=8291382]Bose321[/MENTION] 's post. My response and your edit have overlapped.
[Android Head-Units] Bose321:
Ah I see yes. That's too bad. Still questionable indeed... Luckily So this means you will not mod the original DAB app that have this (that's what I hope)?
[Android Head-Units] NigelP:
App crash when scanning and again shortly after starting to play audio

Hello all

I bought and installed an Android 7.1 head unit (Ebay UK item 28268844704) in my 2011 Insignia

Along with a DAB+ USB module (Ebay UK item 282688537054)

Everything but the DAB unit works OK (CANBUS integration etc.) I'm using the supplied window mount aerial, which I suspect isn't good enough, but I'm not sure that's what is causing the problems I'm getting.

The version of the DAB+ app provided by the supplier starts OK and finds the module, but when scanning it crashes android part way through. When I open the app again after android has restarted there are stations listed but when selecting them they only play for a few seconds and then android crashes and restarts again.

I've uninstalled the supplier's version and installed ZOU-DAB+170909.apk and I get the same behaviour, other than I also get the 'connecting' issue when first loading after a cold start of the OS.

Any suggestions as to what I should check or do to resolve the issue would be gratefully received.

I've uploaded a video to Youtube of what happens. As a new member I can't post the link but the unique reference is 37XovKqzqqc
[Android Head-Units] realzoulou:
Yes, I will never mod it.
[Android Head-Units] realzoulou:
[MENTION=8714630]NigelP[/MENTION]: I had a look at your video . When both the original and my modded app version crash, then I suspect an issue with your DAB USB adapter.
[Android Head-Units] NigelP:
Thank you for the quick response

Thanks for getting back to me. The seller has sent me another dongle but I just wanted to make sure there was nothing I should check on the software side. Hopefully the new dongle will solve the problem.
[Android Head-Units] fiffle:
There is indeed the multi-window function, but the DAB App is not designed for it. Can you optimize it so that it fits visually?
[Android Head-Units] pwood999:
Hans,

Move the Coax DIY antenna away from the pillar at least 100mm.

Pete
[Android Head-Units] hans.vinkers:
I have tried it outside the window... Still no luck

Verstuurd vanaf mijn Z2 Pro met Tapatalk
[Android Head-Units] Bose321:
Great! Gonna try it soon. The videos are not playing for me btw.

edit: Btw, if you need a Dutch translation, let me know.
[Android Head-Units] realzoulou:
Just corrected the video links. I think Dutch makes sense, too. I see a lot of downloads from the Netherlands...

I will come back to you ...
[Android Head-Units] Wout2426:
Man, it's fantastic ! Just installed it, renamed few logos to match station name, just great !
[Android Head-Units] Helgeo:
Wow, what a masterpiece - great work!

But of course with software there is always room for improvements :)

It would be great if we could adjust the font size used in the app, now some of the text is quite small and difficult to read from the normal driving position. Also when not showing extra info in the channel list, the channel name should be centered vertically and using a larger font.

I guess the font size is related to the screen resolution?

Anyway, this was a great improvement. And I liked that it installed over the previous version and remembered my favorites.

Will make another donation and I think everyone using this app should do the same. Realzoulou must have spent many many hours on this and deserves to get something back from us.
[Android Head-Units] ZeroZorro:
....and if translating is a lot of work i'm rrady to put in some effort too, just let me know!

Verstuurd vanaf mijn Z1 PRO met Tapatalk
[Android Head-Units] Bose321:
Agreed. Tried it in my car today and it's pretty small on my PX5 (1024x600).
[Android Head-Units] egilkv:
Station logos for Norway

Thanks again to (real)zoulou for keeping up the super work.

The download logos for Norway may be for FM, and did not match the current DAB+ scenario very well.

I have created a new set of Norwegian DAB+ logos. They are supposed to match the current stations offered on DAB+ throughout the country. I have only been able to test the ones for the Oslo area.

Since I am an XDA rookie user I can apparently not post the URL, but hans.vinkers has been kind enough to post it in post #481. Or you can find it if you look for [MENTION=2176930]egil[/MENTION]1car on Twitter.

The logos are in a zip file and should be unpacked and then installed in the user directory per the instructions. Note that if you have downloaded the Volkswagen logos for Norway, they should be deleted since duplicates cause issues. The directory name for the Volkswagen logos is NOR_20161020.

If you find any issues, please tell me and I will try to fix and make updated versions.

Note: there is a new upgraded version that you use instead, see https://xdaforums.com/showpost.php?p=74609879&postcount=487
[Android Head-Units] hans.vinkers:
https://t.co/CCs99O7lwO

That should be it

Verstuurd vanaf mijn Z2 Pro met Tapatalk
[Android Head-Units] syk02jcb@hotmail.com:
Great! Thank you!

Have you made them by your own, or have you found them somewhere? I see that many of the local station names here in west of Norway is missing in your pack.
[Android Head-Units] hans.vinkers:
It's working like it should. Question... Fit the detailed information, do you use system size for the characters? It looks like it is the same font as my clock but I'm not sure (they are very tiny letters)

Verstuurd vanaf mijn Z2 Pro met Tapatalk
[Android Head-Units] egilkv:
I have collected everything myself, and pretty much all of them are reworked. The list of stations is based on what I believe is the official website for DAB+ info in Norway:

http://radio.no/2017/08/lokale-radiokanaler-pa-dab

This latest list is from August, so some things have changed since then. Also, I very much suspect that the list is not entirely up to date with regards to the exact spelling of the station IDs. Anyway, please tell me which stations you are missing (exact station ID please) and I will be more than happy to update.

Egil
[Android Head-Units] egilkv:
I have a couple of bug reports for the 171119 version.

1. This bug has always been there, but with the station logo it becomes more of a problem. On my two Joying Sofia units, the character coding of station names with beyond ASCII characters is wrong. For instance, the 3 letter sequence "Øst" is displayed as a Chinese character. See https://t.co/T8M6RZUQUn

Examining the "dab.db" I find the coding for the 3 letters as: 0xe7 0xb3 0xb4. However, assuming UTF-8, the coding in the database should have been: 0xc3 0x98 0x73 0x74. If we assume EBU coding, the incoming sequence over the air would be 0xe7 0x73 0x74.

Another example is 0xf3 0xb3 0xa2 0xb9 in the database, which should have been 0xc3 0xb8 0x73 0x62 0x79 in UTF-8. Again, assuming EBU coding, the incoming data should have been 0xf7 0x73 0x62 0x79.

Having studied this in a bit detail, my main theory on what is happening is that the data for the Service Label (i.e. station ID) over the air is coded in the EBU set, but that somewhere in the receiver it is wrongly interpreted as UTF-8 coding instead. The incoming is actually not valid UTF-8, but the leading byte is, and one can assume that a naĩve UTF-8 decoder tries to "correct" the remaining bytes. For reference, the EBU set is in http://www.etsi.org/deliver/etsi_ts/101700_101799/101756/01.06.01_60/ts_101756v010601p.pdf Annex C.

Interestingly, the running text from the station is fine.

On my Ezonetronics Allwinner T3 unit, the station names work just fine.

2. On a new station scan, the old stations all disappears, regardless of whether they are favourites or not, regardless which option is chosen. As an additional comment, perhaps we could have an additional options giving the old behaviour, which I find useful.

Cheers,

Egil
[Android Head-Units] syk02jcb@hotmail.com:
Thank you! - I’ll check out your tip, and let you know if I need you to help further...
[Android Head-Units] egilkv:
There is now a significantly updated version of the Norwegian logos, updated with new data for the entire country:

https://www.dropbox.com/s/ouo4dskp76am9jk/NOR_DAB_20171129.zip?dl=1

The logos are in a zip file and should be unpacked and then installed in the user directory per the instructions. When installing, remember to erase all the old logos first.

Please tell me about any issues, and I will try to maintain this as best I can.
[Android Head-Units] Robotson:
This might be a silly question, but will this app work on my Erisin HU too? It came with an app called DAB+, and when I go to install zoulou's app, it says "are you sure you want to update this app" - so I'm guessing this means it is the same app? :) However, if I find it doesn't work with my unit, how will I reinstall the original DAB+ app? Will I be able to just select "remove updates" on the app to revert to the original? Or will I have to find the original DAB+ apk online and completely reinstall it?

Thanks
[Android Head-Units] syk02jcb@hotmail.com:
It will work. But uninstall the old before installing the new app.

If you want to go back to the original you’ll find different versions online - but I bet you don’t want to go to the crappy stock app again :)
[Android Head-Units] Robotson:
Great, that's exactly what I wanted to know, thank you :)
[Android Head-Units] Robotson:
Sorry for being such as noob - but I can't find the original apk anywhere online. Does anyone have a link to it?

Thanks
[Android Head-Units] hans.vinkers:
Here you go

https://mega.nz/#!chAUzSAD!P3wtoCjdbm0pfC1jmK7dq4cA70XREpyRpHCOGC4pZrI

Verstuurd vanaf mijn Z2 Pro met Tapatalk
[Android Head-Units] Robotson:
Thank you so much! :)
[Android Head-Units] NigelP:
Now have a replacement DAB+ module but same issue!

I think I might need to factory reset my unit but don't know how. Anyone able to tell me? There's a single reset button below the screen. (chinastereo 7.1 insignia head unit.)
[Android Head-Units] pwood999:
I have one request. Can the large station logo are be reduced, and the font size for the Artist & Song data be increased ?
[Android Head-Units] hans.vinkers:
To get in to recovery mostly you need to reboot and press and hold the power button for about 30 seconds until the lights flash. After that release and press power shortly. Normally that will bring you into recovery menu

Verstuurd vanaf mijn Z2 Pro met Tapatalk
[Android Head-Units] syk02jcb@hotmail.com:
If your unit is up and running, there is also possible to do a factory reset in “settings”. Look for a backup and reset menu
[Android Head-Units] syk02jcb@hotmail.com:
[MENTION=7838245]realzoulou[/MENTION] - the new connecting-function (5 attempts) works like a charm on my unit, normally it uses 3 attempts before starting.

I have discovered a new bug that might be related to this function? - when i close the app it continues in background in some way, with a stuttering sound. Can't get it to stop without a reboot of the unit. If I restart the app when the stuttering goes on, it plays smooth again, but then i see two "settings"-icons in the notification bar - this is not a problem though :)

If I choose an other app to run, like FM-radio, it stops playing, and everything is ok...

I will remark that this issue is not a "dealbreaker" at all :)
[Android Head-Units] NigelP:
Managed to factory reset but app still crashes the head unit

Many thanks for this. I can't believe I hadn't spotted the backup and restore option before! :o

Unfortunately, it didn't fix the issue.

Scanning gets to about 57%, where I presume it's finding stations and then the whole head unit reboots. Not sure if I can get any log data off the unit to find out what's actually happening without root access?

Given that the same issue is happening with two different usb modules I'm beginning to worry that there's a problem with the head unit itself :(

The modded version of the app looks loads better by the way.
[Android Head-Units] syk02jcb@hotmail.com:
Sounds strange. I really don't have a Clue what this might be, but a few tip from me:

I guess you have tried the different USB inputs to the unit?

Tried to do a scan without the antenna connected to the DAB-adapter? (I had an issue with my first antenna, not quite sure but it seemed to short circuit, making the app crash). Anyway would this maybe get you past the 57%, confirming if the reason of reboot is finding of stations. If this helps you can try another antenna, or a scan holding your finger on the antenna port (if you have good signal this may be enough to find station)
[Android Head-Units] egilkv:
My guess is that this is probably an issue with the implementation of the Android software in the head unit itself.

This is a huge problem. I have myself one head unit called Ezonetronics which is based on the Chinese Allwinner T3 chipset. The software in this unit is really bad. The apps that come pre-installed kind of works (although probably have lot of hidden problems), but any non-trivial app outside of that more often than not crashes or hangs or malfunctions. On the Ezonetronics, even an updated version of Google Play hangs, Here Maps does not work and Google Maps only works a bit. Any RtlSdr-based DAB app crashes, while the dabplayed.pad suffers from annoying audio interruptions, even in foreground.

I have another head unit from Joying based on Intel Sofia that is much better. Not perfect, but good enough to be useful.

The underlying problem is that properly implementing Android on a chipset is a very non-trivial task, a task that requires lots of resources and knowledge. (Ask me how I know) This is resources and knowledge that the small ShenZhen companies making these head units do not possess. I think you can also safely assume that the software delivered by Intel is of much better quality than the software from Allwinner, that is why the Joying unit is much better.

If your unit fully resets when running DAB, I think the chance that the problem is in the DAB hardware unit is nil. There is a minute possibility there is a hardware problem in your particular head unit, but most likely it is the software in the head unit that is flawed. You could always ask the supplier if they have new versions of their software, although I wouldn't have too high hopes it would help.

Sorry about that.
[Android Head-Units] NigelP:
The more I research the more I think you're probably right

Thanks for taking the time to provide a comprehensive answer.

To be fair to the supplier everything else on the unit works fine and other apps install and run without any problems. I'm going to try a different aerial tomorrow just in case that makes any difference (as another forum member mentioned one they had caused a crash issue) and I'm still pursuing the issue with the supplier, who has been very helpful up to now.
[Android Head-Units] delray70:
station/preset list issues

[MENTION=7838245]realzoulou[/MENTION]

Congratulations on your great app! I've discovered two issues, maybe this will help you to make the app even better:

-lets say I'm in station-list and chose the station at position 19, the list does a scroll from station 1 to the selected station, this happens every time I chose a station which is outside of the visible part of the list

-when switching from station- to preset-list: if I'm listening to a station selected in the station-list and switch view to the preset-list, the dab receiver immediately switches to the first station of my preset list
[Android Head-Units] realzoulou:
[MENTION=8018850]Helgeo[/MENTION]: Thank you very much for your 2nd donation!

I will have to add an option to increase the font sizes. I notice that my device (Joying Sofia 1024x600 @ 160dpi) is not a usual device that can act as a reference.

Most users seem to have 1024x600 @ ~230-240 dpi. There are even users with 800x600 @ 320dpi. What a strange resolution!

Yes, I changed the layout to use predefined ("DeviceDefault") font sizes from Android instead of fixed values. So the App adopts automatically to the screen resolution and dpi setting.
[Android Head-Units] realzoulou:
Yes, I will look into this.
[Android Head-Units] realzoulou:
Just would like to point out again that I *never* see any "Connecting" window at all with my Joying unit. There is sth substantially wrong IMHO with those units that require this kind of retry that I implemented.

Yes, this is definitely a bug. The second "Settings" button in the notification area is the clear indication that there are now 2 background services called "DabService" running. Not good!

Do you have root access? if yes, could you install SysLog and capture logs after this occured and then send the file to me?
[Android Head-Units] realzoulou:
Thanks [MENTION=5461792]delray70[/MENTION] . It took me days to get around some Android bugs with scrolling in a listview. The current behavior is the best what I can do.

When I added the support for favorites, I had to still use the already existing data structures in the App. As a result, when switching between the lists, also the station might change if it is not in both lists. Both of your issues are not nice, but I will most likely not work on them, sorry.
[Android Head-Units] syk02jcb@hotmail.com:
Sure, I’ll send you a syslog when I reproduce the bug..
[Android Head-Units] NigelP:
Issue turned out to be a dodgy micro SD card

Removed the micro SD card and no more crashes!

Just need a better aerial now as the window mounted one clearly isn't up to the job.

The car has DAB factory fitted but a splitter doesn't provide any signal even though the relevant pin on the harness appears to be connected to send power to the aerial amp (based on photos from an earlier post in this thread). I will have to do some more investigation.

Have any forum members had any success using the existing DAB aerial on a Vauxhall (Opel) Insignia?

PS apologies if I've posted this twice! I tried to post the message from my mobile but I don't think it uploaded.
[Android Head-Units] Wout2426:
I have the superbat FM/dab from AliExpress on my Corolla verso that works supurb. It's universal.

Superbat Universele Dak Mount Digitale DAB Antenne met Versterker voor DAB DAB AM/FM Autoradio Antenne Antenne met SMB connector

http://s.aliexpress.com/7zyUVnue

(from AliExpress Android)