yashsingh1/xdaforums huggingface dataset:
[Android] plewis1981:
Hi [MENTION=2645562]sylentprofet[/MENTION],

I have just got broadband and I'm interested learning to compile roms, I am currently duel booting Windows 7 64bit, and Ubuntu 12.10, I have 3 partitions on my HDD 150 GB (C windows) 10.5 GB (D Ubuntu) and the other 200 GB (E for storage of media ect)

I am wanting to replace Ubuntu with Builduntu. So my question is, will I be able to install Builduntu to D Drive (10.5GB) and download the code to my E drive? or would i be better off re-partitioning my HDD and installing Builduntu on C or E (D if re partitioned) and keeping the downloaded code within the Builduntu OS itself.

I ask this because when I installed Ubuntu I had to select the instillation size, and i have read that the source code is quite a large download, if it is preferable to keep the code within Builduntu what partition/instillation size would you recomend? (assuming Builduntu gives me this option of corse)

sorry if this has been asked before i have done a search and had a quick look but couldn't find anything,

Thanks in advance for any advice anyone can give:)
[Android] Nnyan:
Anychance at another mirror? I'm not having any luck with these two.

Thank you
[Android] sylentprofet:
You can totally install Builduntu over your D drive, but you might want to expand the partition to give yourself a little more room. 10.5 GB sounds claustrophobic. I would say 20 is ideal for your use.

Storing the source code on E is an option. It is OK if the code is on a different drive than Builduntu itself.
[Android] sylentprofet:
Define "not having any luck".

I just saw my torrent client seeding at 1.3 Mbit.

I've heard of people getting up to 6 Mbit from the Mega.co.nz link.

So what seems to be your exact issue?
[Android] plewis1981:
Thanks for the advice,
[Android] smalss:
Just wondering how well this is working for all you guys? Any problems with the build?
[Android] laura almeida:
No problems here on the latest version.

Works pretty good.
[Android] smalss:
Download link not working. :(
[Android] sylentprofet:
Works fine for me
[Android] smalss:
Working now! Thnx.
[Android] sanjib734:
Can this be installed inside windows using WUBI. One more question. can I download sources separately in zip file and extract it, if that is possible where should I put the extracted file?
[Android] epiquiem:
This probably isn't a common issue, but Builduntu wont load for me. Hangs after GRUB. Might have something to do with the fact I'm running Windows 10 (10162), but my other vboxes work fine.
[Android] sylentprofet:
Any error message? Try pressing Esc and see if it's hanging somewhere.

I need a little more info to help. I hear the Windows 10 beta has issues with VirtualBox, and is not yet officially supported by Oracle as a host OS.

Check out the link below for some potential paths to explore..

https://forums.virtualbox.org/viewtopic.php?f=6&t=68590&sid=6e189ea244bb34d5050bea80709ff67b
[Android] CAPS_ON:
v1.6!

v1.6!!!
[Android] BlazinThat:
So I cant get past username/password, Ive tried VM 4/5 and tried sudo for username but when i get to the password part it wont let me enter anything until i hit enter and usually thats a timed event, so i keep getting incorrect login everytime. I know im a new to this but what am i missing?
[Android] sylentprofet:
username: android

password: android
[Android] BlazinThat:
Doesn't work for me.

Edit: I got it finally, just because I can't see it typing doesnt mean its not registering.
[Android] BlazinThat:
I received this after 2 hours of adding cm source, does anyone know how I can fix it?
[Android] laura almeida:
?

You really don't know much about linux, do you ?
[Android] jenkins-84:
[emoji23] lol

---------- Post added at 11:32 AM ---------- Previous post was at 11:22 AM ----------

You mean your syncing Cyanogenmod from their git manifest or you have added it to default.XML in your own manifest??
[Android] BlazinThat:
Not much, hence the new to this part in my original post.

---------- Post added at 01:24 PM ---------- Previous post was at 01:24 PM ----------

Syncing from CyanogenMod got from there wiki for my device.
[Android] jenkins-84:
What version of cm are you try sync if its CM12.1 you should be using this,

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

Use github not wiki make a clean build folder and sync that to it, should fix your sync problem
[Android] BlazinThat:
It was cm 12.0 and came from an HTTPS address instead git but looked almost identical to yours,so I will try that. Thanks for the info now I have a direction to look to and learn.
[Android] AyJ3y:
password: "android" isn't working for me

Help please^^
[Android] mick711:
Your keyboard is the good ? Qwerty Azerty A or a ? I download it now and test in one hours when download is finished .
[Android] smartAgent47:
Hello everyone .. i am new to this ... I really wanna try it .. because dualboot ubuntu was working for me from past 6 months and was able to compile roms and download stuffs from git ... but now i dont knoe there is some problem with internet not working with git or something .... So will try this on windows .. is there any problem with this if i have an ADSL Internet Connection Connected via a cable to my pc ?

Hope anyone replies ..

Thanks

smartAgent47

#PerformanceMatters
[Android] laura almeida:
[MENTION=5039976]smartAgent47[/MENTION]

So far it works well
[Android] jenkins-84:
If there is an issue with internet connection that's possibly down to your provider not the software...
[Android] Iguanadon:
link down :D
[Android] piskor:
Try this https://webcache.googleusercontent....ne-android-rom-compiling/+&cd=1&hl=en&ct=clnk

/edit/

dropbox and mega links are ok. Torrent not tested
[Android] leonardoroza:
Thanks

Enviado de meu Moto G usando Tapatalk
[Android] oid_maps:
discard/ trim option in Virtual Machine to keep image shrinking when space is freed.

Some remarks, to automatically keep the image small when using the

machine:

In the guest operating system, in the file "/etc/fstab", add the mount option "discard" to the "/" and "/boot" mount points and the "swap" file system,

In the guest operating system, in the file "/etc/fstab", change the type of the "/boot" filesystem from "ext2" to "ext4" (the ext2 system on /dev/sda1 will be mounted as ext4 (ext2 is a subset of ext4) in order to support the discard option).

In the virtual machine configuration, attach the disk image as solid state disk AND with the discard option.

In VirtualBox, after importing, I did it manually by first quitting all VirtualBox processes, and then editing the machine description file (the ".vbox"-file) manually by changing the tag

<AttachedDevice type="HardDisk" hotpluggable="false" port="1" device="0">

into

<AttachedDevice nonrotational="true" discard="true" type="HardDisk" hotpluggable="false" port="1" device="0">

(note, that simply selecting the disk to be a solid state disc in the GUI does NOT set the discard-option).

This can also be done with detaching the disk from the virtual machine and re-attaching it using the command-line tool "VBoxManage" with the command "storageattach" and passing the "--nonrotational on" and "--discard on" options.

Note that this most likely only works with .vdi-images. So, I converted the image to the VirtualBox' native VDI-format beforehand (and in the GUI changed the disk image file to the new vdi file): "VBoxManage clonehd builduntuVM.v16-disk1.vmdk builduntuVM.v16-disk1.vdi --format VDI".

Unfortunately, when importing the virtual machine after downloading to VirtualBox, the virtual disk file grows from the downloaded 1.5 GiB to a bit over 4 GiB in the first place. Anyone an idea how to stop this? Anyway, I made it shrinking again to 3GiB by

in the guest, zeroing-out the free space by

for the "/" and "/boot"-partition, making a file full of zeroes filling up all the empty space:

dd if=/dev/zero of=/emptyfile bs=16M
dd if=/dev/zero of=/boot/emptyfile bs=16M[CODE]
[*]deleting those files again:
[CODE]rm /emptyfile /boot/emptyfile

in the guest, zeroing the swap-partition and reinitialising it:

dd if=/dev/zero of=<device-of-swap> bs=16M; mkswap <device-of-swap>

(<device-of-swap>: Please check which one; it is a LVM-partition, /dev/md-1 might be it)

on the host, using "VBoxManage"'s "modifyhd"-command with the "--compact"-option.

Alternatively, just utilising the steps outlined above should do the same; I applied the steps outlined above after I manually zeroed-out the free space and compacted the .vdi disk image.

Other remark: Using QEMU's qcow2-format, I manage to get this 4.2GiB/ 3GiB image even down to ca. 950 MiB; usable by QEMU, which successfully boots the virtual machine.
[Android] siju2012:
Download Link not working.

Error! Failed to log the download request in the database table
[Android] piskor:
Links from my history:

https://www.dropbox.com/s/9jppklk13djyyt1/builduntuVM.v16.zip?dl=0

https://mega.nz/#!CUlS0RJB!3s_egUInOpkjz3Fz6F-1bHlq27fJqsHZuDfc3bZUt8Q
[Android] sylentprofet:
Downloads Fixed

Thanks for the heads up!

Official download links fixed.
[Android] CAPS_ON:
Latest v1.6 build works flawlessly.

aaaaaand smiley face, no wait, I'm going with thumbs up.

:good:
[Android] rohit1521:
I am using builduntu now on VMware..So I downloaded miui ROM source in compressed formats(including repo folder)...Anyone plz advice me on how to add into builduntu
[Android] :
Is this Android m ready ?
[Android] judas1977:
So there is no .iso version equal to v1.6?
[Android] Drakorcarnis0:
Internet connection is slowing down continuously when downloading anything until it reaches anemic transfer rate like a few tenth of kb/s. Anybody facing the same problrem ? In windows I get perfect ultra-fast connection all the time.

EDIT: Just solved this issue by changing network configuration in virtualbox settings.
[Android] laura almeida:
No problem here!!
[Android] CAPS_ON:
2.0!!! 2.0!!!!!
[Android] abhishekr700:
What changes did you do to the configuration?
[Android] calbertoferreira:
How much ram do you need to run this ?
[Android] dic1911:
i have 16GB Ram, and just almost can fulfill the requirement for running some windows background applications and chrome, but if u ask minimum, I would say 8GB
[Android] Nv1dia:
Im having issues with this trying to get my OnePlus 3 to properly register with MTP. anyone else having these problems?
[Android] fKm:
Can someone tell me how it is possible to increase the maximum HD size to more than 250 GB? I converted the Virtual Disk Image to vdi, increased the size to 500 GB, expanded the partition with GParted but I still can't use the 500 GB.
[Android] TimSchumi:
Can this be installed on a normal PC instead of inside VirtualBox with the iso?

I think the Guest Additions could cause problems
[Android] laura almeida:
Yes with ISO you can
[Android] Flounderist:
Hello, I updated v2.0 for oracle java 8 using this guide https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04 and now screen is black on reboot. Please could you help?
[Android] TimSchumi:
I now made a USB with the builduntu.v2.iso burned on. But it does not boot. I already confirmed that the ISO itself is bootable by hooking it up in VirtualBox. I tried putting the ISO onto the USB through DD and the built-in ubuntu Bootdisk Creator, but it always shows my normal boot menu when trying to boot up from the usb. Did anyone succeed to make a bootable USB of Builduntu v2?
[Android] sylentprofet:
Now that 16.04 is officially out (16.04.1 to be precise), I'll work on an official 2.0 image. Apologies for the delay, been crazy busy with work and moving. I will leave Java installation up to the individual user, since it appears 7 and 8 are in common use. Thanks for the support everyone!
[Android] SSNJR2002:
Hey guys, the Builduntu ISO download links aren't working.

New link?

EDIT: It works now... :good:
[Android] romulo85:
nathanpfry.com is down. Does anyone have the link to v.2.0?
[Android] sylentprofet:
Site is back up, sorry for the downtime!

People attacking the webserver for no reason, blame 185.62.189.27 as of this moment anyway.
[Android] jaggu1989:
https://nathanpfry.com/ is again down ..... any help
[Android] rajatgupta1998:
[MENTION=2645562]sylentprofet[/MENTION]

I have the .torrent files of VM v16 and the normal v121

Can I upload them? I think since the torrents rely on P2P network it will be helpful as the main site is down...
[Android] sylentprofet:
Thanks for the heads up! Site is back, database had a hiccup.

Feel free to post them, I just host them on my site to get download # metrics. Pretty amazing that thousands of people are using this!

Cheers.
[Android] Phazmos:
Surprised it's not more. This is a handy thing to have.
[Android] pilgrim011:
Site is down again...

Works now. :)
[Android] admiralspeedy:
Is anyone able to get their phone to be visible to the VM with VirtualBox? I've tried every fix under the sun and nothing I do will allow Xubuntu to see my phone so I can pull the blobs from it. I've tried adding a filter, checking my registry (Windows 10) for some entry that didn't exist, reinstalling the VirtualBox USB driver, and many other things. The problem is that the device is being captured by VirtualBox (and I assume handed off to the VM), but ADB (which isn't installed by default in Builduntu, which seems kinda strange to me) can't see the device in debugging mode and when I try to extract the blobs, it tells me it's waiting for a device to be connected.
[Android] fiver5:
Running V2 here in vmware workstation with no issues.

Since vmware doesn't yet support OVF 2.0, I had to import the machine into virtualbox and export it as OVF 1.0. Seems strange that VMWARE being on the consortium that created the OVF format and all that they wouldn't have tools that work with the new format, but I digress.

From there it was just a matter of uninstalling the virtual box guest stuff, apt install open-vm-tools and open-vm-tools-desktop, apt upgrade and I was off and rolling!
[Android] PlayingPoise:
Looks like the site is back down. Anyone have the torrent files?
[Android] khannz7:
Mirror

Site is down again

Please give me the mirror site
[Android] sylentprofet:
It's back up. Should be fine now.
[Android] Yaznas:
I installed the builduntuVM by importing and it went fine until i downloaded source and powered off the machine. When i power on, now it shows black screen!
[Android] partyzant_x:
Hi. Site is down :(
[Android] sylentprofet:
It's been back up since yesterday. Usually it's only down for a little bit.
[Android] :
Site is down....

EDIT: Site is back up.
[Android] rif99:
Nice info, will try it later
[Android] MArtyChubbs:
I am seeding the torrent for the meantime. The trackers included in the torrent are down. So add these:

udp://tracker.coppersurfer.tk:6969/announce

udp://tracker.pirateparty.gr:6969/announce

2 downloads so far, nice!
[Android] l1o22u333:
could anyone upload version2.0？

i can not download from the link or the torrent

thank！
[Android] jblazea50:
yeah just figured out its sudo

thanks
[Android] sylentprofet:
Use "sudo" instead. (gksudo for visual applications)

The root account is locked by default in Ubuntu and there's no reason to enable it. Anything you need to do with root privileges you can do using sudo.
[Android] shorinryu:
I have successfully imported the VM into Virualbox and it's up and running. Many thanks for this.

I have an error trying to compile a ROM and not sure why it is happening. I have downloaded the CyanogenMod source code for CM 10.1 and also downloaded my device proprietary files, and other code from OpenSEMC's repository. I am trying to build for a Sony Xperia S - Nozomi.

My problem is that when I run the lunch command in the terminal I get an error saying 'lunch' is not installed. I know python is installed and that should contain the related packages. 'breakfast' and 'brunch' commands return "command not found errors".

One final thing, is the Android SDK installed on builduntu? Not sure if it is relevant for compiling a ROM since I have the proprietary blobs already.

I apologise if any of this is really basic, it is the first time I am using linux and working with android.
[Android] sylentprofet:
That can happen if you didn't:

source build/envsetup.sh

Before lunch/brunch.

The sdk is not installed. You download a chunk of it with the source, but I'm leaving development environments to the kitchens for now. Builduntu is a purpose built ROM compiler.
[Android] shorinryu:
That was definitely the problem. I am not developing so I can see why you left out the sdk :good:

I have encountered other compiling errors but it seems to be due to the way repositories for my device are set up. A lot of internal errors indicating missing files that are there but labelled differently so it gets ignored. Should hopefully manage by renaming the relevant files. :fingers-crossed:
[Android] :
I get this:

Failed to open a session for the virtual machine builduntu.

The virtual machine 'builduntu' has terminated unexpectedly during startup.

Result Code: E_FAIL (0x80004005)
Component: Machine
Interface: IMachine {22781af3-1c96-4126-9edf-67a020e0e858}

when I start the VM. Anyone know how to fix? [MENTION=2645562]sylentprofet[/MENTION]

EDIT: fixed by re-downloading ova file and changing some settings in the motherboard BIOS. Thanks for sharing this tool!
[Android] davidbaumann:
"Some settings"?

Gesendet von meinem GT-I9300 mit Tapatalk
[Android] jblazea50:
[MENTION=2645562]sylentprofet[/MENTION] how do i increase the size of the virtual drive. The default is set at 100gb, I would like to extend to about 250-300gb.

100gb gets used up pretty fast if you plan on repo sync more than one project.
[Android] :
VT-X settings

Why, are you having trouble?
[Android] davidbaumann:
Not me. But maybe other people.

Gesendet von meinem GT-I9300 mit Tapatalk
[Android] Agasharr:
any chance of uploading it somewhere else than mediafire? coz I tried download it 3 times and it always fails
[Android] sylentprofet:
where's a good place for you? dev-host? preferably somewhere that can get past the Great Firewall

let me know and i'll rock it
[Android] sylentprofet:
Google is your friend.

On the next revision I'll just make the max upper limit like 500 gigs or something.. For now, try the above link directions (VBoxmanage etc)
[Android] Beauenheim:
After setting up a dual boot with Ubuntu and Windows 7 (UEFI is painful to manage with this)

And dealing with lag and driver issues etc etc.

There was a virtual machine all along..

Thank you.
[Android] :
Yes, something simple like this can be extremely useful.
[Android] Beauenheim:
Oh yeah. Even after setting my stuff all up. I had issues trying to build.

This is going to be very useful.

Learning how to build ROMs, I have some ideas for some lighter aosp Roms for the nexus 5.
[Android] Agasharr:
thank You for answer but nvm, i manage to download this at work :D
[Android] skyline_kid:
Every time I try to build Carbon ROM with this I get the error

Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt
make[1]: Leaving directory `/home/android/carbon/kernel/motorola/msm8960-common'
mdpath=`find /home/android/carbon/out/target/product/xt926/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/android/carbon/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/android/carbon/out/target/product/xt926/system/lib/modules/; done; fi
mdpath=`find /home/android/carbon/out/target/product/xt926/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi

I ran

sudo apt-get install module-init-tools

and it gave me this

Reading package lists... Done
Building dependency tree
Reading state information... Done
module-init-tools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Any clue what's going on? I've done repo syncs and tried building several times.
[Android] 0.0:
I am so grateful for this! I am going to try this out. I recently updated to OS X 10.9, and it has been giving me some building problems. Hopefully this method will solve it. I will let you (OP) know :D

---------- Post added at 03:27 PM ---------- Previous post was at 03:25 PM ----------

I am not familiar with Linux, but is there a way to update the module-init-tools, since it stated that 3 not upgraded? Maybe that'll work?
[Android] skyline_kid:
Here's a pastebin of one of my build attempts:http://pastebin.com/7h5iXddr Hopefully that'll help
[Android] 0.0:
Hopefully someone can help me. I am stuck toward the end of my build. The build gets stuck at "using device-specific extensions in device/lge/mako". Is there a fix for this? Thanks
[Android] sylentprofet:
Looking at the pastebin I can't seem to find anything wrong, it looks like it's just suddenly bailing out.

I've had something similar happen to me when I don't assign enough memory to the VM. Try bumping up the RAM in the settings for the virtual machine. If your system can handle it, 4+ gig is recommended for compiling.
[Android] skyline_kid:
Well I only have 4 gigs of RAM but I might try that. I have ~2 gigs assigned and I usually compile while I'm asleep so the only other processes are things running in the background. The ROM I was trying to build started nightlies back up yesterday so there's not a whole lot of reason to mess with it other than I wanted HALO and I've spent so much time messing with it that I really just want it to build at least once lol
[Android] ThatKawaiiGuy:
Anybody getting Error 41 when building 4.4? Turns out you need JDK 1.6.0_26 for some KK roms.

Sent from my Bangin' G on Mahdi 4.4.2 :)
[Android] neeraj797:
i am getting following error,i tried several times

Failed to open a session for the virtual machine builduntu_1.

VT-x is not available. (VERR_VMX_NO_VMX).

Result Code: E_FAIL (0x80004005)

Component: Console

Interface: IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}
[Android] coyttl:
Thanks for this. Not new to linux, but new to ROM building. I'm gonna have a ball with this. :D
[Android] sylentprofet:
You should try Googling your problem first.

Disable VT-x under Settings > System > Acceleration. Older systems or certain BIOS setup do not support Intel Virtualization Technology
[Android] neeraj797:
this option is coming blank,please also read what is written at bottom
[Android] jblazea50:
[MENTION=2645562]sylentprofet[/MENTION] if i installed the previous build, how do i go about updating to the latest without losing data on previous build?

thanks
[Android] sylentprofet:
[MENTION=2351408]jblazea50[/MENTION]

copy your files to another HD (USB, or shared folder on your Windows machine, whatever), download and import the new VM, then copy your stuff back over. or use cloud storage of somesort.

i'll be releasing a new version based on ubuntu 14.04 trusty tahr soon.

thanks for your interest in my project!
[Android] neeraj797:
as per my best of my experience,directly install new version,without uninstalling previuos one,all files will remain there,as they are
[Android] neeraj797:
someone please tell me,i tried 4 different versions of virtualbox,2 latest and 2 old ones(as per version given in it's forum) newer gives error related to vt-x and i can't enable/disable it as that option is greyed.In older versions in which vt-x issue is not there,installation don't completes and gives error related to driver.

Then how you all are using this? which version you all are using of virtualbox?
[Android] neeraj797:
when i run it on vmware,i get these msgs
[Android] neeraj797:
update:started working on 4.3.0 version but when i select ubuntu in boot menu,among 4 options,nothing happens and black screen remains there