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

[ROM][AOSP][F8131/F8132][PIE][9.0.0] TheExplorer

Status
Not open for further replies.
Search This thread

NielDK

Inactive Recognized Developer
Jul 13, 2008
539
141
Farum
I have build Android Pie (9.0.0) successfully for Xperia X Performance f8131from AOSP source.

Instructions:

extract

F8131: android-pie-f8131-160119.zip

F8132: My build was not bootibg!
For another build, please refer to https://forum.xda-developers.com/showpost.php?p=78359565&postcount=67

Connect phone in fastboot mode (vol-up & power)
flash boot, system, userdata

# fastboot flash boot boot.img
# fastboot flash system system.img
# fastboot flash userdata userdata.img

Download SW_BINARIES_FOR_XPERIA_ANDROID_9.0_2.3.2_V4_TONE-1.ZIP/URL]

Unpack SW_BINARIES_FOR_XPERIA_ANDROID_9.0_2.3.2_V4_TONE-1.ZIP to obtain the vendor image.

Connect the device to your computer in Fastboot mode, by pressing volume up while inserting the USB cable. When the device is in Fastboot mode, the LED on the device will be illuminated in blue.

Flash the vendor image by entering the following commands in a terminal window:

# fastboot flash oem SW_binaries_for_Xperia_Android_9.0_2.3.2_V4_tone.img

Works: everything

Bugs:

Build from SE AOSP, kernel sources link: [URL="https://github.com/sonyxperiadev/kernel"]Sony kernel sources

Link for building from AOSP: Building from AOSP

Links:
Android Pie (9.0.0),Software binaries

XDA:DevDB Information
TheExplorer, ROM for the Sony Xperia X Performance

Contributors
NielDK
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: AOSP

Version Information
Status: No Longer Updated
Current Beta Version: 9.0.0_r21

Created 2018-10-08
Last Updated 2019-02-06
 

Attachments

  • info.png
    info.png
    75.2 KB · Views: 14,876
  • Screenshot_20181008-105620.jpg
    Screenshot_20181008-105620.jpg
    78.6 KB · Views: 14,807

NielDK

Inactive Recognized Developer
Jul 13, 2008
539
141
Farum
OpenGAPPS

ROM is without Gapps, you must flash it if you need it.

Since /data is not manageable from TWRP, it cant handle encryption.
You will need to flash arm64 nano version for Android Pie (9.0) from https://opengapps.org/ and push it to device from PC terminal (command promt in Windows). You wont be able to access the file if you simply copy it from PC to device.

1. Boot device in TWRP
2. FORMAT data (not wipe)
3. Reboot recovery (no restart of system!!)
2. In shell/command prompt on PC
adb push open_gapps-arm64-9.0-nano-20181011.zip /sdcard/
3. flash open_gapps-arm64-9.0-nano-20181011.zip from TWRP
4. reboot

You can make /data available by formatting /data from TWRP, but you will loose all data. Remember a backup!
And, you will need to do this every boot!
 
Last edited:
Mar 14, 2018
5
0
I have build Android Pie (9.0.0_r10) successfully for Xperia X Performance (f8131) from AOSP source.

Instructions:

extract android-pie-081017.zip ,
Connect phone in fastboot mode (vol-up & power)
flash boot, system, userdata

# fastboot flash boot boot.img
# fastboot flash system system.img
# fastboot flash userdata userdata.img

Download SW_BINARIES_FOR_XPERIA_ANDROID_9.0.6.3_R1_V1_TONE_BETA.ZIP

Unpack SW_BINARIES_FOR_XPERIA_ANDROID_9.0.6.3_R1_V1_TONE_BETA.ZIP to obtain the vendor image.

Connect the device to your computer in Fastboot mode, by pressing volume up while inserting the USB cable. When the device is in Fastboot mode, the LED on the device will be illuminated in blue.

Flash the vendor image by entering the following commands in a terminal window:

# fastboot flash oem SW_binaries_for_Xperia_Android_9.0.6.3_r1_v1_tone_beta.img

Works: everything
Bugs: Adding fingerprint crashes device

Build from SE AOSP, kernel sources link: Sony kernel sources
Link for building from AOSP: Building from AOSP

Links:
Android Pie (9.0.0_r10),Software binaries

XDA:DevDB Information
TheExplorer, ROM for the Sony Xperia X Performance

Contributors
NielDK
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: AOSP

Version Information
Status: Beta
Current Beta Version: 9.0.0_r10

Created 2018-10-08
Last Updated 2018-10-10

dude, do i need to flash gapps too? or this rom allready included gapps? btw thanks for your hard work!
 

NielDK

Inactive Recognized Developer
Jul 13, 2008
539
141
Farum
Thank you! I love the new rom.
Is there any way I can install GApps via TWRP? TWRP keeps failing to mount /data, even though it says decryption is successful.

Yes, you can (and need to, if you want Google apps)

1. Boot device in TWRP
2. In shell/command prompt on PC
adb push open_gapps-arm64-9.0-nano-20181011.zip /sdcard/
3. flash open_gapps-arm64-9.0-nano-20181011.zip from TWRP
4. reboot
 

aravindg

New member
Oct 15, 2018
4
0
Any chance of a build for F8132

First, thank you for building this! I got inspired by you and tried to do the work myself and build for F8132, but after like 3 hours.. the build failed complaining about this:

Code:
FAILED: out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/classes.dex
/bin/bash -c "(rm -rf out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (mkdir -p out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (find out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex/ -maxdepth 1 -name "classes*.dex" | sort | xargs -I{} cp -f {} out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (find out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ -name "classes*.dex" | sort | sed 's/^/--dex=/' | xargs out/host/linux-x86/bin/hiddenapi --light-greylist=out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt )"                                                                                                  
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47] No DEX files specified
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47] Command: out/host/linux-x86/bin/hiddenapi --light-greylist=out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47] Usage: hiddenapi [options]...
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]   --dex=<filename>: specify dex file whose members' access flags are to be set.                                                                                            
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]       At least one --dex parameter must be specified.
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]   --light-greylist=<filename>:
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]   --dark-greylist=<filename>:
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]   --blacklist=<filename>: text files with signatures of methods/fields to be marked                                                                                        
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]       greylisted/blacklisted respectively. At least one list must be provided.                                                                                             
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]   --print-hidden-api: dump a list of marked methods/fields to the standard output.                                                                                         
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]       There is no indication which API category they belong to.                                                                                                            
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]
[  6% 969/15007] build out/target/product/dora/obj/ETC/sepolicy.recovery_intermediates/sepolicy
out/host/linux-x86/bin/checkpolicy:  loading policy configuration from out/target/product/dora/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf                                                                      
out/host/linux-x86/bin/checkpolicy:  policy configuration loaded
out/host/linux-x86/bin/checkpolicy:  writing binary representation (version 30) to out/target/product/dora/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp                                                                    
[  6% 971/15007] target  C++: statsd <= out/target/product/dora/obj/EXECUTABLES/statsd_intermediates/proto/frameworks/base/cmds/statsd/src/statsd_config.pb.cpp
ninja: build stopped: subcommand failed.
13:42:49 ninja failed with: exit status 1

This goes beyond my skills at the point, I'd appreciate any pointers you might have. Or you have the time, a build for F8132 please :)
 

grzegorz.u

Member
Oct 9, 2018
6
0
First, thank you for building this! I got inspired by you and tried to do the work myself and build for F8132, but after like 3 hours.. the build failed complaining about this:

Code:
FAILED: out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/classes.dex
/bin/bash -c "(rm -rf out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (mkdir -p out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (find out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex/ -maxdepth 1 -name "classes*.dex" | sort | xargs -I{} cp -f {} out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (find out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ -name "classes*.dex" | sort | sed 's/^/--dex=/' | xargs out/host/linux-x86/bin/hiddenapi --light-greylist=out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt )"                                                                                                  
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47] No DEX files specified
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47] Command: out/host/linux-x86/bin/hiddenapi --light-greylist=out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47] Usage: hiddenapi [options]...
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]   --dex=<filename>: specify dex file whose members' access flags are to be set.                                                                                            
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]       At least one --dex parameter must be specified.
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]   --light-greylist=<filename>:
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]   --dark-greylist=<filename>:
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]   --blacklist=<filename>: text files with signatures of methods/fields to be marked                                                                                        
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]       greylisted/blacklisted respectively. At least one list must be provided.                                                                                             
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]   --print-hidden-api: dump a list of marked methods/fields to the standard output.                                                                                         
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]       There is no indication which API category they belong to.                                                                                                            
hiddenapi E 10-15 13:42:46  5124  5124 hiddenapi.cc:47]
[  6% 969/15007] build out/target/product/dora/obj/ETC/sepolicy.recovery_intermediates/sepolicy
out/host/linux-x86/bin/checkpolicy:  loading policy configuration from out/target/product/dora/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery.conf                                                                      
out/host/linux-x86/bin/checkpolicy:  policy configuration loaded
out/host/linux-x86/bin/checkpolicy:  writing binary representation (version 30) to out/target/product/dora/obj/ETC/sepolicy.recovery_intermediates/sepolicy.tmp                                                                    
[  6% 971/15007] target  C++: statsd <= out/target/product/dora/obj/EXECUTABLES/statsd_intermediates/proto/frameworks/base/cmds/statsd/src/statsd_config.pb.cpp
ninja: build stopped: subcommand failed.
13:42:49 ninja failed with: exit status 1

This goes beyond my skills at the point, I'd appreciate any pointers you might have. Or you have the time, a build for F8132 please :)

I tried to build it a few times. Every time it took much more time than 3 hours and finally there were some errors. I will not try again. :(
 

sensenku

Member
Aug 31, 2014
27
0
Please make it for Dual Sim cards (F8132) I think android Pie will save battery. I really want stock, natural android instead of modified one.
Thanks beforehand.
 

NielDK

Inactive Recognized Developer
Jul 13, 2008
539
141
Farum
Just to be clear, and answer your question.
Iam not going to make a build for dualsim version. I dont have that device.
 
Status
Not open for further replies.

Top Liked Posts