At first in twrp (flashing the ROM), then in the AOSP(when i try to install opengapps)
android-11.0.0_r27 (January security patchlevel)
thank you!The OEM11 bootproblems on XZ2C are currently under investigations.
After flashing the ROM, the "stock" twrp doesnt work anymore, u have to use SODP twrp.Hi,
I'm just a little bit clueless right now: I just cannot get the ROM booted on my XZ2 Dual Sim (H8266)
I was coming from a clean stock with locked bootloader and after unlocking the bootloader here are the steps I did:
I'm now completley stucked: I see the Android-Animation, but nothing happens.
- Install Recovery (first time)
- Downlaoded XZ2 (SingleSim) for Android 10
- Entered bootloader using add:
# adb reboot bootloader- Flashed Recovery:
# fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
# fastboot boot twrp-akari.img
Waited for Reboot into TWRP- Installed TWRP:
# adb push twrp-akari.img /sideload
> Advanced --> Install Recovery into ramdisk -> selected IMG-File from /sideload-Folder
> Reboot- Install Rom
- Enter bootloader using ADB and flash OEM/SW_binaries:
# fastboot flash oem_a SW_binaries_for_Xperia_Android_11_4.14_v3a_tama.img
# fastboot flash oem_b SW_binaries_for_Xperia_Android_11_4.14_v3a_tama.img
# fastboot reboot- Once more I entered the recovery:
# adb reboot recovery- I now sidelaoded the ROM:
> Advanced -> Sideload -> Swipe to Sideload
# adb sideload aosp-11.0-20210112_aosp_h8216.zip
TWRP informed me that has installed the ROM to Slot A and I have to reboot...- ..so I rebooted into Recovery once more and sideloaded the Dual-SIM-Patch
> Advanced -> Sideload -> Swipe..
# adb sideload sony-dualsim-patcher-v4.zip- After that, I tried to reboot, but....
At this point, also the TWRP was not present anymore (only the old/default Yellow and blue Text-base-Recovery), so I just reinstalled TWRP using the exact same steps as above, but now using the SODP instead of the Stock-based version.
I tried different steps again and again and ended one time even with a red Exclamation mark and the hint that the ROM is corrupted (after installing NanoDroid)... However I was able to switch to the other slot from within bootloader (fastboot --set-active=a) and was able to to the recover again, but I do not have any running system anymore.
So:
- Any Ideas how I can enable the device to boot properly?
- Where can I get Gapps for Android 11? The given link only has versions for Android 10.
(Update: I think I have to use the TEST-archives from their SourceForge-Site, right?)
But do I really need them?
I'd like to go with MicroG, so is it possible to boot without Gapps at all?
It should be possible to install it using Magisk afterwards...- Does "fastboot boot XXX.img" just boots this image instead of installing it?
- What does the SW_binaries contain?
Can some please give me a hint for which key words I have to look for?
Can I go back to the original ones when flashing the original FW (with XperiFirm/Newflasher)?
OK, and now: good night
You're right, I'll add it under known bugs.So issue affects not just xz2c.
Is it reasonable to post new versions until issue will be resolved?
Or post some info about this to avoid users from flashing, like above?
Just thoughts...
Is it sufficient to to just flash the OEM or do I have to redo the whole process?.. use the OEM.img ..
Just flashing the OEM should be fine.Is it sufficient to to just flash the OEM or do I have to redo the whole process?
Confirm working !!!You're right, I'll add it under known bugs.
![]()
Xperia XZ2 Compact Dual (H8324) & XZ2 Dual (H8266) don't boot with A11 binaries but they do with A10 binaries · Issue #661 · sonyxperiadev/bug_tracker
Platform: Android or TAMA or whatever is meant with platform Device: Xperia XZ2 Compact Dual (H8324) Kernel version: 4.14 Android version: 11 Software binaries version: SW_binaries_for_Xperia_Andro...github.com
So @pmatj @Hobbala please use the OEM.img for Android 10 as a workaround for now.![]()
Usually if you use MicroG only Signature Spoofing is needed.At least that was the plan... everyhting is working right now, except that I cannot download anything with Aurora... I assume there's a missing permission, but currently I just have no clue, why....
So apart from the issue (but not realted to this ROM), there's only one question left: how can I remove the Search-Bar from the HomeScreen?
Usually if you use MicroG only Signature Spoofing is needed.
Longpress on the homescreen and deactivating it in the settings.![]()
You still need to do thatWait, wait, wait, wait wait: this ROM directly supports SigSpoof? I do not need to patch services.jar before?
Or use the Nanodroid Patcher as Magisk Module for trivial Signature Spoof patchingWell, it's not that hard to do it on a PC, sadly NanoDroid-Patcher does (currently) not work.... Anyway.
There's one issue left: Shelter/WorkProfiles... I cannot access the created home-Folders (e.g. /storage/emulated/10)...
I just tested it on a normal Lineage (but different phone ^^) and it worked flawlessly, so I assume it is a ROM-based issue...
Anyone got Shelter working here?
As I wrote: the NanoDroid-Pather version (20210116) failed to work right now, but I guess they are working on itOr use the Nanodroid Patcher as Magisk Module for trivial Signature Spoof patching![]()
WoopsiAs I wrote: the NanoDroid-Pather version (20210116) failed to work right now, but I guess they are working on itThere's still a solution where you can patch it on a PC.
Anyway, still two problems are left:
- Search-Bar: there is one that is somehow "fixed", I cant remove it. When adding a new Widget, I can easily remove it, but the one preset from start cant be deleted (see attached video... sorry, but attaching MP4 is not allowed).
- Profiles/Shelter: Neither additional profiles nor the Working-Profile has some "internal storage" accessible. Just try it, but adding any of them and accessing the storage (e.g. with Total Commander). You have just no access to /storage/emulated/[UserID]
However, some folders within /mnt/users/[UserID] get created and seem to have the correct permissions.
Best regards