[Android Software/Hacking General [Developers Only]] yuweng:
Known problems on MTK devices

Known problems on MTK devices

E: failed to mount /cache

Mostly older intermediate MediaTek devices such as MT6589, MT6572 that comes with only 6Mb recovery partition, most probably won't work. However, it works on my legacy MT6573, MT6577 because its kernel is much smaller. There has been feedback from fellow xda members that some latter MediaTek devices comes with 7Mb & 8Mb. Latest MT6592 has a recovery partition of more than 8Mb.

PhilZ Touch does not support ubifs

PhilZ Touch does not support MTK Alcatel devices with /custpack partition. Added support at beta version

Haven't identify latest voldmanaged mount points for Internal SD that uses /storage/usbdisk voldmanaged=usbdisk:auto so it won't mount Internal SD on such layouts. Thanks to adhamamar for sharing the solution. :good:

In the past, there has been reports that Touch doesn't work at recovery on some MTK devices, try using different releases of kernels from your device. Recovery is independent so GB, ICS or JB kernel will work provided they are from your device.

Thanks to shoxxy for the tip, flip screen works on PhilZ Touch with added Flip screen flag. However, it has a small glitches that is the screen will flashes & flip upside down when using the virtual keys. Since Touch is fully working either don't use the virtual keys or just disable it permanently. PhilZ Settings -> GUI Preferences -> Toggle Virtual Keys

Updates

Fixed flip screen flickering, Thanks to Teamwin updated flip screen codes . . . :good:

# Even though the MTK SoC is designed by MediaTek but the one that produces it is hundreds if not thousands of factories so some might use other combinations to boot up the recovery. It is a known problem that some MTK doesn't wanna boot up PhilZ Touch the normal way so try Popey900 technique. Standard procedure : Take out the battery, wait a while, put it back, hold Volume Up or Down, don't let go then press the Power button until it boots up PhilZ Touch #

Do not try this on lock bootloader MTK devices as there has been confirmed cases that it will brick it, refer to here for more info.

---------------------------------------

This tool will auto-install Aroma FileManager & it is a known problem on some MTK devices that Aroma FileManager refuses to start & complains about E:Can't make /tmp/update_binary -> Installation aborted . . .

On Flip screen MTK device, Aromafm will always be flipped & the answer is here

Work around

- Built-in to porting tool

Use the Auto mode first & it will auto make a backup of your current recovery.

Pull out the USB cable & use the Manual mode, copy recovery.img from BackUp-MTK-Recovery folder to Stock & it will ask you to plug-in the USB to PC.

Now open Stock/recovery/rmdisk/init.rc with Notepad++ & add the line as below & save it.

Plug-in USB cable to PC, press OK, select your device res & it'll auto install it.

mkdir /emmc
mkdir /system
mkdir /data
mkdir /cache
[COLOR="blue"][B]mkdir /tmp[/B][/COLOR] [COLOR="Red"]<- add this line to init.rc[/COLOR]
mount tmpfs tmpfs /tmp

chown root shell /tmp
chmod 0775 /tmp

Aroma FileManager shall work now.

---------------------------------------

On my friend's old ICS 4.0.4 MT6577 with 480x854 res, ported PhilZ Touch doesn't boot & later i found out its something to do with the kernel not supporting PhilZ res more than 320x480.

Work around

- Built-in to porting tool

At Windows Explorer -> Show Hidden Files & Folders -> MTK_PhilZ -> bin -> extract out 240x320_bg.png from res.7z, rename it to stitch.png

Plug-in the USB cable & use the manual mode, select your device res & it will ask whether you have flipped screen.

Copy & paste extracted 240x320 stitch.png to Stock/recovery/rmdisk/res/images folder to replace it & answer the flipped screen question

At PhilZ Settings -> GUI Preferences -> Change Background -> Reset Koush Background