Skip to content

rootfs of Jiofi2 M2 version-2 firmware version - JIO_PEGASUS_M2_MF6727S_42_100_B37_Build03

Notifications You must be signed in to change notification settings

sheikhshahnawaz41299/JioFi2-M2-V2

Repository files navigation

Prerequisite

  • ubireader
  • mkfs.ubifs and ubinize (search, how to install it)

Unpack

unpack system.oob

sudo ./ubireader_extract_images.py system.oob -o system_u
cd ./system_u/system.ubi/

Now you will get file with .ubifs

Note

  • rootfs folder provided in this repo is for checking files only.
  • You have to extract img-1620013534_vol-rootfs.ubifs manually for any modifications

We need to modify "img-396211929_vol-rootfs.ubifs"

unpack ubifs

sudo ./ubireader_extract_files.py -k -w -o ./rootfs img-1620013534_vol-rootfs.ubifs

Repack

repack .ubifs

sudo /usr/sbin/mkfs.ubifs -m 4096 -e 253952 -c 261 -x lzo -f 8 -k r5 -p 1 -l 4 -r ./rootfs/ img-1620013534_0.ubifs

Repack to img

sudo /usr/sbin/ubinize -p 262144 -m 4096 -O 4096 -s 4096 -x 1 -Q 1620013534 -o System_test.img img-1620013534.ini

About

rootfs of Jiofi2 M2 version-2 firmware version - JIO_PEGASUS_M2_MF6727S_42_100_B37_Build03

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published