Skip to content

Instantly share code, notes, and snippets.

View adityatelange's full-sized avatar
🚧
Opinions are my own

Aditya Telange adityatelange

🚧
Opinions are my own
View GitHub Profile
@adityatelange
adityatelange / 1rpi3_Important_commands
Last active April 24, 2018 15:59
Raspberry pi 3 Cheat Sheet
sudo su
sudo !!
clear {clear the console window}
apt-get update {updating sources list}
@adityatelange
adityatelange / android_land_dts.dts
Last active February 16, 2019 16:53
android_land_dts
/dts-v1/;
/ {
#address-cells = <0x2>;
#size-cells = <0x2>;
model = "Qualcomm Technologies, Inc. MSM8937-PMI8950 QRD SKU1";
compatible = "qcom,msm8937-pmi8950-qrd-sku1", "qcom,msm8937-qrd", "qcom,msm8937", "qcom,qrd";
qcom,msm-id = <0x126 0x0>;
interrupt-parent = <0x1>;
qcom,board-id = <0x1000b 0x1 0x2000b 0x1>;
@adityatelange
adityatelange / septpatch_android-10.0.0_r45-android-10.0.0_r46.txt
Last active October 15, 2020 13:27
Contains patch commits for AOSP september 2020 ASB
project art/
0f2487027e Snap for 5698743 from 492ed3575e7e7a5878572781937cbab04f27c2d7 to qt-release
project bionic/
290c0cb50 Snap for 5716396 from 5cda74e065761bbeccf7ff61d7a3131bdf6490d0 to qt-release
project bootable/recovery/
5a6cde8 Merge cherrypicks of [8673593, 8673409, 8673796, 8673797, 8673798, 8673855, 8673151, 8673594, 8673499, 8673799, 8673895, 8673896] into qt-release
project build/blueprint/
@adityatelange
adityatelange / octpatch-android-10.0.0_r46-android-10.0.0_r47.txt
Last active October 15, 2020 13:28
Contains patch commits for AOSP october 2020 ASB
project art/
project bionic/
project bootable/recovery/
project build/blueprint/
project build/kati/
@adityatelange
adityatelange / Ubuntu-update-desktop-icons-readme.txt
Last active October 21, 2020 09:04
Ubuntu update desktop-icons 20.04, 19.10
For update manually the Desktop Icons gnome extension:
1. Type the following commands below on terminal.
> cd /usr/share/gnome-shell/modes
> sudo vim ubuntu.json
2. Remove the text ', [desktop-icons@csoriano]'
3. Save the file with 'wq'.
4. Restart the shell with logoff/logon session.
@adityatelange
adityatelange / aboot info.md
Last active November 2, 2020 14:56
Redmi 3s Land's aboot

ran od -A d -t x4 aboot |head -5

og

0000000 464c457f 00010101 00000000 00000000
0000016 00280002 00000001 8f600000 00000034
0000032 00000000 05000002 00200034 00280004
0000048 00000000 00000000 00000000 00000000
0000064 00000000 000000b4 00000000 07000000
@adityatelange
adityatelange / novpatch-android-10.0.0_r47-android-security-10.0.0_r48.txt
Created November 3, 2020 04:22
Contains patch commits for AOSP 10 november 2020 ASB
project art/
project bionic/
project bootable/recovery/
project build/blueprint/
project build/kati/
@adityatelange
adityatelange / decpatch-android-security-10.0.0_r48-android-security-10.0.0_r49.txt
Created December 8, 2020 04:27
Contains patch commits for AOSP 10 december 2020 ASB
project external/libaom/
d59a484 cherry-pick 0a0368368 Check the conformance requirements in Sec. 6.8.1.
project frameworks/av/
36a66d5 Move an orphaned analytics reference under a mutex
project frameworks/base/
5e33750cce Fix storing the wrong value of mLockdown in setting
04f285806a [DO NOT MERGE][BACKPORT]Improve location checks in TelephonyRegistry
004a29a3ba Make WallpaperMS bind wallpaper component PendingIntent immutable.
@adityatelange
adityatelange / janpatch-android-security-10.0.0_r49-android-security-10.0.0_r50.txt
Created January 15, 2021 18:46
Contains patch commits for AOSP 10 january 2021 ASB
project external/freetype/
c3a3f04 Cherry-pick one upstream patch
project external/gptfdisk/
886331c RESTRICT AUTOMERGE ANDROID: Fix negative stack write in sgdisk
project external/libexif/
065ec3f fixes some (not all) buffer overreads during decoding pentax makernote entries.
project frameworks/av/
@adityatelange
adityatelange / recursive_unzip.py
Created January 22, 2021 11:27
recursively unzip a zip file with python
#!/usr/bin/python3
# og source: https://gist.github.com/JamesPHoughton/0f4f269e93a2b85958d8
from zipfile import ZipFile
def unpack_zip(zipfile='', path_from_local=''):
filepath = path_from_local+zipfile
extract_path = filepath.strip('.zip') + '/'