[Miscellaneous Android Development] cappa72:
Dear Owners,

Discontinued

In this post you can find a multilingual (mainly European) modified rom for the smartphone Lenovo A820.

IMPORTANT NOTE!

The newer phones do not work well with S138 or older kernel (no info about S147).

The sympthom is that the touch screen works on inappropriate way: after the first screenlock it does not work again.

For this reason it is highly recommended that update your kernel if you have got this issue.

The kernel changer to S150 zip can be run from modified recovery (CWM, TWRP, COT, Carliv, etc...).

Note that all the things in this thread you do with your phone can be dangerous. I cannot take responsibility for your phone damage.

So, do it at your own risk.

Before you do anything, I recommend you to save your current ROM (I would say it is mandatory!)

There are many ways to save and I highlight some (links will be added later):

1, for non-rooted phones:

- SP_Flashtool, readback option.

- CWM (or TWRP) backup, if it is available on your phone

2, for rooted phones:

- MTKDroidTools backup

- command line dd-backup

In order to install this ROM, you need to have CWM recovery on your phone.

If you have not got this recovery or you do not know which recovery you have got, you have to read post#3 before you do anything.

If you get error during the installation of the ROM, see post#4.

The restore option of the CWM rcovery is not as good as it could have been expected, so please read post#4 carefuly for CWM restoration issues, tricks.

Update: CWM 6.0.4.0 with S150 stock kernel.

Just to clarify the power-on modes:

Normal phone mode: press the power button

Meta mode: VOLUME DOWN + POWER

Factory mode: VOLUME UP + POWER

Recovery mode: VOLUME DOWN + VOLUME UP + POWER

Consider the warranty issues, you need to backup you rom.

In addition, I always suggest to do a backup before install any new ROM to your phone.

You can do it with CWM recovery in backup menu.

About installation in general.

Pre-requisites: CWM recovery menu installed on your phone. (This ROM can be installed from CWM recovery.)

The ROM file must be saved on your physical SD card.

Enter into CWM recovery.

In CWM recovery you can go up/down with the volume up/down keys. The “enter” is the power button.

Choose the “install zip from SD card” menu item.

Choose the “choose zip from SD card” menu item.

Select the rom you want to install.

Choose “OK” in the menu item.

If you need a detailed explanation of its use, see the tutorial : http://bm-smartphone-reviews.blogspot.com/2012/02/complete-guide-to-clockworkmod-recovery.html

Right after the ROM installation has been finished, you can install gapps as well, before restart.

Windorws driver installation:

Please do not ask me about it. I use mainly Linux, which is more friendly.

What I did in XP under Virtualbox was:

Downloaded the Lenovo drivers from here: <link>

Manually added the com ports in control panel.

MOD CP4.0

V1

The modified rom has got the stock kernel - Lenovo A820_ydss_S135_130403

This completely changes your phone appearance, your Lenovo UI will be disappeared.

Also Lenovo applications are not integrated to this rom.

It will look like the stock Jelly Bean.

Main features:

-The firmware is rooted.

-Boot logo, boot/shutdown animations and sounds are changed to Lenovo.

-Minimalist appearance and content, for this reason you have to install google applications manually, from CWM recovery <link>. After gapps installation everything works well (many people wants to have mainly Google Play. It do work.)

-Slide unlock.

-Multilingual. For supported languages, see the screenshots.

-The default language/region is Hungarian, but you can easily choose your one.

Known bugs:

- I found was that the charging logo with turned off phone is not proper.

-the camera does not work adequately in video-camera mode.

-the default setting in some of the application is V987.

V2

The modified rom has got the stock kernel - Lenovo A820_S135_130403

The camera was changed to a non-multilingual one. It looked that the black screen in camcorder mode solved.

But after googleapps something went wrong... black screen again.

V3

The modified rom has got the stock kernel - Lenovo A820_S135_130403

In V3 there is not any significant changes (camera app was changed back to the multilingual one), but I modified the gapps, which caused the camcorder issue.

So, for this modified rom you need to use this gapps.

V3 download link: CP4.0-by-cappa72-v3 - dropbox

or

CP4.0-by-cappa72-v3 - 4shared

Bug: Still, the camera has got green lines in the case of playback.

CP4.1

V1

The kernel has changed to A820_YDSS_S130_130324.

The camera application does not generate green bands in playback.

The default language was set to English, default time zone was set to London.

CP4.1-by-cappa72-v1

You can use the googleapps mentioned for CP4.0-v3

CP4.2

V1

The kernel has changed to A820_S138_130419

CP4.2-by-cappa72-v1

Bug list

#3 - CP4.2-v1 - Wen try to choose themes, the laucher is Force Closed (FC) - Settings was modified to resolve this issue.

#4 - CP4.2-v1 - Serial number is 0123456789ABCDEF instead of the original S/N - not a real bug

#5 - CP4.2-v1 - Under the battery level of 15% the SystemUI is Force Closed (FC) - was a user error, when people deleted the necessary ui files.

CP4.3

This release will be the continuation of the 4.2, but with the newest available kernel (S150) and will (plan) contain all the things that are included in the 5.3.

This will not be with Aromainstaller and will contain the gapps.

Hopefully comng within two weeks.

MOD CP5.3

Available now (25.11.2013.)

CP5.3

V1

Change log; what’s new compared to CP4.2

Aromainstaller is used for optional installation possibilities.

-	still Jelly Bean 4.1

-	kernel is the stock S150

-	Modified systemUI by jwchen119@xda (1% battery signal; automatic hide function for non-used sim signal)

-	Modified Settings by apeelme (sloving bug #3)

-	Baseband is from the stock ROM S150.

-	gps.conf is set to EU by default

-	apns.xml is modified for Telenor-HU from “net” to “online”

-	gps-tracker solver added to build.prop (dalvik.vm.execution-mode=int:fast)

-	libvcodecdrv.so replaced to solve green bars in case of video playback.

-	updated MobileUncleTools (2.9.5) in case of 3rd party SW.

There is no default ringtone set! Right after the installation you have to set the ringtone, message alert and so on... otherwise your phone will not play sound...

Important feature!

If you have already repartitioned with the script, you can simply install this ROM, it will recognise that the repartition had been done; and you do not have to run "disable internal SD card" script from CWM.

But please note that this function is onyl available with the repartition script; with Meteos rom editor repartitioning this function is not available.

Right after the installatio, there is not any sound set. Nor the ringtone, nor the message an alert. So, you have to set it first.

Available on mediafire : Link

md5sum: 86e241fcac6faf4fa6baf0f9cc4a18a0

Additional possibility:Change of FM radio

The FM radio can be changed back to Lenovo’s one with this script. It was requested by some people due to the fact that Lenovo’s FM radio can work without connecting the earphone.

The link is here. http://data.hu/get/6494163/FM-radio-change.zip

You can install it from CWM recovery, with the same method that you used during the installation of the ROM. This script does not affect any other part of the ROM, but the FM radio.

Repartition

Please DO NOT USE IT for Lenovo-based ROMs. Sometimes it can cause bootloop or other inconvenience.

The repartition of internal memory of the Lenovo A820 phone has been solved already.

With this action youd intednal SD card will be disappeared and will be added to the /data partition.

Before you do anything, make a CWM backup, and save all your data from internal SD card!

The easiest way is to use this CWM script, if you want to have the maximum available size (2,7GB) for the /data partition.

You have to install it from CWM recovery.

After the installation you need to do a factory reset.

After the factory reset, you have to disable your internal SD card, with CWM script.

And then, you can reboot your phone to check if yo have got the new size of /data partition:

settings --> storage

"internal data storage; full capacity 2,7GB"

"internal SD card; full capacity <your physical SD card capacity"

If the above data appear, you have successfully repartitioned you phone's internal memory!

If you want to have your data back, go into CWM recovery, and choose

backup and restore --> advanced restore --> <choose your save> --> Restore data

And then, your data are available again, after the reboot.

Please do not use it, if you do not want to have the 2,7GB of /data partition!

For Lenovo-based ROMs you need to use Meteos-apk for repartition of A820.

Internal/external SD card exchanger

If you want to use your physical SD card as the default one, and still want to use your emmc-SD card (aka internal SD card by default), you can change it by this CWM script.

Important link in summary:

The driver what works is here.

The original stock recovery is here

The autoroot package can be found here.

The preferred CWM is here.

The root script is here, you can install is from CMW, and your phone will be rooted.

The usable Flashtool is here.

The scattel file for Flashtool is here.

Credits:

bgcngm for the base of the ROM (BM1.0 for ZTE V987), and his amazing tutorials

iBotPeaches and brut.all for apktool

dsixda for his ROM kitchen which is really helpfull for easy-deodexing

Koush for his wonderfull CWM recovery

amarullz for his amazing AROMA installer

...and finally to all the devs whose apps, tweaks and scripts I have used on my custom ROMs