yashsingh1/xdaforums huggingface dataset:
[Android] sylentprofet:
You're either using a 32 bit host operating system or virtualization is disabled in your BIOS.

Check out Control Panel > System, Windows will report being 32 bit. Changing up the version of VirtualBox isn't going to do any good. Builduntu was made using the newest version 4.3.6

You really should try Googling these errors you're receiving and try to solve the problem yourself. You're not even providing enough information about your system (processor, host OS, etc) for anyone to constructively help you.

This thread isn't meant to be your own personal tech support line. If there are problems with builduntu, I'd be happy to fix them, but it sounds like this is just a case of lazy user error and you not really wanting to learn anything constructively.
[Android] jblazea50:
Thanks OP for the update. Noticed the max is now 500gb. Can the user select the drive space prior to installing?
[Android] sylentprofet:
The Builduntu VirtualBox image allocates space dynamically, so the actual hard drive space it occupies on your system will only expand as needed. I just chose a magic upper limit that most users will probably never even utilize.

As you can see from the image you've downloaded, it sits somewhere around 2.5 GB brand new. That will quickly expand once you sync a repo.

Also, a note, the image will not "shrink back down" on your host system when you delete files from inside the VM. Once it expands to fill a space, the machine thinks that space is occupied. I have heard there are ways of reclaiming it but they are complicated and this thread isn't really the ideal place for that kind of technical mumbo jumbo.

Thanks for your continued support.
[Android] neeraj797:
no,host os is 64 bit,when i double click your builuntu file,it automatically shows 64 bit
[Android] sylentprofet:
1973 called. They want their Bruce Lee movie extra back.

If you look at the thumbnail you attached, it says pretty clearly that you're using a 32 bit Operating system with 2 gigs of RAM.

Either excellent troll is excellent, or you're just awful at paying attention to life. Good luck!
[Android] neeraj797:
today i installed windows 7 64 bit for this purpose only,still same issue

firrst i installed virtualbox latest,when loaded this file and ran,gave vtx related error,then i enabled pae/nx,it started working,but when i select builuntu among other four options,screen changes it size after few seconds then nothing happens
[Android] HolyAngel:
Vtx is a feature your processor has to physically support in order to run virtual machines to their fullest. Think the oldest you can go is a core2duo. No celeron or pentium processor. core-i series support it too. Not sure on amd's. Must also be enabled in the computer's bios to work. Perhaps there is a setting to not use it in virtualbox, I'm not sure as I don't use that program, I use VMWare Workstation and do have a VTX supported processor and enabled and this vm works perfectly without a single issue.
[Android] sylentprofet:
Glad to know it works fine with VMware.

Nice explanation, but don't get sucked in to raj's trap. I tried to help and he's responded by clogging my thread with useless posts asking people to be his personal Google assistant.
[Android] lignja:
I'll try this over the weekend. Thanks.
[Android] ThatKawaiiGuy:
Can someone please put a guide to updating this? (if there hasn't been one?) Because I had to make a new virtual image disk to use the new version.

Thanks!
[Android] jblazea50:
[MENTION=2645562]sylentprofet[/MENTION] Do you have the link for version 1.2?
[Android] sylentprofet:
unfortunately no, i deleted it after i began working on the next version.

why do you ask?
[Android] jblazea50:
I liked 1.2. With 1.3, I don't like that the volume partition expands and will not shrink back down when deleting files from inside VM. I usually just delete whatever project I'm not working with and would need the space.

Thanks
[Android] sylentprofet:
According to my understanding of how VirtualBox VMs handle data allocation, they don't "shrink" back down. Once space is occupied inside the virtual environment, the host system will see it as permanently occupied, even when the data is deleted from within the VM. It would be a surprise for me to learn that 1.2 did, as I don't think I did anything differently for 1.3 besides updating the Xubuntu core version (in terms of packaging and settings).
[Android] jblazea50:
Well, maybe I can explain what's going currently. I'm on v1.2. It has 100gb. Normally, after I build a rom, I delete the "out" folder. I have 2 projects so that takes up about 50-55gb and have about 40gb free. Last time I built, I trashed the "out" folder, which is usually 15-20gb after a rom is built. Then I hit empty trash can and immediately shut off VM. Now, I only have 23gb remaining, which isn't enough to build a rom.

Generally when I do this, I have 40-50gb left over after emptying the trash. Maybe there's some simple command or I'm missing something. But I can't figure it out.
[Android] sylentprofet:
Hm. The max disk size in 1.3 has been increased to 500 gb. So you shouldn't be running into the limit.

I'll be releasing an updated version in the next week or two when the 14.04 build moves into near-finalization.

Feature suggestions, anyone?
[Android] hart.indodroid:
Reserved

Thanks starting download...:o
[Android] caspboy:
greatest thread ive ever discovered on xda:D:D:D:D:D Cheers to the end of Dual Booting and installing JDK wrong:victory::victory::victory:
[Android] Beauenheim:
It's been awesome.

And why isn't the OP a recognized contributor yet?
[Android] sylentprofet:
A fantastic question lol.

I'm gonna work on applying for Recognized Developer/Contributor status. Need to do a few things to bring my threads in line with requirements.

Thanks for all your support guys!

I wish I could make this a Dev-DB thread, but the system doesn't seem to recognize it as "eligible".
[Android] 29y6145:
Tks for share very good
[Android] ashwin007:
Gr8 work.BTW can you give this in Iso format for native install.
[Android] aniket.lamba:
Or give this 2GB file in the form of a torrent.
[Android] safariking:
You are using VMware player try VMware workstation that will work
[Android] sylentprofet:
The link to the torrent is in the first post.

That's my next project. Customizing the Ubuntu install disc is proving to be more complicated than I expected. There are a few tools out there but they don't seem to work very well. I'm going to have to do it from scratch by the looks of it.
[Android] My1xT:
DLing imo for building pac, since they cant even build their roms themselves, as venturi failed fot nightly.
[Android] My1xT:
somehow doesnt work.

Win7x64,

Intel i5 2320 3GHzx2 (with Multi-threading, having a total of 4 threads, 3 assigned to VM)

4GB RAM, almost 2 assigned to VM

and I get an almost black screen, only displaying a static cursor or a completely black screen...
[Android] kantjer:
Thanks for this, working straight out of the BOX.

The only problem I have now is how to copy the newly build kernel to my windows host machine?

Copying from host to guest works fine :confused:
[Android] My1xT:
Devices->Shared Clipboard->biderectional, alternatively activate drag and drop.
[Android] kantjer:
I have set them both to bidirectional but still it's only working one way.

When I try to copy the zip to the host its copying a txt file with the path instead of the file itself.
[Android] My1xT:
weird...

then try drag and dropping the file if you used copy and paste, or the other way.

but still weird that I cant use it...

'-> got from torrent
[Android] kantjer:
Have to go out now. I will try again later
[Android] sylentprofet:
My recommendation would be to either:

1) Set up a shared folder in the Virtual Machine settings and make it auto-mount a folder from your host machine. That way, it will appear on the VM and allow you to copy and paste things.

2) If you can't get that working for whatever reason, try a USB stick/HD. You can give the VM access to it (also in settings) and copy-paste things.

3) If either of those don't seem to work for you, create a free online storage account (google drive, mediafire, etc) and upload the file from within the virtual machine, then download it to your host machine. I know that sounds kind of like a runaround but if it's your only option it'll work.
[Android] My1xT:
[MENTION=225651]op[/MENTION] do you have an Idea why my machine doesn't really start in the first place?

Gesendet von meinem SM-N9005 mit Tapatalk
[Android] sylentprofet:
Are you using a 32 bit host system? That's the most common problem. 32 bit systems will not work, as per directions in the OP.

Other than that, it could be a few things. Perhaps a corrupted download? Without knowing more about the situation it's hard to pinpoint.
[Android] My1xT:
Looks like 64 bit to me... Also can you maybe add a checksum (md5 or so) for checking the dl?

I am re-dl'ing over mediafire right now and check whether or not they are the same...

Gesendet von meinem SM-N9005 mit Tapatalk
[Android] kantjer:
I used the torrent, and it's booting fine for me, only one error at startup about something desktop stopped.

But everything seems to work OK.
[Android] caspboy:
Your totally eligible for recognized contributor, but If i were you, I'd just do the form to apply for recognized developer;) You qualify for it
[Android] Mike3.14159:
Can anyone tell me what I'm doing wrong!? I'm definitely not on a 32 bit system. I've dual booted my laptops but have no experience with virtualbox. I followed the directions and all I get is grub and when I try to boot in I just get a black screen with a static underscore. Screenshot is attached below
[Android] wmfaiz:
right click to builduntu

change version at general to ubuntu 64bit
[Android] Mike3.14159:
Got it working now! Thanks!
[Android] wmfaiz:
Need to ask something

I'm already type repo sync but it doesn't download anything

Why that's happened

I'm waiting 30 minutes still not downloading
[Android] Sick1:
Have to ask cuz i did it once, but did you do the "repo init" thing first?
[Android] rirozizo:
please add this to OP
[Android] wmfaiz:
yeah i did repo init first

i'm following this guide http://xdaforums.com/showthread.php?t=2351504 because i'm own the device but i tried with cm11
[Android] kantjer:
This is all I had to do to sync the SlimKat repo on a 100% stock Builduntu build.
[Android] wmfaiz:
will try your methods:good:

it's working, thanks
[Android] My1xT:
as I said, I have pretty much the same. just checked config and ubuntu (64-bit) is set. and there is some weird behaviour.

on first start after importing: completely black.

after a machine forcekill: I can come into grub but after that black with static cursor (see screenshot)
[Android] Dr.Pepper:
just have same problem
[Android] wmfaiz:
[MENTION=5079029]Dr.Pepper[/MENTION] [MENTION=4932206]My1xT[/MENTION]

maybe you can try change the number of processor to 1 or 2

i think i saw it somewhere about this problem they said change the number of processor

i'm using 2 processor it works fine
[Android] My1xT:
I did try with 1 2 or 3 or all 4 CPUs...
[Android] koolkunz:
Hi just 1 small question...my laptop is compatible with 64 bit OS but I'm currently on 32 bit Win 8.1 do I need to install 64 bit windows or not?
[Android] My1xT:
you need.
[Android] koolkunz:
OK thnx
[Android] kantjer:
I compared your settings with mine and in the boot order your HD is missing.
[Android] My1xT:
"Platte" is short for "Festplatte" -> HDD in german.

http://en.wiktionary.org/wiki/Platte
[Android] rirozizo:
i kept my laptop all day long today to download slim's source codes.

i did the following:

cd ~/bin

repo init <link>

repo sync

i've just Ctrl+C'ed it because the PC needs to rest up... just some questions since i'm a complete noob when it comes to ubuntu, and building android:

will it matter that i didn't create a "Slim" folder, CD'd to it, then synced there? or should i redo the whole process all over again...

also, will it continue where it left off when i Ctrl+C'ed it? or it'll start the process from scratch every time?

i would really appreciate it if someone with a decent connection (5Mbps and up), downloads slim sources and send them somehow as a very small file... because a 1 Mbps speed is very.... VERY bad to dev on.
[Android] kantjer:
I successfully build ROM from SlimRom source3 and kernel but I can FTP them to my server.

I'm using the same script as I used on my previous LinuxMint machine but it isn't working on Builduntu.

The script is ending with:

EDIT: solved by setting the Network to Brigged Attached.

---------- Post added at 05:54 PM ---------- Previous post was at 05:51 PM ----------

The Slim source is huge, even on my 200Mbps connection it takes a while to download.

So make that in a very small file, you will need to come up with a new compression algorithm first.
[Android] rirozizo:
THAT BIG?!... I'm now seriously thinking of moving to another country hehe

Sent from my Nexus 4
[Android] kantjer:
I corrected my post, It's now, after compiling 50GB. But the source itself is already huge because of the great number of supported platforms by SlimRom.

I haven't looked at the size, on a 200Mbps connection it doesn't matter that much.
[Android] rirozizo:
hmm... i have to find a small one then... CM is about 12GB... slim is probably more... damn

Sent from my Nexus 4
[Android] hightech316:
Where are the tools located ?
[Android] koolkunz:
Omni is also about 13gb...slim can't be that big!!
[Android] kantjer:
Huge thanks

[MENTION=2645562]sylentprofet[/MENTION], a huge thanks for this project.

I just completed everything and all is working, including all my sync/build and upload scripts for both ROM and kernel.

The only thing I needed to install was the cross compiler toolchain needed to build the kernel.

After spending hours and hours to try to get a LinuxMint environment up and running (never 100% succeeded) this is so refreshing.

The only thing I can't get to work is the drag and drop and copy from guest to host.

But I can FTP, use shared folders, or a USB stick. So plenty of alternatives to transfer files.
[Android] srikanth_s:
Need help

I am able to get Builduntu working in Virtual Box. Later checked cyanogenmod ROM site to know how to build the ROM from source (specific to my phone-Evo3D GSM) .

Started following the steps mentioned in their page (http://wiki.cyanogenmod.org/w/Build_for_shooteru). Got stuck at this command.

repo init -u git://github.com/CyanogenMod/android.git -b ics

Getting error:

fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle

fatal: error [Errno 101] Network is unreachable

Did some google search on this..nothing helped so far. Please help.
[Android] Sick1:
Check virtualbox-> your virtual machine -> network settings. I use bridged and "allow all" settings.
[Android] lozohcum:
Can I install it like any other Ubuntu on my PC? (I don't use VM)
[Android] koolkunz:
can i use this as dual boot / normal OS???

i dont want a virtual os
[Android] sylentprofet:
Ask and ye shall receive.
[Android] koolkunz:
U rock bro!!
[Android] rirozizo:
was just about to make the exact same guide. thank you for saving me time :P
[Android] HolyAngel:
Thanks for the ISO! Installed on my iMac and been running super smooth!
[Android] k5t4j5:
First of all, awesome work with this build monster! I was going through so much B.S setting up the manual way "first time developer" and your setup got me going and produced 2 very liked, and highly downloaded roms for the LG Optimus G LS970. My one problem, the Last rom I built finished at 173mb, but no matter if it's Android file host, Google drive, exc., it ends up only uploading 165mb. Rom is missing parts when flashed that match up with that missing size? Any ideas?
[Android] kantjer:
Guys,

Is it advisable to run the build in software updater or is it better to ignore it.

EDIT: I can answer my own question, tried it and it messed up my system. I had to start over, tried again after a clean import, same story.

So don't do it.
[Android] kantjer:
Forgot to mention this, I found out why shared folders weren't working for me.

It turns out the default user "android" needs to be added to the vboxsf group.

sudo adduser android vboxsf
[Android] caspboy:
thanks dude, awesome tool:D
[Android] arch_saiful:
is it possible to do compileing in shared folder folder instead of /home
[Android] calikevin:
Is anyone else getting a Soft Lockup error after the new VB update or is it just me? I can't get the VM to boot any more
[Android] danon.brown:
Attempting to build my first rom. What would be next? I was able to get this VM installed and followed the guide to get the souce and repo sync. Is there a guide for what's next? where should i look after all of this has been completed? Great guide. BTW
[Android] rodman01:
depending on what rom and for which device you want to build. But for example for cyanogen there is a wicki for each device: http://wiki.cyanogenmod.org/w/Build_for_mako. If you want an other rom to build try to find their github and under read me or build or manifest, there are often info how to build their rom.
[Android] danon.brown:
Thanks. Do i need to get any of these kitchens i see floating around?
[Android] rodman01:
No usually not. I build my roms always only with the pure source code working tree.
[Android] danon.brown:
Ok last question. Is there some kind of emulater i can test my build on? I dont want to brick my current device (note 3). I do have a Nexus s 4g laying around i guess i could practice on.
[Android] rodman01:
In eclipse and/or SDK there is an emulator included, but I could not get it to work proper and also not with my rom and with the changes. And for my taste, it was very slow. But perhaps I haven't set it up right and made mistakes, could be. Beside of that, I haven't found an other solution for trying my rom build on or with my pc.
[Android] RohanAJoshi:
Do in need to do cd bin before repo initialize and sync ?

I am getting lots of errors

fatal: Not a git repository: '/home/android/bin/.repo/projects/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.7.git'

error: Exited sync due to gc errors

please help
[Android] danon.brown:
still new to this rom building, but you shouldnt be syncing to bin. CD is change directory. If you followed the guide it should be syncing in the directory android.

step 11:

mkdir ~/android

cd ~/android

that should have made the directory and changed it to android.

then you sync.

heres one i just did:

mba@mba-MacBookAir ~/android $ repo init -u https://github.com/AOSB/android.git kitkat

blah

blah

blah

Your Name [MBA]: xxx

Your Email [xxx@gmail.com]:

Your identity is: xxx <xxx@gmail.com>

is this correct [y/N]? y

Testing colorized output (for 'repo diff', 'repo status'):

black red green yellow blue magenta cyan white

bold dim ul reverse

Enable color display in this user account (y/N)? y

repo has been initialized in /home/mba/android

---------- Post added at 07:33 PM ---------- Previous post was at 06:46 PM ----------

You can make your own folders they don't have to be "android"

---------- Post added at 08:12 PM ---------- Previous post was at 07:33 PM ----------

"Repo sync" after it has been initialized
[Android] kantjer:
Part of my kernel build script is setting the permissions of the /tmp folder.

chmod -R 777 /tmp

This returns the following errors"

chmod: changing permissions of ‘/tmp’: Operation not permitted
chmod: changing permissions of ‘/tmp/.X11-unix’: Operation not permitted
chmod: changing permissions of ‘/tmp/.X11-unix/X0’: Operation not permitted
chmod: changing permissions of ‘/tmp/.ICE-unix’: Operation not permitted
chmod: changing permissions of ‘/tmp/.X0-lock’: Operation not permitted

Any idea how to solve this?
[Android] P1nGu1n_:
Try executing it with root, for example:

sudo chmod -R 777 /tmp

Sent from my phone, please forgive any tpyos
[Android] danon.brown:
Thanks again for this guide. I was able to start compiling. Can someone assist with a guide for fixing compiling errors?
[Android] Daniel-TAz00:
Great update man. Loving this.

As for the 500gb limit, I've compiled a single kernel a couple of times, only using 32 GB.
[Android] Munkee915:
thanks for this. im new to rom building so i tried compiling just a basic hammerhead rom from source. when i go to build i get a message that im attempting to build with an unsupported jdk. i then get:

build/core/main.mk:152: *** stop. Stop.

did i miss something?
[Android] bariz143:
In op it says 10gb on source but I have used more than 20 gb only on repo sync. Is it normal?
[Android] wmfaiz:
Its normal

Actually most of source size is around 13-15gb and when finish downloading it will turn about 25gb
[Android] bariz143:
Thank you :)

I did compile for hammerhead a few days ago with stock Ubuntu and everything went well but I had time issues with my build so I'm giving this guide a shot and see how it goes.

Im getting alot of warnings when compiling. Still building the rom so i dont know :S
[Android] sylentprofet:
What flavor of Android are you attempting to compile? AOSP? CM?

Builduntu uses Oracle JDK6, which has worked for quite some time. But I know certain builds are moving up to JDK7.

If we could get a little more of the error output that might be helpful too.
[Android] Munkee915:
i am building aosp kit kat. i was able to get it to work by doing update-alternatives --config java (and javac) and selecting java-6-oracle.

starting a test build tonight hopefully it turns out.
[Android] manojkumar8552:
i want it for 32-bit os can u make it ????
[Android] P1nGu1n_:
Not possible, you need a 64-bit Linux distro for compiling a rom.

Sent from my phone, please forgive any tpyos
[Android] bariz143:
Just compiled and everything went well but when i reboot my time resets to 1970 for 10 seconds. I get all kind of notifikations and its quite anoying. It should be 2 files in data/system/time wich stores time. Anyone know why thoose files isnt there?? I conpiled AOSP
[Android] raycaster3:
All of a sudden...

Thanks for hooking us up with this and your other guide to compile. I've been using it successfully for about a week, then 2 days ago all of a sudden it errors out on mr every time I try a build. I've even deleted the vm and started over, and still no go. It is usually a different error each time, but the latet has happened twce.

Here's the error code (I think):

Any help would be GREATLY appreciated. Let me know if I didn't include all of the error text. I'm a noob with Linux of course.
[Android] P1nGu1n_:
There is an error in a file which stops the compiling. So it's not builduntu, but the rom you're building causing the problem.

Sent from my phone, please forgive any tpyos
[Android] raycaster3:
Boo. OK thanks. I knew I wasn't crazy.
[Android] reinikainen87:
Jenkins?

Hi

Is it somehow possible to add Jenkins to the mix.

Jenkins is running and i even moved it to a new home directory, but what after that? :eek:
[Android] edwardolavarrieta1:
The greatest ever!

You rock n roll dude. The new Pre-Configured Machine basically sets itself up and is so much more user friendly. Shared Folders, usb, etc... all works on the 1st Start up. I installed Virtual Box, Your Machine inside on a Windows 7 PC and within 10 minutes I am syncing the repo. Yeah you right. I can't thank you enough. Keep on raging!

BadBrainsEddie

New Orleans, LA
[Android] micr0g:
Hello and thanks for this ready Compile Environment

I just want to compile my rom with Sabermod 4.9.

Maybe someone knows how to edit the envsetup.sh so i can compile it with SB?

Thanks in advance.
[Android] kantjer:
First I would not recommend using SM 4.9 (development is stopped, it's not stable)

Use SM 4.8.3 (stable) or 4.10 (experimental)

How to set up look here

I managed to change the compiler this way but my ROM build (with SM 4.8.3) ended with errors. Kernel build with SM 4.10 is going OK (running it ATM)
[Android] micr0g:
Thank you [MENTION=3306843]kantjer[/MENTION] i'll try
[Android] kantjer:
If you're looking for pre-compiled SaberMod toolchains, Try these