Skip to content

Instantly share code, notes, and snippets.

Avatar
💬
Discord: hota#4982

hota lindwurm

💬
Discord: hota#4982
View GitHub Profile
View update_bromite.sh
#!/bin/bash
cd prebuilts_bromite/app
TAGNAME=$(echo $(curl -s https://api.github.com/repos/bromite/bromite/releases/latest | grep "tag_name" | cut -d : -f 2 | tr -d \",))
BASEURL=https://github.com/bromite/bromite/releases
curl -H 'Accept: application/octet-stream' -L \
-O ${BASEURL}/download/${TAGNAME}/arm_ChromePublic.apk \
-O ${BASEURL}/download/${TAGNAME}/arm64_ChromePublic.apk \
View xda_floko_v4_template.txt
[IMG]https://lindwurm.neocities.org/img/floko/flokowall_v4_mini.png[/IMG]
[SIZE="3"]
[QUOTE]
[SIZE="4"][B]Your warranty is now void.[/B][/SIZE]
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this ROM before flashing it!
YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
[/QUOTE]
@lindwurm
lindwurm / huge_emoji.css
Created Apr 1, 2021
エイプリルフール企画
View huge_emoji.css
/* enlarge custom emoji. from: https://mstdn.maud.io/@unarist/99773019918049096 */
/* note: :only-child won't count text nodes */
p > .emojione[alt^=":"]:only-child {
width: 10em; height: 10em; margin: 0;
}
.status__content p .emojione {
width: 5em; height: 5em; margin: 0;
}
View gist:3aea23a1af9f5fc9d46d505404d16626
[ 99% 672/675] including vendor/xiaomi/sm8250-common/Android.mk ...
[ 99% 673/675] including vendor/xiaomi/umi/Android.mk ...
[ 99% 674/675] finishing build rules ...
FAILED:
frameworks/av/services/camera/libcameraservice/tests/Android.mk: error: "cameraservice_test (NATIVE_TESTS android-arm64) missing libcameraservice (SHARED_LIBRARIES android-arm64)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
frameworks/av/services/camera/libcameraservice/tests/Android.mk: error: "cameraservice_test (NATIVE_TESTS android-arm) missing libcameraservice (SHARED_LIBRARIES android-arm)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:972: error: exiting from previous errors.
04:34:52 ckati failed with: exit status 1
View how_to_test_flokorom_ota.md

How to test FlokoROM OTA

  1. Fork https://github.com/FlokoROM/OTA and https://github.com/FlokoROM/packages_apps_Updater
  2. Modify updater_server_url to your Updater repo, in packages_apps_Updater/res/values/strings.xml
  3. add this in your local_manifests to enable Updater
<?xml version="1.0" encoding="UTF-8"?>
View xda_floko_v3_template.txt
[IMG]https://lindwurm.neocities.org/img/floko/flokowall_v3.png[/IMG]
[SIZE="3"]
[QUOTE]
[SIZE="4"][B]Your warranty is now void.[/B][/SIZE]
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this ROM before flashing it!
YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
[/QUOTE]
View timedatectl
lindwurm@mashiro:~$ timedatectl
Local time: Sun 2019-08-25 12:04:30 UTC
Universal time: Sun 2019-08-25 12:04:30 UTC
RTC time: Sun 2019-08-25 12:04:30
Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
systemd-timesyncd.service active: yes
RTC in local TZ: no
lindwurm@mashiro:~$ timedatectl list-timezones | grep -i tokyo
Asia/Tokyo
View result
[18.04] non-ccache: 02:08:15 (hh:mm:ss)
[16.04] non-ccache: 02:14:07 (hh:mm:ss)
[18.04] with-ccache: 35:56 (mm:ss)
[16.04] with-ccache: 42:17 (mm:ss)
[18.04] non-ccache: 02:05:44 (hh:mm:ss)
[16.04] non-ccache: 02:24:34 (hh:mm:ss)
[18.04] with-ccache: 35:50 (mm:ss)
[16.04] with-ccache: 41:33 (mm:ss)
View java1804
ubuntu@testing1804:~$ sudo update-alternatives --config java
[sudo] password for ubuntu:
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 auto mode
1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual mode
2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
View marlin.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LineageOS/android_device_google_marlin" path="device/google/marlin" />
<project name="LineageOS/android_kernel_google_marlin" path="kernel/google/marlin" />
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" />
<project name="LineageOS/android_vendor_nxp-nfc_opensource_frameworks" path="vendor/nxp-nfc/opensource/frameworks" />
<project name="LineageOS/android_vendor_nxp-nfc_opensource_libnfc-nci" path="vendor/nxp-nfc/opensource/libnfc-nci" />