Gain adb root.
$ adb shell am start -n com.android.engineeringmode/.qualcomm.DiagEnabled --es "code" "angela"
Download Magisk-v14.0 and extract it somewhere. Download MagiskManager.
| #!/usr/bin/python | |
| # | |
| # python reconstruct.py filename.pgm | |
| # takes in a raw image having a Bayer Color Formatted Array (RGGB) | |
| # and outputs two JPEG files. The first file is simply the | |
| # Bayer Reconstruction as RGB. The second file has been | |
| # processed to enhance color and contrast using combinations of: | |
| # 1) independent color channel scaling | |
| # 2) simplest color balancing | |
| # 3) white balancing |
Gain adb root.
$ adb shell am start -n com.android.engineeringmode/.qualcomm.DiagEnabled --es "code" "angela"
Download Magisk-v14.0 and extract it somewhere. Download MagiskManager.
| // Client-side parser for .npy files | |
| // See the specification: http://docs.scipy.org/doc/numpy-dev/neps/npy-format.html | |
| var NumpyLoader = (function () { | |
| function asciiDecode(buf) { | |
| return String.fromCharCode.apply(null, new Uint8Array(buf)); | |
| } | |
| function readUint16LE(buffer) { | |
| var view = new DataView(buffer); | |
| var val = view.getUint8(0); |