All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Register

Login

All New Register Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
swee's Avatar

swee / APKBUILD

0 likes
0 forks
1 files
Last active 9 months ago
1 # Reference: <https://postmarketos.org/vendorkernel>
2 # Kernel config based on: arch/arm64/configs/(CHANGEME!)
3
4 pkgname=linux-motorola-troika
5 pkgver=4.14.113
6 pkgrel=0
7 pkgdesc="Motorola One Action kernel fork"
8 arch="aarch64"
9 _carch="arm64"
10 _flavor="motorola-troika"
swee's Avatar

swee / deviceinfo

0 likes
0 forks
1 files
Last active 9 months ago
1 # Reference: <https://postmarketos.org/deviceinfo>
2 # Please use double quotes only. You can source this file in shell
3 # scripts.
4
5 deviceinfo_format_version="0"
6 deviceinfo_name="Motorola One Action"
7 deviceinfo_manufacturer="Motorola"
8 deviceinfo_codename="motorola-troika"
9 deviceinfo_year="2019"
10 deviceinfo_dtb="exynos/exynos9610"
swee's Avatar

swee / gist:aa828770412643f7877799e9254fa77a

0 likes
0 forks
1 files
Last active 9 months ago
1 $ pmbootstrap bootimg_analyze boot.img #lOS
2 [16:05:14] NOTE: You will be prompted for your sudo/doas password, so we can set up a chroot to extract and analyze your boot.img file
3 [16:05:49] (native) install file unpackbootimg
4 doas (swee@candycorn) password:
5 [16:06:03] Put these variables in the deviceinfo file of your device:
6
7 deviceinfo_kernel_cmdline="loop.max_part=7 androidboot.boot_devices=13520000.ufs"
8 deviceinfo_generate_bootimg="true"
9 deviceinfo_flash_pagesize="2048"
10 deviceinfo_dtb_second="true"
swee's Avatar

swee / device-motorola-troika_APKBUILD

0 likes
0 forks
2 files
Last active 9 months ago
1 # Reference: <https://postmarketos.org/vendorkernel>
2 # Kernel config based on: arch/arm64/configs/(CHANGEME!)
3
4 pkgname=linux-motorola-troika
5 pkgver=4.14.113
6 pkgrel=1
7 pkgdesc="Motorola One Action kernel fork"
8 arch="aarch64"
9 _carch="arm64"
10 _flavor="motorola-troika"
swee's Avatar

swee / gist:56aa8b69c70c4168956fdc52c6522c4e

0 likes
0 forks
1 files
Last active 9 months ago
1 swee @ candycorn
2 ~/Downloads UwU $ cp /tmp/postmarketOS-export/boot.img ./boot2.img
3 swee @ candycorn
4 ~/Downloads UwU $ extract-dtb boot2.img
5 No appended dtbs found
swee's Avatar

swee / gist:8d9bf2615579440b93a0ffe379852a79

0 likes
0 forks
1 files
Last active 9 months ago
1 dt_table_header:
2 magic = d7b7ab1e
3 total_size = 213892
4 header_size = 32
5 dt_entry_size = 32
6 dt_entry_count = 2
7 dt_entries_offset = 32
8 page_size = 2048
9 version = 0
10 dt_table_entry[0]:
swee's Avatar

swee / gist:e64066e042f349b2b779382fffd81277

0 likes
0 forks
1 files
Last active 9 months ago
1 swee @ candycorn
2 ~/Downloads OwO 1 $ extract-dtb dtbo.img
3 Dumped 00_kernel, start=0 end=96
4 Dumped 01_dtbdump_samsung,exynos9610.dtb, start=96 end=104301
5 Dumped 02_dtbdump_samsung,exynos9610.dtb, start=104301 end=1048576
6 Extracted 2 appended dtbs + kernel to dtb
7 swee @ candycorn
8 ~/Downloads UwU $ extract-dtb boot.img
9 Dumped 00_kernel, start=0 end=48459776
10 Dumped 01_dtbdump_samsung,armv8.dtb, start=48459776 end=67108864
swee's Avatar

swee / gist:a4c206e7b8c84453b9567e1e97aaaab8

0 likes
0 forks
1 files
Last active 9 months ago
1 # Reference: <https://postmarketos.org/deviceinfo>
2 # Please use double quotes only. You can source this file in shell
3 # scripts.
4
5 deviceinfo_format_version="0"
6 deviceinfo_name="Motorola One Action"
7 deviceinfo_manufacturer="Motorola"
8 deviceinfo_codename="motorola-troika"
9 deviceinfo_year="2019"
10 deviceinfo_dtb="exynos/exynos9610"
swee's Avatar

swee / gist:cdb7b4a7d6584a9aaa5c27c1e067daa7

0 likes
0 forks
1 files
Last active 9 months ago
1
2 zImage found: Image
3 make[3]: Nothing to be done for '__dtbs_install'.
4 make[3]: Nothing to be done for '__dtbs_install'.
5 make[3]: Nothing to be done for '__dtbs_install'.
6 make[3]: Nothing to be done for '__dtbs_install'.
7 make[3]: Nothing to be done for '__dtbs_install'.
8 make[3]: Nothing to be done for '__dtbs_install'.
9 make[3]: Nothing to be done for '__dtbs_install'.
10 make[3]: Nothing to be done for '__dtbs_install'.
swee's Avatar

swee / gist:afd1a663d8ba41428e71aab93f0789c7

0 likes
0 forks
1 files
Last active 9 months ago
1 >>> linux-motorola-troika: Entering fakeroot...
2 zImage found: Image
3 make[3]: Nothing to be done for '__dtbs_install'.
4 make[3]: Nothing to be done for '__dtbs_install'.
5 make[3]: Nothing to be done for '__dtbs_install'.
6 make[3]: Nothing to be done for '__dtbs_install'.
7 make[3]: Nothing to be done for '__dtbs_install'.
8 make[3]: Nothing to be done for '__dtbs_install'.
9 make[3]: Nothing to be done for '__dtbs_install'.
10 make[3]: Nothing to be done for '__dtbs_install'.
Newer Older

Powered by Opengist ⋅ Load: 210ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文