Skip to main content


mt6765 scatter

RMX2185:/ # ls -la /dev/block/by-name/            mmcblk0boot0 -> /dev/block/mmcblk0boot0 mmcblk0boot1 -> /dev/block/mmcblk0boot1        mmcblk0 -> /dev/block/mmcblk0     boot_para -> /dev/block/mmcblk0p1   recovery -> /dev/block/mmcblk0p2 para -> /dev/block/mmcblk0p3 opporeserve1 -> /dev/block/mmcblk0p4 opporeserve2 -> /dev/block/mmcblk0p5 opporeserve3 -> /dev/block/mmcblk0p6 oppo_custom -> /dev/block/mmcblk0p7 expdb -> /dev/block/mmcblk0p8 vbmeta_system -> /dev/block/mmcblk0p9 vbmeta_vendor -> /dev/block/mmcblk0p10 frp -> /dev/block/mmcblk0p11 nvcfg -> /dev/block/mmcblk0p12 nvdata -> /dev/block/mmcblk0p13 md_udc -> /dev/block/mmcblk0p14 metadata -> /dev/block/mmcblk0p15 protect1 -> /dev/block/mmcblk0p16 protect2 -> /dev/block/mmcblk0p17 seccfg -> /dev/block/mmcblk0p18 persist -> /dev/block/mmcblk0p19 sec1 -> /dev/block/mmcblk0p20 proinfo -> /dev/block/mmcblk0p21 md1img -> /dev/block/mmcblk0p22 spmfw -> /dev
Recent posts

alpine chroot install 1. Download  and extract static apk download latest one for your arch or goto apk-tools-static-X.X-X.apk tar -xzf apk-tools-static-*.apk or chmod +x apk.static    #allow execute permission ./apk.static    #to execute it  2.format rootfs and mount to /mnt apk add fdisk  fdisk -l doas cfdisk sda or nvme0n1 create new partition let it be sdax  mkfs.ext4 /dev/sdax mount /dev/sdax /mnt 3.install  find {mirror} from

mtkclient dump rom of mtk chipset

latest update of realme,xiaomi patches preloader so cant use some exploit  if updated fw   git clone sudo apt install python3 git libusb-1.0-0 python3-pip cd mtkclient pip3 install -r requirements.txt python3 install --install-dir ~/.local cat /home/kai/.local/bin/mtkgui python3 ~/src/mtkclient/mtk_gui   ##adding udev rules   sudo usermod -a -G plugdev $USER  sudo usermod -a -G dialout $USER  sudo cp Setup/Linux/*.rules /etc/udev/rules.d  sudo udevadm control -R    nano /etc/udev/rules.d/51-edl.rules #rmx2180 SUBSYSTEMS=="usb", ATTRS{idVendor}=="22d9", ATTRS{idProduct}=="0006", MODE="0666", GROUP="plugdev" SUBSYSTEMS=="usb", ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="0003", MODE="0666", GROUP="plugdev"     python mtk_gui ##root using magisk python mtk r boot,vbmeta boot.img,vbmeta.img  patched magisk

devuan testing using debootstrap

1.prepare disk   doas fdisk -l  find available disks name : ex sdX,nvmeX,etc doas cfdisk /dev/ sdx mkfs.ext4 /dev/ sdxx mount ext4 part to / mnt   2.find needed release codename here stable at time is Chimaera   3.get debootstrap script  ls -la /usr/share/debootstrap/scripts/  to search  Chimaera  if not available pull ceres as Chimaera since all other codenames of devuan are symlinks of ceres in gitlab wget  doas cp  ceres /usr/share/debootstrap/scripts/Chimaera   doas debootstrap --arch amd64 chimaera /mnt      -------------------------------------------------------------------------------------------- mount --rbind /dev /mnt/dev && mount --make-rslave /mnt/dev mount --rbind /dev/pts /mnt/dev/pts && mount --make-rslave /mnt/dev/pts mount --r

gentoo mimeo download tar.gz from src  tar -xf mimeo-2021.11.tar.xz python install --prefix=~/.local  --optimize=1   depends on pyxdg pip3 install pyxdg or  build from src tar -xf pyxdg-0.27.tar.gz python install --prefix=~/.local  --optimize=1   open file  mimeo path/filename -q to quiet   find application .desktop files    mimeo --app2desk zathura zathura   org.pwmt.zathura-pdf-mupdf.desktop   org.pwmt.zathura.desktop  mimeo --add 'glob:text/*' medit.desktop      

libreoffice math

 {partial^2 u} over {partial x^2} +{ partial^2 u} over{ d y^2 }