yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 8.9 SGH-i957 Android Development] YellowRex:
Fantastic!

Are you saying everything seems to work pretty well except the 4G radio? (No guarantees, at my own risk, etc. etc. I know, I won't blame you)

If so, I'm going to try this right away. I don't have a data plan for my SIM, and haven't used the 4G yet. (Got a free upgrade from the wifi version after some shipping trouble with the vendor.)

The Galaxy Tab has been kind of a letdown when I have JB on my Galaxy Nexus and Kindle Fire both, and the "upgrade" is a bit disappointing since I checked on custom ROMs *before* I ordered, but the AT&T version is further behind.

Thanks for your hard work! I'll let you know what happens.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
I haven't had time to try "everything", but the stuff that I use on a regular basis is mostly functional. There's quirks, but... It's usable!

For example, one thing I just found out.. the Adreno (qualcomm MSM graphics) drivers aren't production-build.. There's no such thing available -- The current drivers available from qualcomm are "early sample" binaries for jellybean bringup testing, which is what this is... So, I've seen the random screen flicker, etc. Remember there are only a few devices with tested jellybean images, and most of them are google devices... And the i957 will probably never see an official JB release.

https://developer.qualcomm.com/mobi...phics-optimization-adreno/tools-and-resources

I'm sure there's plenty of little quirks you can find if you "twiddle all the knobs and flip all the switches" -- But it's certainly testable, and way closer to the "usable" end of the spectrum than the "barely functions" end. :)

Cheers!
[Galaxy Tab 8.9 SGH-i957 Android Development] kunals.shah:
PRE-ALFA CM10 Build

You did a great job nrvate !!. you inspired me to get ICS/JB on my SGH-i957. I did try your method and seems everything (3G, SMS, GPS, Bluetooth, Camera etc..) works except wifi. I am surprised that Voice calling is also working in this build !!! I will update you once I fix wifi issue. and also provide CWM/TWRP/ODIN flashable build if time permits.

Cheers !!

-KS
[Galaxy Tab 8.9 SGH-i957 Android Development] ZX6Chris:
Its so exciting to see some real pregress.
[Galaxy Tab 8.9 SGH-i957 Android Development] atomiX_X:
Ditto. This is really good news. Thanks.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Cheers, y'all!

Only thing I had to do to get wifi working was stuff the original stuff (from honeycomb) in /system/etc/wifi.

first thing I'd do is make sure the dhd module is getting loaded.. dmesg will print your kernel log that'll show problems with loading that module.. also, try rmmod dhd and insmod dhd, see what happens.

If the DHD module doesn't report symbol errors or some nasty like that, make sure it's loading the firmware -- That'll probably leave an error in dmesg also if it's broke.

also check logcat for wifi-related nastiness

If you can find a specific problem post it and I'll try to help reproduce/solve.

Also working on hacking together a build of ICS based on what's been done with JB, but no idea how that's going to turn out yet. It'd be nice to have as a daily until qualcomm releases production-grade adreno graphics drivers (and, the CM9 ICS tree is now "final", might as well build it!)

update: due to needing the "late model" msm8660-common kernel for proper i957 device support, the later qualcomm (JB) graphics drivers are required too.. drat! however, looks like I'll still be able to hack together a build of CM9 based on the current "final" ics branch using the JB kernel and beta qualcomm graphics. got 'er booted, working out the kinks now. I'll start another thread for that when it's done :)
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
i wish i knew half as much as you do, keep up the good work!
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Thanks! Learning as I go with half this.. It's just bits, try one way, get dirt.. try another way, get bacon! :)

Some of this is so touchy.. ie kernel versions vs adreno drivers, blah blah.. seeing what the SHV-140 kernel does.. it boots CM9, now to see if it'll play nice with video decoders. might forget CM9, i <3 jelly beans anyways! ;)
[Galaxy Tab 8.9 SGH-i957 Android Development] th3g1z:
Solid work/mashery my friend. This indeed great news. I am currently waiting for my zip file to spit out, do a few mods and then give it a flash when I complete those things.

As far as the adreno drivers have you checked the site for them? I recall reading about them on another msm8660 device and perhaps may pertain to this project as well. The screen flicker has a few work arounds based on other devices that may relate to this device as well. Either to get rid of the flicker entirely or at least minimize them. Worth trying (here are a few I have seen work on some devices.. dev options, disable HW overlay, another is adjusting the debug.mdpcomp.maxlayer value in build.prop from 3 to 2, another is to set the min CPU freq to 486mhz).. last but not least, this was posted on cyanogenmod review, and can be cherry picked if not merged already: http://review.cyanogenmod.com/#/c/22782/ and may work. As far as getting LTE to light up in a more prompt manner, it may be worth exploring different modems (I see you are using UCLF6 from the i717 note), there are many others from the i717 leaks (ie. UCLF5, UCLE2/3, etc etc) and also of course any other Skyrocket ICS+ modems, as well as i717m (canadian, rogers modems such as XLA2 (gingerbread but worked on the i717 note in the US) and various others. If you cannot located them I will post links when I have more time. This is a great start, and I will help out when I have time to contribute to this project (I have a few on my plate plus a full time job so sometimes having the time is a difficult venture). In any case, great start and I can see this will progress very well in due time. Congrats and thanks for your contribution to the base of this, as this progresses and we work to manage these small issues, we will have something even solid :)

Regards,

th3g1z
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Thanks for the input! The flicker, as is, is really minor. It only really seems to happen, for me atleast, in the main launcher window and sometimes when scrolling in maps. It's intermittent, actually. I will have a look at that change you linked, nice catch! :D

Qualcomm's dev site is linked in post #4, hopefully they will post the final drivers soon. Do they have another site that would receive them faster, or with incremental builds? I really wish OEMs would share engineering builds more openly with the community, but I guess I'm just used to being on an engineering team, lol. I've been spoiled with working for a few of the larger OEMs and getting all the cool toys first...hehe.

I tried a few of the note ICS radios, got nothing at all from them besides errors in logcat -b radio, wouldn't bring up the SIM.

All the skyrocket radios seem to work to varying degrees.

Also, it may be more of the RIL -- The UCLF6 skyrocket modem works very nicely on the stock honeycomb image, insta-LTE and everything.

I have not tried any of the non-ATT radios... wasn't sure how that'd work out. I'll give some of the non-ATT radios a go, why not! Besides Skyrocket or Note, any other similar devices? Only thing I can think of is the SGS II LTE HD (SGH-i757) but not much is available for that device as AT&T punted it for the S III (747) and it never got popular.. If you want the HD screen, you get a S-III, which came out about a month later, which is just why ATT punted it all together.

I hear you on the job. I've got an interview lined up for a better one, too! Man, I'm hoping that works out! :D
[Galaxy Tab 8.9 SGH-i957 Android Development] th3g1z:
I hear you on OEM not releasing the drivers in a timely fashion, and it is frustrating when you have sources for it as "leaks" .. pertaining to your question I did see a link to update drivers but in my 5 min search (short on time atm, work early in the morning), I didn't find it yet, but I will look a bit deeper and hopefully can find it. I recall it related to CM10 and addressing said drivers for a particular device or devices. I will see what I can find tomorrow, and hope that it pertains.

No harm in trying a few other modems, I would look at the i717/i717m (m is the canadian model, same device though and the modems from rogers work with the i717 as well as the skyrocket).. and obviously the skyrocket various modems which it seems you have tried at least a few of. They vary so much and your location has a lot to do with it. Some work better in certain areas, and others in other areas as I'm sure you know already. Worst case, even after trying a few you can always go back to UCLF6. I found it a bit odd that the rogers modems worked with ATT but hey I'm not complaining about that one :) I believe you are correct, however, pertaining to the RIL as being the issue, not so much the modem's themselves. (no telling though without trial/error)

I'm not sure the i747 modems would work or not, but, it will not hurt to try, as you can return to UCLF6 if it is a dead end. the i757 I have yet to even see, so I can't comment on that in particular.

I'd like to chat a bit more when we both have some time, not sure if you get on IRC (freenode network) at all but if you do look me up, same handle as here on XDA. It would be easier to chat that way.

I have more to say but having to be away in about 4 hours, I will have to get back to you. Good luck w/ the interview bud.

Take care, we'll catch up soon.

~th3g1z
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
I'll hit you up on IRC at some point for sure :)

So I sort of figured it out... Found how to get the radio to play nice, still don't know why... The kernel! Went back to the 3.0.8 kernel as provided by samsung for the SHV-140 (replaced zImage in boot.img, reflashed mmcblk0p8) and BAM. Nice quick 4G. Nothing in /system changed (so a bunch of other stuff broke) but the radio sure got happy.

Not sure what the difference is, quite yet... Should be an interesting needle in the hackstack for sure.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Is the package manager a problem with this the same as cm9?
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
yes, the issue actually originated with jellybean -- since there's no device tree in the cm9 repo for the p5att, i jammed the cm10 p5att device tree into cm9 source to make it happen. the device tree includes the init scripts, so the problem actually originated from cm10, lol.

same fix works.. mount tmpfs on /mnt/secure (in addition to /tmp/asec) and use wide-open (777) permissions.
[Galaxy Tab 8.9 SGH-i957 Android Development] boscorama:
Heh! Is it just me or does that feel a little less than 'secure'? :silly:
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
i feel like a english lit major walking into an advanced calculus class with this jargon
[Galaxy Tab 8.9 SGH-i957 Android Development] YellowRex:
This is how the sausage gets made. :)
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Speaking of making sausage, I'm starting to think this is stable enough to share a binary build...

1) Camera is borked. I'm at a bit of a loss to figure it out, maybe I'll try again next week -- Suggestions very welcome, I'd like to get this working for video chat ala skype / gtalk.

2) MTP is borked. Again, at a bit of a loss, I suppose I'd care if I used it... Silly MTP.

3) New kernel fixes radio issues (mostly) - I've had it completely refuse to come up, showing no signal, fixed by rebooting the tablet. Goes right to LTE, but defaults to HSPA only. Change to LTE / GSM / WCDMA in mobile network settings -> network mode.

4) /mnt/asec / /mnt/secure issue (play store install problems) resolved.

5) FC in Settings -> Storage resolved by removing sdcard1 (which will never exist) from the build config

6) Boot animation is disabled due to framebuffer problems (supposedly) -- i know the spinny thing is cool, but you'll have to live with a black screen. Strangely, it comes up on some boots. lol.

7) Qualcomm graphics drivers are still the pre-release version. They seem to work pretty nice though. Haven't seen any of the flickering since some mdp changes in the kernel.

8) Video codecs aren't as screwed up as they are in the ICS build I did -- IE youtube works for all the videos I tried and bsplayer for android nicely plays my favorite x264 720P tv shows (win! gotta keep myself entertained at work some how...)

9) overclocked kernel HACK WARNING for you purists -- Modifed the kernel slightly, it now recognizes all MSM8660's as having the higher binned speed (1.66 vs 1.50 ghz) -- I didn't touch the frequency tables or anything, since it made more sense to just recognize the parts as 1.66ghz parts. Also, removed the logic that limited single-core mode to 1.2ghz (why?!). Gabe put out a OC kernel and most people reported stability at 1.7+ ghz, so... 1.66 seemed good. Hasn't borked for me. If you want stock speeds bad enough or run into problems.. http://d-h.st/8mB

Usual procedure, TWRP.. factory reset, wipe system, flash zip, receive bacon.

Bacon: http://d-h.st/Klu

I've been using this as my daily the past few days, and unless it starts behaving badly for some reason, it's probably going to be my daily for the foreseeable future. Really want to get the cams working, though!

Please share other issues. There has to be something else horribly broken I haven't noticed.

Usual "may make zombies run out of your tablet" warning applies to this test software.

Enjoy!
[Galaxy Tab 8.9 SGH-i957 Android Development] Jiggity Janx:
Way I accomplished flashing CM10 version 3 without problem:

Odin to stock rom

reboot to stock recovery

wipe data/cache

reboot

root stock rom

install Samsung tool on stock rom

flash twrp (2.1.8) using Samsung tool

reboot to twrp from Samsung tool

backup stock rom

install cm10 version 3

in twrp Advanced uncheck box for System Mount

in twrp Advanced check box for System Mount

install vold fix

install audio fix

reboot to system

Looking forward to Version 4! Will try tonight.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
No difference from what you've got now, really.. Just added in the vold / audio_policy patch since people seem to be having trouble installing them from the "flashable zip" method :)

Looking over your logfiles, hutp0...
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
I/Use2GOnlyCheckBoxPreference( 633): get preferred network type, exception=com.android.internal.telephony.CommandException: GENERIC_FAILURE

I/Use2GOnlyCheckBoxPreference( 633): set preferred network type=1

W/BackupManagerService( 422): dataChanged but no participant pkg='com.android.providers.settings' uid=1001

D/GsmUmtsOptions( 633): preferenceTreeClick: return true

D/GsmUmtsOptions( 633): preferenceTreeClick: return false

I/ActivityManager( 422): START {act=android.intent.action.MAIN cmp=com.android.settings/.Settings$ApnSettingsActivity u=0} from pid 633

D/RPC ( 417): modem entered reset for client 0xad4f30, cb=0x0

D/RPC ( 417): xprt=0xad8960 - restart begin

W/AudioSystem( 644): AudioFlinger server died!

I/ServiceManager( 159): service 'media.audio_flinger' died

I/ServiceManager( 159): service 'media.player' died

I/ServiceManager( 159): service 'media.camera' died

I/ServiceManager( 159): service 'media.audio_policy' died

W/AudioSystem( 644): AudioPolicyService server died!

It seems like something it's trying to do related to the cellular modem causes your device to reboot.

This pattern is repeated in the 4 files.

- Do you have a SIM in the device?

- Has the device been modified with qualcomm tools like QPST/QXDM to "unlock" or otherwise alter it to work on russian networks?

- Have you loaded a different radio modem image (amss.bin and/or mdm.bin for partitions p13 or p17) on this device?

If you have a SIM in the device, try with the SIM removed.

Also, not sure exactly your procedure for retrieving the logs, but the radio logs might be interesting

... passing the "-b radio" option to logcat, such as "logcat -b radio" or "adb logcat -b radio" will spit out the radio logs.

Also, if it stays up long enough to get into settings before it reboots, try putting it into airplane mode. this will power down the cellular modem. if it works without a SIM and/or in airplane mode, we can be pretty sure you're having troubles due to the cellular modem.
[Galaxy Tab 8.9 SGH-i957 Android Development] azaza852:
is this method can used in release 2 &release 4 ?

where i can found samsung tools ?

---------- Post added at 07:42 PM ---------- Previous post was at 07:22 PM ----------

how can u flash twrb with odin i download it & look like disk img ?
[Galaxy Tab 8.9 SGH-i957 Android Development] hutp0:
i download this http://db.tt/Tz3MFdDf

http://xdaforums.com/showthread.php?t=1697610 post #9
[Galaxy Tab 8.9 SGH-i957 Android Development] azaza852:
THX

I do different method

My steps:-

1- install stock room

2- wipe data& coach

3-install root

4- Go to recovery mood

5-install twrp from update2 ( http://d-h.st/8nv )

6-install update 2 ( http://d-h.st/8OB )

7-repot system

8-go recovery again

9- wipe data &cach

10-install update 4

11-repot

& enjoy

No error with sim no bug

Call work send not receive

No error until now

I will test it and send report if there bug

Thx for u all especially u nrvate :good:

:good::good::good::good:

[Q]where I can find&download Samsung &Google apps?
[Galaxy Tab 8.9 SGH-i957 Android Development] iosH8ter:
I am new to this forum even though I have monitored it for some time now. My AT&T i957 without SIM does the frequent FC / reboot sometimes during the boot process or sometimes a few minutes in while at idle or when just doing random things such as setting changes or launching an app. This has occurred on both the CM9 version and the 3 test builds of CM10. It does not happen on stock 3.2 ROM or the 3.2 Contingency ROM. This is with and without gapps installed.

What does occur on the 3.2 ROM's in intermittent pop up IPC Communcation Error's which I can close and keep doing whatever I was doing. My guess is that the newer kernel in 4.x or something in the 4.x code base is more sensitive to the IPC error. The root cause of the IPC error is still not narrowed down yet as logcat does not really show anything interesting just before the IPC error occurs. I did believe it was caused by the cellular modem however it still error's in Airplane mode.

I can't complain since I paid very little for this i957 as a manufacturer refurb and I get what I pay for. Looks like I am stuck with 3.2 Contingency which does run nicely.

My question to you is was your device also purchased as a refurb? Do you get frequent IPC error's on a working 3.2 ROM? I am going to guess, if you have bad hardware like me, you wont be able to run anything greater than 3.2.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Just my experience over the last 24 hours. Not necessarily for anyone to fix, just observations.

1. Battery Life is very good. I am doing better than I usually did with honeycomb.

2. Third Party keyboard does not stick after reboot. App is there, it just resets to default. Just a minor annoyance.

3. Notification Icons on the bottom bar are un-clickable. I don't know if this is a JB thing, but I have to open the status bar settings to open a gmail, etc.

4. If I turn off the tablet, and charge while off it will freeze every now and then and a half full battery will stay on the screen. Also if I try to reboot from a charging while off situation it will bootloop. Very weird. If I unplug the charger it boots fine.

5. Won't connect to computer via USB. Major Issue for me but I will get over it.

6. Installed a ton of apps, no crashes

7. No random FC's at all

8. Cell data will not initialize sometimes on a fresh boot. Known issue, reboot fixes usually.

9. Clicking on audio under storage will cause a crash

10. Torch setting under toggles will cause a crash

11, No loading bar for web pages under chrome, also dont know if this is a JB feature.

12. Google now is....interesting.

Safe to say though that this is stable enough to be my daily driver. I actually use my tablet again. nrvate you should set up some sort of donation thing, I think you have revived this tablet.
[Galaxy Tab 8.9 SGH-i957 Android Development] hutp0:
on dannorom 3.2 tab work fine
[Galaxy Tab 8.9 SGH-i957 Android Development] hutp0:
sim in my tab work fine on donorom 3.2

i ulocked device with unlock code from http://cellunlocker.net/

i dont did and know about amss.bin and/or mdm.bin for partitions p13 or p17

now i flash tab without sim. restarts not stopped.

all log files without SIM in tab.
[Galaxy Tab 8.9 SGH-i957 Android Development] njbuzz:
3. I've noticed it works for me if I click almost underneath it in the black.

6. I've had no issues as well. Guessing its cause I decided to start fresh and re download from play instead of backing up in titanium.

I've noticed the boot animation only shows about half the time for me.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Yea boot animation is intermittent. I definitely would not use tibu when flashing this.

Also I need to have wifi off and the tab not charging to get data to initialize on a fresh boot.
[Galaxy Tab 8.9 SGH-i957 Android Development] neubauej:
I am unable to reproduce the following;

I wonder if another full wipe might fix these for you?
[Galaxy Tab 8.9 SGH-i957 Android Development] Jiggity Janx:
If I can make a recommendation... I have found (and read) that using TiBu and Rom Toolbox App Manager to restore apps on a clean build is absolutely problem free IF you do not restore data to any of the core apps. In other words don't backup your Maps or Play store data and try to restore them to a new build, especially if it's a different version (example GB to JB).

I use Rom Toolbox App Manager to restore all my apps I have backed up (including Maps, Voice, etc.) WITHOUT data with no issue. I only backup and restore data for my games across android versions which has seemed to work flawlessly.

Just my 2 cents.
[Galaxy Tab 8.9 SGH-i957 Android Development] roadster92:
Same here too...It is necessary to restore "apps only" using TB or Rom Tool Box. I have Note, Tab and Photon. Any time going to a new version of OS if I restore apps+data, most of the time will have issues. But restore only apps without data work flawlessly.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I will try and let you know.