yashsingh1/xdaforums huggingface dataset:
[Android] mg2195:
Did you you run

make otapackage

Or just

make

You need to add the otapackage if you want a zip...with the -j# if you use that...
[Android] triptosyll:
I compiled aokp for a new device, and am getting a couple FC's, and a couple other hiccups. But I really need help with this fc in my setting>rom control>vibrations. Here's a logcat:

http://db.tt/MkhE4dZH

Thanks for any help!
[Android] Dallby:
Failed at the first step lol

E: Unable to locate package openjdk-6-jdk

Anyone able to link a brutha up to a fix for this?
[Android] triptosyll:
Google: install open jdk 6
[Android] Dallby:
Ok, I got the JDK installed but now I have a new problem...

I downloaded the Android SDK and followed the instructions to the letter but it's telling me that the "android" command isn't found when I type it into terminal. :confused:
[Android] mg2195:
Never mind...mis read your question...you sure you typed it in right?
[Android] Dallby:
Hey, yeah I got it working eventually.

It's now telling me that "android" is a command not found.

My sdk folder is in my home dir and called "android-sdk" the PATH's reflect this. :confused:

---------- Post added at 04:30 PM ---------- Previous post was at 03:57 PM ----------

Ok, there must be something weird going on with my laptop....

Couldn't install jdk, kept trying the same thing a couple of times. Works.

Couldn't install SDK, deleted the directory, did the same process again. Works.

Oh well, at least it's working now...

---------- Post added at 05:10 PM ---------- Previous post was at 04:30 PM ----------

apologies for such a noob question, but what does the tutorial mean by "Find the github for your device " :confused:
[Android] Brute.Force:
Can i use this tutorial to compile jb on my htc wildfire(buzz). Actually it is armv6 device and doesnt have gpu.

Also I am a noob so can i directly follow this tutorial or do i have to learn something else before this?
[Android] hypnos17:
of course..
[Android] lithid-cm:
You might get better support from other users using that ROM. That error looks pretty general.
[Android] triptosyll:
I compiled the rom. So there's no one for me to go to for help. I asked the people on irc from aokp, and they wouldn't help me either. They said, looks like your have problems with super user, and that was it. So does anyone know where I can get some help for this?
[Android] itched:
If you're just typing "android" into your terminal, it's because you haven't set the sdk folder in your PATH. If you put the following into your ~/.bashrc & exit the terminal, you should be able to just type "android" & have your SDK manager come up. What's below is assuming you haven't changed the name of the folder for the SDK that you downloaded & unzipped it to your home directory. Modify the code below for any changes you may have on your own system.

#AndroidDev PATH
export PATH=${PATH}:~/android-sdk-linux/tools
export PATH=${PATH}:~/android-sdk-linux/platform-tools
[Android] lithid-cm:
In response to this, you can also just cd into the directory and run it without path modifications.

cd ~/android-sdk-linux/tools
./android
[Android] Dallby:
Hey guys thanks for your replies. Got the SDK working!
[Android] dastin1015:
That is true, but having the path modification is very much preferred as extraction scripts in the device repo are going to call adb and adb won't be found without the path modification.

私のEVO 3Dから送信される。
[Android] dastin1015:
Ignore. Duplicate
[Android] lithid-cm:
Preferred? Adb is a simple binary. /usr/local/bin and /usr/local/sbin are already in your path without modifications to your path. Maybe some people need all the SDK tools, but most just need the binary. Copying adb and fastboot would be easier and less harmful then suggesting path modifications to people who are new to Linux.
[Android] ktempleton:
hey guys i need some help???? when editing my .repo local xmls i accidentially erased the whole thing can some one help me replace that because now i cant sync my repo please help....
[Android] lithid-cm:
The official aosp repo? what branch?
[Android] ktempleton:
The official one . Cm10 is what I'm building but i me having trouble getting the common drivers and system from a dev who has patched my phone then I did this ugh

Edit. Branch. Jb sorry it just registerd

---------- Post added at 09:28 AM ---------- Previous post was at 09:08 AM ----------

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="CyanogenMod/android_device_samsung_msm8660-common" path="device/samsung/msm8660-common" remote="github" revision="jellybean" />

<project name="CyanogenMod/android_kernel_samsung_msm8660-common" path="kernel/samsung/msm8660-common" remote="github" revision="jellybean" />

</manifest>

this is the code my friend told me to put in to get my device spacific and kernel however it doesnt work
[Android] mg2195:
Create a local_manifest.xml in .repo folder (right click>create new document>name it local_manifest.xml) then open it up with gedit and paste that code in there close it and save. Run repo sync and tell us what it says...BTW, did you repo init aosp (from this tutorial) or repo init cyanogenmod (I think its like repo init -u cyanogenmod.... -b jellybean)?
[Android] Jwtiyar:
Of course U can , the different between is just the Tree.
[Android] ktempleton:
Well I init the cm one but I entered the path from this one. Do you think that could be my problem?

I'll check it out when I get home also

Also will be my next build after I get this cm 10 ran
[Android] mg2195:
Path doesn't matter...if you can't get the local manifest going then you can clone the repo by typing in git clone gitdevicelinkhere directory/here

Or you could just navigate to the github page on your computer and download the repo as a zip, and then extract it to the proper location
[Android] ktempleton:
Downloaded the repo and extracted them where they needed to go .now my problem is when I brunch my device is not on the tree?? Is there another step to get the sgh i577 on there?
[Android] mg2195:
Create a vendorsetup.sh with the correct device name in it...I think the correct name will be in your full_device.mk
[Android] triptosyll:
Do u have the vendor/cm directory? If u do, there's a file in there that is the brunch 'menu'. U can add ur device there. But u need to make sure that u have all the needs device files. Otherwise u will error out.
[Android] ktempleton:
You guys are awesome. I found out what was wrong with my repo sync. And it was something I should have included in my first post. I had set up to run the build from a different tut and used maguro for my first sync so I cleaned it (can't remember the exact command reinit the repo and sync again an boom just finished about to go check if the brunch has my device I saw it pull the path from my local manifest so we'll see. Thanks again. Can't wait to build and try aosp
[Android] triptosyll:
I want to have a different browser in my rom. I want it added during the compilatiom, and I want it on my system partition. I want the browser that is built with the rom now, replaced with the browser I want added. Can anyone tell me which directory to put the pre built apk, and how to disable the compiling of the other browser?
[Android] Jwtiyar:
what to do with this:

http://paste.ubuntu.com/1334950/
[Android] lithid-cm:
What are you building cm? aosp?

Either way you can follow this to add the prebuilt browser, note this is what I used for a pre-built superuser app.

commit:

https://github.com/GeekRom/android_vendor_geek/commit/e5d5a1f379b8dfc4b6a4868855b225ce3bc1df35

You can stop the browser from being built by removing the browser from line 28

core.mk

https://github.com/GeekRom/android_build/blob/master/target/product/core.mk

Hope that helps.
[Android] triptosyll:
Perfect man! Thanks!!
[Android] ktempleton:
quick ? guys im compileing but it keeps stoping and sayin ***make waiting on unfinished job

this is what the script is proceeding that

Install: /home/ken/android/system/out/host/linux-x86/framework/lint_checks.jar

host Java: sdkmanager (/home/ken/android/system/out/host/common/obj/JAVA_LIBRARIES/sdkmanager_intermediates/classes)

make: *** No rule to make target `vendor/samsung/i577/proprietary/lib/libacdbloader.so', needed by `/home/ken/android/system/out/target/product/i577/obj/lib/libacdbloader.so'. Stop.

make: *** Waiting for unfinished jobs....

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

ken@ken-VPCEH32FX:~/android/system$

and there are several other install ones before that and they are blue does that mean i have to install something else?
[Android] lithid-cm:
You need to get that file and place it where it can't find it.
[Android] ktempleton:
ok i assume you mean the sdk manager???? right

also does the blue install line mean the system is installing it???
[Android] triptosyll:
No not sdk. U need to find the 'libacdbloader.so' and place it in the vendor/samsung/i577/proprietary/lib directory. Then make again.
[Android] ktempleton:
Thank you I'm searching for it now. I appreciate the help
[Android] triptosyll:
https://github.com/TheMuppets/propr...lob/ics/i577/proprietary/lib/libacdbloader.so

Copy the contents into a empty file inside that directory, or if it let's u download it, do that and place it in that directory. :thumbup:

EDIT: The 'view raw' button should download it for u :)
[Android] ktempleton:
Thanks again. I was missing all of my lib files in my vendor file from where I set it up. Lol its humming along now. I'll let you guys know how it goes

---------- Post added at 02:20 PM ---------- Previous post was at 01:33 PM ----------

so i believe it just finished

+ MAKE_EXT4FS_CMD='make_ext4fs -s -l 575885312 -a system /home/ken/android/system/out/target/product/i577/obj/PACKAGING/systemimage_intermediates/system.img /home/ken/android/system/out/target/product/i577/system'

+ echo make_ext4fs -s -l 575885312 -a system /home/ken/android/system/out/target/product/i577/obj/PACKAGING/systemimage_intermediates/system.img /home/ken/android/system/out/target/product/i577/system

make_ext4fs -s -l 575885312 -a system /home/ken/android/system/out/target/product/i577/obj/PACKAGING/systemimage_intermediates/system.img /home/ken/android/system/out/target/product/i577/system

+ make_ext4fs -s -l 575885312 -a system /home/ken/android/system/out/target/product/i577/obj/PACKAGING/systemimage_intermediates/system.img /home/ken/android/system/out/target/product/i577/system

Creating filesystem with parameters:

Size: 575885312

Block size: 4096

Blocks per group: 32768

Inodes per group: 7040

Inode size: 256

Journal blocks: 2196

Label:

Blocks: 140597

Block groups: 5

Reserved block group size: 39

Created filesystem with 4099/35200 inodes and 68822/140597 blocks

+ '[' 0 -ne 0 ']'

Install system fs image: /home/ken/android/system/out/target/product/i577/system.img

/home/ken/android/system/out/target/product/i577/system.img+ maxsize=587934336 blocksize=135168 total=274412632 reserve=5947392

now is there a way to make it into a zip or do i have to run it again...? i have 2 gz files ram disk img and ram disk recovery img a ram disk cpio a system img and recovery img

sorry guys making the bacon
[Android] lithid-cm:
make -j8 otapackage
[Android] ktempleton:
It worked I flashed it and its running nice and smooth. Do you mind if I link this thread on my thread?? Thanks for all your help
[Android] triptosyll:
Can anyone tell me how to specify the branch I want built?
[Android] lithid-cm:
You will have to change to the branch you want, and build according to that branches setup.

Example:

repo forall -c 'git checkout ics'

Your results may very.
[Android] triptosyll:
whats the repo for? i have the source. i created my own branch the other day, and i dont know how to specify that i want my 'jb' branch built. do i just need to be in that branch while issuing the make command? or do i have to specify the branch in the make comman?
[Android] lithid-cm:
When building you can't just change one branch you need to change them all. That is what this command does. Maybe I don't fully understand your question. I apologize for that.
[Android] triptosyll:
I don't want to change just one. I want to compile my 'jb' branch. What is repo forall? I repo sync aokp, then make my own branch and start making changes. How do I compile the branch that I made?
[Android] Jwtiyar:
ANy help with this error i puted in page 166?
[Android] incarnation95:
Oh you trying to make a zip! And i guess the command is not workin here!

Try this using brunch command!
[Android] Jwtiyar:
How i can use it?
[Android] ktempleton:
Type. Build envsetup then brunch. Pick your phone engine enter
[Android] Jwtiyar:
Brunch command not found.
[Android] lithid-cm:
brunch is only available via a cyanogenmod based rom.
[Android] Jwtiyar:
What i have to do to solve this error?
[Android] hypnos17:
write lunch, I think

Sent from Galaxy Tablet
[Android] Jwtiyar:
I know this but my error is after steps, error is in page 166.thank you
[Android] mg2195:
Try a make clean the start a fresh build....
[Android] pabloltg:
Yeah, I did, but happens again.. :eek:
[Android] triptosyll:
Once u do . build/envsetup.sh it will have the brunch command
[Android] triptosyll:
can anyone help me with this error:

http://pastebin.com/LpRdgkVu

builing aokp 4.1.2 for fascinate

thanks for any help
[Android] lithid-cm:
You need to contact aokp devs. Looks like something is broken in source.
[Android] toxicthunder:
Looks like some derp got merged. ^^
[Android] antonio8297:
Which is the command tor build a Codename android??

Inviato dalla tazza del tè.
[Android] Jwtiyar:
no its lunch when i write brunch it will say brunch command not found.

its my last step any help? iam waiting like 4 days for answer.

Best Regards
[Android] triptosyll:
Are u building aosp? Or cm? Or what?
[Android] Jwtiyar:
Aosp.
[Android] mg2195:
You need to do

. build/envsetup.sh

lunch

Choose your device

Then make otapackage

Looking at your error on 166 it looks like you never choose your device and its doing a generic build....which doesn't support otapackage

PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
make: *** No rule to make target `otapackage'. Stop.

-thats his error not mine....

And you'll probably need to create a vendorsetup.sh for your device otherwise it won't pop up in the lunch menu
[Android] Jwtiyar:
For choosing device i typed 1 which mean full-eng option, how to choose my device? I just tried instruction destin written, thank u very much.
[Android] blazingwolf:
As mg2195 stated:

Look at other device trees to get examples.
[Android] Jwtiyar:
I have cloned my device tree , but i dont know how to add vendorsetup.sh ? Thank uu
[Android] blazingwolf:
Copy and paste one from another device tree and change the information to that of your device.
[Android] Jwtiyar:
Which file i have to grab? Please can be more simple?
[Android] lithid-cm:
From somewhere that has the file, maybe cm for example.
[Android] Jwtiyar:
Sorry lithid but i said which file i have to grab?
[Android] Luca-91:
Hello mates,

I'm trying to compile Jelly Bean for my tablet Mediacom SmartPad 720i (it comes with 4.0.3 ICS).

I can't find the github for my device, but I'm sure that I need "full_rk29-eng" in the lunch menu.

How can I do it ? please..

Thanks
[Android] triptosyll:
Alright man, people here are more than willing to help, as Uve seen, but u need to start helping yourself a little too. Read up on what uve been told, when ur told it. Do some chancy checking around, when someone describes a fix. Seriously man, this vendorsetup.sh is one of the easiest source files to create. Do this. Go to the root of your source tree, and click your search button, and search for vendorsetup.sh. when it finds one, copy it and put it in your devices' directory. Then edit the files. If u can't understand from all the answers on how to fix this single problem, you are not gna b able to do anything when it comes to the errors of compiling.
[Android] Jwtiyar:
sorry if i made u tired but i didnt get it now i know whats going on , thank you
[Android] DragunKorr:
need a little help with this one please thanks!!

find: `src': No such file or directory
build/core/base_rules.mk:171: *** sdk/uiautomatorviewer: MODULE.HOST.JAVA_LIBRARIES.uiautomatorviewer already defined by frameworks/testing/uiautomator/utils/uiautomatorviewer. Stop.
[Android] triptosyll:
Your welcome. I'm not being a ****. Its just a very easy fix. One of the easiest. Hope all works out.

---------- Post added at 04:40 PM ---------- Previous post was at 04:39 PM ----------

Did u look at base_rules.mk, line 171, and see what it says? If so, what? It should tell u there...
[Android] Luca-91:
Can anybody answer to my previous question please ? :(
[Android] blazingwolf:
You have to find or make a device tree for your device. Look to see if you can find one with similar specs to your device.

Read this thread and others like it to get all of the ideas on how to get stuff working.
[Android] Luca-91:
Can i use the same device tree that i used to compile the touch cwm for my device ? Thanks
[Android] triptosyll:
Yes. That tree is called ur device tree. Its the specs for ur device so that u can build things for it.
[Android] Luca-91:
I'll try to build it tomorrow , thanks for the help :)

---------- Post added at 01:00 AM ---------- Previous post was at 12:28 AM ----------

Just another question :

Once i've created the system.img of jb, have i to modify the boot.img ramdisk ? Or not ?
[Android] ktempleton:
OK so I have a question?? I'm set up running cm 10. What is the difference between running this and cm10. Also do I have to set up a different dir to run this. Thanks
[Android] blazingwolf:
This is AOSP. In other words, plain android from Google. CM10 makes changes to android and adds tweaks and features.

Yes, you need to setup a different directory to build this from.
[Android] ktempleton:
Thanks for the info. I thought I had to do a different dir but wanted to make sure..
[Android] triptosyll:
What are u talking about, different dir? If ur gna download source, it DOES need to go in its own directory. It can b in the same folder as another directory full of source, but it does have to b its own directory. U get what I mean?
[Android] ktempleton:
So my cm 10 repo is under android/system. I would then mkdir aosp then set up my repo for that one. Sorry I'm still learning the Linux structure I've been reading so much I'm dreaming command line. Lol
[Android] blazingwolf:
I don't know that I would put it in that folder like that. Perhaps it would be fine but I would think it could cause issues. I would do android/system/cm10 and android/system/aosp. That's how I have mine anyways to make sure there is no confusing as to what I am trying to make.
[Android] ktempleton:
OK thank you for the advice this is my first Linux system and all the reading and working within the enviorment has had me thinking about cleaning up my tree. I was spoiled by windows. Lol
[Android] mg2195:
I have multiple build directories....a few examples are just "android/system" "vividcm10" "infusecm10" "slimbean" "aosp" "twrp-jb"

So name it whatever you want...you don't need the android/system before your directory name...
[Android] ktempleton:
Cool. I've been thinking about putting together twrp for my phone. Any suggested reading??
[Android] mg2195:
http://xdaforums.com/showthread.php?t=1943625

There's also a rootzwiki thread by the same user that I believe I linked in a post on the first page....for the most part its the same tutorial..but steps are explained differently
[Android] ktempleton:
Thanks ill check it out.

---------- Post added at 11:07 PM ---------- Previous post was at 10:56 PM ----------

Good link. Thanks
[Android] ktempleton:
OK next question I have is my repo is sync in android/system. When I make a twrp dir do I go through the initialize repo again. And if I do it wont mess up my repo in my other dir... you know what that was a stupid question. I put the path to my repo in the bash folder
[Android] Luca-91:
Sorry for my insistence, but has somebody the answer ? thanks
[Android] DragunKorr:
If anyone has the proper product name for pyramid can you please pm

i compile pa never have aosp thanks!
[Android] triptosyll:
Every time u wanna download more source code from a different place, TO a different directory, u need to repo init the directory. Everything u did to download source the first time, u have to do the same anytime u wanna download different source.
[Android] Luca-91:
Yeah mate I understand, but my question was if I'll need to edit the ramdisk too. When I build the cwm touch for my device (using the rk29 device tree) I haven't modified the ramdisk (obvious) , but this time I'm building the whole system.img , so maybe I've to edit the ramdisk too.

Sorry if this is a stupid question , but this is the 1st time that I try to build android from sources ;)
[Android] hypnos17:
no, if your device have already CM10...
[Android] mg2195:
Not necessarily....depends...for my twrp working directory I just copied the whole .repo folder from my infusecm10 working folder. Navigated to twrp in terminal and ran repo sync....that way all he projects were there from cm10 so it didn't have to redownload everything...just extracted everything...if your gonna be doing something completely different like aokp...then you need to do the whole repo init

---------- Post added at 06:55 AM ---------- Previous post was at 06:46 AM ----------

Looks like its just pyramid https://raw.github.com/bruce2728/android_device_htc_pyramid/jellybean/cm.mk
[Android] antonio8297:
i have this error:

administrator@ubuntu:~/WORKING_DIRECTORY/device$ git clone git:github.com/antonio8297/android_device_samsung_gio.git -b jellybean gio
Cloning into 'gio'...
ssh: Could not resolve hostname git: Name or service not known
fatal: The remote end hung up unexpectedly
[Android] Luca-91:
No, i've a modified stock rom .. So ?
[Android] triptosyll:
I was answering the other guys question. Look at who's post was quoted. ;)
[Android] Luca-91:
Haven't you quoted myself ? O.o
[Android] Dallby:
When I try and download the packages it gives me this error:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-multiarch but it is not installable

E: Unable to correct problems, you have held broken packages.

Can someone help me figure out what to do next?

---------- Post added at 07:12 AM ---------- Previous post was at 07:08 AM ----------

More errors...

E: Unable to locate package libncurses5-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 zlib1g-dev
[Android] triptosyll:
Oh I'm sorry, it was u I was responding to. Sorry mate!
[Android] Luca-91:
No problem mate ;)
[Android] CallMeVentus:
For ssh , use https:// instead of git://

Sent from Nortrom's Glavies of Wisdom.
[Android] DragunKorr:
Yea I see that

I can compile cm,aokp,pa which my build is official yet no aosp can get to build for pyramid!

Even using Bruce HTC device, vendor and msm

Anyone who has experience compiling pure aosp for pyramid I'm at wits end! Lol thanks
[Android] Luca-91:
Hello mates,

I've just build JB from source code.

Now I've a system.img, but it seems that I can't mount it as ext3/ext4 filesystem. Is that normal ? :eek:
[Android] antonio8297:
I Will try.

Inviato dalla tazza del tè.
[Android] lithid-cm:
Not true. https uses port 443.

Use:

Git using ssh keys

git clone git@github.com:antonio8297/android_device_samsung_gio.git -b jellybean gio

Git readonly:

git clone git://github.com/antonio8297/android_device_samsung_gio.git -b jellybean gio