yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 8.9 SGH-i957 Android Development] DoRunRun:
Same here. No issues with paid apps. Loving the ROM. Finally something for this tab. Thanks nrvate! WiFi seems to catch now. Still shows both WiFi and 4g data connection at same time though.
[Galaxy Tab 8.9 SGH-i957 Android Development] neubauej:
Yup, they "stick" just fine.

:)
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Awesome thanks for the info! Will flash away!
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
cyanogen made a tiny little edit to the p5att branch 4 hrs ago
[Galaxy Tab 8.9 SGH-i957 Android Development] Jiggity Janx:
Guess it only takes two (or maybe more) times for me to catch this and try it out. Looks like I was trying to look for something related to a fix that I didn't need.

Thanks for keeping us straight nrvate! :victory:
[Galaxy Tab 8.9 SGH-i957 Android Development] gtj0:
First...a BIG THANKS to nrvate for getting this started!!

Just FYI...

I DID have problems with my paid apps, but only the ones that needed to start at boot...

ADWLauncherEX remembered its settings but the system always forgot it was the default launcher and when I did load it, the widgets always failed to load.

SmartKeyboardPro remembered its settings but the system always disabled it and reverted the input method back to Android.

DigitalHive wallpaper remembered its settings but the system would not remember it was the default wallpaper.

So, I built cm10 directly from the git repo (using nrvate's instructions) and...no problems. I can reboot at will and all my widgets load and the default apps are remembered. Adding and removing widgets works perfectly across reboots.

Flashed back to testrelease2 and...back to all the problems above.

Back to the stock cm10 and...no problems.

Maybe this will help isolate the problem.

BTW...Using Skyrocket UCLF6 radio and haven't had a single problem.
[Galaxy Tab 8.9 SGH-i957 Android Development] Jiggity Janx:
Spoke too soon. Adding an asec folder did not appear to help. This was from clean data as well.

But I can definitely live without the few paid-like apps that aren't working for me right now. :)
[Galaxy Tab 8.9 SGH-i957 Android Development] pussyliquor:
Has anyone compiled a flashable zip of this rom?
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Yea I'm a noob and don't know how to build either so I'm waiting as well.
[Galaxy Tab 8.9 SGH-i957 Android Development] Jiggity Janx:
Flash away or wait for build 3 (maybe this weekend?)! Recommend wipe data/cache and likely you will have no issues.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Update 3 :)

http://d-h.st/Zcd

- Kernel Lovins ->

--- Picked up slew of bugfixes from msm8660-common cyanogenmod jellybean kernel tree -- up to and including 09/13/2012 commits.

--- Enabled CONFIG_USB_ANDROID_SAMSUNG_MTP and CONFIG_SPI_QUP kernel options to match SHV-140 ICS samsung kernel config

--- Disabled CONFIG_XVMALLOC and CONFIG_ZRAM kernel options, also to match up to SHV-140 ICS samsung kernel config

--- Now compiled with newest Sourcery cross-compiler

--- Modified dhd.ko (Broadcom WiFi kernel module) -- you can now create file /data/.ranmac if you want your MAC address randomized on each reboot (ignores MAC on EFS partition, random generation expanded to 5 bytes)

- symlink for light sensor (/dev/i2c11 -> /dev/i2c-11) -- Doesn't fix auto brightness, but at least things that access the light sensor via the standard API will get values back now, FWTW.

- RIL stuff from SHV-140S (korean Tab 8.9 LTE) -- An attempt to resolve SIM_NOT_READY error -> Files replaced:

/system/lib/libril-qcril-hook-oem.so

/system/lib/libsecril-client.so

/system/lib/libreference-ril.so

/system/lib/libril.so

/system/lib/libril-qc-qmi-1.so

/system/bin/qmuxd

/system/bin/qmiproxy

/system/bin/netmgrd

- Update /system/etc/wifi stuff -- newer broadcom firmware images, wpa_supplicant.conf with p2p parameters

- Reenable early ADB since it appears MTP issues likely related to lack of CONFIG_USB_ANDROID_SAMSUNG_MTP kernel option -- Maybe someone who uses MTP can tell me whats up now?

As before: 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.

Curious if the SHV-140 ril libraries, qmux, qmiproxy and netmgrd help anyone with the cellular radio random failure to init -- hasnt happened for me yet, but it seems to be totally random... and annoying!
[Galaxy Tab 8.9 SGH-i957 Android Development] davidbauer:
Thank you so much for your hard work on this from really looking forward to it being complete again appreciate it thank can we donate to you
[Galaxy Tab 8.9 SGH-i957 Android Development] pussyliquor:
I could build it. Just figuered that someone else could zip it up
[Galaxy Tab 8.9 SGH-i957 Android Development] sergey1977:
after the update was not possible to make a call from tab. back to update 2
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Doh! Here's a flashable .zip containing the radio jazz from update 2, which came from the CM10 SGH-I717 "Note" ROM:

http://d-h.st/hIl

I'm starting to think it's going to be about impossible to get a fully solid radio/ril combination until Samsung releases ICS for the 957. Grr!

I wonder if anyone with a legit rogers tablet has been able to apply the OTA from sammobile? a system dump of that tab would be neat!!
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
sorry for the dumb question, but if i wanted to go back to stock is that odin flash possible. im just trying to avoid bricks.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Just take a full backup before you flash, no need to bother with ODIN.

best to avoid ODIN all together if you want to avoid bricks -- download mode is as dangerous as it gets...
[Galaxy Tab 8.9 SGH-i957 Android Development] pussyliquor:
google apps

I am getting a partition error when trying to flash gapps. I've tried signed and not signed. I downloaded the file straight to device. Anyone know of a fix. I'm using twrp. Will try cwm tomorrow at work. Everything else is working. Any help would be awesome thanks.
[Galaxy Tab 8.9 SGH-i957 Android Development] frdimitry:
i cannot decide trouble with sound in many apps, for example Skype, Lingvo and other. I cannot hear anything through speakers. All volume controls is max. Tablet plays some system sounds such as clicks on programs, but I cannot play some music samples. Could you help me to decide this problem?
[Galaxy Tab 8.9 SGH-i957 Android Development] alton987:
Need Help...

Not sure what I did but I can't get past Samsung Logo on boot now. I tried updating to update 3 I think I wiped data in recovery which I should not have done. I can get into odin and flash the stock room but it still is stuck on Samsung logo. And help would be great.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Interesting. Are you using an i957, or one of the similar variants (SHV or GT series) devices? And which version of TWRP?

Also, which gapps release?
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Wiping data wont cause you any harm. You'll, of course, lose your personal data (apps, settings, etc) but that shouldn't prevent you from booting.

Which "stock rom" package did you install?
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Strange. I've not seen anything even remotely similar, has anyone else?

This is a north american sgh-i957? or some other variant?
[Galaxy Tab 8.9 SGH-i957 Android Development] alton987:
Went to Samsung firmware website only had one listed for i957
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I feel like some people are trying this on different versions. Very important to only try this on the i957.
[Galaxy Tab 8.9 SGH-i957 Android Development] pussyliquor:
I'm using 7-26 gapps. If anyone has a link to correct ones I'll try those. I'm on a i957. With twrp 2.2.15
[Galaxy Tab 8.9 SGH-i957 Android Development] pussyliquor:
So I flashed CWM and google apps flashed???

Is there another kernel that is better than what comes stock? Since we dont have source is there anything higher than the 1.6? Like will Da_g's kenerl work?
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Da g is hc based
[Galaxy Tab 8.9 SGH-i957 Android Development] pussyliquor:
Okay well has anyone tried a aosp based on that can go like 1.9 cause the stock 1.6 is pretty laggy. If not I can start writing one.
[Galaxy Tab 8.9 SGH-i957 Android Development] alton987:
Anyone else have a issue with the device not showing up in my computer to transfer files? I can see it in device manager and everything looks fine.
[Galaxy Tab 8.9 SGH-i957 Android Development] jpope:
@nrvate Thanks for all your work on this. I flashed build 3 earlier and its running quite well. Cheers!
[Galaxy Tab 8.9 SGH-i957 Android Development] dan-htc-touch:
any updates on the asec issue?
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
7.26 is what I've been using too, should be fine.

Weird! I had some trouble with gapps on the latest TWRP, went back to 2.1.4, worked fine, then want back to 2.2.15 and couldn't reproduce the problem. When it was being a pisser, I had good luck with everything as long as I did NOT install gapps -- then the tab would fail to boot, either hanging at the second samsung logo, or rebooting directly into recovery. logcat showed a failure of kickstart, a retry that worked, then zygote exploding and the device rebooting. Multiple attempts to reproduce didn't cause it to happen again, either on 2.1.4 or 2.2.15.

Makes me wonder if indeed there is some issue with 2.2.15 and gapps, but I don't know enough to say more.

Da_g's kernel is 2.6.35, and will not work with 4.x releases of Android. I don't have any plans to create any more aggressively clocked kernel, as doing so would require a rework of the frequency and voltage tables for both the APU and GPU. If you want to go that route, Gabe did post the source to his 2.6.35 kernel, it shouldn't be hard to port those changes to the msm8660-common cyanogen kernel, if you want it that bad. IMHO the gains aren't enough to justify running the hardware at increased voltages, both for battery life and longevity reasons.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Shows up under "Portable Devices" as a "SAMSUNG-SGH-I957" with USB VID 0x4E8 and PID 0x6860, and shows up in explorer. Device manager claims it's being handled by %Systemroot%\System32\Drivers\UMDF\WpdMtpDr.dll, which is the stock Microsoft MTP driver. I don't have any vendor drivers installed on this machine -- Possibly you have another driver, like one from Samsung or another 3rd party, that is attempting to handle the device and failing? The init scripts included with CM10 set the that VID/PID combination, which is actually for a Galaxy S2 i9100, and I didn't change that. Maybe there is a more windoze-friendly VID/PID combination to use?

Did you get your device to boot? You had mentioned it was hanging on the Samsung logo -- curious what the resolution was...
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
I don't associate financial information with my online jazz, so I have no way to debug -- If someone would like to provide a solution, I'd be glad to incorporate it... :)
[Galaxy Tab 8.9 SGH-i957 Android Development] alton987:
Yeah I let the battery drain all the way down and it magically booted. Not sure what happen.
[Galaxy Tab 8.9 SGH-i957 Android Development] dan-htc-touch:
well, paid apps work fine building with no modification, it's just apps that want to install to sdcard by default that are broken
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Interesting -- I wonder if something remained RAM-resident? I'm not sure how the internals work in that manner. I wonder if a hard-reboot (hold the power button for 10-15 seconds) would have done the same thing.. /ponder

Hmm, any documentation on how that works?
[Galaxy Tab 8.9 SGH-i957 Android Development] Jiggity Janx:
+1

*EDIT: The sdcard difference I was trying to relay before was that jellybean introduced something about fuse and sdcard binary.

"Actually, /storage is an actual mounted location and /sdcard and /mnt/sdcard are symlinks in jellybean. Not sure why the app would be unable to read /storage/sdcard0. In all technicalities, /data/media is actually the sdcard location but the sdcard is part of the data partition. Using FUSE and the sdcard binary is how the /storage/sdcard0 location is mounted." is one of the quotes I found.

- I see you worked through some of this in Post 80

*EDIT2: This may be helpful - http://xdaforums.com/showpost.php?p=31621912&postcount=24 This summarizes the issue I noted before about symlinking sdcard not working in jellybean because of the fat32/ext difference (it appears by design)

"I noticed this most when using older apps (most of them) that continue to look for files in /sdcard instead of /data/media, meaning they will not be able to see things inside the symlink as that mountpoint doesn't understand symlinks."
[Galaxy Tab 8.9 SGH-i957 Android Development] alton987:
FYI AD2P is also not working. Thanks again for awesome Rom!
[Galaxy Tab 8.9 SGH-i957 Android Development] frdimitry:
I have american version of tablet I957 AT&T unlocked. I found problem with mp3 player and it was solved by turning volume control up and down, but I didn't have sound in speakers in Skype, only with using headphones. I use latest version of Skype
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Cheers! I seem to recall seeing a commit to fix an AD2P issue in the past few days, I'll see if I can find that again :)

Some more ASEC hacking!

flashable updater: http://d-h.st/K08

In source code, in file system/vold/Volume.cpp, I modified the hard-coded paths used for ASEC directories. I've moved everything to /data to avert potential filesystem differences on the sdcard -- the sdcard is vfat, which is unable to handle many things that ext4 filesystems are capable of, like permissions... Note I've moved both the internal and external directories under /data/secure, so the lack of having an external sdcard shouldn't break any poorly set up applications, etc.

The new code is:

/*
* Secure directory - stuff that only root can see
*/
const char *Volume::SECDIR = "/data/secure";

/*
* Secure staging directory - where media is mounted for preparation
*/
const char *Volume::SEC_STGDIR = "/data/secure/staging";

/*
* Path to the directory on the media which contains publicly accessable
* asec imagefiles. This path will be obscured before the mount is
* exposed to non priviledged users.
*/
const char *Volume::SEC_STG_SECIMGDIR = "/data/secure/staging/.android_secure";

/*
* Path to external storage where *only* root can access ASEC image files
*/
const char *Volume::SEC_ASECDIR_EXT = "/data/secure/asec/ext";

/*
* Path to internal storage where *only* root can access ASEC image files
*/
const char *Volume::SEC_ASECDIR_INT = "/data/secure/asec/int";
/*
* Path to where secure containers are mounted
*/
const char *Volume::ASECDIR = "/mnt/asec";

The flashable update replaces the existing vold and creates the necessary directory structure under /data/secure.

I hope this resolves internal vs external installation.

Please understand jellybean completely fuxxored paid apps, and google hasn't provided a real fix yet -- They've deferred that to a future point release (>4.1.1) of android. ffs.

Looking through the vold sourcecode, it's clear the paid-app obfuscation horse**** they've added was half-baked and should have never made it into a production release. It's pretty sad, honestly. read the comments on the ticket to fix it: http://code.google.com/p/android/issues/detail?id=34880 -- alot of people are pissed. One developer is even refunding purchases and recommending people buy his app through amazon app store, as their "market" doesn't have this clusterf-ck and obviously google hasn't prioritized this issue high enough -- it's a revenue issue, they should know better.

There are a bunch more hardcoded references that I didn't change, which might need to get updated as well. If this doesn't help, the next step is to get some logcat output from you guys having troubles -- that should help me zero in on additional code paths that need adjustment.

Sadly, this is another example of how DRM only screws paying customers.

I swear, if I was an end-user that expected paid apps to "just work", like any decent person would expect something you've paid for to do, I'd probably be seriously considering the iPhone 5 right now -- and I _despise_ apple.. Way to go, google... :(
[Galaxy Tab 8.9 SGH-i957 Android Development] Jiggity Janx:
Thanks for digging further and updating! Absolutely realize it's not on you. Glad we have someone willing to make things work for us (even things Google f'd up). :D

Also FYI there are many apps that are not paid apps that are having issues installing that you could probably check out without getting logcats from us. The one I can think of off the top of my head is both versions of Ninja Chicken. Yeah, I said it. Ninja. Chicken. :)
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
just accepted for merge minutes ago:

http://review.cyanogenmod.com/#/c/23377/

Change I3233d5ed: audio/msm8660: fix a2dp

* change sampling rate to 44100

fix is in /system/etc/audio_policy.conf

flashable updater: http://d-h.st/pQa

Let me know if this helps, this is not a device specific fix, but for the general android_hardware_qcom_audio tree, your specific issue with the i957 may be different and/or additional.

Curious: I'm guessing the end result was a failure to play audio/video via bluetooth, as in through a media player?
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
HA! Ninja Chicken, awesome!

https://play.google.com/store/apps/...c_Android.Ninja_Chicken&feature=search_result

That one, right?

Installs and runs fine for me.

installs to:

/data/secure/asec/ext/mominis.Generic_Android.Ninja_Chicken-1.asec

mounts as:

/dev/block/dm-1 /mnt/asec/mominis.Generic_Android.Ninja_Chicken-1 ext4 ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1 0 0
[Galaxy Tab 8.9 SGH-i957 Android Development] Jiggity Janx:
Don't have my tab in front of me but something tells me that you just nixed the last inconvenience with this ROM. Outstanding! Thanks again!
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
That'd sure be nice! :)
[Galaxy Tab 8.9 SGH-i957 Android Development] mingo_:
Nrvate thanks alot for your efforts on getting this ROM together. I feel like I have a new tablet going from honeycomb. I'm in Canada and none of the 3 LTE carriers (Bell, Rogers, Telus) have released ICS let alone JB. Your audio policy fix has got the sound in movies and media audio going to the bluetooth headset correctly but i think there still needs to be some small tweak as you can still hear system sounds on both the tablet and bluetooth headset at the same time(slightly delayed on the bluetooth headset when it is routed to both). I think the tablet isn't in true headset mode where no sound come out of its internal speakers. Great Work! Thanks again!
[Galaxy Tab 8.9 SGH-i957 Android Development] YellowRex:
This ROM helped me not regret my purchase of this tab. Thanks nrvate!

One small issue, 30-pin to HDMI adapter isn't working. I'll dig into the logs this week and see if I can find some more info.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Doh! I'm not sure where exactly to start with that one, sounds like an audio routing issue, which is something I don't know how works yet, but maybe I'll get lucky and figure it out sometime :) Thanks for the heads-up.

Glad you are enjoying JB!
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Glad you are also enjoying JB! :) You'd think they'd have released ICS by now, geez... carriers aren't exactly good at updates, even samsung does all the hard work for them..

The HDMI stuff uses "mobile HD link" ("MHL") which is disabled in the cyanogenmod kernel config mainly because it's pretty hosed. The "hdmid" daemon also refused to build.

Maybe a ninja dev will fix it sometime... If i see anything come across the git repos or CM code review site, I'll see what can be done.
[Galaxy Tab 8.9 SGH-i957 Android Development] hutp0:
CM 10 canstant restarts

Hi from Russia!

I need help. I flash CM10 with twrp. After booting, through 2-3 minutes and tab restart.

I did all wipe.

CM9 also Cm10.

sorry for my English.

Than you.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Hello from Texas! :)

Just to confirm, you are using a SGH-I957 tab, and not one of the similar devices, correct?

If so, did you flash google apps? If so, can you wipe ("factory reset") and retry without google apps?

Also, which TWRP version?

The only case of boot loops I've seen, on an I957, seems related to google apps.
[Galaxy Tab 8.9 SGH-i957 Android Development] hutp0:
Yes i use sgh-i957 from AT&T

I not flash google aps.

TWRP version 2.1.8 https://www.dropbox.com/s/v5k5gv9hpj9j35v/twrp_recovery_SGHI957_2.1.8.img

Flash TWRP with Samsung tool http://xdaforums.com/showthread.php?t=1732112
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Well darn, I was hoping it'd be a little easier than that.

I'm assuming you get the first samsung logo, then the second "fuzzy" samsung logo and after that, a reboot? Does it boot loop, or reboot into recovery?

Some things to try:

1) be sure the download from the d-h.st site went OK -- The website lists the md5sum (a checksum value) on the download page. Be sure the file you downloaded to your computer matches it. On linux, you can simply run md5sum <filename>. On windows, you can use an md5sum tool like http://www.winmd5.com/

2) Try again wiping both system as well as doing the factory reset -- Maybe something on the system partition got messed up?

3) Hard reboot the device to clear anything in memory -- just as the device starts to boot, hold down the power button. In about 10-20 seconds, the device will hard reboot, clearing anything resident in RAM.

4) Retrieve the logs from the device during boot. I'm not sure how familiar you are with Android devices, but if you can, use "adb logcat" to retrieve the boot log. Attach the device to your computer that has the Android SDK, run "adb logcat" and let the device boot -- adb will find the device as it comes up and spit out the logs. The image has adb enabled very early in the boot process and if it gets much further than booting the kernel, it will attach.

5) I'm not sure what state the device was in before you attempted to install either of my images, but you might want to install the stock ROM via ODIN from sammobile.com and get the device functional again, just to ensure it's in a "fresh and clean" state from the start.

6) Let the battery drain all the way down -- Another xda member on this thread somehow managed to get into a state where they couldn't boot, and resolved the issue by letting the battery run down to force a "fresh" state of the device. I'm unsure why or how that occurred, but it did seem

to resolve the issue -- see post #139 on this thread.

Sometimes these devices can be a bit finnicky -- I've managed to get mine all sorts of angry several times, including boot locks and boot loops, and still wonder what exactly I did to resolve it -- a bit unnerving to a test engineer like me who always wants to explain why a system behaves the way it does, but... unfortunately I'm not on a samsung engineering team with access to all the internal tools. sure wish they did android engineering here in town, it'd be a neat gig... :)
[Galaxy Tab 8.9 SGH-i957 Android Development] Jiggity Janx:
Are you flashing twrp with samsung tool after updating to cm9 or cm10? Not sure that will work. Just install samsung tool on stock then flash twrp and install cm10.

*Flashing twrp will likely work from Samsung tool because it references the same recovery partition. Just throwing out ideas