Skip to content

Instantly share code, notes, and snippets.

View parthibx24's full-sized avatar
🧷
busy procrastinating

Inxpired parthibx24

🧷
busy procrastinating
View GitHub Profile
@parthibx24
parthibx24 / commit-msg
Last active January 27, 2019 15:48
Commit with change-id.
#!/bin/sh
# From Gerrit Code Review 2.15.1-1-gcd234e365c
#
# Part of Gerrit Code Review (https://www.gerritcodereview.com/)
#
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@parthibx24
parthibx24 / blue_github.css
Last active September 14, 2018 10:13
Blue Themed Custom CSS for Refined Github
/* Custom CSS */
.social-count {
border: 0px;
}
.shelf-dismiss .close-button:hover {
color: blue;
border: 0px solid white;
background-color: white;
}
@parthibx24
parthibx24 / mfd
Last active May 1, 2025 22:47
Mediafire file downloader!
echo "Mediafire file downloader";
FILE_ID=$1
function download() {
GET_DLINK=`curl -s -L http://www.mediafire.com/file/$FILE_ID | grep -o '<div class="downloa
@parthibx24
parthibx24 / all
Last active December 9, 2018 12:46
kiicaa debug
ili9806e_hc_fwvga_5p0_holitech_t591_public // all (except t591_cq_7021cubot_we)
nt35521_boe_hd720_5p0_xingliangda_t591_dg // t591_dga57_we, t591_dg_a57_bd_we
nt35521s_boe_hd720_5p0_xingliangda_t591_dg // t591_dga57_we
nt35523_pd_hd720_5p0_xzx_t592_otd // t592_otd_kiicaa-new
jd9365_dsi_hd720_5p0_xiaozx_t591_dg // t591_dga57_we, t591_dg_a57_bd_we
jd9365_ivo_hd720_5p0_hl_t591_otd // t592_otd_kiicaa-new, t592_otd_kiicaa-old
rm68200_auo_hd720_5p0_eq_t591_cq // t591_cq_7021cubot_we
@parthibx24
parthibx24 / wiko6580.md
Last active November 27, 2018 04:12
Reference for Wiko MT6580 devices!
Device CodeName Device Model Kernel SourceCodes
p4200 Symphony i10 Jerry_OpenSource
p5000 Unknown Lenny3_OpenSource
s5030 BLU_D030UX Lenny3_OpenSource
s5250 BLU_D010U Lenny3_OpenSource
tinno6580_we_m Wiko lenny 2 ?
tinno6580_weg_m Unknown Lenny3_OpenSource
v2500 Walton Primo D8 Lenny3_OpenSource
. QMobile X32 -
@parthibx24
parthibx24 / Alcm-Collection
Last active September 5, 2025 11:48
Collection of Mediatek LCM drivers. Some of them are reverse engineered and some are adapted/optimized from existing sources.
Symphony V75 (Wiko v2800):
- jd9161_fwvga_dsi_vdo_dj
- ili9806e_fwvga_dsi_vdo_zgd
Walton Primo NF2 (Vsun V060):
- hx8394d_bld_cmi
- hx8394f_bld_cmi
- ili9881c_dj_hsd
Cubot NOTE S:
/* Author: stevenhoneyman (http://www.stevenhoneyman.co.uk/2015/02/reconstructing-mtk-lcm-drivers.html) */
#include <stdio.h>
struct LCM_setting_table {
unsigned int cmd; // 4 bytes
unsigned char count; // 1 byte
unsigned char para_list[66]; // 66 bytes
// total size should be 71 for xc_rm68200 lcm
@parthibx24
parthibx24 / tightvnc-cnvy.sh
Last active June 3, 2019 13:37
./tightvnc-cnvy.sh
sudo apt update
#sudo apt upgradge -y
# TightVNC
sudo apt install xfce4 xfce4-goodies -y
sudo apt install tightvncserver -y
# nmap
sudo apt install nmap -y
Samsung (8Gb) ZONE:
FNX2MB (8 + 1, 221): kmfnx0012m-b214 - http://emmchelper.com/emmc/kmfnx0012m-b214/
FNX7MB (8 + 1, 221): kmfnx0007m-b214 - http://emmchelper.com/emmc/kmfnx0007m-b214/
FN12AB (8 + 1, 221): kmfn10012a-b214 - http://emmchelper.com/emmc/kmfn10012a-b214/
FE12MB (16 + 2, 221): kmfe10012m-b214 - http://emmchelper.com/emmc/kmfe10012m-b214/
FN12MB (8 + 1, 221): kmfn10012m-b214 - http://emmchelper.com/emmc/kmfn10012m-b214/
F722MB (8 + 1, 221): kmf720012m-b214 - http://emmchelper.com/emmc/kmf720012m-b214/
FJW7MB (8 + 1, N/S): kmfjw0007m-b212 - http://emmchelper.com/emmc/kmfjw0007m-b212/

Map loop device(s) from wholedisk

kpartx -av $file

dump list of partitions

LIST=/dev/mapper/loop0p*; for part in $(eval echo $LIST); do \
PARTLABEL=$(blkid $part | sed -n 's/.*PARTLABEL=\"\([^\"]*\)\".*/\1/p'); \
echo "[$part] [$PARTLABEL]"; \