Saturday, 3 March 2018

Ubuntu 16.04.4 for Intel Atom and Apollo Lake devices


Canonical have released the fourth point release of Ubuntu 16.04 Long-Term Support (LTS) as Ubuntu 16.06.4. This release is built with the hardware enablement stack using the Ubuntu 4.13.0-36.40~16.04.1 kernel and is slated as being suitable for use on newer hardware with additional information in the release announcement and in the release notes.

However as it may not boot on some of the newer Intel based devices I've respun the ISO using my 'isorespin.sh' script and created ISOs suitable for Intel Atom and Intel Apollo Lake:

  • Atom (-i ubuntu-16.04.4-desktop-amd64.iso --atom)
  • Apollo (-i ubuntu-16.04.4-desktop-amd64.iso --apollo)

Please donate if you find the ISOs or script useful using the following link http://goo.gl/nXWSGf.

111 comments:

  1. everything works except audio doesn't work even though it showing in the device settings any ideas as to how to get this working?

    ReplyDelete
    Replies
    1. Have a look at 'http://linuxiumcomau.blogspot.com.au/2017/10/fixing-broken-hdmi-audio.html' and see if it fixes your problem.

      Delete
    2. http://linuxiumcomau.blogspot.com.au/2017/10/fixing-broken-hdmi-audio.html i.e. without the quotes.

      Delete
  2. hi there genius, i have again an old known problem on intel compute stick with atom and 32 gb....with older 17.04 version of ubuntu wifi network was working ok at maximum peaks ok 17mbits per sec..now after reinstall from scratch to 16.04.4 wifi is almost unusable...as in the initial times of the atom stick...any ideas? or custom kernels?

    ReplyDelete
    Replies
    1. Respin the 16.04.4 ISO with a newer kernel and see if that improves the wifi performance (e.g. -k v4.15.7).

      Delete
    2. excuse for my ignorance about that...how can i upgrade only the kernel...i remember you have and old script for downloading beeding edge kernels and add the drivers for hdmi bt etc

      Delete
    3. The '-u' option upgrade the kernel to the latest one available or alternative the '-k' option allows you to specify a kernel. Bluetooth requires adding a package for Intel Atom devices and this is best achieved using the '--atom' option. Having said that using a specific kernel means you will have to manually manage kernel upgrades. Given you have an Atom based Intel compute stick you should be okay with the v4.13 kernel that comes with 16.04.4 so really all you need to do is respin the ISO with just the '--atom' option to get an ISO that includes wifi and bluetooth for your device.

      Delete
    4. Are you sure 16.04.4 comes with v4.13 out of the box ?
      I've tried to look it up but failed. Ubuntu changesummary page says it packs 4.4.0, or I'm too confused to look in the right place

      Delete
    5. Yes! The release notes may confuse as they talk of the 16.04 release whereas the point release now use the HWE kernel which is in this case 4.13.0-36. You can always check the manifest when in doubt 'http://releases.ubuntu.com/16.04.4/ubuntu-16.04.4-desktop-amd64.manifest'. See 'https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack#Proposal' for a full explanation.

      Delete
    6. yeap i was doing that...using the atom respoun image tested with -u option but again wireless is unusable....i think i will wait for 18.04 ....

      Delete
  3. Hi, thank you for your work! I've a strangely less known T101HA, an Atom x5-z8350 soc 2 in 1 tablet, successor of the t100. I can say that all works fine after using isorespin on a 17.10 Ubuntu distro... All but sound! I've use also the .sh sound script of your other post, but nothing, no sound. Alsamixer however recognizes the card, but no sound and no icon sound at all.

    PS: not even the cam works, but it is not so important for me.

    ReplyDelete
    Replies
    1. If the script is from 'http://linuxiumcomau.blogspot.com.au/2017/10/fixing-broken-hdmi-audio.html' then you might need to edit it first and change the relevant values to match your specific device.

      Delete
    2. yes, thanks, i've sorta resolved the problem by modifying pulseaudio active card that was 0,0 instead of 1,0, after this the audio icon appeared. Then i've opened alsamixer and unmuted headphone, speakers and external speakers channels. The sound this time works fine!
      At the end there is another last problem: i can't save alsamixer settings! I mean, i can save settings via sudo alsactl store command, but i can restore them only with another sudo command at reboot (sudo alsactl restore) and i can't insert the list of start commands because of the sudo problem for executing it automatically after reboot. Any ideas? After that the sound could be considered completely functional.

      Delete
    3. hi for sound open terminal and write
      "sudo su" and
      "echo "blacklist snd_hdmi_lpe_audio" > /etc/modprobe.d/blacklist_snd_hdmi_lpe_audio.conf"
      restart computer, should work after

      Delete
    4. But in that way the HDMI audio will be disabled, or not?

      Delete
    5. Why not either change the card using a script when respinning or add your alsactl command to '/etc/rc.local' using 'su -c' or 'sudo ' or 'sudo -H ' or alternatively create your own specific systemd service?

      Delete
    6. Solved for me, add to the passage of my other comment (force selection device sound 1 in deafault.pa) i've used a script, a very normal script, no sudo,only amixer commands, with this content:

      sleep 40
      amixer -c1 set 'Speaker Channel' unmute
      amixer -c1 set 'Headphone Channel' unmute
      amixer -c1 set 'Ext Spk' unmute
      exit

      and saved, then added at startup.
      Sorry for any error in syntax, but i'm new in Linux (Ubuntu ) using :D

      The script execute 40 seconds after reboot (in this way there is sufficient time to load everything included pulseaudio server, beacause if the script load before that then it won't work). Increase the time if you see that the script doesn't start properly.

      Delete
    7. Maybe change the 'sleep 40' to 'while $(! pgrep -f /usr/bin/pulseaudio > /dev/null); do sleep 1; done' to only wait until pulseaudio has started? But as that can end up as an infinite wait how about 'for i in {1..60}; do if $(! pgrep -f /usr/bin/pulseaudio > /dev/null); then sleep 1; else amixer -c1 set 'Speaker Channel' unmute; amixer -c1 set 'Headphone Channel' unmute; amixer -c1 set 'Ext Spk' unmute; break; fi; done' which will wait for up to 60 seconds and if pulseaudio is started/running during that period it will run the amixer commands. This is probably easier to read:

      for i in {1..60}; do
      if $(! pgrep -f /usr/bin/pulseaudio > /dev/null); then
      sleep 1
      else
      amixer -c1 set 'Speaker Channel' unmute
      amixer -c1 set 'Headphone Channel' unmute
      amixer -c1 set 'Ext Spk' unmute
      break
      fi
      done

      Delete
    8. Then... I've tried your mods of the script and it runs smoothly if i click on (the sound is present), but it won't run at all at reboot (the sound is absent)! So after a bit of web searching i've modified te code:

      while [ -f /usr/bin/pulseaudio ] ; do
      amixer -c1 set 'Speaker Channel' unmute
      amixer -c1 set 'Headphone Channel' unmute
      amixer -c1 set 'Ext Spk' unmute
      done

      This script definitely works at startup as soon as pulseaudio daemon start!

      Delete
    9. Your earlier script is better as the above version will just loop infinitely and continually run amixer commands. As I don't have the same hardware I can't test but if my script above doesn't work then try changing the 'sleep loop' to give more time for pulseaudio to load on boot e.g. change '60' in the 'for' loop to say '120'.

      Delete
    10. I've written this script, it can break the loop and seems to run smoothly in every condition on startup, in a few seconds activates sound. What do you think about that?

      done=0
      while : [ -f /usr/bin/pulseaudio ] ; do
      amixer -c1 set 'Speaker Channel' unmute
      amixer -c1 set 'Headphone Channel' unmute
      amixer -c1 set 'Ext Spk' unmute
      if ["$done" -ne 0 ]; then
      break
      fi
      done

      Delete
    11. Unfortunately I don't have your hardware so I can't test it.

      Delete
  4. Hi, thank you for this image, I was finaly able to boot my Beelink BT3 Pro to Ubuntu, what a change :) (I nearly hate the win 10 installed on this little box)! I managed to install Ubuntu on the internal disk but, (and I understand, this is "of coarse"), it do not boot from installed image, my only way to have Linux running is still from USB key with image you provided (in a "try" mode). Could you please let me know if there is an easy step by step howtos to follow to make the installed Ubuntu work? I have not understand till now how to "respin.sh" the installed Ubuntu and to repeat all steps respin do, but manually, to my new installation is not my preferred approach for the moment... Thank you in advance, Vlad

    ReplyDelete
    Replies
    1. Take a look at 'NVRAM sync issues' in 'http://linuxiumcomau.blogspot.com.au/2017/06/customizing-ubuntu-isos-documentation.html'. Note in step 7 change the values of '/dev/mmcblk0' and the value of the parameter to '-p' (shown as '1') to those relevant for your device.

      Delete
    2. Thank you a lot! Great, I can boot my installation now! Not so urgent but I have to figure out how to dual boot occasionally to win 10 (I can change the boot order but I don't know how to go back from Win to Ununtu, I saw there is also refind boot manager, jut trying understand how to install it...) All the Best & thanks again, Vlad.

      Delete
    3. Hi,

      Same problem with an Asus T100HA. Works perfectly in live mode, but after installing system and restarting, it freezes.

      I have tried http://linuxiumcomau.blogspot.com.au/2017/06/customizing-ubuntu-isos-documentation.html

      Even repeating the process some times as you say at that entry, not just once.

      Yes, I had tried several times before so many isos... This one looks perfectly in live mode, but it's impossible.

      Thank you in advance,
      Jose

      Delete
    4. Try either adding 'intel_idle.max_cstate=1' as a boot parameter or respinning your ISO with a later ('-k' option) or latest kernel ('-u' option) or both.

      Delete
    5. Hi again and thanks for your answer

      I've installed an iso version using isorespinning with -u option (kernel 4.17rc1) and editing boot parameters adding intel_idle.max_cstate=1 after quiet splash. Now the screen does not freeze but it turns black with a text cursor (apologize if the word is not the correct one) at the top of the screen to the left. And nothing happens beyond this point, it doesn't start.

      Thank you again for your advice.
      Jose

      Delete
    6. Try respinning your ISO with the following options: '-u -g intel_idle.max_cstate=1 --apollo' and '-i ' and see if it boots and works okay.

      Delete
    7. --apollo or --atom?

      It's an Asus T100HA.

      I will try. Thanks!

      Delete
    8. Must have looked up the wrong specs for a T100HA. Yes, it should be '--atom'.

      Delete
  5. Using this ISO + the broadcom script still doesn't get Wifi working for me. I'm wondering if the broadcrom script needs to be updated?

    The file from Windows was called 4345r6nvram.txt.

    ReplyDelete
    Replies
    1. Can you elaborate further because the ISO above includes the 'broadcom' script so the only thing required is to copy the Windows wifi driver file across and rename it correctly and restart the 'brcmbt.service' service.

      Delete
    2. If the Windows file was called 4345nvram.txt, should I rename it brcmfmac4345r6-sdio.bin and put it in /lib/firmware/brcm/ ?

      Delete
    3. Which device are you on?

      Delete
    4. https://www.amazon.com/gp/product/B071HSSX3N

      Delete
    5. Can you 'pastebinit' a link to your 'dmesg' after booting?

      Delete
    6. Yep:

      https://pastebin.com/jYx27cg5

      Delete
    7. Copy the Windows file '4345nvram.txt' across to '/lib/firmware/brcm/brcmfmac43455-sdio.txt' and restart networking services or reboot.

      Delete
  6. Is the Guest Session enabled?
    This because in order to pair my Bluetooth keyboard I need to log into G.S., activate Bluetooth and pair keyboard then log to user and write the password.

    Thank you.

    ReplyDelete
    Replies
    1. No functionality has been removed from the ISOs and the ISOs haven't been altered other than had some additional files for wifi, bluetooth, audio and booting on Atom and Apollo Lake devices added. As a standard ISO when you boot and select 'Try before installing' you will immediately get the desktop because a log in is not required.

      Delete
    2. Hi All! thank you Linuxium for all that ! Someone know how to disable All multitouch effects on Computer ? I want just mouse without all multitouch things (scrolling, pinch zoom,....) please help me for that.

      Delete
  7. Hi, I tryied multiple times, on multiple host os (Ubuntu 16.10 lts, debian9), with few isos (mint, ubuntu) and I have constantly result:
    isorespin.sh -i ubuntu-17.10.1-desktop-amd64.iso --atom
    Extracting ISO ...
    /usr/local/bin/isorespin.sh: Access to the internet is required for downloading files.
    rm: cannot remove '/home/dev/linuxTabletTemp/isorespin/mnt/.disk/base_installable': Read-only file system
    (...)
    rm: cannot remove '/home/dev/linuxTabletTemp/isorespin/mnt/ubuntu': Read-only file system

    Tryied both with sudo isorespin.sh .. and without sudo.

    ReplyDelete
    Replies
    1. You need access to the internet when you respin using the '--atom' option.

      Delete
    2. If you are behind a proxy or using a VPN perhaps the internet check is failing. You can try removing the check before using the script by running this command as a one-off:
      sudo sed -i 's/^\([[:space:]]*\)CHECK_INTERNET_ACCESS/\1# CHECK_INTERNET_ACCESS/' isorespin.sh
      (substitute /usr/local/bin/isorespin.sh for isorespin.sh as required)

      Delete
  8. Is it possible to modify the script for Apollo lake to respin Manjaro?

    ReplyDelete
    Replies
    1. The issue with Manjaro is that because it is based on the Arch Linux distribution the upgraded kernels aren't suitable as they are built for the Ubuntu distribution so the key functionality of respinning wouldn't be suitable.

      Delete
  9. 2 questions:

    1.) Should this also address analog audio? I have a Beelink BT3 (intel atom based) mini pc and the analog audio is not working.

    2.) I'm essentially new to ubuntu and linux - so maybe I'm missing something simple - but the wifi isn't working for me (only the ethernet connection works). running 'iwconfig' shows the following:
    lo no wireless extensions.

    enp1s0 no wireless extensions.

    ReplyDelete
    Replies
    1. Have you gone through the documentation (http://linuxiumcomau.blogspot.com.au/2017/06/customizing-ubuntu-isos-documentation.html) and tried all the recommendations under the relevant sections?

      Delete
    2. Thanks for your reply. I did read thru the documentation but very possible I missed something where I am a noviece. To confirm a few things:

      1. I assumed I could expedite my efforts by just using your pre spun
      linuxium-atom-ubuntu-16.04.4-desktop-amd64.iso file (instead of spinning my own since this will be my first Linux PC and thought I could skip setting up a VM). Is there a specific reason I should spin my own?

      2. I assume I have a Broadcom wifi device but I didn't see a txt error mentioned using dmesg nor did I find a nvram-74b00bd9-805a-4d61-b51f-43268123d113 file.

      3. I ran 'sudo apt-get install -y pavucontrol' to try and fix the audio but still nothing.

      I'm not particularly worried about wifi because I have an Ethernet connection and also not too worried about audio as I just want to use this device to experiment with a web server - but it would be a nice to have :) Otherwise it seems to be working OK. Should I be concerned about fixing those issues or just move ahead? It would be cool to have the option to also use it as a little media PC.

      In any case, I appreciate your help!

      Delete
    3. 1. You can use my prespinned ISOs but if you want to tailor your ISO further then you would need to repin yourself basically.
      2. You can try recovering the required wifi file from your Windows installation alternatively Google for it.
      3. The Beelink BT3 and BT3 Pro seem to be different from other devices and there could be any number of reasons why audio doesn't work. It is rather hard to diagnose without having the physical device however Beelink sell that model with Ubuntu installed so can they help and provide support? Otherwise you can try my latest post and see if it helps.

      Delete
    4. Thanks for your continued replies. Per my list above, more follow-up questions:

      2. [wifi] I'm realizing I may have taken the troubleshooting instructions literally and am mistakenly looking for the specific NVRAM file referenced? Running dmesg, I see the following txt line:
      [ 5.349380] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.txt failed with error -2

      Is that the right line? If so, what's next? Do I need to find/download the specific nvram file and 'cat' into the /lib/firmware/brcm/ directory mentioned in the troubleshooting info or is there an nvram file specific to me that I need to find? How do I know which nvram file?

      Also, the post mentions the folder to cat to is "/lib/firmware/brcm/brcm/" - is the second brcm a typo perhaps?

      3. [audio] I tried the newest blog post troubleshooting information but still no sound. I think I'm doing something wrong tho. I tried "sudo fix-STK1A32SC-and-STK1AW32SC-hdmilpeaudio.shsudo: fix-STK1A32SC-and-STK1AW32SC-hdmilpeaudio.sh" but I get command not found. I tried "sudo sh fix-..." and that seemed to run but no output - should the sh file output anything? Maybe I'm just over my head as a linux newbie ...

      Trying to stop the service with -k I get the following (so again, I think I'm missing fundamentals perhaps)?
      E: [pulseaudio] main.c: Failed to kill daemon: No such process

      Any help is greatly appreciated! Sorry I am novice.

      Delete
    5. Regarding the questions:
      2. Yes it should be '/lib/firmware/brcm/' and not '/lib/firmware/brcm/brcm/' (which incidentally would fail). I've updated the documentation as well.
      3. Unfortunately for you the 'fix-STK1A32SC-and-STK1AW32SC-hdmilpeaudio.sh' script is specifically for the Intel Compute Stick 'Sterling City' model and there was only a chance it would work on your devices. For the Beelink BT3 and BT3 Pro I now recommend you contact Beelink as they sell those models with Ubuntu installed and should be able to provide help and support.

      Delete
  10. Hi linuxium, I installed this iso on my jumper ezbook 2,but in the bios the laptop is charging when I plug in the ac, but when Ubuntu boots it is charging but not going on with percentage, if I try with acpitool -B it says "capacity loss: 101%" and "battery state: Full" can you help me? Thanks

    ReplyDelete
    Replies
    1. Try respinning the Ubuntu 16.04.4 ISO with the latest kernel and see if the more recent patches make any different.

      Delete
  11. Riccardo19 March 2018 at 00:20
    I changed my name,cause admin was a little bit inappropriate lol. I installed your prerespinned Ubuntu 16.04.04 but it's the same, the kernel is 4.13.0-36.40,what I have to do?

    ReplyDelete
    Replies
    1. You have to respin the Ubuntu 16.04.4 ISO with the option '-u' plus whatever options are relevant to your device (most likely just add '--atom' as well).

      Delete
  12. Hi Linuxium
    Got a black screen after installing Atom (-i ubuntu-16.04.4-desktop-amd64.iso --atom). Tried many options from 'NVRAM sync issues' in 'http://linuxiumcomau.blogspot.com.au/2017/06/customizing-ubuntu-isos-documentation.html' but it doesn't want to boot. How can I find out where's my ESP partition and what should I use, bootia32.efi' or 'grubx64.efi'. Ubuntu works fine from USB stick (but with no sound).
    While booting from usb stick got errors:
    Couldn't get size: 0x800000000000000e
    MODSIGN: Couldn't get UEFI db list
    Couldn't get size: 0x800000000000000e
    bluetooth: Out-of-order packet arrived (7 != 0)
    axp288_fuel_gauge axp288_fuel_gauge: ADC charge current read failed:-19
    axp288_fuel_gauge axp288_fuel_gauge: ADC charge current read failed:-19
    axp288_fuel_gauge axp288_fuel_gauge: ADC charge current read failed:-19

    And when enterin Gparted:
    Libparted warning
    The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.

    ReplyDelete
    Replies
    1. What device is this on? From the working Ubuntu on USB stick can you run 'sudo efibootmgr -v' and post the output together with 'lsblk -f'?

      Delete
    2. Device is prestigio visconte ecliptica
      http://uk.prestigio.com/catalogue/Notebooks/VISCONTE_Ecliptica#/product-specs?article=PNT10P131DEDB
      Operating System Windows 10 Pro
      PROCESSOR
      CPU Intel Atom x5-Z8350 Processor
      CPU Core Quantity 4
      CPU Core Name Cherry Trail
      Internal Clock Rate 1.44 GHz (up to 1.92 GHz)
      L2 Cache Memory 2 MB
      MEMORY
      Memory Technology DDR3 SDRAM
      Memory Speed 1600MHz(PC3-12800)
      RAM Capacity 4 GB
      STORAGE
      Internal Memory Size SSD 32 GB
      Video Chipset Intel HD Graphics
      Video Memory Type Shared Video Memory

      ubuntu@ubuntu:~$ sudo efibootmgr -v
      BootCurrent: 000A
      Timeout: 2 seconds
      BootOrder: 000A,0006,0009,0001,0007,0008
      Boot0001* Ubanaba HD(1,GPT,c5b21147-6a46-4c79-bf17-3c75a83a5c89,0x800,0x100000)/File(\EFI\ubuntu\grubx64.efi)
      Boot0006* Ubuntu6 HD(1,GPT,c5b21147-6a46-4c79-bf17-3c75a83a5c89,0x800,0x100000)/File(\EFI\ubuntu\bootia32.efi)
      Boot0007* Ubuntu7 VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
      Boot0008* Ubuntu8 VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
      Boot0009* UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8012)..BO
      Boot000A* UEFI OS HD(1,MBR,0x4294967228,0x194,0x17ba)/File(\EFI\BOOT\BOOTIA32.EFI)
      ubuntu@ubuntu:~$ lsblk -f
      NAME FSTYPE LABEL UUID MOUNTPOINT
      mmcblk0rpmb
      mmcblk0boot0
      loop0 squashf /rofs
      sda iso9660 Ubuntu 16.04.4 LTS amd64
      │ 2018-03-02-07-25-32-00 /cdrom
      ├─sda2 vfat Ubuntu 16.04.4 LTS amd64
      │ AD84-B8E3
      └─sda1 iso9660 Ubuntu 16.04.4 LTS amd64
      2018-03-02-07-25-32-00
      mmcblk0boot1
      mmcblk0
      ├─mmcblk0p2 ext4 65d5e89d-d8ab-439e-976f-c0f80b0c6197 /media/ubu
      ├─mmcblk0p3 swap cf31b106-65de-479b-856b-f711db2b8dda
      └─mmcblk0p1 vfat 1E61-2830

      Delete
    3. Boot from your 'Ubuntu on USB stick' and enter:

      for BOOTENTRY in 1 6 7 8 9 A
      do
      sudo efibootmgr -b ${BOOTENTRY} -B
      done

      Then enter:

      sudo efibootmgr -c -d /dev/mmcblk0 -p 1 -l \\EFI\\ubuntu\\grubx64.efi -L Ubuntu

      Then shutdown, remove the USB, then boot and see if it now works.

      Delete
    4. Now there's Ubuntu logo with white dots. And nothing happens

      Delete
    5. What happens if you leave it like this a couple of minutes?

      Delete
    6. waited for 15 mins, nothing happened.
      now sometimes it reboots with messages:
      /dev/mmcblk0p2: recovering journal
      /dev/mmcblk0p2: Clearing orphaned inode 269345
      /dev/mmcblk0p2: Clearing orphaned inode 267987
      /dev/mmcblk0p2: clean, 235984/1753088 files, 1429012/7000320 blocks
      [ 6.274526 intel_sst_acpi 808622A8:00: No matching machine driver found

      and then the black screen. Or loads with logo and white dots

      Delete
    7. Can you boot from your LiveUSB and reinstall Ubuntu as this might be the easiest way to sort it out. When you get the initial screen of "Installation Type' with choices of 'upgrade or erase or something else' (or similar wording) select the erase to perform a clean install.

      Delete
    8. At last it works.
      Just needed to boot first time after reinstalling with UEFI option enabled:
      "Reset System with ME disable ModeMEUD000".
      Still there's no sound

      Delete
    9. Can you boot with Intel's ME enabled as I don't see why that would affect booting? You will need 'UEFI' enabled in the BIOS if that is configurable but I'd leave the ME alone. Once booted can you 'pastebinit' your 'dmesg'?

      Delete
    10. Without "ME disable" only black screen or logo.
      http://paste.ubuntu.com/p/jK7FZJZpVs/ - dmesg.

      System is very unstable. Hangs when installing, deinstalling or updating something.
      Sorry for so many questions, i'm a complete linux-noob

      Delete
    11. Is the 'dmesg' for 'ME disabled' or for 'ME enabled'? And same for instability - which 'ME' state does this occur on?

      Delete
    12. it's all for 'ME disabled'.
      with 'enabled' it doesn't boot

      Delete
    13. Keep 'ME enabled' and install my 'bionic' ISO from 'http://linuxiumcomau.blogspot.com.au/2018/03/third-look-at-ubuntu-1804-or-bionic.html' selecting 'erase' on the 'Installation Type' screen so it is a totally clean install. Then try booting and post results. If it doesn't boot then reboot using the USB ISO and post the results of 'efibootmgr -v', 'lsblk -a', 'lsblk -f' and 'blkid' so I can prepare the next step.

      Delete
    14. Installed Bionic. Loaded into black screen. But then I pressed power button once and the screen turned on and Ubuntu asked me to type password (there should be a facepalm). I think it could also work in 16.04.
      dmesg - http://paste.ubuntu.com/p/YdkNQ44pK4/

      There were some errors after booting like backup service error. And there's still no sound

      Delete
    15. After updating all software it boots good. With no errors. Installed some stuff, no hangs. But Youtube video freezes now

      Delete
    16. And there's error with Mate Settings Daemon. It doesn't allow to torn off or reboot netbook

      Delete
    17. I can't find out what audio your device has so can you run the following commands:

      sudo apt install acpica-tools
      sudo cp /sys/firmware/acpi/tables/DSDT DSDT.dat
      sudo iasl -d DSDT.dat

      This will produce a file 'DSDT.dsl' which is a dump from your BIOS of a table that basically defines the hardware features of your device.

      Can you 'pastebinit' this file and post the URL?

      Delete
    18. http://paste.ubuntu.com/p/nHdPK4sGsR/

      Delete
    19. while tried to fix mate-settings-daemon error did dist-upgrade. System now works 10 times faster then before. There are no lags or freezes at all now

      Delete
    20. To see if I can get sound working on your device I've written a script that will install a kernel I've built based on Canonical's source for Ubuntu-4.15.0-12 and my port of support for Nuvoton NAU8824 based on John Hsu's work together with the necessary UCM files. I don't have your device so I've no idea if it works.

      You need to run the script from your installed Ubuntu on your device rather than a LiveUSB because a reboot is required. Download the script from 'http://bit.ly/linuxium-install-4_15-nau8824' and after making sure it is executable simply run it as './linuxium-install-4.15-nau8824.sh'. Then reboot and select 'Advanced' options from the GRUB menu and then select the '4.15.0-12-linuxium' option to run the new kernel.

      Can you test audio and let me know if it works together with the output from 'aplay -l', 'aplay -L' and a 'pastebinit' the 'dmesg'?

      Before testing you may first need to go into sound setting and select the output device before you hear audio.

      Also when testing can you try playing directly to the device if no sound works initially by using the commands:
      aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Left.wav
      aplay -D plughw:0,1 /usr/share/sounds/alsa/Front_Left.wav
      etc. where the 'plughw:0,1' is based on the 'CARD' and 'DEVICE' values from the 'aplay -l' command.

      Delete
    21. Man, i really don't know, how you're doing this. But I just ran the script and then rebooted. There was no GRUB menu, Ubuntu just started. But with the sound working. System sounds, youtube etc works fine. Thank you very much

      Delete
    22. Now doesn't work:
      Bluetooth (works with LiveUSB)
      Battery widget doesn't show that notebook charges (sometimes works with LiveUSB)
      When closing the laptop cover screen doesn't extinguish (works with LiveUSB)

      Delete
    23. aplay -l - http://paste.ubuntu.com/p/WTH84ScqRd/
      aplay -L - http://paste.ubuntu.com/p/DyHWnqcQJF/
      dmesg - http://paste.ubuntu.com/p/V3yjsyNzyv/

      Delete
    24. Thanks for the logs. The fix (patch) for the battery issue is scheduled for inclusion into the new v4.16 kernel (you are on v4.15). For bluetooth enter:

      sudo systemctl start rtl8723bsbt.service

      Delete
  13. I could not make either one of the image work for some reason. The atom one booted to grub command line, the Apollo one did not boot at all. I wrote images on USB using dd command. I tried both bs=1M and bs=4M dd options.

    ReplyDelete
    Replies
    1. What device is this on and did you select the correct USB partition from the boot menu?

      Delete
    2. I am on pipo x7s and I did select the correct usb partition for sure. Your Ubuntu with Cinnamon loads up nicely still.

      Delete
    3. Do you mean the old EOL ISO from 'http://linuxiumcomau.blogspot.com.au/2017/10/ubuntu-cinnamon.html' works but the one above doesn't? If so try respinning the new Ubuntu 17.10.1 ISO with '--atom'

      Delete
  14. Hi All,

    I'm trying to install this on a Intel Compute Stick with no luck. Done everything as per the tutorial and it won't go past the login screen no matter if I choose to install or try first. All I see is Ubuntu logo with dots loading...

    ReplyDelete
    Replies
    1. Which model of the Intel Compute Stick so I can check? Also how long did you leave the logo with dots loading for as it may be looking for a network connection (after a couple of minutes and it should load normally).

      Delete
  15. I've installed a respun image on my Z83ii ( https://www.gearbest.com/tv-box-mini-pc/pp_562951.html ) which has an AP6255 wifi chip. I ran into the no wifi issue, even though the ISO was respun using the --atom flag.

    I managed to resolve the issue by issuing

    dmesg | grep -i sdio

    to get the following message:

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

    From there I downloaded this nvram file

    https://github.com/khadas/android_hardware_amlogic_wifi/blob/Vim/bcm_ampak/config/6255/nvram.txt

    and copied it to a USB stick.

    Finally I put the USB stick in the Mini PC and copied the file to the correct firmware directory with:

    sudo cp /media/USB/nvram.txt /lib/firmware/brcm/brcmfmac43455-sdio.txt

    Rebooted and internal wifi reported networks found. The path you copy to may change depending on the result of dmesg but this worked for me. Now to try and get HDMI audio .. :)

    ReplyDelete
  16. Sir,
    I tried running your isorespin.sh and I when I get ready to build the ISO and it looks for the internet it states it needs internet to download files and then just closes after I click ok. Is there a step I am missing or something I am doing wrong? I am trying to install Lubuntu on a Vulcan Excursion XB Tablet. I currently got Ubuntu 16.04.4 LTS on the tablet but I cannot get the touch screen to work or get the screen to rotate. Any advice or help will be greatly appreciated.

    ReplyDelete
    Replies
    1. Basically the script checks for an internet connection as if one isn't present and it needs to download files it will fail. If you are getting a message about needing the internet then are you actually connected and if so does the result of the command 'ip r | grep default | cut -d ' ' -f 3 | head -1' the same as the IP address for your gateway?

      Delete
    2. Tried several distros on the Vulcan Excursion XB. From openSUSE to Ubuntu. Even Linux Mint. Can't boot without using nomodeset, and like Robert, I can't get touch to work. I understand that the screen rotation can't work because of nomodeset (the OS doesn't detect the display card), but there doesn't seem to be any way around this.

      Delete
    3. There are some patches coming upstream which address touch issues for several devices. It is worth keeping an eye on RCs for both v4.17 and v4.18 and try them when available to see if they help.

      Delete
  17. Dear Linuxium,
    First of all my a big hug and a bunch of thanks for your work! We tried already last year to switch a Acer One 1002 Convertible from Windows to Linux. Now we tried again for more than a week and almost gave up. As it has the "famous" Atom Bay Trail, 32bit UEFI and the Realtek 8723BS nothing seemed to work - till i found your Respin.
    Your respun 16.04 works right out of the box!
    We managed to fix some issues like not working brightness control.Only part of the FN-Keys do what they should.

    The only trouble now is the Battery charging: Very high power consumption, too low full charge level (76%) and especially some critical power events even with 40% or 70% of charge. possibly they are related with WiFi.
    Installed PowerOn and TLP, but no significant change.
    Any hint where we can set the charging levels?
    You mentioned above the new Kernel (4.16) might improve Battery issues. How can we update the Kernel or do we have to respin an Installation Iso and reinstall?
    Thanks again,
    Gunther

    ReplyDelete
    Replies
    1. You can manually install the new Canonical v4.16 kernel by downloading the .debs from 'http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16/' or wait until it becomes available as 'hwe-edge' (which will be sometime, if at all). If you go 'mainline' then you will have to manually maintain your kernel updates as these will be outside the scope of Ubuntu.

      Delete
    2. Thanks for your advice.
      Installed manually the 4.16 Kernel (Image & Headers). All working as before, the TLP readout gives much better charging levels. Guess the rest is settings for Power-Save and check the AC-Adapter, it seems to supply only 6w instead of the 10W indicated.
      THX a lot again,
      Gunther

      Delete
  18. I can’t get sound working on my Vivostick ts10 after installing ubuntu 16.04.4 for intel processors. I have even tried Linux mint with the same problem with sounds. I’m new in Linux what to do.

    ReplyDelete
    Replies
    1. Did you use a respun ISO and if so what options were used to create it?

      Delete
  19. I used yours from the post Ubuntu for atom. And installed from a usb. Can l have missed something under installation.

    ReplyDelete
    Replies
    1. First you could try booting Ubuntu 18.04 as a LiveUSB to see if this helps with sound (see 'http://linuxiumcomau.blogspot.com.au/2018/04/fourth-look-at-ubuntu-1804-lts-bionic.html' for an ISO). Otherwise I have a couple of posts on fixing sound ('http://linuxiumcomau.blogspot.com.au/2017/10/fixing-broken-hdmi-audio.html', 'http://linuxiumcomau.blogspot.com.au/2018/03/fixing-broken-hdmi-audio-again.html') which you could also try.

      Delete
  20. On an Intel Compute Stick I get

    "axp288_fuel_gauge axp288_fuel_gauge : ADC charge current read failed: 19" at around 10.50s. With my previous install I actually got this message twice.

    Is this anything to worry about?

    ReplyDelete
    Replies
    1. I spoke too soon. After a software update, that's gone.

      The only worry I'm left with is:

      "intel_sst_acpi 808622A8:00: No matching machine driver found"

      Sound is working after running this script, so once again is this something that can safely be ignored or might it cause some issues?

      Delete
    2. Comment notification failed recently so I have a backlog of comments to read and reply to hence the delay with this response.

      I don't believe the 'error' is impacting anything at the moment so I am ignoring it for the time being.

      Delete
  21. i have device acer switch one 10, with intel x5 z8300 cherrytrail, can i install ubuntu with this ISO ?

    THanks

    ReplyDelete
    Replies
    1. Comment notification failed recently so I have a backlog of comments to read and reply to hence the delay with this response.

      You can try with the 'atom' ISO and if that doesn't get everything working you may need to respin with a later kernel or try a 'bionic' or '18.04 ISO.

      Delete