[DEV][WIP]Building ICS for the OV

I don't know if this is relevant to the subject of the thread, but when I was repo syncing BobZhome's repo I used
Code:
repo init -u git://github.com/BobZhome/android.git -b ics
repo sync -j16
and it had this big long list of things on the terminal and then I ran into:
Code:
From git://github.com/CyanogenMod/android_prebuilt
 * [new branch]      gingerbread -> github/gingerbread
 * [new branch]      gingerbread-release -> github/gingerbread-release
 * [new branch]      ics        -> github/ics
 * [new tag]         cm-7.1.0   -> cm-7.1.0
and it stopped. I waited to see if it would move but it hasn't progressed in like 3 hours. Any help?
 
Last edited:
i HATE repo.
it stalls on slow connections and freezes up.
press ctrl-z to stop it and repo sync again.
it'll pick up again, restarting the packages which weren't finished downloading yet, but at least won't redownload the stuff it completely grabbed already.
 
  • Like
Reactions: rukin5197
i HATE repo.
it stalls on slow connections and freezes up.
press ctrl-z to stop it and repo sync again.
it'll pick up again, restarting the packages which weren't finished downloading yet, but at least won't redownload the stuff it completely grabbed already.

Haha thanks :D I'm not even familiar with it and I already hate it! But by the looks of it am i syncing right? I'm kind of a noob so i'm just throwing stuff out there.
 
yes, it sounds like it's trying to do what it's supposed to.
good luck! takes me over 24 hours sometimes for the first repo sync from a new manifest.
 
Well, tried to redo the sync, but ended bad. This is what i got:
Code:
gannon@ubuntu:~$ cd ~/android/system/ 
gannon@ubuntu:~/android/system$ repo init -u git://github.com/BobZhome/android.git -b ics
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 4 (delta 0)
Unpacking objects: 100% (4/4), done.
From git://github.com/BobZhome/android
   92fc344..8297880  ics        -> origin/ics
project .repo/manifests/
Updating 92fc344..8297880
Fast-forward


Your Name  [Gannon]: Gannon
Your Email [gannon050197@gmail.com]: gannon050197@gmail.com

Your identity is: Gannon <gannon050197@gmail.com>
is this correct [y/n]? y

repo initialized in /home/gannon/android/system
gannon@ubuntu:~/android/system$ repo sync -j16
fatal: Not a git repository: '/home/gannon/android/system/.repo/projects/build.git'
error: Cannot fetch BobZhome/android_build
fatal: Not a git repository: '/home/gannon/android/system/.repo/projects/device/google/accessory/arduino.git'
error: Cannot fetch device/google/accessory/arduino
Fetching projects:   2% (5/239)  remote: Counting objects: 11099, done.
remote: Compressing objects: 100% (3300/3300), done.
Fetching projects:   4% (10/239)  Receiving objects:   4% (444/11099), 116.00 KiFetching projects:   5% (12/239)  Receiving objects:   5% (555/11099), 116.00 Kiremote: Total 11099 (delta 7935), reused 10824 (delta 7704)
Receiving objects: 100% (11099/11099), 3.28 MiB | 304 KiB/s, done.
Resolving deltas: 100% (7935/7935), done.
From git://github.com/CyanogenMod/android_bionic
 * [new branch]      donut      -> github/donut
 * [new branch]      eclair     -> github/eclair
 * [new branch]      froyo      -> github/froyo
 * [new branch]      froyo-stable -> github/froyo-stable
 * [new branch]      gingerbread -> github/gingerbread
 * [new branch]      gingerbread-release -> github/gingerbread-release
 * [new branch]      ics        -> github/ics
 * [new tag]         cm-7.1.0   -> cm-7.1.0
From git://github.com/CyanogenMod/android_bionic
 * [new tag]         android-1.0 -> android-1.0
 * [new tag]         android-1.5 -> android-1.5
 * [new tag]         android-1.5r2 -> android-1.5r2
 * [new tag]         android-1.5r3 -> android-1.5r3
 * [new tag]         android-1.5r4 -> android-1.5r4
 * [new tag]         android-1.6_r1 -> android-1.6_r1
 * [new tag]         android-1.6_r1.1 -> android-1.6_r1.1
 * [new tag]         android-1.6_r1.2 -> android-1.6_r1.2
 * [new tag]         android-1.6_r1.3 -> android-1.6_r1.3
 * [new tag]         android-1.6_r1.4 -> android-1.6_r1.4
 * [new tag]         android-1.6_r1.5 -> android-1.6_r1.5
 * [new tag]         android-1.6_r2 -> android-1.6_r2
 * [new tag]         android-2.0.1_r1 -> android-2.0.1_r1
 * [new tag]         android-2.0_r1 -> android-2.0_r1
 * [new tag]         android-2.1_r1 -> android-2.1_r1
 * [new tag]         android-2.1_r2 -> android-2.1_r2
 * [new tag]         android-2.1_r2.1p -> android-2.1_r2.1p
 * [new tag]         android-2.1_r2.1p2 -> android-2.1_r2.1p2
 * [new tag]         android-2.1_r2.1s -> android-2.1_r2.1s
 * [new tag]         android-2.2.1_r1 -> android-2.2.1_r1
 * [new tag]         android-2.2.1_r2 -> android-2.2.1_r2
 * [new tag]         android-2.2.2_r1 -> android-2.2.2_r1
 * [new tag]         android-2.2_r1 -> android-2.2_r1
 * [new tag]         android-2.2_r1.1 -> android-2.2_r1.1
 * [new tag]         android-2.2_r1.2 -> android-2.2_r1.2
 * [new tag]         android-2.2_r1.3 -> android-2.2_r1.3
 * [new tag]         android-2.3.1_r1 -> android-2.3.1_r1
 * [new tag]         android-2.3.2_r1 -> android-2.3.2_r1
 * [new tag]         android-2.3.3_r1 -> android-2.3.3_r1
 * [new tag]         android-2.3.3_r1.1 -> android-2.3.3_r1.1
 * [new tag]         android-2.3.3_r1a -> android-2.3.3_r1a
 * [new tag]         android-2.3.4_r0.9 -> android-2.3.4_r0.9
 * [new tag]         android-2.3.4_r1 -> android-2.3.4_r1
 * [new tag]         android-2.3.5_r1 -> android-2.3.5_r1
 * [new tag]         android-2.3_r1 -> android-2.3_r1
 * [new tag]         android-adt-0.9.8 -> android-adt-0.9.8
 * [new tag]         android-adt-0.9.9 -> android-adt-0.9.9
 * [new tag]         android-cts-2.1_r2 -> android-cts-2.1_r2
 * [new tag]         android-cts-2.1_r3 -> android-cts-2.1_r3
 * [new tag]         android-cts-2.1_r4 -> android-cts-2.1_r4
 * [new tag]         android-cts-2.1_r5 -> android-cts-2.1_r5
 * [new tag]         android-cts-2.2_r1 -> android-cts-2.2_r1
 * [new tag]         android-cts-2.2_r2 -> android-cts-2.2_r2
 * [new tag]         android-cts-2.2_r3 -> android-cts-2.2_r3
 * [new tag]         android-cts-2.2_r4 -> android-cts-2.2_r4
 * [new tag]         android-cts-2.2_r5 -> android-cts-2.2_r5
 * [new tag]         android-cts-2.2_r6 -> android-cts-2.2_r6
 * [new tag]         android-cts-2.2_r7 -> android-cts-2.2_r7
 * [new tag]         android-cts-2.3_r1 -> android-cts-2.3_r1
 * [new tag]         android-cts-2.3_r2 -> android-cts-2.3_r2
 * [new tag]         android-cts-2.3_r3 -> android-cts-2.3_r3
 * [new tag]         android-cts-2.3_r4 -> android-cts-2.3_r4
 * [new tag]         android-cts-2.3_r5 -> android-cts-2.3_r5
 * [new tag]         android-sdk-1.5-pre -> android-sdk-1.5-pre
 * [new tag]         android-sdk-1.5_r1 -> android-sdk-1.5_r1
 * [new tag]         android-sdk-1.5_r3 -> android-sdk-1.5_r3
 * [new tag]         android-sdk-1.6-docs_r1 -> android-sdk-1.6-docs_r1
 * [new tag]         android-sdk-1.6_r1 -> android-sdk-1.6_r1
 * [new tag]         android-sdk-1.6_r2 -> android-sdk-1.6_r2
 * [new tag]         android-sdk-2.0.1-docs_r1 -> android-sdk-2.0.1-docs_r1
 * [new tag]         android-sdk-2.0.1_r1 -> android-sdk-2.0.1_r1
 * [new tag]         android-sdk-2.0_r1 -> android-sdk-2.0_r1
 * [new tag]         android-sdk-2.1_r1 -> android-sdk-2.1_r1
 * [new tag]         android-sdk-2.2_r1 -> android-sdk-2.2_r1
 * [new tag]         android-sdk-2.2_r2 -> android-sdk-2.2_r2
 * [new tag]         android-sdk-2.3.4_r1 -> android-sdk-2.3.4_r1
 * [new tag]         android-sdk-adt_r12 -> android-sdk-adt_r12
 * [new tag]         android-sdk-tools_r12 -> android-sdk-tools_r12
 * [new tag]         android-sdk-tools_r2 -> android-sdk-tools_r2
 * [new tag]         android-sdk-tools_r3 -> android-sdk-tools_r3
 * [new tag]         android-sdk-tools_r4 -> android-sdk-tools_r4
 * [new tag]         android-sdk-tools_r5 -> android-sdk-tools_r5
 * [new tag]         android-sdk-tools_r6 -> android-sdk-tools_r6
 * [new tag]         android-sdk-tools_r7 -> android-sdk-tools_r7
 * [new tag]         cm-7.0.0   -> cm-7.0.0
 * [new tag]         cm-7.0.1   -> cm-7.0.1
 * [new tag]         cm-7.0.2.1 -> cm-7.0.2.1
 * [new tag]         cm-7.0.3   -> cm-7.0.3
Fetching projects:   6% (15/239)  
error: Exited sync due to fetch errors
gannon@ubuntu:~/android/system$
Any help once again?:-\
-------------------------------------------------------------------------------------------
EDIT: Nevermind, just deleted the repo file from bin>repo and started all over. Oh well, you win some you lose some. :D
 
Last edited:
Any reason why I'm getting these errors?
Code:
]root@ubuntu:~/android/system# repo init -u git://github.com/BobZhome/android.git -b ics

Your identity is: ex <exprophecy@gmail.com>
If you want to change this, please re-run 'repo init' with --config-name

repo initialized in /root/android/system
root@ubuntu:~/android/system# repo sync -j16
Fetching projects:  60% (147/244)  error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/srtp/info/refs

fatal: HTTP request failed
Fetching projects:  81% (198/244)  error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/qemu-pc-bios/info/refs

fatal: HTTP request failed
Fetching projects: 100% (244/244), done.  
Checking out files: 100% (4700/4700), done.ut files:  48% (2287/4700)   
Checking out files: 100% (89/89), done.ing out files:  25% (23/89)   
Checking out files: 100% (9386/9386), done.out files:  23% (2195/9386)   
Checking out files: 100% (4876/4876), done.out files:  21% (1024/4876)   
Syncing work tree:  38% (93/244)  error: revision refs/tags/android-4.0.1_r1 in platform/external/libyuv not found
root@ubuntu:~/android/system# repo sync -j16
Fetching projects:  50% (122/244)  fatal: Unable to look up github.com (port 9418) (Name or service not known)
Fetching projects:  56% (137/244)  fatal: Unable to look up github.com (port 9418) (Name or service not known)
fatal: Unable to look up github.com (port 9418) (Name or service not known)
fatal: Unable to look up github.com (port 9418) (Name or service not known)
fatal: Unable to look up github.com (port 9418) (Name or service not known)
fatal: Unable to look up github.com (port 9418) (Name or service not known)
fatal: Unable to look up github.com (port 9418) (Name or service not known)
Fetching projects:  59% (144/244)  error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/tinyalsa/info/refs

fatal: HTTP request failed
Fetching projects:  65% (159/244)  error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/frameworks/compile/libbcc/info/refs

fatal: HTTP request failed
error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/frameworks/compile/linkloader/info/refs
fatal: HTTP request failed
error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/frameworks/compile/linkloader/info/refs

fatal: HTTP request failed
Fetching projects:  71% (174/244)  error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/srtp/info/refs

fatal: HTTP request failed

Fetching projects:  99% (242/244)  ^Z
[1]+  Stopped                 repo sync -j16
root@ubuntu:~/android/system#

Should I be running "repo init -u git://github.com/BobZhome/android.git -b ics" or should I just do
Code:
git clone git://github.com/BobZhome/vendor_lge_thunderc.git
git clone git://github.com/BobZhome/android_device_lge_thunderc.git
git clone git://github.com/BobZhome/android_build.git
git clone git://github.com/BobZhome/android_dalvik.git
git clone git://github.com/BobZhome/android.git

...or both repo init and git clone?

EDIT: Now when I try running "repo init -u git://github.com/BobZhome/android.git -b ics" it gives me
Code:
root@ubuntu:~/android/system# repo init -u git//github.com/BobZhome/android.git -b ics
fatal: 'git//github.com/BobZhome/android.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
 
Last edited:
Any reason why I'm getting these errors?
Code:
]root@ubuntu:~/android/system# repo init -u git://github.com/BobZhome/android.git -b ics

Your identity is: ex <exprophecy@gmail.com>
If you want to change this, please re-run 'repo init' with --config-name

repo initialized in /root/android/system
root@ubuntu:~/android/system# repo sync -j16
Fetching projects:  60% (147/244)  error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/srtp/info/refs

fatal: HTTP request failed
Fetching projects:  81% (198/244)  error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/qemu-pc-bios/info/refs

fatal: HTTP request failed
Fetching projects: 100% (244/244), done.  
Checking out files: 100% (4700/4700), done.ut files:  48% (2287/4700)   
Checking out files: 100% (89/89), done.ing out files:  25% (23/89)   
Checking out files: 100% (9386/9386), done.out files:  23% (2195/9386)   
Checking out files: 100% (4876/4876), done.out files:  21% (1024/4876)   
Syncing work tree:  38% (93/244)  error: revision refs/tags/android-4.0.1_r1 in platform/external/libyuv not found
root@ubuntu:~/android/system# repo sync -j16
Fetching projects:  50% (122/244)  fatal: Unable to look up github.com (port 9418) (Name or service not known)
Fetching projects:  56% (137/244)  fatal: Unable to look up github.com (port 9418) (Name or service not known)
fatal: Unable to look up github.com (port 9418) (Name or service not known)
fatal: Unable to look up github.com (port 9418) (Name or service not known)
fatal: Unable to look up github.com (port 9418) (Name or service not known)
fatal: Unable to look up github.com (port 9418) (Name or service not known)
fatal: Unable to look up github.com (port 9418) (Name or service not known)
Fetching projects:  59% (144/244)  error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/tinyalsa/info/refs

fatal: HTTP request failed
Fetching projects:  65% (159/244)  error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/frameworks/compile/libbcc/info/refs

fatal: HTTP request failed
error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/frameworks/compile/linkloader/info/refs
fatal: HTTP request failed
error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/frameworks/compile/linkloader/info/refs

fatal: HTTP request failed
Fetching projects:  71% (174/244)  error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/srtp/info/refs

fatal: HTTP request failed

Fetching projects:  99% (242/244)  ^Z
[1]+  Stopped                 repo sync -j16
root@ubuntu:~/android/system#

Should I be running "repo init -u git://github.com/BobZhome/android.git -b ics" or should I just do
Code:
git clone git://github.com/BobZhome/vendor_lge_thunderc.git
git clone git://github.com/BobZhome/android_device_lge_thunderc.git
git clone git://github.com/BobZhome/android_build.git
git clone git://github.com/BobZhome/android_dalvik.git
git clone git://github.com/BobZhome/android.git

...or both repo init and git clone?

EDIT: Now when I try running "repo init -u git://github.com/BobZhome/android.git -b ics" it gives me
Code:
root@ubuntu:~/android/system# repo init -u git//github.com/BobZhome/android.git -b ics
fatal: 'git//github.com/BobZhome/android.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
I'm thinking it may be a connection issue. I had the same error and all I had to do was reset my router and modem.
 
I'm thinking it may be a connection issue. I had the same error and all I had to do was reset my router and modem.

Still gives me errors.. =[
Code:
root@ubuntu:~/android/system# repo init -u git//github.com/BobZhome/android.git -b ics
fatal: 'git//github.com/BobZhome/android.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
fatal: 'git//github.com/BobZhome/android.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
fatal: cannot obtain manifest git//github.com/BobZhome/android.git
 
Try the following:

In a terminal, run:
Code:
mkdir ~/bin

curl http://android.git.kernel.org/repo > ~/bin/repo

chmod a+x ~/bin/repo
Very important to reboot system now.

Once you're back up and running, open your 'android' folder and create a folder named 'system'. You should now have 'sdk' and 'system' in your 'android' folder. Open a terminal and run:
Code:
cd ~/android/system

~/bin/repo init -u git://github.com/BobZhome/android.git -b ics

~/bin/repo sync -j16
 
Try the following:

In a terminal, run:
Code:
mkdir ~/bin

curl http://android.git.kernel.org/repo > ~/bin/repo

chmod a+x ~/bin/repo
Very important to reboot system now.

Once you're back up and running, open your 'android' folder and create a folder named 'system'. You should now have 'sdk' and 'system' in your 'android' folder. Open a terminal and run:
Code:
cd ~/android/system

~/bin/repo init -u git://github.com/BobZhome/android.git -b ics

~/bin/repo sync -j16

Ahh, so this is what I was doing wrong. Too bad I already deleted my ubuntu partition :/
Reinstalling :D
 
Try the following:

In a terminal, run:
Code:
mkdir ~/bin

curl http://android.git.kernel.org/repo > ~/bin/repo

chmod a+x ~/bin/repo
Very important to reboot system now.

Once you're back up and running, open your 'android' folder and create a folder named 'system'. You should now have 'sdk' and 'system' in your 'android' folder. Open a terminal and run:
Code:
cd ~/android/system

~/bin/repo init -u git://github.com/BobZhome/android.git -b ics

~/bin/repo sync -j16

Now I get this:
Code:
root@ubuntu:~# cd ~/android/system
root@ubuntu:~/android/system# ~/bin/repo init -u git://github.com/BobZhome/android.git -b ics
/root/bin/repo: line 1: syntax error near unexpected token `newline'
/root/bin/repo: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'
root@ubuntu:~/android/system#
 
Now I get this:
Code:
root@ubuntu:~# cd ~/android/system
root@ubuntu:~/android/system# ~/bin/repo init -u git://github.com/BobZhome/android.git -b ics
/root/bin/repo: line 1: syntax error near unexpected token `newline'
/root/bin/repo: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'
root@ubuntu:~/android/system#

+1. Getting that same exact error...
 
I found out what the problem was. I used a different repo curl site. Instead I did:
Code:
curl http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo > ~/bin/repo
and it started working. Will reply later to see if it works :D
 
Still getting errors though:
Code:
root@ubuntu:/android/system# repo sync -j16
Fetching projects:  53% (130/244)  fatal: Unable to look up github.com (port 9418) (Name or service not known)
Fetching projects:  58% (142/244)  error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/tinyalsa/info/refs

fatal: HTTP request failed
Fetching projects:  64% (157/244)  error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/mesa3d/info/refs

fatal: HTTP request failed
Fetching projects:  65% (159/244)  fatal: Unable to look up github.com (port 9418) (Name or service not known)
Fetching projects: 100% (244/244), done.  
Syncing work tree:  38% (93/244)  error: revision refs/tags/android-4.0.1_r1 in platform/external/libyuv not found
root@ubuntu:/android/system#

=[
 
Make three empty documents on your desktop. one named sdk.sh another named 51-android.rules the last named firstboot. Copy the correct stuff below into each of the documents and then open a terminal on your desktop and type sh sdk.sh it will run and do all its thing then when it's done type sh firstboot it will do it's thing when it's done reboot and all you gotta do is type repo init.....

copy this into sdk.sh
Code:
## add necessary repository
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
mkdir -p ~/android
sudo mv 51-android.rules /etc/udev/rules.d
## install java cuz it's needed
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts sun-java6-jdk eclipse 
##remove open source stuff
sudo apt-get remove icedtea-netx icedtea-plugin icedtea6-plugin openjdk-6-jre openjdk-6-jre-headless icedtea-6-jre-jamvm icedtea-6-jre-cacao 
sudo apt-get install ia32-libs
## download sdk you may choose older versions if you like by changing the 14 to 13 or whatever floats your boat
wget http://dl.google.com/android/android-sdk_r15-linux.tgz
tar -zxvf android-sdk_r15-linux.tgz
mv 'android-sdk-linux' ~/android/sdk

## make temp directory to give it permissions before anything is there
mkdir -p ~/android/sdk/platform-tools

## add the platform-tools and tools to bashrc

echo 'export PATH="~/android/sdk/tools:${PATH}"' >> ~/.bashrc
echo 'export PATH="~/android/sdk/platform-tools:${PATH}"' >> ~/.bashrc

printf ALL DONE WITH THIS

exit
then this into firstboot
Code:
#! /bin/bash

sudo apt-get install mencoder

##android source build dependencies

sudo apt-get install git-core gnupg flex bison gperf build-essential \
  zip curl zlib1g-dev libc6-dev ia32-libs \
  x11proto-core-dev libx11-dev  lib32readline-gplv2-dev lib32z-dev \
  libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
  libxml2-utils xsltproc
sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so

## Make folders for repo

mkdir -p ~/bin
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo

#right click open as administrator

sudo apt-get install nautilus-gksu
sudo cp /usr/lib/nautilus/extensions-2.0/libnautilus-gksu.so /usr/lib/nautilus/extensions-3.0/

##right click open terminal
sudo apt-get install nautilus-open-terminal

## Get rid of old kernels


dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge

## Install Boot Repair
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update && sudo apt-get install -y boot-repair && boot-repair

## Restricted extras and dvd
sudo apt-get install ubuntu-restricted-extras
sudo /usr/share/doc/libdvdread4/install-css.sh
 
## Grub Customizer
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update && sudo apt-get install -y grub-customizer

And this into 51-android.rules
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="618e", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="d00d", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", SYMLINK+="android_adb", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="d00d", SYMLINK+="android_adb", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0502", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="413c", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0489", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="091E", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0482", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0955", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="10A9", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="04dd", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="19D2", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0451", MODE="0666"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ENV{PRODUCT}=="e79/*", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="e79", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0e79", MODE="0666"
 
  • Like
Reactions: rukin5197
What he said above...

I'll try this! :D Seems as if it might take a little while. So let me clarify:
I deleted ~/android/system and ~/bin because I did a bad step and needed to start over
-I do what you said above
Reboot
-I mkdir the ~/bin and the ~/android/system
-curl http://android.git.kernel.org/repo > ~/bin/repo
-chmod a+x ~/bin/repo
Reboot
-cd ~/android/system
-~/bin/repo init -u git://github.com/BobZhome/android.git -b ics
-~/bin/repo sync -j16
And it will work? Or is there any unnecessary steps I listed?
 
Last edited: