Skip to content

Creating Custom Firmware

bpillatsch edited this page Apr 20, 2015 · 3 revisions

-credit- wpskier http://forum.xda-developers.com/showpost.php?p=57901821&postcount=64

  1. Mount the original image file from Wink on a linux system (use directions from the wordpress page). I used the .47 image, as that all I have downloaded from Wink
  2. Modify files from image as necessary to exploit (remove root password, enable ssh, add ssh keys, enable getty, modify host file, add backdoor php files, etc)
  3. Create ubi.ini file: [app-rootfs-rooted] mode=ubi image=ubifs.img vol_id=0 vol_type=dynamic vol_name=rootfs vol_alignment=1 vol_flags=autoresize vol_size=78217216
  4. Run: mkfs.ubifs -x zlib -m 2048 -e 126976 -c 616 -r /media/ubifs ubifs.img
  5. Run: ubinize -o app-rootfs-rooted.ubi -p 131072 -m 2048 -O 2048 -s 2048 ubi.ini
  6. Be brave enough to flash your Hub with this file!! (I'm not at this step yet....hahah)

Clone this wiki locally