Thursday, 29 June 2017

Interim Ubuntu 17.04 ISO with mainline v4.12-rc7 kernel, RTL8723BS and Broadcom Wifi/BT firmware, UCM audio files and full 32-bit bootloader support

Latest 'linuxium-v4.12-rc7-ubuntu-17.04-desktop-amd64.iso' kernel respun using v7.1.2 of '' with log file of:

Script '/usr/local/bin/' called with '-i ubuntu-17.04-desktop-amd64.iso -u -l rtl8723bs_4.12.0_amd64.deb -f -f -f -f -c -c' ...
Work directory 'isorespin' used ...
ISO '/home/linuxium/isorespin/ubuntu-17.04-desktop-amd64.iso' respun ...
Bootloader 'GRUB' added ...
Kernel updated with mainline kernel version '4.12.0-041200rc7-generic' ...
Local package '/home/linuxium/isorespin/rtl8723bs_4.12.0_amd64.deb' added ...
File '/home/linuxium/isorespin/' added ...
File '/home/linuxium/isorespin/' added ...
File '/home/linuxium/isorespin/' added ...
File '/home/linuxium/isorespin/' added ...
Command run ...
./ Extracting UCM files ...
./ Installing UCM files ...
./ Reloading UCM driver ...
./ Installation of UCM finished 
./ Extracting Broadcom files ...
./ Installing Broadcom files ...
./ Reloading Broadcom driver ...
./ Installing Broadcom bluetooth service ...
./ Starting Broadcom bluetooth service ...
Running in chroot, ignoring request.
./ Installation of Broadcom finished 
Respun ISO created as 'linuxium-v4.12-rc7-ubuntu-17.04-desktop-amd64.iso'.

I've used the Ubuntu 17.04 ISO 'ubuntu-17.04-desktop-amd64.iso' and I've updated the kernel with the 'v4.12-rc7 mainline build' and also added my wifi/bt firmware package 'rtl8723bs_4.12.0_amd64.deb', my Broadcom wifi/bt firmware script '' installed by running '' and my ALSA UCM audio files script '' installed by running the ''.

The respun ISO can be downloaded from 'linuxium-v4.12-rc7-ubuntu-17.04-desktop-amd64.iso' and written to a USB using 'dd'.

On booting if bluetooth fails to start automatically then it can be started manually with the command:

sudo systemctl start rtl8723bsbt.service


sudo systemctl start brcmbt.service

depending on wifi chip.

Full documentation about my '' script including examples is available from

If you find this useful then please donate using the following link as everything helps with development costs.


  1. Hi, T100HA here (again). Here is my quandry.

    Running the iso from March (17.04 Beta 1) with linuxium broadcom and UCM scripts.

    dmesg March (working)

    That pretty much works. I just respun, using the latest and greatest isorespin from 17.04 gnome.

    isorespin log

    latest dmesg

    Upon live boot from a USB stick, no bluetooth and no sound. Regarding bluetooth, the early image clearly picks up the BCM43341B0.hcd firmware and works, while anything over the last couple months never does. No clue about the sound as even the latest image sees the cthrt stuff, but nothing there.

    I'm beginning to think if it was on disk it might work better, or at least I could work through it a bit.

    Any suggestions helpful. As always, thanks for the great work!

    1. I've encountered the line 'Bluetooth: hci1 command 0xfc45 tx timeout' before and only solved it by physically powering off the device and then rebooting. This seems to be a known bluetooth issue and not necessarily kernel or OS related.

      For sound make sure you go into sound settings and select the output device otherwise sound seems to have stopped working by default with the latest kernel.

  2. very good work : works with the intel stick just missing wifi but ethernet and sound works ok

    can you PLEASE do your isorespin magic with a ligth distro like linux minx Xfce thanks again and very good work send me your paypal info

    1. If wifi is not working make sure you run 'sudo systemctl start rtl8723bsbt.service' and this should fix it if you installed the above ISO.

      My PayPal link is

    2. HI there Im currently getting this error and cant get to the scripts or iso you linked normally uses encryption to protect your information. When Google Chrome tried to connect to this time, the website sent back unusual and incorrect credentials. This may happen when an attacker is trying to pretend to be, or a Wi-Fi sign-in screen has interrupted the connection. Your information is still secure because Google Chrome stopped the connection before any data was exchanged.

      You cannot visit at the moment because the website uses HSTS. Network errors and attacks are usually temporary, so this page will probably work later. Find out more.

    3. normally I can add an exception - this wont allow me to go any further forward :(

    4. I've never seen that error before but it looks local to you and your internet access. Maybe reboot and try again?

  3. Tried it on my Teclast X98 Plus (A5C8) tablet, and it seems to work fine out of the box.
    I read above that people had Bluetooth problems, but I can't come with any info there since I didn't think of testing it.
    Sound works from the loudspeaker. I didn't test headphones
    Wifi works perfectly.
    Battery level is shown (dunno if it's correct, but it seemed to drop normally while using it).
    Touchscreen works.
    The screen however it's rotated one step clockwise, showing landscape in portrait mode and vice versa. If I try to change it in the settings, the touchscreen seems to stay as before, meaning the touches are at the wrong place. I guess it's a file I need to edit somewhere.
    I don't seem to find any "install to harddrive" which I expected from a Ubuntu iso.
    I'm strongly thinking of replacing Android on the tablet with Linux if I can figure out the last few quirks.
    Thank you for all your work.

  4. Thanks a lot. Tryed 17.04 kernel 4.12rc7 on Teclast x80 pro: Wifi works, but headphones, mic and speaker don't.
    The audio chip on this tablet is ES8316 everest semiconductor.
    I found this recent patch to add support, but I do not know what I can do with it.

    After trying live USB, Android does not boot anymore even though i did not install anything. From what I have seen I suspect some Android security feature detects that its partitions have been mounted and prevents boot up. Does anybody know how to fix this? Windows still boots ok.

    1. The ES8316 driver is currently merged for v4.13 so hopefully in a couple of weeks you'll have release candidate kernel that provides audio.

      Regarding the Android boot issue take a look at ''.

    2. FYI: v4.13-rc1 is now available for download or using in respinning.

  5. Hi, I tried it to my Chuwi HI10 Pro. All works perfectly except for audio and touchscreen.
    Soundcard is recognized but I have no sound from speakers or hearphones.
    I tried to select the output from Audio Settings but when I do this, the application crashes.
    What I can do to solve this?

    1. Does it crash when running as a LiveUSB or after installation?

    2. Can you pastebin the 'dmesg' immediately after booting?

    3. Here it is

    4. After installing it seems you need to install the ALSA UCM files so boot it up and connect to the internet then download the script '' and run it to install them.

    5. I excecuted your script and I restarted my tablet but I have the same problem. In the dmesg it seems to appear the same messages.

    6. It seems the Chuwi HI10 Pro uses the ES8316 codec so you should respin an ISO with the '-u' option (to get v4.13 RCs or later) and check the resultant 'dmesg' if audio still doesn't work for hopefully some further clues.

    7. Hi have to respin your iso or the ubuntu official iso?

    8. Respin an official Ubuntu ISO. You can use the same command as above but first download the required scripts from together with the same version of '' from that page.

  6. Just bought a Z83-II box, sold on Amazon as Beelink, but boxed as kodlix.

    Boots plain kubuntu 17.04 just fine, and SD card works, but no WIFI. Broadcom chip here, I think 6234 or 6212 (can it be a dual mode thing?).

    Tried your linuxium-v4.12-rc7-ubuntu-17.04-desktop-amd64.iso with no success, wifi still does not work. Yet, now I see a

    Direct firmware load for brcm/brcmfmac43455-sdio.txt failed with error -2

    in dmesg, which looks like an interesting hint.

    Have no clue of what error -2 might be. Will post full dmesg if needed (as soon as I save it on usb pen).

    Any idea of what might be the issue?

    1. See the 'Wifi issues' section in my documentation

  7. Saw it, but I cannot find any /sys/firmware/efi/efivars/nvram- file on my system.

  8. Gotcha. On the Z83-II I have, the file must be copied over from the windows drivers directory, Windows/System32/drivers and is called 4345r6nvram.txt. Needs to be copied into /lib/firmware/brcm/brcmfmac43455-sdio.txt

  9. So, the next issue on the list is audio. I am unable to try the hdmi audio for lack of a monitor supporting hdmi audio and I do not seem to be able to get any sound out of the headphone jack.

    Furthermore, the dmesg is flooded with:

    Audio Port: ASoC: no backend DAIs enabled for Audio Port

    Any clue?

  10. Hello, I have an asus T100ha on which I just installed the image. It works apart from the fact that I am forced to put nomodeset in the parameters of the Grub otherwise I the pc does not boot. I think has a graphics card problem. Do you have an idea?? Thank you