Skip to content

Instantly share code, notes, and snippets.

@masbudisulaksono
masbudisulaksono / huawei-e5885-backup.md
Created March 8, 2023 03:30 — forked from ValdikSS/huawei-e5885-backup.md
How to backup current firmware on Huawei E5885

Huawei E5885 current firmware backup manual.

  1. Download modified usbloader, which will copy proper busybox into /system/busybox and enable telnetd on your device (will add additional line into /system/autorun.sh). Use it only on E5885, not on other device!
  2. Load it using balong-usbdload. Refer to this disassembling manual.
  3. After loading, wait about one minute, disconnect device from the computer and power off the device holding power button for ~15 seconds.
  4. Insert MicroSD card to the device and power it on.
  5. telnet 192.168.8.1 2323
/system/busybox sh
#!/usr/bin/bash
unminimize () {
jum=$(lswt | wc -l)
count=$jum
for i in $(seq $count); do
wlrctl toplevel focus state:minimized
@masbudisulaksono
masbudisulaksono / oneline.config
Created May 24, 2022 11:43 — forked from ahmadraniri1994/oneline.config
Sfwbar Configuration for sway (lxpanel's mimic)
scanner {
# Get total and remaining battery charge
# create a ordinary text file contains total battery's capacity, "100" will do.
file("/home/ahmad/bin/isi") {
BatteryTotal = Grab(Sum)
}
file("/sys/class/power_supply/BAT0/capacity") {
BatteryLeft = Grab(Sum)
}
# create executable file (text file and chmod it) contains a command "pamixer --get-volume"
@masbudisulaksono
masbudisulaksono / Install-slax-ke-hdd.txt
Created May 23, 2022 13:29 — forked from ahmadraniri1994/Install-slax-ke-hdd.txt
Cara menginstall distro Slax ke hdd atau perangkat penyimpanan yang lain.
Install distro slax (debian-based) ke HDD.
Bios legacy dan tipe partisi : MBR.
Persiapan :
- Satu partisi untuk root (/).
- Satu partisi untuk swap (opsional).
1. Boot ISO slax.