Skip to content

Instantly share code, notes, and snippets.

Avatar

androidlover5842 androidlover5842

View GitHub Profile
View fstab.mt6735
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/system /system ext4 ro wait,recoveryonly
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/vendor /vendor ext4 ro wait,recoveryonly
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,noflush_merge wait,check,formattable,resize,encryptable=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/metadata,
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/protect1 /vendor/protect_f ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,formattable
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/protect2 /vendor/protect_s ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,formattable
/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/nvdata /vendor/nvdata ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check,formattable
/d
View tmp.txt
| | | AD681H | Smartfren Andromax AD681H |
| | | FJL21 | FJL21 |
| | | hws7721g | MediaPad 7 Youth 2 |
| 10.or | D | 10or_D | D |
| 10.or | E | E | E |
| 10.or | G | G | G |
| 3Q | OC1020A | OC1020A | OC1020A |
| 4good | 4GOOD Light B100 | 4GOOD_Light_B100 | Light B100 |
| 4good | A103 | 4GOOD_Light_A103 | Light A103 |
| 7Eleven | IN265 | IN265 | IN265 |
View url.txt
on7 LL stock rom:- https://drive.google.com/uc?export=download&confirm=XDHQ&id=1Hgsyw2gYyiSFU7s_isO4SLt4D2GlKwLl
@androidlover5842
androidlover5842 / Travis CI local install
Created Mar 18, 2017 — forked from jarun/Travis CI local install
How to install Travis CI locally on Ubuntu 16.04
View Travis CI local install
sudo apt install ruby ruby-dev
sudo gem install travis
# install path: /var/lib/gems/
View build error patch
diff --git a/include/linux/msm_rotator.h b/include/linux/msm_rotator.h
old mode 100644
new mode 100755
index 17ae867e1..32cecf7cb
--- a/include/linux/msm_rotator.h
+++ b/include/linux/msm_rotator.h
@@ -12,7 +12,8 @@
_IOW(MSM_ROTATOR_IOCTL_MAGIC, 2, struct msm_rotator_data_info)
#define MSM_ROTATOR_IOCTL_FINISH \
_IOW(MSM_ROTATOR_IOCTL_MAGIC, 3, int)
View colobot cheats
winmission - Win Mission.
lostmission - Lose Mission.
allresearch - Researches Everything.
allmission - Unlock All Missions.
nolimit - God Mode.
fullpower - Recharge Jet Power of Selected Object.
fullenergy - Recharge Battery of Selected Object.
fullshield - Recharge Shield of Selected Object.
fullrange - Unlock All Bots.
selectinsect - Select and Control Insects.
View 4.4 ubuntu Linux kernel config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 4.4.0-31-generic Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
@androidlover5842
androidlover5842 / firmware.xml
Created Dec 9, 2016
firmware.xml for flashing recovery on i8552 from heimdall
View firmware.xml
<?xml version="1.0" encoding="UTF-8"?>
<firmware version="1">
<name>Twrp_I8552</name>
<version>1</version>
<platform>
<name>Android</name>
<version>6.0.1</version>
</platform>
<developers>
<name>Androidlover5842</name>
View build fix struct tc_prio_qopt' has no member named 'enable_flow
target thumb C: tc <= external/iproute2/tc/q_prio.c
external/iproute2/tc/q_prio.c: In function 'prio_parse_opt':
external/iproute2/tc/q_prio.c:35:9: warning: excess elements in struct initializer [enabled by default]
external/iproute2/tc/q_prio.c:35:9: warning: (near initialization for 'opt') [enabled by default]
external/iproute2/tc/q_prio.c:60:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:64:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:85:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/iproute2/tc/q_prio.c:31:46: warning: unused parameter 'qu' [-Wunused-parameter]
external/iproute2/tc/q_prio.c: In function 'prio_print_opt':
@androidlover5842
androidlover5842 / RunAsRoot.txt
Created Nov 5, 2016
Run as root without Shell.SU.run
View RunAsRoot.txt
public String runAsRoot() {
try {
// Executes the command.
Process process = Runtime.getRuntime().exec(command);
// Reads stdout.
// NOTE: You can write to stdin of the command using
// process.getOutputStream().
BufferedReader reader = new BufferedReader(
new InputStreamReader(process.getInputStream()));
You can’t perform that action at this time.