26th February 2011, 07:41 PM
Recognized Developer -
OP
Thanks Meter
177
Posts: 1,097
Join Date: Jan 2009
Location: Nicosia
Quote:
Originally Posted by
drigerott
mmmm but the latest merge aren't on rom (like profiles on power down screen etc.)
with this repo we build rc1? or nightly? ^_^
and... build.sh doesn't work properly... i modified like this:
Code:
cd ~/android/system/;
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread;
repo sync;
cd;
wget http://dl.dropbox.com/u/6751304/htc.zip;
unzip htc.zip;
mv ~/htc/ ~/android/system/vendor/htc/;
cd ~/android/system/vendor/cyanogen/;
./get-rommanager;
cd ~/android/system/;
. build/envsetup.sh;
lunch cyanogen_passion-eng;
make -j`grep 'processor' /proc/cpuinfo | wc -l` bacon;
cp ~/android/system/out/target/product/passion/update*.zip ~/Scrivania/update-cm7-N1-$(date +%d_%m-%H.%M.%S).zip
echo -e [=-This is an ALPHA-test version of whatever this is-=];
instead of
Code:
repo sync ;
cp ./vendor/cyanogen/products/cyanogen_passion.mk ./buildspec.mk;
. build/envsetup.sh;
lunch cyanogen_passion-eng;
make -j`grep 'processor' /proc/cpuinfo | wc -l` bacon;
cp ~/android/system/out/target/product/passion/update*.zip ~/Desktop/update-cm7-N1-$(date +%d_%m-%H.%M.%S).zip
is correct? ^^
thanks for you're replay)
the repo is the official cm repo. what the nightlies buildbots compile. so it should have all the changes in there. will compile now and check if something is missing. for the edited code, you pasted 2 different things, first part from androidmake and second from build.sh. what is the problem that needed fixing?
26th February 2011, 07:44 PM
(Last edited by drigerott; 26th February 2011 at 07:47 PM .)
Senior Member
Thanks Meter
45
Posts: 281
Join Date: Jan 2010
Location: Torino
build.sh downloaded from first post, don't work...terminal :
Quote:
drigerott@drigerott:~/Scrivania$ sudo ./build.sh
[sudo] password for drigerott:
./build.sh: 1: repo: not found
cp: impossibile eseguire stat di "./vendor/cyanogen/products/cyanogen_passion.mk": File o directory non esistente
.: 3: Can't open build/envsetup.sh
infact i just copy the end of you're androidmake (the cd repo line)
26th February 2011, 07:47 PM
(Last edited by nicandris; 26th February 2011 at 07:53 PM .)
Recognized Developer -
OP
Thanks Meter
177
Posts: 1,097
Join Date: Jan 2009
Location: Nicosia
Quote:
Originally Posted by
drigerott
build.sh downloaded from first post, don't work...terminal :
Code:
drigerott@drigerott:~/Scrivania$ sudo ./build.sh
[sudo] password for drigerott:
./build.sh: 1: repo: not found
cp: impossibile eseguire stat di "./vendor/cyanogen/products/cyanogen_passion.mk": File o directory non esistente
.: 3: Can't open build/envsetup.sh
infact i just copy the end of you're androidmake (the cd repo line)
wow thanx for that!!
you are right... one moment and i will reupload
edit* uploaded. apparently i forgot
Code:
cd ~/android/system ;
27th February 2011, 03:08 AM
Senior Member
Thanks Meter
28
Posts: 154
Join Date: Nov 2010
Location: Switzerland
would be nice if the script checks and skips stuff that is installed already such as the android sdk
27th February 2011, 07:14 AM
Recognized Developer -
OP
Thanks Meter
177
Posts: 1,097
Join Date: Jan 2009
Location: Nicosia
Quote:
Originally Posted by
RunTimeWorld
would be nice if the script checks and skips stuff that is installed already such as the android sdk
working on that already. also options to install for other devices, create shortcuts, recognize x64 etc etc
27th February 2011, 07:48 PM
Senior Moderator
Thanks Meter
1885
Posts: 2,790
Join Date: Jul 2008
Location: North Texas
Thanks for this
I'm gonna add this to a cron job so I can have builds in between the nightlies, while we wait for a stable release
m7 : 1.29.1540.3 | STOCK
mako : 4.2.2 | STOCK
grouper : cyanogenmod
other : Chromebook | System76 | Kindle Fire | CR-48 | Revue
former : maguro | crespo | passion | GT-I9100 | vision | rhodium | kaiser
28th February 2011, 08:32 AM
Senior Member
Thanks Meter
19
Posts: 505
Join Date: Feb 2007
Location: argonay
repo not found but git-core installed
HI,
first of all thxx for this great tool
)))
i have try my first rom, but face a bug, when ppl call, the screen of mùy nexus one is all white for 5 sec :'(
i am trying the build.sh script, but i am having this error :
HTML Code:
[CODE]herve@android-factory:~/androdev$ sh build.sh
build.sh: 2: repo: not found
build/envsetup.sh: 1: Syntax error: "(" unexpected
herve@android-factory:~/androdev$ [/CODE]
but what is weird, git-core is installed
Code:
herve@android-factory:~/androdev$ sudo apt-get install git-core
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
git-core est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 246 non mis à jour.
did i missed something????
thxx for your help
herve
nokia 3210 Qtek 9090 htc magic -- nexus one -- galaxy beam --Galaxy Beam -- galaxy s -- arc - arc s -- htc lg optimus 2x -- htc evo 3d -- Xperia S -- HTC one X - HTC One
ANDROID NEWS
28th February 2011, 08:38 AM
Senior Member
Thanks Meter
19
Posts: 505
Join Date: Feb 2007
Location: argonay
i ve fixed it.
if you have this same prob, get repo here
curl
http://android.git.kernel.org/repo >~/bin/repo
chmod +x repo
++
nokia 3210 Qtek 9090 htc magic -- nexus one -- galaxy beam --Galaxy Beam -- galaxy s -- arc - arc s -- htc lg optimus 2x -- htc evo 3d -- Xperia S -- HTC one X - HTC One
ANDROID NEWS
28th February 2011, 08:46 AM
Senior Member
Thanks Meter
19
Posts: 505
Join Date: Feb 2007
Location: argonay
well in fact, now i have another prob :'(
any idea?
Code:
herve@android-factory:~/androdev$ sh build.sh
Fetching projects: 2% (5/225) remote: Counting objects: 38, done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 24 (delta 17), reused 1 (delta 0)
Unpacking objects: 100% (24/24), done.
From git://github.com/CyanogenMod/android_bootable_recovery
0b7bbf2..3d6a211 froyo -> github/froyo
d9fbe2f..a1f43bf gingerbread -> github/gingerbread
Fetching projects: 4% (9/225) remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git://github.com/CyanogenMod/android_device_bn_encore
170c703..5202166 gingerbread -> github/gingerbread
remote: Counting objects: 13, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 5), reused 0 (delta 0)
Unpacking objects: 100% (8/8), done.
From git://github.com/CyanogenMod/android_device_commtiva_z71
379ab1b..df40873 gingerbread -> github/gingerbread
Fetching projects: 16% (36/225) remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git://github.com/CyanogenMod/android_device_samsung_fascinate
706d15f..c5abaec gingerbread -> github/gingerbread
Fetching projects: 17% (39/225) remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git://github.com/CyanogenMod/android_device_samsung_vzwtab
ac23a39..1ec1fa4 gingerbread -> github/gingerbread
Fetching projects: 61% (138/225) remote: Counting objects: 15, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 8 (delta 4), reused 0 (delta 0)
Unpacking objects: 100% (8/8), done.
From git://github.com/CyanogenMod/android_frameworks_base
bf17157..f1df5d9 gingerbread -> github/gingerbread
Fetching projects: 100% (225/225), done.
Syncing work tree: 100% (225/225), done.
build/envsetup.sh: 1: Syntax error: "(" unexpected
herve@android-factory:~/androdev$
nokia 3210 Qtek 9090 htc magic -- nexus one -- galaxy beam --Galaxy Beam -- galaxy s -- arc - arc s -- htc lg optimus 2x -- htc evo 3d -- Xperia S -- HTC one X - HTC One
ANDROID NEWS
28th February 2011, 08:48 AM
Senior Member
Thanks Meter
19
Posts: 505
Join Date: Feb 2007
Location: argonay
well in fact, now i have another prob :'(
any idea?
Code:
herve@android-factory:~/androdev$ sh build.sh
Fetching projects: 2% (5/225) remote: Counting objects: 38, done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 24 (delta 17), reused 1 (delta 0)
Unpacking objects: 100% (24/24), done.
From git://github.com/CyanogenMod/android_bootable_recovery
0b7bbf2..3d6a211 froyo -> github/froyo
d9fbe2f..a1f43bf gingerbread -> github/gingerbread
Fetching projects: 4% (9/225) remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git://github.com/CyanogenMod/android_device_bn_encore
170c703..5202166 gingerbread -> github/gingerbread
remote: Counting objects: 13, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 5), reused 0 (delta 0)
Unpacking objects: 100% (8/8), done.
From git://github.com/CyanogenMod/android_device_commtiva_z71
379ab1b..df40873 gingerbread -> github/gingerbread
Fetching projects: 16% (36/225) remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git://github.com/CyanogenMod/android_device_samsung_fascinate
706d15f..c5abaec gingerbread -> github/gingerbread
Fetching projects: 17% (39/225) remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git://github.com/CyanogenMod/android_device_samsung_vzwtab
ac23a39..1ec1fa4 gingerbread -> github/gingerbread
Fetching projects: 61% (138/225) remote: Counting objects: 15, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 8 (delta 4), reused 0 (delta 0)
Unpacking objects: 100% (8/8), done.
From git://github.com/CyanogenMod/android_frameworks_base
bf17157..f1df5d9 gingerbread -> github/gingerbread
Fetching projects: 100% (225/225), done.
Syncing work tree: 100% (225/225), done.
build/envsetup.sh: 1: Syntax error: "(" unexpected
herve@android-factory:~/androdev$
here is the beguining of the script envsetup.sh
Code:
herve@android-factory:~/androdev$ sh build.sh
Fetching projects: 2% (5/225) remote: Counting objects: 38, done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 24 (delta 17), reused 1 (delta 0)
Unpacking objects: 100% (24/24), done.
From git://github.com/CyanogenMod/android_bootable_recovery
0b7bbf2..3d6a211 froyo -> github/froyo
d9fbe2f..a1f43bf gingerbread -> github/gingerbread
Fetching projects: 4% (9/225) remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git://github.com/CyanogenMod/android_device_bn_encore
170c703..5202166 gingerbread -> github/gingerbread
remote: Counting objects: 13, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 5), reused 0 (delta 0)
Unpacking objects: 100% (8/8), done.
From git://github.com/CyanogenMod/android_device_commtiva_z71
379ab1b..df40873 gingerbread -> github/gingerbread
Fetching projects: 16% (36/225) remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git://github.com/CyanogenMod/android_device_samsung_fascinate
706d15f..c5abaec gingerbread -> github/gingerbread
Fetching projects: 17% (39/225) remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git://github.com/CyanogenMod/android_device_samsung_vzwtab
ac23a39..1ec1fa4 gingerbread -> github/gingerbread
Fetching projects: 61% (138/225) remote: Counting objects: 15, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 8 (delta 4), reused 0 (delta 0)
Unpacking objects: 100% (8/8), done.
From git://github.com/CyanogenMod/android_frameworks_base
bf17157..f1df5d9 gingerbread -> github/gingerbread
Fetching projects: 100% (225/225), done.
Syncing work tree: 100% (225/225), done.
build/envsetup.sh: 1: Syntax error: "(" unexpected
herve@android-factory:~/androdev$
nokia 3210 Qtek 9090 htc magic -- nexus one -- galaxy beam --Galaxy Beam -- galaxy s -- arc - arc s -- htc lg optimus 2x -- htc evo 3d -- Xperia S -- HTC one X - HTC One
ANDROID NEWS
Thread Tools
Search this Thread
Display Modes
Linear Mode
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Go to top of page...
Most Thanked In This Thread
11 Reserved CHANGELOG v1 Supporting
only …9 Reserved If you want to set only
udev try …5 Very useful guide! Appreciate hard work! 3 v2.7.1
Added RPM
compatibility (thanx … 3 You'll actually need to
edit …