- Title: Proton KK AOSP
- Listed: July, 2015
- Last modified: 10/22/2017 3:25 am
- Version: 1.0.2 (4.4.2)
You must be logged for ROM download.
106782 total views, N/A today
99 Total favorites
DESCRIPTION
This is a custom KitKat rom for Lenovo A820 compiled from source.
It took me a lot of time to get it to this stage, so if you're porting to another device or do some mods, please have respect and give proper credits to original author.
Update 22.10.2017
Added patch for WPA2 vulnerability. Install from recovery, then wipe cache and dalvik. Reboot.
Key features:
- Proton Settings page with useful options:
—– Vibrate on call connected
—– Low battery sound
—– Low battery dialog
—– Volume keys control text cursor
—– Home key unlock
—– CM11 battery indicators
—– Button backlight control
- Fixed vulnerabilities
—– FakeID
—– ObjectInputStream Serialization
—– Settings PendingIntent
—– GraphicsBuffer Overflow
- Adjusted 3G signal indicators levels
- Improved battery life
- Battery tables from S150 exctracted with "reverse-engineering"
- Unlinked volume sliders and expandable volume dialog
- init.d script to control GPU frequency, voltage and DVFS
- kernel compiled with linaro 4.9.3 toolchain, ROM compiled with SaberMod 4.8
- UI mods for statusbar icons
- Extended power menu
- Working GPS/EPO/A-GPS
- init.d support
- Calculator, Apollo, DSP Manager, Browser from CM11 (compiled from source)
- Camera shoots in MP4 format. Increased photo quality to 100%.
- Fullscreen caller picture
And many more improvements…
ART is not working, so it is disabled. Could not solve this problem.
For full kernel changelog, visit my github repo: https://github.com/infraredbg/Lenovo_A820_kernel_kk
GPU overclock (works on some A820):
Currently it is only supported via init.d script
Go to /system/etc/init.d and open 00proton with a text editor
Uncomment and change desired value (all values are explained in the script)
Save and make sure the file has correct permissions
Reboot device
You can verify if the GPU frequency have changed in /proc/gpufreq/gpufreq_var_dump
Installation:
If you're currently using one of my DEV roms, it is recommended to do a clean install
It is recommended to use my TWRP 2.8.4.0 recovery (install via Rashr from PlayStore on phone or from FlashTools on PC)
Copy zip on sdcard and optional GApps package and reboot to recovery
Do a full backup of your current ROM including nvram block (IMPORTANT)
Wipe system, data and cache from TWRP. The script does not do automatic format.
Install ROM zip and GApps (optional)
Reboot system (first boot takes time)
Credits:
jwchen for helping me with kernel and testing
hyperion70 for the hint how to fix gralloc mem leak
masterwasome for guides on xda
varunchitre for some initial work on mt6589 kernel
faux123 for dynamic filesync
Christofer83 for prebuilt linaro toolchain
superdragonpt and Dr-Shadow for valuable code which I learned a lot from
mastersanta for finding how to fix USB mounting problem in the beginning
CM11 team
all other people for their guides and information, which I've found over the net
Update:
Uploaded new version of the zip with fixed IMEI backup. Sorry for inconvenience, but that's why I have written in the description to make a full backup.
※Please make a backup of your device before installing or updating ROM











Member Info
New problem: Hardware power button stopped working, long press and short. So the phone cannot be powered off or reboot. But when the phone in lock mode it works well as unlock. Button began working again after pressing volume buttons.
This is the hardware problem, you can follow this article from China to fix the problem by take apart your A820
http://tieba.baidu.com/p/30808.....13029
From the article, the auther said his aluminum gasket is shifted, put it one the right place make it work properly again.
I don't know if here is the right place to discuss the kernel, but I.nfraR.ed merged the S2W feature in the latest version of Proton KK.
But we really need more time to fixing about the function not work properly.
jwchen119
No, it is does not look as hw problem, 'cause button work fine for unlock the phone, but can't lock or shut down. and not I'm the first with this problem in proton kernel. In 4.1 kernel I never had this problem. So it is trouble of the soft.
I have no idea so far and I used this ROM and kernel from very first version. It never happened to me… providing logcat whould be helpful
I avoid using the power button as much as I can.
To lock I set the navigation keys in GBox to lock with a long click on the menu button.
For the power menu I have 3 other options. The one I most use was set from the exposed “gesture navigation”, where swiping 3 fingers downwards on the screen shows it
I know these are just work arounds but it seem you power button is broken?
The problem is that there is no way to awake this phone without the power button, unless you keep it awake (never in deep sleep) .
Having said that, however, I have one automatic flow to turn on the screen using the proxy sensor,which seems to work quite well and cpuspy says the phone is asleep with no impact on the battery consumption.
I hope it helps.
Cheers
I use power button rarely as I can, and accidentally discovered that glitch, 'cause I would like to reboot the phone, Anyway after pressing the volume buttons, the power btn began work again as it should, so it is software problem.
I meant to say “automagic” flow
I have also that same power button problem as nonamexd. Nice to know that volume buttons help, have to test it as soon as I can…
Have you install Xposed Installer and modules which can affect the function of hardware button behavior?
Sometimes user want to edit the hardware button to perform other act… but as I left to @nonamexd , if providing the logcat would be helpful to solve this issue
No, I havent't – as far I remember. Why would I need to do that?
"
New problem: Hardware power button stopped working, long press and short. So the phone cannot be powered off or reboot."
- I have the same – after about 1-2 days using the phone
Use volume buttons as temporary solution, and wait a fix I hope
Hi, all of the user who occur this issue can provide logcat that can help us to speed up the debug, thanks for everyone
I can't debug this, because it never happens on my phone.
Funnily enough this happened on my wife’s phone tonight. Never on mine though (the very same phone).
Other than similar apps she has facebook app installed and I haven’t…..
I simply rebooted the phone and it worked again. Will keep you posted
On any ROM power button always has worked faultlessly on A820 with me.
Sorry, but I'm so confused that I need to ask this potentially stupid question? Does this updated version of this rom include Finnish language. I'm more than fine with English but my phone is going to used by a child so I need the translation.
Second question is a bit irrelevant but how can I change the boot splash or whatever it is called.. I have to Proton logo when i start the phone but before that there is a miui v6 picture even though I'm obviosly not using that rom anymore.. What should I do to change this picture or hide it or whatever… Thx in advance.
If you followed the tutorial from I.nfraR.ed to re-flash the KK by SP_FlashTool, you will replace the logo.bin.
I strongly to do this, but if you want only replace the logo.bin, you can extract lenovo_a820_kk_upgrage.7z to get logo.bin from I.nfraR.ed's google drive.
Then you can create a flashable zip to flash just the logo.bin
Much easier way to change the boot logo:
http://forum.xda-developers.co.....d.php?t=1953726