はじめてのpostmarketOSインストール Windowsタブレット #kagolug Beginner for install postmarketOS in Windows Tablet and x86 UEFI64bit devices
1. 1
はじめてのpostmarketOSインストール Windowsタブレット
Beginner for install postmarketOS in Windows Tablet and
x86 UEFI64bit devices
1、 自己紹介 Self introduction
2、Recently my activities
3、What’s postmarketOS?
4、Surpported devices
5、Install postmarketOS on Generic x86
6、 ./pmbootstrap.py
7、Alpine Linux Commands
8、 postmarketOS and Qemu
9、Known issues
詳しい話はSlideshareで公開中
@kapper1224
Gadget Hacking
User Group
Speaker:Kapper
鹿児島らぐ4月Online 2020年4月29日 14:00〜
Place: Online
This Presentation:
Slideshare & PDF files
publication of my HP
http://kapper1224.sakura.ne.jp
postmarketOS
and UEFI64bit Devices
2. 2
自己紹介 Self Introduction
●
My name: Kapper
●
Twitter account:@kapper1224
●
HP:http://kapper1224.sakura.ne.jp
●
Slideshare: http://www.slideshare.net/kapper1224
●
mastodon:https://pawoo.net/@kapper1224/
●
Facebook:https://www.facebook.com/kapper1224/
●
My Hobby:Linux、*BSD、and Mobile Devices
●
My favorite words:The records are the more important than the experiment.
●
Test Model:Netwalker(PC-Z1,T1)、Nokia N900、DynabookAZ、RaspberryPi
Nexus7(2012、2013)、Nexus5、OpenPandora、Chromebook、
Fx0(FirefoxOS)、台湾Android電子辞書 無敵CD-920、CD-928
GPD-WIN、GPD-Pocket、Windows Tablet、SailfishOS、UBPorts
●
Recent my Activity:
Hacking Linux on Windows10 Tablet (Intel Atom) and Android Smartphone.
Hacking NetBSD and OpenBSD on UEFI and Windows Tablet.
I have been exhibiting in NT Nagoya, NT Kanazawa, Oogaki Mini MakerFaire.
I have over 160 Windows Tablet and 80 ARM Android, and test it now.
後、最近小説家になろうで異世界で製造業と産業革命の小説書いていますなう。
3. 3
Recently my activities
Sailfish X on Xperia X
Reports Linux on
Windows Tablet in Amazon Activities on NT, MakerFaire,Taiwan
NetBSD、OpenBSD、FreeBSD
Some Linux on Windows Tablet
postmarketOS on
Nexus5, Nexus7 2012
UBPorts on Nexus5
Nexus7 2013
14. 14
Supported devices
●
Google Nexus, Samsung old Galaxy,Xiaomi,HTC,
Asus, Motorola Moto, Nokia N9,N900,old Xperia,
RaspberryPi,Qemu,Generic amd86...
●
https://wiki.postmarketos.org/wiki/Devices
15. 15
PostmarketOS Based systems
●
Alpine LinuxをベースにしておりAndroidKernelなど。
PostmarketOS is based Alpine Linux.
It uses Android kernel or Mainline kernel.
●
1. Overwrite flash img,
2. SD cards,
3. ZIP files on TWRP, CWM
4. The other Android recovery system.
●
インストールにはpmbootstrap.pyをLinuxで動かすだけ
Install scrpit pmbootstrap.py in Linux distibutions.
●
User interfaces (WM) 13種類
None, gnome(Wayland), i3wm, Kodi(Wayland),
mate, phosh(Wayland), plasma-desktop,
plasma-mobile(Wayland), shelli, sway(Wayland),
weston(Wayland), xfce4
16. 16
●
参考サイトは公式HPのWiki
Please see the official HP and the Wiki.
●
https://wiki.postmarketos.org/wiki/Generic_x64_UEFI_device
Install postmarketOS in Generic
x86 UEFI devices
17. 17
Install postmarketOS on USB Memory
1.pmbootstrapをGitHubからインストール
Install pmbootstrap from GitHub.
2.USBメモリを母艦刺してフォーマット、アンマウント
Connect USB memory in your PC and formats, umount it.
3. ./pmbootstrap.py init で機種名をtablet → x64uefi を入力
Operate ./pmbootstrap.py init , and input tablet → x64uefi is devices names.
4. ./pmbootstrap.py install --sdcard=/dev/sdb (もしくはmmcblk0など)
でUSBメモリに焼く
Install postmarketOS in USB memory, ./pmbootstrap.py install --sdcard=/dev/sdb .
5. ./pmbootstrap.py shutdown でインストール終了 Shutdown it
6. 再起動してBIOS(UEFI)からUSBメモリを選択して起動
DowReboot postmarketOS from USB memory, and select it in BIOS(UEFI) .
7. postmarketOSが起動 Boot postmarketOS
18. 18
./pmbootstrap.py init
1.Githubからpmbootstrap.py init を実行した後に機種を選択
A
●
[05:51:30] Choose your target device vendor (either an existing one, or a new one for
porting).
●
[05:51:30] Available vendors (48): alcatel, amazon, asus, bq, chuwi, fairphone, finepower,
fujitsu, google, gp, hisense, htc, huawei, infocus, jolla, leeco, lenovo, lg, medion, meizu,
motorola, nextbit, nobby, nokia, oneplus, oppo, ouya, pine64, planet, purism, qemu,
raspberry, samsung, semc, sharp, sony, surftab, t2m, tablet, teclast, tokio, wiko, wileyfox,
wingtech, xiaomi, yu, zte, zuk
●
[05:51:30] Vendor [tablet]: tablet
●
[05:51:31] Available codenames (1): x64uefi
●
[05:51:31] Device codename [x64uefi]: x64uefi ← 機種名をコマンド入力
19. 19
./pmbootstrap.py init
1.Githubからpmbootstrap.py init を実行した後にWMを選択
After the commands ./pmbootstrap.py init, select your favorite WMs.
●
Available user interfaces (12):
* none: No graphical environment
* gnome: (Wayland) Gnome Shell (not for armhf)
* i3wm: (X11) Tiling WM (keyboard required)
* kodi: (Wayland) 10-foot UI useful on TV's
* mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)
* phosh: (Wayland) Mobile UI developed for the Librem 5 (works only with numeric
passwords!)
* plasma-desktop: (X11/Wayland) KDE Desktop Environment (works well with tablets)
* plasma-mobile: (Wayland) Mobile variant of KDE Plasma (slow without hardware
acceleration, allows only numeric passwords!)
* plasma-mobile-extras: Plasma Mobile with more apps pre-installed (video and music
players, pdf reader, etc.)
* shelli: Plain console with touchscreen gesture support
* sway: (Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT
HW ACCELERATION!)
* weston: (Wayland) Reference compositor (demo, not a phone interface)
* xfce4: (X11) Lightweight GTK+2 desktop (stylus recommended)
●
User interface [xfce4]: xfce4 ← WMを入力して選択
21. 21
Boot Phosh, Plasma Mobile
●
焼いたUSBメモリからブートするだけ。多彩なスマホUIが魅力
Boot postmarketOS from USB memory and BIOS.
Gnome Phosh in postmarketOS
Plasma-Mobile in postmarketOS
22. 22
Install postmarketOS in x86_64 devices
using Arch Linux installdisk...
ArchLinuxのUSBインストールディスクを使用し設定、その後丸ごとコピペする・・しかない?
25. 25
Boot postmarketOS in Qemu
●
同じ様に、
./pmbootstrap init
→qemu →qemu-amd64 or qemu-aarch64
./pmbootstrap install
./pmbootstrap qemu
●
Qemuのインストール、設定その他は全自動
automatic install qemu and postmarketOS
●
他のpmbootstrapを使うと消されるので注意
If you will install the another devices, delete qemu