Guest Y300-0100 Posted March 1, 2014 Report Posted March 1, 2014 (edited) Hi to all. There are a lot of tutorial how to prepare Ubuntu 12.04.4 for android Build. And none of them is complete, some pack is allways mising witch is very anoing. So I made my tutorial simple. 1. install ubuntu 12.04.4 *64 (not wubi instalation!!! For single build you will need >100 GB) 2. recomended to make swap partition during instalation sudo swapon -s than type this: df Create and Enable the Swap File: Create the swap file using the dd command: sudo dd if=/dev/zero of=/swapfile bs=1024 count=2048k hit enter sudo mkswap /swapfile hit enter Finish by activating the swap file: sudo swapon /swapfile And check is your swap file active with: sudo swapon -s if result is like this , swap file is active: Filename Type Size Used Priority /swapfile file 2097148 0 -1 install java 6 SE in terminal type this: sudo apt-get purge openjdk* sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java6-installer and hit enter than to install all packages needed for building type this: sudo apt-get install ia32-libs git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential lzop zip curl libncurses5-dev zlib1g-dev pngcrush schedtool libxml2 libxml2-utils xsltproc g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline-gplv2-dev gcc-multilib hit enter and wait. It need some time to download some updates and all packages required for android bild. Then check g++ --version if it show this: g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Then check gcc --version if it show this, its ok. gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 5. Installing Repo Repo is a tool that makes it easier to work with Git in the context of Android. To install Repo: Create bin directory in your home directory and that it is included in your path: mkdir ~/bin PATH=~/bin:$PATH Download the Repo tool and ensure that it is executable: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo Create a directory for your working files: mkdir android your WORKING_DIRECTORY cd android Run repo init to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest, which specifies where the various repositories included in the Android source will be placed within your working directory. NOTE: .repo is hidden in android folder. To see it hit Ctrl+h in open android folder. repo init: repo init -u https://android.googlesource.com/platform/manifest For example and test we will use chill360 source for build: repo init -u git://github.com/SlimRoms/platform_manifest.git -b kk4.4-caf mkdir .repo/local_manifests Copy slimkat_huawei.xml to .repo/local_manifests repo sync Now wait. Need to download aprox 10GB when finished: source build/envsetup.sh 6. Start build For Y300: brunch u8833 For G510: brunch u8951 At the end check out folder in /android/out/target/product/u8833. If everything went as it should your rom will be there. Credits for helping me to learn: chil360 If anything missing please point out. Like every tutorial say in the end: Happy building and enjoy... Edited July 21, 2014 by Y300-0100
Guest mani6 Posted March 3, 2014 Report Posted March 3, 2014 Please upload a ROM for the build for g510? So that we can just use that instead of doing all this?? thanksssss
Guest Y300-0100 Posted March 3, 2014 Report Posted March 3, 2014 (edited) Please upload a ROM for the build for g510? So that we can just use that instead of doing all this?? thanksssss Point of this topic is tutorial for people to try to learn to do it on thay own. But I can upload rom that I build last night. It is based on previous chil360 manifest (Dazzozo kernel). I will upload ota build and unofficial version if you like?... http://www.mediafire.com/download/dp6ca07fxh4353g/slim_u8833-ota-eng.darkside.zip http://www.mediafire.com/download/9bl23pdt414i9sr/Slim-u8833-4.4.2.build.3.2.20140303-CHIL360.zip Edited March 3, 2014 by Y300-0100
Guest SaurabhRCk Posted March 3, 2014 Report Posted March 3, 2014 hey I wanna know something. lets say i wanna build pac 4.4.2. so i am guessing I have to build with device specific changes by dazzozo. how to do that! I mean can you make an example of building a rom in details if possible!
Guest Y300-0100 Posted March 3, 2014 Report Posted March 3, 2014 (edited) I am on road right now. So google about platform manifest and lokal manifest. That should help.. Edit// It would be helpful if someone come with advise ,sugestion, critic or point to something else because that is purpose of this.... Edited March 3, 2014 by Y300-0100
Guest SaurabhRCk Posted March 3, 2014 Report Posted March 3, 2014 just found this! pretty cool stuff huh! http://forum.xda-developers.com/showthread.php?t=2585828
Guest mani6 Posted March 3, 2014 Report Posted March 3, 2014 Yes pleassse upload the Ubuntu ROM I really want to try it and this is too complicated. for G510. I would love it. please let us know of any bugs?
Guest Y300-0100 Posted March 3, 2014 Report Posted March 3, 2014 Yes pleassse upload the Ubuntu ROM I really want to try it and this is too complicated. for G510. I would love it. please let us know of any bugs? its not Ubuntu rom!!! Its slimkat 3.2 and you have it here: http://www.modaco.com/topic/368306-rom442all-slimkat-32-unofficial-24022014/#entry2189726
Guest mani6 Posted March 3, 2014 Report Posted March 3, 2014 I thought this was Ubuntu touch :"( can't you do something about that?
Guest Y300-0100 Posted March 3, 2014 Report Posted March 3, 2014 (edited) hey I wanna know something. lets say i wanna build pac 4.4.2. so i am guessing I have to build with device specific changes by dazzozo. how to do that! I mean can you make an example of building a rom in details if possible! devices are allready added: android_vendor_pac / vendorsetup.sh add_lunch_combo pac_villec2-userdebug add_lunch_combo pac_vision-userdebug # Huawei add_lunch_combo pac_u8833-userdebug add_lunch_combo pac_u8860-userdebug add_lunch_combo pac_u8800pro-userdebug add_lunch_combo pac_u8951-userdebug # LGE add_lunch_combo pac_d800-userdebug U can try something like this: repo init -u git://github.com/PAC-man/pacman.git -b pac-4.4 mkdir .repo/local_manifests repo sync ./build-pac.sh -d u8833 -d is for dex optimisations did not try myself... U can try :-) Edited March 18, 2014 by Y300-0100
Guest Bundizle Posted March 4, 2014 Report Posted March 4, 2014 Point of this topic is tutorial for people to try to learn to do it on thay own. But I can upload rom that I build last night. It is based on previous chil360 manifest (Dazzozo kernel). I will upload ota build and unofficial version if you like?... http://www.mediafire.com/download/dp6ca07fxh4353g/slim_u8833-ota-eng.darkside.zip http://www.mediafire.com/download/9bl23pdt414i9sr/Slim-u8833-4.4.2.build.3.2.20140303-CHIL360.zip has anyone tried any of them? and what is the difference between the two because they both seem to be slim based
Guest Y300-0100 Posted March 4, 2014 Report Posted March 4, 2014 (edited) has anyone tried any of them? and what is the difference between the two because they both seem to be slim based ota: /system/app=48 /system/priv-app=25 chil360: /system/app=42 /system/priv-app=23 edit: now building cm-11, based on modified chil360 kernel . waiting to see what is going to be like... Edited March 4, 2014 by Y300-0100
Guest spanitzer Posted March 4, 2014 Report Posted March 4, 2014 (edited) More Apps in OTA? Edited March 4, 2014 by spanitzer
Guest spanitzer Posted March 5, 2014 Report Posted March 5, 2014 What do I need to flash to Ubuntu via TWRP? Please give me links for the files and please write a small guide how I need to flash.
Guest mockingbird Posted March 5, 2014 Report Posted March 5, 2014 What do I need to flash to Ubuntu via TWRP? Please give me links for the files and please write a small guide how I need to flash.READ the damn thread before posting....
Guest spanitzer Posted March 5, 2014 Report Posted March 5, 2014 Yes, but is in mediafire is always something of Slim Rome and all that. Slim Rome Ubuntu is not for me! How do I flash what? Bare Google translator.
Guest Y300-0100 Posted March 5, 2014 Report Posted March 5, 2014 (edited) Did anyone actualy tried to build something using this TUTORIAL insted of trying to instal ubuntu touch rom??? ;-) Edited March 5, 2014 by Y300-0100
Guest Victod Posted March 5, 2014 Report Posted March 5, 2014 (edited) Did anyone actualy tried to build something using this TUTORIAL insted of trying to instal ubuntu touch rom??? ;-) I would love try but I guess that like me there is a lot of people that can not download 10 GB just to build a ROM <_< Copy slimkat_huawei.xml to .repo/local_manifests repo sync Now wait. Need to download aprox 10GB Edited March 5, 2014 by Victod
Guest SaurabhRCk Posted March 6, 2014 Report Posted March 6, 2014 And I don't have 100 GB free space!! :p
Guest honzyn25 Posted March 7, 2014 Report Posted March 7, 2014 (edited) Hi, I have a small problem. I can not download. Repo files. See the screen. http://imageshack.com/a/img23/9679/zdbl.png Edited March 7, 2014 by honzyn25
Guest pbr1111 Posted March 7, 2014 Report Posted March 7, 2014 Hi, I have a small problem. I can not download. Repo files. See the screen. http://imageshack.com/a/img23/9679/zdbl.png Restart the virtual machine and try it again.
Guest Y300-0100 Posted March 7, 2014 Report Posted March 7, 2014 (edited) Hi, I have a small problem. I can not download. Repo files. See the screen. http://imageshack.com/a/img23/9679/zdbl.png wrong path??.. chmod a+x ~/repo sudo mv ~/repo /usr/local/bin/repo check first bin folder.. and whay didi u start: PATH=~/bin:$PATH curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo from android folder? Edited March 7, 2014 by Y300-0100
Guest honzyn25 Posted March 7, 2014 Report Posted March 7, 2014 Well, then I do not know. The whole re-install VirtualBox I started all over again and I even found a terminal installed packages. The directory or file does not exist. I tried to go on again and I stayed in the same place as before. It might be a problem with the path but do not know how to enter it correctly.
Guest Y300-0100 Posted March 7, 2014 Report Posted March 7, 2014 Well, then I do not know. The whole re-install VirtualBox I started all over again and I even found a terminal installed packages. The directory or file does not exist. I tried to go on again and I stayed in the same place as before. It might be a problem with the path but do not know how to enter it correctly. u did not have to do reinstall. before u download repo first u have to set path (from your print screen path look like a problem). like this: PATH=~/bin:$PATH then download repo: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo and than make it exe with: chmod a+x ~/bin/repo than u can go to /android and do the rest.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now