• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[ROM][OFFICIAL][7.1/8.1][A6020] AOKP-ROM - Lenovo Vibe K5/K5 Plus | OMS/Substratum

Search This thread

Shreps

Recognized Developer
Feb 13, 2012
1,828
4,460
Paris
moto.shreps.fr
106.png

Android. Infused with magical unicorn bytes
The unicorn eats nougat and oreo and farts rainbows :D

Hi,
Here is AOKP 7.1/8.1 for the Lenovo Vibe K5/K5 Plus

Requirements:
- TWRP 3.0.3+ build: Recovery TWRP 3.0.3-n1 for K5
- You can now use the Official TWRP builds

How to install:
From stock
  1. Copy the ROM zip on your phone
  2. Reboot in TWRP Recovery mode
  3. Backup your phone!
  4. Format/Wipe system, cache, dalvik, data
  5. Flash/Install ROM
  6. Flash Install Gapps (OpenGapps ARM64 Mini or smaller is recommanded)
  7. Reboot

Upgrade from previous build
  1. Copy the ROM zip on your phone
  2. Reboot in TWRP Recovery mode
  3. Format/Wipe only cache, dalvik
  4. Flash/Install ROM
  5. Reboot

Official Nightly builds Downloads:
http://xfer.aokp.co/?developer=AOKP&folder=A6020
https://basketbuild.com/devs/aokp/A6020

Old Beta builds Downloads:
https://moto.shreps.fr


XDA:DevDB Information
[ROM][OFFICIAL][7.1/8.1][A6020] AOKP-ROM - Lenovo Vibe K5/K5 Plus | OMS/Substratum, ROM for the Android General

Contributors
Shreps, scritch007
Source Code: https://github.com/AOKP/device_lenovo_A6020

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
ROM Firmware Required: TWRP 3 Recovery
Based On: AOKP

Version Information
Status: Nightly

Created 2016-11-15
Last Updated 2018-07-25
 

Attachments

  • Screenshot_20161115-114050.png
    Screenshot_20161115-114050.png
    105 KB · Views: 40,599
  • Screenshot_20161115-114031.png
    Screenshot_20161115-114031.png
    72.4 KB · Views: 40,608
Last edited:

Shreps

Recognized Developer
Feb 13, 2012
1,828
4,460
Paris
moto.shreps.fr
Reserved

AOKP Gerrit: http://gerrit.aokp.co/#/q/status:merged

This ROM now implements OMS.

What is OMS ?
OMS: (Overlay Manager Service) was designed by google. It's a layer/theme service which is used by Substratum: https://play.google.com/store/apps/details?id=projekt.substratum&hl=fr

So basically, if you install Substratum, you will be able to apply any theme on the ROM UI because OMS has been implemented.

For the record, on PAC MM or AOKP MM, they were using CyanogenMod Theme Engine for theming the UI, but since CMTE has not been implemented for Nougat, many choose to use OMS & Substratum instead.


Screenshot_20161115-114050.png Screenshot_20161115-114031.png

device-2017-01-03-142534.jpg device-2017-01-03-142552.png device-2017-01-03-142603.png
 
Last edited:

BlueReptile

Senior Member
Jul 22, 2015
120
286
I don't own the device anymore. You will have to help me guys to create this list :p


Hello, thanks for the ROM

Issues that I have found

Auto brightness is changing itself for no aparent reason.
Bluetooth is not working (I will test a modification to build.prop to see if it fixes that)
Video recording( I will do more tests too)
The weird noise at boot(every custom ROM have it on l36)
Thats all for now.
After my tests I will update this post.

Oki doki I'm back

These chances to build.prop seens fo fixes some problen

# Bluetooth
qcom.bluetooth.soc=smd

This fixes bluetooth on cm14.1 and aokp



But this onde, it fixes video recording on cm14.1 without problens but Idk why it dindt worked on aokp

#Fix for l36 variant 1080p recording issue, special thanks to marchetto96
camera.disable_zsl_mode=1
persist.camera.HAL3.enabled=0
persist.camera.cpp.duplication=false


My device is a A6020l36
These changes on the build.prop where recomended by the k5 brazil(A6020l36) dev group, it may not work on other variants(only testing to know).
 
Last edited:

Ironmaniaco

Senior Member
Dec 31, 2013
56
47
Bento Gonçalves
I'm facing a bootloop during the Setup Wizard: After a full wipe, i get the loop error "Configuration Wizard has failed - X Close app", and i can't proceed to boot up AOKP and finish it's setup.
Code:
[[email protected] AOKP]$ ls -l

-rw-r--r-- 1 risthel users 499274693 nov 10 17:55 aokp_A6020_nougat_unofficial_2016-11-10_1622.zip
-rw-r--r-- 1 risthel users        82 nov 15 15:05 aokp_A6020_nougat_unofficial_2016-11-10_1622.zip.md5sum
-rw-r--r-- 1 risthel users 117639063 nov 11 04:47 open_gapps-arm64-7.1-pico-20161111.zip
-rw-r--r-- 1 risthel users        73 nov 15 19:06 open_gapps-arm64-7.1-pico-20161111.zip.md5

The ROMs and gapps are sane(recovery matched the md5).

Also tried to reboot, clear Dalvik/Art and boot again without success :(
 
  • Like
Reactions: Vip.Shaper

Shreps

Recognized Developer
Feb 13, 2012
1,828
4,460
Paris
moto.shreps.fr
I'm facing a bootloop during the Setup Wizard: After a full wipe, i get the loop error "Configuration Wizard has failed - X Close app", and i can't proceed to boot up AOKP and finish it's setup.


The ROMs and gapps are sane(recovery matched the md5).

Also tried to reboot, clear Dalvik/Art and boot again without success :(

You should try without Gapps with a system wipe to check if it's not because a Gapps issue.
 

Ironmaniaco

Senior Member
Dec 31, 2013
56
47
Bento Gonçalves
You should try without Gapps with a system wipe to check if it's not because a Gapps issue.

pushing aokp to phone through adb(already did the full wipe)

Meanwhile, ill download gapps-nano arm64 for further testing.

---------- Post added at 08:46 PM ---------- Previous post was at 08:24 PM ----------

You should try without Gapps with a system wipe to check if it's not because a Gapps issue.

Hi @Shreps. Sorry for the double posting/flooding.

Did my homework, AOKP flashed fine. Meanwhile, i was researching and found that opengapps can have this issue as explained here

Since i'm not dirty flashing neither upgrading this was my workaround for this situation:

  • Installed AOKP
  • Booted without gapps
  • Created this script file(i'm using Arch Linux as main desktop) and push it using adb while running AOKP
  • adb shell to run this script
  • reboot into recovery
  • clear dalvik/cache
  • push opengapps to /sdcard and flash it
  • reboot to system
  • profit?!

System wizard working as expected. Can't say for sure if the problem is with gapps-pico on 11 november build, cause the script seems to solve the permission issues.
 
  • Like
Reactions: punkzerboy

BHARDIK

Senior Member
May 27, 2012
741
546
Rajkot, Gujarat
www.hardikahir.in
gonna test today :) downloading now,
but here are something all the user of A6020a46 3GB variants may know that, bluetooth is fixed after apply this to build.prop
Code:
qcom.bluetooth.soc=smd
red border already fixed also brightness is fixed temporary through brightness pacher, now major thing is Video Recording which not work for me in any 7.1 based ROM(CM14.1, AICP,BeanStalk,crDroid and i guess same for AOKP) so if you guys fixed any new or old bugs please reply soon to related thread about it so many can solve their problems.
 

BHARDIK

Senior Member
May 27, 2012
741
546
Rajkot, Gujarat
www.hardikahir.in
Have you tried this fix?
Code:
camera.disable_zsl_mode=1
persist.camera.HAL3.enabled=0
persist.camera.cpp.duplication=false

yeah tried not working for me, i guess as because i have different variant then yours, mine is 3GB Variant with FHD and Spandragon 616 , i guess you have A6020a40 with 2 GB RAM and snapdragon 415 ,while i have A6020a46 :'( any way thanks for info :)


Regard,
Hardik
 

Ironmaniaco

Senior Member
Dec 31, 2013
56
47
Bento Gonçalves
OK. Had to change my daily ROM to CM-14.1.

AOKP crashed hard after upgrading(build day 11 to build day 15), and the fix_permissions script didn't solve this time. Google related apps kept crashing even after a cache/dalvik wipe... Could be something mainstream of AOKP. I'll search for info on it's repos.

Spent last night trying CM14, AICP and BeanStalk. Clear flashed all of them, and the only one that didn't accepted gapps without fixing permissions was aokp unfortunately. Last thing i did was to upgrade aokp with gapps installed, and it reproduced the same problem.

Thanks again for your hard work guys. I'll keep testing all your roms :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 72
    106.png

    Android. Infused with magical unicorn bytes
    The unicorn eats nougat and oreo and farts rainbows :D

    Hi,
    Here is AOKP 7.1/8.1 for the Lenovo Vibe K5/K5 Plus

    Requirements:
    - TWRP 3.0.3+ build: Recovery TWRP 3.0.3-n1 for K5
    - You can now use the Official TWRP builds

    How to install:
    From stock
    1. Copy the ROM zip on your phone
    2. Reboot in TWRP Recovery mode
    3. Backup your phone!
    4. Format/Wipe system, cache, dalvik, data
    5. Flash/Install ROM
    6. Flash Install Gapps (OpenGapps ARM64 Mini or smaller is recommanded)
    7. Reboot

    Upgrade from previous build
    1. Copy the ROM zip on your phone
    2. Reboot in TWRP Recovery mode
    3. Format/Wipe only cache, dalvik
    4. Flash/Install ROM
    5. Reboot

    Official Nightly builds Downloads:
    http://xfer.aokp.co/?developer=AOKP&folder=A6020
    https://basketbuild.com/devs/aokp/A6020

    Old Beta builds Downloads:
    https://moto.shreps.fr


    XDA:DevDB Information
    [ROM][OFFICIAL][7.1/8.1][A6020] AOKP-ROM - Lenovo Vibe K5/K5 Plus | OMS/Substratum, ROM for the Android General

    Contributors
    Shreps, scritch007
    Source Code: https://github.com/AOKP/device_lenovo_A6020

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: TWRP 3 Recovery
    Based On: AOKP

    Version Information
    Status: Nightly

    Created 2016-11-15
    Last Updated 2018-07-25
    32
    Reserved

    AOKP Gerrit: http://gerrit.aokp.co/#/q/status:merged

    This ROM now implements OMS.

    What is OMS ?
    OMS: (Overlay Manager Service) was designed by google. It's a layer/theme service which is used by Substratum: https://play.google.com/store/apps/details?id=projekt.substratum&hl=fr

    So basically, if you install Substratum, you will be able to apply any theme on the ROM UI because OMS has been implemented.

    For the record, on PAC MM or AOKP MM, they were using CyanogenMod Theme Engine for theming the UI, but since CMTE has not been implemented for Nougat, many choose to use OMS & Substratum instead.


    Screenshot_20161115-114050.png Screenshot_20161115-114031.png

    device-2017-01-03-142534.jpg device-2017-01-03-142552.png device-2017-01-03-142603.png
    19
    Bump
    AOKP Oreo (8.1) is now official for this device.

    Big thanks again to @Harry8242 and his great development and contribution !

    Cheers,
    18
    Hello guys,

    Here we go for Official Nightly builds made by AOKP Buildbot : https://basketbuild.com/devs/aokp/A6020

    Enjoy !
    16
    Finaly I could install this ROM. This is what I found for now. Maybe some of them was already listed, but anyway, there are:

    1. Shotcuts on lock screen desapear from nothing, the top ones or the righ bottom;
    2. Alarm icon and some others desappears after reboot, and after re-enable them appears a blank space at right of battery icon;
    3. Notification led don't turns green when fully charged;
    4. Notification led don't stay lit, it always pulse even if I disable this on settings. I uncheck this, go back, and if I return to this setting, it is re-enabled itself. I have to add personalized led notification to each app I want to keep always lit;
    5. I don't have a warning telling an alarm is next, like PAC-ROM;
    6. "Don't disturb" (or "Do not perturb") keep some sounds even it is enable only priority alarms. As well, the icon for schedule time for "do not perturb" is different for manual "do not perturb" (from the status bar pull down menu): the scheduled is a "plus" sign, the other is a "minus". Can anyone tell the difference or how to have always "minus" scheduled, please?
    7. Some calls still alive after some seconds even when I terminate them;
    8. I use a PIN for lock my phone. If I configure a direct call to lock screen, it dials the number directly, don't asking for PIN. Any other shortcut ask for PIN;
    9. I can't find the icon to change the screen off timer on status bar pull down menu. I have to go to settings to change this timer;
    10. How I can 'centralize' the listings? They always appears at bottom of screen;
    11. Date and time aren't correct after a reboot. I have to keep automatic date and time from network in settings;
    12. After a reboot, battery mode is always at 'balanced', even if I configure to 'performance'.

    Other issues:
    1. I haved to use TWRP R2 instead R4, because R4 shows two 'data' partitions. With this, R4 always returns erros about can't mount or format data;
    2. System is very low in free space, so I used TWRP R2 to backup the whole ROM, and just after I restored it, like sayed before. I gain about 1,2Gb of free space, and can move some user apps to system partition;
    3. There are translation errors, at least for brazilian portuguese: a lot of words are still in English.

    Even with these, the ROM is the best I used until now. Is really fast, camera works fine, and there a lot of options to personalize. Very, very thanks for the ROM.

    I'm using 12-12-2016 build on a L36 variant.

    Thx for this great and detailed feedback.
    I made a new build today, with somes fixes, let me know how it's going:
    * Fixed system and other partitions size, so you should be able to flash micro or mini Gapps for example now.
    * Added the LiveDisplay in the kernel
    * Divided light sensor returned value by 10 this is much much closer to what we get from the Moto G4 Plus sensor
    * xxhdpi density (tks to Dinokin)
    * Tethering should be fixed