Saturday, January 31, 2015

Composite tutorial

Fix font color in GTK themes

Copy /usr/share/themes/Greybird (or some other theme) into ~/.themes/MyGreybird

Edit MyGreybird/gtk-2.0/gtkrc

make sure fg_color:#000000 and like if you want text to be black rather than grey.

Saturday, January 17, 2015

Lenovo A806 GApps installation

Mini modular package. ""

Lenovo A806 New rom install (via TWRP)

Copy "" file to Internal storage.
Reboot to recovery, wipe cache, dalvik, system, data.
Reboot again into recovery.
Unmount /cache.
Install ZIP.

Mount /system.

Rename /system/reovery-from-boot.p into something else does not work, had to reflash recovery. Finally deleted this file.

Reboot System, Install SuperSU? -> YES.

Lenovo A806 Recovery install

With SP Flash Tool: switch ON the option "DA DL All with Checksum".
Mark "recovery", select recovery.img from TWRP_Recovery.

The phone must be powered off, no battery. Click "Download", insert the phone cable.

All sound buttons + power to switch on the phone (cable ejected).

Lenovo A806 ROM flash readback

The phone arrived from China with a buggy altered firmware:
Hardware : MT6592
Model : Lenovo A806
Build number : VIBEUI_V2.0_9432_ST_A806
Build date UTC : 20140807-112632
Android  v : 4.4.2
Baseband v: A806.V30, 2014/07/31 14:53
Kernel v : 3.4.67 (buildslave@xmws58) (gcc version 4.7 (GCC) ) #1 SMP  Thu Aug 7 19:24:27 CST 2014

To backup the original firmware you need:

1) Preloader driver for MTK
2) MTK droid tools
3) SP flash tool

Backup process:
1) Get scatter file with MTK droid tool and phone switched on, debugging enabled
2) Eject the cable, power off the phone, eject the battery
3) Open SP flash tool, select the scatter file, go to the "Readback" tab, add new, put the number from the "Cache" partition start into the "Size" field.
4) Press "start readback", insert the battery, attach the cable.

I got a 1.4GB ROM file in 32 minutes.