Skip to content

Instantly share code, notes, and snippets.

View amdev01's full-sized avatar
:shipit:

AMDEV01 amdev01

:shipit:
  • United Kingdom
View GitHub Profile
@amdev01
amdev01 / adlist.txt
Created May 30, 2024 23:09
Channel 4 adlists
0.0.0.0 ads.channel4.com
0.0.0.0 cdn.http.anno.channel4.com
0.0.0.0 cdn.ss.anno.channel4.com
0.0.0.0 channel4.com.112.2o7.net
0.0.0.0 channel4.com.sc.omtrdc.net
0.0.0.0 channel4.com.ssl.sc.omtrdc.net
0.0.0.0 ic.channel4.com
0.0.0.0 monitor.channel4.com
0.0.0.0 sexperienceuk.channel4.com
0.0.0.0 webstat.channel4.com
@amdev01
amdev01 / command.txt
Created July 10, 2022 00:41
adb to file and print
adb logcat 2>&1 | tee logcat.log
Filtering for: E
01-01 00:00:07.147 290 290 E hwservicemanager: BINDER_SET_INHERIT_FIFO_PRIO failed with error -1
01-01 00:00:07.221 299 313 E vold : Failed to chmod /data/system_ce/0: No such file or directory
01-01 00:00:07.221 299 313 E vold : Failed to chmod /data/misc_ce/0: No such file or directory
01-01 00:00:07.582 323 323 E IptablesRestoreController: iptables error:
01-01 00:00:07.582 323 323 E IptablesRestoreController: ------- COMMAND -------
01-01 00:00:07.582 323 323 E IptablesRestoreController: *filter
01-01 00:00:07.582 323 323 E IptablesRestoreController: :fw_powersave -
01-01 00:00:07.582 323 323 E IptablesRestoreController: -A fw_powersave -m owner --uid-owner 0-9999 -j RETURN
- waiting for device -
--------- beginning of main
01-01 00:00:00.409 286 286 W auditd : type=2000 audit(0.0:1): initialized
01-01 00:00:05.550 286 286 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
01-01 00:00:05.556 1 1 I init : type=1400 audit(0.0:3): avc: denied { module_request } for kmod="personality-8" scontext=u:r:init:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
01-01 00:00:05.616 220 220 I ueventd : type=1400 audit(0.0:4): avc: denied { module_request } for kmod="personality-8" scontext=u:r:ueventd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
01-01 00:00:06.066 1 1 I init : type=1400 audit(0.0:5): avc: denied { create } for name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=1
01-01 00:00:06.183 239 239 I fsck.f2fs: type=1400 audit(0.0:6): avc: denied { module_request } for kmod="personality-8" scontext=u:r:fsck:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
01-01 00:
- waiting for device -
--------- beginning of main
01-01 01:17:56.776 287 287 W auditd : type=2000 audit(0.0:1): initialized
01-01 01:17:57.550 287 287 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
01-01 01:17:57.556 1 1 I init : type=1400 audit(0.0:3): avc: denied { module_request } for kmod="personality-8" scontext=u:r:init:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
01-01 01:17:57.636 220 220 I ueventd : type=1400 audit(0.0:4): avc: denied { module_request } for kmod="personality-8" scontext=u:r:ueventd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
01-01 01:17:58.103 1 1 I init : type=1400 audit(0.0:5): avc: denied { create } for name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=1
01-01 01:17:58.216 240 240 I fsck.f2fs: type=1400 audit(0.0:6): avc: denied { module_request } for kmod="personality-8" scontext=u:r:fsck:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
01-01 01:
@amdev01
amdev01 / gapps.patch
Last active June 30, 2022 12:46
fajita build
diff --git a/gms-vendor.mk b/gms-vendor.mk
index 2cb6a2e..651d535 100644
--- a/gms-vendor.mk
+++ b/gms-vendor.mk
@@ -89,39 +89,16 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
GoogleExtShared \
- GooglePrintRecommendationService \
GooglePackageInstaller \
@amdev01
amdev01 / gcloudv4xx.sh
Last active July 17, 2022 20:14
very basic script for linode building
#!/bin/bash
# update
sudo apt update && apt -y upgrade
# get build tools
sudo apt -y install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev libwxgtk3.0-gtk3-dev openjdk-8-jdk python2 gcc-10-multilib # for los 15.1
# symlink for python
sudo ln -s /usr/bin/python2 /usr/bin/python
@amdev01
amdev01 / clean-up-arch-linux.md
Created February 5, 2022 23:56 — forked from rumansaleem/clean-up-arch-linux.md
Instructions to clean up Arch Linux (Manjaro)

Contents

  • Clean pkg cache
  • Remove unused packages (orphans)
  • Clean cache in /home
  • remove old config files
  • Find and Remove
    • duplicates
    • empty files
    • empty directories
  • broken symlinks
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 31a4859..7678c25 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -12,7 +12,7 @@
android:resizeableActivity="false"
android:theme="@style/AppTheme.Launcher"
android:extractNativeLibs="false"
- android:fullBackupContent="@xml/backup_descriptor"
+ android:fullBackupContent="?attr/app_backup_desc"
This file has been truncated, but you can view the full file.
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|