[ROM][official] AICP 15.0 - q10.0 - castor/_windy (Sony Z2 Tablet)

Search This thread

pixbuf

Senior Member
Oct 29, 2010
250
44
Saitama
I think I permanently screwed my tablet.
  1. I flashed the Feb 12 weekly. It was fine but I had no root. (Also, I couldn't find the Developer Options in the settings. What's up with that?) I booted into TWRP and flashed Magisk again (no errors), but nothing changed.
  2. I booted into TWRP again, and flashed TWRP uninstaller, and then TWRP again. No errors.
  3. Now the tablet won't boot at all. It's stuck at the SONY Xperia flash screen. The magenta LED does not appear so I can't get into recovery.
  4. I booted into fastboot, and reflashed the TWRP image. No change.
Anyone have a suggestion? If I had a complete ROM fastboot flashable image file I could try flashing it; searched but didn't find it. Anyone know where I might find one?
TIA.

Edit 1: Never mind. I fixed it. I found a boot.img file on my computer and flashed it in fastboot. That enabled me to boot into recovery and re-flash the ROM. Still got no root, though.

Edit 2: I clean flashed the Jan 1 weekly (the one I was running before this). It works OK but still no root. Using Magisk-v21.4. Any ideas?
 
Last edited:

Dior DNA

Senior Member
Aug 17, 2015
1,453
636
I think I permanently screwed my tablet.
  1. I flashed the Feb 12 weekly. It was fine but I had no root. (Also, I couldn't find the Developer Options in the settings. What's up with that?) I booted into TWRP and flashed Magisk again (no errors), but nothing changed.
  2. I booted into TWRP again, and flashed TWRP uninstaller, and then TWRP again. No errors.
  3. Now the tablet won't boot at all. It's stuck at the SONY Xperia flash screen. The magenta LED does not appear so I can't get into recovery.
  4. I booted into fastboot, and reflashed the TWRP image. No change.
Anyone have a suggestion? If I had a complete ROM fastboot flashable image file I could try flashing it; searched but didn't find it. Anyone know where I might find one?
TIA.

Edit 1: Never mind. I fixed it. I found a boot.img file on my computer and flashed it in fastboot. That enabled me to boot into recovery and re-flash the ROM. Still got no root, though.

Edit 2: I clean flashed the Jan 1 weekly (the one I was running before this). It works OK but still no root. Using Magisk-v21.4. Any ideas?
Typically I recently do the following 'workaround' to keep root (and magisk 21) over update.
Code:
boot twrp
uninstall magisk 21 latest
install/update aicp 15.0 - q10.0
(install pico open gapps latest)
install magisk 20 latest

boot system
install/update magisk manager latest
install/update magisk 21 latest
note that such may somehow have erased all your magisk manager data.
 
  • Like
Reactions: Harv234

pixbuf

Senior Member
Oct 29, 2010
250
44
Saitama
Typically I recently do the following 'workaround' to keep root (and magisk 21) over update.
Code:
boot twrp
uninstall magisk 21 latest
install/update aicp 15.0 - q10.0
(install pico open gapps latest)
install magisk 20 latest

boot system
install/update magisk manager latest
install/update magisk 21 latest
note that such may somehow have erased all your magisk manager data.

Ah, thanks for the advice. I'll try it out and let you know how it works.

Later: Works great!! I'm all fixed now. I owe you a beer or a coffee or whatever.
 
Last edited:
  • Like
Reactions: Dior DNA

pixbuf

Senior Member
Oct 29, 2010
250
44
Saitama
Now I upgraded to the new single-apk version of Magisk and lost root again. :(
I'm going to try Dior DNA's method once again.
Later: I don't think Dior DNA's method is applicable anymore, with the radical changes in Magisk. I tried following the installation instructions on the Magisk github page about patching the boot.img file. It says this method" is guaranteed to work 100% of the time". Sorry. It didn't work.
Later still: I tried renaming the Magisk apk to .zip, as in the instructions, and flashed it in recovery. Didn't work.
 
Last edited:
  • Like
Reactions: Dior DNA

Neppomuk_

Member
Jul 19, 2015
37
2
I can confirm this. Magisk 22 does not work on castor_windy. Actually I stay on 20.4. This is the last one which still works after ota.
 
Last edited:
  • Like
Reactions: pixbuf

Dior DNA

Senior Member
Aug 17, 2015
1,453
636
Now I upgraded to the new single-apk version of Magisk and lost root again. :(
I'm going to try Dior DNA's method once again.
Later: I don't think Dior DNA's method is applicable anymore, with the radical changes in Magisk. I tried following the installation instructions on the Magisk github page about patching the boot.img file. It says this method" is guaranteed to work 100% of the time". Sorry. It didn't work.
Later still: I tried renaming the Magisk apk to .zip, as in the instructions, and flashed it in recovery. Didn't work.
Correct, the apk magisk v22 synergy redesign is a completely different story,
but then, my comments were strictly about v21.x.
For now, I am back on v20.4 myself, since I cannot choose v21.4 again (only v22) ... but: v21.4 did work, however
 
Last edited:
  • Like
Reactions: pixbuf

pixbuf

Senior Member
Oct 29, 2010
250
44
Saitama

Harv234

Member
Aug 4, 2016
15
5
Thought I'd let you know how I managed to install Magisk 22:
- uninstall Magisk App
- start into recovery
- uninstall Magisk using their uninstaller
- install Magisk V20.4 (download from Github page)
- install Magisk V22 (still in recovery - rename *.pkg to *.zip)
- reboot and install Magisk App from App overview
Done! (At least for me...)
Looking forward to the next Magisk update :p
 

Dior DNA

Senior Member
Aug 17, 2015
1,453
636
Thought I'd let you know how I managed to install Magisk 22:
- uninstall Magisk App
- start into recovery
- uninstall Magisk using their uninstaller
- install Magisk V20.4 (download from Github page)
- install Magisk V22 (still in recovery - rename *.pkg to *.zip)
- reboot and install Magisk App from App overview
Done! (At least for me...)
Looking forward to the next Magisk update :p
Thanks! The apk to zip rename (or copy) trick does it indeed!
 

bacon612

Senior Member
Jan 9, 2012
1,354
575
Sony Xperia Z2 Tablet
OnePlus 8 Pro
I would just like to comment that something has definitely gone wrong with this rom. Can't say when it happened specifically, though. I realize that this tablet is a month older than my 6 and a half year old daughter but sometimes it lags for over a minute when turning on WiFi and synching google services. @SpiritCroc are you still using your xperia tab?
 

slyevo

Senior Member
Jul 2, 2010
290
20
Hi All

I have recently flashed my aging SGP511 with aicp_castor_windy-userdebug 10 QQ3A.200805.001 2752 test-keys. I also had trouble rooting this ROM with Magisk v22. I figured flashing Magisk v20 via recovery, rebooting the tablet, then rebooting into recovery and flashing v22 worked perfectly. The only issue I have now is that the charging led does not work. Anyone know how to fix this?

(Just noticed someone already figured the Magisk fix, so this is just confirmation that it works. You can download the latest Magisk apk and change file type from .apk to .zip)

Thanks
 
Last edited:

bacon612

Senior Member
Jan 9, 2012
1,354
575
Sony Xperia Z2 Tablet
OnePlus 8 Pro
Hi All

I have recently flashed my aging SGP511 with aicp_castor_windy-userdebug 10 QQ3A.200805.001 2752 test-keys. I also had trouble rooting this ROM with Magisk v22. I figured flashing Magisk v20 via recovery, rebooting the tablet, then rebooting into recovery and flashing v22 worked perfectly. The only issue I have now is that the charging led does not work. Anyone know how to fix this?

(Just noticed someone already figured the Magisk fix, so this is just confirmation that it works. You can download the latest Magisk apk and change file type from .apk to .zip)

Thanks
Are you passing safetynet in magisk?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21


    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, for Android Pie we based on the "Ground Zero Open Source Project" (GZOSP), and now for Android 10 we are fully based on AOSP.


    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
    SlimRoms team
    Resurrection Remix team
    Community
    ...

    team.png


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


    donations.png


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



    downloads.png


    Latest Stable Release Version 15.0

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

    Test builds: https://www.androidfilehost.com/?w=files&flid=305060
    Use castor for the LTE variant and castor_windy for the wifi-only variant.
    Feedback from castor users, especially concerning mobile data, appreciated since I can only test on castor_windy.

    NOTE: Test builds are often those builds that I use personally. They tend to include open patches from our gerrit, and some additional changes documented here.

    Please note that official builds will be deleted from our servers every month due to maintenance services.
    We advise everyone to keep at least the latest or best working build on their device as a backup.
    Maybe copy it to a cloud service or USB too.



    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)

    issues.png


    - Unlocking the device does not work directly after boot (just wait around half a minute after bootanimation finished)
    - Generating QR Codes for wifi sharing is broken (AOSP bug for devices without biometric sensor)
    - FM Radio is somewhat slow
    - wifi connection issues for some users, possibly region-specific
    - 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 discussion should go in the thread of the respective kernel. We don't offer support for bugs you might encounter while using them!

    Q. Why doesn't this ROM support Xposed?
    A. Xposed is a hack that is geared towards AOSP. Custom ROMs modify the framework a lot, so Xposed can cause a ton of issues on custom ROMs. Now it might work for you, however it is not to be discussed in this thread, and you should refrain from posting bug reports.

    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, however make a nandroid backup first as there is a chance of getting a bootloop or encountering bugs. Also bugs may only be reported on a clean flash.

    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 preform 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 loose 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 loose root. Now swipe to flash and reboot afterwards.

    Using the ROM:

    Q. I installed a bad theme and now I'm getting a bootloop, how do I fix it?
    A. In TWRP, flash the substratum rescue zip that's in the substratum folder on the internal storage.

    Q. I'm having issues with WhatsApp, how do I fix it?
    A. Read this

    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. (Note: Please just link the logcat from your GDrive, Dropbox, etc. and 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 in the AICP Extras main page.


    xda_templatewolpertingstructions.png


    The ROM should contain everything you need to enjoy Android 10. 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 Zipfile.

    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 (latest TWRP from the CarbonROM thread recommended when coming from Android < 10, on Android 10 TWRP >= 3.3.1 recommended).
    3. Wipe the System, Cache, Data and ART/Dalvik cache.
    4. Flash the ROM Zipfile.
    5. Flash the GApps (optional, needed for e.g. Google Playstore to work).
    6. Flash the root solution of your choice (optional).
    7. 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!


    Currently supported Root Solution:

    Magisk stable
    Magisk versions >= 17.2 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.

    OTA is only supported for official builds, which have not started yet.

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

    sources.png


    Kernel source:
    https://github.com/AICP/kernel_sony_msm8974/tree/q10.0
    Device tree source:
    https://github.com/AICP/device_sony_castor_windy/tree/q10.0

    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:
    NeoArian
    rcstar6696
    AdrianDC
    drakonizer
    Myself5
    All the other contributors to sony msm8974 platform

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

    XDA:DevDB Information
    Android Ice Cold Project (AICP) 15.0 (q10.0) castor/_windy (Sony Z2 Tablet), ROM for the Sony Xperia Z2 Tablet

    Contributors
    SpiritCroc
    Source Code: https://github.com/AICP

    ROM OS Version: Android 10
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: Unlocked bootloader

    Version Information
    Status: Testing

    Created 2020-02-08
    Last Updated 2020-10-18
    8
    Official builds started

    I enabled official AICP 15.0 castor/_windy builds, the first one should appear next friday.

    In comparison to previous test builds, I also managed to fix the following:
    - Recents screen rotating when having the screen in portrait orientation
    - 2-button/swipe-up navigation in portrait orientation
    - Delay to turn on the screen reduced by nearly one second
    7
    TWRP

    I compiled a new TWRP which should work with encryption:
    https://forum.xda-developers.com/xp...ecovery-twrp-3-4-0-castor-windy-sony-t4110865
    I haven't tested it much yet, so feedback is welcome :)
    7
    I uploaded new test builds. Nothing special, just a common sources update.

    Since there seems to be the wish for official AICP 15.0 builds, but I haven't been using my z2 tablet much recently and I'm unsure how stable it actually is, I'd like to hear your opinion on whether it's ready.
    If you tried out recent AICP 15.0 builds, it would be nice if you could participate in following vote: https://forms.gle/krngCEcnQ8kcxnaA7
    Thanks!
    5
    Thanks @SpiritCroc,
    Nice ROM, please when you have time for an update , we would appreciate it,

    Right, it's about time, uploading :)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone