Building your own ROM

Try it again, but this time type the full path of repo. Assuming you followed directions, your command should look like this

~/bin/repo -u init git://blahblahblah

Sorry I can't be of more help. I'm not really a Linux guy. I'm sure if that doesn't work someone much smarter than I will get back to you.

Sent from my LS670 using Tapatalk 2 Beta-6
 
  • Like
Reactions: clodfelterac
My bad, don't flip them then. The important part was doing ~/bin/repo instead of just repo.

Sent from my LS670 using Tapatalk 2
 
  • Like
Reactions: clodfelterac
clodfelterac@myUBUNTUlaptop:~/android/system$ ~bin/repo init -u git://github.com/inferiorhumanorgans/android.git -b gingerbread
bash: /bin/repo: No such file or directory

the repo.sh is there... im looking right at it...

I had the same problem wwhen I started out. You have to curl the repo command from a different site. Webtutor doesn't work

Sent from my LG-VM670 using Tapatalk
 
  • Like
Reactions: clodfelterac
thankyou... so this is what i did:
clodfelterac@myUBUNTUlaptop:~/android/system$ curl https://github.com/inferiorhumanorgans/repo > ~/bin/repo

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 20498 100 20498 0 0 5720 0 0:00:03 0:00:03 --:--:-- 12715


clodfelterac@myUBUNTUlaptop:~/android/system$ repo init -u git://github.com/inferiorhumanorgans/android.git -b gingerbread
/home/clodfelterac/bin/repo: line 1: syntax error near unexpected token `newline'
/home/clodfelterac/bin/repo: line 1: `<!DOCTYPE html>'

the repo is there, it has the permissions... ???
thanks for your help... :-)

Look at the error.

It's a web page not a python script.

Try fetching it from another place.
 
  • Like
Reactions: clodfelterac
ya i caught that after posting... went back and checked /bin and deleted the repo (shouldve checked it before posting)... came back and deleted the post... your quick on the draw... lol... thankyou... :-)
 
ya i caught that after posting... went back and checked /bin and deleted the repo (shouldve checked it before posting)... came back and deleted the post... your quick on the draw... lol... thankyou... :-)

Whoops, haha. Sorry about that. It was early, I was feeling ill but couldn't sleep, sorry I didn't catch it.

As for my error posted on the last page, I'm just going to try to compile with 0 edits and see if it's something I'm doing that is causing issues.
 
Now when I go to build it, here's what I get:

Libril.so seems to be missing. I'm currently half asleep so I can't think of what to try first... check the vendor folder for the file, then check the .mk files to make sure its getting copied. Use iho as a reference if needed.

On an unrelated note, I have a question for the experienced people. How crazy is it to use btrfs for everything except /boot on a build box? Its running quite fast for me and the built in raid is nice. Only issue I had was getting debian to boot with it
 
  • Like
Reactions: cole2kb
Libril.so seems to be missing. I'm currently half asleep so I can't think of what to try first... check the vendor folder for the file, then check the .mk files to make sure its getting copied. Use iho as a reference if needed.

On an unrelated note, I have a question for the experienced people. How crazy is it to use btrfs for everything except /boot on a build box? Its running quite fast for me and the built in raid is nice. Only issue I had was getting debian to boot with it

I'm currently using btrfs for EVERYTHING on Ubuntu 12.04. No issues at all.
 
Is there any sort of resource that explains files in the Android source, sort of walks a wannabe dev through it all? So, like, when I finish syncing and I know something that I want to change, I have some sort of reference guide to refer to? I'm okay just using grep to find the values I want to change and changing them in all the files that come up, but this just seems really inefficient.
 
target SharedLib: libdl (out/target/product/thunderc_VM670/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs] Error 1
make: *** Waiting for unfinished jobs....

so.... decided to update from linux mint 9 to linux mint 12 and now i cant get past this when i make bacon... any ideas from the pros?
 
target SharedLib: libdl (out/target/product/thunderc_VM670/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.6.1/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs] Error 1
make: *** Waiting for unfinished jobs....

so.... decided to update from linux mint 9 to linux mint 12 and now i cant get past this when i make bacon... any ideas from the pros?

I've never used linux before, but from the looks of it, it looks like the c++ libraries are outdated and not supported by the newer version of linux. Try updating them.
 
  • Like
Reactions: thewraith420
Try installing libcr-dev

EDIT: I believe lstdc is part of the multilib library, so try:
sudo apt-get install g++-4.4-multilib
 
Last edited:
  • Like
Reactions: thewraith420
Try installing libcr-dev

EDIT: I believe lstdc is part of the multilib library, so try:
sudo apt-get install g++-4.4-multilib

ok i made it past that error by installing the 4.6 multilib but now i'm stuck at a new error

host Executable: aidl (out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl)
host Executable: zipalign (out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/zipalign)
true
host C: libclearsilver-jni <= external/clearsilver/java-jni/j_neo_util.c
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/zipalign] Error 1
make: *** Waiting for unfinished jobs....
 
ok i made it past that error by installing the 4.6 multilib but now i'm stuck at a new error

host Executable: aidl (out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl)
host Executable: zipalign (out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/zipalign)
true
host C: libclearsilver-jni <= external/clearsilver/java-jni/j_neo_util.c
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/zipalign] Error 1
make: *** Waiting for unfinished jobs....

Looks like you are missing zlib1g (and zlib1g-dev).
 
  • Like
Reactions: thewraith420
Looks like you are missing zlib1g (and zlib1g-dev).

synaptic shows that i have them both

EDIT: Got past that now. did some googleing found a tip to get lib32z1-dev and it worked :)
 
Last edited:
Well now I'm back to my old issue. I can get a working build with apparently no radio functions
4429307c-c42a-8f81.jpg

I've made no changes just sync with Jerrys github and make bacon so it should work...

Sent from my LG-VM670 using Tapatalk 2
 
quick question--- where is the default wallpaper.png located?... i swear i have covered every inch of framework-res.apk to no avail... anyone?... thanks in advance... :-)
 
Last edited:
quick question--- where is the default wallpaper.png located?... i swear i have covered every inch of framework-res.apk to no avail... anyone?... thanks in advance... :-)


Its in /drawable hidden in all the xmls as default_wallpaper.

Just a hint... when you can't find something use the search function and it normally yeilds the file your looking for. That's how I find stuff I can't find on windows anyway... idk if Linux has a similar function.

EDIT: Just in case someone thinks I'm just telling him to Google his question, I'm not. I'm saying use the search function on the explorer to find the files he can't find.
 
  • Like
Reactions: clodfelterac
Its in /drawable hidden in all the xmls as default_wallpaper.

Just a hint... when you can't find something use the search function and it normally yeilds the file your looking for. That's how I find stuff I can't find on windows anyway... idk if Linux has a similar function.

EDIT: Just in case someone thinks I'm just telling him to Google his question, I'm not. I'm saying use the search function on the explorer to find the files he can't find.

On UNIX it is find and grep. :)
 
@anthony--- thankyou for the reply... i tend to forget about the search bar... ive rarely ever used it... :-)
 
Last edited:

Trending Posts

Forum statistics

Threads
956,603
Messages
6,969,123
Members
3,163,585
Latest member
zolepso1