Skip to content

Instantly share code, notes, and snippets.

@hyphop
Created October 14, 2019 07:13
Show Gist options
  • Save hyphop/ced99a064d095de4e05b769e7e8f0aad to your computer and use it in GitHub Desktop.
Save hyphop/ced99a064d095de4e05b769e7e8f0aad to your computer and use it in GitHub Desktop.
Lakka VIM1

LAKKA OS

Rebuilt by ## hyphop ##

DEVICES

NOTES

  • Rebuilt the last 2.3 release from lakka.tv
  • Extremely small size (all repacked by lzma)
  • Removed unused firmwares
  • Onboard Wi-Fi - OK
  • EMMC Boot - OK
  • SD Boot - OK
  • Khadas IR Remote Control - OK
  • Khadas 3705 Cooling Fan - OK
  • Pre-installed game ROMs
  • Easy installation from SD to EMMC
  • Bluetooth - MISS (WIP)
  • File System: NTFS + exFat + Fat + ext2/3/4

SSH

  • Deactivated by default.
    user	root
    passw	lakka

DOWNLOAD image links

wget http://dl.txxt.space/Firmware/VIM1/Lakka/lakka_23.0_pre_vim1.sd.img.gz
megadl 'https://mega.nz/#!Dq402a6L!aP3-kA8eRGOsLVTHw9cSbmA8daFBuygXC482DRXddts'

ROM links

megadl 'https://mega.nz/#F!fmJlDC4b!OdaroX8s1D0vSza80cL-NA'
ls -1
FB_Alpha_0.2.97.38.repack.zip
roms_nes_snes_segamega_doom12u.zip

megadl 'https://mega.nz/#F!95ZjhA4A!WsxHYK-0p_Zfm2PtfxB6HA'
ls -1
psx-ntsc-u-set1.zip

INSTALL image to SD card

Linux - default installation method

wget SERVER/LAKKA_IMAGE.img.gz
gzip -d LAKKA_IMAGE.img.gz
sudo dd if=LAKKA_IMAGE.img bs=1M of=/dev/YOU_SD_CARD
# or
gzip -dc LAKKA_IMAGE.img.gz | sudo dd bs=1M of=/dev/YOU_SD_CARD

Linux - single command line download and installation

wget http://dl.txxt.space/Firmware/VIM1/Lakka/lakka_23.0_pre_vim1.sd.img.gz -O- | gzip -dc | sudo dd bs=1M of=/dev/YOU_SD_CARD

NOTE: Remember to replace the words LAKKA_IMAGE and YOU_SD_CARD, to the correct values in your system.

Linux - GUI

sudo ./balenaEtcher-1.5.57-x64.AppImage

Just select the LAKKA_IMAGE.img.gz image, and select your SD card as the target. Press burn!

Another OS (or if previous methods were difficult for you)

Use Balena Etcher to burn the Lakka image to your SD card or USB flash media.

More links

BOOT from SD card

  • Best way is to just boot Lakka from your SD card.
  • If your EMMC is empty, Lakka will automatically boot from your SD card.
  • Else, Uboot will start from EMMC by default - it can boot from SD card, but only with the proper version and config!

VIM1_v12 (old)

  1. Power on VIM1.
  2. Short-circuit the two pads of the M register (back PCB side), and without releasing it… https://docs.khadas.com/images/vim1/MRegister_ShortCircuit.png
  3. Short press the Reset key, then release it to force boot from SD card https://docs.khadas.com/vim1/HowtoBootIntoUpgradeMode.html#MRegister-Mode-Maskrom-Mode

VIM1 v14 (current)

Just triple-press KEY_F (middle button) to force SD bootup!

INSTALL to EMMC (internal storage)

  1. Write image to SD card.
  2. Open/mount SD card (LAKKA partition) on your PC.
  3. Activate this script scripts/install2emmc.script.disabled which is stored in the first LAKKA partition. Rename it from install2emmc.script.disabled -> install2emmc.script.
  4. Unmount/eject SD card from your PC .
  5. Insert SD card into VIM1 (TF card slot).
  6. Power on + force boot from SD card by triple pressing KEY_F (middle button).
  7. Wait for the "remove SD card" message to appear, before ejecting your SD card.
  8. OK! Well done! EMMC boot will occur automatically.

NOTE: All previous EMMC data will be lost!!!

SAMBA

  • Deactivated by default.

Linux clients - smb config example

[global]
client use spnego = no
protocol = SMB2
client max protocol = smb2
workgroup = WORKGROUP

RC control

  • You can customise remote.conf to match any other Remote Control.
  • By default it is configured for the Khadas IR Remote.

ROMs pre-installed

  • All pre-installed ROMs are only for educational purposes.
  • Please do not share this image.

LINKS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment