[HOW TO] Android Build Environment on Ubuntu 12.04 - Android

So my desktop system died after many years and I just finished building my new system. I stopped cooking ROMs some time ago and it was time to setup my Android build environment again. Last time I did that Google's directions were pretty much straight forward and did not run into any issues. Can't say that for this time, AOSP site needs to update their instructions a bit. I made notes during the process and thought to share them in case anyone finds themselves in a spot like me.
Use this guide as you follow the instructions at the AOSP website and you should be fine. You can copy and paste all the terminal commands.
Initializing a Build Environment - Google's Instructions HERE
Python
Python 2.6 -- 2.7 - Install dependencies before installing Python
Code:
sudo apt-get install build-essential
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Download Python
Code:
cd ~/Downloads/
wget http://python.org/ftp/python/2.7.6/Python-2.7.6.tgz
Extract & Change Directory
Code:
tar -xvf Python-2.7.6.tgz
cd Python-2.7.6
Install
Code:
./configure
make
sudo make install
GNU Make 3.81 -- 3.82
Download GNU Make
Code:
cd ~/Downloads/
wget http://ftp.gnu.org/gnu/make/make-3.82.tar.gz
Note: If following guide step by step then "cd .." with no quotes from Python-2.7.6 folder
Extract & Change Directory
Code:
tar -xvf make-3.82.tar.gz
cd make-3.82
Install
Code:
./configure
make
sudo make install
You most likely can use apt-get install for the Python and GNU Make but I just prefer this way...
Oracle JDK 6
Code:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer
sudo update-java-alternatives -s java-6-oracle
sudo apt-get install oracle-java6-set-default
Note: Use arrow keys on keyboard to navigate confirmation dialogues. You can use OpenJDK with some tweaks but I prefer to use Oracle JDK 6
Git
Code:
sudo apt-get install git
Installing required packages
Code:
sudo apt-get install git gnupg flex bison gperf build-essential
sudo apt-get install zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev
sudo apt-get install libx11-dev:i386 libreadline6-dev:i386
sudo apt-get install libgl1-mesa-dev g++-multilib mingw32 tofrodos
sudo apt-get install python-markdown libxml2-utils xsltproc zlib1g-dev:i386
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Bring up AOSP Guide HERE
Continue from Configuring USB Access
To create /etc/udev/rules.d/51-android.rules file type in terminal
Code:
sudo gedit /etc/udev/rules.d/51-android.rules
Make sure to follow AOSP instructions on changing "username" to your login name.
Keep following the guide till the end
Make sure to setup .ccache once repo sync (downloading of source) is complete.
When you are done, reboot system. Once booted click on Dash Home (First icon on side bar), if you notice there is nothing in Dash Home then do the following:
Code:
mv ~/.local/share/zeitgeist ~/.local/share/zeitgeist.bak
kill -s TERM `pidof /usr/lib/unity-lens-applications/unity-applications-daemon`
Your system is now ready to build AOSP.
Good luck and enjoy!
My new system specs are:
Asus Z87-A Motherboard
i7 4770K
Crucial Ballistix Sport VLP 16GB DDR3-1600
WD Black 1TB
Samsung 840EVO RAID0 - Ubuntu use only
Corsair Hydro Series H80i
Corsair 300R Case
Corsair CX Series CX750M 750 Watt
Build Time ~38 minutes from fresh source download. Have not tried with ccache functioning yet.

Thanks, followed your directions and I am ready to move on to the next step, but I am unsure. I want to build KitKat for hltetmo, any pointers, maybe another guide on how to continue?

ReelFiles said:
Thanks, followed your directions and I am ready to move on to the next step, but I am unsure. I want to build KitKat for hltetmo, any pointers, maybe another guide on how to continue?
Click to expand...
Click to collapse
Did the install guide work for you?
You might want to search the net for how to build device tree for CM. There are some good guides out there.
Sent from my LG-D800 using XDA Premium 4 mobile app

AndroidUser00110001 said:
Did the install guide work for you?
You might want to search the net for how to build device tree for CM. There are some good guides out there.
Sent from my LG-D800 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes it did, thanks. I should have been more specific, I meant to say SlimKat, but that'll have to wait 'til the weekend now.

ReelFiles said:
Yes it did, thanks. I should have been more specific, I meant to say SlimKat, but that'll have to wait 'til the weekend now.
Click to expand...
Click to collapse
Go to their github and follow the instructions.
Sent from my LG-D800 using XDA Premium 4 mobile app

AndroidUser00110001 said:
Go to their github and follow the instructions.
Sent from my LG-D800 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I tried and I kept getting repo init errors. The best I could figure out was that it was reading it as an html link rather than a python script. I tried reinstalling python, but to no avail. I am going to try again today.
Now I am getting syntax error near unexpected token 'newline' when trying to setup their gerrit.. this is very offputting. I just wish they would make it more user friendly. I might try a prebuit vm build environment.

Howdy, What do you recommend for a minimum partition size for the build partition. i.e. /home? will 45 gig be enough for a cyanogen build?

To OP
Actualy this
Installing required packages
Code:
[SIZE=5][B][SIZE=2]sudo apt-get install git gnupg flex bison gperf build-essential [COLOR=Red]sudo apt-get install zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev[/COLOR] sudo apt-get install libx11-dev:i386 libreadline6-dev:i386 sudo apt-get install libgl1-mesa-dev g++-multilib mingw32 tofrodos sudo apt-get install python-markdown libxml2-utils xsltproc zlib1g-dev:i386 sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so[SIZE=5][B][SIZE=2]
[/SIZE][/B][/SIZE][/SIZE][/B][/SIZE]
Disinstall to much vital component on my system like nvidia drivers....
Code:
[SIZE=5][SIZE=2][SIZE=3][SIZE=5][SIZE=2][SIZE=3][[email protected]:~$ sudo apt-get install zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
zip è già alla versione più recente.
È stato impostato zip per l'installazione manuale.
libc6-dev è già alla versione più recente.
È stato impostato libc6-dev per l'installazione manuale.
I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
gir1.2-ubuntuoneui-3.0 libubuntuoneui-3.0-1 thunderbird-globalmenu
Usare "apt-get autoremove" per rimuoverli.
I seguenti pacchetti saranno inoltre installati:
gcc-4.6-base:i386 libc6:i386 libc6-dev:i386 libgcc1:i386 libgpm2:i386
libncurses5:i386 libtinfo-dev:i386 libtinfo5:i386 linux-libc-dev:i386
xorg-sgml-doctools
Pacchetti suggeriti:
glibc-doc:i386 locales:i386 manpages-dev:i386 gpm:i386 ncurses-doc:i386
Pacchetti raccomandati:
gcc:i386 c-compiler:i386
[COLOR=Red]I seguenti pacchetti saranno RIMOSSI:
build-essential dkms g++ gcc nvidia-304[/COLOR]
I seguenti pacchetti NUOVI saranno installati:
curl gcc-4.6-base:i386 libc6:i386 libc6-dev:i386 libgcc1:i386 libgpm2:i386
libncurses5:i386 libncurses5-dev:i386 libtinfo-dev:i386 libtinfo5:i386
linux-libc-dev:i386 x11proto-core-dev xorg-sgml-doctools
0 aggiornati, 13 installati, 5 da rimuovere e 2 non aggiornati.
È necessario scaricare 11,0 MB di archivi.
Dopo quest'operazione, verranno liberati 169 MB di spazio su disco.
Continuare [S/n]? s
Scaricamento di:1 http://it.archive.ubuntu.com/ubuntu/ precise/main gcc-4.6-base i386 4.6.3-1ubuntu5 [15,3 kB]
Scaricamento di:2 http://it.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 i386 2.15-0ubuntu10.5 [3949 kB]
Scaricamento di:3 http://it.archive.ubuntu.com/ubuntu/ precise/main libgcc1 i386 1:4.6.3-1ubuntu5 [54,3 kB]
Scaricamento di:4 http://it.archive.ubuntu.com/ubuntu/ precise/main libtinfo5 i386 5.9-4 [90,0 kB]
Scaricamento di:5 http://it.archive.ubuntu.com/ubuntu/ precise/main libncurses5 i386 5.9-4 [116 kB]
Scaricamento di:6 http://it.archive.ubuntu.com/ubuntu/ precise/main libgpm2 i386 1.20.4-4 [16,9 kB]
Scaricamento di:7 http://it.archive.ubuntu.com/ubuntu/ precise-updates/main curl amd64 7.22.0-3ubuntu4.7 [138 kB]
Scaricamento di:8 http://it.archive.ubuntu.com/ubuntu/ precise-updates/main linux-libc-dev i386 3.2.0-59.90 [862 kB]
Scaricamento di:9 http://it.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev i386 2.15-0ubuntu10.5 [5107 kB]
Scaricamento di:10 http://it.archive.ubuntu.com/ubuntu/ precise/main libtinfo-dev i386 5.9-4 [93,5 kB]
Scaricamento di:11 http://it.archive.ubuntu.com/ubuntu/ precise/main libncurses5-dev i386 5.9-4 [218 kB]
Scaricamento di:12 http://it.archive.ubuntu.com/ubuntu/ precise/main xorg-sgml-doctools all 1:1.10-1 [12,0 kB]
Scaricamento di:13 http://it.archive.ubuntu.com/ubuntu/ precise-updates/main x11proto-core-dev all 7.0.22-1ubuntu0.1 [300 kB]
Recuperati 11,0 MB in 13s (835 kB/s)
Preconfigurazione dei pacchetti in corso
(Lettura del database... 148290 file e directory attualmente installati.)
[COLOR=Red]Rimozione di nvidia-304...
Removing all DKMS Modules[/COLOR]
Done.
update-alternatives: rimozione delle alternative selezionate manualmente - viene attivata la modalità automatica per x86_64-linux-gnu_gl_conf
update-alternatives: viene usato /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf per fornire /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in modalità automatica.
update-alternatives: rimozione delle alternative selezionate manualmente - viene attivata la modalità automatica per i386-linux-gnu_gl_conf
INFO:Disable nvidia-304
DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad
update-initramfs: deferring update (trigger activated)
[COLOR=Red]Rimozione di dkms...
Rimozione di build-essential...
Rimozione di g++...
Rimozione di gcc...[/COLOR]
Elaborazione dei trigger per libc-bin...
ldconfig deferred processing now taking place
Elaborazione dei trigger per man-db...
Elaborazione dei trigger per initramfs-tools...
update-initramfs: Generating /boot/initrd.img-3.8.0-29-generic
Selezionato il pacchetto gcc-4.6-base:i386 non precedentemente selezionato.
(Lettura del database... 148032 file e directory attualmente installati.)
Estrazione di gcc-4.6-base:i386 (da .../gcc-4.6-base_4.6.3-1ubuntu5_i386.deb)...
Selezionato il pacchetto libc6:i386 non precedentemente selezionato.
Estrazione di libc6:i386 (da .../libc6_2.15-0ubuntu10.5_i386.deb)...
Sostituzione dei file nella versione precedente del pacchetto libc6-i386...
Selezionato il pacchetto libgcc1:i386 non precedentemente selezionato.
Estrazione di libgcc1:i386 (da .../libgcc1_1%3a4.6.3-1ubuntu5_i386.deb)...
Selezionato il pacchetto libtinfo5:i386 non precedentemente selezionato.
Estrazione di libtinfo5:i386 (da .../libtinfo5_5.9-4_i386.deb)...
Configurazione di gcc-4.6-base:i386 (4.6.3-1ubuntu5)...
Configurazione di libgcc1:i386 (1:4.6.3-1ubuntu5)...
Configurazione di libc6:i386 (2.15-0ubuntu10.5)...
Configurazione di libtinfo5:i386 (5.9-4)...
Elaborazione dei trigger per libc-bin...
ldconfig deferred processing now taking place
Selezionato il pacchetto libncurses5:i386 non precedentemente selezionato.
(Lettura del database... 148343 file e directory attualmente installati.)
Estrazione di libncurses5:i386 (da .../libncurses5_5.9-4_i386.deb)...
Selezionato il pacchetto libgpm2:i386 non precedentemente selezionato.
Estrazione di libgpm2:i386 (da .../libgpm2_1.20.4-4_i386.deb)...
Selezionato il pacchetto curl non precedentemente selezionato.
Estrazione di curl (da .../curl_7.22.0-3ubuntu4.7_amd64.deb)...
Selezionato il pacchetto linux-libc-dev:i386 non precedentemente selezionato.
Estrazione di linux-libc-dev:i386 (da .../linux-libc-dev_3.2.0-59.90_i386.deb)...
Selezionato il pacchetto libc6-dev:i386 non precedentemente selezionato.
Estrazione di libc6-dev:i386 (da .../libc6-dev_2.15-0ubuntu10.5_i386.deb)...
Selezionato il pacchetto libtinfo-dev:i386 non precedentemente selezionato.
Estrazione di libtinfo-dev:i386 (da .../libtinfo-dev_5.9-4_i386.deb)...
Selezionato il pacchetto libncurses5-dev:i386 non precedentemente selezionato.
Estrazione di libncurses5-dev:i386 (da .../libncurses5-dev_5.9-4_i386.deb)...
Selezionato il pacchetto xorg-sgml-doctools non precedentemente selezionato.
Estrazione di xorg-sgml-doctools (da .../xorg-sgml-doctools_1%3a1.10-1_all.deb)...
Selezionato il pacchetto x11proto-core-dev non precedentemente selezionato.
Estrazione di x11proto-core-dev (da .../x11proto-core-dev_7.0.22-1ubuntu0.1_all.deb)...
Elaborazione dei trigger per man-db...
Configurazione di libncurses5:i386 (5.9-4)...
Configurazione di libgpm2:i386 (1.20.4-4)...
Configurazione di curl (7.22.0-3ubuntu4.7)...
Configurazione di linux-libc-dev:i386 (3.2.0-59.90)...
Configurazione di libc6-dev:i386 (2.15-0ubuntu10.5)...
Configurazione di libtinfo-dev:i386 (5.9-4)...
Configurazione di libncurses5-dev:i386 (5.9-4)...
Configurazione di xorg-sgml-doctools (1:1.10-1)...
Configurazione di x11proto-core-dev (7.0.22-1ubuntu0.1)...
Elaborazione dei trigger per libc-bin...
ldconfig deferred processing now taking place
[email protected]:~$ [/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE]
the other "essential" is not yet tryed no i will repare my system first

Related

[solved] Cm7 build error

Problem sloved!
Hi!
I am trying to build cm7 from source for my acer liquid. But about 5 min after starting the build I run into this error:
Install: out/host/linux-x86/bin/simg2img
host Executable: sqlite3 (out/host/linux-x86/obj/EXECUTABLES/sqlite3_intermediates/sqlite3)
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/sqlite3_intermediates/sqlite3] Error 1
I am using Ubuntu 12.04 64 bit on my Laptop with an AMD E-350 processor.
All help welcome,
Alex
iKrautDroid said:
Hi!
I am trying to build cm7 from source for my acer liquid. But about 5 min after starting the build I run into this error:
Install: out/host/linux-x86/bin/simg2img
host Executable: sqlite3 (out/host/linux-x86/obj/EXECUTABLES/sqlite3_intermediates/sqlite3)
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/sqlite3_intermediates/sqlite3] Error 1
I am using Ubuntu 12.04 64 bit on my Laptop with an AMD E-350 processor.
All help welcome,
Alex
Click to expand...
Click to collapse
Make sure you have all the needed packages to build.
yea, install the required packages for 12.04 here
Hmm, i just ran:
sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev:i386 \
g++-multilib mingw32 openjdk-6-jdk tofrodos python-markdown \
libxml2-utils xsltproc zlib1g-dev:i386
again and it installed libncurses5, which for some reason wasnt installed when I first set up my build environment. Thanks lithid, problem solved!

Having problems setting up build enviroment for building android

I'm trying to setup my build enviroment. I have mint linux 14 64bit. when following the guide on http://xda-university.com/as-a-developer/getting-started-building-android-from-source, i seem to be getting errors. the lines it says to use in terminal are
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
Here is the printout of result.
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential \
> zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
> libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
> libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \
> python-markdown libxml2-utils xsltproc zlib1g-dev:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
gnupg is already the newest version.
libc6-dev is already the newest version.
zip is already the newest version.
The following extra packages will be installed:
g++-4.7-multilib gcc-4.7-base:i386 gcc-4.7-multilib gcc-multilib
icedtea-6-jre-cacao icedtea-6-jre-jamvm lib32gcc1 lib32gomp1 lib32itm1
lib32quadmath0 lib32stdc++6 libX11-dev libbison-dev libc6:i386
libc6-dev:i386 libc6-dev-i386 libc6-i386 libdrm-dev libdrm-intel1:i386
libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libexpat1:i386
libffi6:i386 libfl-dev libgcc1:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386
libgpm2:i386 libice-dev libllvm3.1:i386 libncurses5:i386 libpciaccess0:i386
libpthread-stubs0 libpthread-stubs0:i386 libpthread-stubs0-dev
libpthread-stubs0-dev:i386 libreadline6:i386 libsm-dev libstdc++6:i386
libtinfo-dev:i386 libtinfo5:i386 libtxc-dxtn-s2tc0:i386 libx11-6:i386
libx11-doc libx11-xcb-dev libx11-xcb1:i386 libxau-dev libxau-dev:i386
libxau6:i386 libxcb-glx0:i386 libxcb-glx0-dev libxcb1:i386 libxcb1-dev
libxcb1-dev:i386 libxdamage-dev libxdamage1:i386 libxdmcp-dev
libxdmcp-dev:i386 libxdmcp6:i386 libxext-dev libxext6:i386 libxfixes-dev
libxfixes3:i386 libxt-dev libxxf86vm-dev libxxf86vm1:i386 lintian
linux-libc-dev linux-libc-dev:i386 m4 mesa-common-dev mingw32-binutils
mingw32-runtime openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib
python-pygments x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev
x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev
x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev zlib1g:i386
Suggested packages:
bison-doc lib32stdc++6-4.7-dbg lib32mudflap0 glibc-doc:i386 locales:i386
manpages-dev:i386 libglide3:i386 gpm:i386 libice-doc ncurses-doc:i386
libsm-doc libxcb-doc libxcb-doc:i386 libxext-doc libxt-doc
binutils-multiarch libhtml-parser-perl libperlio-gzip-perl
libtext-template-perl gcc-doc cpp-doc openjdk-6-demo openjdk-6-source
visualvm sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho
ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts
python-markdown-doc ttf-bitstream-vera
Recommended packages:
libx11-doc:i386 gcc:i386 c-compiler:i386
The following NEW packages will be installed:
bison curl flex g++-4.7-multilib g++-multilib gcc-4.7-base:i386
gcc-4.7-multilib gcc-multilib git-core gperf icedtea-6-jre-cacao
icedtea-6-jre-jamvm lib32gcc1 lib32gomp1 lib32itm1 lib32quadmath0
lib32stdc++6 libX11-dev libX11-dev:i386 libbison-dev libc6:i386
libc6-dev:i386 libc6-dev-i386 libc6-i386 libdrm-dev libdrm-intel1:i386
libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libexpat1:i386
libffi6:i386 libfl-dev libgcc1:i386 libgl1-mesa-dev libgl1-mesa-dri:i386
libgl1-mesa-glx:i386 libglapi-mesa:i386 libgpm2:i386 libice-dev
libllvm3.1:i386 libncurses5:i386 libncurses5-dev:i386 libpciaccess0:i386
libpthread-stubs0 libpthread-stubs0:i386 libpthread-stubs0-dev
libpthread-stubs0-dev:i386 libreadline6:i386 libreadline6-dev:i386 libsm-dev
libstdc++6:i386 libtinfo-dev:i386 libtinfo5:i386 libtxc-dxtn-s2tc0:i386
libx11-6:i386 libx11-doc libx11-xcb-dev libx11-xcb1:i386 libxau-dev
libxau-dev:i386 libxau6:i386 libxcb-glx0:i386 libxcb-glx0-dev libxcb1:i386
libxcb1-dev libxcb1-dev:i386 libxdamage-dev libxdamage1:i386 libxdmcp-dev
libxdmcp-dev:i386 libxdmcp6:i386 libxext-dev libxext6:i386 libxfixes-dev
libxfixes3:i386 libxml2-utils libxt-dev libxxf86vm-dev libxxf86vm1:i386
linux-libc-dev:i386 m4 mesa-common-dev mingw32 mingw32-binutils
mingw32-runtime openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless
openjdk-6-jre-lib python-markdown python-pygments tofrodos x11proto-core-dev
x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev
x11proto-input-dev x11proto-kb-dev x11proto-xext-dev
x11proto-xf86vidmode-dev xorg-sgml-doctools xsltproc xtrans-dev zlib1g:i386
zlib1g-dev:i386
The following packages will be upgraded:
lintian linux-libc-dev
2 upgraded, 106 newly installed, 0 to remove and 120 not upgraded.
Need to get 45.6 MB/125 MB of archives.
After this operation, 487 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://archive.ubuntu.com/ubuntu/ quantal-updates/main linux-libc-dev amd64 3.5.0-18.29
404 Not Found [IP: 91.189.91.15 80]
Err http://archive.ubuntu.com/ubuntu/ quantal-updates/universe openjdk-6-jre-lib all 6b24-1.11.5-0ubuntu1~12.10.1
404 Not Found [IP: 91.189.91.15 80]
Err http://archive.ubuntu.com/ubuntu/ quantal-updates/main linux-libc-dev i386 3.5.0-18.29
404 Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ quantal-security/universe openjdk-6-jre-lib all 6b24-1.11.5-0ubuntu1~12.10.1
404 Not Found [IP: 91.189.92.181 80]
Err http://security.ubuntu.com/ubuntu/ quantal-security/universe openjdk-6-jre-headless amd64 6b24-1.11.5-0ubuntu1~12.10.1
404 Not Found [IP: 91.189.92.181 80]
Err http://security.ubuntu.com/ubuntu/ quantal-security/universe icedtea-6-jre-cacao amd64 6b24-1.11.5-0ubuntu1~12.10.1
404 Not Found [IP: 91.189.92.181 80]
Err http://security.ubuntu.com/ubuntu/ quantal-security/universe icedtea-6-jre-jamvm amd64 6b24-1.11.5-0ubuntu1~12.10.1
404 Not Found [IP: 91.189.92.181 80]
Err http://security.ubuntu.com/ubuntu/ quantal-security/universe openjdk-6-jre amd64 6b24-1.11.5-0ubuntu1~12.10.1
404 Not Found [IP: 91.189.92.181 80]
Err http://security.ubuntu.com/ubuntu/ quantal-security/universe openjdk-6-jdk amd64 6b24-1.11.5-0ubuntu1~12.10.1
404 Not Found [IP: 91.189.92.181 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.5.0-18.29_amd64.deb 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/o/openjdk-6/openjdk-6-jre-lib_6b24-1.11.5-0ubuntu1~12.10.1_all.deb 404 Not Found [IP: 91.189.92.181 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/o/openjdk-6/openjdk-6-jre-headless_6b24-1.11.5-0ubuntu1~12.10.1_amd64.deb 404 Not Found [IP: 91.189.92.181 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.5.0-18.29_i386.deb 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/o/openjdk-6/icedtea-6-jre-cacao_6b24-1.11.5-0ubuntu1~12.10.1_amd64.deb 404 Not Found [IP: 91.189.92.181 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/o/openjdk-6/icedtea-6-jre-jamvm_6b24-1.11.5-0ubuntu1~12.10.1_amd64.deb 404 Not Found [IP: 91.189.92.181 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/o/openjdk-6/openjdk-6-jre_6b24-1.11.5-0ubuntu1~12.10.1_amd64.deb 404 Not Found [IP: 91.189.92.181 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/o/openjdk-6/openjdk-6-jdk_6b24-1.11.5-0ubuntu1~12.10.1_amd64.deb 404 Not Found [IP: 91.189.92.181 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Can anyone make heads or tails of this?
memphian said:
Can anyone make heads or tails of this?
Click to expand...
Click to collapse
The errors you are running into relate to the version of Java you are trying to install. Since JRE 6 and JDK 6 have long not been included in the main package repository you are getting an error saying that they can't be found, as a result you will need to install them from a different source. I would recommend taking a look at this guide on setting up the proper version of Java for your build environment (Even though the guide is for Ubuntu it should still work on Mint). Additionally you never want to use Icedtea version of Java for building Android and it is recommend to use the official Oracle/Sun JDK 6 and JRE 6 for building Android.
shimp208 said:
The errors you are running into relate to the version of Java you are trying to install. Since JRE 6 and JDK 6 have long not been included in the main package repository you are getting an error saying that they can't be found, as a result you will need to install them from a different source. I would recommend taking a look at this guide on setting up the proper version of Java for your build environment (Even though the guide is for Ubuntu it should still work on Mint). Additionally you never want to use Icedtea version of Java for building Android and it is recommend to use the official Oracle/Sun JDK 6 and JRE 6 for building Android.
Click to expand...
Click to collapse
I'll check it out thanks.
Sent from my Nexus 4 using xda app-developers app
i was running on the same problem you need to install oracle java 1.6 (jdk spew errors, for some reason)
Code:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install oracle-java6-installer
sudo update-alternatives --config java (Here choose oracle)
that should do, it did it for me ^^
Cia fellow Mint
Think I have gotten past that point. Thanks guys.
The problem I'm running into now is that on the tutorial it says that a command has to be added to ~/.bashrc script. However, I don't see ~/.bashrc in home folder.
Sent from my Nexus 4 using xda app-developers app
memphian said:
The problem I'm running into now is that on the tutorial it says that a command has to be added to ~/.bashrc script. However, I don't see ~/.bashrc in home folder.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
link to tutorial pls?
glorer said:
link to tutorial pls?
Click to expand...
Click to collapse
http://xda-university.com/as-a-developer/getting-started-building-android-from-source
Here it is sorry.
Sent from my Nexus 4 using xda app-developers app
ok i used nemo and found the .profile, not the barsch thought soo
Code:
sudo nemo
menu view -> Show hidden files or ctrl+h
home
<user>
and it should be sitting there
glorer said:
ok i used nemo and found the .profile, not the barsch thought soo
Code:
sudo nemo
menu view -> Show hidden files or ctrl+h
home
<user>
and it should be sitting there
Click to expand...
Click to collapse
I'm thinking .profile should be used. Not sure.
memphian said:
I'm thinking .profile should be used. Not sure.
Click to expand...
Click to collapse
If you navigate to your home directory using the built in file manager the .bashrc and/or the .profile will be hidden by default by pressing ctrl + h should show all the hidden files in the home directory. The .bashrc is typically used in this step since not all versions of mint come with .bashrc you can create using the following command:
Code:
touch ~/.bashrc
Then you can input the command into the .bashrc file.
Sent from my Nexus 10 using xda premium

{Q} Android Kitchen

Heloo every one !
i just have format my win7 & install win8 64bit ,
i face problem with my kitchen !!
it was installed correctly before i format my pc !
but now it giving me this error after i press ./menu !!
Code:
[COLOR="Black"]Welcome to dsixda's Android Kitchen
Please wait ..
Error: The application 'gcc' is not installed - the kitchen
will not function properly without it. Ensure you did
not miss a step during installation! Refer to the
Android Kitchen FAQ at xda-developers.com for further
assistance.
** PLEASE READ THE FAQ BEFORE ASKING QUESTIONS!! **[/COLOR]
i tried to uninstall it and install fresh version but still i have this issue ?!
is my win8 64bit related to this issue ?
am working now to dev. a new rom but i face this problem and i need to fix my kitchen !?
i use some solution :
- re-install java sdk
-re-install gcc 3 times !
- fixing compatibility thing !
-all packages already checked & installed
-Also i move it to another part of hard desk !
i Already search google =D​
Try this...just in case you're missing anything. That is everything you could need to build from source...therefore should be good enough for kitchen
sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
Haze028 said:
Try this...just in case you're missing anything. That is everything you could need to build from source...therefore should be good enough for kitchen
sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
Click to expand...
Click to collapse
Code:
-bash: sudo: command not found
still same problem =)​
Probs
Hey, I've got a problem with KITCHEN on Porting a ROM. Here it is. The Kitchen's thread is closed, I dont have any idea who am I going to approach.
Converting to update-script, please wait ...
- Initial formatting ...
- assert ...
- write_raw_image ...
- run_program ...
- delete ...
- symlink ...
scripts/convert_updater_script: line 386: diff: command not found
ERROR: Problem converting symlinks
ChristianFerrer said:
Hey, I've got a problem with KITCHEN on Porting a ROM. Here it is. The Kitchen's thread is closed, I dont have any idea who am I going to approach.
Converting to update-script, please wait ...
- Initial formatting ...
- assert ...
- write_raw_image ...
- run_program ...
- delete ...
- symlink ...
scripts/convert_updater_script: line 386: diff: command not found
ERROR: Problem converting symlinks
Click to expand...
Click to collapse
Here Sir. This is the best and absolutely most functional Kitchen ever built to this point that's currently compatible to more devices than any others ever before this one built. This should take care of your needs and the Developer stays on the projects to improve functions and improve compatibility across the board. I highly doubt you'll be disappointed.
http://forum.xda-developers.com/showthread.php?p=62845957
Gratefully sent from my Rooted N9510 JollyRoger4G

errors while building the android source code

I trying to build the android source code in ubuntu 13.10, but i got so many errors
i have solved some of them then i got strucked . Now i want your help to build the androi source code,
before to that i will tel my system specification :
i am using Pentium D machine with 4 GB RAM with 50 GB free space in hard drive
using ubuntu 13.10 which is of 64 bit OS
And what are the packages i have installed
Python 2.7.5+, GNU Make 3.81, java version "1.6.0_45"
And i have followed the procedure for build such as :
a) G41M-Combo:~/bin/source $
: source build/envsetup.sh
b) G41M-Combo:~/bin/source $
: lunch
c) G41M-Combo:~/bin/source $
: 13
d) G41M-Combo:~/bin/source $
: make -j3
in 4th step i am using pentium D machine it is of 2 core so i have tried make -j2 also
but i did not got much difference
i am attaching the screen shot with this question ..
sayedjunedalam said:
I trying to build the android source code in ubuntu 13.10, but i got so many errors
i have solved some of them then i got strucked . Now i want your help to build the androi source code,
before to that i will tel my system specification :
i am using Pentium D machine with 4 GB RAM with 50 GB free space in hard drive
using ubuntu 13.10 which is of 64 bit OS
And what are the packages i have installed
Python 2.7.5+, GNU Make 3.81, java version "1.6.0_45"
And i have followed the procedure for build such as :
a) G41M-Combo:~/bin/source $
: source build/envsetup.sh
b) G41M-Combo:~/bin/source $
: lunch
c) G41M-Combo:~/bin/source $
: 13
d) G41M-Combo:~/bin/source $
: make -j3
in 4th step i am using pentium D machine it is of 2 core so i have tried make -j2 also
but i did not got much difference
i am attaching the screen shot with this question ..
Click to expand...
Click to collapse
Do you have the following packages installed:
bison build-essential curl flex git-core gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-6-jdk openjdk-6-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev? (source: http://wiki.cyanogenmod.org/w/Build_for_bravo)

[GUIDE][COMPLETE]How to build ROM with Google Cloud

What is this Tutorial?
This tutorial will help you learn about building a custom ROM from source on Google Cloud.
Who this tutorial is for?
This tutorial is for those who want to build a custom ROM from source, but are unable to do that because of following reasons:
1. Low network speed
2. Limited bandwidth
3. Irregular power supply which obstructs the repo sync (yes, this is a reason in some countries )
What is needed for you to start with this thread?
1. A google account
2. A credit card – This is a must to start using Google Cloud Update: I read that people have successfully used debit cards as well.; so try your luck
With you card you can activate free trial and use Google Cloud without any charges for 12 months. Your card will be charged for $1 for verification purpose (and that’s it, the charges on my credit card got reversed in a day- I’m not sure about the reversal of the charges on debit card charges will be reversed on the cards [But I'm not responsible if they don't revert it ]).
3. A PC with good (average will also do, I used 512 kbps connection) internet connection (to access Google Cloud, your bandwidth will not be used much).
4. Common sense (you should have it as you are reading this thread)
5. Willingness to read, search and ask right questions in right forums, communities
So, let’s start our journey!
Part – I
Activating Google Cloud FREE Trial
1. Go to Google Cloud website: https://cloud.google.com/ and click on Free Trial button
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Login with your Google account username and password.
3. Click on SIGN UP FOR FREE TRIAL
Enter all the details and click on Accept and start free trial button
4. It will start your free trial and create first project for you
Congratulations! You have completed the most important Part – I of the process and you are now ready to setup the environment for building your ROM!
Update: Now the free trial validity is 1 year so more time to learn how to build the ROM
 
Part – II
Creating Virtual machine on Google Compute Engine
1. Click on the 2 lines menu displayed on the left top corner to bring on the Products and Services list on left side.
2. In this menu, click on Compute Engine
3. It’ll show following page, click on Create Instance button
4. On Create Instance page, specify the details like Name, Zone (if you want to change them). In Machine Type combo, select a machine configuration that you would like to have.
I use 4 cores and 15 GB memory
5. In Boot disk section, click on Change button.
6. On Boot disk details page, select the OS that you want to have on VM Instance. I always used Ubuntu 14.04 LTS (and it never let me down). Update: Now I use 16.04 LTS
Enter the size of disk. I used 500 GB so that I can sync 2-3 ROMs in the same VM Instance Then click on Select button.
Note: With this configuration I was able to clean build a ROM in around 70 minutes. The repo sync took around 25-30 minutes (which would have taken a week on my slow internet connection)
7. It’ll take you back to Create Instance page. Here you can specify the Firewall by checking both the check boxes. Finally click on Create button to create the VM Instance.
8. It’ll take a minute or two and create the VM instance. It’ll be in running state as indicated by the Green check box in front of the VM Name.
Note: You can start or stop the instance by selecting it and then clicking on stop or start button. It is advised to stop the VM instance once you are done with using it.
9. Click on the 3 dots menu near SSH and select option Open in browser window.
10. It’ll start the SSH connection to the VM Instance that you have created.
11. Run following command to get su
Code:
sudo –s
Now you are ready to install the required packages to build the ROM from source. You can follow this nice guide created by @jackeagle to start:
http://forum.xda-developers.com/showpost.php?p=54118614&postcount=2
That was it!
Wish you all the best for building your first ROM
How to upload the ROM zip on internet?
Many guys, who were able to build the ROM successfully, were asking about how to get the ROM zip on phone
Thanks @hackslash for this nice post: http://forum.xda-developers.com/showpost.php?p=68750149&postcount=146
Upload to AFH: https://forum.xda-developers.com/showpost.php?p=73420609&postcount=315
You can also upload it on Google drive by following these steps:
http://olivermarshall.net/how-to-upload-a-file-to-google-drive-from-the-command-line/ (thanks @Papdya for sharing this link)
Nitin
Awesome guide. I'm sure it'll help out those who are trying hard to build their first ROM and get involved in building stuff. Just a suggestion though
I find @akhilnarang script to be easy to setup server and it's just few commands away. It'd be nice if you include that
Link : github.com/akhilnarang/scripts
-ThugLife™✌
Shreesha.Murthy said:
Awesome guide. I'm sure it'll help out those who are trying hard to build their first ROM and get involved in building stuff. Just a suggestion though
I find @akhilnarang script to be easy to setup server and it's just few commands away. It'd be nice if you include that
Link : github.com/akhilnarang/scripts
-ThugLife™
Click to expand...
Click to collapse
Sure buddy! I'll have a look an include them.
I suffered a lot to build my first ROM (you know that)... So thought to share this easy and fast way to build the ROM. I observed that initially we have to build many times due to errors (coming from lack of knowledge about building). This will reduce the time that is required for "build - error - fix- rebuild" cycle and learn ROM building quickly :fingers-crossed:
Nice
You can add guide to add a disk, format and mount that too
That was my main stuggle when I was trying to use it first
Good for our reading. Thanks
akhilnarang said:
Nice
You can add guide to add a disk, format and mount that too
That was my main stuggle when I was trying to use it first
Click to expand...
Click to collapse
I'll have to understand it from you first
Sent from my Nexus 4 using XDA Free mobile app
To make sure i understand, technically I could build roms on a chromebook with this guide? And the guide listed at the end, do we download all those things on our computer or on the cloud platform? Thanks!
allanlgz said:
To make sure i understand, technically I could build roms on a chromebook with this guide? And the guide listed at the end, do we download all those things on our computer or on the cloud platform? Thanks!
Click to expand...
Click to collapse
Cloud platform m8 :wink:
-ThugLife™✌
allanlgz said:
To make sure i understand, technically I could build roms on a chromebook with this guide? And the guide listed at the end, do we download all those things on our computer or on the cloud platform? Thanks!
Click to expand...
Click to collapse
As @Shreesha.Murthy says, you do everything on Google cloud. That's the whole point of writing this thread
Sent from my Nexus 4 using XDA Free mobile app
Shreesha.Murthy said:
Cloud platform m8 :wink:
-ThugLife™✌
Click to expand...
Click to collapse
Thanks m8. I've never built before but feel comfortable with all the commands and everything. Just one last question, if I want to build for the Sprint LG G3 ls990, I'd have to use the device tree and everything device specific from CM for ls990 (or any other that has all device specific things) to get it to work on my ls990, correct?
Also, thanks so much for the guide it looks really helpful
allanlgz said:
Thanks m8. I've never built before but feel comfortable with all the commands and everything. Just one last question, if I want to build for the Sprint LG G3 ls990, I'd have to use the device tree and everything device specific from CM for ls990 (or any other that has all device specific things) to get it to work on my ls990, correct?
Also, thanks so much for the guide it looks really helpful
Click to expand...
Click to collapse
Yes, you can use the device trees from CM. Do it... :fingers-crossed:
Trying to build
I use the guide link posted at the end however when trying to run the commands I get these errors:
sudo apt-get install git-core gnupg ccache lzop flex bison gperf build-essential zip curl zli
b1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5 lib32z1 lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-
dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos pyt
hon-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncu
rses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev
libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.
8-dev python
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'lib32z1-dev' instead of 'lib32z-dev'
E: Unable to locate package zlib1g-dev
E: Unable to locate package libx11-dev
E: Unable to locate package libreadline6-dev
E: Unable to locate package libgl1-mesa-glx
E: Unable to locate package libreadline6-dev
E: Unable to locate package libreadline6
[email protected]:~# sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
ln: failed to create symbolic link ‘/usr/lib/i386-linux-gnu/libGL.so’: No such file or directory
Have followed instructions perfectly so far
allanlgz said:
Trying to build
I use the guide link posted at the end however when trying to run the commands I get these errors:
sudo apt-get install git-core gnupg ccache lzop flex bison gperf build-essential zip curl zli
b1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5 lib32z1 lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-
dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos pyt
hon-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncu
rses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev
libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.
8-dev python
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'lib32z1-dev' instead of 'lib32z-dev'
E: Unable to locate package zlib1g-dev
E: Unable to locate package libx11-dev
E: Unable to locate package libreadline6-dev
E: Unable to locate package libgl1-mesa-glx
E: Unable to locate package libreadline6-dev
E: Unable to locate package libreadline6
[email protected]:~# sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
ln: failed to create symbolic link ‘/usr/lib/i386-linux-gnu/libGL.so’: No such file or directory
Have followed instructions perfectly so far
Click to expand...
Click to collapse
Well, those guides are pretty outdated for now. Scroll up or see the 3rd post where I've mentioned about the script. It's automatic and saves you from headache
-ThugLife™✌
Shreesha.Murthy said:
Well, those guides are pretty outdated for now. Scroll up or see the 3rd post where I've mentioned about the script. It's automatic and saves you from headache
-ThugLife™✌
Click to expand...
Click to collapse
alright m8 thanks so much! that sets up the whole build environment right? after running script i can just start builds?
allanlgz said:
alright m8 thanks so much! that sets up the whole build environment right? after running script i can just start builds?
Click to expand...
Click to collapse
Yeah, you just need to sync the ROM source you're trying to build+ device trees and make it compatible for the ROM and you're good to go
-ThugLife™✌
allanlgz said:
Trying to build
I use the guide link posted at the end however when trying to run the commands I get these errors:
sudo apt-get install git-core gnupg ccache lzop flex bison gperf build-essential zip curl zli
b1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5 lib32z1 lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-
dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos pyt
hon-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncu
rses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev
libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.
8-dev python
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'lib32z1-dev' instead of 'lib32z-dev'
E: Unable to locate package zlib1g-dev
E: Unable to locate package libx11-dev
E: Unable to locate package libreadline6-dev
E: Unable to locate package libgl1-mesa-glx
E: Unable to locate package libreadline6-dev
E: Unable to locate package libreadline6
[email protected]:~# sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
ln: failed to create symbolic link ‘/usr/lib/i386-linux-gnu/libGL.so’: No such file or directory
Have followed instructions perfectly so far
Click to expand...
Click to collapse
This has been answered in that thread. If you see closely, you'll find out that the packages that are showing error have :i386 in their name. Remove :i386 from their names and you should be good to go.
Or use the scripts that @Shreesha.Murthy has linked
Nitin
thanks for guiding.....:good::good::good:
now i am try to make a rom for my device
@nitin.chobhe - Nice work!
What should be noted that in european countries it seems to only work for people who have a buisiness, at least as per Tos u can't choose and/or use as private person, but most of us have decent internet and power supply and a good enough pc.
Just a note for those who may wonder.

Categories

Resources