yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 8.9 SGH-i957 Android Development] reapur:
So I'm rooted via method 1 on the OP.

The first time I booted into recovery (the day I rooted) I was able to get a backup with no problems.

Today I tried to do another backup, after I've added some apps, and the backup hung while it was backing up DATA. When I finally got tired of waiting and rebooted it, I checked the times on the files and the last write was done about a half hour before I rebooted. So basically it was hung for 30 minutes or so.

I haven't had a chance to retry it yet, maybe I'll start a backup and go to sleep and see what happens in the morning.

Anyone else experience hang ups during backups?
[Galaxy Tab 8.9 SGH-i957 Android Development] Presbycusis:
Did you make the blank file .hidenandroidprogress file in the clockwork folder?

I did not have to do this but I know some where having an issue with making backups if they didn't create this file. Check out this thread.

[RECOVERY] CWMR 5.5.0.4 for I957 (LTE)

http://xdaforums.com/showthread.php?t=1462770
[Galaxy Tab 8.9 SGH-i957 Android Development] Presbycusis:
So ontop of the initial Superuser app issue I started running into other problems as well. Titanium backup would not work... at first properly and then not at all. The first hint was that I tried to freeze some AT&T apps and when Touchwiz launcher started to force close I went back to defrost to see if that fixed it but it would not let me. Then Ti stopped working all together; it kept saying that it could not have access without root or busybox which I had. I tried fixing permissions through Rom Manager but it doesn't seem to do anything on the tablet,even with the stock AT&T firmware as well (That is with the free version not premium Rom Manager). I had to revert back to my previous backup for now because of the conflicts. :(
[Galaxy Tab 8.9 SGH-i957 Android Development] Croak:
My Tab is an AT&T unit too. I did uninstall almost all of the bloatware via TI before the flash, the exception being Communications Manager (it would do constant FCs if that wasn't installed). Comm. Manager was gone after the flash.

---------- Post added at 11:13 PM ---------- Previous post was at 11:11 PM ----------

Install Busybox from the Market. And did you flash one of Da_G's kernels? If so, did you use CWM or Odin? Might be a problem with the CWM package and the general instability of the CWM that was cooked for the LTE Tab. One other thing to try is to reset defaults for Superuser, then double check it to see if TI is on the list after you grant permissions in TI.

TL;DR your root is hosed, and I suspect you need to reflash the kernel with Odin.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I used the darkside tool once and it did its job but bootlooped after until I did a factory reset from recovery.

If your backup is hanging during /data you need to put the. hidenandroidprogress file in your cwm folder.

Also, recently I lost superuser access to the program 'betterbatterystats' but that's about it. Odd.
[Galaxy Tab 8.9 SGH-i957 Android Development] Presbycusis:
I thought it might be the communication manager that I had problems with before...either deleting or freezing. I noticed that it was the the only program that did disappear after flash.

CWM Method was what I used to root and I did not flash any kernel. That may be why I was having issues with Superuser and Ti. Those two programs, along with busybox I had uninstalled and reinstalled from the market after root but it didn't seem to help. SU showed Ti having permissions but still said it did not have root access.

Think what I will do is delete all bloat but the Com Manager, install Telus firmware, root with Da_g's kernel (I had not really done much with the new kernels because I am not very familiar with ADB to push lib files...I need to read up on that first) and if all is well then flash CWM.

I will also make the .hidenandroidprogress file just in case too. There were no problems making a backup for me before but it did hang at /data when I restored. Had to reboot, then restore, and it worked fine that time. Going to try Darkside wipe as well.

------------------------

Two questions though:

1) Is there any reason why fix permissions does not work through Rom Manager? It just says "Fixing permissions....." at the top and does nothing.

2) Should I clear cache partition and dalvik cache before flashing new firmware or should that not matter because it is technically just an update and not a new ROM?
[Galaxy Tab 8.9 SGH-i957 Android Development] reapur:
I had seen that in the other thread but was afraid to try because in that thread they mentioned this will not work with the LTE tabs, it scared me off.

Anyhoo, I added that file and did a backup and it works. Funny the first time I did a backup without that file it worked too :)

Cheers
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
1. The ROM manager program from the market isnt really compatable with our device and shouldn't really be used. Fix permissions through the CWM interface.

2. Whenever I flash anything, I always clear data, cache, dalvik, and anything else I can. Call me paranoid, but I never really have issues afterwards. Restoring is more time consuming, but I enjoy re-customizing a device.
[Galaxy Tab 8.9 SGH-i957 Android Development] reapur:
An irritating problem with the market.

I have to clear cache and clear data before I install anything. Then I can only install one app, and I have to the clear again, then install another app.

If I simply install from the android market on the web, it works.

no only that, but icons have been disappearing from my app drawer,for example Drop box. I have drop box installed, I see it in applications and I can launch it from app monster, but it's no where to be found in the app drawer. I really don't like honeycomb.

Any ideas?

Thanks
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Wierd problems. I've never experienced either of those. Use another launcher to see if the icons are in that app drawer
[Galaxy Tab 8.9 SGH-i957 Android Development] Croak:
7320 firmware available for anyone feeling brave. I'm at work or I'd be all over it.

http://xdaforums.com/showthread.php?t=1514438
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I didn't even think of that when he posted it.
[Galaxy Tab 8.9 SGH-i957 Android Development] reapur:
Great idea, I didn't even think of that!!! the default launcher had all the icons. so I cleared data on go launcher and now I have the dropbox back and some others but they're on the last page. Ahhhh, honeycomb!
[Galaxy Tab 8.9 SGH-i957 Android Development] Presbycusis:
Croak or anyone else who might have an answer to this question...

This is in regards to the Samsung App Store. I installed Tapatalk HD and Norton security apps before having to reinstall my last save the other night. I reflashed Telus update with rooted kernel and cwm tonight. Everything went really well this time and my tablet is running way better than before.

Well, this time I went back into the app store but I skimed through the licence agreement and I noticed there was a clause about it only to be used on select carriers and charges may apply etc etc. I know the apps are free but now I'm a little worried about charges. I didn't sign up for anything though and I don't have a tab data plan (just using home wi-fi) so I can't see how charges would apply. I also know that alot of those legal agreements have to say certain things just for the lawyers so I'm sure I'm just being paranoid.

Do u know if this is a valid concern since I'm here in the States on or should I not give it a second thought? Do you know any non Canadians that have used this store and downloaded apps?

Thanks again!!!
[Galaxy Tab 8.9 SGH-i957 Android Development] Croak:
Don't worry about it, standard boilerplate, they won't come back and charge you for anything marked free that you've downloaded.
[Galaxy Tab 8.9 SGH-i957 Android Development] reapur:
About the samsung app store, do you guys mean the one on the web or is there a specific mobile app?

Thanks
[Galaxy Tab 8.9 SGH-i957 Android Development] Croak:
Mobile application not available on the AT&T firmware (it's a signed system app).
[Galaxy Tab 8.9 SGH-i957 Android Development] bose.jhebert:
Well...crap

OK so I followed method 2, after a few minutes of working I tried to go into settings on my tab and it locked up, would go into standby and unlock again but nothing else, on reboot it hung on samsung screen. I tried loading the stock kernel and got the same thing. Any help? I can't get it past the samsung splash.

*UPDATE* ok so "Mount USB Storage" doesn't work in CWM, meaning my hopes of flashing telus just went down the tubes. Any way to load the telus rom without already having it on the SD card?

*UPDATE2* just realized telus rom is odin flashable.

*update3* Telus rom flashed, same result, glowing samsung splash but nothing else.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Same thing happened to me when messing with homemade cwm zips. I just went into download mode and flashed the stock att rom in the pda slot and all was fine.
[Galaxy Tab 8.9 SGH-i957 Android Development] bose.jhebert:
It was working I was just impatient, took about 15m but telus loaded fine, except tw fcs constantly, had to load go launcher hd
[Galaxy Tab 8.9 SGH-i957 Android Development] cmstlist:
Just curious - is there any reason that root requires a modded kernel?

Would it minimally suffice to just flash CWM to a fresh i957 and then apply the correct su.zip from CWM? Or are there root apps that wouldn't work under those circumstances?

Or perhaps there is a mistake in the Method 1 instructions. When it says "7. Hit Start - the modded kernel should will be flashed to the tablet. Tablet will restart." should that be recovery rather than kernel?

When just flashing the recovery in Odin, does that trip the internal flash counter too?
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Thank you for pointing that out. I made the change in method 1. Method one is stock kernel with only cwm and su.zip
[Galaxy Tab 8.9 SGH-i957 Android Development] cmstlist:
Ah okay, got it. :)

And flashing CWM does not trip the counter?
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Don't really know. Lost track of my flash counter a long time ago ;-)
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
Flashing CWM doesn't trip the counter. You can flash CWM via odin and then either flash the su package to the stock kernel or one of da_gs kernels via CWM. No counter trips.
[Galaxy Tab 8.9 SGH-i957 Android Development] matt310:
I just picked up one of these from CL for a great price and was a little disappointed to see it lag so much - until I saw all the bloatware AT&T threw on it. It obviously needs a root and removal of these crap apps.

I have had a Captivate and have an I777 SGS2 with CM9 Nightly running reasonably well, so I'm definitely not a stranger to flashing, using ODIN or running ADB commands. However, having said that, the two root methods for the i957 are baffling to me. I would love a little help in making sure I root my tablet the proper way and do not cause the incremental flash counter to register.

The wifi model seems to only need the root folder placed on it via Kies and then rebooted into recovery and flashed. This is how I'm used to doing it. Why is the AT&T LTE version so different? Are there updated methods for rooting the i957 since this thread was first created?

Thanks for shedding some light on this for me!!
[Galaxy Tab 8.9 SGH-i957 Android Development] Scarchunk:
We seem to have similar taste in android devices. I also have the captivate,i777 sgs2, and galaxy tab 8.9 lte combo.

You can root this tablet without tripping the flash counter. The red text on the first page needs updating, as method 1 doesn't trip the flash counter. Its the same method you describe for the wifi version. Flash CWM recovery via odin then flash the root package via CWM.

The reason people were tripping their flash counters was because they were installing da_g's pre-rooted kernel via odin. I packaged a CWM flashable version of his kernel and posted it in this thread a few pages back. This would also give you a rooted device with no flash counter. As long as you don't flash a kernel or rom that includes kernel via odin, you won't touch the flash counter.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
I will update today. Thanks for the heads up
[Galaxy Tab 8.9 SGH-i957 Android Development] aj_vogtman:
Used method one, was very easy so thanks a million!
[Galaxy Tab 8.9 SGH-i957 Android Development] KitF:
Quick question: Why is a custom kernel needed for a custom boot animation? Surely the default one must live SOMEWHERE on the partition to be replaced.
[Galaxy Tab 8.9 SGH-i957 Android Development] Croak:
You need root access to get to the boot animation, and you need a custom kernel to gain root on the Tab LTE.
[Galaxy Tab 8.9 SGH-i957 Android Development] KitF:
But the first method doesn't flash a custom kernel?
[Galaxy Tab 8.9 SGH-i957 Android Development] ZenDood:
thx a ton!

free@last free@last from atts ball&chain!!!!!!!!!!!!!1 :D:cool::)
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
no
[Galaxy Tab 8.9 SGH-i957 Android Development] Onismurai:
I heard that ICS Upgrade with come at June, if I flash the root kernel can I update normally in my tab when the ICS realease?
[Galaxy Tab 8.9 SGH-i957 Android Development] testulous:
I'd bet you can flash the stock ATT firmware when it rolls out just by using the OTA upgrade checker in honeycomb. Kernel won't make a difference.
[Galaxy Tab 8.9 SGH-i957 Android Development] brilliant:
Hi, Is the GSM phone call enabled with this ROM? thanks

---------- Post added at 08:47 AM ---------- Previous post was at 08:34 AM ----------

Hi, Croak. I am new to here, but I wonder if the GSM phone call is enabled in this new firmware? Also I wonder where I can get the ATT old firmware when necessary? thanks you so much for sharing.
[Galaxy Tab 8.9 SGH-i957 Android Development] quitofire532:
noob question

So, if I rooted my tab with method one, and I factory reset everything, where does that leave my tablet? Would it be bricked? Would it remove the root? I read somewhere that once you root, you can't update nor can you factory reset. I just want to know before I screw something up. Thanks so much!
[Galaxy Tab 8.9 SGH-i957 Android Development] tdisonline:
Bricked my tablet

Hi, I think I bricked my tablet while trying to root it with Method 1 described here. Can any one help me unbrick it? Any way i can recover from this?
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
factory reset will *almost* never brick your device, and in this case it wont. i have factory reset many times with both methods and it is fine. You probably dont want to do a kies or ota update with a custom kernel or a custom recovery, which these both have, so in that case you would just odin back to stock and go from there. You can definitely factory reset no matter what. the only time i wouldnt recommend it is if a cm9 comes out for the tab, funny things happen with factory resets which arent done from the recovery menu, but that may have been fixed.

i have to update the OP, i would actually recommend TWRP instead of CWM from now on.
[Galaxy Tab 8.9 SGH-i957 Android Development] orlandoxpolice:
Going to have to give more information than that. The more information you can give the better. What step did you get to?
[Xperia Play General] Erikwithafro:
tl;dr :P

Seriously though, that's awesome. Hopefully this gets implemented and put to good use!
[Xperia Play General] bigbison:
Yeah I just had to scroll down to see if there where any reply's and it is damn long.

Most of it is example code which can be skipped unless your actually going to use it, the first section tells you what you need to know.

Also anyone can take this tutorial and put it anywhere people may want to see it if they want
[Xperia Play General] Reapman:
Sweet, thanks for posting! I've only done a bit of development, and eventually want to get a game going - this is bookmarked and thanked!!!
[Xperia Play General] wiffeltje:
bigbison,

I've also been playing a bit with the native app example. And I still have some questions and didn't find a good place to ask them. So, maybe you can help me out ?

If I understand it correctly ...

The onAppCmd and onInputEvent are called from within the main application thread.

The android_main is running in a seperate thread.

But I don't see any mutexes (or other locking mechanism) in place to prevent simultaneous access to the same application data from both threads. Could it be that your code (and also the standard example code) is not thread-safe?

Are we up for some random crashes ? Or am I missing something ? (I hope so ...)
[Xperia Play General] Miles Wolf:
Dear XDA Admins...

PIN THIS THREAD RIGHT NOW!!!

...thank you. :)
[Xperia Play General] twe69:
Nice post, hopefully helps someone....

Just to let you know there is an emoticon in your code that should be fixed....

thanks.
[Xperia Play General] Hogwarts:
Just wanted to say im a big fan of Zeus Arena. Its really nice.

Very fun to play offline to

Great work man. you got the Xperia controls working perfectly
[Xperia Play General] wiffeltje:
Just answering my own question. :o

After posting my question I took yet another look at the android_native_app_glue code and how the ALoop_pollAll interacts with that. And looking at it again, I think I get it.

It looks like the threading is OK and that (most of) the main loop won't be able to run when the call-back functions are running. So, that should be OK.

So, I did overlook some things :o

Sorry to disturb you a little bit too early with my question.
[Xperia Play General] ninjatjj:
OnNativeKeyPress

Hi,

I am trying to follow this a little, I can access the touchpad just fine in my nativeactivity but I have lost all access to onKeyDown and onKeyUp using the Sony tutorial. Your code mentions OnNativeKeyPress but I can't see you calling this anywhere, is this expected?

Thanks for any pointers you can offer!
[Xperia Play General] twistedumbrella:
If you're still searching:

static
int32_t
engine_handle_input( struct android_app* app, AInputEvent* event )
{
JNIEnv *jni;
(*jVM)->AttachCurrentThread(jVM, &jni, NULL);

struct ENGINE* engine = (struct ENGINE*)app->userData;
if( AInputEvent_getType(event) == AINPUT_EVENT_TYPE_MOTION )
{
int nPointerCount	= AMotionEvent_getPointerCount( event );
int nSourceId	= AInputEvent_getSource( event );
int n;

jboolean newTouch = JNI_TRUE;
for( n = 0 ; n < nPointerCount ; ++n )
{
int nPointerId	= AMotionEvent_getPointerId( event, n );
int nAction	= AMOTION_EVENT_ACTION_MASK & AMotionEvent_getAction( event );
int nRawAction	= AMotionEvent_getAction( event );
struct TOUCHSTATE *touchstate = 0;

if( nSourceId == AINPUT_SOURCE_TOUCHPAD )
touchstate = engine->touchstate_pad;
else
touchstate = engine->touchstate_screen;

if( nAction == AMOTION_EVENT_ACTION_POINTER_DOWN || nAction == AMOTION_EVENT_ACTION_POINTER_UP )
{
int nPointerIndex = (AMotionEvent_getAction( event ) & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) >> AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT;
nPointerId = AMotionEvent_getPointerId( event, nPointerIndex );
}

if( nAction == AMOTION_EVENT_ACTION_DOWN || nAction == AMOTION_EVENT_ACTION_POINTER_DOWN )
{
touchstate[nPointerId].down = 1;
}
else if( nAction == AMOTION_EVENT_ACTION_UP || nAction == AMOTION_EVENT_ACTION_POINTER_UP || nAction == AMOTION_EVENT_ACTION_CANCEL )
{
touchstate[nPointerId].down = 0;
}

if (touchstate[nPointerId].down == 1)
{
touchstate[nPointerId].x = AMotionEvent_getX( event, n );
touchstate[nPointerId].y = AMotionEvent_getY( event, n );
}
int handled = 0;
if( jni && g_pActivity ){
(*jni)->CallVoidMethod( jni, g_pActivity, javaOnNDKTouch, nRawAction, touchstate[nPointerId].x, touchstate[nPointerId].y, nSourceId, 0, newTouch);
}
newTouch = JNI_FALSE;
}

return 1;
}
else if (AInputEvent_getType(event) == AINPUT_EVENT_TYPE_KEY){
int action = AKeyEvent_getAction(event);
int keyCode = AKeyEvent_getKeyCode(event);
if(jni && g_pActivity){
if((*jni)->ExceptionCheck(jni)) {
(*jni)->ExceptionDescribe(jni);
(*jni)->ExceptionClear(jni);
}
(*jni)->CallIntMethod(jni, g_pActivity, javaOnNDKKey, action, keyCode, AKeyEvent_getMetaState(event));
}
}
return 0;
}

taken from: https://play.google.com/store/apps/details?id=zeus.arena.source&hl=en&rdid=zeus.arena.source

Btw: The application should not be run. It doesn't work and will waste your time. Open the APK with a file browser and get the 7z out of the assets manually. There are plenty of places to copy that code from, but I guess it wasn't on Sony's developer page :/
[Xperia Play General] ninjatjj:
Thanks for the code snippet, I managed to get this working already: github.com/ninjatjj/btjoypad
[Xperia Play General] twistedumbrella:
Alright. I just added support to reicast and stumbled on this trying to find the Sony page that moved. This is a very basic copy paste implementation. It should really explain the what and why if it's going to leave out so much.

I'll take a look at how you did it shortly and let you know if there's anything I did that might help. I rewrote a lot of the native to allow skipping over the input for everything but the Play.
[Xperia Play General] ninjatjj:
Much appreciated - I was actually checking out reicast yesterday but I don't have my MvC rom with me (on holiday) - are you getting decent performance on the xperia play? That is one device that definitely needs a hardware upgrade soon.
[Xperia Play General] twistedumbrella:
I saw you're using the full native version so not much I did will have any benefit. I use the native just to pass back to the Java for ease of use now since everything else is Java-based.

It is starting to. It doesn't work on Gingerbread due to memory allocation issues with the build but I get the cutscenes at about 60 fps and gameplay is anywhere from 20 to 40 depending on how intense the scene is. That's what I've been working on, though. Every little option to squeeze another 10 or so out of it.
[HTC Inspire 4G] Droidgotti:
Can someone post a link to latest gapps for ICS I did a search and couldn't find one thank you

Sent from HTC Inspire 4g flexing ICS 4.0. via XDA Premium
[HTC Inspire 4G] MMM-BACONSTRIPS:
Please use the respective q & a thread for questions for specific roms
[HTC Inspire 4G] glevitan:
This might help....

http://xdaforums.com/showpost.php?p=19954835&postcount=2
[T-Mobile Samsung Galaxy S II SGH-T989] Branso07:
What do you guys think is the best screen protector for this phone? I have been looking on Amazon and they have been getting bad reviews on them.I ordered a mirrored one and that was a terrible middle because I couldn't see anything if there was any sunlight on the device. Any screen protectors like the Apple one where it is anti fingerprint? I'm thinking of trying the Zagg screen protector but I use Swype a lot and don't like my finger sticking to the screen.

Sent from my SGH-T989
[T-Mobile Samsung Galaxy S II SGH-T989] kwstryk3r:
I just received my ZAGG screen protector in the mail today. I'll let you know what I think once I put it on. My buddy has one on his IPhone, and I liked it because my finger DID NOT stick when I was sliding it around. I have seen other screen protectors that made my finger stick.
[T-Mobile Samsung Galaxy S II SGH-T989] crookshanks:
I've had a Zagg on my iPad, iPhone, Fascinate, Thunderbolt, Galaxy Tab, Galaxy 10.1 and now my Hercules. My finger has stuck to the screen exactly 0 times in the 2 years I've been using them and I've used Swype with every one of those devices.
[T-Mobile Samsung Galaxy S II SGH-T989] p.a.d.g.:
I also prefer ZAGG's invisible shield. I had one on my Glacier and loved it so I grabbed one for my S II. You can usually find them several dollars cheaper on ebay or amazon.

I only use the screen protectors by ZAGG, but if you get a full kit, remember that you might run into fitment issues with tight-fitting cases. A full shield and a case seems redundant to me, anyway.