• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root How to build From Ics source Admire R720 : UNDER CONSTRUCTION!

RaverX3X

Well-Known Member
Things you will need



  1. Intel or amd CPU 64 bit
  2. 16 gb of memory
  3. Linux distro (pref Ubuntu) Here

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
*MAKE SURE YOU UPDATE YOUR LINUX DISTRO FIRST!!!*
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Binary Tool chain's

  1. For x86 linux: toolchain-4.6.3.tar.bz2 (Sha1: c8c57aba6ad92e9acddf29ba8620ba880be09a81)
  2. For Cygwin (windows): toolchain-4.6.3.cygwin.tar.bz2 (Sha1: 6947e1c1ba95195019f542eb8ba0708667b63eca)
  3. For OSX (mac/darwin): toolchain-4.6.3.darwin.tar.bz2 (Sha1: 9a977f0672863fdd9501383a6ad1e30723281f68
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Note:
These Tool chains are not a requirement your source has the toolchain. These are for people that want to play around with different Tool chains.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Installing required packages (Ubuntu 10.04 -- 11.10)



$ sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs \ x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \ libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \ libxml2-utils xsltproc

Installing required packages (Ubuntu 12.04)

$ 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
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
 
Next you will need to follow the guide to setting up the Build environment Here




  • Create an empty directory to hold your working files. If you're using MacOS, this has to be on a case-sensitive filesystem. Give it any name you like:
    $ mkdir WORKING_DIRECTORY $ cd WORKING_DIRECTORY
  • 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.
  • $ repo init -u https://android.googlesource.com/platform/manifest
  • $ repo init -u git://codeaurora.org/platform/manifest.git -b [ics] -m [M7630AABBQMLZA4040276I.xml] --repo-url=git://codeaurora.org/tools/repo.git
  • When prompted, please configure Repo with your real name and email address. To use the Gerrit code-review tool, you will need an email address that is connected with a registered Google account. Make sure this is a live address at which you can receive messages. The name that you provide here will show up in attributions for your code submissions.
A successful initialization will end with a message stating that Repo is initialized in your working directory. Your client directory should now contain a .repo directory where files such as the manifest will be kept.

  • $ repo sync
 
LOcal mirror

These instructions assume that the mirror is created in /usr/local/aosp/mirror. The first step is to create and sync the mirror itself, which uses close to 10GB of network bandwidth and a similar amount of disk space. Notice the --mirror flag, which can only be specified when creating a new client:

$ mkdir -p /usr/local/aosp/mirror
$ cd /usr/local/aosp/mirror
$ repo init -u https://android.googlesource.com/mirror/manifest --mirror
$ repo sync Once the mirror is synced, new clients can be created from it. Note that it's important to specify an absolute path:

$ mkdir -p /usr/local/aosp/master
$ cd /usr/local/aosp/master
$ repo init -u /usr/local/aosp/mirror/platform/manifest.git $ repo sync Finally, to sync a client against the server, the mirror needs to be synced against the server, then the client against the mirror:

$ cd /usr/local/aosp/mirror
$ repo sync
$ cd /usr/local/aosp/master
$ repo sync

will edit in more detail later i like to get a idea of what my post will look like
 
Questions ans Answers.

Im doing this half asleep lol so im doing it on my machine and then posting here if Playfulgod or anyone wants to add to this by all means this is ment for any developer or want to learn to develop :P..



Prebuilt flash able Binary downloads

Here!!!


Thanks
PlayfulGod
Boraichee
Requisit0
Myself
Any other developer
Google
Codeaurora for having ics source for our chipset :P
 
I already have the ics source. Do i need to resync? I dont see a github link so im lost.


No u would just need my Github unless you wanna do your own lol.... Im getting there :P Im writing all this trying not to passout lol...

Boraichee im doing this so everyone if they want can build there own and play with it not all of them are like us lol... So im trying to build a comprehensive guide im doing some parts generically will fill in so i can get a base foundation of this setup :P.
 
My bad noob question. What I meant is, is it ready to be tested or released. Sorry if this is a noob question too.
 
No u would just need my Github unless you wanna do your own lol.... Im getting there :P Im writing all this trying not to passout lol...

Boraichee im doing this so everyone if they want can build there own and play with it not all of them are like us lol... So im trying to build a comprehensive guide im doing some parts generically will fill in so i can get a base foundation of this setup :P.


Its cool man. You should add that you need a 64 bit pc to build android 2.3+. Id love to build. I still am stuck at the lockscreen on cm9 :) send that zip when you can. Btw do you have a admire-device.mk with your device profile.
 
Its cool man. You should add that you need a 64 bit pc to build android 2.3+. Id love to build. I still am stuck at the lockscreen on cm9 :) send that zip when you can. Btw do you have a admire-device.mk with your device profile.


yar

ya dude i posted up my ghub soon as i can up it man just sync to my git :P u can fork for your own builds... I think i am going to go take a nap lol...


Also looking at porting Twrp to the admire.
 
yar

ya dude i posted up my ghub soon as i can up it man just sync to my git :P u can fork for your own builds... I think i am going to go take a nap lol...


Also looking at porting Twrp to the admire.


Is your git user name the same as af?

Nvm i see you posted it
 
Mhm this is good i have ubuntu and stuff i could probably use this guide for my developin thanks for sharin ;)
 
yar

ya dude i posted up my ghub soon as i can up it man just sync to my git :P u can fork for your own builds... I think i am going to go take a nap lol...


Also looking at porting Twrp to the admire.
Got this while
Installing required packages (Ubuntu 12.04) Errors were encountered while processing:
libc6-dev:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
any help????
 
Got this while
Installing required packages (Ubuntu 12.04) Errors were encountered while processing:
libc6-dev:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
any help????


first try installing that though linux package manager by itself..

Copy paste the full error to pastebin give me link to that pastebin.
 
nice thread dude, very helpful! thank you.
my question is i have 32 bit, but could i use vbox with ubuntu as a work around?


Ive tryed this and will tell you first hand it is a pain in the ass. If you dont have 64bit id stay away from building gb or ics. Not like we would want 2.2.
 
nice thread dude, very helpful! thank you.
my question is i have 32 bit, but could i use vbox with ubuntu as a work around?


just because u have a 32 bit os installed doesnt mean you have a 32 bit processer.

Your best bet is Google your processor Find out if its 32 bit or 64 bit most pc
s anymore are 64 bit been that way for a few years.

If so Download ubuntu Install it and duel boot repartition your hdd... IF u had a 64 bit os i could then give u the directions how to vmware a linux distro using a duel boot partitioned hdd.
 
Back
Top Bottom