Welcome, visitor! [ Register | Login

  • 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.


Overall Rating : 1 Star2 Star3 Star4 Star5 Star 111


102567 total views, 12 today

99 Total favorites

  

CUSTOM
Proton KK AOSP
Proton KK AOSP - Image 1Proton KK AOSP - Image 2Proton KK AOSP - Image 3Proton KK AOSP - Image 4Proton KK AOSP - Image 5Proton KK AOSP - Image 6Proton KK AOSP - Image 7Proton KK AOSP - Image 8Proton KK AOSP - Image 9

Author adMember Info


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


Responses to “Proton KK AOSP”


  1. 07/18/2013
    United Kingdom

    Most bricked phone ever!

    Hi, I am stuck in bootloop after flashing from my old six point something CWM. Couldn't get TWRP to install. My SD was broken and the phone was just a pain to use. I should have subbed the SD card then and there TBH, but thought fastboot or something would work, didn't realise it doesn't.

    So it all went smoothly, or so I though, installing was okay. I went to reboot and opted to preserve root access but then I'm stuck on the boot screen for like 15-20 minutes.

    Ok. I've another zip I _can_ install from CWM I thought, so I installed lambda mod 2.3 and thought that went well, then I find I have no IMEI, SD or SIM access.

    Back into CWM, tried this KK again. Done okay, some minor niggle about file_contexts, but ok, it said it backed up my IMEI so I chose power down, preserve root, waited 3-4 mins on a blank screen and yanked the battery and SD card with my IMEI (I already have them save from my first lambda flash, but no big recovery with them, just NVRAM.img and the like).

    Now when I plug the battery in I get a blinking screen. It alternates between a yellow circle with a square lower left corner and a charging complete screen. It's not plugged. I was trying to flash with Flashtool_v3.1304.0.119201302061 but that tool automatically prevented me.

    Any help please? Preferably without recourse to the Play Store?

  2. 07/18/2013
    United Kingdom

    Not asked for but more info:

    My recovery is Lenovo-A820-CWM-6012-recovery-S150-by-Cappa72.img. Don't ask how it got there, I don't remember, it is for single partition devices perhaps? I can still get in to it but when I type "adb reboot bootloader" I get to that yellow "squared circle" I described. Can try restoring some more JB ROMS this way at least, but damned if I'm getting my IMEI's back.

    What I said earlier about Pedro1990, I meant Cappa72's single parition, Pedro is who again?

    http://forum.xda-developers.co.....d.php?t=2264398 for single partition fix I find myself in.

  3. 07/18/2013
    United Kingdom

    Right, sorry my Russian translator is out to lunch :)

    I've got my device behaving nicely again, in an S150 ROM. I found the recovery program asking twice to preserve root. If I agree to both, it will never boot. If I agree to neither I don't have root, but I have Android. Returning to recovery I chose the first /system/bin/su and I had root. The second /system/xbin/su appears either-or. Maybe even get KK at this rate. Just need my IMEI's back.

    • 04/06/2013
      Italy

      Your problem is the recovery + the repartitioned device. This cwm is too old and does not support file_context, so the installation actually fails.

      For Kitkat you need newer cwm or TWRP. I'm sorry that you have to wait for the guide, but I just don't have so much free time to finish it.

      Plus I have to test every step on my own device, which means I have to actually break it in order to test nvram restore.

  4. 07/18/2013
    United Kingdom

    Thanks infrared. I was suspecting as much, trying to get rua1's MTK Droid Root and Tools but though I see his thread, I can't get the file. Must search Cappa72's thread to find way out of his partition scheme.

    Everyone raves about TWRP, but when I search I find such gems as "Installing TWRP is super-simple" which actually links to another article saying use Rom Manager or Goo Manager from the Play Store, if you don't use fastboot. GooManager is taken down and ROM manager advises "MTK devices don't have fastboot" or some such. Hence I need rua1's tools because "dd if=/tmp/local/mynvram.img of=/dev/nvram" works but doesn't affect the IMEI's.

    I can live without the SD card for now. I have rua1's earlier tool which prompts for direct entry of IMEI numbers. I only have one inside the phone. My other backups are in NVRAM.img and another zip containing, {CALIBRAT, NVD_CORE, NVD_DATA, NVD_IMEI}, which is much smaller, I also have IMEI.bak. What use is all this? Thanks.

    • 11/07/2013
      Poland

      Jonno, wait for infrared's guide. I believe it'll make it all clear. With his help I have my phone, IMEI, partitions etc. alive.

    • 07/18/2013
      United Kingdom

      Just worked out how to reply here. If I wait, I forget. I am nearly there, perhaps I could write it, or better, a tool, when the solution is clear. Lesson hard learnt is well remembered. I'll wait.

    • 04/06/2013
      Italy

      No method with script, terminal or restoring nvram from twrp works. I'm not sure why, but it doesn't.

      The only way is to use Flashtool. In order to avoid loosing IMEI, the best way would be to flash stock rom with FT, then upgrade to KitKat again with FT (I have prepared a full rom for this purpose), then you can repartition and install any KK from recovery once it is upgraded.

      In theory, this is the safest way, however I can't be 100% sure.

  5. 04/06/2013
    Italy

    The thing is I thought writing the guide would be easier, but in order to verify each step and make screenshots, I had to do everything on my own phone, which takes time. In addition, I can't afford flashing, formatting or anything else during the day, because I need my phone for calls at least. So the only time I can do this is late in the night if I'm free. So just please wait a little more, if you don't want to risk your nvram while upgrading.

    Ofcourse I can help anyone on PM like I did several times, but it takes a lot of time to explain everything and it will be better to have a guide which everyone could follow. Don't worry though, this phone can be completely restored even if nvram block is completely broken.

  6. 10/23/2013
    Hungary

    Hy i have a problem the first boot. The error message: Forbid charging, please use Lenovo standard battery!

    • 02/15/2014
      Czechia

      Hi, I had same problem, I try instaling ROM for couple times and finally wipe /system /data /external-sdcard /dalwikcache help me…Probably I forgot to wipe system… 

  7. 04/06/2013
    Italy

    Install and restore guide is up. Feel free to report if something is not clear or does not work for you and I will update the document.

    • 04/06/2013
      Italy

      Please keep in mind it's still on your own responsibility and there's no guarantee the upgrade process will work for everyone. I just have no way to properly test it until several users do it and report back. As long as you do full old backup from TWRP, you're safe.

      Even if you damage nvram so much that it can't be restored the easier way, it can be recreated with the info from the backup.

  8. 07/21/2015
    Poland

    Installed KK PROTON Rom Step by Step from your manual with repartitioning (even though I repartitioned with meteos early).

    Everything went smoothly an the ROM is working like a charm.

    Thank you very much!

  9. 01/02/2014
    Netherlands

    It’s unbelievable, how some people can give their own, hard job to others just for free! One guy supported by couple of persons made things, that thousands people are using. That’s really impressive !!! This ROM and also Jelly Bean roms are really great Thank you Infrared for your hard work!!!

  10. 11/07/2013
    Poland

    1. Repartition done, thank you infrared (also for previous help in restoring imei) – great job!

    2. I have a question about the reason including DSPManager in this rom instead Viper (as in Lambda). I found DSP is affecting only music (Apollo). Viper worked for more sound sources e.g. playing Youtube, loudspeaker volume during call and more… Also sound quality seemed to be better.

    3. Someone help configure headset button long press to activate Google Now voice control. Posts above explain how to configure HEADSETHOOK properly, unfortunately long press do nothing (in fact: screen on/off).


Leave a Reply

You must be logged in to post a comment.