Skip to content

Instantly share code, notes, and snippets.

View javashin's full-sized avatar
😎
Out

JavaShin javashin

😎
Out
  • Dominican Republic
View GitHub Profile
[javashin@igloo ~]$ sudo su
[root@igloo javashin]# cd /root/mtkclient/
[root@igloo mtkclient]# python mtk da seccfg unlock
MTK Flash/Exploit Client V1.6.0 (c) B.Kerler 2018-2022
Preloader - Status: Waiting for PreLoader VCOM, please connect mobile
Port - Hint:
Power off the phone before connecting.
[javashin@igloo ~]$ sudo su
[root@igloo javashin]# cd /root/mtkclient/
[root@igloo mtkclient]# python mtk e metadata,userdata,md_udc
MTK Flash/Exploit Client V1.6.0 (c) B.Kerler 2018-2022
Preloader - Status: Waiting for PreLoader VCOM, please connect mobile
Port - Hint:
Power off the phone before connecting.
@javashin
javashin / gist:e3d3d38f1ed96d9df3423469b0fc36cd
Created December 26, 2022 17:47
mtkclient - mtkbypass adventures
[root@igloo bypass_utility]# ./main.py
[2022-12-26 08:49:50.357670] Waiting for device
[2022-12-26 08:50:00.561775] Found device = 0e8d:2000
[2022-12-26 08:50:00.903874] Device hw code: 0x766
[2022-12-26 08:50:00.904187] Device hw sub code: 0x8a00
[2022-12-26 08:50:00.904352] Device hw version: 0xca00
[2022-12-26 08:50:00.904482] Device sw version: 0x0
[2022-12-26 08:50:00.904622] Device secure boot: True
[2022-12-26 08:50:00.904759] Device serial link authorization: False
persist.device_config.configuration.disable_rescue_party=true
persist.sys.disable_rescue=true
ro.build.characteristics=default
ro.sf.blurs_are_expensive=1
ro.surface_flinger.supports_background_blur=1
ro.apex.updatable=false
git clone https://github.com/llvm/llvm-project.git -b release/13.x llvm_git
mkdir llvm_build && cd llvm_build
export CC="clang-13"
export CXX="clang++-13"
export LD="ld.lld-13"
export AR="llvm-ar-13"
export AS="clang-13"
export NM="llvm-nm-13"
[ 55.186785] configfs-gadget gadget: high-speed config #1: b
[ 55.187292] android_work: sent uevent USB_STATE=CONFIGURED
[ 55.308987] simple_lmk: Killing droid.apps.docs with adj 975 to free 168544 KiB
[ 56.647982] simple_lmk: Killing .apps.wellbeing with adj 985 to free 111664 KiB
[ 57.053000] simple_lmk: Killing apters.calendar with adj 985 to free 103084 KiB
[ 57.446164] simple_lmk: Killing id.carriersetup with adj 985 to free 95780 KiB
[ 57.446290] simple_lmk: Killing webview_service with adj 995 to free 87888 KiB
[ 57.660629] healthd: battery l=100 v=4443 t=25.0 h=2 st=2 c=-106445 fc=5164000 cc=3 chg=a
[ 57.819484] simple_lmk: Killing ding:background with adj 995 to free 141152 KiB
[ 58.007408] [NVT-ts-spi] nvt_drm_notifier_callback 3024: (null): event:18446743803870789020,blank:313445708
diff --git a/juice-vendor.mk b/juice-vendor.mk
index 1374e77..82b889b 100644
--- a/juice-vendor.mk
+++ b/juice-vendor.mk
@@ -110,9 +110,6 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/juice/proprietary/vendor/bin/hw/vendor.qti.hardware.perf@2.2-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.qti.hardware.perf@2.2-service \
vendor/xiaomi/juice/proprietary/vendor/bin/hw/vendor.qti.hardware.servicetracker@1.2-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.qti.hardware.servicetracker@1.2-service \
vendor/xiaomi/juice/proprietary/vendor/bin/hw/vendor.qti.power.pasrmanager@1.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.qti.power.pasrmanager@1.0-service \
- vendor/xiaomi/juice/proprietary/vendor/bin/hw/vendor.xiaomi.hardware.misys@1.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.xiaomi.hardware.misys@1.0-service \
- vendor/xiaomi/juice/proprietary/vendor/bin/hw/vendor.xiaomi.hardware.misys@2.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/vendor.xiaomi.hardware.misys@2.0-service \
From 5f8c5ad004d7ccce242a4d34a425f39a2f128d4f Mon Sep 17 00:00:00 2001
From: JavaShin-X <javashin1986@gmail.com>
Date: Tue, 21 Dec 2021 16:59:56 +0000
Subject: [PATCH 1/4] Revert "[BLOBS] juice: import Mlipay blobs from
joyeuse"
This reverts commit 455f70b732c762bd39f90989fda4d4d8652f6c35.
---
Android.bp | 1 +
proprietary/vendor/bin/mlipayd@1.1 | Bin 11664 -> 0 bytes
/*
Copyright (c) 2015, The Linux Foundation. All rights reserved.
Copyright (C) 2016 The CyanogenMod Project.
Copyright (C) 2019-2020 The LineageOS Project.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
/*
Copyright (c) 2015, The Linux Foundation. All rights reserved.
Copyright (C) 2016 The CyanogenMod Project.
Copyright (C) 2019-2020 The LineageOS Project.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above