yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 8.9 Android Development] Jnn1:
This. This is the way to go if you run into any unexpected problems. It's saved my 8.9 quite a number of times. :)

---------- Post added at 06:52 PM ---------- Previous post was at 06:50 PM ----------

I should add, I'm safely and pleasantly running jb 4.3 aosp on p7310 after Odin flashing stock rom first too.
[Galaxy Tab 8.9 Android Development] harry_fine:
Just installed. Full wipe. Install seemed to go well, 7300. Wifi works, I can browse. But when I go into the Playstore, and try to download my applications, I get errors with everything. Cleared cache for Playstore, didn't make difference.

Any ideas?

FIXED - Removed account, added again. Worked fine.
[Galaxy Tab 8.9 Android Development] wavemaster00:
I have the keyboard from Samsung for this tablet.

The tablet locks up when I insert it into the keyboard.

When I reboot I have lost all my Exchange account settings as well as all the settings for the Live email accounts.
[Galaxy Tab 8.9 Android Development] pax0r:
I checked how the ro.sf.hwrotation is implemented on CM and I found something worth a try but I dont have HDMI adapter to check it by myself.

Here:

https://github.com/CyanogenMod/andr...rvices/surfaceflinger/SurfaceFlinger.cpp#L677

The rotation is applied only if type == DisplayDevice::DISPLAY_PRIMARY and I suppose HDMI may be DISPLAY_EXTERNAL.

It wont fix the bootlogo (but srsly is this such a problem?) but may (or may not ;) ) fix HDMI rotation problem.
[Galaxy Tab 8.9 Android Development] C-o-M:
The problem is somewhere deeper: you can apply the rotation there and you will get a correctly orientated output. BUT, the (hardware) display resolution reported to SurfaceFlinger is still 720x1280 instead of 1280x720.
[Galaxy Tab 8.9 Android Development] chienline:
I think I know what you mean. I have saw the output once like this. The orientation is correct but the output is in portrait mode.

So there are blank spaces [black] on the left and the right sides of your TV output. Isn't it? :)

Although this thread is quieter now.. but this rom is real good for daily use for sure :highfive:

Should we move on to Key Lime Pie? :laugh:

I'll always be ready to give it a test ;)
[Galaxy Tab 8.9 Android Development] john317:
Me 2
[Galaxy Tab 8.9 Android Development] DemonGloom:
We will port it, when it's source is availiable. That won't take too much time.

That's not so easy. One of the main problems - we have only one DISPLAY and it is called PRIMARY. HDMI is rendered just to a buffer, it is not an additional external display. Our hardware libs just don't know anything about that technology - it was introduced in android 4.2 :(

BTW, i've tested your change to see if the miracle is going to happen. But there are no miracles in our cruel world :)

Latest dumps of SurfaceFlinger and Display with connected hdmi are attached.
[Galaxy Tab 8.9 Android Development] pax0r:
So the HDMI is rotated because display must be rotated for LCD screen and should not be for HDMI but there is no (known) way to distinguish them?
[Galaxy Tab 8.9 Android Development] DemonGloom:
Much worse. HDMI is always rotated, even if we remove rotation for LCD. And that happens on any tegra2 device with vertical screen (like i9103, LG Optimus 2X and so on).
[Galaxy Tab 8.9 Android Development] smoschi:
taptap & smart screen app are working with proximity sensor on this ROM?

Hello guys and thank you for this thread,

i would like to install the taptap app or smart screen app from market, to wake up my tab from sleepmod without hardware keys. Why? I use now only my galaxy tab 8.9 to control my sonos devices and to control my smarthome devices like power, temperature, shut or open windows-jalousie or to open doors & windows ... and its installed in the wall of my kitchen but its too stupid to press always the power button from tab.

We got a proximity sensor on p7300 and i would like to know, if under this rom smart screen auto unlock will work to toch only the screen to wakup without hardware power button.

thank you
[Galaxy Tab 8.9 Android Development] C-o-M:
Why don't you just try it and report is the result?

I don't think that those apps work properly on any device. Why? In most cases, the touch device is off when the tab is sleeping. IMHO moto implemented the double-tap-to-wake-up feature in hardware (like they did for the always listening microphone or Apple did for the new always on motion sensor).

I'm also not sure if it's possible to access the proximity sensor in deep sleep. Since there is no reason for this, I guess it's disabled to save battery. So I guess those apps prevent the tab from sleeping to read the sensors. Normally that is a huge problem, but in your case (of you have connected the tab to power permanently) it shouldn't matter.
[Galaxy Tab 8.9 Android Development] pax0r:
I saw a kernel mod sweep2wake that allows swiping the screen to wake up device.

Still to use it you need to modify the kernel and it may be kind of hard as I saw it for 2.6.x kernel and for diffrent touchscreen...
[Galaxy Tab 8.9 Android Development] C-o-M:
Link?
[Galaxy Tab 8.9 Android Development] pax0r:
I think this was the first that I saw

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

and with google I found that this one has this feature also:

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

It may be little more cleaner as I hook up into sources: https://github.com/faux123/mako/blob/jb_mr2/drivers/input/touchscreen/sweep2wake.c

But still it is for LGE touchscreen driver, so it may need rework

prblby there are more on xda
[Galaxy Tab 8.9 Android Development] andray:
So we still have no clue why screen turns black?
[Galaxy Tab 8.9 Android Development] pax0r:
Hm... I can't get ADB to work, have you guys have simmilar problems? The adb dont see any devices (even in offline state) and tablet dont asks about fingerprint, even that the debug notification is in notification bar. I also tried of reinstall drivers on Windows without sucess...
[Galaxy Tab 8.9 Android Development] upconvert:
In developer settings, under root, make sure it is set to apps and adb.
[Galaxy Tab 8.9 Android Development] chienline:
Yes. It's kernel Mod. I use Meow Kernel on my Yuga [xperia Z] which has Sweep2Wake and DoubleTap2Wake, and yes they both work flawlessly :)

Only Sweep2Sleep which is not yet working, but they say it works on some devices and I guess it might be Nexus.

You can click on my signature, on Meow Kernel :)

It's moded by jeroenqui for xperia Z, and he is a very nice person I think ;)
[Galaxy Tab 8.9 Android Development] DemonGloom:
HDMI rotated, reboot is partly working. Reboot issues appeared with latest kernel patches, as far as i remember.

Some people say about blackscreen issue with backlit on (don't have it myself, though I use slightly different kernel config).
[Galaxy Tab 8.9 Android Development] OmarEinea:
+ For me the jb windows animation is not working, the screen gets

black then the next app unlike the original jb animation

and the notification drower toggles aren't appearing after flashing the

safariking TabletUI on Cyanogemod I don't know if this is your concern or not

and the latest good build without the current issues is the

2013-Sep-13 build, I hope you'll come up with a new release soon

thank you for your work
[Galaxy Tab 8.9 Android Development] mDam:
Guys, how to copy rom/gapps after wipes(data/factory-cache partition-dalvik)? Cleaning and did not had the rom/gapps on the equipment. :(
[Galaxy Tab 8.9 Android Development] chienline:
Using 09-13 no major problem.

On your prev post you said that Keyboard Dock is completely broken when you fix 3G, but I don't own one :D
[Galaxy Tab 8.9 Android Development] pippone121263:
I don't know about the keyboard Dock, but the 3G is working just fine.

Thanks
[Galaxy Tab 8.9 Android Development] pax0r:
3G working fine on mine device. I sometimes have a problem with active black screen after lock which drains battery rly fast.
[Galaxy Tab 8.9 Android Development] chienline:
Yes. That one is also a known bug.

Turn off LockScreen Auto Rotate will minimalize active backlight on lock ;)

Althogh I still encounter backLight strobe [on-off-on-off] once a while, but not often.

My advice is : do not trigger rotation within 2 seconds after you press the power button to lock :D

See if you still have the active BackLight on lock ...
[Galaxy Tab 8.9 Android Development] andray:
Does A1 kernel solves screen-turns-black problem? installed it.

UPD. Yes, it does solves the problem.
[Galaxy Tab 8.9 Android Development] C-o-M:
Does the A1 kernel has the reboot issue as well?
[Galaxy Tab 8.9 Android Development] OmarEinea:
It dose for me

I always use A1 kernel on my tab
[Galaxy Tab 8.9 Android Development] DemonGloom:
No reboot issue with A1 kernel. Seems that we have problem somewhere in device tree, not in kernel source. That bug also exists in recovery, if you build it now. I've tried to use my old config and original Samsung P7300 ICS source, bug still persists. Any prebuilt kernels i have work without that problem.

We need to go deeper :)
[Galaxy Tab 8.9 Android Development] C-o-M:
Thanks for testing. I don't think it's the kernel itself. I use exactly the same kernel on CM10.1 and it's fine. Must be an incompatible driver or blob. If replacing with A1 kernel solves the issue, it has to be one of the files in boot .img.

Did the xoom guys have similar issues?
[Galaxy Tab 8.9 Android Development] DemonGloom:
No problems on Xoom or GT10.1, as i see.

BTW, welcome to http://xdaforums.com/showthread.php?t=2516442 . They got some progress on building 4.4 for GT10.1.
[Galaxy Tab 8.9 Android Development] jolinnard:
Hello,

I'm trying to build CM10.2 following these indications: http://xdaforums.com/showpost.php?p=45745291&postcount=165

I have done it in the past and it works, but this time it doesnt build. I have applied the local_manifest.xml posted before. My box is running Arch Linux (x86_64), fully upgraded, with JDK 6 (official binary from Oracle) and make v3.81. Perhaps am I missing something?

Thanks
[Galaxy Tab 8.9 Android Development] pax0r:
If you are just saying that it does not building we cannot help you. Post an error (and before posting check it in google) and we may be able to figure out. Also remember that you need a lot more than just JDK and make. Official guides are for Ubuntu so I dont know what would you need to install on Arch.
[Galaxy Tab 8.9 Android Development] C-o-M:
This is not a library error. It looks like your c++ compiler is configured to behave like a little girl ;) I've never seen that this warning (unused parameter I'm method) is threat as error.
[Galaxy Tab 8.9 Android Development] jolinnard:
figue ~/android/system $ LANG=C gcc --version
gcc (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The origin package is from the multilib repo as is defined in the wiki: https://www.archlinux.org/packages/?name=gcc-multilib
[Galaxy Tab 8.9 Android Development] C-o-M:
I searched a bit and found different things: some versions of gcc seem to have problems (I use 4.8.2 as well, but the debian version, maybe it's patched), some optimization flags can be problematic, and finally bugs in the source code.

Which cmd line calls do you exactly use to build?
[Galaxy Tab 8.9 Android Development] jolinnard:
Thanks, I have done a resync of all repo, maybe could be some corruption in the prebuild gcc (prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7). This is what it uses by default, right? Did you tried with linaro in the past?

It's compiling right now... Hope this time works :fingers-crossed:

Edit: Build complete...
[Galaxy Tab 8.9 Android Development] DemonGloom:
Seems that the best solution is to switch back to prebuilt images. I've built kernel on top of cm10.1 sources with audit/security enabled, flashed it to the tablet with sgt7 (cm10.2) and everything works great. No problems with 3g or reboot issues.

BTW, the problem is not in a ramdisk, as old kernel works with new ramdisk without problems.
[Galaxy Tab 8.9 Android Development] C-o-M:
So it makes a difference whether you build the same kernel sources in CM10.1 or CM10.2 branch? The device tree is not used for kernel building, so it must be something different.
[Galaxy Tab 8.9 Android Development] DemonGloom:
They even have different sizes with the same kernel sources and configs. Kernel build on top of cm10.2 sources have reboot issue. Kernel build on top of cm10.1 have broken wifi (doesn't turn on, no errors in log) and no reboot issue.
[Galaxy Tab 8.9 Android Development] C-o-M:
I've done a little research and can confirm your findings. Saying that, it doesn't have to do with CM10.1 vs CM10.2. The build does not use any files from outside the kernel directory, neither from CM externals nor from the device tree (I double checked using inotify). The only difference is the gcc version which is used for compiling:

4.2:

make -C kernel/samsung/p5 O=cm10.1/out/target/product/p5wifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="cm10.1/prebuilts/misc/linux-x86/ccache/ccache cm10.1/prebuilts/gcc/linux-x86/arm/[COLOR="Red"]arm-eabi-4.6[/COLOR]/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p5wifi_defconfig
make -C kernel/samsung/p5 O=cm10.1/out/target/product/p5wifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="cm10.1/prebuilts/misc/linux-x86/ccache/ccache cm10.1/prebuilts/gcc/linux-x86/arm/[COLOR="red"]arm-eabi-4.6[/COLOR]/bin/arm-eabi-" headers_install

4.3:

make -C kernel/samsung/p5 O=cm10.2/out/target/product/p5wifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="cm10.2/prebuilts/misc/linux-x86/ccache/ccache cm10.2/prebuilts/gcc/linux-x86/arm/[COLOR="red"]arm-eabi-4.7[/COLOR]/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p5wifi_defconfig
make -C kernel/samsung/p5 O=cm10.2/out/target/product/p5wifi/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="cm10.2/prebuilts/misc/linux-x86/ccache/ccache cm10.2/prebuilts/gcc/linux-x86/arm/[COLOR="red"]arm-eabi-4.7[/COLOR]/bin/arm-eabi-" headers_install

We should look for gcc 4.7 related commits in other (Tegra2) kernel sources.
[Galaxy Tab 8.9 Android Development] lojden:
Will you build any 4.4 builds in the future c-o-m?
[Galaxy Tab 8.9 Android Development] martin707:
I don't speak for C-O-M, but I think we should all understand that this is a 3 year old device that hardly sold numbers.

I gave my 8.9 to my mom with this ROM installed and she loves it. I bought a new nexus 7 2013 and that should future proof me for the next 4 years.

Not that C-O-M can't do it, but everyone has a life to live too. He's done more than enough to this small community and picked up where AA left off.
[Galaxy Tab 8.9 Android Development] lojden:
Yeah i understand that, but i love the size of it. I think the nexus 7 is too small..
[Galaxy Tab 8.9 Android Development] harry_fine:
Would it be better to just downgrade to [ROM][4.2.2][P7300/P7310][UNOFFICIAL] CyanogenMod 10.1 [10.1.3, 2013-Oct-22] if this 4.3 version is not being developed any further? Is the 10.1.3 more bug-free?
[Galaxy Tab 8.9 Android Development] DemonGloom:
Don't worry, C-o-M is still improving cm10.2. Next version will fix reboot issue, for example. He had already merged those changes to repo. We just need to wait a bit for new build.
[Galaxy Tab 8.9 Android Development] C-o-M:
Build is up.
[Galaxy Tab 8.9 Android Development] OmarEinea:
Man, I don't believe you are still developing for this old device

you are our hero, you are our last hope :o

thank you so much

especially for fixing the reboot bug and for new 4.3.1 update

But I think there is a new bug now

camera is not working

when I open the camera app

it shows me "No external storage available"

and it closes after pressing OK

another thing, the recent apps function isn't working anymore

nether by pressing the recent app button nor by holding the home

button, any suggestions why these bugs weren't existed in the previous one

Never mind, all gone
[Galaxy Tab 8.9 Android Development] mail_venu:
Thanks for the build... We enjoy your work. Thanks for your time building roms for this device.

Is there anything do you want us to test especially?
[Galaxy Tab 8.9 Android Development] john317:
Love you just plain love you C O M
[Galaxy Tab 8.9 Android Development] harry_fine:
Thanks so much C.O.M. Fixed the shutdown and reboot issue. Did a dirty upgrade, just wiped caches. What a great tablet after over 2 years.
[Galaxy Tab 8.9 Android Development] zooster:
How is battery life and smoothness compared to stock ics?

Do games stutter? I tried times ago cm10 and I found 3 downside that pushed me to go back to ics:

home screen and app drawer not as smooth as ics, worse battery life, games stuttering a little bit. I wonder if these issues have been fixed now.
[Galaxy Tab 8.9 Android Development] jolinnard:
New build is great! With (the old) A1 kernel I have a huge battery drain, but this build seems to return to normal life. Thank you.

IMO speed it's the same as all CM10.2 builds, and it's enough for me.
[Galaxy Tab 8.9 Android Development] Jnn1:
C-o-M, you rock! :good:

Many many many thanks! It is really lovely to have a fully functional JB 4.3 (CM 10.2) on our GT 8.9s, a good-as-extinct dinosaur by android standards! I love the form factor too much that I cling onto it, but without your ROM builds, I couldn't make it my daily driver either.

I admit, I personally do miss the traditional Tablet UI and flexibility available in AOKP builds, but more than anything else, it's fabulous to have a well working JB 4.3!
[Galaxy Tab 8.9 Android Development] OmarEinea:
Well, I pm safariking last night and he told me

that he will cook a tablet UI patch for us today:D

so let's hope he'll do it, and fast
[Galaxy Tab 8.9 Android Development] wavemaster00:
Thanks for the update.

I can report the keyboard is working again.

Don't think it is charging over USB;

Main camera is all grainy, on the screen but also pictures taken

Boot animation is still messed up.

Everything is moving a bit quicker.

Fact that the Samsung keyboard works again is a major advantage.

Thanks.
[Galaxy Tab 8.9 Android Development] zooster:
I think that tablet ui can be forced through xposed frawemwork app from xda... Did anyone try it?
[Galaxy Tab 8.9 Android Development] Jnn1:
Wow. Didn't know such a thing existed, so I had to try. And it seems to work!

Followed this thread :

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

Especially this post for Windows PCs:

http://xdaforums.com/showpost.php?p=31648393&postcount=690

The ApG.2.6.0.2 program in the above thread created flashable zips to modify to Tablet UI, as well as a restore zip too. And as far as I can see, they seem to work as intended! Not as flexible and modifyable as AOKP, but personally, very very very happy to have Tablet UI back !!
[Galaxy Tab 8.9 Android Development] zooster:
Glad it worked, did it brake anything? Quick settings or something..?
[Galaxy Tab 8.9 Android Development] harry_fine:
Upgraded. Plugged my P5 into my desktop pC's USB port at 86 percent, checked a couple hours later and it was 100 percent. So it appears to me that USB charging works with this new ROM. Thanks C.O.M.
[Galaxy Tab 8.9 Android Development] wavemaster00:
I rechecked, tried a different cable, no USB charging on mine. It charges fines when connected to an outlet.

The USB port is good as I charge other devices from it.

Also, it looks like setting up Exchange results into an error message " Unfortunately email has stopped".
[Galaxy Tab 8.9 Android Development] harry_fine:
Anyone having problems with Twitter. Cleared cache. Uninstalled. Reinstalled. Won't run!
[Galaxy Tab 8.9 Android Development] zooster:
Why don't you post a logcat, it may help.
[Galaxy Tab 8.9 Android Development] Jnn1:
As far as I can tell, no. It's no flexible like AOKP, so we're stock with the older strip style quick settings etc, but it didn't break anything.

---------- Post added at 03:05 AM ---------- Previous post was at 03:02 AM ----------

I have the same problem setting up pop3/imap in the stock email account, tough I can live without it.
[Galaxy Tab 8.9 Android Development] jpq:
Email exchange f/c
[Galaxy Tab 8.9 Android Development] safariking:
Yes it only breaks quicksettings
[Galaxy Tab 8.9 Android Development] zooster:
Here http://xdaforums.com/showthread.php?p=47846371 says that the mod breaks quicksettings. So it doesn't break them to you?
[Galaxy Tab 8.9 Android Development] StarkCity:
It's due to the twitter update, new permissions for hardware access didn't jive similar to the way the google search APK failed to work for us. I just reinstalled an older version for now. I noticed they updated the app again. Not sure if it works.
[Galaxy Tab 8.9 Android Development] Jnn1:
I was mistaken. I hadn't bothered to change the quick settings, but now I see that even if I change the quick settings in cm interface, they are stuck with default quick settings.
[Galaxy Tab 8.9 Android Development] wavemaster00:
I have gone back to 10.1

I can confirm that the charging indicator is not working here either, however, it does charge over USB, it just does not show it.

Maybe that is the same thing as with 10.2

Camera, Exchange, keyboard all work correctly.
[Galaxy Tab 8.9 Android Development] zooster:
Why did you go back to 10.1? Just for charging indicator?
[Galaxy Tab 8.9 Android Development] Pfeffernuss:
Charging indicator, while using USB, works just fine.
[Galaxy Tab 8.9 Android Development] wavemaster00:
Exchange is messed up and so is the camera, on mine.

10.1 has that working again.
[Galaxy Tab 8.9 Android Development] zooster:
I've noticed just two annoying issues.

1) wifi connex is erratic, sometimes appears linked but actually without connectivity, other times there's connectivity but slow.

2) text is not good. It's kinda bold and not sharp. No matter how small or big it's set, still bold and not sharp, especially in-app.

Edit:

Connex often is impossible.

I cannot add a second google account with two steps authentication (the first and main one was fine).
[Galaxy Tab 8.9 Android Development] linw:
Mine has no trouble with wifi. Never has had, actually, with various cm generations.

Can't say I see any text problems, either.

(I ran this latest version over the AOKP with a 'dirty' install).
[Galaxy Tab 8.9 Android Development] zooster:
Ok, I've refleshed it and wifi problems went away. But still remain a couple of issues:

1) youtube hd video are laggy compared to stock ics. They stutter a lot, every single youtube hd video does stutter, while with stock ics only some of them did, just when the scene became complex.

It's like gpu acceleration doesn't work as it should, forcing it in developer option doesn't help.

Smoothness is more honeycomb than ics, something is not rightly or fully implemented/working.

2) under performance menu there's no option about visual settings for dithering.

3) text is not as sharp as it used to be under ics, kinda bold, and I think it's due to previous missing option that in cm 10.1.3 was present and that did help.
[Galaxy Tab 8.9 Android Development] zooster:
[MENTION=3081699]C-o-M[/MENTION] can you please add back dithering option under performance menu?

I've seen that in some CM10.2 for specific devices it has been removed, maybe you followed those commits but I think it's very useful for our tab.

10.2 seems more snappy just because dithering is disabled but it causes bad text.

Anyway I think that video performance should be investigated because it's poor compared to stock ics, my impression has been confirmed when I measured real time FPS of transitions in home and drawer, and they are quite low, about 14.

Project butter doesn't seem implemented here, but beside project butter I think ther's some issue with video/graphic performances.
[Galaxy Tab 8.9 Android Development] C-o-M:
AFAIR it was removed by default. Do you know any device where it's still available?
[Galaxy Tab 8.9 Android Development] Idlekilla:
How does it compare to aokp 4.3 you think, zooster, stutter-wise? In my opinion 4.3 aokp is by far the smoothest rom som far. What benchmark app is best suited to test my stand?
[Galaxy Tab 8.9 Android Development] leonbarroso:
the aokp is smooth but have graphical/camera/youtube glitches