Skip to content

Instantly share code, notes, and snippets.

View FacuM's full-sized avatar

Facundo Montero FacuM

View GitHub Profile
@FacuM
FacuM / MIUI预装应用列表
Created July 21, 2022 23:23 — forked from realkot/MIUI预装应用列表
MIUI 13 bloatware apps for safe delete list. 20220226
https://miuiver.com/wp-content/uploads/miui-pre-installed-software.html
MIUI 预装软件列表(含系统组件)
提示 1:可用 Ctrl + F 组合键快速查找软件名称
提示 2:最新预装软件列表请在系统应用管理里查看,或者安装 Apk Extractor 软件(可在 Google Play 找到)
软件名称 软件包名
一体化位置信息 com.android.location.fused
万能遥控 com.duokan.phone.remotecontroller
@FacuM
FacuM / android_extract.sh
Last active April 28, 2022 07:36
This is an alternative to both Migrate Flasher normal and emergency flash if they hang on your backup file. Just drop this file on the root of your /sdcard then run a shell on your device and execute "bash /sdcard/android_extract.sh <full_path_to_migrate_zip>" i.e.: "bash /sdcard/android_extract.sh /sdcard/Migrate/Full_Backup_XYZ.zip", wait for …
#!/system/xbin/bash
# This is an alternative to both Migrate Flasher normal and emergency flash if
# they hang on your backup file.
#
# Just drop this file on the root of your /sdcard then run a shell on your
# device and execute the following command:
#
# bash /sdcard/android_extract.sh <full_path_to_migrate_zip>
#
@FacuM
FacuM / skip_cooldown.js
Last active October 11, 2021 23:31
Easily skip Google's One Tap cooldown from the browser. This will prevent Google's servers from reporting "supressed_by_user".
// As explained here: https://stackoverflow.com/a/10593045
window.removeCookie = (name) => {
document.cookie = name + '=;expires=Thu, 01 Jan 1970 00:00:01 GMT;';
}
// This will prevent the cooldown from occuring.
removeCookie('g_state');
@FacuM
FacuM / ion_whyred.xml
Last active January 12, 2020 09:04
I-O-N project manifest for the Xiaomi Redmi Note 5 Pro (whyred), broken.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="https://github.com/xiaomeme-whyred/" name="whyred" />
<remote fetch="https://gitlab.com/android-toolchains/" name="toolchains" />
<!-- Device -->
<project name="device_xiaomi_whyred" path="device/xiaomi/whyred" remote="whyred" revision="ion_ten" />
<project name="FacuM/kernel_xiaomi_whyred" path="kernel/xiaomi/whyred" remote="github" revision="upstream" />
<project name="vendor_xiaomi_whyred" path="vendor/xiaomi/whyred" remote="whyred" revision="lineage-17.1" />
@FacuM
FacuM / magma_whyred.xml
Created January 7, 2020 23:31
Magma project manifest for the Xiaomi Redmi Note 5 Pro (whyred).
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="https://github.com/xiaomeme-whyred/" name="whyred" />
<remote fetch="https://gitlab.com/android-toolchains/" name="toolchains" />
<!-- Device -->
<project name="device_xiaomi_whyred" path="device/xiaomi/whyred" remote="whyred" revision="magma_ten" />
<project name="FacuM/kernel_xiaomi_whyred" path="kernel/xiaomi/whyred" remote="github" revision="upstream" />
<project name="vendor_xiaomi_whyred" path="vendor/xiaomi/whyred" remote="whyred" revision="lineage-17.0" />
@FacuM
FacuM / lineage_q_harpia.xml
Last active October 15, 2019 00:24
LineageOS 17.0 manifest for Moto G4 Play (harpia), builds and boots, surfaceflinger crashes.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Device -->
<project name="Harpia-development/device_motorola_harpia" path="device/motorola/harpia" remote="github" revision="lineage-17.0" />
<project name="Harpia-development/device_motorola_msm8916-common" path="device/motorola/msm8916-common" remote="github" revision="10" />
<project name="Harpia-development/kernel_motorola_msm8916" path="kernel/motorola/msm8916" remote="github" revision="q_cust" />
<project name="Harpia-development/vendor_motorola" path="vendor/motorola" remote="github" revision="q" />
<!-- GNU GCC 9.0 kernel toolchain -->
@FacuM
FacuM / recovery_harpia.xml
Created September 29, 2019 09:23
Recovery manifest for pretty much all of them (based off Omni's TWRP), everything is working.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Device -->
<project name="Harpia-development/device_motorola_harpia" path="device/motorola/harpia" remote="github" revision="recovery_ten" />
<project name="Harpia-development/device_motorola_msm8916-common" path="device/motorola/msm8916-common" remote="github" revision="recovery_ten" />
<project name="Harpia-development/kernel_motorola_msm8916" path="kernel/motorola/msm8916" remote="github" revision="q_cust" />
<project name="Harpia-development/vendor_motorola" path="vendor/motorola" remote="github" revision="pie" />
@FacuM
FacuM / aosip_q_harpia.xml
Last active September 29, 2019 03:41
AOSiP Quiche (Android 10/Q) manifest for the Moto G4 Play, experimental, compiles properly.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Remotes -->
<remote name="github" fetch="https://github.com/" />
<!-- Device -->
<project name="Harpia-development/device_motorola_harpia" path="device/motorola/harpia" remote="github" revision="aosip_ten" />
<project name="Harpia-development/device_motorola_msm8916-common" path="device/motorola/msm8916-common" remote="github" revision="10" />
<project name="Harpia-development/kernel_motorola_msm8916" path="kernel/motorola/msm8916" remote="github" revision="q_cust" />
@FacuM
FacuM / aosp_q_harpia.xml
Last active October 2, 2019 09:25
Android Q manifest for the Moto G4 Play (harpia), booting, headphones not detected, camera works but is buggy.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Device -->
<project name="Harpia-development/device_motorola_harpia" path="device/motorola/harpia" remote="github" revision="aosp_10" />
<project name="Harpia-development/device_motorola_msm8916-common" path="device/motorola/msm8916-common" remote="github" revision="10" />
<project name="Harpia-development/kernel_motorola_msm8916" path="kernel/motorola/msm8916" remote="github" revision="q_cust" />
<project name="Harpia-development/vendor_motorola" path="vendor/motorola" remote="github" revision="q" />
@FacuM
FacuM / nonpcs.lua
Created September 3, 2019 04:35
Disable NPCs for GTA V's FiveM.
Citizen.CreateThread(function()
local player = PlayerPedId()
while true do
SetPedDensityMultiplierThisFrame(0.0)
SetScenarioPedDensityMultiplierThisFrame(0.0, 0.0)
SetPoliceIgnorePlayer(player, true)
SetDispatchCopsForPlayer(player, false)
Citizen.Wait(1)