yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] cappa72:
If you have got CWM recovery on your phone (or a chinese one that has got "xx SD yyy ZIP" menuitem), then you can use root-zip, installing it from CWM recovery.
[Miscellaneous Android Development] ebsbow:
Thanks :)
[Miscellaneous Android Development] olorin:
Thanks

Where are the screenshots?
[Miscellaneous Android Development] deathhand:
please add some screenshots.
[Miscellaneous Android Development] cappa72:
I tried to upload some, but the server was down that time.

I will try it again tomorrow.
[Miscellaneous Android Development] DexterMorganNL:
Thanks for this rom, I flashed it succesfull on the Lenovo A820, it also takes away that terrible skin from Lenovo.
[Miscellaneous Android Development] Lebrija:
Gapps link

Thnak you for your ROM. I tried it for a couple of hours and there some minor problems that I don´t know if there are rom related.

1. There is no link to the gapps, so I downloaded a random one and I have errors with google search.

2. The videocam record with a green band on one side.

3. The gps is slow, doesn´t pick satellites easily.

4. If you choose automatic time the it always consider that you´re in china. If you choose manually your timezone then it is ok.

Overall it is a very well-done rom and I would keep it for daily use.

Thanks
[Miscellaneous Android Development] DexterMorganNL:
1. Are you sure you downloaded the Gapps for Android 4.1.x? You should have this gapps version: gapps-jb-20121011-signed, this the right version you should flash. I first flashed the rom and after that the gapps.

I have reproduced your issue and you need to update the Google search app in the playstore, after that the errors are gone.

2. I have reproduced what you reported, I want to try if I can grab the original camera app from Lenovo and see if it still has the issue, but I don't think its a big problem, I bought the phone for someone else, but this issue is not to big, I don't suppose people often record with an smartphone and this rom at least got Dutch in, the original phone firmware was bloated with China Unicom bloatware, Lenovo skin and had no Dutch support.

3. Try GPSfix, ussualy this kinda works, but the MT6577 chip was know for having GPS problems, perhaps its the same with MT6589? But there are many apps out there that can help you fix it.

I think this in a great rom, Lenovo is a big brand in China, so many will choose Lenovo and with this rom you get rid off the terrible lephone skin, I mentioned this rom in my review about this phone

Oh here you got some screenshots.

Feel free to use them in the OP.
[Miscellaneous Android Development] ebsbow:
Don't know about you but I do use my device a lot for video recording.

I think it is imperative that all basic functions work flawlessly.

The custom rom's with android 4.2 also have an video bug at this time, which is a bit unacceptable.

I'm sure it will be sorted out :victory:
[Miscellaneous Android Development] DexterMorganNL:
Well yes, but having fully Dutch support is better, you can always flash new update off the custom rom when it get fixed. I only recorded a few time video with my own smartphone.
[Miscellaneous Android Development] cappa72:
1, I have added the link.

2, Thanks for the feedback, it is really useful to know. The playback contains the green band, the file itself does not.

I changed the kernel to the '130'-one, and now it works with the camera application, and the playback is also correct.

3, You shall try the EPO / A-GPS support for getting it better. Or thy DexterMorganNL's suggestion.

4, I have never faced this issue, but in the new version I set the default time zone to London.

The new one is available, you can see it in the first post.
[Miscellaneous Android Development] Lebrija:
Thank you for your time. I will try the new version. But, why have you used an older kernel?

By the way, with version 3 I also had some problems with the gyroscope when playing Real Racing 3.

Great work
[Miscellaneous Android Development] DexterMorganNL:
Its great you released the update so fast, you brought us really good work. I think new owner off this phone is going be thankful, they requested me to buy a phone for them while I'm in China, and when I got it it was not fully Dutch supported, had the terrible skin.

So its great have this phone, because this way I can deliver it without the Chinese bloatware and with full Dutch language and ofcourse Google apps.

EDIT

The newest release gives me a black screen after I boot it up after having it flashed, so I have reverted back to your previous release.
[Miscellaneous Android Development] TheTen:
OK. I'm ready to weep.

I've previously had a ROM from NeedRom on my A820.

I'd like to give Cappa's ROM a try, but when I try to install from CWM Recovery I hit the Error outlined in Post 4.

I then follow the advice of Post 3... But there are no links to A820-compatible CWM Recovery installations. I found one on a hungarian site linked to Cappa, but all I get is a .img file and no idea how to get that on to my phone.

Can anyone post detailed instructions, or send me to a page (in English) where I can find instructions on how to get the ball rolling so I can use Cappa's ROM?

Thanks.

Google is my friend. Yes. But Google Translate isn't.
[Miscellaneous Android Development] TheTen:
Update, I think I sorted it...

Bit of imagination (and could have totally done the wrong thing, but it seems to be making progress...)

I decided to take a known ROM install that I've tested and that works, which has a recovery.img included, and I renamed the recovery.img to recovery_bak. I then renamed my 'new' CWMRecovery image to recovery.img and dumped it in the directory with the ROM data that I got off NeedRom. I loaded up SPFlashTool and loaded the scatter file from that ROM, then deselected every component except 'recovery' and flashed it.

End result is that I have a phone which recovery-boots to the version 6 cappa-modded CWMR which I found on the Hungarian site, and in turn that CWMR has just installed both the required ZIP updates outlined in Post 1, and Cappa's ROM is now sat on my second A820 awaiting setting up...

I hope I did the right thing, and this won't come back to bite me in the ass later... The newer recovery.img was slightly larger than the old one, but I'm assuming that the scatter file isn't about storing specific pieces of the ROM in specific places based on exact size of file, and thus perhaps all things will continue to work swimmingly.
[Miscellaneous Android Development] cappa72:
When battery comes below certain point System UI shuts down

It was a user error of the people, who deleted the /system/media/audio/ui/LowBattery.ogg file. So this is not a bug anymore.

The 4.2-v1 is the ("officially") newest. (The next version 5.x is under praparation)

The advantage of this ROM is that this is not Lenovo-based one.

For this reason the Gravitybox works as inteded. (In case of Lenovo-based ROMs not all functions work well.)

All the ROMs made by Infrared, Linerty, benz0076, me or stock works.

You can choose from theese; this is the main point: feel free to choose. :)
[Miscellaneous Android Development] mastersanta:
Any progress? When can we expect some to update? :fingers-crossed:
[Miscellaneous Android Development] kubek1334:
when it's done.
[Miscellaneous Android Development] kolk11:
Since I own a A820 and succesfully repartioned it, I was wondering are the repartitioning scripts for universal use and therefore also work for my lenovo A850? or wont they work and probably brick the A850?

Thanks in advance
[Miscellaneous Android Development] cappa72:
Do not do it for other Lenovo phones!

E.g. the A830 is not compatible.

The use depends on the partition table!
[Miscellaneous Android Development] dragodr1:
Hi

I'm unable to install CWM, following the instructions for rooted devise- option 2.

I'm getting the following messages:

try to update / sdcard/update zip

try to update / sdcard2/update zip

Can someone help please

Many Thanks
[Miscellaneous Android Development] cha_indian:
guys... I have installed Infrared's S139 based ROM.. while it is the most stable ROM out there but I am not able to use Viber on this ROM...there is always some issue while using Viber ...
[Miscellaneous Android Development] cappa72:
If I can see well, you try to run an update.zip from a 3e recovery, do you?

If so, then you need to use mobuliuncletools to update the recovery instead.
[Miscellaneous Android Development] dragodr1:
Hi

Thanks for your reply

I'm using mobuliuncletools to install the recomended CWM img. file on a rooted devise.

After the installation of CWM l'm diverted to the 3e recovery, which makes me think that the CWM was not installed successfully.

Seems like I'm always getting the update.zip messages even if I only enter the recovery.

Thanks for your help
[Miscellaneous Android Development] cappa72:
Before the "reboot recovery", did you wait 10 seconds? Sometimes it helps.
[Miscellaneous Android Development] dragodr1:
Hi Yes I did wait

Thanks
[Miscellaneous Android Development] cappa72:
Hm... honestly it is really interesting.

I flashed the stock rom yesterday (S135), rooted with framaroot.apk, installed the Mobileuncletools and changed the recovery.

After "reboot recovery", my modded CWM appeared.

Only one possible reason there is for not having the mod recovery.

If you allowed the stock rom to reboot and it contains the

/system/recovery-from-boot.p

/system/etc/install-recovery.sh

files.

It _can_ be a reason.
[Miscellaneous Android Development] dragodr1:
Thanks for your reply and sorry to be a pain

So is there a way to get this resolved? Do I need to delete this files?

Btw I used the 'mt6589_rooter' to root the stock rom. Not sure if that could be causing an issue.

Thanks again
[Miscellaneous Android Development] kolk11:
Is there a (safe) way to find out if it is compatible?

Would be great to repartition my a850 aswell

thank u
[Miscellaneous Android Development] prepulsar:
Hi Cappa72.

I get errors (tried twice) on Infrared's lambda v2.3 ROM:

Installing update...

asset failed: getprop("ro.product.model") == "Lenovo A820"

E:Error in (your zip file... repart-to-2.7GB.zip)

(Status 7)

Installation aborted.
[Miscellaneous Android Development] cappa72:
Please see post #4
[Miscellaneous Android Development] prepulsar:
Thanks cappa72. I decided to try manowaracero's s150 ROM.

No problems (if I can get root and pimp it and lose the touch pal Spanish /dual friendly keyboard). Still can't find an a820 CWM using mobile uncle tools. Where does one find scatter files? Am I looking for one for this MTK (6589) chip?

It is running Koush's superuser but when I open it it attempts to install itself then fails so I can't mod this ROM. I guess it has unrooted itself despite the author clearly stating that it is rooted (unfortunately in Spanish which I am reluctant to spare the grey matter to practise)

http://www.movilesdualsim.com/threads/rom-mod-lenovo-a820-s150-25-09-13-castellano-v1-1-por-manowaracero-01-10-2013.48105/
[Miscellaneous Android Development] cappa72:
I would use SuperSU instead of superuser. SuperSU works for MT6589 platform, I'm sure.
[Miscellaneous Android Development] cappa72:
First, it shall be checked wheter or not the partition table is the same for both phones.

To check it, the scatter file or the out put of

cat /proc/dumchar_info

shall be known.
[Miscellaneous Android Development] kolk11:
Thanks for your response I send u a PM with the scatterfile
[Miscellaneous Android Development] prepulsar:
I find scatter files in my collected archives, seem to be much of a muchness. Totally rooted now, was a common 'issue' with that ROM, although their site is Spanish.

what I am struggling with now is getting the recovery CWM into SP flash tool. Your third post links to an .img file while the tool expects a bin, although you give no indication in that post of how or even if the tool accepts any file other than the scatter file!

I checked some (android?).INI in the tool's directory and it has a few entries for files but they are all still the wrong ones. Oh well there for the hacking I suppose. Oh wait, now I remember, that's why I gave up here before, the preloader was supplied in a zip with the CWM, from the needrom site. That's one of those entries in the .ini file I must redirect.

So I am stuck with that CWM which is apparently incompatible... I would care more if it could be clearly explained how to undo the repartitioning described by Cappa72. I would imagine restoring from the backup made with MTK tools (by rua) would work.. Apologies if I'm being thick.
[Miscellaneous Android Development] mastersanta:
I just downloaded the zip from XDA containing Koush's superuser, I put koushikdutta.apk to /system/apk, and swapped the two files "su" in /system/bin and /system/xbin. For me, it works great. Just simply use WinRAR or 7Zip on ZIP file and add/replace things :P

S150 also checked. The battery indicator repaired, I do not see there any problems with this. I also fix the Scenes option in the settings (fault and errors in the launcher).

Now ill try to fix the dialer (centered and full screen). Anyone have any idea or ready Contacts.apk file with the correct presentation? :P
[Miscellaneous Android Development] Staf1988i:
When you will release the rom Cappa?
[Miscellaneous Android Development] cappa72:
Honestly, I don't know.

In the last three weeks I had only 2 hours for doing something with this ROM. :angry:

There will not be any big changes, mainly fine tuning (as is can be seen in the first post), and the use of the Aromainstaller for customised installation.
[Miscellaneous Android Development] Staf1988i:
5.3

I Installed 5.3 v1.. Ok there are not big changes. Really its the best rom.Basically is the most stable.
[Miscellaneous Android Development] thienvandac:
Excuse me, but there is no link for download how can you install and say most stable?
[Miscellaneous Android Development] Staf1988i:
Cp 5.3 v1 beta

http://www.slatedroid.com/topic/72057-lenovo-ideaphone-a820a830s820/

I found it on Slatedroid.
[Miscellaneous Android Development] thienvandac:
I see, but it doesn't tell which version of Android is? 4.1 or 4.2.1 or 4.2.2? it base on the official s150 and have lots of good improve... How about the bug? did you try the v. 4.1? how is that differences? can you show me some picture of that?
[Miscellaneous Android Development] mara80:
ROM in that link are not available to download.

I have a Lambda ROM 2.3.4... I don't ask which one is the best... but I like to know which are differences between these ROMs
[Miscellaneous Android Development] Jungleboy87:
Hi,

After trying to flash this ROM on my A820 and adding the script to create one big partition, I think I accidentally restored an old and incorrect image. Now I'm getting this:

E: Can't mount /cache/recovery/command

E: Can't mount /cache/recovery/log

E: Can't open /cache/recovery/log

E: Can't mount /cache/recovery/last_log

E: Can't open /cache/recovery/last_log

And also, I'm back to the Chinese recovery menu, which I don't get. Trying to flash this ROM again of course doesn't work.

And to top it all the phone remains stuck on the Lenovo screen.

PLEASE HELP!
[Miscellaneous Android Development] jobibear:
Dear Cappa72 you are spot on. I have 43e :(. I can get flash player up but what is scatterfile? Where do I find it, etc.
[Miscellaneous Android Development] cappa72:
The scatter file is here: scattet-a820.txt
[Miscellaneous Android Development] cappa72:
CP5.3 is available now

CP5.3-v1 is available now, check post#1
[Miscellaneous Android Development] romuleta:
Fantastic, Cappa!

Can i install repartition/disable scripts on this new version? Radio-FM-change also?

Thanks!:good:
[Miscellaneous Android Development] cappa72:
Thanks. :)

If you have already repartitioned your phone _with the script_ you do not have to do it again, the installer will recognise the fact that you had repartitioned your phone. And it will do the necessary modification automatically. If you used the Meteos ROM editor, then you have to run the internal SD disabler.

The FM radio changer can still be used for this release.

I hope you will enjoy it.
[Miscellaneous Android Development] romuleta:
Glad to know that. Thank you!! :good:
[Miscellaneous Android Development] ajitam:
I've bought A820 couple of weeks ago. I was using CP4.2 V1 first and now I'm using CP5.3 V1. I really like it (because I prefer Stock rather than bloatware)!

I haven't tested GPS fix yet (I'm from SE part of EU). I plan to do it in next few days.

I've noticed a click in speaker few seconds after the other person brings up the line and starts speaking (but it's not repeating during the conversation). It's not a vibration BTW. The same clicking occurs in some sound generating apps (for example in BinauralBeats) in period of 3 to 4 s. May be it is a completely different problem. When playing MP3s or videos recorded with this phone it doesn't happen. Actually it's not a big problem after all.

When I try to encrypt the phone I don't get an option for encrypting SD. And actually it's not encrypted after phone encryption.

How is with Caller ID problem? I didn't manage to apply this fix: http://xdaforums.com/showthread.php?t=2268120 Is it planned to be a part of next version? Did somebody succeed?

Thumbs up!
[Miscellaneous Android Development] cappa72:
Thanks for the feedback.

I suggest to use gravitybox, which a really good tool for tweaking the phone, without additional work.

It contains led notification, dual sim ringer, caller id fix and many more...

Related to the encryption, I have not used it for any of my phones, but when I will have time, I'll try it.
[Miscellaneous Android Development] ajitam:
Latest GravityBox 2.3.0 is not working on CP5.3-v1. May be there is not included the latest version of Xposed Bridge API.
[Miscellaneous Android Development] cappa72:
The laest is 2.7.6 and works for me.
[Miscellaneous Android Development] ajitam:
For me is also working but I had to delete all contacts and import them again.

I've noticed after installing GravityBox and Xposed that 2nd SIM icon appeared again. I had to set the tweek to hide it again.
[Miscellaneous Android Development] Lopat:
Cappa you did a superb work with this ROM :good: I have moved to another chinese device but my wife loves your ROM.

I just have a small question durring the instalation there was a part where you can chose governors default, performance, batery and custom (or something like this). Is it possible to change that after the instalation or do I need to flash this ROM again? Or maybe I can change it via some app :confused:
[Miscellaneous Android Development] ajitam:
How do you manage to install apps on SD card (sdcard1 and not interrnal sdcard0/Phone storage) or destinct in configuration for default installation on SD card between Phone storage/sdcard0 and external sdcard1?

Did anyone succeed to encrypt more than internal memory (sdcard0 and sdcard1)?
[Miscellaneous Android Development] romuleta:
Try SetCPU to change governors.
[Miscellaneous Android Development] obarthelemy:
(solved) Need more guidance on how to flash CWM

Hi.

I'm trying to flash CWM onto my A820. I got the SPFlashTool and the CWM.zip recommended in the post, but I think I'm missing one or two steps: I switch the phone off, take away battery, launch the flashing on the PC, put the phone back together and connect USB... nothing happens.

Am I supposed to enable USB debugging, and/or reboot the phone in some special flashing mode (and how ?).

Thanks for any help, Olivier

Solved: I was missing the USB driver, install on Win8 involves a few extra steps (special reboot, allow unsigned drivers...)
[Miscellaneous Android Development] obarthelemy:
Issue with data partiton tweak

Hello again.

I did the data partition tweak described in the OP, but is causes some apps (Gallery, Camera) to malfunction.

Is there any way to roll that change back ? (that is: restore the size and re-enable Internal SD)
[Miscellaneous Android Development] obarthelemy:
Things are getting worse: now my EXTERNAL SD is no longer recongized, neither in FAT32 nor exfat;
[Miscellaneous Android Development] longo213:
Try to flash the ROM again.
[Miscellaneous Android Development] obarthelemy:
How do I do that with no access to the external SD, and no internal SD at all ?
[Miscellaneous Android Development] longo213:
Wait, you cannot even access the external SD card from recovery?
[Miscellaneous Android Development] obarthelemy:
not anymore. And I've tried with 2 SD, which both work on other devices.
[Miscellaneous Android Development] cappa72:
Which ROM and which recovery do you use?

(The symptom has not been reported, so I am really surprised)

To recover your stock partition, please see post#75.
[Miscellaneous Android Development] Bretos:
Hello, would it be possible to make a recovery installable through recovery? Or may I flash it through fastboot/smth? I own neither a windows machine, nor a windows key and I hate windows to my bones, so it's pretty impossible for me to flash this special recovery with windows software.. :(

And the second question is if it is possible to have TRUE Android 4.2 on Lenovo A820?
[Miscellaneous Android Development] cappa72:
If you have got a rooted phone, you can use dd command via adb.

I will explain it later if you wish.
[Miscellaneous Android Development] Bretos:
I know what you mean with DDing the image into recovery partition, good idea, thanks ;)

Just for the safety: will the phone boot without/with corrupted recovery?
[Miscellaneous Android Development] cappa72:
Fortunately the MTK platfrom has got its own advantage (and also a real disadvantage: no native Linux support .... :p); the recovery and the boot are separated.

For this reason when you install an incorrect recovery onto your phone, you can use your phone without any problem, only the recovery is not available.

For the dd command you can use:

./adb shell
su -
dd if=/<cwm image with full path> of=/dev/block/mmcblk0 bs=1024 seek=40448

It will flash the recovery onto your phone.

Warning!

If the recovery is larger than 6MB (6144k), you will touch another partition and make trouble. With my ported recoveries, this risk does not exists.

I also use Linux as the main operating system and I am really fed up with win-only support of MTK...
[Miscellaneous Android Development] Bretos:
Thank you very much cappa!

Could you only explain the "seek=40448" option?
[Miscellaneous Android Development] DroidZombie:
HI I'm having trouble downloading cwm from your download site.

It says I must use the premium service to download the file.

Could you re-upload cwm for the S150 kernel onto a different site please?