Skip to content

Instantly share code, notes, and snippets.

View TwizzyIndy's full-sized avatar
😔

Aung Khant Myo TwizzyIndy

😔
View GitHub Profile
@TwizzyIndy
TwizzyIndy / frida-spoof.js
Created January 24, 2021 07:55 — forked from jacopo-j/frida-spoof.js
Frida script to spoof and hide several Android identifiers
/* Utilities */
var RANDOM = function() {};
function _randomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
function _randomHex(len) {
var hex = '0123456789abcdef';
@TwizzyIndy
TwizzyIndy / disable.sh
Last active November 18, 2020 08:22
Disable bunch of #$!@ in Big Sur - Forked from https://gist.github.com/pwnsdx/1217727ca57de2dd2a372afdd7a0fc21
#!/bin/bash
# IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it!
# IMPORTANT: You will need to run this script from Normal Mode's Terminal.
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
# Agents to disable
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>Font</key>
<data>
AAEAAAASAQAABAAgRkZUTTzr2vEAAQK0AAAAHEdERUYBbgEBAADy
@TwizzyIndy
TwizzyIndy / NotoSansKiller.sh
Created March 3, 2017 19:22
NotoSansKiller
#!/system/bin/sh
#author : TwizzyIndy
#created on : 11/2016
su -c busybox mount -o remount,rw /system
cd /system/fonts
for font in NotoSansMyanmar*
do
fontName=`echo $font|cut -f 1 -d '.'`
#!/usr/bin/env python
#encoding:utf8
#===============================================================================
#
# FILE: simg2img.py
#
# USAGE: ./simg2img.py system.img
#
# DESCRIPTION:
#
@TwizzyIndy
TwizzyIndy / PrivacyPolicy.txt
Created May 4, 2016 02:20
Privacy Policy for MMComplex Keyboard
PRIVACY POLICY
MMComplex Keyboard is a custom keyboard for the Apple’s iOS devices. Your privacy is important to us. In this privacy policy, we let you know what information we collect when you use our applications (the “Apps”), why we collect it and how we use it to improve your experience.
COLLECTION OF PERSONAL INFORMATION
No collection of personal information that you type. The app “MMComplex Keyboard" does not collect any personal information or upload any such information to any server.
Crash logs are handled automatically by Apple and are sent to the developer. These crash logs are not personally identifiable and are used solely for maintenance, bug fixing and improvements.
DATA STORAGE
The data (Keyboard settings and color data) are stored on your device locally.
#!/bin/sh
# Written by TwizzyIndy
# Jan 2 , 2016
echo "#################"
echo "#################"
echo "AppsBackup Script"
echo "TwizzyIndy"
echo "#################"
@TwizzyIndy
TwizzyIndy / lollipop.java
Created September 27, 2015 05:22 — forked from plateaukao/lollipop.java
How to detect foreground process name in Android with Lollipop
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
public static String getForegroundProcess(Context context) {
String topPackageName = null;
UsageStatsManager usage = (UsageStatsManager) context.getSystemService(Context.USAGE_STATS_SERVICE);
long time = System.currentTimeMillis();
List<UsageStats> stats = usage.queryUsageStats(UsageStatsManager.INTERVAL_DAILY, time - 1000*1000, time);
if (stats != null) {
SortedMap<Long, UsageStats> runningTask = new TreeMap<Long,UsageStats>();
for (UsageStats usageStats : stats) {
runningTask.put(usageStats.getLastTimeUsed(), usageStats);
@TwizzyIndy
TwizzyIndy / check_m_m_fonts.sh
Last active August 29, 2015 14:24
This shell script allow you to check which myanmar fonts is installed on the Android device. Push that script on /data/local/tmp and then execute it.
#!/system/bin/sh
if [ -e "/system/fonts/Padauk.ttf" ]
then
touch /data/local/tmp/padauk_exists
fi
if [ -e "/system/fonts/NotoSansMyanmar-Regular.ttf" ]
then
touch /data/local/tmp/noto_regular_exists