[SODP][ROM][AOSP] SonyAOSP 13 [Alpha]

Should I continue this project?

  • Yes

    Votes: 14 100.0%
  • No

    Votes: 0 0.0%

  • Total voters
    14
Search This thread

MartinX3

Recognized Contributor
Sep 14, 2014
6,022
3,049
Mars
martinx3.github.io
The Sony Open Devices Project is always happy about volunteers (coding, testing, etc) :)
Also mainlining your favorite snapdragon powered xperia device into the mainline kernel is possible and we will be glad to help you!


Code:
#include <std_disclaimer.h>
/*
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/

This is the AOSP ROM for the Sony Xperia XZ3 (akatsuki)

This ROM build will always mainly based on Sony AOSP Code and maybe include cherry-picks.
I plan to make monthly builds, after a new security patch level, if there is no need for a critical hotfix.

FAQ:
Bugtracker:
Bugreport:
  • A bugreport needs
    Code:
    logcat -b all
    and a way to reproduce the issue.
  • A crash of the system requires the content of the /sys/fs/pstore folder as bug report
    • Be aware that a second reboot erases this folder
  • A crash to the recovery partition requires additionally the content of the /dev/block/by-name/misc partition
    • You get the content via `cat /dev/block/by-name/misc partition > /path/to/output/file.txt`
  • To rescue a not responding phone:
    • VOLUP+POWER for 3 Seconds -> RESTART with one Vibration.
    • VOLUP+POWER for 20 Seconds -> SHUTDOWN with 3 Vibrations.
    • VOLUP+POWER+CAMERA for 30 Seconds -> HARDWARE SHUTDOWN by discharging a capacitor.

Thank you very much for your help, code contribution & testing! (Random order):
  • @jerpelea, the sony employees and their volunteers (people like you and me) coding this wonderful piece of software
  • @dhacke for providing a download server
  • And many thanks to the few donators! :)

A telegram group for technical SODP stuff:
https://t.me/xda_tv
 
Last edited:

MartinX3

Recognized Contributor
Sep 14, 2014
6,022
3,049
Mars
martinx3.github.io
Download & Installation

Download ROM:

Download Drivers:
  • OEM (Tama) binaries
    • Please use the the OEM build which came before my last release, if you getting problems like a not bootable or crashing device.

GCAM Camera App:

Installation with a recovery:
  1. fastboot flash oem _a oem_*.img (Only needed until the device receives mainline support by SODP)
  2. Flash the ROM in a recovery
  3. Reboot into recovery just to make sure you're on the new slot
  4. OpenGapps (Requires TWRP or a custom ROM recovery)
  5. Dual Sim Patcher (Requires TWRP or a custom ROM recovery)
  6. (In case a modification prevents your device from booting) fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Flash the ROM without a recovery:
  1. Extract the payload.bin from the .zip file
  2. Extract the .img files with the Playload Dumper
  3. fastboot flash boot boot.img
  4. fastboot flash dtbo dtbo.img
  5. fastboot -w (Wipes your internal storage and the userdata; only if needed)
  6. Now you got the AOSP recovery, to please continue with the normal installation
  7. fastboot flash oem_a oem_*.img (Only needed until the device receives mainline support by SODP)
  8. fastboot flash vendor vendor.img
  9. fastboot flash system system.img
 
Last edited:
  • Like
Reactions: Hermann2306

nikonsok

Member
Nov 5, 2013
7
4
Sony Xperia XZ3
Hi MartinX3!
Thank you for your work!
I've tried to install this rom on my h9493 and it was bootloop. When it turns on only unlocked bootloader icon showing and after it only black screen. I did everything according to your instructions. But with the project on android 12.1 the situation is exactly the same.

Unfortunately, logcat is empty
Please feel free to contact me for any testing
 

MartinX3

Recognized Contributor
Sep 14, 2014
6,022
3,049
Mars
martinx3.github.io
Hi MartinX3!
Thank you for your work!
I've tried to install this rom on my h9493 and it was bootloop. When it turns on only unlocked bootloader icon showing and after it only black screen. I did everything according to your instructions. But with the project on android 12.1 the situation is exactly the same.

Unfortunately, logcat is empty
Please feel free to contact me for any testing
adb connection works? how can the logcat be empty?
What about the pstore?

12.1 did boot, maybe you need the newest stock 10 booted to the app screen once?
and maybe you flashed the oem wrong?

The new oem for A13 should appear this or next week.
 

JD_9

Member
Feb 20, 2019
11
1
Hello MartinX3! Thank you for putting your effort to develop this firmware. I've akatsuki (SOV-39 variant). Bootloader can't be unlocked. My question is simple, can I flash your firmware?
 

Alex5699

Senior Member
Apr 14, 2013
186
40
St Johns
Sony Xperia Z
Sony Xperia Z1
Hello MartinX3! Thank you for putting your effort to develop this firmware. I've akatsuki (SOV-39 variant). Bootloader can't be unlocked. My question is simple, can I flash your firmware?
no
Hello MartinX3! Thank for putting your effort to develop this firmware. I've akatsuki (SOV-39 variant). Bootloader can't be unlocked. My question is simple, can I flash your firmware?
 
  • Like
Reactions: JD_9
Hello MartinX3! Thank you for putting your effort to develop this firmware. I've akatsuki (SOV-39 variant). Bootloader can't be unlocked. My question is simple, can I flash your firmware?
Short answer:
No as long your bootloader is locked.

Long answer:
You won't be able to flash any rom without unlocking the bootloader. I come from sov39 as well, docomo phone bootloader can't be unlock through normal way. I gave up struggling to find ways to unlock it and pay for unlock tools to unlock the bootloader.
I would suggest to just use stock rom, the price for the tool is almost half the price of my xz3 when I bought it.
Find a reliable seller for the tool if you wish to proceed.

P.S. Dun ask me source, I don't want to hold any responsibility on it.
¯⁠\⁠_⁠ಠ⁠_⁠ಠ⁠_⁠/⁠¯
 
  • Like
Reactions: JD_9

JD_9

Member
Feb 20, 2019
11
1
Short answer:
No as long your bootloader is locked.

Long answer:
You won't be able to flash any rom without unlocking the bootloader. I come from sov39 as well, docomo phone bootloader can't be unlock through normal way. I gave up struggling to find ways to unlock it and pay for unlock tools to unlock the bootloader.
I would suggest to just use stock rom, the price for the tool is almost half the price of my xz3 when I bought it.
Find a reliable seller for the tool if you wish to proceed.

P.S. Dun ask me source, I don't want to hold any responsibility on it.
¯⁠\⁠_⁠ಠ⁠_⁠ಠ⁠_⁠/⁠¯
It's not worth unlocking the XZ3 now. I'll use it with the stock firmware. Sony's version of Android 10 is just bad and even slower than heavily bloated firmware such as OneUI. That's why I wanted to try a different OS. Anyway, thanks for the reply!
 
  • Like
Reactions: xanlimit

Alex5699

Senior Member
Apr 14, 2013
186
40
St Johns
Sony Xperia Z
Sony Xperia Z1
It's not worth unlocking the XZ3 now. I'll use it with the stock firmware. Sony's version of Android 10 is just bad and even slower than heavily bloated firmware such as OneUI. That's why I wanted to try a different OS. Anyway, thanks for the reply!
why not root remove bloatware install and install some handy magisk module, that's what i use to run before i flash android 12
 
  • Like
Reactions: JD_9

JD_9

Member
Feb 20, 2019
11
1
why not root remove bloatware install and install some handy magisk module, that's what i use to run before i flash android 12
Wait, is there a way to root SOV39 without tampering with the bootloader? There's a way IK of but it's a temporary root solution which will phase out after rebooting the phone. I've removed all of the bloatware using adb shell. So, for me it's not worth paying $30. Don't you agree?
 

Alex5699

Senior Member
Apr 14, 2013
186
40
St Johns
Sony Xperia Z
Sony Xperia Z1
well my bl is unlocked and im also using a sov39 ( bought it unlock off ebay ) .

cant you root it using magisk ? get the stock boot.img patch it using magisk and then fastboot flash boot.img in the system ?? should work on lock bl. please correct me if im wrong as i know there is a way to root even if your bl is locked
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    The Sony Open Devices Project is always happy about volunteers (coding, testing, etc) :)
    Also mainlining your favorite snapdragon powered xperia device into the mainline kernel is possible and we will be glad to help you!


    Code:
    #include <std_disclaimer.h>
    /*
    *
    * We are 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 us for messing up your device, we will laugh at you.
    *
    */

    This is the AOSP ROM for the Sony Xperia XZ3 (akatsuki)

    This ROM build will always mainly based on Sony AOSP Code and maybe include cherry-picks.
    I plan to make monthly builds, after a new security patch level, if there is no need for a critical hotfix.

    FAQ:
    Bugtracker:
    Bugreport:
    • A bugreport needs
      Code:
      logcat -b all
      and a way to reproduce the issue.
    • A crash of the system requires the content of the /sys/fs/pstore folder as bug report
      • Be aware that a second reboot erases this folder
    • A crash to the recovery partition requires additionally the content of the /dev/block/by-name/misc partition
      • You get the content via `cat /dev/block/by-name/misc partition > /path/to/output/file.txt`
    • To rescue a not responding phone:
      • VOLUP+POWER for 3 Seconds -> RESTART with one Vibration.
      • VOLUP+POWER for 20 Seconds -> SHUTDOWN with 3 Vibrations.
      • VOLUP+POWER+CAMERA for 30 Seconds -> HARDWARE SHUTDOWN by discharging a capacitor.

    Thank you very much for your help, code contribution & testing! (Random order):
    • @jerpelea, the sony employees and their volunteers (people like you and me) coding this wonderful piece of software
    • @dhacke for providing a download server
    • And many thanks to the few donators! :)

    A telegram group for technical SODP stuff:
    https://t.me/xda_tv
    2
    Hello MartinX3! Thank you for putting your effort to develop this firmware. I've akatsuki (SOV-39 variant). Bootloader can't be unlocked. My question is simple, can I flash your firmware?
    no
    1
    Download & Installation

    Download ROM:

    Download Drivers:
    • OEM (Tama) binaries
      • Please use the the OEM build which came before my last release, if you getting problems like a not bootable or crashing device.

    GCAM Camera App:

    Installation with a recovery:
    1. fastboot flash oem _a oem_*.img (Only needed until the device receives mainline support by SODP)
    2. Flash the ROM in a recovery
    3. Reboot into recovery just to make sure you're on the new slot
    4. OpenGapps (Requires TWRP or a custom ROM recovery)
    5. Dual Sim Patcher (Requires TWRP or a custom ROM recovery)
    6. (In case a modification prevents your device from booting) fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

    Flash the ROM without a recovery:
    1. Extract the payload.bin from the .zip file
    2. Extract the .img files with the Playload Dumper
    3. fastboot flash boot boot.img
    4. fastboot flash dtbo dtbo.img
    5. fastboot -w (Wipes your internal storage and the userdata; only if needed)
    6. Now you got the AOSP recovery, to please continue with the normal installation
    7. fastboot flash oem_a oem_*.img (Only needed until the device receives mainline support by SODP)
    8. fastboot flash vendor vendor.img
    9. fastboot flash system system.img
    1
    I managed to make a system log!
    1
    Hello MartinX3! Thank you for putting your effort to develop this firmware. I've akatsuki (SOV-39 variant). Bootloader can't be unlocked. My question is simple, can I flash your firmware?
    no
    Hello MartinX3! Thank for putting your effort to develop this firmware. I've akatsuki (SOV-39 variant). Bootloader can't be unlocked. My question is simple, can I flash your firmware?