While I am still unable to get "eng" version of AOSP built images to boot up on my Xperia XA2 Ultra (I do have userdebug+OpenGapps running sans the SDCARD support), I noticed that build instructions for AOSP Oreo 8.1 is disconnected from the actuall output. For example: 1) Documentation states "recovery.img" - however, this image is nowhere to be found in my build. Am I missing something here? 2) The build ends up with "ramdisk.img" and "ramdisk-recovery.img" images, however, documentation states nothing regarding the use. What are these images for? 3) AOSP Oreo 8.1 (userdebug) version appears to be missing support for the SDCARD. While I am able to use the phone for the most part, the AOSP built Oreo 8.1 does not detect an SDCARD in my XA2 Ultra (I have tried several). Am I missing something? Here's the script - slightly modified than the version I attached to my previous post - that I am using to build the AOSP Oreo 8.1: #!/bin/bash
if [ ! -d "android" ]
repo init -u https://android.googlesource.com/platform/manifest -b $BRANCH
git clone https://github.com/sonyxperiadev/local_manifests
git checkout $BRANCH
if [ -d "out" ]
echo "$(date) Removing previous build..."
rm -rf out
echo "$(date) Repo Sync"
repo sync -j $(nproc) >/dev/null 2>&1
./repo_update.sh >/dev/null 2>&1
echo "$(date) Setting up Env"
source build/envsetup.sh && lunch aosp_h4213-userdebug >/dev/null 2>&1
# source build/envsetup.sh && lunch aosp_h4213-eng
export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx15360m"
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx15360m"
echo "$(date) Start Building Android O $BRANCH"
make -j$(nproc) >/dev/null 2>&1
echo "$(date) Done Building Android O $BRANCH"
... View more
After Sony's Support quickly burrowed itself behind CYA-speak, when I asked 'em to point me to fastboot oem command - Sony Device returns "remote: unknown" - needed to re-lock the bootloader on my XA2 Ultra: Thank you for contacting the Sony Xperia™ support centre.
We care about the experience of the customers with our devices.
Unfortunately from this line we can only offer you our developer world and its forum as a support hand. Keep in mind that unlocking the bootloader could affect and even void the warranty. That is why we cannot offer you further support than providing you with the developer world web page.
We stay tuned to your prompt response and additional comments.
In case you need more information or assistance you may contact our customer service line and support +1 855 806 8464 or visit our website www.sonymobile.com for the latest news, information and product support about Sony Xperia™
Sony Xperia™ Customer Services. I am here hoping to find out magic fastboot oem command that will re-lock the bootloader. Search of this forum led me to several posts that point to a Windows based flashtool. The links to download tool all point to suspect/ad-riddled web locations. While I am an OSX user, with tons of Windows 10 VMs, could someone please point me to a link that does NOT lead to ad-ware riddled site? Thanks!
... View more