yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
You're probably hitting the random failure of the cellular modem to initialize. try logcat -b radio from a terminal and disable/enable data.. you'll probably see SIM_NOT_READY bullhooey. Power the tablet off and back on, it'll come back. usually. not quite sure what's going on with that, but it's a bit annoying. i assume you're seeing a "hollow" triangle where you usually see signal bars? :mad:

Looked more at the wifi driver... In drivers/net/wireless/bcmdhd_samsung/src/dhd/sys/dhd_custom_sec.c, I gave it the right path to the MAC address file in EFS (/efs/wifi/.nvmac.info), rebuilt the module and presto, took the MAC i'm used to having. No more "Random Generated MAC ID" messages in dmesg. score! Fix is in the dhd.ko module.

Putting together an updated .zip to include that fix and other naughtiness, should have that ready later tonight.
[Galaxy Tab 8.9 SGH-i957 Android Development] cottageboy:
Got it back...thanks' can't wait for the update
[Galaxy Tab 8.9 SGH-i957 Android Development] neubauej:
I was wondering what was up with that..

I assumed it was something I did.
[Galaxy Tab 8.9 SGH-i957 Android Development] Jiggity Janx:
I kept cm9 data when moving to cm10 without issue on my gs3. Different device but I think it should work.

I did find out after factory reset that I can reproduce the FCs I am getting if I disable persistant search in Launcher settings. Seems that leaving that checked clears up FCs. I cant explain it but there you go.

* By no means a complaint just trying to help identify some wierd stuff
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
HA! So true. Turned it off, clicked home, BOOM trebuchet pukes. Wonder if this happens on other devices?? Anyone have a supported device with a recent CM10 nightly? Weird stuff.

Updated .ZIP!

http://d-h.st/8OB

* h264 hardware decode fixes for youtube HQ and other hardware-decode enabled apps (vidc/yamato firmware update)

* camera fixes from kunals.shah -- thanks!! (camera library in system/lib/hw)

* wifi address fix - get MAC from EFS, no more random address (insert proper path to .nvmac.info in dhd.ko kernel module)

* move /mnt/secure to internal sdcard to fix asec apps (asec folder linked to /sdcard/.asec)

* disable adb on early boot -- fix mtp maybe? (change to init scripts in ramdisk)

* remove a couple of (probably) harmless references to sdcard1 in init scripts

* update vold.fstab with the correct partition for the sdcard (26), not sure if anything even uses that, but...

As this updater zip, like all the Cyanogen ones, formats /system before installing, remember to reinstall google apps after installing but before rebooting. If you don't, google services framework won't exist on the first boot, which means Android will wipe it's data, which means you have to re-add your google account(s). So it'll save you a little trouble if you reinstall gapps _before_ you boot into this. Shouldn't have to do a factory reset, /data isn't touched and should work OK, but I personally wiped /cache so dalvik would re-dexopt everything... just in case.

I hope I didn't mess up anything that was already working. Post your breakage and we can hack at it :)
[Galaxy Tab 8.9 SGH-i957 Android Development] ilyxa:
I can't wait any more! flashing!
[Galaxy Tab 8.9 SGH-i957 Android Development] cottageboy:
Just flashed it and seems to be excellent, I can't imagine ever going back to stock...thanks very much for your hard work

Phone function is working exellant as well
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
You're welcome, glad you are enjoying it. Agreed, not planning on going back to honeycomb either!

Good to hear the phone function is working :) Also working nicely is CSipSimple VOIP -- Seems to play much smoother under JB.

KERNEL UPDATE :D

I should have done this before rolling build 2, but...

The kernel source tree (https://github.com/CyanogenMod/android_kernel_samsung_msm8660-common/commits/) was updated in the last 24 hours with a bunch of interesting commits, the most interesting two being:

msm: ipc: Fix race condition between route & close_port operations

https://github.com/CyanogenMod/andr...mmit/465c056bafba0dd3ba039dd9fda9982785b5d8ae

-and-

msm: acpuclock-8x60: Optimize CPU voltages on 1.7GHz parts

https://github.com/CyanogenMod/andr...mmit/af2de0603a64054909448f6854934b9d6376ebee

I'm wondering if the first might help when the modem (cellular radio) not coming up on reboot...

The second has power saving potential...

Many of the others appear to be bug fixes, which are always a plus, and some internal kernel feature improvements as well.

Flashable kernel update .zip, works with TWRP: http://d-h.st/8nv

Updates boot.img on mmcblk0p8 and copies a new dhd.ko (WiFi driver module) to /system/lib/modules since some symbols changed and caused the existing dhd.ko to fail to load with the new kernel.

You'll want to be on the second image first, at least if you care about asec (paid apps, etc) I'll roll the kernel update into a "build 3" after I accumulate a few more fixes. Hopefully there's not a lot more than needs fixing, but we shall see...

Boots up and works for me, let me know if you have any trouble. Not a bad idea to take a TWRP backup of /boot and /system before applying, should you want to revert. Tried 10 reboots, modem came up every time, but... the modem failure to init issue has been sporadic for me. Will advise if I see it again. /fingerscrossed.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Was going to flash tonight but I will wait for build 3. Glad to see this device forums looking alive again!
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Cheers! I'll do #3 by the end of the week, even just to incorporate the kernel update if we don't find anything else fixable. Starting to feel daily driver ready :fingers-crossed:
[Galaxy Tab 8.9 SGH-i957 Android Development] cottageboy:
flashed the kernel and my connections happen almost immediatly...very nice..do you think you will be cooking a custom rom with some added features?
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
It does seem a little snappier now, huh? maybe it's just us being hopeful, sugar pill effect. no failure to init the radio yet, but.. it's probably going to refuse to init for 20 boots when i really need it, knowing my luck!

EDIT: DRAT! I shouldn't have typed that. Took a while, but... got it again.

D/GSM ( 710): [GsmDCT] handleMessage msg={ what=270365 when=0 arg1=1 }
D/GSM ( 710): [GsmDCT] CMD_SET_USER_DATA_ENABLE enabled=true
D/GSM ( 710): [GsmDCT] isDataAllowed: not allowed due to - gprs= 1 - SIM not loaded

Oh well.. at least it does seem to come up faster when it does work.

I wasn't planning on going much further than trying to get a stable build of CM10 for this device... Did you have something specific in mind?
[Galaxy Tab 8.9 SGH-i957 Android Development] cottageboy:
I know this is cm10 but I didnt know if you could inject some of the samsung apps back in? is that possible?
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Eww! ;)

Any of them worth anything? You should just be able to pull the .apk's off the original image, if you get lucky they might work :)
[Galaxy Tab 8.9 SGH-i957 Android Development] ZX6Chris:
Flashed the new zip and the update. This freaking rocks. This is why I got this tablet. Everything works. Thanks a million! I get the boot animation every once in awhile. That's the only non consistent thing. I only use WiFi and its working great.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
The only one I would really care about is the att data usage app, but that should be easy enough to side load when I flash.
[Galaxy Tab 8.9 SGH-i957 Android Development] cambertoe:
Thanks nrvate for the great ROM and quick updates! I got my i957 on Saturday, had your ICS install on it in a couple hours (which had...issues), then saw the JB binary. With the latest fixes, it runs extremely smoothly, and at least as good as the JB ROM I have on my Kindle Fire. Amazing for something that got posted a little over a week ago!

As my Tab is new, I'm not dependent on it yet so I will keep up with any new updates and try to report back anything I see. I'm not a coder either but have done some testing in the past so whatever help I can give to this I will do it!
[Galaxy Tab 8.9 SGH-i957 Android Development] cottageboy:
I like the samsung weather and the calandar
[Galaxy Tab 8.9 SGH-i957 Android Development] neubauej:
That app doesn't work on cm10 for some reason.

Edit; the only thing I could want for is a higher oc. Similar to the only other oc kernel here.

I am VERY happy with this rom!
[Galaxy Tab 8.9 SGH-i957 Android Development] dan-htc-touch:
Purchased apps won't install for some reason. Looks like asec didn't mount
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Do you have a /sdcard/.asec/asec folder?
[Galaxy Tab 8.9 SGH-i957 Android Development] dan-htc-touch:
Ran "mount" in terminal asec not mounted, could check sdcard tonight when I get home

---------- Post added at 09:21 PM ---------- Previous post was at 09:20 PM ----------

All my purchased apps dissapeared after flash, so a sec did exist at some point
[Galaxy Tab 8.9 SGH-i957 Android Development] YellowRex:
Thanks for the binary!

Sorry I never reported back, but I haven't been able to check out the CM repo at home yet. It kept failing on the prebuilt repo with "fatal error, early eof". I guess changing the repo URL from git:// to https:// is supposed to help.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I don't know anything about coding, but I do know how to google. I hope I am not posting anything that you guys already know. If so, disregard. Has to do with the paid apps disappearing and the /asec location.

Other References:

http://code.google.com/p/android/issues/detail?id=34880

It looks like it was a pretty rampant problem with official JB until google disabled the encryption. It also looks like it was a problem in multiple CM10 releases for other devices, but the only fixes i have seen so far have come from the cyanogen himself.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Thanks for that! I knew it seemed like something unusual and funky was going on.. I was about to start researching.. Hmm.. I really don't like how they've done this. The idea of needing to set up a dm-loop (see also: http://sources.redhat.com/lvm2/wiki/DMLoop) device for each paid application is a little ridiculous.

What I did in the first build was to mount both /mnt/asec and /mnt/secure as tmpfs systems, not realizing that /mnt/secure now needed to be a persistent filestore. This appeared to work, but led to loosing paid apps on each reboot. It seems /mnt/asec as a tmpfs filesystem is OK.. this is really just a mountpoint for all I can see

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

So I left /mnt/asec alone in the second build. However, it seems to want to actually store the downloaded paid apps in /mnt/secure. Since the root fs is a read-only ramdisk, any directory that needs to be written to has to be a mount point... or atleast under a writable mount point, of course.. so in the initial ramdisk I symlink /mnt/secure to /storage/sdcard0/.asec. /sdcard is, by the way, just a link itself to /storage/sdcard0. It seems to want /mnt/secure/asec to store the paid apps. So in the updater-script, i run "busybox -p /sdcard/.asec/asec" to create the folder it expects on the the sdcard. This resulted in being able to install an asec app like xda and have it function and stay present across reboots, for me, atleast.

root@android:/mnt # ls -l
drwxr-xr-x root system 2012-09-11 16:51 asec
drwxr-xr-x root system 2012-09-11 16:50 obb
lrwxrwxrwx root root 2012-09-11 16:50 sdcard -> /storage/sdcard0
lrwxrwxrwx root root 2012-09-11 16:50 secure -> /storage/sdcard0/.asec
drwxr-xr-x system system 2012-09-11 16:50 usbdisk

root@android:/mnt/asec # ls -l
drwxr-xr-x system system 2012-09-11 15:28 com.quoord.tapatalkxda.activity-1

root@android:/ # cd /mnt/secure/asec/
root@android:/mnt/secure/asec # ls -l
-rw-rw-r-- root sdcard_rw 5355008 2012-09-11 23:30 com.quoord.tapatalkxda.activity-1.asec
-rw-rw-r-- root sdcard_rw 5355008 2012-09-11 14:49 com.quoord.tapatalkxda.activity-2.asec

Not sure why it seems to be creating multiple copies of the application, but the -1 has a timestamp around when i installed the app, and the -2 of the last reboot. I'm sure there's a lot of functionality here I'm just unaware of.

I'm also not sure if the xda app is a valid test case -- it's the only free app I've seen that seems to use asec, and I don't have a card linked to my google accounts, or for that matter.. anything online (seems like a great way to get frauded someday...) -- maybe actual paid apps are actually trying to use encryption, and xda is just behaving like a free app that uses asec for whatever weird condition I don't understand???
[Galaxy Tab 8.9 SGH-i957 Android Development] frdimitry:
Thank you for this build but I have problem with sound in Skype. I cannot hear my friend (sound is very quiet). How can I correct it? All volumes in setting menu are maximal.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Cheers, enjoy! Be sure to grab the second build, good fixes there. I'll probably start another thread once this is somewhat finalized...

I'm having the same problem, looks like the prebuilts repo on github is borked. I brought up a new build server to attempt to speed up the build process and couldn't get the repo synced, grr! Problem appears to be with github.

Hopefully they'll get it fixed up soon! Ah well, at least I have the existing tree so I can do something.

You're welcome :) I'm not sure immediately, but I'll try to reproduce. I haven't tried Skype voice yet on jellybean. Thanks for the heads up, I do use Skype occasionally...

What audio method are you using? (internal speaker/mic, wired headset, bluetooth, etc)
[Galaxy Tab 8.9 SGH-i957 Android Development] frdimitry:
I used internal microphone and speackers. Friend of mine can hear me but I heard him very very quietly
[Galaxy Tab 8.9 SGH-i957 Android Development] sergey1977:
There are some problems with the auto brightness. in bright light the screen brightness does not increase
[Galaxy Tab 8.9 SGH-i957 Android Development] frdimitry:
i found another small problem. I cannot connect usb flash drive. At 3.2 Rom tablet automatically run file explorer. I installed program drive mount for mounting usb flash and ES Explorer could see flash. Another problem with russian files names. Tablet shows them as ???????????????. They showed correctly at Android 3.2 official.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
The repo may be borked on purpose. I believe the cm team said they are worried about the amount of unofficial builds that people are building and releasing, or something along those lines.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
It appears to be fixed now.

Is there a post stating such?

Good catch. It appears the light sensor is offline. Will investigate.

Interesting. I don't have the accessory to mount a UFD, but if you are able to mount the device and use it with something like ES explorer, then the system-level functionality to deal with USB drives is probably intact. Auto-mount was probably an add-on feature from Samsung in their 3.2 image. You might check the market for an application with similar functionality -- Sounds more like lack of a feature than a bug, but it does sound like a handy feature for some.

In which application are you seeing russian filenames as ???'s ? Those filenames are likely in unicode, for which the application doesn't handle. There may have been changes in jellybean regarding handling of unicode as well.

Also wonder.. does CM have language packs or some other method of dealing with non-english? haven't ventured there yet...
[Galaxy Tab 8.9 SGH-i957 Android Development] YellowRex:
I'm working on rooting and getting a recovery first. Haven't had my tab very long, and looks like it doesn't work at all with Heimdall, so I have to set up a Windows VM for Odin. Kind of a pain.

I did get the repo checked out on my work computer after the switch to https, but it failed again at home. Hopefully they get that fixed soon-ish.

At this point, it would be easier for me to set up my own arm-eabi cross-compiler toolchain. I don't mind building from source.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Interesting, I haven't tried Heimdall yet. I keep a windoze laptop around for jazz like this... Nothing much works with the 957, it's not exactly a popular device, but at the $200 price point (refurb unit, which is what I did), it's really hard to beat.

The CM tree includes all the cross compile goodies, it's pretty much transparent. IMHO they did a great job all around :)
[Galaxy Tab 8.9 SGH-i957 Android Development] YellowRex:
Well, now I have a Windows XP VM and TWRP on my tab.

Also got the repos checked out. Finally worked tonight!
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Sweetness!

frdimitry: I tried Skype, I'm having good luck with both the internal speaker/mic combo, as well as using headphones -- although I don't own a wired headset and my bluetooth headset is AWOL at the moment (lol, buried somewhere I'm sure!). Volume was quite loud out the internal speaker. Have you tried with another friend to be sure it's not on his end (low input mic level) or on another one of your own devices? Can anyone else confirm? (maybe my device is "special" ?)

Also: I was able to google search some russian text, picked the random word "ножтрюд" and grabbed it to the clipboard. both ES file manager and androzip allowed me to rename the file to such, and displayed the file properly. Maybe whatever you used to name the file didn't take the double byes characters, and the name is actually a bunch of ?'s or something else totally invalid. possibly it's related to whatever application you used to create the files on a USB key originally, or the problem lies in the filesystem driver for the USB device, such as the usb mass storage kernel module. The later seems the most likely to me, but I don't have the equipment to attempt to reproduce. You might try creating a file like that both on the internal sdcard and your external USB device to see if the behavior is different?

sergey1977: Using several of the android sensor test apps from the marketplace, the light sensor was non-functional. the light sensor device referenced in the android framework code is /dev/i2c11, although it seems udevd creates device node /dev/i2c-11 instead. So I symlinked i2c11 to i2c-11 and was able to see the lux value go way up when i pointed a flashlight at the sensor -- so the sensor seems to be working. however, that didn't fix auto-brightness. maybe the auto-brightness routine (if I can find the darned thing) also uses the incorrect device name, or expects some other information to be present. the device overlay xml does have autobrightness enabled. still digging through code... hopefully i'll have some luck, but at the least, i'll include the device name symlink fix in the next update so applications that call the light sensor through the standard API will get data back.
[Galaxy Tab 8.9 SGH-i957 Android Development] frdimitry:
I tried skype again with headphones and sound was better that through speakers. I could hear my friend. Today I connected my HDMI adaptor and I can't watch picture on TV.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Nice :)

You have all the toys, hehe. I'm not sure HDMI will be working anytime soon, the MHL ("mobile HD link") code is pretty poor and hdmid didn't build.
[Galaxy Tab 8.9 SGH-i957 Android Development] Jiggity Janx:
Some of this information may help or may be completely unrelated but I thought I'd throw it at the wall and see what sticks:

It appears the Galaxy 7.7 tab is having similar settings and trebuchet FC issues (at least like I'm having). Seems like setting dpi below 180 will cause these FC's. I hadn't looked and don't have the 8.9 in front of me but believe the 8.9 CM10 dpi is set below 180. If not then it's also possible the lcd density app I had downloaded and carried over with my data defaulted to below 180. Either way good info to have IMO.

http://xdaforums.com/showpost.php?p=31372916&postcount=457

Also I caught something in my GS3 forum that was talking about using an app called Directory Bind for connecting sdcard data with internal sdcard data. Apparantly (and I can't quote directly) there are issues that came about with JB and symlinking the two because the filesystem is ext3/4 and sdcards are fat32. Maybe related to the paid apps issues we are having here?

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

* I know there is no true sdcard but not sure if it will still affect it

Don't mean to step on toes if this stuff is common knowledge but I do like to try and put info out there that may help.
[Galaxy Tab 8.9 SGH-i957 Android Development] cambertoe:
Is anyone here running their i957 on a T-mobile data-only plan? I seem to not be able to get anything other than 2g on this thing right now. I'm thinking it's an issue with the different 3g/LTE bands that T-Mobile uses but I was wondering if anyone has found a way around this (flash another modem, perhaps?).
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Interesting, Jiggity Janx, I'll have to look at that. Been a busy day!

cambertoe, my understanding is t-mobile doesn't offer LTE (yet), and they use the AWS band (1700/2100mhz) instead of the 850mhz band AT&T uses for 3G.

I'm not sure if the hardware even supports 3G on AWS. Even if it did, a good radio combo escapes me -- Who's more familiar with the canadian carriers? If indeed the one of the canadian carriers operates UMTS/HSPA on the AWS band, their radio might be your best bet.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
hows it going nrvate? i see the cm team hasnt really touched the p5att tree in a while.
[Galaxy Tab 8.9 SGH-i957 Android Development] cambertoe:
Thanks for the reply nrvate. T-Mobile doesn't have their LTE service here yet but the i957 can do all HSPA+ bands however, the AT&T radio doesn't cover AWS. I did some research myself and found that the radio in the T-Mobile t989 is nearly the same. I took a chance and flashed the radio from the i989 ICS (Tmo_SGH-T989_UVLE1_radio.zip) and lo and behold I have HSPA+! I even get the little H+ in the signal icon. Speedtest shows 14mb down and 3 up. No stability problems so far but I will report anything back. Now my tablet can be a daily driver!

Thanks again for the ROM! Made this tablet absolutely scream!
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
slowly, haha, it's been a busy week, actually have to do work and stuff, haha. Hopefully get rev3 put together tonight, if I can ditch the office at a sane hour, although not much new. Still trying to figure out how to get the cellular radio to be 100% cooperative, mainly. The init failures are downright annoying at times, even if a reboot fixes it, that's lame!

The CM team doesn't appear to be doing much of anything with the p5att, but I'm not surprised, more popular devices probably take priority :)

Looks like you got lucky all around, not only that the radio partitions were the same so you could use the flashable zip, but that the firmware even worked. score! That's great to know, thanks for sharing!
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I think the only reason I haven't flashed yet is the paid app asec issue.
[Galaxy Tab 8.9 SGH-i957 Android Development] neubauej:
I have had absolutely zero issues with paid apps, and I have a dozen or so on my tablet..

The At&t data usage app that you like (Communication manager) does not work however.

Flash away I say.

:)
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Sweet! :) And they are "sticking" across reboots, right?

"should" be fixed with rev 2, but as I don't do paid apps, I can't really say... if you have troubles, make sure you have a /sdcard/.asec/asec folder.