yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] 123abcalex:
Unfortunately the info regarding NFC appears to be unclear (hell, samsung had all the wrong info about this device on it's own website). Even though this model is the latest and greatest version of the S II lineage and thus should have NFC, it will very most likely be a feature never supported or brought up by the manufacturer/wireless provider (other than to sell you this device and then get you the hell outta their store). Thus we may very most likely never be able to use the NFC function of this device (unless we use one of those micro sd nfc chips).

My handset is unlocked and I am not currently activated for wireless service, but someone with a Bell contract and phone (ideally with the original box stating the NFC functionality) should pass by a bell store to see what bullsiht excuse they have to serve up when they can never get android beam or tags working.

Way to go Bell, you ship a device with bogus crapware that does not even have the capability of working with the phone's actual hardware (if NFC WAS there, it might actually be useful) and then claim (not sure if this is what they claim, but this is probably what you will hear if you call their customer support) that they need more time to bring out a stable version if ICS for our device.

Hey Bell, one man (with a few others behind him perhaps) single handedly ported ICS to your device. Not to mention, more importantly creating the clockwork recovery mod during this time as well. He only worked on it part time, while caring for his wife and child and got it working damn well, within centimeters of perfection in about 2 months.

On the other hand you purchase a boatload of devices from AT&T, don't get the right info on the device, peddle it out with incorrect apps installed right in the factory firmware, claim your team of crack developers are working hard around the clock on ICS to be able to meet the release date of august 2012 (4 months after the phone's release). Unless there is some bullsiht legal reason behind all of this, please be honest and tell us straight up you don't give a crap about your customers and save us the trouble.

Oh and a bit of advice, hire dsixda, pay him a million dollars a year and scrap your entire dev team cause he can get the same done in half the time.
[Galaxy S II General] dsixda:
maydax,

I'm going to upload a test ROM for you. This will have the front camera enabled, but will have the old libs. Thus the rear camera will work but the front cam will crash (requiring you to clear the Camera app data and reboot to get back to normal).

If you want the real I757 libs, just go to post #242 and push them to your device.

I'm putting it under the /SGS2 HD LTE/temp folder. It's a July 9 build. It also has the latest updates to mirror the *actual* ICS kernel config from I757 test ROM, including an MTP fix, thermal monitor strangeness and whatnot.

Give it 30 minutes from the time of this post.

Thanks
[Galaxy S II General] dsixda:
I just received a "set-file" (C header file) from the Korean manufacturer of the front camera sensor. I've added it to post #242 . I don't know if it helps any though. I'm still trying to figure out why the new libs cause screen preview errors for both rear and front cam, as shown in the updated logcats in post #243.
[Galaxy S II General] dsixda:
Wow, you guys have been quiet today. I've written a thesis in post #243 today.. I may sound like I know what I'm talking about, but I really don't!
[Galaxy S II General] reallybigabe:
Wish I could help

Now, I'm truly useless in assisting. I no longer own a pc. Just a modern dude with a tablet and a phone. Sorry dsi, but im sitting idly and enjoying your incredibly hard work. Keep it up brother.

Hey, if you acquired those libraries, did you manage to get the OEM ICS build?
[Galaxy S II General] dsixda:
Don't worry guys, have faith, we'll have a fully working Ice Cream Sandwich hopefully soon.
[Galaxy S II General] shivsey:
The only way I was able to install google apps (gapps-ics-20120429-signed.zip) was installing cm-9-20120705-UNOFFICIAL-celoxhd.zip then gapps, then upgrading to cm-9-20120707a-UNOFFICIAL-celoxhd.zip.

I tried installing 0707a first, then installing gapps but before the installation completes it would just reboot, and the install would fail. So incase anyone has a problem with flashing gapps, start 0705, gapps, reboot, 0707a.
[Galaxy S II General] ZarboktheMunificent:
Here's another post from a little while ago:

http://xdaforums.com/showpost.php?p=20215396&postcount=13

Looks like you're on the right track!

http://xdaforums.com/showthread.php?t=1379368

There's a link to the thread (I'm sure you've seen it already but just in case).

As always keep up the great work. The ROM looks great!
[Galaxy S II General] dsixda:
Yeah, thanks, I saw that link before. The problem is trying to figure out why the regions of memory that are available for camera preview window are all set to active=0 (unavailable). Maybe the CyanogenMod kernel code should have been checking another region, I really don't know. This is where a person experienced in the kernel/driver area needs to take over.

I did mess with the code last night to force the memory to be set, so when I ran the camera app it no longer gave an error; but instead the preview screen was black (obviously, because there really was no memory available).

EDIT: I'm continuing to update post #243 in case someone wants to take a look and give more suggestions.
[Galaxy S II General] TrainAss:
Out of curiosity (not sure if you got my tweet last night), but if the front camera is used in something like Skype or Google Video, does it all crash or is it just the camera app?
[Galaxy S II General] dsixda:
Didn't get your tweet, but front camera is disabled in the kernel. In the test ROM I posted yesterday, it won't work either since the OS software can't talk to the hardware properly, as I've said above.
[Galaxy S II General] TrainAss:
Ok. That cleares that question up. Thanks.
[Galaxy S II General] dsixda:
Here's post #243 which contains all the analysis for the problem with the front camera using the new camera binaries:

http://xdaforums.com/showpost.php?p=28492227&postcount=243

I have been updating this post a lot.
[Galaxy S II General] 123abcalex:
Missing NFC antenna

I found this with a simple google search (scroll down the page a bit)

(still cannot paste links)

gibraltarsf.com/blog/?p=17

it seems all we need is a simple NFC antenna 'sticker' to stick in the handset's battery cover, I wonder if this 'simple' (still need to find a working antenna) fix would get it working. I am under the impression that NFC is just about to take off big time, what with the next Iphone almost certainly having it. An army of douchbags buying 10$ lattes with their NFC iphone is bound to lead to something...
[Galaxy S II General] dsixda:
Just got a reply from zivan56, the author of the post, and he said he never managed to fix that similar issue of his.
[Galaxy S II General] 123abcalex:
NFC Battery

Anyone willing to buy this and slap it into their phone?

ebay.ca/itm/260997368688?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649

1 - Not sure it would fit and work correctly

2 - I wonder if the 'Noar' Field Communication would actually work and how, seeing as the contacts are not touching the battery

This is a cheap asian knockoff, but they must have plagiarized the sticker on the battery from somewhere

Actually from the info in this thread, xdaforums.com/showthread.php?t=1112532 it seems that the NFC antenna is actually within the battery in the Korean models of galaxy s2 and probably the e120 variants also, with the antenna connector being next to the battery contacts, there are 4 in the asian model and 3 in ours. So no the battery replacement would not work, we need the battery cover sticker to line up with the contacts in the phone.

Also from this page: engadget.com/2012/03/08/samsung-galaxy-s-ii-skyrocket-hd-fcc/ it seems that the phone we have (bought off At&t by Bell) has two battery covers, one with NFC and one without. So that probably answers my own questions about this, our phone has NFC (the chip at least since it has the connectors behind the battery cover), whether it is enable or not by the software is another question (even though we have the option to turn it on within the OS) and it appears all we need is a battery cover with the NFC antenna.

The AT&T galaxy note has the same type of messed up confusion about the NFC capabilities, apparently it has the chip and the battery cover antenna, but no way to turn it on in the software (other than by creative people finding ways to flip it on: androidauthority.com/galaxy-note-i717-att-unlock-nfc-stock-rom-75655/), this seem to be consistent with the NFC confusion with our phone.

Maybe AT&T have a warehouse stacked sky high with SG S2 HD LTE NFC covers they didn't sell to Bell?

Bell, give us the NFC battery covers for our phones like they are supposed to have!!!
[Galaxy S II General] dsixda:
I get 'page not found'
[Galaxy S II General] TrainAss:
The 2 contacts right beside the MicroSIM slot, that would be for the NFC antenna in the correct backplate, yes?
[Galaxy S II General] ZarboktheMunificent:
Too bad... I wish I could be of more help.

I was researching this pmem stuff and the only thing I could think of was that the front camera is not pointing to the right location for video preview (since it seems it shares this memory space with the back camera). I then wondered if there was some way to force it, or even if we could find where the back camera is pointed to, but I couldn't really find anything that gave me the information I was looking for. I will see if I can find some more information on my downtime at work today. I'm not an Android development expert by any stretch, just a few things I've picked up from Google and reading. If I am hindering the process please let me know, I am trying to take this as a good way to learn.
[Galaxy S II General] dsixda:
Right now, with the I757M files that i received, the problem is no longer an issue of Front camera not working.... it's just that NO camera works anymore, and it has to do with the available memory that the kernel reads from the driver and tries to pass on to the screen. The kernel sees that there are no memory regions available for camera previews.

I'm not a driver expert, so I would have no clue what to do here. I have feeling I need to copy another file other than liboemcamera.so and camera.msm8660.so (which are normally the only files you really need to copy). Seems like some other new *.so file is changing the way the driver maps the memory.

When I have time today I'm going to add some more debug info into the msm_camera.c file, and see what the region list looks like when it actually works (e.g. when we launch the rear camera with the Skyrocket camera files). But i may just be wasting my time, because I don't know how that's going to help me fix the problem.
[Galaxy S II General] tgiannelli:
Error when flashing

Hi All, this is a great thread and please bear with me as this is a little new to me.

I have followed the instructions on the intiial post to the letter and I'm still not able to flash my device.

the error that is showing up in the log is;

failed to open /sys/class/android_usb/android0/state: No such file or directory

I've done a wipe and flash twice.

has anyone had a similar problem?

Tom
[Galaxy S II General] dsixda:
You'll need to be more specific, what do you mean by "not able to flash my device"? i.e. what do you see on the screen while you're flashing the ROM? Are you flashing zip from internal SD card or SD card?
[Galaxy S II General] tgiannelli:
yes, I am flashing the cm-9-20120707a-UNOFFICIAL-celoxhd.zip from the SD card and it start the process but ends within a couple second with the stated error in the log. I have tried to flash the same file from the internal SD and get the same error.
[Galaxy S II General] dsixda:
Regarding your log error, here's what a Google search turns up:

http://rootzwiki.com/topic/11697-rom-cdma-aosp-ics-cm9-build101-0418/page__st__760

There are many more results, so I suggest you read those.
[Galaxy S II General] 123abcalex:
Yes, based off what the galaxy nexus and note (AT&T's at least) have on their backs and with the antenna in the battery cover, those contacts next to the SIM are to come into contact with the NFC antenna which is simply missing. I wrote to Samsung about the missing antenna and have yet to hear back from them, I will also call the Bell technical support later today to see what they have to say.
[Galaxy S II General] dsixda:
What if we connect them together with a piece of foil on the battery cover? I don't know.. Is that all it needs??
[Galaxy S II General] TrainAss:
That could work. Why don't you try, while I hide in a bunker incase you blow up your phone! ;)
[Galaxy S II General] dsixda:
No, you try, I don't have a warranty ;)
[Galaxy S II General] TrainAss:
I'm talking to Bell right now, trying to figure out where the correct backplate is, and why we don't have it. I think we should make as big of a stink about this as possible.

---------- Post added at 10:41 AM ---------- Previous post was at 10:41 AM ----------

Me neither! Voided mine within 30min of getting the phone (thanks to you!)

---------- Post added at 10:53 AM ---------- Previous post was at 10:41 AM ----------

My conversation with a Bell rep.

I noticed that nothing on the Bell site says anything about NFC for this phone. I don't have my box near me, anything on the box if someone has it handy?
[Galaxy S II General] dsixda:
@TrainAss, Thanks for calling the Bell rep.

Regarding warranty, if you flash back the original stock ROM with Odin then you'll be back to normal.
[Galaxy S II General] dsixda:
Based on the other error message you got (assert error) which you mentioned in the PM to me, it's because you used the old ClockworkMod. Please read the instructions again, carefully.
[Galaxy S II General] mic2012:
Nothing on the box I have it in front of me
[Galaxy S II General] TrainAss:
Ya, but I don't wanna do that. I was thinking of returning the phone and trying to get an SGS3, but I'll be 1-day past my return date, and I don't want to give up on you!

Then it looks like they're covered. I wonder if we can get our hands on a backplate for the version that "does" have NFC "enabled", and see if it works. What was the phone that is like ours but w/NFC from AT&T again?
[Galaxy S II General] dsixda:
AT&T Skyrocket: Same processor but 480x800 resolution - I think people got NFC working on this with the ICS update?

AT&T Skyrocket HD (SGH-I757, not SGH-I757M): Same phone but cancelled due to SGS3
[Galaxy S II General] TrainAss:
I wonder if it uses the same backplate, and if so, if we can get it and try.

TO THE INTERNETS!!
[Galaxy S II General] dsixda:
Unfortunately, it has a different placement of the camera (so do the Telus/T-Mobile variants):

http://www.amazon.com/Samsung-Galaxy-Skyrocket-SGH-I727-Battery/dp/B007PSJNJY
[Galaxy S II General] TrainAss:
That looks like a regular cover though... I wonder if an NFC battery would work. I may try my roomate's Nexus battery.
[Galaxy S II General] fredericvachon:
according to the user manual found on the bell site. there is nfc. page 92 and 125.

http://mobilebusiness.bell.ca/_cont...3e2-11e1-ad47-0025903439d2/sgh-i757-ug-en.pdf
[Galaxy S II General] dsixda:
Even more hilarious, they have a "Tags" app in the stock 2.3.6 ROM.
[Galaxy S II General] TrainAss:
I think we need to bring this to Bell's attention, and make them give us the right back panel so we can use NFC.

Any way to scan ALL the hardware and find out if there is an actual NFC chip in the phone (would the NFC option not show up if there was't an NFC chip?)
[Galaxy S II General] dsixda:
Start a logcat from an adb shell before you enable NFC. And then after enabling NFC also check the dmesg output. Dmesg tells you how the drivers react.
[Galaxy S II General] RPetec:
Hey all.

First off, installed your CM9 a week or so ago and it's awesome - many many thanks.

second, I made a quick antenna out of some wire and connected it to those pins - tried a few different apps to read a few different nfc enabled cards and nothing worked. No idea how it's supposed to work or if the antenna I hacked together *should* work, but there you go.

I've ordered a Nexus S battery cover with the stick on antenna but it's coming on the slow boat from China... (I'd post the URL, but XDA doesn't let me... goo.gl/3gWgy )

cheers.

Pete.
[Galaxy S II General] TrainAss:
I hope you don't hate me for this, but I'm going to return the phone to full stock. Recovery and ROM. I saw on your thread about getting CWM on the phone, that to restore stock recovery, to flash one of the stock files (I have them all), but is there a stock ROM that can be all flashed at the same time via Odin?
[Galaxy S II General] dsixda:
There is a stock ROM, just read post 1 of the recovery thread..
[Galaxy S II General] jsr84:
Still around dsixda! I've just been away with work. I'll try and get some testing in before I head out again!
[Galaxy S II General] 123abcalex:
Since I can't post links, I deleted the http://www. before the rest, if you put in www. then paste the rest into the browser bar you should see the auction. I will soon be able to post links and will no longer have to hassle with this.
[Galaxy S II General] TrainAss:
I assume that this is the fully stock ROM stock_I757MUGLCA_I757MOYCLCA_I757MUGLCA_HOME.tar.md5 and I've got the stock recovery, but how do I restore the stock rom (with all the Bell apps)?
[Galaxy S II General] dsixda:
The stock ROM already has the stock recovery in it.. if you open the tar file you'll see that. You flash it with Odin. Why are you even going back to GB?? You want Skype badly?
[Galaxy S II General] TrainAss:
Trading back and getting an SGS3. I found a Bell store that would sell me an SGS3 right off the bat.

So I opened that .tar.md5 file, (I assume that's the right one?) and it has amss.bin boot.img cache.img.ext4 mdm.bin recovery.img system.img.ext4

What do I put and where?

(Sorry if you answered that already in your other thread, I missed it)
[Galaxy S II General] dsixda:
For help on Odin:

http://www.youtube.com/watch?v=JmvCpR45LKA&feature=youtube_gdata_player

Have fun with the S3 :-)
[Galaxy S II General] TrainAss:
:(

I'm sorry. Please don't hate me. You've done an amazing job in a short time (seriously, next time you're in Edmonton, let me know. I want to buy you a few beers), I just had my heart set on the SGS3, and now I can get one.

Thank you for all your hard work.
[Galaxy S II General] dsixda:
No worries, I am just playing with you ;) Yeah the S3 is nice but too expensive and big for me.

I don't drink but you can share some other beverage with me some day at an Oilers game ;)

PS. Flash the tar file in Odin by loading it in the PDA part. That is all.
[Galaxy S II General] TrainAss:
Deal.

I'm getting "MD5 hash value is invalid". I've re-downloaded the file, and get the same message.
[Galaxy S II General] dsixda:
Download again or Google it
[Galaxy S II General] adlx.xda:
DSIxda, dude, found that patch by modpunk, maybe that can help with your pmem error:

Patch "drivers: Fix msm camera msm_pmem_frame_ptov_lookup() lookup."

https://github.com/adumont/htc-kernel-msm7227/commit/825fd8d495e6ce1a4a65fc5b3bc9f43927264cb0
[Galaxy S II General] dsixda:
Interesting, does this "ptov" mean that it's translating Physical To Virtual memory so that it can set the memory list properly? My proc is different but I can see where it needs to be changed (see my new DEF):

static int msm_pmem_frame_ptov_lookup(struct msm_sync *sync,
unsigned long pyaddr,
unsigned long pcbcraddr,
struct msm_pmem_info *pmem_info,
int clear_active)
{
struct msm_pmem_region *region;
struct hlist_node *node, *n;
unsigned long flags = 0;

spin_lock_irqsave(&sync->pmem_frame_spinlock, flags);
hlist_for_each_entry_safe(region, node, n, &sync->pmem_frames, list) {
if (pyaddr == (region->paddr + region->info.y_off) &&
#if defined DONTWANT
pcbcraddr == (region->paddr +
region->info.cbcr_off) &&
#endif
region->info.active) {
/* offset since we could pass vaddr inside
* a registerd pmem buffer
*/
memcpy(pmem_info, &region->info, sizeof(*pmem_info));
if (clear_active)
region->info.active = 0;
spin_unlock_irqrestore(&sync->pmem_frame_spinlock,
flags);
return 0;
}
}
/* After lookup failure, dump all the list entries... */
pr_err("%s, for pyaddr 0x%lx, pcbcraddr 0x%lx\n",
__func__, pyaddr, pcbcraddr);
hlist_for_each_entry_safe(region, node, n, &sync->pmem_frames, list) {
pr_err("listed pyaddr 0x%lx, pcbcraddr 0x%lx, active = %d",
(region->paddr + region->info.y_off),
(region->paddr + region->info.cbcr_off),
region->info.active);
}

spin_unlock_irqrestore(&sync->pmem_frame_spinlock, flags);
return -EINVAL;
}

I notice the procedure msm_pmem_frame_ptov_lookup2() also takes out that line in the condition.

.
[Galaxy S II General] dsixda:
Unfortunately, this still doesn't work for me. But it's a start.. thanks anyway. I'll look deeper into this code.
[Galaxy S II General] jonnyjb:
ICS OUT??????????

so i was searching when the crapware ICS would be released, and this guy at the bottom of the link said he got it this morning, anyone comfirm this????

http://mobilesyrup.com/2012/07/05/heres-bells-latest-android-os-4-0-upgrade-schedule/

also there is a Kies update this morning as of 7/13/2012

so hopefully that means its coming, would be nice to get the sorce code and get this 100% as DSI has gotten it so awesome so far on his own.
[Galaxy S II General] dsixda:
That article is about a set of devices, not just ours. Bell released the Galaxy Note 4.0.3 update this morning, not the HD.. he's probably referring to that
[Galaxy S II General] jonnyjb:
OH ok well they really should hurry it up, that is the one thing i really dislike about bell and Samsung they do not do updates very often and forget about devices that are newer but not the newest.
[Galaxy S II General] the_leviathan:
Confirmed, I nandroid restored to stock and used Keis to look for an update, there was none. It really grinds my gears that Bell has pushed the ICS roll out dates yet again.
[Galaxy S II General] reallybigabe:
Actually... I would say he's referring to this: http://www.sammobile.com/firmware/?page=3&t=1&o=1&m=SGH-I717M&r=-1#modelsa

Downloading now. Will confirm in... an hour, stupid hotfile.

Bugger it... I know own a hotfile premium membership. Curiousity killed the wallet.
[Galaxy S II General] dsixda:
I717 is the Galaxy Note, man.. don't waste your time!
[Galaxy S II General] reallybigabe:
Hah! What a waste of $9.

Oh well... it's funny because I just did an exam that relied heavily on 'attention to detail' at work.... lmao. 717 / 757 .... grrrrr.....
[Galaxy S II General] dsixda:
I have a feeling that the new Camera files we received for the 757M do not play nice with the kernel I am using. I'm going to start fresh with a newer set of kernel source code from Samsung, and then test the camera again!
[Galaxy S II General] markdexter:
i had a strange issue that started happening yesterday, I couldnt log into the XDA App on my phone? Just kept saying invalid username or password wait 15mins??

I tried removing, re-installing,clearing data. In the end I reverted back to a nandroid backup of 2.3.6, and it was working fine?? Anyone else experienced anything similar?
[Galaxy S II General] dsixda:
Works fine on mine.. XDA had server issues yesterday, I had problems in Tapatalk app.

You reverted to ****ty stock GB just cos of that? LOL
[Galaxy S II General] markdexter:
Haha, Only to test it!! No way im back on GB, Your ICS Rom is a MUST!! I reverted back to GB late last night, so maybe when I did the server issues where fixed. Got up extra early before work to go back to ICS!!! I didn't have a chance in work all day to even try it out, its working fine now though!!

I have noticed a battery improvement compared to GB , to be honest I always though GB was a bit of a battery Hog on my other devices ive owned, the best battery life ive ever had was Froyo!!
[Galaxy S II General] dsixda:
For even more battery savings, go to the Performance options and set the lowest frequency to 192MHz instead of 384! I've set my max to 1.7GHz.