• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM] [TREBLE] [11.0] [Official] AICP 16.1 (Pro3 aka zl1, zl0, X727,X720,X722)

Search This thread

Paul9630

New member
Sep 19, 2021
3
3
Hi, I have been using AICP for a few years on my phone. Thank you for all the good work and the possibility to keep the device alive. Today I tried to upgrade to AICP 16.1 and now I am stuck with Error: 1. I updated twerp, wiped, installed firmware and tried to flash AICP. I tried it a few times, with no luck. Dose anyone now how to fix this Problem?

Below you will find the log.

I:operation_start: 'Flashing' Installing zip file '/sdcard/lineage-18.1-20210911-nightly-zl1-signed.zip' Unmounting System... I:Update binary zip Verifying package compatibility... Package doesn't contain compatibility.zip entry I:Extracting updater binary 'META-INF/com/google/android/update-binary' I:Zip does not contain SELinux file_contexts file in its root. I:Legacy property environment not used in updater. SELinux: Loaded file_contexts Checking for MODEM build time-stamp 2017-01-06 01:40:06 Checking for MODEM build time-stamp 2017-01-06 01:40:06Target: LeEco/ZL1_NA/le_zl1:6.0.1/WEXNAOP5802101261S/letv01261206:user/release-keys Target: LeEco/ZL1_NA/le_zl1:6.0.1/WEXNAOP5802101261S/letv01261206:user/release-keysChecking for vendor partition...Checking for vendor partition... about to run program [/tmp/unlock-vendor.sh] with 2 args setting vendor partition commands for TWRP about to run program [/tmp/partprobe.sh] with 3 args I:Found no matching fstab entry for uevent device '/devices/soc/624000.ufshc/host0/target0:0:0/0:0:0:4/block/sde' - change Extracted file "/tmp/install/bin/deunify.sh" Extracted file "/tmp/install/bin/backuptool.functions" Extracted file "/tmp/install/bin/devinfo.sh" Extracted file "/tmp/install/bin/partprobe.sh" Extracted file "/tmp/install/bin/backuptool.sh" Extracted file "/tmp/install/bin/sgdisk" Extracted file "/tmp/install/bin/toybox" Extracted file "/tmp/install/bin/unlock-vendor.sh" Extracted 8 file(s) about to run program [/tmp/install/bin/backuptool.sh] with 5 args Backup/restore is not possible. Partition is probably empty Patching system image unconditionally... Patching system image unconditionally...performing update blockimg version is 4 maximum stash entries 0 creating stash /cache/recovery/2bdde8504898ccfcd2c59f20bb8c9c25f73bb524 234991616 bytes free on /cache (0 needed) /cache/recovery/last_command doesn't exist. erasing 662322 blocks writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data writing 1024 blocks of new data Decompression failed with BLOCK_LENGTH_1 missing 3955765 bytes of new data failed to execute command [new 2,36553,37577] script aborted: E1001: Failed to update system image. E1001: Failed to update system image.error: 1001 Updater process ended with ERROR: 1 I:Install took 6 second(s). Error installing zip file '/sdcard/lineage-18.1-20210911-nightly-zl1-signed.zip' Updating partition details... I:Data backup size is 0MB, free: 23651MB. I:Unable to mount '/usbstorage' I:Actual block device: '', current file system: 'auto' ...done I:Set page: 'flash_done'
 

Otto_H

Senior Member
Nov 20, 2017
55
26
Hi, I have been using AICP for a few years on my phone. Thank you for all the good work and the possibility to keep the device alive. Today I tried to upgrade to AICP 16.1 and now I am stuck with Error: 1. I updated twerp, wiped, installed firmware and tried to flash AICP. I tried it a few times, with no luck. Dose anyone now how to fix this Problem?
...
[/ICODE]
Hi, are you flashing it from a USB stick?
 
  • Like
Reactions: derfraenk

Paul9630

New member
Sep 19, 2021
3
3
Hi, thx for the quick response.
Error 1 usually indicates a damaged boot.img. Do you have at least version 20s installed on your device? You can try reflash the boot.img.
Do you mean the boot.img from the AICP.zip?
I guess I am on 20s, since everything worked fine in the past. Is there a way to check?
Hi, are you flashing it from a USB stick?
No, just copied the .zip on to my phone.

I had the problem in the past. Back then, I needed to update twrp, but now I am on the latest version (twrp-3.5.2_9-0-zl1) and even tried some older ones.
 
  • Like
Reactions: derfraenk

Neppomuk_

Senior Member
Jul 19, 2015
61
4
  • Like
Reactions: derfraenk

Paul9630

New member
Sep 19, 2021
3
3
Hi,
phone is working again. I think doing a repair of the data partition did the trick. After that I was stuck with "E2001: Failed to update vendor image". That I could fix by using LineageOS. Using LineageOS is fine with me.Thx for the support.
 

derfraenk

Senior Member
May 12, 2017
233
119
Hello,

I'm having the problem that Google Play Store keeps crashing just after initial setup on my zl1. Then, some apps I install or restore with Titanium simply crash on startup.

I had AICP 15 installed for a long time and finally wanted to make the jump to a newer ROM. I tried aicp_zl1_r-16.1-WEEKLY-20210930 but I have the same problem with lineage-18.1-20210925-nightly. For GApps I tried MindTheGapps-11.0.0-arm64-20210920_084011 as well as FlameGApps-11.0-basic-arm64-20210925. By now I tried almost 10 times.

First I flashed the official twrp-3.5.2_9-0-zl1. Then I wiped Dalvik, Cache, System and Data and then installed the ROM and then the GApps. Sometimes I also flashed Magisk 23.0 before the first boot, sometimes not. It doesn't seem to make a difference for my problem.

The initial setup works normally. I always go for the option to restore all apps from my Google Cloud backup - I think this just installs them from the Play Store anyway, so it's not a "real" restore. Always when the initial setup completes and I get the home screen for the first time, I see that ~55 apps are queued for installing. And then I get the message that Google Play Store keeps crashing. The app installation notification disappears, but some apps keep being installed.

At this point, on my first few tries, I restored all my user apps + data with Titanium Backup (no system apps or data). It's a mess. Some apps have their data, but some are like freshly installed and yet others don't work at all, they crash on start. Even if I uninstall those crashing apps and reinstall them from the Play Store, they refuse to work.

So on the next few tries, I didn't do anything with Titanium and eventually didn't even flash Magisk.

At this point I almost want to go back to AICP 15 but for some reason my last two backups (one taken with the new TWRP, one with the older TWRP) won't boot any more after restoring - I only get a black screen forever. So I'm stuck and probably the best way is to fix forward and get a new ROM to work anyway.

I thought maybe the ROM or GApps build is faulty, but for both I tried two different ones, so I'm out of ideas. I'd be glad for any advice.
 

dkoek

Senior Member
May 25, 2012
282
75
Echt
Hello,

I'm having the problem that Google Play Store keeps crashing just after initial setup on my zl1. Then, some apps I install or restore with Titanium simply crash on startup.

I had AICP 15 installed for a long time and finally wanted to make the jump to a newer ROM. I tried aicp_zl1_r-16.1-WEEKLY-20210930 but I have the same problem with lineage-18.1-20210925-nightly. For GApps I tried MindTheGapps-11.0.0-arm64-20210920_084011 as well as FlameGApps-11.0-basic-arm64-20210925. By now I tried almost 10 times.

First I flashed the official twrp-3.5.2_9-0-zl1. Then I wiped Dalvik, Cache, System and Data and then installed the ROM and then the GApps. Sometimes I also flashed Magisk 23.0 before the first boot, sometimes not. It doesn't seem to make a difference for my problem.

The initial setup works normally. I always go for the option to restore all apps from my Google Cloud backup - I think this just installs them from the Play Store anyway, so it's not a "real" restore. Always when the initial setup completes and I get the home screen for the first time, I see that ~55 apps are queued for installing. And then I get the message that Google Play Store keeps crashing. The app installation notification disappears, but some apps keep being installed.

At this point, on my first few tries, I restored all my user apps + data with Titanium Backup (no system apps or data). It's a mess. Some apps have their data, but some are like freshly installed and yet others don't work at all, they crash on start. Even if I uninstall those crashing apps and reinstall them from the Play Store, they refuse to work.

So on the next few tries, I didn't do anything with Titanium and eventually didn't even flash Magisk.

At this point I almost want to go back to AICP 15 but for some reason my last two backups (one taken with the new TWRP, one with the older TWRP) won't boot any more after restoring - I only get a black screen forever. So I'm stuck and probably the best way is to fix forward and get a new ROM to work anyway.

I thought maybe the ROM or GApps build is faulty, but for both I tried two different ones, so I'm out of ideas. I'd be glad for any advice.
Instead of wiping it is always better to do a format.
I use migrate instead of titanium but that is not the reason for crashing Google play store.
 
  • Like
Reactions: derfraenk

rgnr

Senior Member
Nov 14, 2014
82
4
Howdy, folks! Using this rom for a month now, and it's awesome. Fast and fluid, no stutters. However sound is terrible. It's flat and it seems not stereo. Like the sound does come from both speakers, but it's like only one channel.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hello,

    I'm having the problem that Google Play Store keeps crashing just after initial setup on my zl1. Then, some apps I install or restore with Titanium simply crash on startup.

    I had AICP 15 installed for a long time and finally wanted to make the jump to a newer ROM. I tried aicp_zl1_r-16.1-WEEKLY-20210930 but I have the same problem with lineage-18.1-20210925-nightly. For GApps I tried MindTheGapps-11.0.0-arm64-20210920_084011 as well as FlameGApps-11.0-basic-arm64-20210925. By now I tried almost 10 times.

    First I flashed the official twrp-3.5.2_9-0-zl1. Then I wiped Dalvik, Cache, System and Data and then installed the ROM and then the GApps. Sometimes I also flashed Magisk 23.0 before the first boot, sometimes not. It doesn't seem to make a difference for my problem.

    The initial setup works normally. I always go for the option to restore all apps from my Google Cloud backup - I think this just installs them from the Play Store anyway, so it's not a "real" restore. Always when the initial setup completes and I get the home screen for the first time, I see that ~55 apps are queued for installing. And then I get the message that Google Play Store keeps crashing. The app installation notification disappears, but some apps keep being installed.

    At this point, on my first few tries, I restored all my user apps + data with Titanium Backup (no system apps or data). It's a mess. Some apps have their data, but some are like freshly installed and yet others don't work at all, they crash on start. Even if I uninstall those crashing apps and reinstall them from the Play Store, they refuse to work.

    So on the next few tries, I didn't do anything with Titanium and eventually didn't even flash Magisk.

    At this point I almost want to go back to AICP 15 but for some reason my last two backups (one taken with the new TWRP, one with the older TWRP) won't boot any more after restoring - I only get a black screen forever. So I'm stuck and probably the best way is to fix forward and get a new ROM to work anyway.

    I thought maybe the ROM or GApps build is faulty, but for both I tried two different ones, so I'm out of ideas. I'd be glad for any advice.
    Instead of wiping it is always better to do a format.
    I use migrate instead of titanium but that is not the reason for crashing Google play store.
  • 14


    logo_black.png


    AICP
    Android Ice Cold Project

    AICP is known by everyone as the "Ice Cold Project" that started on a Desire HD years ago (2012) and since then has evolved into a mature ROM with the BEST community that you can find!!!

    Until Android Lollipop, the ROM has always been based on AOKP. Unfortunately, since AOKP stopped development (but made a comeback later), we changed our base to CM.
    With the re-brand of CM to LineageOS (LOS), we became LineageOS based with some tweaks from AOSP and then changed to be based on the "Ground Zero Open Source Project" (GZOSP) for Android Pie.
    We changed again for Android Q-R with a base of AOSP repositories and some additions from LineageOS for device-specific repositories.

    If there are any bugs we will sort them out if it concerns our codebase. This ROM isn't LineageOS supported, so there is no need to report errors/bugs to them!!


    Code:
    #include <std_disclaimer.h>
    
    /*
    * Your warranty is now void.
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications and if
    * you point the finger at us for messing up your device, we will laugh at you. Hard & a lot.
    *
    */

    features.png

    Feature list (rough overview)


    credits.png


    In the beginning we would like to thank:

    GZOSP team
    LineageOS & CM (R.I.P.) team
    @maxwen and the rest of the OmniRom team
    DU team
    Resurrection Remix team
    AOSiP team
    Community

    team.png


    @LorD ClockaN
    @eyosen
    @semdoc
    @SpiritCroc
    @wartomato
    @Miccia
    plus the rest of the crazy bunch that we call "team"



    donations.png


    We are paying for servers that build weeklies and everything that comes with this, so EVERY DONATION will really be appreciated and be used to cover those expenses.
    Thank you!!



    downloads.png


    Latest Stable Release Version 16.1

    Download link: https://dwnld.aicp-rom.com/

    Please note that official builds will be deleted from our servers every month due to maintenance services.
    Starting with AICP 15 we will be storing a copy of the most recent release here: https://media.aicp-rom.com/vault/.


    Test builds:

    Mirror: https://drive.google.com/drive/folders/14XFfejcvr3tA4Eg8x-uYgMu2ztl-lZQ7?usp=sharing

    20s firmware https://androidfilehost.com/?w=files&flid=165490
    If you're dirty flashing, you might need to delete the locksettings.db file in /data/system

    TWRP:

    changelog.png


    Full Changelog link: https://dwnld.aicp-rom.com/
    (Just click the changelog button next to the download link in the list of builds available for your device)

    Google Apps:
    We recommend MindTheGapps as it has been thoroughly tested and it works well with the ROM, some other minimal GApps packages still have issues, however feel free to try other GApps if you want to, just try MindTheGapps if you have any GApps related issues

    MindTheGapps: https://androidfilehost.com/?w=files&flid=322935
    Mirror: http://downloads.codefi.re/jdcteam/javelinanddart/gapps

    issues.png


    You tell... :p

    FAQ:
    Before using the ROM:
    Q. Can I have an ETA for the next build?
    A. Yes, just look here to see what day your device is built on.

    Q. Does this ROM support custom kernels officially?
    A. No. You can still use them, but the discussion should go in the thread of the respective kernel. We don't offer support for bugs you might encounter while using them!

    Q. Does this ROM include GApps or do I have to flash them separately?
    A. No, we do not include prebuilt GApps, because of possible licensing issues with Google Software and because some users do not want GApps preinstalled as they want to use alternative services like MicroG or just prefer flashing a GApps "flavor" of their liking.

    Q. Does this ROM use the camera or gallery app from stock?
    A. It depends on the device. In most cases these apps include proprietary libs/code and cannot be included in the device trees on Github or we risk having the ROM banned from Github. In this case, we might try to make them installable (separate from the ROM zip), or we might provide a version of these apps with the ROM that doesn't include any proprietary libs. It's also sometimes the case that these apps are simply not included because we didn't feel the need to do so for the device in question.

    Q. Does this ROM have Extended/Scrolling screenshot?
    A. No, extended screenshot was implemented using an app extracted and modified from manufacturer firmware/system images and is proprietary as well. It led to the closing of many ROM's sources on GitHub.

    Q. Does this ROM have FaceUnlock?
    A. No, FaceUnlock was also an app extracted and modified from some manufacturers. Even Google removed the Trusted Face (FaceUnlock) feature for security reasons on Android 9.0/10.x. Adding the modified feature did the same to ROM sources as described above.

    Q. Can you add (insert favorite weather provider)?
    A. No, we cannot add more weather providers as the implementations change and we (the ROM) now have to pay for most services, and that is not cheap, so we decided to use the best free service that we could find, the only way to add your own is for users to apply for their own API key to use their preferred service.

    Q. Does this ROM have private official builds with the above proprietary libs included?
    A. No, we believe in open source software, this way users know what's in the build and can replicate it themselves, all official builds are built on our build servers using the public sources from github and no one can (or would) add their own private sources to the build.

    Flashing the ROM:
    Q. What do I need to know before flashing?
    A. Check the flashing instructions...

    Q. Can the builds be dirty flashed over each other?
    A. Yes, this is the usual behavior on flashing a new official build by (or using) the build-in updater service.

    Q. How do I 'dirty flash' builds?
    A. Wipe the System, Cache, and ART/Dalvik cache. Flash the ROM, GApps (only needed if you wipe the system), your preferred root solution, and reboot. Or just use the OTA app to perform that task for you.

    Q. How do I flash kernel builds?
    A1. If it's a .img file, boot into TWRP and go to the install page in TWRP, in the bottom right corner select "install image", select the desired kernel, then select "boot" as the destination, then swipe to flash, then go back to the install screen and install your root method again, if you don't want to lose root and reboot.
    A2. If it's a flashable ZIP, you can flash it together with a ROM update or separately. Go to the install page in TWRP, choose the kernel zip (or add it to the flash queue right after the ROM zip). Then add your root method to the queue if you don't want to lose root. Now swipe to flash and reboot afterward.


    Using the ROM:

    Q. Do I need to provide a logcat if I'm reporting a bug?
    A. If you want it to be fixed faster (or at all) then yes, you should definitely provide a logcat AND the model name. (Note: Please just link the logcat from your GDrive, Dropbox, etc. Do not post the content here. Thanks.)

    Q. How do I get a logcat, what type should I get, and more questions that can conveniently be answered by my pre-determined answer?
    A1. Read this thoroughly. Also, here's a good app for getting logs: https://play.google.com/store/apps/details?id=com.tortel.syslog (Root needed).
    A2. If you are already rooted, you can use the built-in feature to make a logcat and provide that. Just look into the others section on the AICP Extras main page.


    instructions.png


    The ROM should contain everything you need to enjoy Android R. You don't need to install any Add-ons, simply download the latest ROM and GApps, then follow the flashing instructions and go!
    If you want the device to run the ROM "rooted", you can flash a root solution of your choice after the ROM zip file.

    It is STRONGLY recommended to fully wipe your device before flashing and please avoid restoring system apps and system data with Titanium Backup (or with any backup/restore app) as this can cause stability issues that are very hard to debug, restoring regular apps is fine though.
    If you believe you know what you're doing - then fine, go ahead, but please don't complain if you experience any strange behavior.

    How to flash for the first time:
    (Again: Don't do it if you don't know!)

    1. Download the ROM and GApps and transfer them to your device.
    2. Boot to recovery (TWRP recommended).
    3. Wipe the System, Cache, and Data (you might need to format the data partition!).
    4. Flash the ROM zip file.
    5. Flash the GApps (optional, needed for e.g. Google Playstore to work)
    6. Reboot and set up your device, enable developer settings and in them, OEM unlock/Advanced reboot/USB tethering.
    7. Reboot back into TWRP recovery.
    8. Flash the root solution of your choice (optional).
    9. Reboot your device.
    The procedure may vary from device to device and is a bit different on system updates!


    The ROM has GApps persistence in between dirty flashes, so you only have to flash them once! This might differ on AvB Devices.



    Currently supported Root Solution:

    Magisk stable
    Magisk versions >= 20.4 don't usually need to be flashed on every dirty flash.
    Depending on the device, you may need to flash it every time, unless your maintainer says otherwise, you should be fine.

    PREREQUISITE FOR OTA ("Over-The-Air" Updates):
    TWRP recovery is needed to be able to flash using the built-in OTA app.
    Please make sure that you are on the latest TWRP recovery, keep in mind that this could also be an unofficial version!
    On encrypted devices, you will have to enter your PIN/password in TWRP before the process starts.

    sources.png


    If you want to contribute to AICP, or if you want to see what is being worked on/merged, feel free to visit our Gerrit code review system. (Link is at the bottom!!!)

    Kernel source:
    Device tree source:

    Vendor source:

    Follow this guide if you want to extract the vendor blobs: https://wiki.lineageos.org/extracting_blobs_from_zips.html

    ROM & Additional links:
    AICP's Homepage
    AICP Gerrit Code Review
    AICP sources on Github
    AICP Download page for official builds and media content
    AICP Discord Community
    AICP Telegram channel for server notifications on official builds

    Contributors:

    andr68rus,
    infrag,
    darkobas,
    jrior001,
    codeworkx,
    villarleg,
    ThE_MarD,
    Lucchetto00,
    mosimchah

    Information:[/U[
    ROM OS Version:
    11.x
    Kernel: Linux 3.18.140
    ROM {Firmware|Vendor} required: 20s or newer
    Status:
    STABLE
    Release Date: 12-22-2020

    You want to see a "normal" night at the "DEV office", click here!!

    9
    New build,
    Changes:
    March security patch, power hal fixes, wifi fixes, battery life improvements, new features, new fixes, misc, lots of stuff, etc

    Download:

    md5:
    8
    New build,
    Changes:
    1. Added back the option to power off the phone when advanced reboot is not enabled
    2. Some fixes for the live display tile which shouldn't randomly show up now
    3. Lots of misc fixes and improvements

    Full changelog:

    Download:

    md5:
    7
    New test build,
    Changes:
    1. Added back the button lights settings
    2. Fully fixed IR, credit to @ThE_MarD
    3. The rom should now be able to boot without gapps installed (still fine with gapps of course), credit to @ThE_MarD

    Download:

    md5: