{Z}[WORKSHOP] - AOSP - Android 4.2.2 - FreeXperia Project

jerpelea

Senior Recognized Developer
Nov 7, 2006
7,455
40,144
0
Lund
sites.google.com
Workshop thread for Google AOSP

If you want to have 0 day software then lets start making it

To use any custom software you have to unlock bootloader following sony guide

Thanks to
Sony for providing us the chance to have official AOSP support
All developers that work or worked on android making an dream become reality
 
Last edited:

jerpelea

Senior Recognized Developer
Nov 7, 2006
7,455
40,144
0
Lund
sites.google.com
This guide is designed for an clean install of Ubuntu-server 13.04 LINK

follow all steps including

mkdir ~/android
cd ~/android

then we will init AOSP repo instead of AOPK

since we want to use 0 day software we will init master branch (default)
$ repo init -u https://android.googlesource.com/platform/manifest

then sync it

$ repo sync -jthread_number

!! thread number can speedup download if you have an good internet connection (any number 4->48 is)
!! depending on your connection can take a lot of time ..... please be patient!

after sync is finished we have to add sony repos

copy attached xml file in repo (remove fake zip extension)

mv sonyxperiadev.xml.zip .repo/local_manifests/sonyxperiadev.xml

sync again to get sony repos

$repo sync

get sony blobs and unpack them in /vendor/sony BLOB_LINK


source build/envsetup.sh

select target
lunch <enter>chose your device number and press enterbuild android images
make -j<cpu thread number>
ex: make -j4 (for i5)!! Take an box of beer and enjoy build will take 5min - 1 day depending on pcFind your images
find -type f |grep *.img will display your img files

flash images
fastboot flash partition image.img

ex:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata data.img
 

Attachments

Last edited:

feizylong

Member
Feb 21, 2008
25
14
0
github account?

Traceback (most recent call last):
File "/home/support/android/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/support/android/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/support/android/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/support/android/.repo/repo/subcmds/init.py", line 352, in Execute
self._ConfigureUser()
File "/home/support/android/.repo/repo/subcmds/init.py", line 253, in _ConfigureUser
name = self._Prompt('Your Name', mp.UserName)
File "/home/support/android/.repo/repo/project.py", line 608, in UserName
self._LoadUserIdentity()
File "/home/support/android/.repo/repo/project.py", line 621, in _LoadUserIdentity
u = self.bare_git.var('GIT_COMMITTER_IDENT')
File "/home/support/android/.repo/repo/project.py", line 2202, in runner
p.stderr))
error.GitError: manifests var:
*** Please tell me who you are.

Run

git config --global user.email "[email protected]"
git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got '[email protected](none)')
 

BoRoU

Senior Member
Sep 25, 2007
224
75
0
Valencia
I decided to try it yesterday as directed by Sony. All perfect but still does not work neither GSM nor the camera. I guess then the repo sync with the new binaries will be much faster right? We do not know how they progress to solve the two major problems? Thxs.
 

jerpelea

Senior Recognized Developer
Nov 7, 2006
7,455
40,144
0
Lund
sites.google.com
I decided to try it yesterday as directed by Sony. All perfect but still does not work neither GSM nor the camera. I guess then the repo sync with the new binaries will be much faster right? We do not know how they progress to solve the two major problems? Thxs.
this is an workshop thread do the ideea is to try and solve bugs ourselves then push to fixes to sony github
 
  • Like
Reactions: gm007 and DooMLoRD

BoRoU

Senior Member
Sep 25, 2007
224
75
0
Valencia
I I have no programming knowledge I can help?
If I build, compiled and installed the ROM but I do not know what else I can do. I put at your disposal for whatever you want.

Greetings.
 

BoRoU

Senior Member
Sep 25, 2007
224
75
0
Valencia
LOL I hope so. Unfortunately I'm too old and I have very little time for these appliances. Still try to help if only you to do testing work.


Greetings.
 
G

GuestK00328

Guest
I got the same error as somebody else did earlier...
Code:
Traceback (most recent call last):
  File "/home/daniel/android/.repo/repo/main.py", line 414, in <module>
    _Main(sys.argv[1:])
  File "/home/daniel/android/.repo/repo/main.py", line 390, in _Main
    result = repo._Run(argv) or 0
  File "/home/daniel/android/.repo/repo/main.py", line 138, in _Run
    result = cmd.Execute(copts, cargs)
  File "/home/daniel/android/.repo/repo/subcmds/init.py", line 352, in Execute
    self._ConfigureUser()
  File "/home/daniel/android/.repo/repo/subcmds/init.py", line 253, in _ConfigureUser
    name  = self._Prompt('Your Name', mp.UserName)
  File "/home/daniel/android/.repo/repo/project.py", line 608, in UserName
    self._LoadUserIdentity()
  File "/home/daniel/android/.repo/repo/project.py", line 621, in _LoadUserIdentity
    u = self.bare_git.var('GIT_COMMITTER_IDENT')
  File "/home/daniel/android/.repo/repo/project.py", line 2202, in runner
    p.stderr))
error.GitError: manifests var: 
*** Please tell me who you are.

Run

  git config --global user.email "[email protected]"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got '[email protected](none)')
Apparently my name/email must be inputted (is that a word?) somewhere before I can continue. Any ideas?

Never mind, I fixed it by having a read through the terminal's response.
These comands must be run:
$ git config --global user.email "[email protected]"
$ git config --global user.name "Your Name"
 
Last edited:

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,194
39,692
113
Pune
This guide is designed for an clean install of Ubuntu-server 13.04 LINK

follow all steps including

mkdir ~/android
cd ~/android

then we will init AOSP repo instead of AOPK

since we want to use 0 day software we will init master branch (default)
$ repo init -u https://android.googlesource.com/platform/manifest

then sync it

$ repo sync -jthread_number

!! thread number can speedup download if you have an good internet connection (any number 4->48 is)
!! depending on your connection can take a lot of time ..... please be patient!

after sync is finished we have to add sony repos

copy attached xml file in repo (remove fake zip extension)

mv sonyxperiadev.xml.zip .repo/local_manifests/sonyxperiadev.xml

sync again to get sony repos

$repo sync

get sony blobs and unpack them in /vendor/sony BLOB_LINK


what is next step?

sources are synced and ready