Chromium is there in tur repo and x11 repo contains some dependencies of chromium
Run these commands
pkg install -y tur-repo x11-repo
-- https://www.codegrepper.com/code-examples/lua/lua+how+to+print+a+table | |
local function print_table(node, indent) | |
local cache, stack, output = {}, {}, {} | |
local depth = 1 | |
local output_str = "{\n" | |
indent = indent or " " | |
while true do | |
local size = 0 | |
for k, v in pairs(node) do |
################################################### | |
# Convert bytes to human readable form | |
# Required Arguments: 1 | |
# ${1} = Positive integer ( bytes ) | |
# Result: Print human readable form. | |
# Reference: | |
# https://unix.stackexchange.com/a/259254 | |
################################################### | |
_bytes_to_human() { | |
b_bytes_to_human="$(printf "%.0f\n" "${1:-0}")" s_bytes_to_human=0 |
parse_config() { | |
_config_file="${1:?Error: Profile config file}" | |
# check if the config file accessible | |
[ -r "${_config_file}" ] || { | |
printf "%s\n" "Error: Given config file ( ${_config_file} ) is not readable." | |
return 1 | |
} | |
# Setting 'IFS' tells 'read' where to split the string. |
#!/usr/bin/env bash | |
CURRENT_SHELL="${SHELL##*/}" | |
case "$CURRENT_SHELL" in | |
'bash') SHELL_FILE="$(ls "$HOME"/.bashrc)" ;; | |
'zsh') SHELL_FILE="$(ls "$HOME"/.zshrc)" ;; | |
*) echo "Not a supported shell" && exit 1 ;; | |
esac | |
case "$(uname -m)" in | |
'armv7l') ARCH=arm ;; |
Steps to remove persistent ims HD icon from notification bar.
Decompile ims.apk using apktool.
Go to decompiled folder, run below commands:
sed -i 's|.*device_is_hd_capable.*| \<string name="device_is_hd_capable" /\>|g' $(find -type f | grep strings.xml)
From edb28acbe2253bfcc49cbb6e7e1faf60ed04ed97 Mon Sep 17 00:00:00 2001 | |
From: Akianonymus <anonymus.aki@gmail.com> | |
Date: Thu, 21 Mar 2019 06:54:03 +0530 | |
Subject: [PATCH] Force isRadioTechLte to true | |
--- | |
.../com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
diff --git a/src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java b/src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java |