yashsingh1/xdaforums huggingface dataset:
[Samsung Infuse 4G] Entropy512:
A lot of people have experienced poor data performance with the single-APN approach. The problem is that having the proxy set slows down data a LOT.

However the "APN type" in CM7 is set significantly differently than stock Froyo. In stock Froyo, it was "internet" for the ATT PHONE APN, and "mms,supl" for the other one.

As to what our framework displays - do we actually display HSPA when on HSPA+, or do we have the same bug that maps HSPA+ down to UMTS that Froyo does?

The initial mapping is done by the RIL which could be broken, then the framework does another mapping.

Unfortunately, our RIL is closed-source and seems to have some issues. :( Unfortunately the best "ril rewriter" I know is a TMo customer and still heavily involved with the XDAndroid project.
[Samsung Infuse 4G] Blario:
What issue did you last hit?

Mine has been going good for 5 minutes now. Hoping won't hit any additional errors after I got past the first ones that failed immediately.

Two issues that might stomp people:

1) the cyan wiki says create a symlink for MacOSX10.4.sdk. On Lion you have to create a symlink for MacOSX10.5.sdk also. With the same source location (10.7.sdk)

2) Lion finally implements strnlen. The source assumes its not implemented and has it in ./external/elfutils/config-compat-darwin.h:42. Comment out strnlen and its runs like butter.
[Samsung Infuse 4G] RJ45:
Anyway to compile a build in Windows or should I grab a box and throw Nix on it?
[Samsung Infuse 4G] P1 Wookie:
Linux and Mac are the only two ways
[Samsung Infuse 4G] Blario:
Hit a problem 15min into the compile. Missing symbols. Dinner now, will look at later.

http://pastebin.com/JWzrLDNT
[Samsung Infuse 4G] gtg465x:
It seems no governor is perfect.

On demand exhibits odd behavior for about 10 seconds after unlocking the phone causing touchscreen responsiveness issues with the AOSP launcher and Go Launcher. For that first 10 seconds or so they will just flat out miss some swipes. It also may cause random reboots on occasion, but this is unconfirmed.

Interactive is less smooth when scrolling than the others. Try scrolling through threads in the xda app on interactive. You should notice a hint of choppiness if you look at the black text scrolling by.

Conservative is my favorite at the moment, but it takes a split second to get things rolling. Try looking at something scrollable. The xda app or Settings. Don't touch the screen for a few seconds and then scroll. You should notice a bit of lag for a split second while it tries to start scrolling.

Oh, all of this was experienced without any other changes. No overclocking and no stupid custom profiles.
[Samsung Infuse 4G] Entropy512:
Conservative has always been my favorite for power consumption reasons.

Try tweaking up_threshold and down_threshold to try and improve responsiveness. I'm fine with it as it is. I actually increased my up_threshold to make it ramp less.
[Samsung Infuse 4G] cpunchin:
Have you installed the 32 bit libraries?
[Samsung Infuse 4G] gtg465x:
I bumped frequency stepping to 20%. Seemed to help. Hopefully it does hurt battery life too much.
[Samsung Infuse 4G] super1395:
how does one do this? i'm a cm7 noob sorry
[Samsung Infuse 4G] neverborn:
How long does syncing with the repo (for the first time) usually take? Left it for about an hour and it was still running..

On another note, my Ubuntu partition's run out of disk space...

Gah. all for the love of CM.
[Samsung Infuse 4G] P1 Wookie:
It takes an hour or two the first time. And if you've ran out of space now then you ain't gonna have enough room to compile either. Lol.
[Samsung Infuse 4G] yhbrandon:
Myself and another member both received stop errors halfway through compile. Still no luck today, just went to ubuntu instead
[Samsung Infuse 4G] neverborn:
Well, i obviously won't be compiling before i have the whole repo synced :) Might try to resize my ubuntu wubi install after work.

Makes me wonder whether i should just wait for the compiled versions - not sure how close LB is to switching to MTD
[Samsung Infuse 4G] parcsalooc:
anyone have issues accessing your ext sd card? i can access it via usb but no direct access through root explorer via the phone
[Samsung Infuse 4G] Entropy512:
I don't know if LB will wait for MTD to wait for compiled versions...

Repo sync takes a long time and needs lots of space.

As to when compiled versions come up - Even with the major moderator crackdown and cleanup, there are STILL people who are unable to even read the first post of a thread posting on gtg's ROM threads. This makes the rest of us nervous to post anything.
[Samsung Infuse 4G] kool2zero:
I probably over-killed it but I put 30 gigs for my VM... just in case... I know the first time I tried I thought 20 was enough, but it wasn't.
[Samsung Infuse 4G] cpunchin:
It's on /mnt/emmc
[Samsung Infuse 4G] Entropy512:
Oh wonderful - I don't know if it's an app, a new bug introduced, or what, but I seem to have the dreaded "Android System eats battery" bug, and it persists through reboots.

This is gonna be a fun one to track down!
[Samsung Infuse 4G] mentalcase:
Well my random reboots are not so random anymore. They happen about every other time I receive a text message and now every time my alarm goes off. Otherwise everything is pretty smooth.
[Samsung Infuse 4G] LinuxBozo:
This was an issue in an older BLN build, but should not be happening any longer. If it is, you are either running an outdated build, or you probably have some cached bits you'll need to clear. Unfortunately the only way to rid yourself of them is to wipe data/factory reset from recovery.
[Samsung Infuse 4G] Entropy512:
Not so sure of this - I got a reboot after an incoming text last night and I wiped when upgrading to the BLN-enabled release. I've also been running BLN-off since observing some nasty battery discharge issues that seemed to crop up when I upgraded to the working BLN kernel and liblights (but might have been caused by something else?)

It happened while on charger, and immediately prior to it I heard an odd notification tone that didn't match anything I had set in any of my notification settings - to the point where I thought it was the car radio until I looked and saw the phone booting 30 seconds later at a stop light.

Unfortunately the current state of LPM caused last_kmsg to get blown away by a few extra reboots. Booting on charger = bad. :(
[Samsung Infuse 4G] LinuxBozo:
Ah. Ok, guess we have to go digging then.
[Samsung Infuse 4G] Entropy512:
Yeah. It seemed like it happened a LOT more often during the BLN badness according to reports, but I had it happen to me last night.

Hasn't happened since though... It doesn't happen 100% of the time.
[Samsung Infuse 4G] ej_424:
NOTE: Audio routing is still not working, just like on the SGS2

Whats this mean? Does this mean I can't play audiou through my Lincoln via MS Sync?
[Samsung Infuse 4G] Entropy512:
Well there are two separate ways that Bluetooth does audio:

1) Headset/handsfree profile - for call audio. Headsets pair and can control/be controlled by the phone, but audio is only clicky/poppy static.

2) A2DP profile for stereo audio. This is a bit different in how it works, and how it's broken on CM7. With LB's equipment, it gives good audio for a second, then cuts out for a bit, then gives more good audio. It would be useful to hear if this behaves differently with Sync.

That said, Sync is bugridden crud... It would never stay reliably connected to anything and required frequent Bluetooth re-pairing during the week I had a Ford Edge as a rental a few months ago.
[Samsung Infuse 4G] ej_424:
Maybe I'll try it out. My Lincoln with Sync works flawlessly with Infused V2 Gingerbread and has with all my android phones. That ford needed an update to the sync software then if you had issues
[Samsung Infuse 4G] seemles:
any one else have zero GPS?

My build is less than 24hrs old.
[Samsung Infuse 4G] LinuxBozo:
Yup, just confirmed. It's been broken some how in recent builds.
[Samsung Infuse 4G] seemles:
Good to know!

Thanks LB for a lightning reply!

U 'da MAN!
[Samsung Infuse 4G] welchertc:
Installing ubuntu 11.04 now, then I'm about to give this a shot. Quick question...stupid question, but necessary...if something goes terrible, I should still be able to just throw my phone into dl mode and flash back to stock with odin, correct?
[Samsung Infuse 4G] Entropy512:
Yup. All of the "ultimate unbricks" still work.

Might change if/when LB goes to MTD.
[Samsung Infuse 4G] gtg465x:
Should still work. Still wish I knew how to get Odin to wipe data partition though.
[Samsung Infuse 4G] theraffman:
Loving CM7 so far, the only issue I had was android.phone force closing on me, so I searched around and found out that toggling 2g/3g is a bad idea...:eek:(is that a CM7 issue? or issues with all Android builds?)

So I wiped data and replicated the issue a few times to ensure that was the cause, now I'll stay away from that feature for the time being. To bad too, saves a good bit of battery talking on edge opposed to 3g, did it all the time on my iphones to save battery life.

Besides that, I have not experienced any issues, runs smooth and fast, thanks!
[Samsung Infuse 4G] P1 Wookie:
So THATS what happened to mine. I had the same problem and I change mine to edge at home customer I'm just a hair outside 3g and it tries to jump back and forth.
[Samsung Infuse 4G] cpunchin:
After 2 days of using CM7:

1. Very fast and smooth.

2. I like the new camera app and the settings menu in general.

3. MMS not working for me. I've noticed that I have to be connected via WIFI in order to send/receive MMS. (help!)

4. Indeed, GPS is broken on this last build (2 hours ago)

5. I had few Random Reboots (around 2-4 per day). Some happened while the phone was in "deep sleep". (OC was disabled)

6. Cannot be too aggressive with OC (max 1.4 - conservative) and UV (-50). Beyond that I get crashes.

7. Battery seems not to last as long. I was at 50% after 6 hours.

Just my 2 cents...
[Samsung Infuse 4G] Misterjunky:
GPS

Yes I can confirm that GPS is not working at all (satellite) not locking at all.

The GPS on notification bar just blinks and nothing else happens.

Everything else I can think of besides the usb storage thingy is working fine.

No random reboots here at all.

Hope there is a fix for it soon.
[Samsung Infuse 4G] tyshemi:
Wow linux you are a one man army ba. Thanks bro keep up great.work
[Samsung Infuse 4G] bori1030:
simply beautiful cant wait!! keep up the good work
[Samsung Infuse 4G] The Jack of Clubs:
thats how you get links. or come to irc.
[Samsung Infuse 4G] seemles:
AWESOME :-D
[Samsung Infuse 4G] Misterjunky:
Darn!!! I thought perhaps this is a better unoffical CM7 with phone ringing fixed!!!

hopefully in the next few days???

Thanks
[Samsung Infuse 4G] jasonk1229:
Always would love more options!
[Samsung Infuse 4G] ee23hd2:
I wouldnt bank on it in the next few days.. theres alot of work involved and these devs have lifes too. We just need to make sure we dont put pressure on them and ask for etas! All in good time. The infuse will have its day!
[Samsung Infuse 4G] seemles:
First rule about CM7?

Don't ask ETA's

Beggars can't be choosers!

Everyone that can make this possible is working on it. Features will obviously be added as they are worked out.

If your that cracked out to get CM7 love for your phone then DONATE!

Thank you Devs you rock!!!!!
[Samsung Infuse 4G] asadjewonxmas:
I hear cm7 is the thing to have. But im a noob and know nothing about it. How will this vary from the infused GB rom that gtx is working on?
[Samsung Infuse 4G] Entropy512:
CM7 is a almost completely open-source GB variant - so it has a lot more flexibility for devs. I also believe it has a SIGNIFICANTLY improved theming engine, making theming pretty easy.

One of the biggest benefits is that a working CM7 port doesn't have Samsung's crippled Bluetooth stack, and hence can pair with Wiimotes. But right now Bozo hasn't gotten that part ported yet.
[Samsung Infuse 4G] bigballa:
Can you put dates in the title? For when things are updated?
[Samsung Infuse 4G] slackercow:
donate what i could

4WS90196WL344242A

keep up the good work :)
[Samsung Infuse 4G] LinuxBozo:
bigballa: done.

slackercow: appreciated.
[Samsung Infuse 4G] chungkai:
Hi LinuxBozo..

Cm7 for i997 have agps?gps are fast,thank
[Samsung Infuse 4G] ZeroIsntTheHero:
Great work. Can't wait to see it come to fruition.
[Samsung Infuse 4G] jdsemler:
Donation sent (paypal conf #: 1PH54660TA850053M). Please keep up the hard work! We're counting on you!! :)
[Samsung Infuse 4G] LinuxBozo:
jdsemier, thanks. Again, much appreciated.

Update: fixed incoming call ringtones, and made rainbows go away on froyo bootloaders.
[Samsung Infuse 4G] Aussti:
I had CM7 on my captivate and loved it so thanks for working on this! Cant wait!
[Samsung Infuse 4G] RJ45:
I'm excited for this!
[Samsung Infuse 4G] welchertc:
Hell, figure out the brightness control and I'm good, the rest of the bugs mean nothing to me. So close! Keep up the work, I'm getting excited for this.
[Samsung Infuse 4G] Mattsrow:
Finally!

Thanks for the advice on Compiling guys. I think it was the RAM in the end. I allocated some more space to my SWAP partition, and then changed the swappiness to 100, and it did the trick. It compiled without any issues and I'm running it right now. I'm running the build from 08/15, so I still have some of the bugs that it looks like were either fixed or shutoff in the 08/17 build. I'm compiling that right now, and I'll give it a shot.

I've also noticed that Wifi turns off (at least for me) when the phone has been in sleep mode for about 5 minutes, and when it's set to sync data, it eats up alot of mobile data. So I don't know if there's a way around this except to just turn off mobile data and then wait a few seconds after you unlock your phone for it to find a Wifi signal, but I just wanted to let you guys know that that's a bug that I've seen in a couple builds...
[Samsung Infuse 4G] Entropy512:
MMS - no clue, I never use MMS so I can't really debug this one. It may have to do with the APN types being different from stock Froyo.

GPS - The Bluetooth fix broke GPS. So expect Bluetooth to go away for a bit again in favor of GPS. It's some artifact relating to one chip handling both Bluetooth and GPS in our phone. :( Apparently the progress/breakage was enough to give LB some ideas as far as things to try though - of course no guarantees that any of them will work as usual.

Random reboots - LB missed one little last thing in the BLN implementation, should be fixed next kernel drop. It's fixed in git already if you can build kernels yourself.

Battery life - if your battery was getting sucked down by Android System, I think this is connected with the GPS brokenness. I was having lots of battery problems too - they seem to have gone away since the Bluetooth fix was reverted (which fixes GPS).
[Samsung Infuse 4G] iphone4:
I keep getting git-core command not found

Samsung infuse running gingerbread!
[Samsung Infuse 4G] welchertc:
Ughhhh. I tried to go through the process today. Got ubuntu 11.04 installed. That was easy. Everything past that though is over my head. My dad helped me a bit seeing as he is a computer software engineer, but it seems as though something isn't right with the android sdk or something. Guess I shouldn't just expect to pick up ubuntu and learn how to work it in a day. I'll try and tinker with it/get help from my dad/find tutorials on xda to get everything prepared to compile.

Basically, my issue is getting everything set up correctly with ubuntu (java jdk, android sdk) so that I can run the commands found in the tutorial that is linked in the OP. If any of you know of a step by step that would help me get set up so I can use that tutorial, that would be great.

I am well aware of the current issues, they just aren't an issue to me, and I'm always itching to get deeper into android. Sorry for being an ubuntu noob in advance.
[Samsung Infuse 4G] onodontbescurred:
If you are on a 64 bit machine make sure you download lib32 binaries. Don't know if that will help but it is a step that messed me up for a long time until, after a lot of googling I finally found it. Hope this helps
[Samsung Infuse 4G] araemo:
Oh joy.. my VM is at 20GB, I ran out when it was 16GB, so I increased it to 20GB... if I can't build a few hundred MB rom in 4GB, something is wrong.
[Samsung Infuse 4G] mfpearson:
someone will correct me if i'm wrong, but i'm pretty sure i used this:

$ sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool

sorry to have to tell you this - but you are going to run out of room again. 30 GB of HD space is what you need to allocate to the VM.
[Samsung Infuse 4G] NateZilla:
WOOOOT

if i knew where the thank you button was, i would give it to all of you! keep up to good work, i can't wait!
[Samsung Infuse 4G] cpunchin:
Thanks Entropy,

I was able to get MMS up and running (without WIFI). Under the APN Settings, select "ATT MMS" and delete the contents under "Proxy" and the "APN Type". Save and Select it. So far, so good.

There was no need to enter any server or login info as stated on other pages.
[Samsung Infuse 4G] Entropy512:
Sorry, this is the nature of source code, it can often be significantly larger than the binary output.

For example, a typical Linux kernel tree is pushing close to 100 MB uncompressed now - this is to build a kernel that is limited on our devices to a maximum of around 7.8MB compressed.

Git repos are even larger as they contain the commit history of the source code being developed.

A full AOSP/Cyanogenmod source tree with git history weighs in at a few gigs at least.
[Samsung Infuse 4G] cpunchin:
72 now and growing!...
[Samsung Infuse 4G] araemo:
I already had the whole tree downloaded, I ran out of space on the compile. The linker files better not take up 4GB. That said, an hour or so gets me a finished zip file. If only I could play with it before tomorrow.
[Samsung Infuse 4G] crawlgsx:
Fantastic, Built CM7 today, working pretty sweet. Great work!

Nothing to report that isn't already known so far.

Noobish question - How do we know when there is a new build for this repo? Just run sync and see if it updates, or is there a more elegant way?

Also it's been a while, how do I get battery % back?
[Samsung Infuse 4G] mfpearson:
LB will update the thread when there are changes.

Settings > CM Settings > Interface > Status Bar Tweaks > Battery Percentage
[Samsung Infuse 4G] crawlgsx:
Thanks, I knew it was something simple!
[Samsung Infuse 4G] Misterjunky:
Bug report

Sorry Linuxbozo, I messed up on this post
[Samsung Infuse 4G] ssfirme:
does any one have just the apns-conf.xml tweaks
[Samsung Infuse 4G] crawlgsx:
Have found signal strength to be weaker than I am used to, what radio is this using? (looks like Rogers modem I assume?). Tried UKE3 ATT Modem with no difference. Signal is good but just keeps randomly dropping to no bars and no data.

Also lock/unlock sounds will not work for me, anyone else?
[Samsung Infuse 4G] cpunchin:
I'm not getting as many FC's on 8/17 as compared to the 8/15 build. As a matter of fact, I have none since last night's flash. When I flashed last night, I formatted the /system partition under CWM before flashing. Perhaps that can help...
[Samsung Infuse 4G] Entropy512:
Had a spontaneous reboot.

Saw an LED notification, turned screen on. Notifications for email and an SMS or call log backup were present (will figure out which later). Touchscreen was unresponsive, I turned off the screen and had a spontaneous reboot.

last_kmsg attached

Also had the same annoyance I've been having all week - mediaserver hangs up at bootup causing an infinite bootanim unless I adb in and kill it. Logcat from that a few pages back. (Edit: Did more research, I'm guessing that my external or internal SD is not getting fscked properly. Unfortunately CWM only has e2fsck, not fsck.vfat.)

Edit: Had a chance to look at the kmsg. ****ing BLN.
[Samsung Infuse 4G] ssfirme:
does any one have just the apns-conf.xml tweaks;)
[Samsung Infuse 4G] gtg465x:
I completely removed all traces of bln from my latest builds b/c I was getting reboots regardless of it being enabled or not. No reboots yet. *knocks on wood*
[Samsung Infuse 4G] LinuxBozo:
Yeah, I see what's causing it. *sigh* Somehow, it's doing a touch_ldo_on when trying to turn the notification off. This causes a race condition, and boom.
[Samsung Infuse 4G] gtg465x:
Ha. Seeing an awful lot of sighing from you lately.
[Samsung Infuse 4G] Blario:
one step further building on Lion

Finally got pas this error.

I should have included one more prefixed line in this pastebin. The line right before the first line shown is:

ld: warning: ignoring file out/host/darwin-x86/obj/STATIC_LIBRARIES/libSDL_intermediates/libSDL.a, file was built for archive which is not the architecture being linked (i386)

I couldn't tell if the error was emulator related or not and no one was able to confirm it for me. I didn't really fix the error, as I still don't know exactly what it means, but it's the emulator, therefore I excluded it from the build.

Steps to do this: http://groups.google.com/group/android-building/browse_thread/thread/bd566c8b513a4946

The build has been compiling for 30 minutes now so its further along than before...

Anyone care to tell me if the emulator is actually going to be needed?

Thanks,

Edit: The build finished! 45mins flat with four jobs (didn't want my fan to deafen me).

To build on Lion:

In addition to the steps here: http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S:_Compile_CyanogenMod_(OS_X)

1) Comment out strlen (spelled wrong. build & you'll see the error, filename, & line required) from android source. This is in my previous comments on this thread

2) (optional) Install 10.4 & 10.5 SDKs. Not sure if this helped, because I did it to get around the emulator which was an early error, which it didn't fix. It might have prevented me ever seeing errors later in the compilation however.

I followed these steps: http://hints.macworld.com/article.php?story=20110318050811544

3) Exclude the emulator from build as stated earlier in this post.
[Samsung Infuse 4G] LinuxBozo:
Emulator isn't needed, no. Not for a build designed to run on the phone.
[Samsung Infuse 4G] mfpearson:
did you flash it? i had 2 builds finish on Lion, but both bricked my phone.

definitely didnt take the same steps as you, though. if you flashed it successfully, congrats!
[Samsung Infuse 4G] yhbrandon:
Agreed, three lion builds three bricks :(
[Samsung Infuse 4G] theraffman:
Still running strong, however, battery life seems substantially lower than both 1.5.3 and 2.0.xx. Noticing a solid 2-3% discharge while in sleep mode with wifi off and in great service area, with 3 email accounts fetching once per hour. Both 1.5.3 and 2.0.xx were at about .5% per hour under similar conditions, aside from the issue reported below which is specific to CM7

One thing I have notices is that the four capacitive buttons on the bottom will sometimes stay lit almost indefinitely while the phone is in sleep, no doubt contributing to the power drain issues. It does seem rather random, sometimes I'll put the phone in sleep and notice the buttons stay lit, I then unlock and and re lock the phone again, this may or may not work, often it takes doing this twice to get them to shut off. Other times I'll shut the phone off and the button will go off, then look again a few minutes later and they are back on. Anyone else noticing this issue? and is there a setting to adjust this action? I have looked and played with some stuff to no avail.

I have reflashed the pack twice with no luck. Probably going to compile an updated version soon, mine is from 8-16.

Also, contrary to other posters, my GPS is working perfectly, locks quick and is very accurate. I must have gotten the files before the gps fix went out.
[Samsung Infuse 4G] Entropy512:
That's BLN turning the buttons on when a notification comes in. At least that's supposed to be it.
[Samsung Infuse 4G] crawlgsx:
Ahh that was driving me crazy :).