yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 8.9 SGH-i957 Android Development] Sy1on:
Help

Hello, I'm new to the Galaxy Tab 8.9 (I957) I am a Microsoft Developer so forgive my open source n00bishness, I would like to upgrade my I957 to the Jelly bean release. Here is what I've done and understand so far. Please if I misunderstand something, let me know, or if you know, please point me in the right direction. I thank you in advance.

------ Here is what I've done towards my Journey so far ----

1) Rooted my I957 following the instructions at:

androidauthority.com/how-to-root-samsung-galaxy-tab-8-9-lte-sgh-i957-41123

a) I think I understand that these instructions are not the Cyanogen root But I am not seeing an easy way to install the Cyanogen? I found the Clockwork Mod on Google Store. But when I attempt to flash, it asks me my device and I do not see my Galaxy Tab 8.9 I957 listed. This makes me hesitant.

I would like to follow the instructions listed here. However nrvate posted these instructions on the 1st post.

Initialize Repo:

repo init -u git://github.com/CyanogenMod/android.git -b jellybean

Question: I'm not certain if I do this on the device or on my windows PC. Also when I attempt to type in the command repo init in Git Bash it's not a recognized command. Can somebody point me in the right direction for this 1st bulletpoint instruction?

2) I am a super user based on the 1) and I do not see this path on my I957 . build/envsetup.sh && breakfast cm_p5att-userdebug should there be somewhere else I'm looking for this? I use a File explorer, I'm a super user (or at least have Google app "SuperUser" installed).

I think after getting past a few of these steps I can follow the rest. Any help would be greatly appreciated.

Thanks
[Galaxy Tab 8.9 SGH-i957 Android Development] roadster92:
There are easier way to flash CM10 from OP. If you search a few pages back .. all the instructions are there. But here they are:

1. Download Samsung tool here: http://xdaforums.com/showthread.php?t=1732112

2. Download both of the files from OP post: http://xdaforums.com/showpost.php?p=31738077&postcount=172

3. Download Google apps from here: http://einprogress.io/static/android/cm/gapps/gapps-jb-20120726-signed.zip

4. Put all files that you download into your Tab's Internal SDcard.

5. Install samsung tool in #1 on your tab.

6. Use Samsung Tool from #1 and flash the TWRP 2.1.4 recovery that you download from #2 (this will replace your current recovery)

7. Use Samsung Tool from #1 and boot into the recovery you just flashed from #6. Once in the TWRP 2.1.4 back up your current ROM

8. Once finish back up your current ROM. Go back out to the main menu of TWRP recovery and choose Wipe. In Wipe menu: Do factory reset, Wipe cache, Wipe Dalvik.

6. Once done with step #8. Go back to the main menu and choose install zip menu. In there choose the zip file that contain the "update4" from #2 and add the gapps zip file in #3 and install them (this mean flashing CM10 ROm update #4 and Gapps).

Once done, reboot system .... wait until the boot finish... It may take a while .. go do something for 10 minutes.

Don't forget to thanks the OP for all this.

Hope this help
[Galaxy Tab 8.9 SGH-i957 Android Development] ykolin:
just flashed with update4.

totally forgot about gapps, so decided to download them on tablet directly through browser since my pc do not see tablet anymorr. before could not done so on 3.2

as long as i can charge tablet through pc, i'm ok with that :) lol

anyway have to play with it a little bit, and see what needs to be done.

as far as now i'm happy. :)

thanks guys
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Are a lot of people having the problem with the tab not showing up when connected to a windows pc via usb? I haven't found a solution yet.
[Galaxy Tab 8.9 SGH-i957 Android Development] Kevinthebox:
Keyboard Compatability?

Has anyone tried the Samsung Keyboard dock? I wonder if it would work with CM10? Probably not, but maybe lol. Probably have to wait for the ICS OTA which will hopefully come out soon....
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Some solutions include:

1) Airdroid (market app) -- market app that provides a webserver, running on the droid, that allows various things including transfering files

2) SSHdroid (market app) -- ssh server, use any SCP client on any platform to access device. bonus of a ssh shell over wifi!

3) Samba Filesharing (market app) -- enables the samba SMB daemon on android, allowing you to mount your android like a network shared drive

4) Use ADB from the android toolkit to push files. Clean, easy, no need for a GUI, works on both linux and windows

5) Droid Explorer (windows app) -- essentially a GUI for ADB that allows you to do various ADB tasks, including app installs and file transfers

Honestly, why anyone would actually want MTP is beyond me. Since I first saw it, on a camera, it's been consistently slow, buggy and picky about drivers. Personally, I just adb push files to the device, but if I don't have a cable (grr @ samsung's proprietary connector /fistshake) I really like sshdroid. It accomplishes both file transfer from any system on the WLAN as well as a ssh shell with one clean, simple app, that is also by design quite secure assuming you change the password ;)
[Galaxy Tab 8.9 SGH-i957 Android Development] hutp0:
nvrate you watched my logs. What do you think about this?
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
These steps are unnecessary. Instead of using ODIN to flash the stock rom and go through the motions to get a root and recovery, you can follow these steps to get to CM10 from another image:

1) get the cm10 .zip onto the sdcard by whatever means you choose

2) ODIN the TWRP image (see http://xdaforums.com/showthread.php?t=1697610)

2) Reboot into it (hold down the vol button not next to the power button and powerup/reboot the tablet)

3) Back up your current image, including at least the boot, system and data partitions. All will be overwritten.

4) Wipe -> Factory Reset

5) Wipe -> System

4) Install cm10 .zip.

5) Reboot. Wait a while, probably at a black screen, for it to dexopt a bunch of APKs. ADB is enabled as soon as the second samsung logo goes away if you want to shell in and logcat to watch the progress. Ensure you get to the welcome screen. Click through it, get to the desktop, reboot into recovery again.

6) Install gapps.

7) Reboot, receive bacon.

Also remember that the stock ODIN package flashes radio images (mdm.bin and amss.bin) -- If you are using a different radio for whatever purpose, it will be overwritten by the stock ODIN package. It also overwrites the recovery image, so you're still forced to ODIN the TWRP image, or root the stock ROM and install TWRP from there.

I highly recommend NOT attempting to restore anything (including applications or user data) from a different image. Reinstall applications from play store or whatever your favorite method of fresh-installing applications is (side-loading, etc). If it works for you, great, but restoring anything on /data from previous versions or other images is asking for trouble. That said, worst case, go back into recovery, factory reset -- No need to reinstall the cm10 .zip after factory reset -- it only touches /data and /cache, which are not necessary.

That's been my experience, at least, your mileage may vary :)
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Yikes! It appears whatever unlocking the device did to the radio state greatly confused the RIL (libraries that control software interaction with the cellular hardware) -- the radio logs end with the telephony process exploding with a java error, which leads to a modem reset, which is mishandled by the device, resulting in a reboot.

The RIL/radio combination on this device is shaky even with the stock locked cellular configuration, apparently unlocked on an unexpected network totally breaks it. ouch!

The only suggestion I have besides simply saying you're out of luck, is to try the RIL software from other similar devices. The SGH-i727 (skyrocket/celox), SGH-i757M (skyrocket HD/celox HD) and SGH-i717 (note/quincy) SGH-T989 (T-mobile Galaxy SII -- WARNING: The ATT Galaxy SII SGH-i777 is a TOTALLY different beast) are all MSM8660 devices with similar radio hardware, with slight nuances. All of these devices have factory ICS images, and the RIL libraries from those devices work to varying degrees on the i957. Their radio images also work to different degrees -- One person on this thread used the T989 radio to get HSPA+ on T-mobile's network.

As far as I can tell, the RIL software is comprised of:

/system/lib/libreference-ril.so
/system/lib/libsecril-client.so
/system/lib/libril-qcril-hook-oem.so
/system/lib/libril-qc-qmi-1.so
/system/lib/libril.so
/system/bin/netmgrd
/system/bin/qmuxd
/system/bin/sec-ril
/system/bin/qmiproxy
/system/bin/rild

However this list is based on my own reverse engineering, not samsung engineering documentation, so other pieces may play a role.

I suspect, however, you will have a difficult time with anything but the stock honeycomb image until a fully tested ICS or later radio image and RIL software package is available for this specific device. There are some nuances between the various MSM8660-based LTE devices, although I don't have the low-level details.

Wish I could help more!
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
The entire first post regards the basics of building cyanogenmod for this device from source code. It was never my intention to provide a binary package for this, but seeing how well it worked out (minus some minor issues that don't personally concern me very deeply), I decided to release a binary package to encourage additional testing before cyanogenmod officially starts p5att builds. This allows them to see the feedback here, and I intend to leverage this information to drive improvements for this device's cyanogenmod official builds, if and when those become available from the cyanogenmod team.

Welcome to the world of Android! Feel like ditching windoze all together? -- http://www.xubuntu.org ;)
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Honestly doubtful. It's doubtful any of the proprietary samsung accessories work with this open source ROM. Wanna find out for us all? lol..

That does remind me, however, I have yet to try my bluetooth keyboard on CM10. Headset works, so.. keyboard probably does too.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
seems broke with anything samsung installed on the PC -- after which it's impossible to fix, and believe me, I tried. I have no idea what the driver package modifies that breaks it. Seems a pretty pervasive problem, not only with this image -- try samsung mtp code 10 on google, started happening with ICS images.

worse yet, it now comes with a warning: may nuke large quantities of files! playing with it on a fresh windoze install and lost the majority of my /sdcard folder for whatever reason.

I'm going to diasble MTP completely in the next image -- I suspect the mtpd daemon is the root of the problem, and likely mtpd from the official ICS when it finally comes out will be smoother. That got pushed back another cycle, btw.. :|
[Galaxy Tab 8.9 SGH-i957 Android Development] Jiggity Janx:
If I may respond:

The ODIN package for twrp wasn't available at the time I wrote my post. People are likely more comfortable with ODIN and should use it now though.

IMO ODIN (which people are likely comfortable with) to stock to start the process is exactly like you saying they should factory reset and wipe system. Not only that but it ensures that the 98+% of us on the stock radio, etc have a clean install of those components. With other builds floating around out there to be honest there is no telling what components people have from trying an install. Also I'm sure you'll agree troubleshooting an install from a clean stock rom is also usually the easiest. The few with the desire to install components outside of stock can do so as after.

Also I will express again that most often using tools like TiBu and Rom Toolbox to restore user installed apps only across builds causes no problems. Most of us don't want to install hundreds of apps manually again. No system apps or data for core apps like Google should be installed using these tools. The few apps that would have issues will likely just update themselves when connecting to the Play store. YMMV

I don't want to deter you from recommending what you think is best. Everyone is likely going to follow what you recommend. Just a response with my thoughts.

Also, my offer to donate the red Trident case I pm'd you about still stands. You definitely deserve it. Let me know.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
All valid points my friend! :) Just trying to simplify things for people, it's less effort to install directly from TWRP and skip the whole ODIN/reroot/reinstall recovery procedure -- and technically, it should all pan out the same. I'll also admit in a bit shy of using ODIN unless I really have to, being that it's a very low-level tool.

Thanks for the offer, but honestly, not looking for any compensation for this :D This is all fun for me, sharing it freely makes it all the more fun :cyclops:

Happy Friday!
[Galaxy Tab 8.9 SGH-i957 Android Development] hutp0:
Man from russian forum 4pda.ru flash you rom and all work good. He unlocked tab as I do.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
That scares me.

I agree I hate mtp, but usb mass storage and ptp don't work either. This doesn't bother me because I can adb, but from a curiosity standpoint its weird.
[Galaxy Tab 8.9 SGH-i957 Android Development] danix180:
Reboots to Recovery after flashing Gapps

Thanks nvrate for reviving this tab!!

For me 8.9 is the perfect form factor. But waiting for Sammy to provide an update was a pain. Thanks again for your work.

I'm experiencing an issue flashing the Gapps.

I was able to flash the rom and reboot but after I flash the Gapps ( i tried CM10 and AOKP JB version) the tab reboots to recovery!!??

I wiped cache and system and the same problem.

The only solution is to reflash the ROM without Gapps installed.

Anybody had this issue? Any suggestions?

I appreciate any help.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
This happened to me with twrp 2.2 and I just flashed rom Gapps then rom again and all is fine
[Galaxy Tab 8.9 SGH-i957 Android Development] danix180:
Thanks man..

I flashed the ROM again and now it's booting. And I can see the Play Store installed. That's all I needed.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Again, it totally seems twrp 2.2.15 has a "do it twice" issue. I wonder if it's caching something that doesn't get committed before reboot or something?

I had reflashed probably a good 100 times on 2.1.4, no issues, ran into this in less than 5 attempts on TWRP 2.2.

2.1.4 has always "just worked" for me, so I've went back to it.

Thanks guys for confirming the potential 2.2.15 problem... I was wondering if my device was dying, I know flash memory can only take so much, my device has been reflashed over and over and over and over...

-N
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Yea I'm going back to 2.1 for next flash for sure.
[Galaxy Tab 8.9 SGH-i957 Android Development] cambertoe:
I got the keyboard dock with my Tab and it does not work at all. This seems to be the case with other Tab models and the keyboard docks too. At this point I will trade CM10 for the keyboard. It looked funky anyway :)
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
If you like hacking stuff, you might figure out how samsung implemented it, and if it's mainly through proprietary binaries (like a samsung-provided service executable), you may have some luck using code from the ICS releases for similar tablets. Stuff from the SHV-140, for example, might work. Could be a fun hacking project if you so desire...

I'd try, but I don't have one to play with.

I too thought it looked funny, also found the logitech bluetooth keyboard to be way more portable! speaking of that, i still need to dig that out and see if it works with CM10. Honestly I got so good at the touchscreen keyboard I stopped using it much, wonderful how much easier an onscreen keyboard is on an 8.9" screen rather than a 4.

edit: found it, burried in junk, lol. It works, but the settings menu that is provided when a bluetooth keyboard is connected FC's. Will investigate sometime soonish...
[Galaxy Tab 8.9 SGH-i957 Android Development] Ubertool:
Think you could include flash in the next release. Its all bugged up when you install it separately.
[Galaxy Tab 8.9 SGH-i957 Android Development] neubauej:
How is it bugged up? It works as well as on any jb rom for me.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I thought flash was dead
[Galaxy Tab 8.9 SGH-i957 Android Development] neubauej:
Officially yes, but..

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

;)
[Galaxy Tab 8.9 SGH-i957 Android Development] Kevinthebox:
Keyboard...

In regards to the Keyboard Dock and CM10 functionality, I did some digging and I found this:

This was added to the official CM10 Nightlies for the Galaxy Tab 2 7" by codeworkX. I wish I knew what to do with this, but I'm a noob, so this might not even work for our device...

Anyway, here's the link of the github:

https://github.com/cyanogenmod/andr...mmit/5373c385d42ee68c138d7055feed711901293b91
[Galaxy Tab 8.9 SGH-i957 Android Development] the_hatrix:
Can this be flashed on without all the ADB stuff, like flashing it with recovery?

And are there many bugs or any features missing?
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I have been using this for a week now with great battery life and no crashes. I am on release 3 with 2 flashable updates, i would try update 4 if i were you.

I just built a new computer so i dont have the adb interface installed and everything is fine. although if i want to transfer files i will have to set that up at some point.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
This is a test build of alpha software. It may have bugs and missing features. It is also 100% unsupported.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
The Tab 2 is a totally different beast.

On the msm8660 tabs, it seems like they have a daemon called sec_keyboard.

The ICS version of that daemon from the SHV-140 image may work (probably not, but worth a try...)

http://droid.arm.ee/957/sec_keyboard

toss in /system/bin, chmod 755 it, reboot.

If that's beyond you, i'll stuff it in the next update :)
[Galaxy Tab 8.9 SGH-i957 Android Development] ALD3:
Battery Charging

Thanks for all the hard work on this ROM. Update 4 has very few bugs and is very smooth. Has anyone noticed a bug when charging and device off or is this me? This happens with the I957 turned off and plugged into the charger, I'm on update 4 but had same problem with update 2, didn't try updates 1 or 3. When charger is plugged in the battery icon comes up as normal, shows it charging for a few seconds like it should, then goes away to only restart showing charger icon.....over and over. The device is very warm after a night of charging. Can not turn the device on with charger plugged in, kind of starts but like a boot loop to battery icon. Back on HC 3.2 rooted and no problem like above, so I know it's not the device. Really like this ROM but afraid of the heat build up while charging.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Ald3 the same happens to me. Just charge while on.
[Galaxy Tab 8.9 SGH-i957 Android Development] ykolin:
need help.

i flashed UCLF6 radio, since did not have any data connection.

after that, tablet started to act very weird. very slow, settings does not open. screen is not responsive. very long to go to recovery.

flashed 5 times update 4 after, and still have problems with it.

i believe this is due to UCLF6 radio.

tryed to download any different UCLF radios.

since cannot open any browser and pc does not recognize tablet, can not download any different radio.

any suggestions/recommendations?

thanks
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Odin to stock will replace your radio.
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
Recovery is always your friend when your device gets borked... :)

1) boot to TWRP

2) adb push the stock radio images to somewhere on /sdcard

3) adb shell

4) dd if=amss.bin of=/dev/block/mmcblk0p13

5) dd if=mdm.bin of=/dev/block/mmcblk0p17

6) reboot

If you need the stock modem images: http://droid.arm.ee/957/stock_att_modem/

or, if that skeers you, use the method one post above...
[Galaxy Tab 8.9 SGH-i957 Android Development] ALD3:
Thanks orlandoxpolice, I thought that I was the only one as I hadn't seen any mention of charging problem. This ROM is so smooth and much better than HC, I went back to hc as I was worried about the heat. Will go back now. Thanks.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
My only concern is if the battery dies will it charge? That scares me.
[Galaxy Tab 8.9 SGH-i957 Android Development] neubauej:
Kinda. I ran mine til shutoff, plugged it it and let it cycle the charge animation a couple times, then turned it on while plugged in to charge.
[Galaxy Tab 8.9 SGH-i957 Android Development] YellowRex:
My Kindle Fire had the same problem. It wouldn't charge while off, and I ran the battery all the way down. The way I fixed it was to constantly turn it on while plugged in until it had enough juice to stay on and charge the rest of the way.
[Galaxy Tab 8.9 SGH-i957 Android Development] the_hatrix:
hi nrvate, we were talking on the contingency rom thread, and a couple users recommended this cm10 rom over that one. could you let me know what major function is missing if i install update 4?

i am mostly concern with data, Wi-Fi, browser, usb mass storage, video playback, Bluetooth

thanks!
[Galaxy Tab 8.9 SGH-i957 Android Development] ykolin:
Thanks for input gys.

Uclf6 causes some problem to the ROM, so I flashed with ucf5 instead and now tab flies. However, my data is not connecting after I disconnect it. I need to reboot t in order to connect to data.

Is there any stable modem I might use? Or I better keep it as is?

Thanks.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Just read every post in the thread. Most things are stable but there are issues with usb mass storage, sometimes cell service doesn't start, and I think blue tooth works. Remember it is a work in progress and not official or supported on any level. Nrvate just released some builds for testing, and being the nice guy he is.
[Galaxy Tab 8.9 SGH-i957 Android Development] dan-htc-touch:
Does NFC work with cm10?
[Galaxy Tab 8.9 SGH-i957 Android Development] the_hatrix:
much appreciated!
[Galaxy Tab 8.9 SGH-i957 Android Development] that1guyty:
Just installed Update 4, and it has made my tablet 100 times better! I'll update if i find anything worth updating, but just wanted to say thanks to the devs for this! You guys are awesome!
[Galaxy Tab 8.9 SGH-i957 Android Development] davidbauer:
are you coming from stock or version 3
[Galaxy Tab 8.9 SGH-i957 Android Development] HarderDrive:
Voice call

I updated my tablet to the rom that was on the second post and tried voice calling... Did anybody have the problem where your voice is muted when you turn on the speakers?
[Galaxy Tab 8.9 SGH-i957 Android Development] ykolin:
I have only issue that I can hear but can't talk. The other person cannnot hear me.

Other than that I'm OK.
[Galaxy Tab 8.9 SGH-i957 Android Development] ajagramonte:
problem ipc communication error

Please, how solve the problem ipc communication error an reeboots on cm 10, i have this problem...
[Galaxy Tab 8.9 SGH-i957 Android Development] nrvate:
That would appear to be the case.

Bluetooth and wired headset appear to work, however not the internal mic when also using the internal speaker.

Internal mic + internal speaker does seem to work with VoIP clients, though, like CsipSimple.

Looks like an audio routing problem.