This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I build Android image from Android SDK myself?
#1
Hi all,

I'm considering Tinker board to run "Customized Android" for the company project.
So, I'm wondering whether I could build Android 6.0.1 full image from Android SDK myself or not?
I only saw the manner how to build the kernel from source in this forum, but not for Android full image.

If it is not possible just for now, then does ASUS might have the plan in near future?

Thank you in advance.

Best Regards,
Sinjin
Reply
#2
Hi Sinjin.
no sorry the source code from Asus is not released yet, and if Asus does or plans it to do in the future is not sure.

Maybe some allready tried to get out the neccessary hardware configuration files from the existing image to compile for example an AOSP or the Lineage OS with them, but no information about this so far.

You can take a look here (like from this post from lobo https://tinkerboarding.co.uk/forum/threa...age-2.html) :

https://fat-tire.github.io/porting-intro.html

And also here: https://forum.xda-developers.com/chef-ce...1-t3551484

greets
Reply
#3
Hi there,

Any news from ASUS about an eventual release of the full Android source code ?
Reply
#4
(02-12-2018, 02:12 PM)slennoz Wrote: Hi there,

Any news from ASUS about an eventual release of the full Android source code ?

I emailed support about this and thought is what they provided to get the source:

$ repo init -u git@bitbucket.org:TinkerBoard_Android/manifest.git -b sbc/tinkerboard/asus/Android-6.0.1

$ repo sync -c -d

        And under the RKDocs folder, there is a build SOP word file which is named: android_SOP_eng_6.0.1.docx.
Reply
#5
Hi Slennoz,

Thank you for good news :-)
But it seemed permission is required.
Have you asked ASUS the permission to access repository?

(QUOTE)
$ repo init -u git@bitbucket.org:TinkerBoard_Android/manifest.git -b sbc/tinkerboard/asus/Android-6.0.1
Warning: Permanently added the RSA host key for IP address '104.192.143.2' to the list of known hosts.
Permission denied (publickey).
Warning: Permanently added the RSA host key for IP address '104.192.143.3' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Permission denied (publickey).
fatal: Could not read from remote repository.
(QUOTE)
Reply
#6
You need do some setup at your local machine and Bitbucket website.

Reference :
https://confluence.atlassian.com/bitbuck...38079.html

1. generate an SSH key (if you already have the key pair, you can skip this step (~/.ssh/id_rsa, ~/.ssh/id_rsa.pub) )
    $ ssh-keygen

2. paste the ~/.ssh/id_rsa.pub to the SSH keys setting of BitBucket

3. set your git account (if you already set it, you can skip this step)
    $ git config --global user.email "your@email.com"
    $ git config --global user.name "your name"
Reply
#7
I haven't had a chance to try the source yet and I'm curious if anyone has tried it yet.

If it is good we should probably make a sticky with the instructions to get the source to make it easy to find.

Hopefully this will get some more people's interest and lead to the development of a better version than what we have had to rely on so far.
Reply
#8
(03-07-2018, 09:58 PM)Jttierney Wrote: I haven't had a chance to try the source yet and I'm curious if anyone has tried it yet.

If it is good we should probably make a sticky with the instructions to get the source to make it easy to find.

Hopefully this will get some more people's interest and lead to the development of a better version than what we have had to rely on so far.

My tip would be to try build an image with mail drivers from 4.4 not 6.0 as the SDK for Android 6.0 on the RK3288 is a mess (Probably why Asus's current Android image is a mess)

Very surprised Asus haven't released an Android 4.4 image as it runs better than 6.0 on a RK3288
Reply
#9
(03-07-2018, 03:28 AM)jamess Wrote: You need do some setup at your local machine and Bitbucket website.

Reference :
https://confluence.atlassian.com/bitbuck...38079.html

1. generate an SSH key (if you already have the key pair, you can skip this step (~/.ssh/id_rsa, ~/.ssh/id_rsa.pub) )
    $ ssh-keygen

2. paste the ~/.ssh/id_rsa.pub to the SSH keys setting of BitBucket

3. set your git account (if you already set it, you can skip this step)
    $ git config --global user.email "your@email.com"
    $ git config --global user.name "your name"

Sorry, everybody
We have another easier way to download the source code from bitbucket. Please follow the below instuction

1. set your git account (if you already set it, you can skip this step)
    $ git config --global user.email "your@email.com"
    $ git config --global user.name "your name"

2.
    $ repo init -u https://git@bitbucket.org/TinkerBoard_An...nifest.git -b sbc/tinkerboard/asus/Android-6.0.1
    $ repo sync -c -d 
 
If anyone can download successfully, please info us, thanks.
Reply
#10
(03-08-2018, 01:52 AM)SBCJunkie Wrote: My tip would be to try build an image with mail drivers from 4.4 not 6.0 as the SDK for Android 6.0 on the RK3288 is a mess (Probably why Asus's current Android image is a mess)

Very surprised Asus haven't released an Android 4.4 image as it runs better than 6.0 on a RK3288

Why Android 4.4 is better than 6.0 on RK3288 ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)