[ROM][SNAPSHOT][7.1.2] AOSP Nougat for Xperia T/TX/V

AdrianDC

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

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.
 */

Downloads Links
AOSP 7.x Nougat (Unlocked Bootloader) :
Xperia T (Mint) - 7.1.2 : https://mega.nz/#F!H5cyEK6b!4Y6PuM434TYyNxICj9w91Q
Xperia TX (Hayabusa) - 7.1.2 : https://mega.nz/#F!npcljbAA!RWB52EuxwFFSwBjxUSh7bQ
Xperia V (Tsubasa) - 7.1.2 : https://mega.nz/#F!i9NVxBDa!kHCeH3DAAz16rz4WOeedow

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

Recommended Recovery (optional) :
TWRP 3.0 : http://forum.xda-developers.com/xpe...t/recovery-twrp-3-0-0-touch-recovery-t3319588

Informations and references :
Kernel CVEs : Security patches status https://cve.lineageos.org/android_kernel_sony_msm8x60
About AOSP : Repositories available on https://android.googlesource.com/


Unification of the user partitions into UserData
Read more about the UserData unification :
- https://wiki.lineageos.org/devices/mint/


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 7 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 7 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 now root with my Boot Bridge and a superuser tool.

Q : Is the ROM suited for daily usage ?
A : Yes completely. 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 : 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.​


AOSP available for Xperia Blue devices also thanks to :
- Google AOSP
- The LineageOS Team
- CodeAurora Forums
- The CyanogenMod Team​


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

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

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: AOSP

Version Information
Status: Snapshot

Created 2016-10-30
Last Updated 2020-08-15
 

AdrianDC

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

FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- Partitions (Data, Cache) : Ext4 supported
- Dual Recovery : Ok (see below)
- WiFi : Ok (real SONY MAC address)
- Bluetooth : Ok (real SONY MAC address)
- WiFi Hotspot : Ok (2.4GHz and 5GHz)
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Ok
- Lights : Ok
- MicroSD : Ok, only Ext4 support missing from ROM
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- AOSP sensors : Ok
- FM Radio : Ok
- Vibrator : Ok
- Microphone : Ok
- Audio & external audio : Ok
- Bluetooth audio : Ok
- NFC : Ok
- Kernel : Ok
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok (RTC real hardware clock, in TWRP recovery too)
- Powered-off alarm : Ok
- Offline Charging : Ok
- Encryption : Status unknown
- UserData Unification : Ok
- SEPolicies : Fully enforced

IMPORTANT FEATURES TO KNOW
  • Boot sequence : Once the LEDs light up :
    - Press Volume - to open CyanogenRecovery,
    - Press Volume + to open the FOTA recovery (TWRP usually) if available
  • Powered-off alarm : When you have set an alarm
    - If you power down the device, it will wake automatically 5 minutes before
    - If you let the device charge offline, it will automatically reboot 5 minutes before
  • Gestures : Events like hand-wave and pocket removal can be enabled in the Settings
  • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
 

Attachments

Last edited:

AdrianDC

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

Recent branches commits

Changes log
  • 31/12 : New release on Android 7.1.2_r36 sources (October CVE patches)
  • 14/07 : New release on Android 7.1.2_r24 sources (July CVE patches) & kernel updates
  • 01/07 : Updated kernel vulnerabilities patches, fixes and external storage for Camera2
  • 18/06 : New release on Android 7.1.2_r17 sources (June CVE patches / Pixel) & Jelly Browser updates
  • 13/05 : Updated kernel vulnerabilities patches, improved Jelly Browser app
  • 03/05 : New release on Android 7.1.2_r8 sources (May patches / Pixel) & Camera2 fixes
  • 26/04 : New release with updated and unified AOSP 7.1.2 / LineageOS device sources
  • 13/03 : New release on Android 7.1.1_r25 sources (March CVE patches / Pixel)
  • 07/02 : New release on Android 7.1.1_r20 sources (February CVE patches / Pixel)
  • 29/01 : Updated device sources, fixed AOSP Recovery build
  • 07/01 : New release on Android 7.1.1_r9 sources (January CVE patches)
  • 09/12 : Updated device sources, tethering kernel support added for AOSP 7.1.1
  • 07/12 : New release on Android 7.1.1_r4 sources (About)
  • 25/11 : Some Pixel colours and round icons, Downloads play/pause, minor fixes (About)
  • 16/11 : Google SetupWizard fixes, minor improvements, dexopt disabled (About)
  • 12/11 : Original RIL, USSD fixed, cleanups, Android 7.1.0_r7 (About)
  • 30/10 : Initial release for Mint, Hayabusa and Tsubasa, Android 7.1.0_r4

Original AOSP 7.1 sources with following relevant additions
  • Blue devices trees, kernel and vendor
  • Bionic: Support for SHIMs (Camera)
  • Build: Backup tool full support (GApps)
  • NFC: Proper support & removed log spam
  • Toybox: Support for init_sony boot selection
  • AV: Camera support for Nougat
  • AV: Initial camcorder partial support
  • Camera2: Fixes for wrongly rotated photos and improvements
  • Screenshots: Fix MTP list updates
  • Settings: Remove Google system updates
  • UI: Add reboot option to power menu
  • UI: Various efficiency improvements and fixes
  • UI: Some Pixel designs like NavBar and colours
  • Downloads: Add the ability to Play/Pause
  • Telephony: Support for older RIL layers
  • Telephony: Provide default networks APNs from CM
  • Audio: 8960 adapted HAL and FM support
  • FM: Fully implemented with AOSP FM Radio
  • Music: Minor fix to permissions
  • Settings: Minor visual rendering improvements
  • Healthd: Support for Huashan offline charger
  • Core: Disabled flash_recovery service from AOSP
  • Sepolicies: Minimal changes and fully enforced ROM

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_sony8960 -->

</manifest>
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,943
208
Île-de-France
adriandc.github.io
A new release will be coming in the next hours, adding fixes for the Google SetupWizard
on clean installation. Therefore no more permanent crashes from the wizard on boot
and the ability to fully use the Google SetupWizard to configure the phone & have provision.
(access to the navigation keys, the QuickSettings & others features that are locked without it)


The reason behind these issues were that the Google SetupWizard requires a lot of memory
to compile with ART, and 1024MB RAM devices configurations did not expect such a heavy usage.
The fix is here for those interested: https://github.com/AdrianDC/aosp_development_sony8960/commits/frameworks_native

It also includes a small UI change that was requested quite a lot,
I'll leave you judge of that, see the screenshot... ;)

Also includes some improvements I did since the last build for CM 14.1.
 

Attachments

Last edited:

nhicko95

Senior Member
A new release will be coming in the next hours, adding fixes for the Google SetupWizard
on clean installation. Therefore no more permanent crashes from the wizard on boot
and the ability to fully use the Google SetupWizard to configure the phone & have provision.
(access to the navigation keys, the QuickSettings & others features that are locked without it)

The reason behind these issues were that the Google SetupWizard requires a lot of memory
to compile with ART, and 1024MB RAM devices configurations did not expect such a heavy usage.
The fix is here for those interested: https://github.com/AdrianDC/aosp_development_sony8960/commits/frameworks_native

It also includes a small UI change that was requested quite a lot,
I'll leave you judge of that, see the screenshot... ;)

Also includes some improvements I did since the last build for CM 14.1.
Im still waiting :)
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,943
208
Île-de-France
adriandc.github.io
If I want to switch from CM14.1 to AOSP 7.1.0, how about the data migration? Do I have to revert it, or does this also work on AOSP 7.1.0?
Thanks in advance!
Won't work properly because both have different databases, especially for the telephony
where CyanogenMod bumps the database version to add the support of legacy & irregular telephony elements.
 
  • Like
Reactions: Klaus N.