[Miscellaneous Android Development] pudil:
P770 Flashing and rooting guide:

NOTE: Dropbox has temporarily suspended my public links for "generating too much trafic". Please use a mega alternative.

NOTE1: understand that I cannot keep no warranty or responsibility on a result of your effort. Please consider your abilities as following operations can easily brick your device. Also, for some dealers of mobile phones, modification like those bellow results in loss of your warranty.

NOTE2: this guide, all the modifications are created by community, to community. Please be noted that non of those shall be used for commercial purposes. Also I will not provide any support to those who wants to use stuff bellow anyhow for commercial purposes.

NOTE3: please note that I am not a pro-programmer, developer, geek. I am a bit advanced user who shares its result to community. All the stuff is provided as-is.. I am able to help but in time limits of my demandative work and personal life that is not on web .

NOTE4: if you have phone from Etotalk with their ROM, it already includes CWM. But the CWM has been modified by Etotalk to prevent a ROM Backup. Some features common in “normal” CWM might not work in Etotalk version.

Lets go!

This guide contains:

1)	Short explanation of P770 firmware versions and its differences

2)	Preparation for phone memory flashing

3)	Guide for Winflash recovery flashing, including english CWM (Clockwork Mod Recovery)

4)	Guide for rooting your phone (using CWM) and Google Apps (optionally)

5)	Flashing your ROM - general

6)	Guide for ROM flashing using Winflash utility

7)	Guide for ROM flashing using CWM

8)	Guide for ROM flashing using CWM - Recovery

9)	Recommended ROMs and links

1)	Short explanation of P770 firmware

P770 has two branches of fimware – “World” and “Asian” versions.

First and very crucial difference is, that they use different memory partitioning, resulting in fact that it is not possible to combine those two versions freely. Trying to do so may result in bricking your phone.

Details will described in point 5

bellow:

Main differences for users are:

Asian version, marked S118-S124: usually more actual as Lenovo is focused on Asian market. Typically does not include Google Apps, and very often packed with strange Chinese applications of questionable use. Usually supports only Chinese and English

World version, marked S106-S113

Version for world customers, usually shrinked from useless apps and containing Google Apps. Released with a bit delay compared to Asian version. Better support of European languages, sometimes contains more languages than English. I suppose that version is prepared mainly for Russian Market

2)	Preparation for memory flashing:

a)	Download this package and upack it as a whole somewhere in your computer:

https://dl.dropbox.com/u/25344416/P770/P770_update_utility.zip

alternative link: https://mega.co.nz/#!tFcFyAhJ!OInJjjvLV8VYtJUIvN0EKEJo7vI8ul9kDzv9y_3ukNg

b)	Turn off your phone, unplug cable, remove battery. Insert the battery but DO NOT plug your cable or power on the phone.

c)	Open your device manager in “windows/system”

d)	Connect your phone by cable. A new device named “MT65xx Preloader” shall appear for about 3 seconds in a section “Unknown devices”.

e)	Catch it with mouse and manually change the drivers to the ones located in “SP_Drivers_v1.5” folder of downloaded (unpacked) file.

f)	After updating, turn off phone, unplug and remove battery, reinsert battery and plug a phone. You should see a device “MediaTek Preloader USB VCOM (Android) (ComX)" in a “COM and LPT” section. If you see it, you are ready to go!

-	If you don’t see it, you did something wrong, most probably you were not fast enough in point e), retry from b)

NOTE: if you are unable to pass step 2, please reconsider your decision to play with your phone. If something goes wrong during next phases, you will probably end up lost and sad with bricked phone :crying:

3)	Guide for Winflash recovery flashing, including CWM (Clockwork Mod Recovery)

a)	Turn off your phone, unplug cable, remove battery. Insert the battery but DO NOT plug your cable or power on the phone.

b)	Run flash_tool.exe from directory downloaded in 2a

c)	Hit “Scatter loading” button and choose a file “MT6577_Android_scatter_emmc” from a directory according to a FW version you have (described in Point 1):

110_recovery for a “world” version

121_recovery for a “Asian” version

Don’t mix it up otherwise a flashing will fail.

d)	Hit “download” button and confirm any warning message.

e)	Connect the phone by cable (phone has to be off and in state described in 3a)

f)	Red bars on bottom side of the screen will show you a progress. When finished, green circle will appear.

g)	Close flashtool.exe, unplug your phone, remove a battery, reinsert it.

h)	To boot to CWM do this:

Press and Hold a power button for about 2 seconds, then release it and simultaneously press and hold volume buttons (both + and -) until phone boots to CWM

4)	Guide for rooting your phone (using CWM) and Google Apps (optionally)

a)	Download this zip file and place it to the root of your SDCard

https://dl.dropbox.com/u/25344416/P770/Root_by_javum.zip

alternative link: https://mega.co.nz/#!MYd1UQyL!DwroiHcoML_iEHD2r1pwvSReM2MZgXJlhjeWMaeHlkM

b)	Reboot to CWM (point 3h), choose “install zip from sdcard” “choose zip from sdcard” and choose the Root_by_javum.zip file. As the update proceeds, your phone is rooted. Reboot

Optional: Install google apps if necessary

c)	Download this zip file and place it to the root of your SDCard

https://dl.dropbox.com/u/25344416/P770/gapps-jb-20120726-signed.zip

https://mega.co.nz/#!ERUzQAYa!RNAKJAxLj38cLKi_ezNIpClrHoYIiIaPGHmKqwzcieQ

d)	Reboot to CWM (point 3h), choose “install zip from sdcard” “choose zip from sdcard” and choose the “gapps-jb-20120726-signed .zip” file. As the update proceeds, your phone has GAAPS included. Reboot

Note: this Google apps will work with a roms using Android 4.1.1, for other versions, different gaaps might be needed.

5)	Flashing your ROM – general

Generally you have 3 options how to flash your ROM – full wipe by FLASHtool, via CWM zip install or via CWM recovery. The choice is usually up to the creator of the ROM as he chooses a way how backup is created.

Flashtool way is a most basic one, it erases not only a rom, but also repartitions a memory and erases internal data. SD card remain untouched. Flashtool way is very useful for switching from “World” to “Asian” version”

If you want to switch from “World” to “Asian” you have as a first step flash an Asian version by flashtool (e.g. you can use a P770_S121_winflash linked in point 9), then flash whatever Asian version you want. To switch back to European you have to use flashtool again (e.g flash P770_S110_winflash). Maybe there are a different ways, but this is only safe process I would recommend.

LAST WARNING: as mentioned above – for CWM flashes, NEVER mix up an “world” and “asian” version of ROM. The reason is that both types are having different partitioning, so if you will be lucky, the flash will fail. If you are unlucky, the flash will proceed, and you have just successfully bricked your phone :confused:

NOTE1: first boot of the phone can easily take about 5 minutes. If the phone stuck on boot logo for 10 minutes or more you have 2 options:

a)	Boot to CWM and wipe everything (see point 7) and reboot

b)	Reflash ROM again, or reflash another ROM.

NOTE2: some ROMs are rooted, some are not. Some includes Gaaps, some not. For guide how to solve it, return to point 4.

NOTE3: As there is mistake in Android 4.1.1, commercial widgets disappears after reboot. Its a mistake of Android, not ROM and can be easily solved by Titanium Backup. (App with widget you want to use has to be backuped by TB, then uninstalled and recovered from backup (all by TB). Problem shall be solved in next release of Android:

6)	Guide for ROM flashing using Winflash utility

a)	Turn off your phone, unplug cable, remove battery. Insert the battery but DO NOT plug your cable or power on the phone.

b)	Run flash_tool.exe from directory downloaded in 2a

c)	Dowload a ROM you need (you might look at point 9)

d)	Hit “Scatter loading” button and choose a file “MT6577_Android_scatter_emmc” from a directory with a ROM

e)	Hit “Firmware update”, the program will check the images (purple bars running in bottom part) and then awaits a connection of a phone:

f)	Connect the phone by plug (phone has to be off and in state described in 6a)

g)	Red bars on bottom side of the screen will show you a progres. When finished, green circle will appear.

h)	Reboot.

7)	Guide for ROM flashing using CWM

a)	Download a ROM you want to flash (you may see Point9) and copy a zip file to a root of your SD card.

b)	Reboot to CWM (see 3h) and do “wipe factory data” and “wipe cache”. Go to “advanced” and do “wipe Dalwik cache”.

c)	choose “install zip from sdcard” “choose zip from sdcard” and choose the file you have placed on SD card.

d)	When update is finished, perform one more time “wipe factory data”. Reboot.

8)	Guide for ROM flashing using CWM - Recovery

a)	Download and unpack a ROM you want (you may see Point9), to a directory on your card /clockworkmod/backup, that means that final route shall be /clockworkmod/backup/Romdirectory

b)	Reboot to CWM (see 3h) and do “wipe factory data” and “wipe cache”. Go to “advanced” and do “wipe Dalvik cache”.

c)	Choose “backup and restore”, “restore” ad “Romdirectoryname”. Restoration might end by error message, but its no reason to be scared.

d)	Reboot

9)	Recommended ROMs and links

Updated ROMs for P770 can be found here:

http://www.needrom.com/phone-roms/lenovo/p770/

Most actual versions appears usually on this Russian and Chinese forum, Google can translate:

http://bbs.ydss.cn/forum-Lenovo_p770-1.html

http://lenovo-forums.ru/forum/119-lenovo-ideaphone-p770/

So far, best roms I reccomend are:

1)	S121 flashable via flashtool, I use it as a starting point for all the „asian“ mods:

https://dl.dropbox.com/u/25344416/P770/P770_S121_winflash.zip

alternative link: https://mega.co.nz/#!UY9GRCyb!S1C-Tz8Foc47atKPkD20HSsBROBZfZbOKEt36-5iNGY

2)	S110 flashable via flashtool, I use it as a starting point for all the „european“ mods:

https://dl.dropbox.com/u/25344416/P770/P770_S110_winflash.zip

alternative link: https://mega.co.nz/#!YYE03byB!I-iSvBu4pzi6PrZ9N3zn3TkRv24oQIHbmdau1FIEXXs

3)	S124_maomi_Pu_mod, CWM zip flashable, my modification of latest Asian ROM, shrinked, removed Asian Apps, added More Locale and Xperia Launcher

https://dl.dropbox.com/u/25344416/P770/P770_S124_cwm_maomi_MOD_pu.zip

alternative link: https://mega.co.nz/#!FBN3SIwD!NK0jqVnxaYzlUPjGWvJf7iWb2YFp6sGo7zXMsltv76E

4) S113_Pu_mod, CWM Recovery flashable via Restore, not rooted, my modification of newest world ROM, shrinked, added More Locale, Calendar Pad and Xperia Launcher, FV5 Camera is installed along original one, battery percentage ability in settings, reboot option while holding a power keyboard

https://mega.co.nz/#!1A1BmTjZ!WAjB8kLmeddS2ZqnfeerZF9yvjRduCPGepBBcUFK6n8

Last link (4) is my actual version I do personaly use.

Hope it helps!