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

Search This thread

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,968
Île-de-France
adriandc.github.io
android_nougat-300x288.png

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/showpost.php?p=69036502&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


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: Snapshot

Created 2017-01-29
Last Updated 2020-08-15
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,968
Île-de-France
adriandc.github.io
Reserved

FEATURES AND ISSUES

Official platform functionality list: http://developer.sonymobile.com/open-devices/current-platform-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
 

Attachments

  • screenshot-20170424-191007.jpg
    screenshot-20170424-191007.jpg
    75.9 KB · Views: 2,479
  • screenshot-20170424-191058.jpg
    screenshot-20170424-191058.jpg
    73.5 KB · Views: 2,501
  • screenshot-20170424-191140.jpg
    screenshot-20170424-191140.jpg
    81.2 KB · Views: 2,355
  • screenshot-20170424-191113.png
    screenshot-20170424-191113.png
    235.8 KB · Views: 2,252
  • screenshot-20170424-191126.png
    screenshot-20170424-191126.png
    79.2 KB · Views: 2,163
  • screenshot-20170424-193157.png
    screenshot-20170424-193157.png
    144.8 KB · Views: 2,290
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,968
Île-de-France
adriandc.github.io
Reserved

Recent branches commits

Changes log (https://developer.sonymobile.com/open-devices/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>
 
Last edited:

Beetle84

Recognized Contributor
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.
 

13lizzard

Member
Feb 1, 2011
39
9
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?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    android_nougat-300x288.png

    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/showpost.php?p=69036502&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


    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: Snapshot

    Created 2017-01-29
    Last Updated 2020-08-15
    4
    Reserved

    FEATURES AND ISSUES

    Official platform functionality list: http://developer.sonymobile.com/open-devices/current-platform-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
    4
    Reserved

    Recent branches commits

    Changes log (https://developer.sonymobile.com/open-devices/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>
    1
    Is support for dual sim(f8132)?
    1
    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.