I won't waste your and my time in writing such a long post. Here's what you need to replace from stock to rom to port to make the ROM bootable in Micromax Unite 2 A106:
Replace these files from Stock 4.2.2 ROM or any working ROM to the ROM Which you want to port.
/System/bin/pq
/System/bin/vold
/System/lib/libcamalgo.so
/System/lib/libcamdrv.so
/System/lib/libcameracustom.so
/System/lib/libdpframework.so
/System/lib/libsensorservice.so
/System/lib/libsync.so
/System/lib/libvcodecdrv.so
/System/etc/apns.conf.xml
/System/etc/vold.fstab
/System/etc/vold.fstab.nand
/System/usr/Keylayout/Generic.kl
Delete the following folders in the ROM:
/System/vendor/
/System/lib/hw
/System/lib/modules/
/System/bin/WiFi
/System/Bin/Firmware
Now add these folders in the ROM:
/System/lib/modules
/System/lib/hw
/System/etc/wifi
/System/etc/firmware
/System/vendor
Finally replace stock boot.img with the one to port! Now ZIP it and flash.
If there is an audio bug, then simply replace all "libaudio" files in /System/lib.
If there is a bug of screen rotated to 180 degrees then add this line in build.prop: "ro.sf.hwrotation=180" or change "ro.sf.hwrotation=180" to "ro.sf.hwrotation=0".
Replace these files from Stock 4.2.2 ROM or any working ROM to the ROM Which you want to port.
/System/bin/pq
/System/bin/vold
/System/lib/libcamalgo.so
/System/lib/libcamdrv.so
/System/lib/libcameracustom.so
/System/lib/libdpframework.so
/System/lib/libsensorservice.so
/System/lib/libsync.so
/System/lib/libvcodecdrv.so
/System/etc/apns.conf.xml
/System/etc/vold.fstab
/System/etc/vold.fstab.nand
/System/usr/Keylayout/Generic.kl
Delete the following folders in the ROM:
/System/vendor/
/System/lib/hw
/System/lib/modules/
/System/bin/WiFi
/System/Bin/Firmware
Now add these folders in the ROM:
/System/lib/modules
/System/lib/hw
/System/etc/wifi
/System/etc/firmware
/System/vendor
Finally replace stock boot.img with the one to port! Now ZIP it and flash.
If there is an audio bug, then simply replace all "libaudio" files in /System/lib.
If there is a bug of screen rotated to 180 degrees then add this line in build.prop: "ro.sf.hwrotation=180" or change "ro.sf.hwrotation=180" to "ro.sf.hwrotation=0".
Last edited: