Skip to content

Instantly share code, notes, and snippets.

View AwaisKing's full-sized avatar
😮‍💨
someone kill me tbh 😪

AWAiS AwaisKing

😮‍💨
someone kill me tbh 😪
View GitHub Profile
https://forums.ubports.com/topic/4675/simple-backup-once-more
https://notes.markuspetermann.net/Software/Android/Using_dd_to_dump_Android_partionions_via_adb.md
https://www.exceptionlife.com/android/question/8478/adb-pull-says-it-pulled-all-of-the-files-from-my-android-phone-into-my-windows-pc-but-in-reality-it-didn-39-t
https://gist.github.com/AnatomicJC/e773dd55ae60ab0b2d6dd2351eb977c1?permalink_comment_id=3746015
-----------------------
https://gist.github.com/AnatomicJC/e773dd55ae60ab0b2d6dd2351eb977c1
@AwaisKing
AwaisKing / cock.penis
Created October 9, 2021 07:46
watch cartoons n shit
https://watchmovie.cc/
https://kisscartoon.info/
https://free-123movies.com/
@AwaisKing
AwaisKing / urmomgay.md
Created June 5, 2020 14:58
fix - scrcpy adb push error / permissions denied

if you're getting this error:

ERROR: "adb push" returned with value 1

it's probably becuse of your phone's SELinux policy permissions, it happens when your phone's SELinux policy is either set to enforced or the folders'/files' SE Context permissions are set to system_data_files or shit like that

your phone must be rooted for this procedure

easy way (for kids)

@AwaisKing
AwaisKing / Main.java
Last active October 20, 2018 10:56
Transparent Status Bar - API 19+ (KitKat)
public class Main extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Toolbar toolbar = findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
StatusUtils.initStatusBar(this, (ViewGroup) findViewById(android.R.id.content), toolbar);
@AwaisKing
AwaisKing / Pixelate.cs
Created January 29, 2018 12:53
File to color pixels and back!
using System;
using System.Text;
using System.IO;
using System.Drawing;
using System.Collections.Generic;
using System.Linq;
using System.Drawing.Imaging;
class Pixelate {
static void Main(string[] args) {
@AwaisKing
AwaisKing / Hash.java
Created October 17, 2017 06:28
Some kind of file hash generation
package awais;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
File file = new File("C:\\Users\\AWAiS\\Desktop\\test");
FileInputStream is = new FileInputStream(file);
byte[] chunk = new byte[33];
@AwaisKing
AwaisKing / Crypten.java
Last active September 10, 2017 06:40
PBE with MD5+DES encryption and decryption script
package decrption;
import java.io.*;
import java.util.*;
import javax.crypto.*;
import java.security.*;
import java.nio.charset.*;
import javax.crypto.spec.*;
import java.security.spec.*;
@AwaisKing
AwaisKing / change_android_id.txt
Last active December 26, 2023 16:00
commands to check, update or make new ANDROID_ID
~~ list every "secure" settings
adb shell settings list secure
~~ check android_id
adb shell content query --uri content://settings/secure --where "name=\'android_id\'"
~~ or ~~
adb shell settings get secure android_id
~~ update android_id
@AwaisKing
AwaisKing / netscape_to_json_firefox_to_chrome.php
Created February 1, 2016 06:48
Netscape HTML Cookie from Firefox to Google Chrome Converter (PHP)
<?php
error_reporting(E_ALL);
ini_set('display_errors','On');
ini_set("error_reporting", E_ALL);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
set_error_handler('errorHandler');
/**
* Firefox Cookies to JSON (Chrome)