View Single Post
Old 09-02-2016, 11:35 AM   #155
xelona
Junior Member
xelona began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2016
Device: inkbook onyx
OK figured it out (under linux mostly)

1. unpack update.img e.g. using imgrepackerRK from xda-developers, linux version didn't work, used windows one under wine
2. system image is too big, some things need to be removed, so:
mount -o loop,rw /path/to/system.img /mnt
remove what is unnecessary (i did /adobe and some apps)
check with df -h that used space is under 512M or remove more
umount /mnt

now that there is space enough reformat image:
e2fsck -f ./system.img
resize2fs -M ./system.img

3. push system image to sdcard, perhaps with adb:
adb push system.img /sdcard/

4. reboot into recovery (TWRP) and flash:
flash_image system /sdcard/system.img

then reboot into system.

Play store does not work however, at least on inkbook onyx.

Last edited by xelona; 09-02-2016 at 01:07 PM.
xelona is offline   Reply With Quote