• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

ROM: Sony AOSP 8.1 (H3113) (unofficial)

Search This thread

axxx007xxxz

Senior Member
Jul 1, 2014
1,278
821
World
How am I supposed to install Gapps? Installed system, vendor and binaries. Then booted to TWRP without booting to system first and flashed mindthegapps: phone boots fine but there are no Gapps installed and also no setup wizard.
Wiped everything and fresh installed the rom again. Then I booted to TWRP and flashed opengapps: phone stuck at Sony logo.
Weird, MTG should work just fine.
Are you sure you're flashing both ROM and GApps to the same slot?
 

axxx007xxxz

Senior Member
Jul 1, 2014
1,278
821
World
New build

Build informations:
  • Build type: userdebug
  • Android revision: android-8.1.0_r46
  • CAF revision: LA.UM.6.4.r1
  • Last commit of sonyxperiadev/local_manifests: 5d12a90b1b16a09d5f3c9c1060c0f1593fa5de17
  • Last commit of sonyxperiadev/vendor-sony-kernel: 425bf8720c26714a08a0a3a553534d66358d276d
  • Last commit of sonyxperiadev/device-sony-nile: 3e41bdc0fb6bf5b52b840663c3adb937f2afdccf
  • Last commit of sonyxperiadev/device-sony-pioneer: 4febaadcbb95eb2a8398080c1b534a01fa22e277.

Download link: https://androidfilehost.com/?fid=1322778262904007722.
 
  • Like
Reactions: Meloferz

xa2aosp

New member
Sep 23, 2018
3
1
AOSP Build

I am looking to try and do a build myself and have ran into a few issues following the provided guide from Sony. I have zero issues until it comes time to run the make -j command where it gets to about 4% before throwing errors and quitting with exit code 1. Would you be able to share a whatever deviations from the Sony guide to successfully compile?

Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=aosp_h3113
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-29-generic-x86_64-with-Ubuntu-18.04-bionic
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM6.171019.030.K1
OUT_DIR=out
============================================
[44/44] bootstrap out/soong/.minibootstrap/build.ninja.in
[4/4] out/soong/.bootstrap/bin/minibp out/soong/.bootstrap/build.ninja
[867/868] glob vendor/qcom/opensource/interfaces/wifi/supplicant/1.1/Android.bp
[54/54] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
out/build-aosp_h3113.ninja is missing, regenerating...
[139/1006] including ./device/sony/common/Android.mk ...
rm: cannot remove 'out/target/product/pioneer/vendor/rfs/': No such file or directory
/bin/bash: line 0: pushd: out/target/product/pioneer/odm/: No such file or directory
[675/1006] including ./system/sepolicy/Android.mk ...
./system/sepolicy/Android.mk:111: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[1006/1006] including ./vendor/qcom/opensource/wlan/wcnss-service/Android.mk ...
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE pioneer
35 warnings generated.
[  4% 4383/91153] Lex: applypatch <= bootable/recovery/edify/lexer.ll
FAILED: out/target/product/pioneer/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp 
/bin/bash -c "prebuilts/misc/linux-x86/flex/flex-2.5.39 -oout/target/product/pioneer/obj/STATIC_LIBRARIES/libedify_intermediates/lexer.cpp bootable/recovery/edify/lexer.ll"
flex-2.5.39: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
[  4% 4388/91153] target StaticLib: libv8src (out/target/product/pioneer/obj/STATIC_LIBRARIES/libv8src_intermediates/libv8src.a)
ninja: build stopped: subcommand failed.
13:37:34 ninja failed with: exit status 1

#### failed to build some targets (09:06 (mm:ss)) ####

Nevermind, the solution was to run: make cleaninstall; make noclobber and then boost ram allocated to my VM up to 16GB.
 
Last edited:

axxx007xxxz

Senior Member
Jul 1, 2014
1,278
821
World
I am looking to try and do a build myself and have ran into a few issues following the provided guide from Sony. I have zero issues until it comes time to run the make -j command where it gets to about 4% before throwing errors and quitting with exit code 1. Would you be able to share a whatever deviations from the Sony guide to successfully compile?

Nevermind, the solution was to run: make cleaninstall; make noclobber and then boost ram allocated to my VM up to 16GB.
In order to make it build without errors, I also run
Code:
export LC_ALL=C
before compiling (more informations here).
 

axxx007xxxz

Senior Member
Jul 1, 2014
1,278
821
World
New build

Build informations:
  • Build type: userdebug
  • Android revision: android-8.1.0_r46
  • CAF revision: LA.UM.6.4.r1
  • Last commit of sonyxperiadev/local_manifests: 5d12a90b1b16a09d5f3c9c1060c0f1593fa5de17
  • Last commit of sonyxperiadev/vendor-sony-kernel: 425bf8720c26714a08a0a3a553534d66358d276d
  • Last commit of sonyxperiadev/device-sony-nile: 3e41bdc0fb6bf5b52b840663c3adb937f2afdccf
  • Last commit of sonyxperiadev/device-sony-pioneer: 4febaadcbb95eb2a8398080c1b534a01fa22e277.

Download link: https://androidfilehost.com/?fid=1322778262904014149.
 
  • Like
Reactions: Meloferz

xa2aosp

New member
Sep 23, 2018
3
1
Difficulty Flashing

Thank you for help on the build. Now I am having difficulty flashing either build (yours or mine). I have followed the instructions that sony has which are pretty much the same as what you provide. When I complete all of the fastboot commands and reboot, my phone hangs at the white sony screen. For whatever reason when I run the fastboot commands it requires that I append a "_a" for the partition I am using such as 'fastboot flash boot_a .\boot.img' which then the fastboot commands run happily. I am using have the h3123 variant of this phone which I believe is the US version and others have successfully installed. I have confirmed my device is unlocked and have even been successful installing the lineageos 15.1 and 16 builds. What am I missing?
 

SGS3_0

Senior Member
Mar 17, 2014
258
62
Megastructure
What am I missing?
Did u flash sw bin from Sony site for oem?(coz proprietary software are in oem, not in vendor image )
I used this *.bat script for windows:

fastboot devices
pause
fastboot set_active a
fastboot flash boot boot.img
fastboot flash oem oem.img
fastboot flash userdata userdata.img
fastboot flash vendor vendor.img
fastboot flash system system.img
fastboot -w
pause
fastboot reboot
 

xa2aosp

New member
Sep 23, 2018
3
1
It worked

Thank you SGS3_0, setting the active partition and the fastboot -w were what was missing in the sony guide. I am now able to boot into AOSP perfectly!

Did u flash sw bin from Sony site[/URL] for oem?(coz proprietary software are in oem, not in vendor image )
I used this *.bat script for windows:

fastboot devices
pause
fastboot set_active a
fastboot flash boot boot.img
fastboot flash oem oem.img
fastboot flash userdata userdata.img
fastboot flash vendor vendor.img
fastboot flash system system.img
fastboot -w
pause
fastboot reboot
 
  • Like
Reactions: SGS3_0

axxx007xxxz

Senior Member
Jul 1, 2014
1,278
821
World
New build

Build informations:
  • Build type: userdebug
  • Android revision: android-8.1.0_r46
  • CAF revision: LA.UM.6.4.r1
  • Last commit of sonyxperiadev/local_manifests: 5d12a90b1b16a09d5f3c9c1060c0f1593fa5de17
  • Last commit of sonyxperiadev/vendor-sony-kernel: 79b5c122c5450745f664d8a08178d148bc644619
  • Last commit of sonyxperiadev/device-sony-nile: 3e41bdc0fb6bf5b52b840663c3adb937f2afdccf
  • Last commit of sonyxperiadev/device-sony-pioneer: 4febaadcbb95eb2a8398080c1b534a01fa22e277.

Download link: https://androidfilehost.com/?fid=1322778262904018857.
 

axxx007xxxz

Senior Member
Jul 1, 2014
1,278
821
World
now i know the 3113 and 3223 are pretty much the same, would this work for 3223?
I think so, since they're both single SIM. But I can't assure it's gonna work.


Hi , I'm new to Sony , Just Querying What if I want to install los will I have to install stock vendor ? .
Nope, for LOS you just have to flash the ZIP with TWRP. ;)
 
  • Like
Reactions: infixremix

axxx007xxxz

Senior Member
Jul 1, 2014
1,278
821
World
New build

Build informations:
  • Build type: userdebug
  • Android revision: android-8.1.0_r47
  • CAF revision: LA.UM.6.4.r1
  • Last commit of sonyxperiadev/local_manifests: d6adf34a73c502a2fc3fcad0097846058f70768e
  • Last commit of sonyxperiadev/vendor-sony-kernel: a8da0fe23dbc5e56336d740b8b3c39d4479070ae
  • Last commit of sonyxperiadev/device-sony-nile: 3e41bdc0fb6bf5b52b840663c3adb937f2afdccf
  • Last commit of sonyxperiadev/device-sony-pioneer: 4febaadcbb95eb2a8398080c1b534a01fa22e277.

Download link: https://androidfilehost.com/?fid=1322778262904025299.
 

holmes465

Member
Dec 18, 2016
14
1
How to install GAPPS on this ROM? I tried to install ROM through fastboot first and then install GAPPS via twrp, but i got bootloop with android logo
 

axxx007xxxz

Senior Member
Jul 1, 2014
1,278
821
World
New build

Build informations:
  • Build type: userdebug
  • Android revision: android-8.1.0_r47
  • CAF revision: LA.UM.6.4.r1
  • Last commit of sonyxperiadev/local_manifests: f5c8bf9320e422103d1e5ccb00e2d5a367982186
  • Last commit of sonyxperiadev/vendor-sony-kernel: a8da0fe23dbc5e56336d740b8b3c39d4479070ae
  • Last commit of sonyxperiadev/device-sony-nile: 4d028091f54509fbb263c5b04f0609a238c10738
  • Last commit of sonyxperiadev/device-sony-pioneer: 4febaadcbb95eb2a8398080c1b534a01fa22e277.

Download link: https://androidfilehost.com/?fid=1322778262904029119.
 
  • Like
Reactions: Meloferz

infixremix

Senior Member
Jan 12, 2017
895
388
Build informations:
Build type: userdebug
Android revision: android-8.1.0_r47
CAF revision: LA.UM.6.4.r1
Last commit of sonyxperiadev/local_manifests: f5c8bf9320e422103d1e5ccb00e2d5a367982186
Last commit of sonyxperiadev/vendor-sony-kernel: a8da0fe23dbc5e56336d740b8b3c39d4479070ae
Last commit of sonyxperiadev/device-sony-nile: 4d028091f54509fbb263c5b04f0609a238c10738
Last commit of sonyxperiadev/device-sony-pioneer: 4febaadcbb95eb2a8398080c1b534a01fa22e277.


Download link: https://androidfilehost.com/?fid=1322778262904029119.
What's actually being updated nothings being changed in the device tree.
 

axxx007xxxz

Senior Member
Jul 1, 2014
1,278
821
World
What's actually being updated nothings being changed in the device tree.
Nile DT was updated.
Also, the list of commits' hashes I post here are just to give people a "point in the (commits) history", as a sort of a version.
There are many more repositories which get updates (settings, fw_base, fw_av, HALs, vendor, etc.), you can check that on GitHub.
 
  • Like
Reactions: Meloferz

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    yb8CWzl.png

    Sony AOSP project

    Disclaimer
    I'm not liable for anything YOU do to YOUR device, YOU are doing it and it's YOUR device.


    What is it?
    It's a project developed and maintained by Sony Xperia Developers team.
    You can get more informations here: https://developer.sony.com/develop/open-devices/


    Can I build it by myself?
    Sure, just follow these instructions and have patience!


    What works and what doesn't?
    According to this official page, almost everything seems to be fine.


    How can I flash it?
    Follow these steps:
    1. Unlock the bootloader (this will erase your data and will void warranty): https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/
    2. Setup fastboot on your PC (there are many guides for this step)
    3. Download and unpack the zip archive
    4. Open a shell into the folder containing unpacked files
    5. Run these commands:
      • fastboot flash boot boot.img
      • fastboot flash system system.img
      • fastboot flash vendor vendor.img
      • fastboot flash userdata userdata.img (it’s not necessary to flash userdata every time)
    6. Download and unpack the corresponding vendor image from here: https://developer.sony.com/develop/open-devices/downloads/software-binaries
    7. Open a shell into the folder containing unpacked image
    8. Run this command:
      • fastboot flash oem SW_binaries_for_Xperia_xxxxx.img (where "xxxxx" varies depending on the file)
    9. (optional) In case you want to flash GApps, Magisk or other mods, you can use TWRP: https://forum.xda-developers.com/xa2-ultra/development/recovery-twrp-3-2-1-0-touch-recovery-t3774193
    10. Reboot the device and enjoy!


    Download link
    You can get the builds from my AFH folder: https://androidfilehost.com/?w=files&flid=269497.
    I haven't done any change to Sony's source code, these are vanilla builds.


    Credits
    All credits go to Sony and Google.

    XDA:DevDB Information
    Sony AOSP, ROM for the Sony XA2 Ultra

    Contributors
    axxx007xxxz
    Source Code: https://github.com/sonyxperiadev

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 4.x
    Based On: AOSP

    Version Information
    Status: Testing

    Created 2018-05-08
    Last Updated 2018-05-08
    6
    @davidhozic, @SGS3_0 and whoever asked for an H4113 build, here you are: https://androidfilehost.com/?fid=1322778262903980115.
    Built from source at the same state of previous build, there's no new commit.
    4
    I love how you keep posting updates and you don't even know if the rom works or not lol. Btw, there's no pioneer vendor at that link in the op.
    I post builds here for people who want to try Sony's AOSP but can't or don't want to build them themselves.
    Yes, there are software binaries for pioneer: they're under "nile" codename, because that's common device codename for pioneer and discovery.
    4
    can someone post some screenshots here? i'm curious about the design, never used it before :)
    It's just AOSP, look on Google. ;)


    Excuse me, could you create a new AOSP build with the current fixes, for example support 2 sim in 4113?
    I've a weak PC for this. :rolleyes:
    Sorry, I can't view your image ("The image could not be loaded." error).
    If you're talking about this commit, it's included in the latest build.


    Also, Sony team started to work on Pie. I don't know how long it's going to take to bring up our device, please be patient and don't ask for ETA.
    4
    New build

    Build informations:
    • Build type: userdebug
    • Android revision: android-8.1.0_r20
    • CAF revision: LA.UM.6.4.r1
    • Last commit of sonyxperiadev/local_manifests: 81032020581dd636ab9d7f8414609bad07332288
    • Last commit of sonyxperiadev/kernel: 1df958f2943c6c5cae31018e42d2f42e8a55c4b3
    • Last commit of sonyxperiadev/device-sony-nile: c775da101d57377979cdcb79b1ba1b5bbd3739a4
    • Last commit of sonyxperiadev/device-sony-pioneer: 5b804c4aa86ca13653d2d692120437fa76f61ae9.

    Download link: https://androidfilehost.com/?fid=818222786056029296.