Skip to content

Instantly share code, notes, and snippets.

Avatar
✍️
Studying !

Aki Akianonymus

✍️
Studying !
View GitHub Profile
View install-shfmt.sh
#!/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 ;;
@Akianonymus
Akianonymus / remove-hd-icon.md
Created Dec 4, 2019
Remove HD ICON ( IMS )
View remove-hd-icon.md

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)
View Force-isRadioTechLte-to-true.patch
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
You can’t perform that action at this time.