yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] cappa72:
Yes.

You can see, if you type a command:

./adb shell cat /proc/dumchar_info

That it shows the complete partition information about your phone.

preloader	0x0000000000600000	0x0000000000000000	2	/dev/misc-sd

mbr	0x0000000000080000	0x0000000000000000	2	/dev/block/mmcblk0

ebr1	0x0000000000080000	0x0000000000080000	2	/dev/block/mmcblk0p1

pmt	0x0000000000400000	0x0000000000100000	2	/dev/block/mmcblk0

pro_info	0x0000000000300000	0x0000000000500000	2	/dev/block/mmcblk0

nvram	0x0000000000500000	0x0000000000800000	2	/dev/block/mmcblk0

protect_f	0x0000000000a00000	0x0000000000d00000	2	/dev/block/mmcblk0p2

protect_s	0x0000000000a00000	0x0000000001700000	2	/dev/block/mmcblk0p3

seccfg	0x0000000000020000	0x0000000002100000	2	/dev/block/mmcblk0

uboot	0x0000000000060000	0x0000000002120000	2	/dev/block/mmcblk0

bootimg	0x0000000000600000	0x0000000002180000	2	/dev/block/mmcblk0

recovery	0x0000000000600000	0x0000000002780000	2	/dev/block/mmcblk0

sec_ro	0x0000000000600000	0x0000000002d80000	2	/dev/block/mmcblk0p4

misc	0x0000000000080000	0x0000000003380000	2	/dev/block/mmcblk0

logo	0x0000000000300000	0x0000000003400000	2	/dev/block/mmcblk0

ebr2	0x0000000000080000	0x0000000003700000	2	/dev/block/mmcblk0

expdb	0x0000000000a00000	0x0000000003780000	2	/dev/block/mmcblk0

android	0x0000000025800000	0x0000000004180000	2	/dev/block/mmcblk0p5

cache	0x0000000008000000	0x0000000029980000	2	/dev/block/mmcblk0p6

usrdata	0x000000002a800000	0x0000000031980000	2	/dev/block/mmcblk0p7

fat	0x000000008b5a0000	0x000000005c180000	2	/dev/block/mmcblk0p8

bmtpool	0x0000000001500000	0x00000000ff9f00a8	2	/dev/block/mmcblk0

The recovery starts at hex(0000000002780000)

If you coutn this hex to dec, and divide it with BS number (1024) you will get

hex2dec(0000000002780000) / 1024 = 40488

The 40488 is the physical start address of the recovery.
[Miscellaneous Android Development] Bretos:
I have never seen such a precise answer. Thank you very much once more! :)
[Miscellaneous Android Development] cappa72:
It is a surprise for me, but I uploaded it to a different site: Lenovo-A820-CWM-6012-recovery-S150-by-Cappa72.img
[Miscellaneous Android Development] DroidZombie:
Thanks a lot. It worked this time.
[Miscellaneous Android Development] obarthelemy:
Thanks a lot for your answer. The recovery trick didn't work, probably my fault because I was working off a netbook with kids everywhere around ('tis the season .. ^^) so I must have missed a step. I got the phone back doing a full re-flash via sideload (installing adb, drivers...). The SD still doesn't work though, I've now tried 3 different ones all working on several other devices... I'm think hardware problem probably, even though the SD stopped working right after your "grab internal_SD for system" CWM script.

The camera and gallery are working again, which was the most important, the phone is running much better and cuter than stock, w/ the Playstore and a dozen apps... that's good enough for me, so thank you.
[Miscellaneous Android Development] ghmarius82:
Best ROM for a820.
[Miscellaneous Android Development] xecuttor:
Hello,

I did repartitioning using script. It worked but I don't see external SD card in my system anymore. But I see it in CWM (can do updates and stuff from there)

I use Etotalk ROM and I'd like to keep it.

Can you help me please?
[Miscellaneous Android Development] cappa72:
Use the internal sd disabler script from cwm: a820_JB_disable_internal_sdcard
[Miscellaneous Android Development] xecuttor:
I did that. Twice.

EDIT: OK, out of curiosity I did everything again and it works now! Sorry :) Thanks a lot
[Miscellaneous Android Development] Network_Pro:
This ROM is PERFECT !!! Thank you !!! I will donate after some more testing.
[Miscellaneous Android Development] prepulsar:
Hello, I followed your first posts and am in a bootloop. I suppose that means my ROM is Lenovo based? It would be helpful if you could better define this term because I assumed all 4.1.2 ROMs were just refinement of Lenovo stock ROMs. Mine was manowaracero and pakyto's v3.2. Sorry for neglecting your ROM BTW, cappa72.

So, can you help me get out of this bootloop please? I have CWM 6.0.12 freshly installed and working (after taking the battery out).

Nevermind, fixed with a factory reset. Bit late for a meteos apk but CWM saves the day (again) :)

Thanks cappa
[Miscellaneous Android Development] ancoam:
Hello,

i'm a new user from CP 5.3 and after test a few roms for me this is the best. So, thanks cappa72.

now i'm trying to remove the text in quick setting toogle, in spanish is too long and it take a newline on data toogle. I think that the icons describe itself enough.

I have tryed the #11 point at this tutorial http://xdaforums.com/showthread.php?t=2203166 but i didn't found the same code.

Someone could do that?

Also I found that when you have only one sim, at lock screen you still could to make an emergency call, it is possible remove that too?

Thanks
[Miscellaneous Android Development] longo213:
Excellent ROM - I had couple of MTK6589 based phoned in my hands, but Lenovo A820 with CP5.3 ROM is a well balanced combo, it makes it probably the best value smarphone around!

There is only one "bug" to report, more specifically only a cosmetic issue: charging animation when the phone is turned off is a bit distorted. The image is okay when the phone is fully charged.
[Miscellaneous Android Development] ancoam:
youtube app

Anyone have problems to play videos at youtube app? the video it's frozen and the audio is playing normally. at Chrome i haven't these problems
[Miscellaneous Android Development] Haldy:
Cannot install recovery

Hello guys,

I need your help, I'm already desperate :-/.

I have a A820 and I cannot succeed to flash the recovery.

I'm trying with CWM 5.5.0.41 & CWM_6.0.3.2_by_I.nfraR.ed.

I'm using Flashtool_v3.1304.0.119(20130206). I know the first thing you tell me, that I need to have a right driver installed, but i think I have it.

When I'm connecting the phone without battery, its not detected on the USB port at all (tried on 3 different computer/different slots/cables).

So I think the right procedure is to pull out the battery for few seconds, put it back, choose Download in Flash Tools and when i see searching for the device, connect the phone. In that time phone is recognized by PC and i see in the bottom status bar in Flash tools also the COM port and "Mediatek Preloader USB VCOM Port (COM6). So I think the driver is ok. But that's all :(.

The flashing doesn't begin. I think I have everything right, but still cannot flash the recovery. I tried 3 different PCs with Win7 32b & Win8.1. No success even on W7.

I loaded scatter file, unchecked Preloader, I have chosen right CWM, checked "DA DL All With Check Sum" and I have chosen also "Do not switch the speed".

I already checked lot of guides, but everywhere is the same -> the phone is starting flashing even without battery, but this is not my case :(.

Any idea pls ?
[Miscellaneous Android Development] siggey:
Try mobile uncle MTK tool from playstore
[Miscellaneous Android Development] cappa72:
Check post #3 and use the second option.

It is easier and safer.
[Miscellaneous Android Development] Haldy:
Ok, one step forward, but still no success with recovery. I have the latest version of Mobileuncle Tools (v2.9.9) and I also succeeded to root the phone. But I tried all the versions of recoveries mentioned in the post #3 and none of them is working for me. When the phone is rebooting to recovery its not loaded so its booting back to Android. Now it looks like i have no recovery at all.

I attached screen for Mobileuncle and photo of the original Android recovery i had before.
[Miscellaneous Android Development] cappa72:
You may missed this vcom driver for flashtool.

Other option, if you are familiar with the adb and you have got rooted device.

1, copy your favourite CWM (or othe mod recovery) to your physical SD card: important what the mounting point is. Let's suppose that this is in /storage/sdcard0/CWM-recovery.img (the name is only an example)

2, Use the following adb commands:

adb shell
su -
dd if=/storage/sdcard0/CWM-recovery.img of=/dev/block/mmcblk0 bs=1024 seek=40448

This will flash the recovery to the right place.

Be carefull with the numbers, otherwise you damage other partitions!

When I had problems installing CWM to MT6582 phones, I used this method (with other numbers, of course)
[Miscellaneous Android Development] Bretos:
Is it only me, or changing default storage to External SD in the Storage settings does not work?

Running Cappa v5.3 of course!
[Miscellaneous Android Development] cappa72:
Do you use CP5.3 on a repartitioned phone, or you use the original partition distribution?

If you use repartitioned one, you have got only 1 SD card, which is the physical SD card.

If you use the original one, you can change the default writing in: settings -> storage -> default write disk
[Miscellaneous Android Development] Bretos:
I were using original one, and I changed default write disk to SDCard, but without any rection. Am I the only one with this issue?
[Miscellaneous Android Development] DaSPe:
I have a similar problem. I repartitioned my phone with the script from the first post. But when I changed roms, to VibeRom , it said it could not find my physical SDcard. So now I'm looking for a way to undo the repartitioning. Could you please help me with that?

The reason I changed roms is that the softkeys no longer work on the 5.3.

I'm planning on going back to the 4.2 tonight but I'm afraid that's only a temporary solution.

Thanks in advance.
[Miscellaneous Android Development] Haldy:
cappa72: thank you for advice, but I think I found, where is the problem: the device on the picture should be the Lenovo A820, but I think, it’s some Chinese fake. Unfortunately I don't know origins of this phone (it’s from friend of my friend :) ). It is probably MTK 6589, but not from Lenovo. I think it’s some producer called Alps, as you can see also on the pictures, but I didn't found any info about such model (Alps A820). Maybe it’s just info from Mobileuncle, which doesn’t needs to be accurate. So I think, that flashing is probably not working for me, because of the phone is not a Lenovo A820. Maybe even if I would be able to flash the recovery, this ROM will not work with that phone. So I have at least root and I was able to copy and run gapps. I will probably leave it as it is, to not screw it up completely :) . Anyway thx for your opinions.

PS: I'm little bit familiar with adb, but as I said, its not my phone and I don't want to screw it up completely.

Edit: attached real pictures of my device and original Lenovo A820 for comparison.
[Miscellaneous Android Development] lewymaro:
This ROM is perfect! Maybe except that little graphics bug View attachment 2545214

Wysłane z mojego Lenovo A820 przy użyciu Tapatalka
[Miscellaneous Android Development] cappa72:
In the first post I mentioned that it works well with this ROM. So you cannot expect that it works with other ones.

If you wand to restore the partitions to the stock one, see post #75.

For the soft keys: I think it looks hardware issue instead of ROM, but I would suggest you to flash the stock ROM with the help of SP flashtool.

If it does not help, you faced a hardware problem.
[Miscellaneous Android Development] Bretos:
Is there available patch to that notification-bar graphic glitch? I'd gladly stick to this rom if it weren't for that ugly bar...
[Miscellaneous Android Development] :
Please cappa72 provide us a status bar without that glitch :fingers-crossed:
[Miscellaneous Android Development] cappa72:
Honestly I cannot follow you.

If you can explain what you mean by graphic glitch, I may act.
[Miscellaneous Android Development] :
One user told before me, look at the difference between:

And this:

It seems that a grey bars appears.
[Miscellaneous Android Development] yuvalg72:
Hello, this is great rom but what about Hebrew Language? :)
[Miscellaneous Android Development] rincage:
Yep, I get the same grey bar when I pull down the notification list.

Also think I've found a little bug. The lock screen usually tells you when the next alarm is due. But I notice more often than not its missing unless I launch the clock app and revisit the alarm settings first. Didn't notice this in v4.2.
[Miscellaneous Android Development] fxjerzy:
http://data.hu/get/7044388/Lenovo-A820-CWM-6012-recovery-S150-by-Cappa72.img
http://data.hu/get/7044481/Lenovo-A820-CWM-6040-recovery-S150-by-Cappa72.img
http://data.hu/get/6540224/A820-CWM-recovery-6.0.1.2-S135-by-Cappa72.img

With of those two recovery should I use if i want to repartition? I have now a new A820 and on every recovery have this issue - tested on infrared too.

Last time i did it on infrareds recovery and rom. Any idea whats different ?

https://drive.google.com/folderview...&usp=sharing&tid=0Bz0JRu5cnhLiaVVXekxxbmhITk0

In MOD CP5.3 theres none sound selected as default, its blank, and theres a lot of sounds files available.

Edit: I tried to instal original lenovo firmware, via SP_FT and after root, and instal of recovery i have this same error
[Miscellaneous Android Development] cappa72:
Simply do a "wipe cache".

After that this message will not disturb you again.
[Miscellaneous Android Development] fxjerzy:
I did it -.- Tried on yours ROM and Infrered, vis SP_FT instal original (chinese rom without root), reboot recovery, clr.delvik, format SD.
[Miscellaneous Android Development] ajitam:
Did anyone manage to use encryption on SD memory cards (internal and exteral)? I'm able to encrypt only internal memory.

Sent from my Lenovo A820 with mod ROM by capps72 CP5.3-v1
[Miscellaneous Android Development] ajitam:
By the way, be careful with autoroot package and the root script from Important link in summary section of first page.

I've tried to install them on CP 5.3, first didn't comple succesfully, second did. After that half of my apps disappeared, poof! Shortcuts are still on my system and when I've tried to install them again (I had to reinstall F-Droid) I got java.net.UnknownHostException: Unable to resolve host error.
[Miscellaneous Android Development] 1rnst:
Backup rom

When I backup the original rom with cwm 6.0.1.2, I can not see the backuped file anywhere.

I choose backup to external sd card and backup is being done and backup complete appears.

But file manager or connecting via usb will not show any backup file. What can be wrong ?

Also when I choose restore from cwm no backup file is shown.

No /sdcard/.android_secure found skipping backup of applications on external storage, The android_secure is on internal card

and I have made a backup of the apps from the internal card. Is this ok ?

When I use sp_flashtool and the readback option to make a backup, it stops at about 55%, Broom Error: S_FT_READBACK_FAIL (4009).

Also when I try to flash a new rom from cwm I get bad file (is a .zip file)
[Miscellaneous Android Development] cappa72:
The backup should be found on the SD card in the following path:

/<where the sd card mounted>/clockworkmod/backup/<date>/<files>

You need to install (place back) the battery before the readback.

I assume that the file is corrupted. May the download was failed or the SD card is damaged.

The CWM saves the backup onto the physical sd card as default.

What I can suggest is to change the default format of the backup to TAR.

(backup and restore --> choose default format --> tar ; and then your backup will be saved to .tar format)

I think you shall check you SD card; you can remove the partitions from it, and then create a correct partition and format it as FAT32.

I would do it if I were you.
[Miscellaneous Android Development] 1rnst:
Thank You for the reply.

I managed to make a backup, but I had to put back battery after readback stopped and showed the error. Put the battery back and started

the readback that went good.

If I put in battery before starting readback the battery charge indicator is in the display and nothing happens with flash tool.

Also when I will flash a new rom, what happens if I have used option factory reset and cache deleted if the new rom fails ?

I have found two files in the clockwork directory, but the date is not from today, but show from 2009. I made two backups to test and

the time difference may indicate it is the two backup files.
[Miscellaneous Android Development] 1rnst:
Can the zip file of the rom be extracted to img file, so the it can be flashed with flastool instead of cwm ?

Is the twrp better if we want to make a recovery ? I think if anything goes wrong when flashing a new rom.

The cwm say the stock recovery will be flashed after reboot, does it mean we have to flash cwm each time ? Or is it permanent after first

flash.
[Miscellaneous Android Development] cappa72:
There is a possibility, but I have not got enough time to do it. Sorry.

This is an individual choice. TWPR a full touch recovery and can save nvram.bin

Every mod recovery (COT, CWM, TWPR, CTR) make a backup about your current state of the phone, but the backup is not a full backup. I mean the preloader, mbr, ebr1, ebr2 and so on... are not saved by these mod recoveries.

Probably you have got stock firmware on your phone.

You need to run the CN-app-remover from CWM (or any modified recovery).
[Miscellaneous Android Development] 1rnst:
Again, thank You for the reply.

I have the stock Lenovo, has been updated to latest S150 kernel. But I will flash new rom and just want to ensure that I have a backup if anything goes wrong.

I think then the best is to make backup with flashtool and readback.

I have done that, but saw that user data did not got backed up, was address end in scatter file before usr data.

Can I make a readback of the usr data only or make a new readback with end address after usr data ?

Do the stock rom have to be root access before running the CN app remover ?

Also wonder what happens if flashing a rom goes wrong when factory restore and wipe cache etc have been done, do I have to rely on the backup ? Or will the phone boot up as normal.

If there are any tool that makes the img file from a zip file, I could try it, but prehaps it is not that easy. May be compile and make it img

instead of zip.

I have waited with flashing a new rom since the stock rom has worked without problem except for the CN apps and text

and it only have the cn and english language,

I bought the phone as multilanguage, but got only cn/eng, so I got a multilanguage rom img file from the distributor I got the phone from, but have not tried to flash it yet. It gave problem starting flash tool and scatter they sent, so I have not tried it.

Are there any way to test a rom before flashing or is it not possible?

But think I am ready to make a try flashing Your rom since it looks there in no known bugs or problems now ?
[Miscellaneous Android Development] marruz:
Modded MMS.apk for this Rom

Hi, I just wanted to share with you a modded mms.apk which I made for this ROM. I was annoyed by autoconversion of sms to mms when they are longer than 3x160 characters and I did not like the limit of maximum of 20 recipients when creating a message.

I deodexed the original mms.apk and then I raised the threshold of sms-to-mms autoconversion to 100*160 characters and I also raised the recipient limit to 100. I hope it will be useful for you as it has been for me.

PS: Since this apk is deodexed you do not need mms.odex file to get it working.

The mms.apk file is attached to this post.
[Miscellaneous Android Development] marruz:
Camera preview is dark in other apps in artificial light conditions

I also have a question about the camera while using this great ROM from cappa72:

The camera works fine in the camera app as well as in other apps like CamScanner or Skype. (webcam)

However the problem occurs when I want to use the camera in artificial light conditions. While the main camera app works great without any problems in poorer light conditions I cannot use C/amScanner, BarCode Scanner or even Skype with webcam without problems. When I use these apps in poorer light conditions (and supposedly other ones that use the camera) the preview (and sometimes the resulting picture as well) is very dark.

Is this a known issue? Does this happen to you as well? Is there a solution?

Thanks :)
[Miscellaneous Android Development] rincage:
Any chance this will get fixed soon?
[Miscellaneous Android Development] 1rnst:
Hi.

Perhaps this is not an issue, but it looks more like it is to make a end line so the screen will look more symetrical

and not top heavy.

I have just installed the rom and it looks good to me.
[Miscellaneous Android Development] :
It would be perfect if we had the status bar from CP 4.2 but in CP 5.3. If i am not mistaken, CP 4.2 didnt have the grey lines..
[Miscellaneous Android Development] 1rnst:
Gps no fix, screen zoom etc.

After installing the rom the gps has problems finding satellites. Actually was slow on stock rom.

Also will ask if it is possible to get the message screen to zoom, so the text will be larger.

And restore text messages from a backup ? The phone contacts are ok.

And on stock lenovo in the notification drop down it was possible to get into settings when long press on wifi or bluetooth.

This was an easy shotcut when checking networks or connected to bluetooth.

The size of the phone number on incomming calls are located in the top left corner and number size is not large and problems reading

in a hurry, can it be changed ?

And apps installed earlier on stock rom are shown on app file mgr, can they be installed again ?

The Lenovo safe and power was good, can it be installed ?

Otherwise the rom seems to be good. Is my rom for now.
[Miscellaneous Android Development] longo213:
Here you go

How to fix poor GPS on Mediatek phones

FasterGPS
[Miscellaneous Android Development] 1rnst:
Perhaps problem was in car, GPS ok when outside. Problem inside house and in car only.

---------- Post added at 08:21 PM ---------- Previous post was at 08:14 PM ----------

I can not find out how to change the sound for receive message (sms).

Only find the ring tone and the notification.
[Miscellaneous Android Development] 1rnst:
Sms ringtone

How can we change the sms message ringtone ? I find only incomming voice calls and video call ringtones.

In settings for audio profile the sms ringtone is missing.

Now the sms tone is a short "plonk" and low volume that I can not adjust either.

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

Found it. SMS settings are done from Hangouts. This was new as in stock Lenovo rom there

was no Hangouts and sms settings was done in audio profile.

So now I have control.

But it seems this thread is low activity at the moment.

I now consider to buy a Lenovo P 780w Octa core. Is priced at $ 125 in aliexpress.

Maybe Cappa can make a mod to this also ?
[Miscellaneous Android Development] cappa72:
A Lenovo P780w for $125 may be a fake one. Be careful with it.

Sorry for not responding to many posts, I've got many other things to do and cannot cope with everything.
[Miscellaneous Android Development] 1rnst:
Thank You anyway. Great rom.

Tha price seems too low, so I also think it may be a fake, a copy of something with the Lenovo logo.

I will check with other to see what they sell.

How can we find out if it is a fake ? When it is ordered and arrived, it may be too late.

But are there any mod rom for P780w? Have seen P780 at needrom, but not for octa core yet.
[Miscellaneous Android Development] wasd-:
Lenovo released today Kernel source for our A820

http://m.lenovocare.com.cn/DownloadDetail.aspx?id=1058

:good:
[Miscellaneous Android Development] shpitz:
Where can I find an updated Rom for A820? 4.2? 4.4?
[Miscellaneous Android Development] dadi11:
http://www.needrom.com/phone-roms/lenovo/serial-a/a820/

Sent from my Lenovo A820
[Miscellaneous Android Development] Meerhie:
is someone willing to send me A820 whole flash or at least uboot ?
[Miscellaneous Android Development] cappa72:
Here is the original Lenovo S138 stock ROM.