yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S Android Development] :
;) Of course we don't NEED it on a 10" tab - but if it's there, I would LIKE to get it up and running - it's a matter of completeness. I won't take it as a showstopper for a non-beta release.
[Galaxy Tab S Android Development] My Public:
I'm a software developer too, i know what you mean! :)

But i agree, definitely no showstopper for a non-beta release.

PS: And the Garmin Tempe (temperature sensor) for example can be util on a tablet.
[Galaxy Tab S Android Development] :
/system/etc/audio_policy.conf

I would like to look at /system/etc/audio_polivy.conf from a stock samsung lollipop rom. Due to my data plan it does not make sense for me, to download 1,8Gb for a 3 Kb file. It would be very helpful, if someone could post this file, please. Thanx in advance.

EDIT: if someone has /system/etc/audio_policy.conf from a lollipop chagalllte stock rom, I would like to get a view on that one, too.
[Galaxy Tab S Android Development] My Public:
Ok, i didn't know that extracting a file from a image is soooo easy... :D

But here we are:

It's the 'audio_policy.conf' from T800XXU1BOJ1_T800DBT1BOI1_DBT.
[Galaxy Tab S Android Development] zigonneux:
lucky for you, I've been trying for half and hour and no luck yet... using ext4_unpacker and ext2explore-2.2.71. Is there another trick ?

7zip doesn't want to extract it neither... ! system.img
[Galaxy Tab S Android Development] My Public:
I have also tried with ext4_unpacker with no luck. Seems that Lollipop ROMs are using a different mode to pack the images that is not supported by ext4_unpacker.

You have to use simg2img.

Short guide:

1.) Download image (zip)

2.) Extract the contained xxx.tar.md5 file and remove the extension .md5

3.) Extract system.img from the .tar file

4.) Use simg2img to convert the 'sparse image' to a 'raw image' (simg2img.exe -i system.img -o system.ext4)

Seems that the 'Error calling ftruncate() to set the image size' can be ignored

5.) Use ext2explore-2.2.71 to open the .ext4 file and extract the file(s) of your need
[Galaxy Tab S Android Development] My Public:
And here the audio_policy.conf from the LTE variant (T805XXU1BOJ1_T805OXA1BOJ1_DBT).

EDIT: The two files are identical.
[Galaxy Tab S Android Development] :
New Build: RC2

Here we go.

While testing have an eye (or better: ear) on sound-, audio- and bt-issues, please. Thanx.

ROM: http://charlesingo.mine.nu/ftp/nvertigo/cm-12.1-20151104-UNOFFICIAL-nvertigo-RC2-chagallwifi.zip

MD5: http://charlesingo.mine.nu/ftp/nver...NOFFICIAL-nvertigo-RC2-chagallwifi.zip.md5sum

After a rebbot sometimes there is only garbage from the bt-audio-device. During the last 4 days of testing, I found out:

Just disable bt and wlan. Reanable lbt and wait till bt-audio-device is connected again. While playing music reconnect wlan again. Tthe oother solution I found is really strange: I have an app that reproduces the interference with wlan (if active): "MyVodafone". If you expirience garbage from your bt-speaker after a reboot, start this app, wait till it has gotten its data from the internet, and hit back-button: after ksome seconds the music continues garbageless. At the moment I have no idea, how to solve this.

Happy flashing!
[Galaxy Tab S Android Development] :
One question to the bt-audio users: Does this problem has been in cm12 since the beginning, or does it occur from end of May or beginning of June? An answer would be very important to track this down!

EDIT:

If you want to try easily different configurations, I've made some flashable zips to change /system/etc/audio_policy.conf. Please report which one is best for you:

audio-policy-RC2.zip: the one from RC2 rom, if you want to revert.

audio-policy-N9005.zip: the one from N9005 (was around in this thread allready).

audio-policy-samsung-chagall.zip: the original file from samsungs lollipop rom (thanx to [MENTION=2964120]My Public[/MENTION])
[Galaxy Tab S Android Development] zigonneux:
No problems with bluetooth and my cheap BT speakers using 5g network. Music is playing fine, volume is OK. Standard dirty flash of RC2. Tested with Radio AAC 320k, and then a 24bits/96Khz Flac . BUT, there is a problem wih the 2.4 ghz network and bluetooth while playing the radio AAC and the flac file + browsing the web.. No garble, just some stop and go. It seem to stabilize after a while. I always use 5ghz , so things are fine here.

I'll test the other mods when I have the time, if you don't have an answer before then. :good:
[Galaxy Tab S Android Development] zigonneux:
ok now, with the original file from samsungs lollipop rom. 2.4ghz network: So far the best for 2.4ghz, ( less problems) but quite similar as the RC2. Short stop and go when we browse the web and using the radio. Even the internet radio by itself has some short hiccups once in a while. Of course, no problems at all on 5ghz. network. Internal storage Flac files playing fine except while browsing the internet ( 2.4ghz) channel 1.

---------- Post added at 04:33 PM ---------- Previous post was at 04:21 PM ----------

audio-policy-N9005.zip: ( wiped cache after inatalling, don't know if it mater) . Interesting, no problems on 2.4ghz. Even with Chrome browsing some heavy websites. Not a single hiccup. Stable as a rock. I've tried everything i could to have a problem but it remained solid. Internet radio or internal storage Flac , everything i throw at it play nicely. This is the one I'll be using.
[Galaxy Tab S Android Development] :
Thanx. I'll tell you later, what I think - I don't want to set up an expectation for the other testers.

If someone reading this running a stock lollipop rom (yeah, I need to view the running rom, not on the extracted images. See:

http://xdaforums.com/galaxy-tab-s/general/developer-help-t3241893
[Galaxy Tab S Android Development] zigonneux:
any other testers here to check if you have the same results ? I'd be curious to find out !

Note that a dirty flash of this new rom with TWRP ( see on page 1) will update the rom without disturbing too much your apps and settings. Only a few settings to do again, quite easy . Then , flashing the different audio zip with TWRP is kid's game...
[Galaxy Tab S Android Development] imachine:
Tried BT settings. I use a BT keyboard, mouse and 2.4GHz + audio via BT speaker.

Testing audio via TuneIn Radio (to further load the WiFi network communication).

RC2 stock settings produce and acceptable lack of hiccups - still some exist, but it's noticably less than about 3 months ago that I last time tried this.

Nice work!

I tried N9005 and I find it more hiccupy than the RC2 version.

No cache wipes in between - is that crucial for a fair test environment?

Another thing is I see a regression with OpenGL MSAA. Setting Force MSAA 4x in Programmers Settings does nothing in SimCity BuildIt - the graphics is just as blocky, whether the setting is on or off.
[Galaxy Tab S Android Development] :
Thanx for the feedback.

For opengl: I have changed nothing regarding GL (or being more precise: GLES) since Februar or so. So when you say "regression", I suppose checking 4xMSAA in dev-settings resulted in other behavior of SimCity, doesn't it?

If I'm right, I need more information:

What exactly is the issue?

Till when was it working, when does the "regression" start?

Does it occur from the start of gameplay, or does it occur after some time (even if thats only 30 secounds or so)?

What does logcat say, when 4x MSAA is enabled after a reboot with 4x MSAA switched off?
[Galaxy Tab S Android Development] :
UPDATE: wifi- and bt-BLOBS lollipop

As everybody knows, we still use kk kernel and blobs. I tried in April to update kernel and blobs alltogether at once, and just can't get it to boot... :(

Now I have decided to try an other approach: I will migrate the blobs partial. I you are on 20151020 or RC2, you can flash the attached zip:

Clear all saved wifi hotspots.

Clear all saved bt-devices.

Switch off wlan.

Switch off bluetooth.

Wipe data of Bluetooth.apk.

Reboot to recovery.

Wipe cache and dalvik-cache.

Flash attached zip file.

Wipe cache and dalvik-cache again (it's just to satisfy my paranoia... ;) )

Reboot to system and reconfigure your hotspot and bt-devices.

If you want back the old kk blobs, repeat the above, but flash RC2 and opengapps.

I can only access my new soundlink min II at the moment, so this time it is VERY! important to test all kinds of bt-devices, and not only the audio devices. Thanx in advance.
[Galaxy Tab S Android Development] zigonneux:
I don't know how to Wipe data of Bluetooth.apk except turning everything at OFF. Anyway , flashed this file and the Bluetooth mouse is not detected so i won't fight with this.... music is playing like it was before. Suttering on 2.4ghz when we start browsing the web. Even when we don't touch anything the radio stutter ....often. Do I just flash	tmp_18290-audio-policy-N9005-1199420739.zip to get back where i was, or just keep using 5Ghz. Because right now 2.4 is not good...
[Galaxy Tab S Android Development] :
Does 5GHz works with new blobs?

Settings->Apps->All->Bluetooth.apk: delete data.
[Galaxy Tab S Android Development] zigonneux:
yep 5ghz work fine with music, radio + web . If I did not delete the bluetooth data before flashing, should i do the test again ?

anyway i did-----

I went to delete the bluetooth data and i now have some rare and short hiccups on 2.4ghz and radio or playing a high bitrate Flac file while on the web. Only 2 instances in 5 minutes. I don't have other bluetooth device to play with.

One strange thing, the wifi network could be ON and airplane mode also at the same time. ( maybe it's just a problem with the theme's icons.)
[Galaxy Tab S Android Development] :
Hmm, would be great, if you check again with standard theme. (That's why I'm not using themes and - belive me - I would love to have a dark theme!). Here it works: see screenshots. (Sorry, forgotten to change language - it's german.)

For deleting data on the bt- and wifi-subsystem: if we change blobs (so spoken: the glue between kernel driver and os), we should clean install... ...but you know my policy on that: as long as it's working - you'll be fine, if not: clean flash...
[Galaxy Tab S Android Development] :
Would someone put sboot.bin from an extracted BOJ1 sammy rom here, please?

EDIT: ...and sboot.img, please.
[Galaxy Tab S Android Development] LazyT:
Works fine here!
[Galaxy Tab S Android Development] :
Thanx.

Perhaps sammy should try to hire me for their QM department... ;) On the other hand, if seeing deadlinks is the only qualification they need, I don't want to work there... *lol*
[Galaxy Tab S Android Development] My Public:
Yes, PDA is BOJ1, CSC is BOI1 (image name T800XXU1BOJ1_T800DBT1BOI1_HOME.tar.md5). Is the newest on sammobile.

If i find some time, i will make some tests with my bluetooth speaker on the stock ROM. Back on yours for the moment.. ;)
[Galaxy Tab S Android Development] My Public:
Voilá
[Galaxy Tab S Android Development] :
UPDATE: kk OMX BLOBS

The next step:

This time we update the OMX blobs: In recovery wipe cache and dalvik-cache; flash attached zip, (for paranoia) wipe cache and dalvik-cache again, reboot. Test as many different media files (audio, video, pics) as possible.

[MENTION=2964120]My Public[/MENTION]: Thank you for beeing the BOJ1 archiever in command! I think, if you look in the zip (zip -l OMX-BOOC.zip) you see the 7 files I need next... Sorry, for this part by part thing, but it's better to debug.

[MENTION=535343]all[/MENTION]: you can delete the OMX WMV file for now (we are not using it), but I will include it, 'cause perhaps we need it together with a kk kernel and drm stuff. Don't now at the moment.

[MENTION=507649]devs[/MENTION] and [MENTION=313982]home[/MENTION]builders: I have included the new wifi- and bt-blobs to my gits (vendor and device tree) in branch 121-work.

Happy flashing!
[Galaxy Tab S Android Development] My Public:
No problem, the zip file size for attachments is limited to 20 MB, so... ;)
[Galaxy Tab S Android Development] zigonneux:
OMX-BOCC.zip on 2.4 gihz, = stuttering on the radio. Even if we don't do anything else than listening to the radio it's very bad. First time I get some gibberish also. The worst experience so far. I went back to 5ghz.

On another note, a few times already i moved some apps to the SD card and they simply vanish, never to be seen again by using settings/apps/ move to sd card.. and some of them will move but many will just get lost. I have to re-download Radio paradise and I don't even find his widget anymore neither.....
[Galaxy Tab S Android Development] :
OMX-BOCC.zip does nothing with bt, iOMX was just the next easy ones to migrate. I'm heraring tunein radio at this moment, while connected via ssh on my buildhost and working, without hickups... I have also checked youtube and Netflix. Everything with 2.4GHz wlan, 'cause it's the only available here.

For the sdcard: Many apks behave strange, if moved (i.e. apks with widgets - widgets don't work). Therefor I have moved all apks - but one for testing - back to internal storage. But this single one (AdvancedPasswordGenerator) is still working.

JFYI: flashing a bootloader is a 90 sec task with heimdall on my linux machine (which I have no physical access to at the moment). I tried heimdall for windows on my friends windows machine. I can't het the drivers to work and stoped trying after 4 h... :( Conclusion: This will be the last samsung device I have bought. Of 'cause the display is great, but all this proprietary **** they do (why not use fastboot) i.e. with this proprietary odin mode is for me an absolute no go! Why I tell you: I will migrate the kernel to the kk source after I have flashed a ll bootloader - and that can propably be in 2016 Feb. or Mar. Sorry. This is a ****ing showstopper. I hate sammy and ms from the deepest levels of my soul!

Does anybody know if odin mobile is able to flash a single file (that is no .tar or .tar.md5)?
[Galaxy Tab S Android Development] :
UPDATE: kk bootloader

To flash with odin. it's only the bootloader from BOJ1. Unzip the attached file. It's mandatory that the file you put in odin (I hate odin - I like fastboot!!!) is named sboot-bin.tar.md5 .

Happy flashing.:cool:
[Galaxy Tab S Android Development] My Public:
I've installed the free version of Odin Mobile a few days ago, but it says 'Device not supported' and didn't start completely.

---------- Post added at 09:15 PM ---------- Previous post was at 09:12 PM ----------

@nvertigo67

I hope you have seen my attachment with the omx files (post 1557).
[Galaxy Tab S Android Development] zigonneux:
it seem like every time i test Bluetooth with 2.4ghz, it will have a new result, depending of the time of the day. Too much interference maybe. My Bluetooth speakers are so cheap , I'm not sure we should test with these. Samsung might be hard to play with but adding marshmallow 6 on the T-800 seem to be quite tough also.
[Galaxy Tab S Android Development] :
I've flashed my tar.md5 with win7 and odin. Odin-3.10 works on win7 with the Samsung USB for mobile drivers.

I've seen and downloaded those files and will use them in git - I've run out of "Thanx" by that time.
[Galaxy Tab S Android Development] My Public:
I have flashed the stock ROM with Odin too (on Windows 10).
[Galaxy Tab S Android Development] LazyT:
With the omx files youtube with firefox is crashing on every video.

In sky.go only audio with black screen.

Reflash rc2 and all working again.
[Galaxy Tab S Android Development] :
That's an interesting side-effect. When reproducing this here (I have to admit, that I'm not using firfox very often), my first impression was, how slow and jumpy scrolling is... Anyway, firefox is crashing, when an ffmpeg decoder is opened...

This wil eventually solve itself, when the mali stuff is migrated, too. IN chrome it is working, youtub.apk is working. So I will continue to update the blobs and hope for the best... ;)
[Galaxy Tab S Android Development] :
So, now my oppinion on the different audio_policy.conf files: it seems totally random to me. Everytime, when I thought, I found a pattern (time of day, version of audio_policy, channel of 2.4GHz wlan...) reality comes across, saying: worked yesterday, but not to day. it seems to me, that moon phase, karma, air density and humidity and propably the color of leafs in Indian Summer play in here.

If you can't see a pattern, there are two possibilities: there is no pattern, the sample is too small. If I had to, I would bet on the latter. Therfore I've hoped, getting lot of feedback with many different bt-audio-devices could make the problem more transparent.

(According to Heisenberg, I would say there is no issue, as long as nobody observes the audio output - aka: is listening. ;) )

I belive, your posting was longer yesterday, but I was to tired to answer. I will try to answer from my memory: I hope this is not your last tab - if I remember your age, you have at least 20 years to go, so I think there comes other tabs across your way. :)

I'm not happy with the cm is taking for quite some time before the partnership with ms. On the other hand, I don't know any other code base, that is so well maintained and is supporting so much devices (and existing devices are the "documentation" of device trees). So I stick to it - I've loved aokp, but its development has stopped. Not sure about the way omni will take. Also the git commits are some kind of well documentated. I've seen gits in the past, which where unreadable regarding commit comments... At the moment the cm code base is the less problematic to work with.

I'm dreaming of a tab with pc-like hardware, a gentoo linux, and on top of that a tab friendly x11 userinterface. Dadly the latter is missing.

As for my break: I wanted to take a breal yesterday evening, then the microsoft windows usb-driver chaos comes across... enough wining: I changed my plans again. Due to the little feedback, I don't feel confident with putting out a non-beta. So I decided there will be no non-beta version, before starting to update blobs and kernel. And - of course - I try to help the few people, who are participating in all this testing over the last day.

[MENTION=535343]all[/MENTION]: I will publish a test-build with new wlan-, bt-drivers and OMX libs later today (I live in GMT+1).
[Galaxy Tab S Android Development] barth2:
FWIW, I still use a (5.0.2) build from April because it feels like the smoothest overall, and the bt issue with 2.4Ghz Wi-Fi is there too, so it's been there a while. I've tried the various audio policy files floating around to no avail. I connect to a cheapie $30 bt speaker and the popular vizio 5.1 ch sound bar. The sound bar in particular is unusable on 2.4ghz. I also have a nook hd+, an old iPad 3, and a dinosaur iphone 3gs; none of them have 5ghz Wi-Fi, I don't think, and they have no problem with these bt speakers.

Even when using 5ghz, it is not rock solid all the time either. I get the occasionally break up. But really, there are too many things going on to say where the problem is.
[Galaxy Tab S Android Development] :
Thanx for your feedback. For iphone3 (without s or anything else) I can say: connecting via 2.4GHz wlan to a vdr box, it was impossible to use any bt-audio equipment.

Anyway, perhaps you should try a newer build (definetley clean or very clean flash). I have just watched 45 min Netflix without one single stutter. But as stated before, it seems tatoly random to me.
[Galaxy Tab S Android Development] :
New Build

With new wifi- and bt-blobs, and also with new OMX-blobs:

ROM:http://charlesingo.mine.nu/ftp/nvertigo/cm-12.1-20151108-UNOFFICIAL-nvertigo-chagallwifi.zip

MD5:http://charlesingo.mine.nu/ftp/nvertigo/cm-12.1-20151108-UNOFFICIAL-nvertigo-chagallwifi.zip.md5sum

I've have not managed to get ll mali blobs to run, but I have learned using dhex. And so I'm proudly present the first libGLES_mali.so (from NH1) native for our chagallwifi (so far all chagallroms, I've seen the vendor tree for, are using the hexedited version from [MENTION=3857343]crpalmer[/MENTION] lfrom picassowifi). Sadly the rom upload has finished, when I accomblished this task, so you have to flash this seperatly, but you can use twrp and add rom.zip, attached zip and opengapps in a row.

Happy flashing!
[Galaxy Tab S Android Development] zigonneux:
weird flash ... Used dirty flash method, flashed ROM, ZIP , it went well....then got an error when flashing the Gapp, rebooted and everything is fine...all my apps are there and the version number is the right one in the "about tablet". Nov 8 . So I think I'll wait a few more days before doing a new nandroid backup, you will certainly post a new rom ! Important or not , Antutu benchmark went up to 40,359

Thanks , good job !
[Galaxy Tab S Android Development] :
Let's see, what is comming up there. At the moment it's only a part of hardwate/samsung[-slsi] for exynos4 and jellybean. But let's see, whats coming up next...
[Galaxy Tab S Android Development] zigonneux:
just to know, is it normal or just doesn't matter if in the properties of the files : system/vendor/lib/libmalicore.bc ( the ones in the mali zip update) , the timestamp is : modified 2008-08-01, Same thing for libRSDriverArm.so ? while the other files in system/vendor/lib/ have a timestamp of 2015-11-08 !
[Galaxy Tab S Android Development] :
/ # ls -la /system/vendor/lib/
drwxr-xr-x 6 root shell 4096 Nov 8 17:45 .
drwxr-xr-x 5 root shell 4096 Nov 8 17:06 ..
drwxr-xr-x 2 root shell 4096 Nov 8 12:13 drm
drwxr-xr-x 2 root shell 4096 Nov 8 12:13 egl
drwxr-xr-x 2 root shell 4096 Nov 8 12:13 hw
lrwxrwxrwx 1 root root 14 Nov 8 17:45 libOpenCL.so -> libOpenCL.so.1
lrwxrwxrwx 1 root root 16 Nov 8 17:45 libOpenCL.so.1 -> libOpenCL.so.1.1
lrwxrwxrwx 1 root root 31 Nov 8 17:45 libOpenCL.so.1.1 -> /vendor/lib/egl/libGLES_mali.so
-rw-r--r-- 1 root root 423468 Aug 1 2008 libRSDriverArm.so
-rw-r--r-- 1 root root 2467520 Nov 8 12:13 libWVStreamControlAPI_L1.so
-rw-r--r-- 1 root root 829976 Nov 8 12:13 libWVphoneAPI.so
-rw-r--r-- 1 root root 17988 Nov 8 12:13 libbt-vendor.so
-rw-r--r-- 1 root root 38132 Nov 8 12:13 libdrmdecrypt.so
-rwxr-xr-x 1 root root 1415072 Nov 8 17:06 libfrsdk.so
-rw-r--r-- 1 root root 80316 Aug 1 2008 libmalicore.bc
-rw-r--r-- 1 root root 106232 Nov 8 12:13 liboemcrypto.so
-rw-r--r-- 1 root root 70884 Nov 8 12:13 libwvdrm_L1.so
-rw-r--r-- 1 root root 62772 Nov 8 12:13 libwvm.so
drwxr-xr-x 2 root shell 4096 Nov 8 12:13 mediadrm
/ # ls -la /system/vendor/lib/egl/
drwxr-xr-x 2 root shell 4096 Nov 8 12:13 .
drwxr-xr-x 6 root shell 4096 Nov 8 17:45 ..
-rw-r--r-- 1 root root 15907568 Aug 1 2008 libGLES_mali.so
/ # getprop ro.build.date
So 8. Nov 12:13:26 CET 2015

I jave never checked before, but I would say, most of the files have the timestamp of building the rom (GMT+1 or CET). The symlinks have the timestamp of the last reboot (that's not posix compliant, but why should google honor any standrads? ;) ). The newer mali files (that have been installed by flashing the mali-NJ2-native.zip by updater-schript command extract_package) have been reset to a timestamp of Aug. 8 2008.
[Galaxy Tab S Android Development] ratty123:
Any plans on adding SmartMax gov? :) Love the smoothness of it.. I dont think any of our Roms havet it yet? Is there a reason?

Kind regards, ratty
[Galaxy Tab S Android Development] zigonneux:
don't we already have Kernel Audiutor that is already included in the rom, or I've installed it after ? :confused:
[Galaxy Tab S Android Development] raiden:
Is this CM 12.1 rom compatible with SM-T805? Does it even have a dialer or able to use my 3G/LTE data if I install it on my device? Thanks
[Galaxy Tab S Android Development] :
No.
[Galaxy Tab S Android Development] :
...you have installed it, it's not included. But I've always recommened it, for people, who don't like hacking systemtuning init.d file.
[Galaxy Tab S Android Development] lionheartk:
Weird I don't get that error, it just installs fine!

You're using the CM file manager to install? DO it still fails if you launch the installer from, say, ES file manager? Saying this because I see something related to cyanogenmod file manager in the log...
[Galaxy Tab S Android Development] DUHAsianSKILLZ:
This is from es file manager. Would this be the error?01-29 13:44:34.704 D/InstallAppProgress(10462): Installation error code: -18

Even trying root explorer is the same.