[Q] How to make an AOSP build log? - Android

I recently switched my Ubuntu test box from a core 2 duo to a core i7 and I wanted to know what my build times are? How do you find or make a build log using Ubuntu 10.04 LTS? I have successfully built a JB Rom using the JRO03H branch and would just like to know my build times....
Any help is greatly appreciated?

paternal_techie said:
I recently switched my Ubuntu test box from a core 2 duo to a core i7 and I wanted to know what my build times are? How do you find or make a build log using Ubuntu 10.04 LTS? I have successfully built a JB Rom using the JRO03H branch and would just like to know my build times....
Any help is greatly appreciated?
Click to expand...
Click to collapse
If you run any command with "time" it will give you the results.
time make -j8 otapackage
For example.
Sent from my Galaxy Nexus using xda premium

Please share build time results here:
http://forum.xda-developers.com/showthread.php?t=1812253
[Questionare] Android build/compile times

Related

[Q]CWM to Iball Andi3n

I have Successfully rooted Iball Andi3n. I am new to the Android Scene.
Now I am trying to get the CWM for this phone. But this phone is unsupported for almost everything. as almost no one did anything with this phone.
Phone Specs:
Model Number:Andi3n
Android version:2.3,6
Baseband version:MAUI.11AMD.W11.50.SP.V13.P1,2012/06/06 11:23
Kernel version: 2.6.35.7
Build no:IBall_Andi3nALPS.GB2.MP.V2
Custom Build version:120717_1407
I have got Win7/Ubuntu 12.04 x64, Android SDK installed.
[Q] What can I do to put CWM on this phone?
Note: No prebuilt images of any sort are available for this phone or I am unable to google it.
info:
hxxp://iballmobiles.co.in/product_Andi3n.php
sorry: I am unable to post links yet.
AEonAX said:
I have Successfully rooted Iball Andi3n. I am new to the Android Scene.
Now I am trying to get the CWM for this phone. But this phone is unsupported for almost everything. as almost no one did anything with this phone.
Phone Specs:
Model Number:Andi3n
Android version:2.3,6
Baseband version:MAUI.11AMD.W11.50.SP.V13.P1,2012/06/06 11:23
Kernel version: 2.6.35.7
Build no:IBall_Andi3nALPS.GB2.MP.V2
Custom Build version:120717_1407
I have got Win7/Ubuntu 12.04 x64, Android SDK installed.
[Q] What can I do to put CWM on this phone?
Note: No prebuilt images of any sort are available for this phone or I am unable to google it.
info:
hxxp://iballmobiles.co.in/product_Andi3n.php
sorry: I am unable to post links yet.
Click to expand...
Click to collapse
Since there are no prebuilt images available the only way to get CWM would be to compile it from source for your device.
Sent from my SCH-I535 using xda premium
shimp208 said:
Since there are no prebuilt images available the only way to get CWM would be to compile it from source for your device.
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Thanks for Your reply.
Can you specify more details.
Size of the Source etc disk space required for all compiling n stuff,
I am baffled by the android master branch requiring 8.5 GB of bandwidth.
Can i do it in less than 3GB?
AEonAX said:
Thanks for Your reply.
Can you specify more details.
Size of the Source etc disk space required for all compiling n stuff,
I am baffled by the android master branch requiring 8.5 GB of bandwidth.
Can i do it in less than 3GB?
Click to expand...
Click to collapse
The source is about 8-10GB sadly I don't think you can realistically do it in less then 3GB, but check out these guides that should help you in building Clockworkmod Recovery:
[GUIDE] Compile CWM Recovery
http://source.android.com/source/initializing.html
How to Build CM7 from Source Note: This guide is for the Droid but the concept of setting up the CM7 build environment is the same
AEonAX said:
I have Successfully rooted Iball Andi3n. I am new to the Android Scene.
Now I am trying to get the CWM for this phone. But this phone is unsupported for almost everything. as almost no one did anything with this phone.
Phone Specs:
Model Number:Andi3n
Android version:2.3,6
Baseband version:MAUI.11AMD.W11.50.SP.V13.P1,2012/06/06 11:23
Kernel version: 2.6.35.7
Build no:IBall_Andi3nALPS.GB2.MP.V2
Custom Build version:120717_1407
I have got Win7/Ubuntu 12.04 x64, Android SDK installed.
[Q] What can I do to put CWM on this phone?
Note: No prebuilt images of any sort are available for this phone or I am unable to google it.
info:
hxxp://iballmobiles.co.in/product_Andi3n.php
sorry: I am unable to post links yet.
Click to expand...
Click to collapse
hey dude, even m finding the same stuff...
hxxp://forum.xda-developers.com/showthread.php?p=36064524#post36064524
try to install android system info app and see which cpu is there?then you will get idea to make cwm for it..
Can you tell me how you root your phone?

PreBuilt android build envirenment

hi everyone im wanting to create my own rom from scratch using code for my samsung galaxy ace and its a little a difficult to setup a build envirenment so i was wondering if any knows about a virtual box or vmware linux image that has the build envirenment setup on it or could anybody make one please thanks
shayden said:
hi everyone im wanting to create my own rom from scratch using code for my samsung galaxy ace and its a little a difficult to setup a build envirenment so i was wondering if any knows about a virtual box or vmware linux image that has the build envirenment setup on it or could anybody make one please thanks[/QUOTE]Its not a VM image,but you can run this in VM and its already set up for compiling roms..... http://forum.xda-developers.com/showthread.php?t=2152398
Click to expand...
Click to collapse

[Q] libwebviewchromium.so Error 1

Hello everyone,
Today I was trying to build CyanogenMod 11 for my Galaxy Nexus. But after any attempt I did I get the following problem:
Code:
target Strip: libwebviewchromium (/home/little/Documents/CyanogenMod_System_11/out/target/product/maguro/obj/lib/libwebviewchromium.so)
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-strip:/home/little/Documents/CyanogenMod_System_11/out/target/product/maguro/symbols/system/lib/libwebviewchromium.so: File format not recognized
make: *** [/home/little/Documents/CyanogenMod_System_11/out/target/product/maguro/obj/lib/libwebviewchromium.so] Error 1
make: *** Waiting for unfinished jobs....
I am using Oracle Java 6. All the previous *.so files have no problem with compiling. Has anyone else dealt with this problem?
Even I get error on this many times. The reason behind same is it needs lot of memory for compilation compared to other binaries. I tried increasing ram on virtual machine but no success.
Sent from my Nexus 5 using Tapatalk
neobuddy89 said:
Even I get error on this many times. The reason behind same is it needs lot of memory for compilation compared to other binaries. I tried increasing ram on virtual machine but no success.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
So, how much RAM do you suggest to have? If the problem is the RAM I could buy some. It is a cheap modification in order to build my first ROM!
If you are not using virtual machine and have directly installed on pc, try increasing SWAP and build. I have 4 GB RAM for virtual machine and it fails.
Sent from my Nexus 5 using Tapatalk
neobuddy89 said:
If you are not using virtual machine and have directly installed on pc, try increasing SWAP and build. I have 4 GB RAM for virtual machine and it fails.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
One last question as a conclusion. Is it possible to exist another problem and the build fails? If there is even a small possibility I could wait and don't buy new RAM memories.
neobuddy89 said:
Even I get error on this many times. The reason behind same is it needs lot of memory for compilation compared to other binaries. I tried increasing ram on virtual machine but no success.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
TheLiTTle said:
So, how much RAM do you suggest to have? If the problem is the RAM I could buy some. It is a cheap modification in order to build my first ROM!
Click to expand...
Click to collapse
Did you ever determine how much ram you need? I'm getting this error too
Guitarboarder28 said:
Did you ever determine how much ram you need? I'm getting this error too
Click to expand...
Click to collapse
I abandoned this project due to my computer age! It would take forever to build a rom! I barely can run Android Studio at the moment.
But, this may be help you!
https://source.android.com/source/building.html
I am intending to build something like this in the near future and cross my fingers that everything will work just fine!
TheLiTTle said:
I abandoned this project due to my computer age! It would take forever to build a rom! I barely can run Android Studio at the moment.
But, this may be help you!
https://source.android.com/source/building.html
I am intending to build something like this in the near future and cross my fingers that everything will work just fine!
Click to expand...
Click to collapse
I know it is long ago since last post, but on official Google page are system requirements
The Android build is routinely tested in-house on recent versions of Ubuntu LTS (14.04), but most distributions should have the required build tools available.
Before you download and build the Android source, ensure your system meets the following requirements:
A Linux or Mac OS system. It is also possible to build Android in a virtual machine on unsupported systems such as Windows. If you are running Linux in a virtual machine, you need at least 16GB of RAM/swap and 100GB or more of disk space in order to build the Android tree. See disk size requirements below.
A 64-bit environment is required for Gingerbread (2.3.x) and newer versions, including the master branch. You can compile older versions on 32-bit systems.
At least 100GB of free disk space for a checkout, 150GB for a single build, and 200GB or more for multiple builds. If you employ ccache, you will need even more space.
Python 2.6 -- 2.7, which you can download from python.org.
GNU Make 3.81 -- 3.82, which you can download from gnu.org,
JDK 7 to build the master branch of Android in the Android Open Source Project (AOSP); JDK 6 to build Gingerbread through KitKat; JDK 5 for Cupcake through Froyo. See Initializing a Build Environment for installation instructions by operating system.
Git 1.7 or newer. You can find it at git-scm.com

[Q] Which Ubuntu version is best for building ROMs?

Just starting to learn how to build ROMs from source using Ubuntu in VirtualBox, so bear with me, but is there a best version of Ubuntu to build ROMs? I've seen 14.04, 14.10, and 15.04 all thrown into the mix. Are they all more or less the same? Or is there a certain version better compatible with this type of stuff? Appreciate any help.
hawkstwelve said:
Just starting to learn how to build ROMs from source using Ubuntu in VirtualBox, so bear with me, but is there a best version of Ubuntu to build ROMs? I've seen 14.04, 14.10, and 15.04 all thrown into the mix. Are they all more or less the same? Or is there a certain version better compatible with this type of stuff? Appreciate any help.
Click to expand...
Click to collapse
More or less, they wont make a difference depending on what you're building. Generally, AOSP and CM will build fine on any, but if you plan to use custom toolchains, the 15.04 is your best option because of updated libraries.
I'm using Ubuntu 14.04 STL. I think the UI and functions are useful enough.
Decided to go with 14.04 and everything worked out great. Thanks for your help guys!

removed

removed
I think you will need sony to release the full sources for this, since we dont even have a working aosp, but please do keep us posted, i am interested in porting plasma mobile and for that ubuntu touch is needed.
I will try to compile for now with the sources available.... I have much to do
UPDATE: I need help compiling with Ubuntu: i successfully downloaded the 4.4.4 android sources (base for this project)
But i have problems when do that part:
https://source.android.com/source/building.html#choose-a-target
It says i have not installed the jdk 6, but i am 100%sure that i installed it!
P.S. I have downloaded that: https://github.com/sonyxperiadev/device-sony-tulip
and putted it in /home/alby/WORKING_DIRECTORY/AOSP/android-4.4.4_r2/device (extracted.)
Please help me....
alby_var said:
UPDATE: I need help compiling with Ubuntu: i successfully downloaded the 4.4.4 android sources (base for this project)
But i have problems when do that part:
https://source.android.com/source/building.html#choose-a-target
It says i have not installed the jdk 6, but i am 100%sure that i installed it!
P.S. I have downloaded that: https://github.com/sonyxperiadev/device-sony-tulip
and putted it in /home/alby/WORKING_DIRECTORY/AOSP/android-4.4.4_r2/device (extracted.)
Please help me....
Click to expand...
Click to collapse
How will you compile a 4.4 ROM with 5.0 device tree
And for the Java problem, search on Google: change java ubuntu
There is some command to change to jdk6 instead of jdk7... Something like sudo --configuration java --v
Idk the exact command, if u need help. Ping me up
Sent from my E2303 using XDA Free mobile app
Thank you very much!
Check this http://www.webupd8.org/2012/11/oracle-sun-java-6-installer-available.html
Thanks, first i need a base for this rom, i haven't time to compile, but i think that in a month i will successfully build the base rom, (AOSP or CM)

Categories

Resources