Kali on the Chuwi Hi10 Pro

Kali on the Chuwi Hi10 Pro

Updated for Kali 2017.02This is a short tutorial on dual booting windows and Kali on the Chuwi Hi10 Pro. When I first wrote this post I seriously wouldn’t have recommended Kali on the Chuwi Hi10 Pro as an every-day system – now, with 2017.2 and the 4.12 kernel it makes a much nicer install experience (the kind that I’m used to with other platforms) so, if you really want to use kali as a day-to-day system on the chuwi then it will work for you :)

1) download kali from kali.org/downloads

kali-2017.02-download

2) Create the boot media:
I used etcher

etcher.png

Etcher works on osx, windows and linux, so its a good choice, though you could use unetbootin or rufus.

3) Boot your chuwi from the usb device (apparently you cant do it form the on-board SD card reader)
To get to the boot menu on the chuwi hi10 pro, you need to press F7 on boot. that brings up the menu to select the boot device.
(You’ll notice that all of this is with the screen on its side :| )

kali grub

4) Partition / resize
One I had booted into kali as a live environment, I ran gparted and I removed the windows partition – but you may want to do something else

5) Install
Once the partition changes are applied, reboot and boot from the kali usb and select install from the grub boot prompt – follow the install instructions and use the partition space freed in the above steps

kali installer

6) Booting
To boot kali you’ll need to press f7 and select kali from the uefi boot options (the chuwi bootloader will still show android and windows)

8) Fixes
– Rotate your X display: settings > displays > select the display > click the rotate icon > click keep changes
Rotate your framebuffer

kali-grub.JPG

You can rotate your virtual framebuffers using fbcon. 0 through 3 to represent the various rotations:

  • 0 – Normal rotation
  • < strong >1 – Rotate clockwise
  • < strong >2 – Rotate upside down
  • < strong >3 – Rotate counter-clockwise

These can be set from the command line by putting a value into the correct system file. Rotate the current framebuffer:

echo 1 | sudo tee /sys/class/graphics/fbcon/rotate

Rotate all virtual framebuffers:

echo 1 | sudo tee /sys/class/graphics/fbcon/rotate_all

If you want this to happen automatically when you start your system, you need to modify your boot loader configuration to give it the correct options. In /etc/default/grub add fbcon=rotate:1 to the GRUB_CMDLINE_LINUX line:

GRUB_CMDLINE_LINUX="video=efifb fbcon=rotate:1"

(Don’t forget to run sudo update-grub after changing this file.)

fbcon.JPG

Kali on the Chuwi Hi10 Pro

Kali on the Chuwi Hi10 Pro – What doesnt work out of the box:

Touchscreen

As kali 2017.2 uses the 4.12 kernel (but not 4.12.1), the touchscreen drivers are not yet part of the mainline kernel, you do need to get the firmware aswell

Firmware for the touchscreen is at github.com/onitake/gsl-firmware

mkdir ~/src
cd ~/src
git clone https://github.com/onitake/gslx680-acpi
git clone https://github.com/onitake/gsl-firmware
#copy the file gsl-firmware/firmware/chuwi/hi10_pro/silead_ts.fw to /lib/firmware
sudo cp ~/src/gsl-firmware/firmware/chuwi/hi10_pro/sliead_ts.fw /lib/firmware 
#make the kernel module
cd ~/src/glsx680-acpi
make
make install
#modprobe the new kernel driver from the gslx680-acpi directory
modprobe gslx680_ts_acpi

Check dmesg and touch the screen. It should work :) The touchscreen works much better in 2017.2, but doesnt seem to respond when you change the orientation of your screen (as a workaround I found that changing the screen back to thedefault orientation, then re-rotating it seemed to fix the touchscreen)

if the touchscreen is wonky, try copying the firmware from the hi10_pro-z8350 folder and modprobing again

wifi

As kali 2017.2 uses kernel 4.12.0 the onboard wifi still doesnt work – I will update if I get it working (I have a working usb wifi dongle, so my syhstem is usable for now)

sources:
http://www.udoo.org/tutorial/creating-a-bootable-micro-sd-card-with-mac-os-x-from-image/
https://forums.kali.org/showthread.php?271-How-to-EFI-install-Kali-Linux
https://kaliuefi.blogspot.co.uk
http://askubuntu.com/questions/237963/how-do-i-rotate-my-display-when-not-using-an-x-server
Rotate Screen, not running X windows
Rotate console on startup (Debian)

(Visited 1,370 times, 1 visits today)