Skip to content

Instantly share code, notes, and snippets.

@andreysanyuk
andreysanyuk / mac-config
Last active September 25, 2025 10:14
ghostty config for mac
theme = light:dayfox,dark:guezwhoz
font-family = JetBrains Mono
font-style = SemiBold
macos-option-as-alt = true
macos-icon = chalkboard
cursor-style = bar
cursor-style-blink = false
window-width = 168
window-height = 38
clipboard-trim-trailing-spaces = true
@andreysanyuk
andreysanyuk / get_sqlcipher_password.js
Created August 19, 2022 06:23 — forked from fs0c131y/get_sqlcipher_password.js
Frida script to get the password of a sqlcipher database
/*
* get_sqlcipher_password.js
* Copyright (c) 2019 Elliot Alderson <fs0c131y@protonmail.com>
*
* Frida.re JS functions to get SQLCipher database passwords.
*
* Example usage:
* # frida -U -f in.gov.uidai.mAadhaarPlus -l get_sqlcipher_password.js --no-pause
*
*/
@andreysanyuk
andreysanyuk / Nexus5MultiROM.md
Created May 23, 2019 14:13 — forked from hexalellogram/Nexus5MultiROM.md
Nexus 5 MultiROM Documentation Steps

Nexus 5 MultiROM Setup Documentation

No Longer Updated, see here

Resetting Nexus to Stock State

  1. Download Nexus Factory Stock Image (https://developers.google.com/android/images#hammerhead)
  2. Reboot Nexus to fastboot with: adb reboot booloader
  3. Unlock bootloader: fastboot oem unlock
  4. Flash stock image to Nexus (cd into the directory where the stock image was unzipped to first): ./flash-all.sh
  5. Reboot into the new stock image
<?php
/******************************************************************************************************/
/*
/* # # # #
/* # # # #
/* # # # #
/* # ## #### ## #
/* ## ## ###### ## ##
/* ## ## ###### ## ##
/* ## ## #### ## ##
--------- beginning of system
05-22 20:12:48.295 I/vold ( 483): Vold 3.0 (the awakening) firing up
05-22 20:12:48.295 V/vold ( 483): Detected support for: exfat ext4 f2fs ntfs vfat
05-22 20:12:48.313 D/vold ( 483): e4crypt_init_user0
05-22 20:12:48.313 D/vold ( 483): e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
05-22 20:12:48.313 D/vold ( 483): Preparing: /data/system/users/0
05-22 20:12:48.313 D/vold ( 483): Preparing: /data/misc/profiles/cur/0
05-22 20:12:48.314 D/vold ( 483): Preparing: /data/system_de/0
05-22 20:12:48.314 D/vold ( 483): Preparing: /data/misc_de/0
05-22 20:12:48.315 D/vold ( 483): Preparing: /data/user_de/0
--------- beginning of system
05-20 02:27:53.323 I/vold ( 483): Vold 3.0 (the awakening) firing up
05-20 02:27:53.323 V/vold ( 483): Detected support for: exfat ext4 f2fs ntfs vfat
05-20 02:27:53.340 D/vold ( 483): e4crypt_init_user0
05-20 02:27:53.340 D/vold ( 483): e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
05-20 02:27:53.340 D/vold ( 483): Preparing: /data/system/users/0
05-20 02:27:53.340 D/vold ( 483): Preparing: /data/misc/profiles/cur/0
05-20 02:27:53.341 D/vold ( 483): Preparing: /data/system_de/0
05-20 02:27:53.341 D/vold ( 483): Preparing: /data/misc_de/0
05-20 02:27:53.342 D/vold ( 483): Preparing: /data/user_de/0
This file has been truncated, but you can view the full file.
--------- beginning of main
01-06 10:43:33.470 444 444 W auditd : type=2000 audit(0.0:1): initialized
01-06 10:43:35.799 444 444 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
01-06 10:43:36.089 1 1 I init : type=1400 audit(0.0:3): avc: denied { create } for name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=1
01-06 10:43:36.109 409 409 I init : type=1400 audit(0.0:4): avc: denied { execute_no_trans } for path="/system/vendor/bin/qseecomd" dev="mmcblk0p24" ino=2449 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
01-06 10:43:36.179 413 413 I fsck.f2fs: type=1400 audit(0.0:5): avc: denied { read } for name="mmcblk0p49" dev="tmpfs" ino=15401 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1
01-06 10:43:36.179 413 413 I fsck.f2fs: type=1400 audit(0.0:6): avc: denied { open } for path="/dev/block/mmcblk0p49" dev="tmpfs" ino=15401 scontext=
This file has been truncated, but you can view the full file.
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
--------- beginning of main
01-02 22:01:02.942 448 448 W auditd : type=2000 audit(0.0:1): initialized
01-02 22:01:05.809 448 448 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
01-02 22:01:06.099 1 1 I init : type=1400 audit(0.0:3): avc: denied { create } for name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=1
01-02 22:01:06.109 412 412 I init : type=1400 audit(0.0:4): avc: denied { execute_no_trans } for path="/system/vendor/bin/qseecomd" dev="mmcblk0p24" ino=2569 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
01-02 22:01:06.179 415 415 I fsck.f2fs: type=1400 audit(0.0:5): avc: denied { read } for name="mmcblk0p49" dev="tmpfs" ino=1587 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1
01-02 22:01:06.179 415 415 I fsck.f2fs: type=1400 audit(0.0:6): a
--------- beginning of main
03-07 09:32:10.903 444 444 W auditd : type=2000 audit(0.0:1): initialized
03-07 09:32:13.789 444 444 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
03-07 09:32:14.089 1 1 I init : type=1400 audit(0.0:3): avc: denied { create } for name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=1
03-07 09:32:14.109 414 414 I init : type=1400 audit(0.0:4): avc: denied { execute_no_trans } for path="/system/vendor/bin/qseecomd" dev="mmcblk0p24" ino=2565 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
03-07 09:32:14.279 414 414 I qseecomd: type=1400 audit(0.0:5): avc: denied { write } for name="mmcblk0rpmb" dev="tmpfs" ino=13417 scontext=u:r:init:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1
03-07 09:32:14.299 419 419 I qseecomd: type=1400 audit(0.0:6): avc: denied { read write } for name="qseecom" dev="tmpfs" ino=569 scontext=u:r:init:s
This file has been truncated, but you can view the full file.
--------- beginning of system
06-26 08:28:14.447 438 438 I vold : Vold 3.0 (the awakening) firing up
06-26 08:28:14.448 438 438 V vold : Detected support for: exfat ext4 f2fs ntfs vfat
06-26 08:28:14.460 438 449 D vold : e4crypt_init_user0
06-26 08:28:14.461 438 449 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
06-26 08:28:14.461 438 449 D vold : Preparing: /data/system/users/0
06-26 08:28:14.461 438 449 D vold : Preparing: /data/misc/profiles/cur/0
06-26 08:28:14.461 438 449 D vold : Preparing: /data/system_de/0
06-26 08:28:14.462 438 449 D vold : Preparing: /data/misc_de/0
06-26 08:28:14.462 438 449 D vold : Preparing: /data/user_de/0