View Single Post
Old 07-09-2019, 11:55 AM   #1
zaoqi
github.com/zaoqi
zaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beauty
 
Posts: 87
Karma: 32020
Join Date: Mar 2017
Location: - Zhejiang China
Device: Boox c67ml,Note S,Max2,KT3,KPW4,Kobo AurdHD,Touch N905C
I successfully ran kpw4 image in docker.

preparation:
configure binfmt-support on the Docker host (works locally or remotely, i.e: using boot2docker)
Code:
$ docker run --rm --privileged multiarch/qemu-user-static:register --reset

Dockerfile:
Code:
FROM multiarch/busybox:armel
ADD update_kindle_all_new_paperwhite_v2_5.11.2_rootfs.tgz /
generate update_kindle_all_new_paperwhite_v2_5.11.2_rootfs. tgz:
Code:
$ kindletool extract update_kindle_all_new_paperwhite_v2_5.11.2.bin .
$ gzip -d rootfs.img.gz
$ gnome-disk-image-mounter rootfs.img ## or mount rootfs.img ...
$ cd <mount point>
$ sudo tar -czvf <path to update_kindle_all_new_paperwhite_v2_5.11.2_rootfs.tgz> .

to run it
Code:
$ docker build -t kpw4 .
$ docker run -it --rm kpw4 /bin/sh
at least cvm works:
Code:
$ docker run -it --rm kpw4 /bin/sh
# /usr/java/bin/cvm
Does anyone know how to start the system UI?

Last edited by zaoqi; 07-16-2019 at 03:06 AM.
zaoqi is offline   Reply With Quote