[LOLIPOP] Xperia AOSP Project

Search This thread

s1dest3pnate

Senior Member
Jun 12, 2010
280
37
Sony Xperia 5
Would unlocking the bootloader and installing this eventual ROM that's based off of Sony's source code not be impacted by this warning from Sony (meaning the DRM security keys would be intact?

http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
Certain pre-loaded content on your device may also be inaccessible due to the removal of DRM security keys. For high-end devices running recent software versions, for instance Xperia Z3, the removal of DRM security keys may affect advanced camera functionality. For example, noise reduction algorithms might be removed, and performance when taking photos in low-light conditions might be affected. The secure user data partition may also become inaccessible, and you will not be able to get any more official software upgrades if you unlock the boot loader.
 

iBuzman

Senior Member
Mar 7, 2011
1,437
654
Melbourne
Sony Xperia XA2
the proprietary software thar uses drm is not part of aosp

more the point re this lollipop source: camera and phone modem are disabled ~ so no daily driver for a while yet.

I will post results of my first build in this thread (give me a few hours).

update: build failed..
(something to do with bluetooth ~ checked remotely so no details yet)

try again later
 
Last edited:

dc416

Member
Oct 8, 2014
37
17
the proprietary software thar uses drm is not part of aosp

more the point re this lollipop source: camera and phone modem are disabled ~ so no daily driver for a while yet.

I will post results of my first build in this thread (give me a few hours).

update: build failed..
(something to do with bluetooth ~ checked remotely so no details yet)

try again later

I'll also build but will not be installing until our gurus fix the camera and modem.
 

iBuzman

Senior Member
Mar 7, 2011
1,437
654
Melbourne
Sony Xperia XA2
rebuilding now, java was still 6 defaulted not java 7, plus a system folder missing.. fingers crossed..

---------- Post added at 12:24 PM ---------- Previous post was at 12:09 PM ----------


@jerpelea

cd external/libnfc-nci/

git cherry-pick 83cf98d0a5018e023eb9cc8b4e394957f9a6989f

FYI - throws out a "fatal: bad object" error

thanks
 
Last edited:

iBuzman

Senior Member
Mar 7, 2011
1,437
654
Melbourne
Sony Xperia XA2
no good for my builds.. bluetooth errors during build stopping build approx 2hrs into "make" process..

I don't know how to fix so will hold off on any more builds until after source updated or somebody else builds without error.
 
Last edited:
  • Like
Reactions: Fruktsallad

Untouchab1e

Senior Member
Apr 11, 2007
1,252
802
no good for my builds.. bluetooth errors during build stopping build approx 2hrs into "make" process..

I don't know how to fix so will hold off on any more builds until after source updated or somebody else builds without error.

What kind of errors are you getting? Im compiling now so will see how that goes.
 

iBuzman

Senior Member
Mar 7, 2011
1,437
654
Melbourne
Sony Xperia XA2
^^ I'll kick off another build, but resetting up first, will capture error details then, it's something along the lines of:
/android/external/bluetooth <- android/external/bluetooth.. something something
make stopped with jobs still to run (something like that)
definitely bluetooth each time and suggests something missing.

deleted all repos/android folder etc and re-syncing now (just in case change from 4.4.4 to 5.0.0 in repos is causing issues. probably a few hours before next attempt.
 
Last edited:
  • Like
Reactions: vittogn

jerpelea

Senior Recognized Developer
Nov 7, 2006
7,474
40,176
Lund
sites.google.com
thanks for your message
guide updated to cherry-pick nfc from google review
br
J

rebuilding now, java was still 6 defaulted not java 7, plus a system folder missing.. fingers crossed..

---------- Post added at 12:24 PM ---------- Previous post was at 12:09 PM ----------


@jerpelea

cd external/libnfc-nci/

git cherry-pick 83cf98d0a5018e023eb9cc8b4e394957f9a6989f

FYI - throws out a "fatal: bad object" error

thanks
 

XeKToReX

Senior Member
Apr 8, 2010
95
28
Melbourne
^^ I'll kick off another build, but resetting up first, will capture error details then, it's something along the lines of:
/android/external/bluetooth <- android/external/bluetooth.. something something
make stopped with jobs still to run (something like that)
definitely bluetooth each time and suggests something missing.

deleted all repos/android folder etc and re-syncing now (just in case change from 4.4.4 to 5.0.0 in repos is causing issues. probably a few hours before next attempt.

I'm getting the same thing when building for D6503, fair noob here but i'll let you know if I find anything.

Code:
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/src/btif_util.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_ag_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_dm_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_fs_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_gattc_co.c
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c: In function 'bta_av_audio_sink_getconfig':
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: error: 'p_sink' undeclared (first use in this function)
                 if (bta_av_co_audio_sink_has_scmst(p_sink))
                                                    ^
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: note: each undeclared identifier is reported only once for each function it appears in
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_gatts_co.c
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/../btif/co/bta_av_co.o] Error 1
make: *** Waiting for unfinished jobs....
external/sqlite/dist/sqlite3.c: In function 'fts3SnippetFunc':
external/sqlite/dist/sqlite3.c:143651:11: warning: 'iS' may be used uninitialized in this function [-Wmaybe-uninitialized]
         if( iS>iBestScore ){
           ^
external/sqlite/dist/sqlite3.c:143643:13: note: 'iS' was declared here
         int iS;
             ^
make: *** wait: No child processes.  Stop.

#### make failed to build some targets (33:43 (mm:ss)) ####
 

XeKToReX

Senior Member
Apr 8, 2010
95
28
Melbourne
SSD makes a difference! Seems like others have built it for the Z2, glad its not just me though, I'd have just blown the is away and started again lol

Sent from my D6503 using xda-developers.com, powered by appyet.com
 

dragonstalker

Senior Member
Jan 1, 2008
1,914
1,303
Fort Myers, Fla
On each command you will have to select the version of java you want to use. This command is helpful if you also do other coding.

sudo update-alternatives --config java
sudo update-alternatives --config javac
sudo update-alternatives --config jar
sudo update-alternatives --config javadoc

I've included the master from jerpelea's branch in case anybody is having issues and needs it quickly


After i get out of class today i'm going to run through android.com and see what i can find out about the new compiling method for Android L. I'm sure there's something we've all missed.
 

Attachments

  • device-sony-leo-master.zip
    6.2 MB · Views: 9

jerpelea

Senior Recognized Developer
Nov 7, 2006
7,474
40,176
Lund
sites.google.com
bluetooth patch pushed on github

enjoy

I'm getting the same thing when building for D6503, fair noob here but i'll let you know if I find anything.

Code:
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/src/btif_util.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_ag_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_dm_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_fs_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_gattc_co.c
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c: In function 'bta_av_audio_sink_getconfig':
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: error: 'p_sink' undeclared (first use in this function)
                 if (bta_av_co_audio_sink_has_scmst(p_sink))
                                                    ^
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: note: each undeclared identifier is reported only once for each function it appears in
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_gatts_co.c
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/../btif/co/bta_av_co.o] Error 1
make: *** Waiting for unfinished jobs....
external/sqlite/dist/sqlite3.c: In function 'fts3SnippetFunc':
external/sqlite/dist/sqlite3.c:143651:11: warning: 'iS' may be used uninitialized in this function [-Wmaybe-uninitialized]
         if( iS>iBestScore ){
           ^
external/sqlite/dist/sqlite3.c:143643:13: note: 'iS' was declared here
         int iS;
             ^
make: *** wait: No child processes.  Stop.

#### make failed to build some targets (33:43 (mm:ss)) ####
 

Top Liked Posts