Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Carlos Cañellas Suzamax

🎯
Focusing
View GitHub Profile
@Suzamax
Suzamax / SSDT-BATS-ASUS-UX431FA.dsl
Created Aug 12, 2020
FINALLY I managed to get to the error that prevented my jacinto to show up battery status. Here's the ACPI SSDT disassembled. You also need to rename ADP1 to XADP or so, and BAT0 methods too.
View SSDT-BATS-ASUS-UX431FA.dsl
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20200110 (64-bit version)
* Copyright (c) 2000 - 2020 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of iASLv3I0JI.aml, Wed Aug 12 12:43:04 2020
*
* Original Table Header:
View logcat_2.txt
--------- beginning of crash
07-30 01:19:52.912 1054 1086 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 1086 (box@1.0-service), pid 1054 (box@1.0-service)
07-30 01:19:52.944 1101 1101 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-30 01:19:52.944 1101 1101 F DEBUG : LineageOS Version: '17.1-20200413-UNOFFICIAL-'
07-30 01:19:52.944 1101 1101 F DEBUG : Build fingerprint: 'Nokia/TA-1004_00WW/NB1:9/PPR1.180610.011/00WW_5_15A:user/release-keys'
07-30 01:19:52.945 1101 1101 F DEBUG : Revision: '0'
07-30 01:19:52.945 1101 1101 F DEBUG : ABI: 'arm64'
07-30 01:19:52.945 1101 1101 F DEBUG : Timestamp: 1970-07-30 01:19:52+0100
07-30 01:19:52.945 1101 1101 F DEBUG : pid: 1054, tid: 1086, name: box@1.0-service >>> /vendor/bin/hw/vendor.fih.hardware.box@1.0-service <<<
07-30 01:19:52.945 1101 1101 F DEBUG : uid: 1000
@Suzamax
Suzamax / logcat_fingerprint.txt
Created May 2, 2020
Logcat where fingerprint sensor crashes
View logcat_fingerprint.txt
--------- beginning of system
07-30 01:19:50.457 598 598 I vold : Vold 3.0 (the awakening) firing up
07-30 01:19:50.457 598 598 D vold : Detected support for: ext4 f2fs ntfs vfat
07-30 01:19:50.460 598 598 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop6: No such device or address
07-30 01:19:50.460 598 598 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop7: No such device or address
07-30 01:19:50.460 598 598 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop5: No such device or address
07-30 01:19:50.460 598 598 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop4: No such device or address
07-30 01:19:50.460 598 598 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop0: No such device or address
07-30 01:19:50.460 598 598 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop1: No such device or address
07-30 01:19:50.460 598 598 W vold : Failed to LOOP_GET_STATUS64 /dev/block/loop2: No such device or address
@Suzamax
Suzamax / Nokia_getFrameworkFingerID.c
Created May 2, 2020
Nokia 8 Goodix Fingerprint functions disassembled and decompiled, and Xiaomi mod of this function
View Nokia_getFrameworkFingerID.c
ulonglong getFrameworkFingerID(int *param_1,int param_2)
{
undefined8 uVar1;
ulonglong uVar2;
String16 aSStack224 [8];
Parcel aPStack216 [104]; // In the mod it's 120 (+16)
longlong *local_70 [13]; // In the mod is 15 (+2)
longlong local_8;
@Suzamax
Suzamax / nautilus_fix_elementary_theme.css
Created Apr 17, 2018
This fix that UGLY home button in Nautilus while using Elementary OS theme.
View nautilus_fix_elementary_theme.css
/** Add this at the end of some .css file from the Elementary OS theme **/
.nautilus-window > .titlebar > .horizontal > .path-bar > .image-button {
border-radius: 0;
background-image: none;
border-color: alpha (#000, 0.3);
}
View openstack_user_config.yml
---
cidr_networks:
container: 172.20.32.0/22
tunnel: 172.20.40.0/22
storage: 172.20.36.0/22
used_ips:
- "172.20.32.248,172.20.32.249,172.20.32.250,172.20.32.252,172.20.32.254"
- "172.20.36.248,172.20.36.249,172.20.36.250,172.20.36.252,172.20.36.254"
provider_networks:
- network:
View keybase.md

Keybase proof

I hereby claim:

  • I am suzamax on github.
  • I am suzamax (https://keybase.io/suzamax) on keybase.
  • I have a public key whose fingerprint is 01B4 FF50 1F47 BCC7 9566 F4BC 788F 5039 FB5A 878D

To claim this, I am signing this object: