Saturday, 3 March 2018

Ubuntu 16.04.4 for Intel Atom and Apollo Lake devices

UpdateThis work is superseded ... see Ubuntu announced new point releases for 16.04 LTS.


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)
Update: ISOs have been removed as they have been superseded. New ISOs to be posted by 7th Feb 2020 and this page will be updated with a link to them.

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

157 comments:

aad said...

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

Linuxium said...

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

Unknown said...

page no exist

Unknown said...

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?

Linuxium said...

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

Linuxium said...

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

Unknown said...

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.

vladimir4 said...

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

Linuxium said...

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.

Linuxium said...

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.

Unknown said...

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.

Unknown said...

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

Anthony said...

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

Anthony said...

Great Work Linuxium !

Unknown said...

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

Linuxium said...

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.

Linuxium said...

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?

Coddy said...

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

Linuxium said...

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.

Unknown said...

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 ....

Unknown said...

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.

Unknown said...

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.

Linuxium said...

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.

Unknown said...

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

Linuxium said...

Which device are you on?

Unknown said...

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

Linuxium said...

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

Unknown said...

Yep:

https://pastebin.com/jYx27cg5

Linuxium said...

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

Unknown said...

Works! Amazing, thank you.

Linuxium said...

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

Unknown said...

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!

Linuxium said...

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'.

Brandon Lee Camilleri said...

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.

Linuxium said...

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.

Anthony said...

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.

vladimir4 said...

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.

Unknown said...

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.

Peeter said...

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

Oakrest said...

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.

Linuxium said...

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

Linuxium said...

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

Linuxium said...

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.

Linuxium said...

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?

Linuxium said...

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)

Riccardo said...

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

Oakrest said...

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!

Linuxium said...

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

Linuxium said...

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.

Riccardo said...

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?

Linuxium said...

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).

reader said...

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.

Wild Rose said...

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.

Unknown said...

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...

Linuxium said...

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'?

Linuxium said...

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

Linuxium said...

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).

Wild Rose said...

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

Linuxium said...

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'

DE018 said...

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 .. :)

reader said...

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

Linuxium said...

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.

reader said...

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

Linuxium said...

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

reader said...

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

Linuxium said...

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.

reader said...

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

Linuxium said...

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'?

reader said...

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

Linuxium said...

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

reader said...

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

Linuxium said...

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.

reader said...

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

reader said...

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

reader said...

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

Linuxium said...

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?

reader said...

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

reader said...

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

Linuxium said...

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.

reader said...

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

reader said...

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)

reader said...

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

Oakrest said...

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.

Unknown said...

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.

Linuxium said...

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

Linuxium said...

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.

Linuxium said...

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?

Gunther Gorny said...

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

Linuxium said...

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.

Gunther Gorny said...

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

Unknown said...

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

Trencherous said...

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.

Linuxium said...

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.

Linuxium said...

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.

Unknown said...

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

Patrik said...

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.

Linuxium said...

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.

Linuxium said...

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

Unknown said...

--apollo or --atom?

It's an Asus T100HA.

I will try. Thanks!

Patrik said...

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

Linuxium said...

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

Linuxium said...

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.

Unknown said...

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?

Unknown said...

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?

Vido Kun said...

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

THanks

Linuxium said...

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.

Linuxium said...

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.

Unknown said...

I have a Nextbook (from Walmart) that has Atom Baytrail inside. I created a live USB stick for ubuntu 16.04.4 using isorespin.sh and installed ubuntu 16.04.

Pretty much everything worked out of the box. The only issue I've seen is that, for audio, I had to manually select the device once I open sound settings. (I did not have to mess with aplay -L or aplay -l).

thanks again for the great work in customizing ubuntu for atom devices.

lettyharry said...
This comment has been removed by a blog administrator.
Unknown said...

Hi. Great job ur doing man.
I have lamina7 tablet and wanna install ubuntu it.
Is this Atom version of 16.04.4-desktop-amd64.iso updated when or do you update it?
Im totally finger middle of hand with linux and really slow to type so i want ready packet to use.. ;)

Linuxium said...

Use the latest ISO from https://linuxminipcs.wordpress.com/ubuntu-16-04-5-lts-xenial-xerus/

Unknown said...

I rebuilt atom specific ISO for ubuntu-mate 18.04 amd64 iso. I installed it on my nextbook 10. Live CD showed full functionality. I ran into grub2 issues during install. Eventually was able to install with wifi and battery connection.

I like ubuntu-mate much more than ubuntu unity (personal preference). I was having some screen flickering issues on ubuntu-16.04 and dont see that with ubuntu-mate 18.04.

isorespin.sh is an awesome script.

thanks again.

Unknown said...

Can someone please upload working respinned ubuntu.iso to atom linx7_ so i can download it.
I just cant make this working.

Unknown said...

Yeah finally get it respinned but laggy as what..

Linuxium said...

You are probably better off respinning Lubuntu 18.04.1 as that will be less resource hungry and performance should improve.

Unknown said...

Hi linuxium,
I installed your ruspun version of ubuntu ISO on my EZbook 3s based on apollo lake. Works perfectly like no other did, but wifi has really seriuos problems, almost can't use it. Should I try to use isorespin,sh to change any other setting (e.g. kernel version, adding packages..)?
Thanks a lot for answering, your help has already been great to me.

Linuxium said...

Which wifi chip does your device use?

Unknown said...

That's the info I got typing 'sudo lshw -C network':

*-network

description: Wireless interface
physical id: 1
bus info: usb@1:7
logical name: wlxa02c366eef87
serial: a0:2c:36:6e:ef:87
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rtl8xxxu driverversion=4.13.0-36-generic firmware=N/A ip=192.168.1.69 link=yes multicast=yes wireless=IEEE 802.11

and 'sudo lsusb':

Bus 001 Device 003: ID 0bda:b720 Realtek Semiconductor Corp.

I found out that that ID address is the same for both Realtek RTL8723AU chipset and Realtek RTL8723BU chipset, and I couldn't identify which one of the two it is.

Unknown said...

Actually from windows I can see the wifi chip as "Realtek RTL8723B Wireless LAN 802.11n USB 2.0 Network Adapter", so it's probably the Realtek RTL8723BU chipset the right one.

Linuxium said...

Can you use 'pastebinit' or similar to post a link to a 'dmesg' taken after booting?

Unknown said...

http://paste.ubuntu.com/p/kprMmh3g2m/

I noticed that after putting pc to standy a couple of times, wifi connection begins working perfectly.

If I want to install a more recent version of Ubuntu (I still have the 16.04 ISO respun for Apollo that I got from here) can I just click 'yes' when the system asks me to upgrade Ubuntu to newer version? Otherwise, do I have to remove my current version and install a manually respun Ubuntu18.04 ISO version?
Thank you.

Linuxium said...

According to dmesg you are using a 'Realtek USB WiFi dongle' which is 'untested!'. It shows up as RTL8723BU. I'd actually try 18.04.1 first and see if it performs any better. You can download the ISO from 'https://linuxminipcs.wordpress.com/ubuntu-18-04-1-lts-bionic-beaver/' and try it as a LiveUSB first.

Unknown said...

Tried and installed 18.04.1, same issue of previous version. WiFi only works after putting to standby.
Here is 'dmesg' just after booting:
https://pastebin.com/Cw47RJyY/
This is 'dmesg' after putting to standby:
http://paste.ubuntu.com/p/dZPTtppXNb/

Linuxium said...

Maybe report the result to the author of the driver (see dmesg line 836 for details)?

Adam Gillette said...

I am trying to install on a samsung ativ 700t and am able with this file to boot to the install screen, but when i select either install or try i get locked on a blank screen. any idea why this is happening and how to fix?

gosa said...

@Unknown: Did you manage to get your iso working? I also have the T100HA and I'm at a loss for words describing how fed up I am with Windows on this machine... but at the same time the thought of running into various kinds of issues trying to respin scares the hell out of me. I have been using Linux on and off for years, but this respin thing have had me hesitating for half a year now. Now I'm getting tired of having to clean out the hard drive after every major update (updates that takes forever).

Please tell me you succeded!

Linuxium said...

Can you try the later ISOs from 'http://linuxminipcs.com'?

Unknown said...

Hey man, i hope you are well and keep up the good work. I have the 2 gig compute stick and i was wondering if you had a 32bit version. I thank you very much since your version is the only one that will actually boot that i have found since in my bios it only gives me windows and android OS options.

Linuxium said...

My 16.04.5 ISO can be found here: https://linuxminipcs.wordpress.com/ubuntu-16-04-5-lts-xenial-xerus/

Anton Shabunin said...

Thanks for your efforts, 16.04.4 x64 ISO boots and works pretty stable on my Dexp Bay Trail tablet! I am a Knoppix guy through and through, but Knoppix 8.2 x86 (stock 4.16.5 kernel) freezes on my tablet, adding intel_idle.max_cstate=1 prolongs working time a bit but eventually it freezes all the same. Kernel source 4.16.5 is installed and I can patch and rebuild kernel using make-kpkg. I tried backported Mika v3 patch taken from bko109051 and it still freezes. So my question is which patches were applied to stock 4.13 kernel by Ubuntu to build this ISO so that I could apply them and build working kernel for Knoppix?

Linuxium said...

From memory I don't think Canonical applied any non-mainline patches for their 4.13 kernel that related to the kernel 'freeze'.

Anton Shabunin said...

I found a way to use working Ubuntu kernel in Knoppix. Outline of steps:
1. Get Ubuntu kernel image/module/header packages
2. Prepare USB flash drive with Knoppix 8.2.
3. Boot Knoppix USB flash drive and install Ubuntu kernel packages
4. Recreate modules.dep for Ubuntu kernel modules to make sure that graphics modules can be found by modprobe during boot to init graphics console (or else screen might remain blank on UEFI systems)
5. Compile out-of-tree cloop kernel module using Ubuntu kernel headers
6. Append Ubuntu kernel modules usb-storage, nls_iso8859-1.ko, isofs, reiserfs, cloop, aufs to minirt.gz (they are needed to access USB drive, mount FAT partition, mount and unify KNOPPIX and KNOPPIX1 compressed filesystems)
7. Add Ubuntu kernel to syslinux.cfg (for legacy BIOS systems) or syslnx32.cfg/syslnx64.cfg (for UEFI systems)

Strangest thing, Knoppix with Ubuntu kernel is rock-solid with all c-states enabled, 3d/compiz works, so I solved my problem and I stay with Knoppix! See detailed method at https://ant-sh.blogspot.com/2019/03/use-ubuntu-kernel-in-knoppix.html

Linuxium said...

Great. Your 'detail' post is also interesting and informative.

Anonymous said...

Can I use this for my intel atom z3735f

Anonymous said...

Nevermind it works great plqnning to donate to you sometime in the future thwnks so much

Anonymous said...

If I have any problems Ill ask you

Linuxium said...

Yes!

Linuxium said...

Thanks.

Linuxium said...

Okay.

apple said...

Sir,you are nice.I have some questions. Are the ISO files you provid all ubuntu 64-bite?Do you have 32-bite?

Linuxium said...

The above ISOs (and the later ones from http://linuxiumcomau.blogspot.com/2019/03/ubuntu-announced-new-point-releases-for.html) are all 64-bit. However the 'atom' variants also include GRUB's 32-bit bootloader so that they will boot on Intel Atom devices as these typically require a 32-bit bootloader.

apple said...

So the ISOs can boot on eeepc x101ch(32 bite) including intel atom but can not use on eeepc x101ch?

Linuxium said...

The Asus Eee PC X101CH is a very old 'netbook' coupled with a low spec so your chances of getting Ubuntu working are slim.

I'd recommend trying Lubuntu which is much more lightweight and start with the last available 32-bit image:

http://cdimage.ubuntu.com/lubuntu/releases/18.04/release/lubuntu-18.04.3-desktop-i386.iso

If this works you could always try respinning their 64-bit 19.04 image and add the 32-bit GRUB bootloader as I'm not sure whether you'll get working audio, wifi and bluetooth with any ISO given how old that device is.

Unknown said...

hello dear I just wanna ask since I gave up after usinge every single ISO from every DISTRO poossibem am running HP Tablet with intel atom Z2760 1.80 GHz 2GB RAM and 32bit operating system with x86 based processor, not a single ISO I tried ever booted from my BIOS, as my BIOS detect the USB Stick, gets me to the installation of the OS but never boots the actual OS, I have been burning ISO and trying here and there for about a week, you think you may know what is happening?

Linuxium said...

Have you tried the 'Atom' ISO linked in the post at the top in red?

fab76 said...

Hi, I've the same tablet samsung 500t, I've tried the iso 18.04.4, I am able to boot on grup, but when I select try or install, the screen stay black do you have an idea?
thanks

fab76 said...

Humm it seems that it's a 32bit processor, do you still have a 32bit iso? I've checked on you site but I don't see any i686 file.

Linuxium said...

For 32bit bootloader you can use my 'Atom' ISOs of either 16.04.6 or better still 18.04.4. Following the 'ISO' link at the top right of this page (underneath the spinning disk image).

fab76 said...

Thanks for your answer. :)
But all the isos are amd64, my atom processor is z2760 so 32bit efi bootloader and 32bit processor, so I need more a i686 image... when I use your isos, I can boot on grub, but nothing move after, I stay blocked on a black screen.

Linuxium said...

I didn't realise the Z2760 uses a 32bit instruction set.

I'd recommend downloading and using Lubuntu 18.04.4 in that case ([lubuntu-18.04.4-desktop-i386.iso] is available from http://cdimage.ubuntu.com/lubuntu/releases/18.04.4/release/) as it will probably be more responsive than Ubuntu 16.04.6 ([ubuntu-16.04.6-desktop-i386.iso] is available from http://releases.ubuntu.com/16.04.6/) although most distros have/are dropping 32bit support and aren't available for the latest releases.

Unknown said...

Yes :) thanks for the advice
but I need a gpt efi boot, as this poor tablet (samsung 500t) doesn't have mbr boot in bios, I need 32 bit efi boot.
I've tried a lot of distri but never succedeed, and I had to come back to win10 or 8.1, but it's not usable...

Linuxium said...

I've not been able to test this as I don't have the hardware to hand however you can try this:
1. Download your ISO (I used ubuntu-16.04.6-desktop-i386.iso)
2. Download/make a copy of my latest script (cp /usr/local/bin/isorespin.sh .)
3. Create a patch:
cat <<+ > isorespin.patch
--- /usr/local/bin/isorespin.sh 2020-02-18 11:29:12.344650050 +1100
+++ isorespin.sh 2020-03-05 20:29:25.155030751 +1100
@@ -3899 +3899 @@
- EFI_REQUIRED_SIZE=\$((EFI_CURRENT_SIZE+EFI_GRUB_SIZE))
+ EFI_REQUIRED_SIZE=\$((2*EFI_GRUB_SIZE))
@@ -3909 +3909 @@
- sudo cp grub_bootia32.efi mnt/efi/boot/bootia32.efi
+ sudo mkdir -p mnt/efi/boot && sudo cp grub_bootia32.efi mnt/efi/boot/bootia32.efi
@@ -3913 +3913 @@
- sudo cp efi_bootia32.efi iso-directory-structure/EFI/BOOT/bootia32.efi
+ sudo mkdir -p iso-directory-structure/EFI/BOOT && sudo cp efi_bootia32.efi iso-directory-structure/EFI/BOOT/bootia32.efi
+
4. Patch the script (patch -l < isorespin.patch)
5. Hack the script for 32bit (sed -i 's/amd64/i386/g' isorespin.sh)
6. Run the script ignoring the errors (./isorespin.sh -i ubuntu-16.04.6-desktop-i386.iso)
7. Test your device with the resultant linuxium-ubuntu-16.04.6-desktop-i386.iso
8. Donate if it works!

fab76 said...

Hi thanks but it boots from minimal bash shell.
I was able to launch the iso.

loopback loop (hd1,gpt1)
set root=(loop)
linux /casper/vmlinuz
initrd /casper/initrd.lz

but it stays blocked to (initramfs)

I guess that the legacy usb is not enabled in bios(not an option) because I should be able to press enter to have the terminal.
I think that this tablet will never have linux on it.

Thanks for the help anyway :)

Linuxium said...

Shouldn't that be 'initrd /casper/initrd' not 'initrd /casper/initrd.lz' looking at the ISO?

fab76 said...

yes sure I wrote it from memory :)

Linuxium said...

The performance would probably be too poor to be really useable so it not working is probably a blessing in disguise.

Linuxium said...

Try replacing the line 'linux /casper/vmlinuz' with 'linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper' as this should enable it to boot.

Post a Comment

All comments now moderated so that spam can be deleted.