FORUMS
Remove All Ads from XDA

[ROM][7.1.2] AOSP Nougat for Xperia X Performance

2,161 posts
Thanks Meter: 12,646
 
By AdrianDC, Recognized Developer on 29th January 2017, 11:20 AM
Post Reply Email Thread

Code:
#include <std_disclaimer.h>
/*
 * Your warranty is now void.
 *
 * I am 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 me for messing up your device, I will laugh at you.
 */

Requirements
Xperia X Performance : Meant for F8131, others to verify and would need changes
Bootloader : Unlocked bootloader to flash new bootimage
Stock version : Recent Nougat Stock release (39.2.A.0.xxx)

Downloads Links
AOSP 7.x Nougat (Unlocked Bootloader) :
Test : https://mega.nz/#F!D98GiJrA!trPA7QZGkLEju5Qv_cz-Og

Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM64, Android 7.x, Micro or Pico)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

Recommended Recovery (optional) :
MultiROM TWRP or Normal TWRP : https://forum.xda-developers.com/sho...02&postcount=2

About AOSP : Repositories available on https://android.googlesource.com/
About GApps : Flash the GApps before the first boot. If not, a clean flash is recommended.

Flashing and updating
AOSP clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
- (Optional) Wipe the data & cache (Backup to make sure not to lose data)
- Flash the AOSP ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot

AOSP update / upgrade :
- (Information) Don't wipe anything unless you want to
- Flash the latest AOSP ROM zip from the Recovery
- (Optional) Flash the GApps if you want to, otherwise preserved.
- (Optional) Every additional zip you want to flash
- Reboot

About the builds
Development project : https://github.com/AdrianDC/aosp_development_sonyaosp
Device tree : https://github.com/AdrianDC/device-s...commits/master
Kernel sources : https://github.com/AdrianDC/kernel-s...p/LA.UM.5.5.r1
Vendor blobs : http://developer.sonymobile.com/open...and-resources/

Issues and reports
- Report issues only if you use the ROM kernel
- If an additional mod is installed, make sure it's unrelated, and mention it
- Make sure the issue wasn't discussed earlier in the threads
- Share a log of the error with CatLog for example

Q&A - FAQ
Q : Is root access included into AOSP ?
A : No but you can root with SuperSU.

Q : Is the ROM suited for daily usage ? With GApps too ?
A : Not yet, work in progress. OpenGApps recommended.

Q : I see errors during the installation, is it normal ?
A : If it is E:unknown command [log] , ignore it for now

Q : Where can I change the Quick Tiles and Status Bar ?
A : Long press the Settings icon in the notifications drawer.
> You will have access to the SystemUI Tuner from Marshmallow.

Q : The AOSP Keyboard does not support swipe gestures ?
A : UNTESTED YET: Unfortunately the sources for swipe gestures are not available
and Google still requires their prebuilt library to be there for AOSP Keyboard.
Download the following libjni_latinimegoogle.so API 23 from OpenGApps
and push it to /system/lib/libjni_latinimegoogle.so using root access,
or use my one-time install zips : https://mega.nz/#F!ThEAkCRa!byhSwuoTbf6lnC1JxgKrig.

AOSP available for Dora also thanks to :
- The Android Open Source Project
- The Sony Open Devices Program

XDA:DevDB Information
AOSP Nougat 7.1.2, ROM for the Sony Xperia X Performance

Contributors
Adrian DC
Source Code: https://android.googlesource.com/

ROM OS Version: 7.x Nougat
Based On: AOSP

Version Information
Status: No Longer Updated

Created 2017-01-29
Last Updated 2019-08-06
The Following 14 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
 
 
29th January 2017, 11:20 AM |#2  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
Reserved
FEATURES AND ISSUES

Official platform functionality list: http://developer.sonymobile.com/open...functionality/

Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- WiFi : Ok
- Bluetooth : Ok
- WiFi Hotspot : Ok
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Ok
- Lights : Ok
- MicroSD : Ok, only Ext4 support missing from AOSP
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- Fingerprint sensor : Partially / broken
- AOSP sensors : Ok
- Touchscreen : Ok
- FM Radio : Broken
- Vibrator : Ok
- Microphone : Ok
- Audio & external audio : Ok
- Bluetooth audio : Ok
- NFC : Ok
- Kernel : Ok, Work in Progress
- Graphics : Ok, Work in Progress
- 3D Rendering : Ok, Work in Progress
- Clock : Ok
- Offline Charging : Broken, boots to Android
- USB OTG : Broken
- Encryption : Status unknown
- SEPolicies : Permissive

IMPORTANT FEATURES TO KNOW
  • Boot sequence : Once the LEDs light up :
    - Press Volume + to open the FOTA recovery (TWRP usually) if available
  • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
Attached Thumbnails
Click image for larger version

Name:	screenshot-20170424-191007.jpg
Views:	2146
Size:	75.9 KB
ID:	4124969   Click image for larger version

Name:	screenshot-20170424-191058.jpg
Views:	2162
Size:	73.5 KB
ID:	4124970   Click image for larger version

Name:	screenshot-20170424-191140.jpg
Views:	2050
Size:	81.2 KB
ID:	4124971   Click image for larger version

Name:	screenshot-20170424-191113.png
Views:	1958
Size:	235.8 KB
ID:	4124972   Click image for larger version

Name:	screenshot-20170424-191126.png
Views:	1872
Size:	79.2 KB
ID:	4124973   Click image for larger version

Name:	screenshot-20170424-193157.png
Views:	1968
Size:	144.8 KB
ID:	4124978  
The Following 4 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
29th January 2017, 11:20 AM |#3  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
Reserved
Recent branches commits
Changes log (https://developer.sonymobile.com/ope...latest-updates)
  • 09/06 : New release on Android 7.1.2_r17 sources (June CVE patches), new blobs (v05). Improved camera and stability / Fixed video recording
  • 24/04 UNRELEASED : New release on Android 7.1.2_r2 sources (April CVE patches / Pixel), new blobs (v04). Camera minor hardware risk.
  • 13/03 : New release on Android 7.1.1_r25 sources (March CVE patches / Pixel)
  • 25/02 : Maintenance release with update device and kernel sources
  • 15/02 : New release with updated blobs (AOSP_N_MR1_DEV_v03)
  • 11/02 : New release on Android 7.1.1_r20 sources (February CVE patches / Pixel)
  • 29/01 : Initial release for Dora, Android 7.1.1_r9

Original AOSP 7.1 sources with following relevant additions
  • Build: Backup tool full support (GApps)
  • Build: Minor improvements for development purposes
  • Core: Disabled flash_recovery service from AOSP
  • Music: Minor fix to permissions
  • Toybox: Support for init_sony boot selection

Current local manifest
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://android.googlesource.com/platform/manifest -->
<manifest>

  <!-- See https://github.com/AdrianDC/aosp_development_sonyaosp -->

</manifest>
The Following 4 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
30th January 2017, 09:03 AM |#4  
Recognized Contributor
Flag Hervey Bay
Thanks Meter: 974
 
More
Hi @Adrian DC, should this be flashed from nougat only?
I flashed from M (.297) last night and roughly five minutes after the amazingly fast boot up, I had a system freeze, had to do power/volume combo to restart. Also had an issue with twrp not responding to touch at all. Im now back on N (.386) and wondering if I should flash from here. Thanks.
30th January 2017, 10:02 AM |#5  
Senior Member
Flag Amsterdam
Thanks Meter: 7
 
Donate to Me
More
Yeaa! Finally some progress on roms for my x performance! Was looking for a ss or htc already
31st January 2017, 09:32 AM |#6  
haruryu's Avatar
Senior Member
Flag Amersfoort
Thanks Meter: 37
 
More
Yes! nice one. will be checking this out!
13th March 2017, 04:06 AM |#7  
Junior Member
Thanks Meter: 0
 
More
Great!!! Just wanna know hows the camera quality, and is it stable to use as daily driver?
17th April 2017, 07:16 PM |#8  
Member
Thanks Meter: 17
 
More
Is support for dual sim(f8132)?
The Following User Says Thank You to Longerski For This Useful Post: [ View ] Gift Longerski Ad-Free
18th April 2017, 09:25 PM |#9  
Member
Thanks Meter: 9
 
More
I want to install this as my primary rom but it is always asking me for a password after the installation. I have performed a clean install and I also wiped the dalvik/cache but nothing.

Is there a way to bypass this?
19th April 2017, 03:51 AM |#10  
Recognized Contributor
Flag Hervey Bay
Thanks Meter: 974
 
More
Quote:
Originally Posted by 13lizzard

I want to install this as my primary rom but it is always asking me for a password after the installation. I have performed a clean install and I also wiped the dalvik/cache but nothing.

Is there a way to bypass this?

Enter recovery and wipe data, dalvik cache and cache at least 3 times. Then reboot.
19th April 2017, 06:28 AM |#11  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
There's no 3 times cache wiping or such way to fix it.

You have to do a factory reset to have the data partition formatted instead of 'wiped',
that way the encryption sector is properly erased.
The Following User Says Thank You to AdrianDC For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes