[Official - k4.4 // Beta - k4.9] AOSiP Pie

Search This thread

kenny3fcb

Senior Member
Apr 7, 2016
173
1,237
http%3A%2F%2Fi.imgur.com%2FDr6rSI1.png


Code:
[B]**** Disclaimer: I'm not responsible if you destroy your device. Use at your own risk!!! ****[/B]

Android Open Source illusion Project

About us:

AOSIP is a quality custom rom based purely on GOOGLE AOSP source since 6.0 release. Twisted with the latest features and blended with stability. We strive for perfection and it shows.

Team Illusion:

Josh Fox (xlxfoxxlx)
Akhil Narang
Shreesha Murthy
Brett Montague
Sri Harsha

Source code:

AOSiP Gerrit Review
AOSiP Github
Device Tree (read dependencies for other repos)
Kernel source


Latest Downloads:



Credit/Thanks:

Mike Williams(founder and creator of AOSiP)
Google
Dirty Unicorns
AICP
ABC Rom
Screwd
Omni
Krexus
Cyanogenmod
LineageOS
SlimRoms
ChainFire (SuperSU)
Beanstown106
Cory Collins
Sultanxda
flar2
francisofranco

XDA:DevDB Information
AOSiP, ROM for the Lenovo ZUK Z2 (Plus)

Contributors
kenny3fcb
Source Code: https://github.com/AOSiP

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: ZUI 3.5 QPST
Based On: AOSP

Version Information
Status: Stable

Created 2018-11-21
Last Updated 2019-02-11
 
Last edited:

kenny3fcb

Senior Member
Apr 7, 2016
173
1,237
INSTALLATION PROCEDURE:
MAKE SURE YOU HAVE ATLEAST FLASHED ZUI 3.5 VIA QFIL
Grab any one of the below:
3.5.376_ST_180516 OR 3.5.389_ST_180525
Indian ZUI 2.5 is also known to work

MAKE SURE YOU'RE USING ONLY THE OFFICIAL TWRP
  • Reboot to recovery
  • Wipe Data and Cache
  • Flash ROM (link in first post)
  • Flash GApps (link in first post)
  • Flash ONLY the latest Magisk (optional)
  • Reboot to system


LIST OF ALL KNOWN ISSUES:
  • Touchscreen failure on refurbished phones


REPORTING BUGS:
  • DO NOT Report bugs if you're running a custom kernel, Magisk modules like: supercomplex sound mods, Adreno GPU custom libs, GPU turbo mode etc or Xposed
  • Grab a logcat right after the problem has occurred, or try to replicate the bug while grabbing logcat if you couldn't take logs at that time. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot or a panic, force reboot and go to recovery, open file manager and fetch pstore (you can do it from PC after connecting your phone in recovery mode after the panic, type "adb pull /sys/fs/pstore/console-ramoops" or copy that file to internal storage and reboot to system) and post it with the context of the panic . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If you couldn't do the above steps, there is a simpler way too. You can download SysLog, tick all the possible logging options. Try to replicate the exact issue you are facing and click on 'TAKE LOG' on SysLog app.
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.
 
Last edited:

kenny3fcb

Senior Member
Apr 7, 2016
173
1,237
This AOSiP Pie release comes with some goodies:
  • Kernel's version is 4.4
    [Brings lots of improvements ranging from memory management, better scheduling, security, RCU, performance improvements and many more compared to 3.18]
  • With kernel 4.4, we got an improved, effective implementation of EAS. Currently CAF has merged kernel/common which is upto EAS r1.4.
  • Kernel 4.4 also brings better compatibility with Clang.
  • Other notable features of the kernel are:
    Always upto date with kernel_common (linux-stable, f2fs, and other improvements)
    Always compiled with latest AOSP Clang
    Enabled Clang LTO which gives a tiny performance bump
    Debloated heavily and debugging is reduced a lot
    Removed never ending SELinux auditing
    LZ4 as default zram compression algorithm
    Simple LMK by sultanxda for better memory management
    Westwood+ TCP congestion algorithm
    WireGuard
    Vibration Control
    Upstreamed CFQ as default I/O scheduler
    KCAL display color control
    Memory leak fixes from sultanxda and Star_king12

Coming to the ROM side:
  • VoLTE works and SELinux status is Enforcing
  • Encryption works after manual /data format from TWRP
  • Full Treble and full VNDK is enabled.
    It uses our unused /factory partition for storing all device specific stuff there.
    Users coming from ZUI only need to flash the official TWRP.
    Users coming from ROMs with /vendor partition need some steps to follow:
    1) Flash Vendor2factory zip,
    2) Flash official TWRP,
    3) Reboot to recovery and then flash the ROM
  • Other notable features are:
    Call recording
    Vibration pattern from Pixel devices
    Always-On Display support
    aptX support
    Pixel 3/XL powerhal adapted for z2_plus for a fluid experience


Acknowledgement:
 
Last edited:

ahh988

Senior Member
Jan 1, 2013
155
33
Lattakia
rom is nice flashed the beta downloaded from Gdrive this afternoon . battery backup looks promising and usage is smooth . i noticed one thing though i have tow sim cards both 4g i use on for calls and one for internet access . i cannot switch the sim used for mobile data in sim card manager its always stuck on the same sim no matter what i try . when i choose sim for mobile data both sim indicators goes off then phone reads sim cards again and setting are back the way they were like i did nothing
 

pipyakas

Senior Member
Apr 22, 2013
1,150
279
hey hey let's get that 1st page reserved post for review shall we

Edit:
1st remark: the ROM's using EAS enabled kernel, but generate less heat than the latest AEX and performance doesn't seems to be impacted. Batterylife is also top-notch, even though the phone still get a little warm when using for tasks like watching 1080p vp9 Youtube videos with speakers
2nd: no U-Touch configuration to be found, default to Left swipe - Recent and Right swipe - Menu. The lack of those customization also means that I can't map double click home button to launch camera, which is a pretty useful (and bug-free, compared to double clicking the power button) shortcut
3rd: there's a small visual bug with the clock on statusbar on lock screen after reboot, just like AEX

Edit2: There seems to be a problem with the fingerprint unlock for me, sometimes it doesnt register and I have to use dt2w or the power button, after that it returns to normal immediately

Edit3: another small visual bug: on the right side of the status bar, there seems to be a lack of space, since if too many system icon on there, the battery icon is pushed out of the screen entirely
 
Last edited:

reverseflash⚡⚡

Senior Member
Jun 20, 2018
67
19
The Rom is just perfect. I noticed a small bug- the gesture typing using in built aosp keyboard causes it to force close. (It's a rom side bug ig). Also, the display glitches are close to none. Battery is also good and heat management is also pretty good. And it's just the SMOOTHEST ROM i have used. The 4.4 combo with EAS is just wow.
Thanks a lot, dev. Waiting for future updates with even more optimisations.
 
Last edited:

ahh988

Senior Member
Jan 1, 2013
155
33
Lattakia
hey hey let's get that 1st page reserved post for review shall we

Edit:
1st remark: the ROM's using EAS enabled kernel, but generate less heat than the latest AEX
2nd: no U-Touch configuration to be found, default to Left swipe - Recent and Right swipe - Menu.
3rd: there's a small visual bug with the clock on statusbar on lock screen after reboot, just like AEX

Edit2: There seems to be a problem with the fingerprint unlock for me, sometimes it doesnt register and I have to use dt2w or the power button, after that it returns to normal immediately

fingerprint bug is happening here too
 

kenny3fcb

Senior Member
Apr 7, 2016
173
1,237

Attachments

  • z2_plus-20181124.zip
    11.2 MB · Views: 226
  • Like
Reactions: Rohith_412

Z750z

Senior Member
Dec 12, 2017
177
32
Nice rom , but I cant find navigation bar option ,Cuz u touch isnt working very well, and translation missing,,,,,,
 

benplay64

Senior Member
Feb 22, 2015
243
80
Man this rom is so fluid and bugless it's incredible. It has everything I want in a rom, not a lot of features, good battery life, good performances. It's perfect for me thank you very much. I recommend it to everyone

PS: last kernel corrects the fingerprint problem
 
  • Like
Reactions: reverseflash⚡⚡

kenny3fcb

Senior Member
Apr 7, 2016
173
1,237
New beta update is up!
Grab it from here: Official | Mirror 1 | Mirror 2

Changelog:
Device specific changes:
  • Android auto (Many thanks to @kraken**** for testing out builds and providing logs which helped me a lot to fix this issue)
  • USB tethering in Windows (doesn't need manual update to RNDIS driver anymore on every reboot)
  • QCOM DIAG mode
  • Fixed an issue where FP wasn't getting detected during setup and was only possible after reboot (Thanks to @Danish1999 for the fix)
  • Kernel upstreamed to 4.4.165 and compiled with AOSP Clang 8.0.5
  • Disabled CONFIG_KSM as it was consuming 10-30% CPU load all the time
  • Blob updates from zuk-devs repos

ROM specific changes:
  • Data switching in dual sim situations (Thanks to PixelExperience guys, took ims+msim commits from them to temporarily fix this issue)
  • 4G/LTE status bar icon switcher
  • Vibrate on plug
  • Toast when a screenshot is deleted
  • Option to mute media with gesture
  • Added package name to installed app details
  • Ambient music ticker
  • Per-app cellular data and wifi restrictions
  • Battery meter style in battery settings page, same as status bar icon

Please clean flash this build as it contains new commits from PE which fixes data switching issue in multi-sim conditions.
Happy flashing :)
 
Last edited:

reverseflash⚡⚡

Senior Member
Jun 20, 2018
67
19
Flashed the latest build and battery backup and smoothness is just superb. Also, the fp recognition problem is solved. I haven't noticed any bugs so far. Just one request from dev (or maybe it's upto aosip devs to do this)- please hide the annoying hd notification permanently.
Also, the battery graph is for first cycle after flashing, it should improve after a few cycles.
 

Attachments

  • Screenshot_Settings_20181201-163701.png
    Screenshot_Settings_20181201-163701.png
    114.1 KB · Views: 858
  • Screenshot_Settings_20181201-163708.png
    Screenshot_Settings_20181201-163708.png
    131.4 KB · Views: 857
  • Screenshot_Settings_20181201-163719.png
    Screenshot_Settings_20181201-163719.png
    145.4 KB · Views: 846

ashwinonm

Senior Member
May 27, 2013
368
82
chennai
Flashed the latest build and battery backup and smoothness is just superb. Also, the fp recognition problem is solved. I haven't noticed any bugs so far. Just one request from dev (or maybe it's upto aosip devs to do this)- please hide the annoying hd notification permanently.
Also, the battery graph is for first cycle after flashing, it should improve after a few cycles.

How much battery drain for pubg? :silly:
 

kenny3fcb

Senior Member
Apr 7, 2016
173
1,237
Is there an option to enable navigation bar ??? I cant find it ?

As of now navbar toggle isn't added in AOSiP yet. But you can use any terminal app or do 'adb shell' from PC and paste this (Grant root access after typing su):
  • su
  • mount -o remount,rw /vendor; echo 'qemu.hw.mainkeys=0' >> /vendor/build.prop; reboot;

The device will reboot and you can see the navbar is enabled after it boots up.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 35
    http%3A%2F%2Fi.imgur.com%2FDr6rSI1.png


    Code:
    [B]**** Disclaimer: I'm not responsible if you destroy your device. Use at your own risk!!! ****[/B]

    Android Open Source illusion Project

    About us:

    AOSIP is a quality custom rom based purely on GOOGLE AOSP source since 6.0 release. Twisted with the latest features and blended with stability. We strive for perfection and it shows.

    Team Illusion:

    Josh Fox (xlxfoxxlx)
    Akhil Narang
    Shreesha Murthy
    Brett Montague
    Sri Harsha

    Source code:

    AOSiP Gerrit Review
    AOSiP Github
    Device Tree (read dependencies for other repos)
    Kernel source


    Latest Downloads:



    Credit/Thanks:

    Mike Williams(founder and creator of AOSiP)
    Google
    Dirty Unicorns
    AICP
    ABC Rom
    Screwd
    Omni
    Krexus
    Cyanogenmod
    LineageOS
    SlimRoms
    ChainFire (SuperSU)
    Beanstown106
    Cory Collins
    Sultanxda
    flar2
    francisofranco

    XDA:DevDB Information
    AOSiP, ROM for the Lenovo ZUK Z2 (Plus)

    Contributors
    kenny3fcb
    Source Code: https://github.com/AOSiP

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 4.x
    ROM Firmware Required: ZUI 3.5 QPST
    Based On: AOSP

    Version Information
    Status: Stable

    Created 2018-11-21
    Last Updated 2019-02-11
    27
    This AOSiP Pie release comes with some goodies:
    • Kernel's version is 4.4
      [Brings lots of improvements ranging from memory management, better scheduling, security, RCU, performance improvements and many more compared to 3.18]
    • With kernel 4.4, we got an improved, effective implementation of EAS. Currently CAF has merged kernel/common which is upto EAS r1.4.
    • Kernel 4.4 also brings better compatibility with Clang.
    • Other notable features of the kernel are:
      Always upto date with kernel_common (linux-stable, f2fs, and other improvements)
      Always compiled with latest AOSP Clang
      Enabled Clang LTO which gives a tiny performance bump
      Debloated heavily and debugging is reduced a lot
      Removed never ending SELinux auditing
      LZ4 as default zram compression algorithm
      Simple LMK by sultanxda for better memory management
      Westwood+ TCP congestion algorithm
      WireGuard
      Vibration Control
      Upstreamed CFQ as default I/O scheduler
      KCAL display color control
      Memory leak fixes from sultanxda and Star_king12

    Coming to the ROM side:
    • VoLTE works and SELinux status is Enforcing
    • Encryption works after manual /data format from TWRP
    • Full Treble and full VNDK is enabled.
      It uses our unused /factory partition for storing all device specific stuff there.
      Users coming from ZUI only need to flash the official TWRP.
      Users coming from ROMs with /vendor partition need some steps to follow:
      1) Flash Vendor2factory zip,
      2) Flash official TWRP,
      3) Reboot to recovery and then flash the ROM
    • Other notable features are:
      Call recording
      Vibration pattern from Pixel devices
      Always-On Display support
      aptX support
      Pixel 3/XL powerhal adapted for z2_plus for a fluid experience


    Acknowledgement:
    27
    New beta update is up!
    Grab it from here: aosiprom.com | SourceForge | OSDN

    Changelog:
    ROM specific changes:
    • Fix padding for VoLTE icon
    • Bottom swipe up gesture for navigation
    • Three-fingers-swipe to screenshot
    • Fix lockscreen charging indication going bonkers
    • Translation updates
    • Fix Dialer FC
    • Hide Google ActionServices in launcher
    • Fix Fi permissions
    • Allow chromium to sign in
    • Revert to old bootanimation
    • Show a bolt when charging in text battery style
    • Show battery percentage on charging
    • Force show battery percentage in QS header when charging/powersave
    • If style is text or hidden, don't allow percentage option
    • HeadsUp: Stoplists & Blacklists
    • Stock theme improvements
    • Volume panel QS tile
    • Long press QS settings for OwlsNest
    • Add Google search double tap option in launcher
    • Don't trigger Ambient music ticker if it's not a media notification
    • Implement weather on lockscreen like Pixels
    • OwlsNest: Make actionbar show title for category and not tab
    • Toggle to enable/disable SIM cards
    • Phone ringtone setting for Multi SIM device
    • Volume key cursor control

    Device specific changes:
    • Kernel upstreamed to 4.4.169, merged latest sdm660 caf tag
    • Enabled ARM CPU Memory Latency monitor and governor
    • Memory leak fixes by YaroST12 & kerneltoast
    • Add optimization flags for a53 CPU
    • Turn on vdso32 which results in roughly a 4 fold speedup for clock_gettime() and other
      timekeeping functions for arm32 executables
    • Pull in improvements from Pixel 2 kernel
    • Pull in more fixes from Sony Open Devices 4.4 kernel
    • Enabled workqueue.power_efficient which results in lower power usage at the cost of small performance overhead
    • Set kernel tick rate to 1000hz for better performance and power reduction due to decreased RCU overhead
    • Don't disable cpuidle during boot and while entering suspend
    • Set BFQ as default I/O scheduler
    • Set LZ4 as default ZRAM compression algorithm (faster than previous default ZSTD)
    • Set Z3FOLD as default ZRAM compressed memory allocator (it can store up to three compressed pages per physical page)
    • Referring Pixel 3, set zram swap size to 1/4th of 3GB i.e., 768MB and swappiness to 100
    • More stuff for better RAM management
    • TCP, westwood improvements
    • Disabled wake and app launch boosts
    • Mark some camera IRQs as performance critical
    • Let top-app/schedutune.boost dynamically ramp up during touch events for more snappiness and dip down after touch events end for more battery life
    • Stop per-frame boosting after 1sec to prevent excessive boosting while watching videos
    • Update thermal blobs from Mi A2 Lite
    • Tune thermal-engine.conf referring Pixel 1 thermal config
    • Fix offline charger showing wrong percentage
    • Set radio scanning timeout to 5sec

    Happy flashing :)
    22
    So I'm posting a experimental aosip build with kernel 4.9 after running it for last few weeks.
    https://drive.google.com/open?id=1keiKOUVHKdLfxnyIrNp9vZ3pzk078Jg2

    List of known issues are:
    - Touchscreen issues on devices who have replaced their displays
    - Camera with flash turned on takes dark pics in stock Snap Camera (works fine in GCam HDR modes and OpenCamera CameraAPI2 flash workaround mode)
    - Low sound after prolonged usage (for example 2 days without rebooting, workaround is to simply reboot your phone)
    - Sometimes charging stops around 70% battery level, android says it is "Charged" (Workaround is to pull out and replug the usb cable)
    - Rarely it will panic or reboot if you try to:
    * Shutdown your phone
    * Send files via MTP etc
    - Permissive SELinux
    - A harmless message popping up after boot saying "There's an internal problem with your device"

    Aim of this port is to see whether we can switch to the more bleeding edge kernel 4.9 or are we better off clinging on to our current stable setup, i.e., kernel 4.4
    So I urge you guys to help in the testing and providing logs and dmesg as much as possible with the bug reports.

    These kernel ports, both 4.4 and 4.9 are only possible because of Sony Open Devices Program and CAF. Also thanks to Star_king12 for constant support.

    Trees used:
    https://github.com/kenny3fcb/msm-4.9
    https://github.com/kenny3fcb/device_zuk_msm8996-common
    https://github.com/AOSiP-Devices/vendor_zuk
    https://github.com/AOSiP-Devices/device_zuk_z2_plus
    All default branches
    20
    Remember I posted an experimental k4.9 build here on this thread? Well all those bugs are either fixed or hacked, courtesy of Star_king12 and me.
    Here is a beta build with those fixes: aosip.dev | SourceForge | Google Drive

    Please test this build and provide bug reports properly if you face any. I will be able to ship k4.9 with official builds if everything goes well.
    Clean flash is absolutely recommended. Happy flashing!