yashsingh1/xdaforums huggingface dataset:
[Kindle Fire Android Development] dnd61:
Help me, I get error after type the command: . build/envsetup.sh && brunch otter
[Kindle Fire Android Development] rukin5197:
Going out on a limb here, but seems as if its a problem with your sdk version. I recommend going and seeing if your sdk version is at the latest
[Kindle Fire Android Development] dnd61:
Help me please, I get error when built:
[Kindle Fire Android Development] odst0016:
Tutorial is great and easy to follow took me 4 hours from the time I started downloading to the time I flashed my first build. Thanks
[Kindle Fire Android Development] justlovejoy:
which lunch should i choose?
[Kindle Fire Android Development] BibleBelt:
Doesn't "brunch otter" work for you?

In my setup "lunch cm_otter-userdebug" at least doesn't throw an error, but I didn't start compiling. Need my computer for other things right now.
[Kindle Fire Android Development] soupmagnet:
Stuck at compiling.

I'm stuck and don't know where to go next.

I'm using an iMac 64bit intel. I have my build environment set up and ready to go, no problem. Xcode, CLtools, Java, and MacPorts installed. I have a 40Gb case-sensitive, journaled, disk image that I'm using for my workspace. I have the repo completely synced. Synced with the JC git repo, proprietary files and pre-builts installed. I've tried three different commands to get it to build...

. build/envsetup.sh
make -j`sysctl -an hw.logicalcpu` bacon

and

. build/envsetup.sh
brunch otter

and

. build/envsetup.sh
brunch otter -j$(grep -c processor /proc/cpuinfo)

All three return with the same error...

build/core/base_rules.mk:166: *** github/device/otter/audio/audio: MODULE.TARGET.SHARED_LIBRARIES.audio.primary.omap4430 already defined by device/amazon/otter/audio/audio. Stop.

In his post, JC said...

It sounds like he is saying it has been fixed.

Tried again...same

So I tried this...

...but when I enter...

git remote show origin

...I get...

fatal: Not a git repository (or any parent up to mount parent /Volumes)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

I've also been getting...

-bash: Makefile: command not found

-bash: Fetch: command not found

-bash: Push: command not found

What am I missing? Where am I messing up?
[Kindle Fire Android Development] soupmagnet:
Ok I'm not quite sure what the problem was....I tried again but the only thing I did different was install fink. So no more audio errors. now I'm getting

make: *** No rule to make target `out/target/product/otter/obj/lib/crtbegin_static.o', needed by `out/target/product/otter/obj/EXECUTABLES/charger_intermediates/LINKED/charger'. Stop.
make: *** Waiting for unfinished jobs....
Directory: out/target/product/otter/root/data

Anyone know what would cause this?

Also when trying to sync or clean the repo I get "Permission Denied" now.
[Kindle Fire Android Development] Jake33108:
I'm getting this same error trying to compile AOKP right now, did you ever figure it out?
[Kindle Fire Android Development] soupmagnet:
Nope....I started over from scratch and started getting compile errors (undeclared...etc.). I figured it was because of Xcode4 and tried several methods for installing 3.6.2 without success. I was however able to extract the old SDKs but then I started getting entirely different errors.

So I'm starting over with barebones to see if its the Mac that is causing problems or something else. I'm thinking I'll use the cm9 Mac tutorial for the Moto Droid and follow the instructions exactly to see if I get any success in building. If so then I'll know where to look for the problem. I just need to get my hands on the proprietary files first. We'll see.

My iMac is about 10 times faster than my pos penguin box so I'd hate have to take that route. Personally I have mixed emotions about Mac but it was provided by my company for work. It's wicked fast with a 27“ screen; call me spoiled but the thought of attempting this on anything else makes my head ache.

I'm not a dev, I'm just a CAD guy. But give me time and I'll figure it out...I always do.
[Kindle Fire Android Development] soupmagnet:
On that note, would anyone here be so kind as to help me figure out how to install packages using homebrew?

Macports has problem installing certain ones like libsdl1.2-dev, libesd0-dev, libwxgtk2.6-dev, libncurses5-dev, zlib1g-dev, g++-multilib, lib32z1-dev, lib32ncurses5-dev, lib32readline5-dev, gcc-4.3-multilib g++- etc.

I installed fink in the hopes of using apt-get, but with no luck

So far I only have libsdl, git-core, gnupg, gsed, curl, libiptcdata, xorg-libX*, pngcrush, findutils, +universal, and gmake installed. Was told that was all I needed but now I'm not so sure.

...or am I confusing apples with oranges here? Any help would be greatly appreciated. :-)
[Kindle Fire Android Development] marty331:
Why don't you install Ubuntu 64bit on a virtualbox? Have you thought about doing that?

CM7 Infuse - XDA Premium
[Kindle Fire Android Development] soupmagnet:
Considered it for maybe half a second and forgot about it. I just got too wound up in not accepting defeat at the hands of Steve Jobs.
[Kindle Fire Android Development] marty331:
That dead bastard is still making life difficult!

CM7 Infuse - XDA Premium
[Kindle Fire Android Development] lhurtado:
Hi, to fix this:

make: *** No rule to make target `prebuilt/android-arm/kernel/LINUX_KERNEL_COPYING', needed by `out/target/product/otter/obj/NOTICE_FILES/src/kernel.txt'. Stop.

just copy prebuilts/qemu-kernel/arm/LINUX_KERNEL_COPYING to prebuilt/android-arm/kernel/LINUX_KERNEL_COPYING... this file is just the text copyright

just finished compiling AOKP
[Kindle Fire Android Development] soupmagnet:
So...following the previous suggestion, I scrapped the whole Mac idea and started all over on an Ubuntu 11.10 VM. Which works great but it's a little less forgiving than the Mac.

Anyway, I have my build environment completely set up with all the necessary packages installed...no problem.

Now its time to build. I do so using this command:

source build/envsetup.sh
brunch otter -j$(gprep -c processor /proc/cpuinfo)

...runs for a couple minutes before stopping at this error:

In file included from frameworks/base/media/libmedia/IMediaPlayerService. cpp:25: frameworks/base/include/media/IOMX.h:29:17: error: jni.h: No such file or directory make: *** [out/target/product/otter/obj/SHARED_LIBRARIES/libmedia_ intermediates/IMediaPlayerService.o] Error 1

So basically, the file "IOMX.h" makes a declaration to include "jni.h", which isn't anywhere in my /android tree.

Upon further research I learn that "jni.h" has something to do with Java. I have the required java6-sun-jdk 6.1.x installed so I figured it must be a problem with my $PATH. I found the "jni.h" in question in the Java folder and did an export $PATH to that folder. Then I entered echo $PATH to make sure:

echo $PATH /home/linux/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun-1.6.0.26

Sure enough, the folder where "jni.h" is located is included in my path, but I'm still getting the same errors.

Can anyone help me figure out what I'm doing wrong? Just point me in the right direction and I'll figure the rest out for myself. Thanks.
[Kindle Fire Android Development] Jake33108:
Thank you! I just had my first successful build! Now to see if it boots.
[Kindle Fire Android Development] lhurtado:
I'm happy to help!
[Kindle Fire Android Development] BibleBelt:
jni.h is a header-file for the Java-Native-Interface. It has nothing to do with the PATH.

PATH is where Linux looks for things to execute.

The normal way to specify for the C-compiler the places to look for header-files is the -I directive in the command line (gcc -I ../IncludeFileDir sourcefile.c). Some C-Compilers also honor environment variables. E.g. gcc has C_INCLUDE_PATH and CPLUS_INCLUDE_PATH.

I never have to mess with this myself, when I build roms.

Hth.
[Kindle Fire Android Development] soupmagnet:
Perfect...C_INCLUDE_PATH and CPLUS_INCLUDE_PATH did the trick.

Big Thanks
[Kindle Fire Android Development] x0xhellx0x:
I'm having an issue could just be me though u made a build but upon testing gtalk keeps for closing did a log cat says its looking for camera any ideas
[Kindle Fire Android Development] DJLamontagneIII:
hey hell mabe this will help

YOU

OR HERE hes the one that fixed it
[Kindle Fire Android Development] walts:
OK, this is my first attempt at building an Android ROM. I'm working on a Mac, so I built an Ubuntu 10 VM and proceeded to follow the instructions in post #1.

Everything is going smoothly until I get to the actual build command, when it complains that I have Java and javac versions 7 and it wants version 6. I tried using apt-get to install version 6 but it complains about the "downgrade".

Can someone point me to whatever files I need to change to allow version 7 to work?

Thanks....

Walt
[Kindle Fire Android Development] twa_priv:
You can always download the 1.6 jdk (jre-6u31-linux-x64.bin) from www.java.com/getjava and install it manually (e.g. in your home directory). Then add $HOME/jdk1.6.0_31/bin to your PATH and you should be fine.
[Kindle Fire Android Development] soupmagnet:
add-apt-repository "deb [url]http://archive.canonical.com/[/url] lucid partner"
aptitude update
aptitude install sun-java6-jdk
update-java-alternatives -s java-6-sun

It would probably help to use

sudo apt-get remove

to uninstall java-7 first

If you need the exact name of the Java SDK installed on your machine

sudo apt-cache search ^Sun Java JDK

or something to that effect
[Kindle Fire Android Development] tanclo:
I'm happy to find this post. You describe everything except how to get the vendor and configuration files for a device. I'm contemplating trying a CM7 or CM9 build for a non-supported device ( SHV-E120K a.k.a. Galaxy SII HD LTE )

Please someone, anyone tell me 'you're completely nuts' or 'here's how I went about it' -- both comments will encourage me to go ahead ;-)
[Kindle Fire Android Development] ZeROMCreator:
Hi Guys while I'm building i have a constant error

host SharedLib: libicui18n (out/host/linux-x86/obj/lib/libicui18n.so)

out/host/linux-x86/obj/SHARED_LIBRARIES/libicui18n_intermediates/measfmt.o: file not recognized: File truncated

collect2: ld returned 1 exit status

make: *** [out/host/linux-x86/obj/lib/libicui18n.so] Error 1

have anyone seen and fixed this if so please let me know

PS: Thanks JackpotClavin for the guide I just need help with this part (and possibly more if necessary)...
[Kindle Fire Android Development] Hashcode:
Please please don't use these instructions to build ICS.

The instructions for building the new version is here:

https://github.com/KFire-Android/android_local_manifest
[Kindle Fire Android Development] ThePresence:
I got this error plz help......

View attachment 1062307
[Kindle Fire Android Development] marty331:
+1

Ubuntu 12.04 64bit is what I'm running when getting this error.

AOKP Uniporn Infuse
[Kindle Fire Android Development] ThePresence:
yup same here i'm also using ubuntu 12.04 64bit and got this error.....:confused:
[Kindle Fire Android Development] soupmagnet:
10.4 is your best bet.
[Kindle Fire Android Development] Hashcode:
Please let this thread die. And start a new topic.

The info in this thread for compiling a Kindle Fire ROM is outdated.
[Kindle Fire Android Development] marty331:
Hash,

I know you want this thread gone and that's fine, but do you have any knowledge around the readline error? I'm running Ubuntu 12.04 64bit.

Thank you!
[Kindle Fire Android Development] Sblood86:
I've been building in 12.04 since it's release; the google walk through for setup is wrong and subsequently there are quite a few build errors without some fiddling... On that note I've entirely borked my OS (long story) and have to reinstall ubuntu tonight anyway, in the process I'm going to take a closer look at what the real requirements are instead of just force installing every possible option ;)
[Kindle Fire Android Development] marty331:
Sending you a PM.
[General Questions and Answers] naddie:
In my quest to learn how Android works, I have a question about finding and installing hardware drivers for devices like the cameras, graphics, audio, etc.

Aside from the Google provided drivers for flagship devices (basically devices that Google worked with such as Nexus, Pandaboard, and Xoom) found here (http://code.google.com/android/nexus/drivers.html#maguroiml74k), where would you get drivers that aren't being used by these devices, such as the Mali400MP that the Galaxy S II uses?

And once obtained, how do you install the drivers? Is it part of the compiling process, or is it just copying the binary files to a folder and editing some configuration files to reference to the binary files?

Thanks.

PS: In starting to learn about the low level innards of Android (and probably Linux), is there other resources I can research, ask, and learn? Is this a good place for it (the Q&A section of XDA forums)?
[General Questions and Answers] Dark3n:
The drivers will be compiled into the kernel for the specific device.

You will either have to get the source code or reverse engineer the samsung ones and write your own.
[General Questions and Answers] naddie:
Thanks. :)

I currently have a Samsung Vibrant that has ICS Passion v9.2 (a ROM that doesn't use the RFS file system, but uses the standard EXT4), and has the FFC mod. Do you know if the hardware is basically the same as the Nexus S? Would I be able to use the Nexus S binaries from Google's site?

If so, I'll stick with the Vibrant as my play thing. If not, I may have to purchase a Nexus S or the Galaxy Nexus to kick around.

Edit: Never mind. I'll pose this question in the Vibrant Q&A section, as this part of the question is Vibrant-specific. Thanks!
[Samsung Epic 4G Touch] ebuechler3:
First of all, i got 2 et4gs kicked off of sprint for too much roaming. Prl 0001 plus 1channel, and 1 or 2 movies a day did it... I was well over 10 gigs roaming! But i wanted to get out of my contract, so "mission accomplished".. Sprint gave me till jan. 4th to find a new carrier. How nice of them...

Next, after doing some research via google, Boost seemed to be my best option.. I literally had to put bits and pieces from other people's tutorials to make this work for our ET4Gs... Should i put their work together, and make a tutorial for us? i would definately give thanks and credit... The only thing that doesnt work is 4g. Everything else works better, and $50 a month, $5 off every 6 months? Yeeeeees

my speeds are slow when im home but i use wifi. But everywhere else, from a block up the street, throughout the whole city of des moines iowa, my speeds are way faster... No explanation why... But here goes nothing http://xdaforums.com/showthread.php?t=1419488
[Samsung Epic 4G Touch] bbh4r4l:
I would like to see it
[Samsung Epic 4G Touch] mkeena0305:
I could use a tutorial.
[Samsung Epic 4G Touch] ker0zene:
What are your 3G speeds like on Boost? Are they faster? I would definitely be interested in a tutorial!
[Samsung Epic 4G Touch] slick4mitch:
Isnt Boost Sprint's baby?
[Samsung Epic 4G Touch] Henri Blanche:
Yes it is.

I wouldn't expect anything to be BETTER about this switch other than the pricing.
[Samsung Epic 4G Touch] Isriam:
i put an e4gt on boost last night. had some help from people around here, but a nice walk through would be great.

i say give consumers as much as possible. carriers are trying to rip us off.
[Samsung Epic 4G Touch] Ja5oN:
Hmmmm... This is interesting, I shall be curious to see how 3g speeds are with Boost.
[Samsung Epic 4G Touch] ebuechler3:
my speeds are slow when im home but i use wifi. But everywhere else, from a block up the street, throughout the whole city of des moines iowa, my speeds are way faster... No explanation why... But here goes nothing http://xdaforums.com/showthread.php?t=1419488
[Samsung Epic 4G Touch] Euclid's Brother:
"slow" and "way faster" are pretty vauge terms. Can you run speed test and give us actuals?

Thanks!
[Tilt, TyTN II, MDA Vario III General] TheMadxtremist:
first i had valentine . Then i installed scoot cyanogen 7.1 . it worked fine .

then i installed 6.1 but then i could not install there was always a freeze.

then i installed valentine again . it worked fine.

Now i cant install CM again :/

HELP
[Tilt, TyTN II, MDA Vario III General] TheMadxtremist:
scoot CM 5.5 is working but 7.1 and 6.1 is not working :/
[Tilt, TyTN II, MDA Vario III General] tomcug:
Which kernel do you have right now?
[Tilt, TyTN II, MDA Vario III General] TheMadxtremist:
the same kernel .

and CM 7.1 worked yesterday but not now
[Tilt, TyTN II, MDA Vario III General] tomcug:
OMG! Tell me exactly what kernel you have! It's very ****ing important for CM! Give me the link to the right thread with your kernel!!!!!!!!!!!
[Tilt, TyTN II, MDA Vario III General] TheMadxtremist:
my kernel version is 2.6.32.9 martin@it0044296 #285

and i dont exactly know the thread cuz i dloaded from sourceforge collection i think.

and please figure out something and tell me !!! :O
[Tilt, TyTN II, MDA Vario III General] PoXFreak:
As a rule of thumb, I ALWAYS build a new kernel for EVERY install, not just download one and hope it works.

Kernels are build-dependent, meaning you shouldn't use one for both Froyo and Eclair or Donut.

ATools is your friend, especially now with the cache fix and better RIL implementation.
[Tilt, TyTN II, MDA Vario III General] tomcug:
Well, with this kernel you can forget installing CM builds :). You need latest kernel with cache partition.
[Tilt, TyTN II, MDA Vario III General] TheMadxtremist:
Damn !! :O
[Tilt, TyTN II, MDA Vario III General] tomcug:
Why? Just flash a new kernel.
[Tilt, TyTN II, MDA Vario III General] PoXFreak:
Max, Here is the kernel I use, built for the Tilt.

500MHz, panel 2, Tilt, OC GPU and batt stat to 1500mah, EXT4 FS and either a 15 or 20mb cache partition, I don't remember.

I've never had an issue with this kernel... ever.

Just unzip (it's just a "store", non-compressed) and install via SD card or RUU.

Install it EVERY TIME you load another install, preferrably before installing.

Any issues should be posted here.
[Tilt, TyTN II, MDA Vario III General] TheMadxtremist:
the phone cant be flashed by power+camera or same with reset button , so i was thinking that can i go to bootloader through MTTY or something else ?

If yes then do tell me :/
[Tilt, TyTN II, MDA Vario III General] PoXFreak:
Are you saying the camera button doesn't work, or that the phone is stuck in OEMBL mode? (black screen)

If the second is the case, then this is a very touchy problem as I will NOT instruct anyone on how to use MTTY to recover a broken SPL.

If the camera button does work you can hold it and reset the phone with the attached kernel copied to the root of an SD card. Any of Oli's HardSPL's will work this way.

I almost forgot that you need to install an update to any older roms that allows for the /cache partition, download attached file and copy to andboot folder.

Do yourself a favor and KNOW WHAT YOU'RE DOING before EVER doing anything to the phone in MTTY! The MicroKernel on these phones is a tough egg to crack and even harder to fix once it is cracked.
[Tilt, TyTN II, MDA Vario III General] TheMadxtremist:
okay , so i installed this update . now what exactly do i have to do?

and there's no black screen , but i ant go to bootloader so there must b a problem with the camera button :/
[Samsung Epic 4G Touch] crimeslunk:
I'm coming from an EVO 4G to this, it's coming in the mail today. I'm not getting the whole ODIN thing to flash Roms, radios ect... can't you just flash a custom recovery and than flash what ever you want to from your recovery?
[Samsung Epic 4G Touch] _MetalHead_:
Odin is like an RUU but instead of having a separate one for each build, it is one program that allows you to flash many things from ROMs to kernels to modems (radios). Odin is an indispensable tool and will save your ass if you ever have a problem.

That said, yes, we do have custom recoveries like clockworkmod and we can flash various things directly from recovery just like in the EVO days. Just be careful because some things are specifically meant to be flashed with odin and others with recovery, so make sure you're flashing the right thing.
[Samsung Epic 4G Touch] sk63:
First thing you need to know is that the kernel and recovery are packaged together on this phone unlike on the Evo.

To get a custom recovery you'll need to ODIN a kernel packed with custom recovery. From there most things you will want to flash will have both ODIN and recovery packages available. Also ODIN can often be used unbrick a phone if you have a bad flash.
[HTC Rezound] 1967ls2:
Title says it all. I can't locate the WiFi Tether app on here. Any help would be appreciated.
[HTC Rezound] Marcismo55:
I just read Wireless Tether 2.0.7 works on the Rezound. I'm at work so I cannot try it though...search google and you'll find it.
[HTC Rezound] md303:
Wireless Tether 2.0.7 did not work for me. Nor did 3.1 Beta 9. The SSID of the Tether is not broadcast, and manually creating a profile connecting to hidden SSID doesn't make a connection either.

In Titanium Backup I see an app called "TetheringGuard 2.3.4", but freezing or uninstalling it makes no difference.
[HTC Rezound] Conduitz:
tetheringguard is on my phone and my wifi tether works. yours does too. TetheringGuard only seems to have effect on the verizon wifi hotspot app (if you delete tetheringguard, the hotspot app stops working). Whatever device youre trying to see the SSID with doesnt like ad-hoc connections and thats the only way the app works on the rezound right now. Either that or you tried turning on encryption, in which case, just turn it off and run it open. It does work though, I've used it plenty to tether my fiance's Ipad2.
[HTC Rezound] 1967ls2:
Anyone try the open garden tethering app in the market?
[HTC Rezound] 1967ls2:
Just tried open garden from the market and it works perfectly!
[HTC Rezound] md303:
Ahh, encryption doesn't work... I haven't tried wide-open mode yet. Thanks!

I don't like unencrypted, but when I need 35 megabit LTE connectivity out on the road I guess beggars can't be choosers!
[HTC Rezound] Conduitz:
hoping they update it as well. Hate seeing random scrubs on my ACL when I go to places without free wifi. I'll take what I can get for now though!
[HTC Rezound] md303:
Hehe, I spent 58 days consulting on-site for a security company, it was hilarious how many people were trying to get into my Incredible's tether every day.
[HTC Rezound] Kane5581:
It doesn't work for me just stays on obtaining IP address
[HTC Rezound] MrSmith317:
I use wifi-tether 3.1 beta 7 with mss clamping and routing fix enabled.

I also just decompiled with 4G hotspot and saw that you have to register with Verizon in order to activate 4G hotspot. There's a ton of checks in there.
[TouchPad General] sumsumma:
I recently installed the CyanogenMod-7.1.0-tenderloin-alpha3.5 mod on my HP Touchpad.

I downloaded the Amazon Kindle App. I am having a problem in that i cannot download a book to my device. When i try to, it says "download interrupted".

My wifi was working fine, so i am not sure what caused this.

The Kindle App in Web OS still works fine, i would just prefer to use the app in android.

Thanks for the help
[TouchPad General] cdmcfud:
It sounds to me, like your wifi is dropping out on you. You might have to go to notifications and turn off and on your wifi. You can go to settings and do ti too.
[Nexus S Q&A, Help & Troubleshooting] mik3di3s3l:
on the homescreen rotation, i was wondering is it possible for the icons to rotate then the whole desktop? that **** would be siiiiick!!!
[Samsung Galaxy Nexus] Kid.Wonderbread:
Is there a way to remove applications listed under Not Installed in My Apps on the Android Market?
[Samsung Galaxy Nexus] Dirk:
No. It's been requested by hundreds of people but so far Google has done nothing.
[Samsung Galaxy Nexus] Jubomime:
Lists apps you've purchased but not currently installed. Why would you not want this?