- Download these 2 files
- Compile AOSP without fcm from stock and wait for check_vintf to error out
- Delete Python prefix from all lines (e.g.
checkvintf E 06-24 00:30:22 49120 49120 check_vintf.cpp:554]
) - Paste the result in fqnames.txt
- Launch the script
#!/bin/bash | |
echo -e "Hello! this is a shell script to help you get microsoft fonts straight from a Windows 10 ISO. \nThis can be used for any language." | |
[ "$EUID" -ne 0 ] && echo "Please run this script as root." | |
[ ! -x "$(command -v 7z)" ] && echo "You need 7z installed in order for the scipt to run" | |
echo enter iso file path: | |
read ISOPATH |
So, you guys might be wondering, how do these "Developers" get your favourite Custom roms, such as LineageOS, Paranoid Android etc., to their own devices. Well I'm here to Guide you on how to do it, specifically on how to bringup or make your own device tree from scratch or adapting.
Gist of this Guide: This is for people with genuine interest in Android OS porting/development. After going through this guide, you should be able to do a total device tree bringup on your own.
Prerequisite: Certain requirements are to be met before you start with this amazing journey.
mkdir realvncserversetup && cd realvncserversetup | |
echo Add armhf arch | |
sudo dpkg --add-architecture armhf && sudo apt update | |
echo Download and install RealVNC server | |
wget -nv https://www.realvnc.com/download/file/vnc.files/VNC-Server-6.7.4-Linux-ARM.deb && sudo apt install ./VNC-Server-6.7.4-Linux-ARM.deb | |
echo Download and install dependencies | |
files=( libbcm_host.so libvcos.so libmmal.so libmmal_core.so libmmal_components.so \ | |
libmmal_util.so libmmal_vc_client.so libvchiq_arm.so libvcsm.so libcontainers.so ) |
#!/bin/bash.sh | |
# | |
# push a big git repository commit by commit to not run into timeouts | |
# this is for example needed if you have some bigger binary files inside the repository and | |
# run into timeouts while pushing the repo into a new remote url. | |
# | |
# to run this script please ensure that: | |
# 1. you are able to push to your remote url via ssh (without password authentication) | |
# 2. you put this file into the directory above your git repo and open a bash inside your repo's directory | |
# 3. this file is executable, if you are unsure about this run: |
Make sure the device's and/or commonized device proprietary-files are updated with the same blobs that you want in your proprietary vendor repo. | |
Next, to use the kang and section mode we need the switches "-k -s". -k tells extract-files to only kang/pull updated blobs without deleting any blobs. -s tells it to only update ones from a commented section of your proprietary-files. | |
for example, if i have this in my proprietary-files | |
# ADSP - from oneplus3t - OnePlus/OnePlus3/OnePlus3T:9/PKQ1.181203.001/1911042108 - OOS 9.0.6 | |
vendor/lib/libadsp_hvx_callback_skel.so | |
vendor/lib/libadsp_hvx_stub.so |
#!/bin/bash | |
# Uninstall vendor system packages through adb shell. | |
# Stock ROM Samsung Galaxy J3 - J330F | |
apps=( | |
'com.samsung.android.calendar' | |
'com.google.android.music' | |
'com.google.android.videos' | |
'com.microsoft.office.excel' |
This is a collection of the tweaks and modification I've made to my Arch Linux installation over the months. These may be applicable to other distros, but please check first before doing anything. I also included Arch Wiki references for all the procedures I mentioned. My recommendation is not to blindly follow this gist but to always check with the Arch Linux wiki first. Things move fast and by the time you're reading this my gist may be out of date. Lastly, the golden rule: never execute a command you don't understand.
My current DE of choice is KDE's Plasma. I find it just about perfect.
There are various ways to install it on Arch. The most popular one is to install plasma
and plasma-applications
, but I don't like doing that because it comes with too many programs I'll never use. I, instead, install the base plasma
group, remove the few extra packages that come with it, then I finish off by installing a few KDE apps that don't come with th
# create an account on ngrok is not already and copy the authtoken and | |
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip | |
unzip ngrok-stable-linux-amd64.zip | |
read -p 'Enter the authtoken from ngrok :' authtoken | |
./ngrok authtoken $authtoken #for example ZT64bWYnXTAsJej4FNFTdsjhsuAQqKqZHn2Sh4g2sfAD | |
./ngrok tcp 22 & | |
apt-get install -qq -o=Dpkg::Use-Pty=0 openssh-server pwgen > /dev/null | |
mkdir -p /var/run/sshd | |
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config && echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config | |
echo "LD_LIBRARY_PATH=/usr/lib64-nvidia" >> /root/.bashrc && echo "export LD_LIBRARY_PATH" >> /root/.bashrc |
[CmdletBinding()] | |
param ( | |
[Parameter()] | |
[string] | |
$user = "mika76" | |
) | |
$URL = "https://api.github.com/users/$user/starred" | |
$PAGE = 0 |