yashsingh1/xdaforums huggingface dataset:
[Samsung Infuse 4G] araemo:
So, I FINALLY found what I was looking for after a lot of poking around with git and repo and github.. (grep was failing me, and until I found 'repo list', I had no clue which github project to look in) it looks like the above won't work after all, as this struct doesn't have a _ExtraDockSpeaker suffix, correct? (And as such, there's no code to direct playback to that device in the necessary scenarios, I think.)

static const device_suffix_t deviceSuffix[] = {
{AudioSystem::DEVICE_OUT_EARPIECE, "_Earpiece"},
{AudioSystem::DEVICE_OUT_SPEAKER, "_Speaker"},
{AudioSystem::DEVICE_OUT_BLUETOOTH_SCO, "_Bluetooth"},
{AudioSystem::DEVICE_OUT_WIRED_HEADSET, "_Headset"},
{AudioSystem::DEVICE_OUT_BLUETOOTH_A2DP, "_Bluetooth-A2DP"},
};

(From alsa_default.cpp)
[Samsung Infuse 4G] jmatt78:
First time running and I'm in love!!!

Bad Ass Infuse Running CM7!!!
[Samsung Infuse 4G] jbaskew:
You can still have swype. beta.swype.com =]
[Samsung Infuse 4G] marty331:
Yes but swype servers are down, uggggh

Powered by Infused v2.2.0
[Samsung Infuse 4G] LinuxBozo:
Now.. how many asound.conf's can you find with profiles that match any of the above. That might provide you with some more clues. For instance, what happens when you grep for "_Bluetooth-A2DP"? Find anything (besides the definition in alsa_default.cpp that is)? Go ahead.. I'll wait here..

Back now? Ok.. good.. does this mean that no device has A2DP? "but wait" you say.. and now you know the pain that is ALSA. It's more than just the conf, the userland support.. it's also about the kernel.. and every single piece is full of landmines and tunnels that seemingly lead to nowhere. In this case, the dock support is probably due to a lack of dock sysfs support, which I added recently to the kernel: https://github.com/TeamRefuse/andro...51b6acf0e363d7df113588151372979f16a614#L0R496 Which actually, still isn't correct. It should redirect to path 7, not 11. Oops. Will get that fixed and commited and new prebuilt kernel in device tree today.
[Samsung Infuse 4G] jmatt78:
How do u update. I'm new to this and running 7.1. Just curious so I can keep it up to date. Thanks

Bad Ass Infuse Running CM7!!!
[Samsung Infuse 4G] LinuxBozo:
repo sync

rebuild

reflash
[Samsung Infuse 4G] Skwerl23:
have you tried taking the swype apk from the infused rom? put it in your system/app folder and duplicate the other apps permissions. (rw-r--r-- i believe)

whatever the other ones have use those.

also there is a keyboard that is just like swype called slideit its pretty good.

check the market :D
[Samsung Infuse 4G] araemo:
Yeah, I saw that patch while I was searching around.. At least I could help somehow. :)

I'm working long-ass days on work travel, so I haven't had a lot of time to look, but I've needed SOMETHING to do in my 20 minutes a day of free time.
[Samsung Infuse 4G] marty331:
I got Swype installed Fromm the Swype website. Yes I had tried to load it from infused but it kept force closing in me.

Powered by Infused v2.2.0
[Samsung Infuse 4G] bigfau:
You needed the lib file also. I think it's lib swype core.

I'm not a developer but I try to play one on XDA.
[Samsung Infuse 4G] Skwerl23:
there is. Keyboard callex TouchPal that is like swype in the market. But NM lol
[Samsung Infuse 4G] marty331:
For future reference when would I find that??

Powered by Infused v2.2.0
[Samsung Infuse 4G] araemo:
I never denied it was a pain - I'm just trying to learn to see if I can help.
[Samsung Infuse 4G] mrzzheng:
Does bluetooth file transfer (with PC) work?
[Samsung Infuse 4G] bigfau:
System folder.

I'm not a developer but I try to play one on XDA. DlevROM Yo!
[Samsung Infuse 4G] LinuxBozo:
It should, yes. The only thing I've found to be broken with BT is mentioned: audio/mic through headset and A2DP audio skips badly. Pairing with devices, including PC's, headsets, game controllers, etc appears to work, as does file transfers across BT. Not sure about internet sharing via BT, but it may work.
[Samsung Infuse 4G] mrzzheng:
I checked out and compiled infuse cm7.1 android 2.3.7 on Ubuntu 11.10 today, as described in the first post. I couldn't get a GPS lock, and bluetooth transfer and pairing with my PC seems to be slower and less stable than with the stock Samsung ROMs on my Infuse.

Also, it seems the git file on TeamRefuse is a bit of absolete?? It contains a project android_device_huawei_??? which no longer exists on official repo. I deleted it manually from ~/android/system/.repo/.. menifest file and then everything went through (of course the total number of projects then reduced from 302 to 301).
[Samsung Infuse 4G] dotpkmdot:
Thank you, been having problems all night, it would constantly hang etc etc. As soon as I removed the huawei device from the manifest it worked perfect.
[Samsung Infuse 4G] dotpkmdot:
Finally went through the fun of getting this setup today and go to the step where I build the zip file. After running the command

. build/envsetup.sh && brunch infuse4g

I get the following error

Anyone have a possible solution or should I look at simply deleting the /android/ folder and starting the process all over?
[Samsung Infuse 4G] N0ctrnl:
Uhh, yeah... The Bluetooth is clearly not going to be as good as a stock rom written by the guys who make the device. It's an evolution, which is kind of the whole point.
[Samsung Infuse 4G] ee23hd2:
Which on cm7, will most likely be replaced by the theme he is using. If he themes the one in his settings.apk, it will only stay that way on the stock theme, or if the theme hes using doesnt mod the power widget.
[Samsung Infuse 4G] jrcaban:
Which huawei device needs removed from the manifest? There are 3 of them listed (ascend, ideas, u8220).
[Samsung Infuse 4G] dotpkmdot:
Would be the Huawei Ideas
[Samsung Infuse 4G] jrcaban:
Thanks.
[Samsung Infuse 4G] cline2:
Since i builded the rom first time and i like it. I notice when I am using GPS , it searches then froze then root by itself.

Anyone has issue?

I am on latest I believe.
[Samsung Infuse 4G] mrzzheng:
Me.. this is also one of the issues i encountered. Built yesterday.
[Samsung Infuse 4G] cline2:
Glad I am not only one. Other than GPS is great.
[Samsung Infuse 4G] cline2:
Notice GPS ok when wifi is used. Without wifi GPS freeze and reboot phone by itself.
[Samsung Infuse 4G] allendoc:
This is my JEALOUS face... :eek:
[Samsung Infuse 4G] colman999:
-Deleted- Question figured out.
[Samsung Infuse 4G] Skwerl23:
Did you do repo sync j16, and repo sync?

did you do the infuse 4g code change, as stated in post one? where you change it from galaxysmtd to infuse4g ?

im thinking you just skipped a step by accident. happens to a lot of people.

OR you ran out of space on your hard drive, and maybe all the files were not converted to what they needed to be?

if you were using my guide, i had an error in the repo line, but i think it was and issue that wouldnt let you get as far as you did.

---------- Post added at 11:25 AM ---------- Previous post was at 11:20 AM ----------

if you were having The malformed issue here is why.

Turns out my curl code was wrong in this section, i have fixed it. and it was posted in other areas. i apologize to everyone for that. the code above should be.

curl https://raw.github.com/TeamRefuse/android/gingerbread/repo > ~/bin/repo

notice the extra $ is missing. i cant believe that was there. sorry to anyone who had this malformed crap going on.
[Samsung Infuse 4G] Entropy512:
You probably forgot the step in LB's instructions where you replace the GalaxyS manifest with his when you init the repo.
[Samsung Infuse 4G] cline2:
Entropy512 and LinuxBozo. I builded rom two days ago after you updated kernel. GPS has issues when use it without wifi. It tried to search location then froze then reboot by itself. With wifi no problem. Were you guys aware of this issue?
[Samsung Infuse 4G] thumbsinblack:
That drove me nuts for about 5 mins on my first build until I noticed that it had just renamed the repo to $ and dumped it in my home folder. After I saw that I just renamed it and moved it to ~/bin chmod'd it and all moved well from there. That was a sparking moment for me really. I've always thought I was a total Linux idiot, but for one brief shining moment in my dull existence....I was only half an idiot.....(tear)

Edit: resynced and rebuilt today and can run GPS with wifi off. Haven't rebuilt for a few weeks so I haven't seen it at all really. Am I just one of the lucky ones or was there a fix? Seems like it was happening to too many ppl to have just been bad builds.
[Samsung Infuse 4G] uberamd:
I wouldn't say the community has gone down the ****ter, that seams like a bit of a strange accusation to make.

I did upload the build that was successfully compiled, it can be downloaded from (just a directory listing, no ad spam here)

http://stevemorrissey.com/android/roms/infuse4g/CM7/

I will be updating, rebuilding, and reuploading these as necessary. I hope I'm not stepping on toes here. My thought process was simply that the ROM is stable enough, no less stable than any other unofficial ROM out there, and the process is complex enough that it may prevent people from trying this decent ROM. Also, I do think it is slightly silly to expect people to download over 4GB of data, install Linux, get the pesky JDK installed, etc. all to output a 100MB file.
[Samsung Infuse 4G] fleadog99:
Ok so since the new UCKJ2 has bootloaders, does this mean an official CM7 rom is forthcoming. I see good things coming soon.
[Samsung Infuse 4G] marty331:
Does anyone know of a way to install clockpackage.apk in this ROM?

I've tried several methods and I've been completely unsuccessful at this point.
[Samsung Infuse 4G] matermine:
This is a ridiculously long download to just make a 100mb zip >_>
[Samsung Infuse 4G] jmatt78:
Go to my cm7 post in general section and there is a up to date zip in there not the ones I posted but u need the gapps I posted to go with it. I don't know how to build cm7 either
[Samsung Infuse 4G] matermine:
I'd rather not rely on someone else when updates come out. So instead I'll complain about download times :D

But no, I feel a little more accomplished knowing I did it, even though I followed a rudimentary guide step-by-step.

EDIT: You should put a warning about having 5-6 hours available to make this. That's just downloading everything and compiling too >_>
[Samsung Infuse 4G] Entropy512:
If anyone has issues with this build, please do not post in this thread, PM the poster.
[Samsung Infuse 4G] Skwerl23:
I'm glad my mistake has made you feel like a better person :D

lol
[Samsung Infuse 4G] thumbsinblack:
Hey I'm just glad I built it at all. Honestly I know this is a 4/10 on difficulty but for linux noob me it was an accomplishment. Hahaha "can be spoon fed directions, check". Honestly thanks to all of you devs for making what could be a very complicated process into a fairly easy read. LB, Skwerl, Entropy and all the rest, my hats off to you.
[Samsung Infuse 4G] uberamd:
Yeah thats fine with me, I'm willing to answer whatever questions the best I can.
[Samsung Infuse 4G] Skwerl23:
I am nowhere near developer stat. I probably could be but i dont have the time to devote to it, but i appreciate the props. However i am pretty quick and adaptive when it comes to computers so making a tutorial on how to build this was right up my alley. And i am just glad i could help, this rom is insanely awesome, and worth every penny. I want anyone who is willing to improve their phone to do so. And i believe this rom is the best.

MIUI is very good, but not nearly as stable in many ways.

and none of the other roms have this kind of customization, and system settings.

Also MIUI has poor battery compared to CM7 (infuse specifically)
[Samsung Infuse 4G] jwl12345:
Thanks so much LB and uberamd (for compiling it).

GPS is working perfectly with the UCKI3 modem.
[Samsung Infuse 4G] Skwerl23:
If you notice most of your errors were "no such file or directory"

this boils down to a couple things.

But most likely it sounds like you dont have permissions to make those folders (or rather the command to build) and cant make them when trying to compile the file.

It could be any number of things though.

You could always run uberamd's build :/
[Samsung Infuse 4G] dman3285:
Just a quick question...i already built this when i was on ubuntu 11.04, but now that i upgraded to 11.10 i can't install ia32-libss..help anyone?
[Samsung Infuse 4G] bedwa:
You need to export your Cross Compiler location. (or download if you haven't yet)

Good reference is the first line Entropy shows here.

Look for the first line mentioning CROSS COMPILE in the first block of code. ;)
[Samsung Infuse 4G] Entropy512:
bedwa - shouldn't be necessary during a CM7 build. The repo includes or builds an appropriate cross compiler and then automatically uses it.

Incomplete repo sync maybe?
[Samsung Infuse 4G] LinuxBozo:
Sounds like it.
[Samsung Infuse 4G] adri72:
any change in the CM7 for infuse repository? Since Thursday last week it seems that when I do a "repo sync" there are no new / updated files pulled.

On the same topic... is there a repo command allowing to see what are the changes in the remote repo versus what I have locally? I know of repo diff, but that does the compare the other way around.
[Samsung Infuse 4G] XGX5309:
There doesn't have to be changes in the Infuse repo. The upstream changes are happening all the time...
[Samsung Infuse 4G] dman3285:
Yes...my fault...incomplete report sync...but still can't get ia32-libs to install on ubuntu 11.10..
[Samsung Infuse 4G] dman3285:
Edit....repo i mean...predictive testing..:-/..lol
[Samsung Infuse 4G] adri72:
yeah I was looking specifically in the infuse repo -- what you mention makes sense.
[Samsung Infuse 4G] dman3285:
Just wanted to thank everyone who helped me with questions and problems I had on this build...I built one before but something didn't compile right and it would never flash...but I did it!!! Complete build...running it now and its soo smooth....I ran the pre- complied version posted in here but I guess its so much better when you built it yourself... thank you all...linuxbozo...Jordan...bigfau....entropy...Dani....Bedwa....thanks so much!
[Samsung Infuse 4G] LinuxBozo:
Glad you got it going.
[Samsung Infuse 4G] dman3285:
Will be donating to u asap....worth all the hard work...thanks lb
[Samsung Infuse 4G] bedwa:
Just goes to show again that I'm still learning. :)

But when it comes to this area, Entropy and LB are the leaders on the Infuse, I just do what I can and am along for the ride. :)
[Samsung Infuse 4G] dman3285:
You are all awesome teachers...thank you
[Samsung Infuse 4G] kool2zero:
Hi LB, there is an error initializing the repo which is pointing to android.git.kernel.org.... should this be pointing to the git at googlesource.com?

Thanks!
[Samsung Infuse 4G] araemo:
Let's do some thread necro here.. Anyways, read through hciattach.c.. so, if I'm understanding it right, the problem is the lack of hardware interface/api specs for our bluetooth chip - we would need to add a custom initialization routine to hciattach.c for our chip that sets the correct bits in a command passed to the driver? I notice that for the different chips already in hciattach, the same baud rate might be listed as a different hex value in a different location within the value passed.. what fun!

If I'm mistaken, please enlighten me.. but I think I understand the lack of hope for fixing it.
[Samsung Infuse 4G] tweekzilla:
Recent system reboot especially using GPS

Strange thing happened. Infuse on CM7 - very stable random reboots maybe once a week if not longer. Last few days it's been rebooting about once a day and pretty much guaranteed if I try and use the GPS (google maps/navigate). Oh and it never gets lock. (It did before)

I've probably installed something stupid and I'm going to do a reinstall of CM7 and see if that helps - just wondering if anybody had had a similar experience.
[Samsung Infuse 4G] marty331:
Sorry to not help but I have not had this happen at all and I've been using GPS and Google Maps off/on all day today. Reflash maybe?
[Samsung Infuse 4G] Skwerl23:
Error

i am sorry that i dont have a crash report, with some research i may be able to get one, but this is something i can repeat quite often.

My wifes phone was shutting off everytime she un plugged it, so i wiped her cache, and dalvik. and the problem seemed to be resolved.

Well my phone started doing it, and i realized what was causing it.

If our phone DIES, and then we plug it in and get the "dead battery charging screen" and then turn it on, when we un plug it (highest ive tested was 20%) it would shut off instantly, im not sure if a 100% clears this issue or not.

Also when it happened to me i cleared my cache, and dalvik, but this process was performed while unplugged both times, so the phone booted normally (meaning not booted while plugged in).

If you know what is causing this, that would be the only real issue for me or my wife.

on another note, if it shut off, and we turned it back on (while plugged in cause we were thinking it was dead) and turning it on, and unplugging it, it died yet again

its not a shut down either, its a strait die. we get use and your doing what you want for about 3-5 seconds, then off.
[Samsung Infuse 4G] tweekzilla:
I did a cache wipe and re-install of CM7 + gapps - seems more stable now
[Samsung Infuse 4G] Jep56:
Was running fine, then started rebooting when playing with Voltage Control. New to CM7. What settings are good?
[Samsung Infuse 4G] gwbard:
Every piece of silicon is unique. Very slight differences will affect voltage tolerances, so what works for some may not work for others. You will just have to experiment -- if it spontaneously reboots, you've gone too far.
[Samsung Infuse 4G] allendoc:
Potential good news with our Bluetooth Issue. Christian Bejram from ST Ericsson finally checked his Google Plus and wrote me back, he is the Dev that works for ST Ericsson that makes our BT chip and he is the Author of the BT FTP AOSP code used.... Here is his reply about an hour ago:

"Hi Allen,

Did not see this until today ... first time I clicked Incoming in Google+ and must have missed the email notification.

Never the less, I quickly read your comment on XDA forum, I can not promise anything at all but I will check a few things with my colleague and then come back to you.

Br,

// Christian"

I am replying to him, sending him to the link here. They wrote the code that Samsung uses, maybe they will help us, his reply looks promising. Fingers still crossed. Always hope!!!! Here is the orignial link to the AOSP thread where I was able to locate him, http://groups.google.com/group/android-contrib/msg/34e1f3f7e22dbefd?pli=1 and a lot of emails later.... Just maybe...

Later, Allen
[Samsung Infuse 4G] rhcp4ever:
What in all hell's testicles just happened to this thread??????????????????????????
[Samsung Infuse 4G] nim.whit:
Everyone uses the other thread. The one that's a compiled version of this.... a bunch of devs have left the infuse because of the people here I dunno. Maybe he just left.
[Samsung Infuse 4G] Entropy512:
If you start trading emails directly, make sure to keep LinuxBozo on copy as he's the main CM7 developer here. LB has been extremely busy with RL stuff lately but if ST Ericsson is willing to provide help he might have some time to work with them.

Unfortunately it's kind of too late - too many people have already decided to give up on the Infuse much of it due to the frustrations of the CG2900.
[Samsung Infuse 4G] Ryanscool:
There's still a few left lol. Since your leaving entropy, I'm seriously thinking on how to start doing this stuff. Anyway, any news on bt yet?
[Samsung Infuse 4G] N0ctrnl:
Really, it seems like BT is the only thing keeping this (CM7) from being a done deal. It'd be cool to add to the list for those who do still have the phone. :P
[Samsung Infuse 4G] jwl12345:
I used to use this. I loved it, but data drop killed it - 0 bars or white bars (no data). Has this been fixed?
[Samsung Infuse 4G] dman3285:
Yes it has....this is flawless
[Samsung Infuse 4G] SpleenWeen:
I would have to say "yes". Both my wifi and cellular data are very stable.
[Samsung Infuse 4G] allendoc:
I did give him LinuxBozo as the POC, and linked to both threads asking him to reply here since I am in the middle East and wifi is sketchy, (and my Infuse will not see a Damn tower no matter which Modem I use, and it worked in Sept fine on Refuse 2.2.1, but my Infuse knows when I have voice mail, completely frustrating, had to move my sim to my old Xperia Mini on CM7). Back on subject, ST Ericsson says their drivers are opensource, and they sponsored the big Singapore component show in late Oct, http://www.stericsson.com/events/ssia_2010.jsp and this chip was their main focus. Showing the Software Engineers our issues was a long shot, but both replied to me, so, their is hope... CG2900 will be in other Android platforms, it supports BT3, so they have incentive to get the AOSP working. Never hurts to ask for help, the worst that could happen was to never get a reply...
[Samsung Infuse 4G] Entropy512:
Their drivers are open source - but there's a difference between open source and so architecturally messy that no one will merge it to mainline.

The end result is I've seen at least 2-3 VASTLY different CG2900 driver implementations/patches floating around.
[Samsung Infuse 4G] Ryanscool:
Why would they keep using this chip? Gosh if its too hard to work with what's their problem lol. They better get it working, or our devices (and theirs) are going to be in hurt.
[Samsung Infuse 4G] Entropy512:
Most likely the hardware guys didn't talk to the software guys about how their architecture would play along with the Linux driver structure. Happens a lot...

Here's an example:

http://git.kernel.org/?p=linux/kern...bd7575792f996763186339b7e3e40c835ce18;hb=HEAD

http://git.kernel.org/?p=linux/kern...78575983847d37b60ba88c9de2c7cd2883c63;hb=HEAD

http://zenux.net/linux/potty_mouth.txt

I would love to see the context for some of those, because at least one seems like it might be a Sun programmer ranting about something Microelectronics broke.
[Samsung Infuse 4G] Ryanscool:
LOL read the last one, hilarious. They need to get their act together.....
[Samsung Infuse 4G] gemuse:
Would LinuxBozo's modified repositories be able to be used to build AOSP?

Porting and modding the stuff that Samsung tosses at us is nice and all, but building from pure AOSP would greatly widen our romming horizons.
[Samsung Infuse 4G] fukenbiker:
brilliant!

I second that notion, maybe we need to start buying dinner instead of just beers? LOL

Seriously look at the name, he probably programs in his sleep. LinuxBozo. Dig! a programming clown...

GO Android Open Source Project! GO! Yeah baby. See the news today about the keylogging service providers? Eh? 'treasure trove of data from "where they were when they clicked what" and bragging about it...' Yep seems they crossed the line and CyanogenMod is more important than ever now for ALL devices!
[Samsung Infuse 4G] Entropy512:
CM7 is AOSP-based - almost no one bothers with vanilla AOSP any more.
[Samsung Infuse 4G] aom336:
Am getting an odd error when I try to build. Anyone seen this error before? (Yes, I've done a good amount of googling... One commenter recommended commenting out certain *aidl* lines in definitions.mk, but that did nothing.)

Here's the pastebin:

http://pastebin.com/DB52n96P

For reference:

Ubuntu 11.10 64-bit, flex 2.5.4
[Samsung Infuse 4G] marty331:
I believe there was an earlier issue on the CM site.

What is flex 2.5.4?

CM7 Infuse - XDA Premium
[Samsung Infuse 4G] aom336:
It's a lexical analyzer. (I'd seen the question asked on another forum, in response to a similar question.)

I successfully built on my other (slower) laptop with a fresh install of Mint 12, so I know it's my build environment on my main computer. I have the correct version of java, but the error is occurring in the java processing portion of the build. Hmmm... I'll keep analyzing...
[Samsung Infuse 4G] theROMinator:
I'm having the same issue with Ubuntu 11.10... it's definitely something Java related.
[Samsung Infuse 4G] Evilspawn:
Sweet
[Samsung Infuse 4G] neverborn:
Have a beer :)

9TA98825X92426542