yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 8.9 Android Development] C-o-M:
This is not a fix. This is a black box hack. Please tell what's inside.

From a quick look into the zips I see:

1) No change to my ROM. Maybe the binaries are from another stock ROM? Mine are from the latest Open Austria.

2) khomsn doesn't seems to be willing to tell anybody what he exactly did. Pershoot asked him a long time ago: http://xdaforums.com/showpost.php?p=33128784&postcount=4. If he would share his knowledge, this would have been integrated in CM10 (and in CM10.1) since October last year. So please stop spreading black box stuff. Ask him to open it instead.

Third result on Google for "logcat": http://xdaforums.com/showthread.php?t=1726238

Please read this thread. This has been discussed often enough.
[Galaxy Tab 8.9 Android Development] nqk:
Dear C-o-M,

I like to try this rom but the "downgrade" process confuses me. I need to make sure of "downgrade" 'cause I had problem with C10 before (I have never been able get my p7300 to run with KK's C10 rom - no wifi, sluggish performance).

So, as far as I understand it, the process would be like this

(using the updated CWM Recovery)

1) Wipe all

2) Flash Rom

3) Still in Recovery, try ADB and enter the following command

adb shell
# cd /sdcard/
# rm -rf legacy/
# rm -rf obb/
# mv -f 0/* .
# rm -rf 0/

4) Reboot

Is that right?
[Galaxy Tab 8.9 Android Development] C-o-M:
Yes.
[Galaxy Tab 8.9 Android Development] DemonGloom:
1) rild and lib from http://xdaforums.com/showthread.php?t=2050205

2) That's why there are two versions - one with correct files and one with files from khomsn.

Smaller version works correctly. Are you sure, that your files are from Open Austria for P7300? I'll check odin image now if you want.
[Galaxy Tab 8.9 Android Development] pax0r:
I checked few pages but this topic is too long to read it all ;)

But from what I get it is to build with something called tablet UI?

I found some post releated to this for 10.1, mby when I will have some more free time I will try to add them somehow. With your manifest I should get the buildable source out of box?
[Galaxy Tab 8.9 Android Development] C-o-M:
You can compare with my blobs: https://github.com/cmorlok/proprietary_vendor_samsung/tree/cm-10.1/p5

I think rild and libril is build from source.
[Galaxy Tab 8.9 Android Development] C-o-M:
CM10.1 does not include those ugly up-port of the tablet UI framework. For good reasons. You have to use PA or AOKP when you want to have it.

Nonetheless, there are patches for the up-port. And yes, this ROM is build-able with the manifest from the first site.
[Galaxy Tab 8.9 Android Development] DemonGloom:
Yes, seems that your version tries to build them. Probably we need to use them from Austria firmware, like some other hardware blobs..

*Update

I've checked files in odin image - my "P7300_fix_calls_with_screen_off_mute.zip" has the same files. Though you can take them not from my zip, but from original firmware - just choose a source you trust.
[Galaxy Tab 8.9 Android Development] superiscch:
That is how Android 4.2 looks like... works fine here. You swype the left and right side down for settings etc. You can change the tiles on the left side, to add your sound etc.

Delete the clock on lockscreen and re-add it
[Galaxy Tab 8.9 Android Development] C-o-M:
What's the benefit of using Samsung's ril? Can incoming calls activated by just changing the android.hardware.telephony.gsm.xml?
[Galaxy Tab 8.9 Android Development] DemonGloom:
Everything depends on ril.

That XML just says to Market that our tablet is voice-capable, so we can see dialers /blacklists in market. There are a few better-looking ones than default.

The only thing we need now is to disable mute when screen off - that depends on Phone.apk
[Galaxy Tab 8.9 Android Development] C-o-M:
I see. Just looked into the code of my mobile. I'll do a new test build tonight.

Can anyone please send me a logcat with a call that got muted after screen off?
[Galaxy Tab 8.9 Android Development] DemonGloom:
I'll post a pair of logs now.

BTW, the problem is not just turning screen off, but turning it off by timeout. If you press power button - mute doesn't happen.
[Galaxy Tab 8.9 Android Development] ibanezq:
Which kernel was used for this ROM?

Wysyłane z mojego GT-I9300 za pomocą Tapatalk 2
[Galaxy Tab 8.9 Android Development] fred_be9300:
there are 7 ICS packages on Samsung's opensource related to the p7300. With no post dates. So I still wonder which one is "the newest" in the eyes of C-o-m ;)
[Galaxy Tab 8.9 Android Development] nexus_g:
Hi C-o-M, I hope you don't forget about us the p7300 guys. We are still waiting patiently for 3g to work. Thanks
[Galaxy Tab 8.9 Android Development] ibanezq:
Thx. :)

Wysyłane z mojego GT-I9300 za pomocą Tapatalk 2
[Galaxy Tab 8.9 Android Development] Der Straßenapotheker:
Does this help ?

http://www.xda-developers.com/andro...rs/ShsH+(xda-developers)&utm_content=FaceBook
[Galaxy Tab 8.9 Android Development] C-o-M:
GT-P7300_ICS_Opensource_Update1.zip, 2012-Dec-04
[Galaxy Tab 8.9 Android Development] fred_be9300:
I've looked at the opensource page top to bottom (in Firefox 17), but could not find the release dates. How did you find the date of the package? or is it in the download?
[Galaxy Tab 8.9 Android Development] C-o-M:
I've downloaded them all and looked at the timestamp inside the zip file.

Of course, that doesn't proof that the content is the newest. But it is the only officially released ICS source for our tab (7310 ICS update 2 has the same content and the Asian source releases all have some special Wifi settings)
[Galaxy Tab 8.9 Android Development] seba84_2005:
I can install on p7320?
[Galaxy Tab 8.9 Android Development] pseudoheld:
Don't think so :S

Gesendet von meinem GT-P7300 mit Tapatalk 2
[Galaxy Tab 8.9 Android Development] C-o-M:
No. The P7320 is a completely different device.
[Galaxy Tab 8.9 Android Development] Rickette:
Hi,

Just tested to install this new rom on my device.

I noticed an annoying bug though :

When you rotate the screen "Trebuchet" stops functionning.

I tried many things and noticed that it is caused when you deactivate the google search bar.

If the search bar is on the screen then no problem, you can safely rotate the device.

I know this isn't much and there will not be any support, but i am just pointing this out if anyone wonders...

Thanks for the work guys !
[Galaxy Tab 8.9 Android Development] shiko80:
Do you plan to also bring it back to the pershoot repository or even better to the CyanogenMod repository.

I think if you bring it back to the CyanogenMod repository also other people would start working on it.

There are only a couple developers of outstanding ability for our P73xx left and they should put their efforts together.

@safariking: Could you already find a way to support C-o-M

A fully working Android 4.2 would really be great for the P73xx! Thanks!
[Galaxy Tab 8.9 Android Development] C-o-M:
I'll send a pull request to CM as soon as Pershoot has pushed his changes for CM10.1.
[Galaxy Tab 8.9 Android Development] nexus_g:
Could somebody would be kind enough to provide a screenshots of how it look like? Thanks
[Galaxy Tab 8.9 Android Development] C-o-M:
Is anyone actually using this ROM?

0 downloads of the latest build. IMHO the builds before were unusable as daily driver :confused:
[Galaxy Tab 8.9 Android Development] quaver84:
It's the 'everything else: untested' that was holding me back to be honest. But WiFi, syncing etc ok? You feel it's ok to run as a daily now? I'll stick the tab on a charge...
[Galaxy Tab 8.9 Android Development] zmagas1:
i'm waiting to test P7300 version :rolleyes:
[Galaxy Tab 8.9 Android Development] yoyurik:
same here. subscribed for topic and waiting for 3g version. for now I'm on kk cm10.

thumbs-up!
[Galaxy Tab 8.9 Android Development] C-o-M:
Good to know. Then can you please send me two logs? One with turning screen off manually and one with screen off by timeout?
[Galaxy Tab 8.9 Android Development] nqk:
Dear C-o-M,

I couldn't wait to flash the ROM, so as soon as I came back home from work, I flashed this. :D. And guess what. I don't have the problems I had with CM10. Wifi works, no sluggish movement is felt.

But I have no Quick Setting panel. An in fact the notification drawer can only be drawn by swiping on the top left of the screen. Nothing happens if I swipe on the wifi signals for example.(I'm still downloading Gapps).

https://dl.dropbox.com/u/19135597/images/IMG_20130114_200855.jpg

And of course, it was shocking to see the weird boot animation at first. :D. But it is a known issue and not a big deal.

Thank you for your work. I'm gonna stick with this, waiting for further improvements.
[Galaxy Tab 8.9 Android Development] C-o-M:
I had that issue only with the first build. Can you please do a full wipe (including format /system) and reflash again?
[Galaxy Tab 8.9 Android Development] DemonGloom:
That's strange.. But it mutes now anyway.. Full_log - log from device start to end of second call

Short_log - from call start to call end

Sound goes off 1 second after screen off.

*FILE_DELETED*
[Galaxy Tab 8.9 Android Development] nqk:
I just did.

The problem is still there. :rolleyes:
[Galaxy Tab 8.9 Android Development] C-o-M:
Can you give me the same log with timestamps?
[Galaxy Tab 8.9 Android Development] DemonGloom:
Version with timestamps. Turned off bluetooth, so it does not interfere.

Screen timeout - 15 sec

*FILE_DELETED*
[Galaxy Tab 8.9 Android Development] nqk:
After flashing the Gapps, I got the Quick Setting panel.
[Galaxy Tab 8.9 Android Development] DemonGloom:
And one more log. I've synchronized my watch with tablet. Sound disappeared at 01-14 19:59:32

The problem is that there are no log entries at that time. And time on my watch and my tablet differs no more than 0.5 sec

*FILE_DELETED*
[Galaxy Tab 8.9 Android Development] C-o-M:
Good to know. Maybe it's because of the "change user" tile that shows your name? When I remember right, you never have to input a name when you don't install gapps.
[Galaxy Tab 8.9 Android Development] gumsle:
C-o-M you should add paypal to your account, I'm sure there are a few of us here that want to buy you a beer :)[/QUOTE]

+1 :)

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy Tab 8.9 Android Development] Der Straßenapotheker:
... Or a second test/dev tab ;)
[Galaxy Tab 8.9 Android Development] zmagas1:
+1 :)

Gesendet von meinem GT-I9100 mit Tapatalk 2[/QUOTE]

±1

---------- Post added at 08:51 PM ---------- Previous post was at 08:26 PM ----------

I have installed 2013-01-13 version over 2013-01-06 without wipe. No problems so far. Very happy :)
[Galaxy Tab 8.9 Android Development] adel alg:
themes problem

Thanks for the beautiful Rom I'm on the latest version pretty quick but lacks change themes every Theme Carry says is identical with the version I hope to find a solution to this problem?:)
[Galaxy Tab 8.9 Android Development] chienline:
I've tried the 2nd one and it works great. Now I can dial or receive calls with stock earphone or with built-in mic and speakers.

Haven't tried bluetooth handsfree to confirm 'not working', I forgot where I put it the last time I used :eek:

Anyway.. thanks to DemonGloom for the link, and C-o-M for the new build [I'm exploring the changes] :o
[Galaxy Tab 8.9 Android Development] ColinB63:
Build 6 flashed straight over Build 5, no wipes, no problems.:good:
[Galaxy Tab 8.9 Android Development] Henu:
Is there anyone using this particular ROM who has had any issues with time not updating while screen´s off (thus making all timers and alarms not working)? I´m having those problems with every single ROM except for stock HC, so I´d like to hear if anyone has encountered those with this one.
[Galaxy Tab 8.9 Android Development] martin707:
I had this issue during cm10 days. I installed timezone fixer and set the correct timezone. After the obligatory reboot, it was fixed. I updated directly from cm10.
[Galaxy Tab 8.9 Android Development] chienline:
Confirm that bluetooth handsfree is not woking.

I can pair. I can answer call using the button.

But there is no voice transfered, or there is a very loud "buzz" sound.

Anyway.. it's good to have P5 as emergency phone incase my primary phone hang :D
[Galaxy Tab 8.9 Android Development] martin707:
I don't know if it's a bug but it bothers me a bit. I've been watching a few nexus10 vids lately and i noticed that the dock icons are evenly spread at the bottom whereas this version on our device is somewhat compact. The dock icons appear to be squeezed in landscape. My scaling is 100%.
[Galaxy Tab 8.9 Android Development] sbE:
Sorry...off topic...but a small mulit-user question...

how are you backup the app data of your additional users??
[Galaxy Tab 8.9 Android Development] zmagas1:
I really like this feature as I get more space for videos.
[Galaxy Tab 8.9 Android Development] martin707:
I guess u have to log in to their account and do it in TB. Assuming that qccount has access to superuser. I heard theres a bug with superuser when accessing it using other accounts.
[Galaxy Tab 8.9 Android Development] Jaggle:
Yep, other accounts don't have root acces.

Verstuurd van mijn GT-P7310 met Tapatalk
[Galaxy Tab 8.9 Android Development] rosdol:
Possible SU /4.2 fix

Can this be of help for you ??

https://plus.google.com/10358393932...ACLSn#103583939320326217147/posts/4FemP5ACLSn

Br

Erik
[Galaxy Tab 8.9 Android Development] Jaggle:
I will try it out. Thanks!

Verstuurd van mijn GT-I9000 met Tapatalk
[Galaxy Tab 8.9 Android Development] C-o-M:
Multi user support has been added to SuperUser two months ago: https://github.com/CyanogenMod/android_packages_apps_Superuser/commit/9f906e04200148d2bc5a970d1ac7aa8013359625

Never tried it, but there is an option for it: preferences -> security -> multi-user mode.
[Galaxy Tab 8.9 Android Development] Jaggle:
I've tried it but still doesn't work

Verstuurd van mijn GT-P7310 met Tapatalk
[Galaxy Tab 8.9 Android Development] sbE:
for me it's working...but only with the "owner controlled" option.

TiBa now it's working BUT it backups all Apps...from all Users. So it's not a good idea to start TiBa from every User with the default workflow. It seems that we only should select the Apps for Backup that the User has installed. But that's not a sexy solution. :-/
[Galaxy Tab 8.9 Android Development] C-o-M:
I tried to reproduce with SIP calls. But nothing mutes here.

Can you please replace /system/app/Phone.apk by the attached one (be sure that the permissions are correct: -rw-r--r-- root root). It's just the same as shipped with the ROM but with debug logs enabled. Then send me a logcat (with timestamps) of a muted call. Would be great if you could also measure the time between the begin of the call and the mute.

[EDIT]Removed Phone.apk, the problem isn't there[/EDIT]
[Galaxy Tab 8.9 Android Development] NeverFlash:
Hi COM, thanks for ur hard work. It's that anyways to make camera metering function work coz sometimes need using the tab to take photo from projector slide:)
[Galaxy Tab 8.9 Android Development] C-o-M:
I've dissassembled the Phone.apk of the "call fix". The root cause isn't there. I need more input.

Can anyone who can reproduce the issue (call gets muted when screen is off) please send me (after the mute occured)

a logcat with timestamps

the output of dmesg
[Galaxy Tab 8.9 Android Development] Henu:
Is there anyone using this particular ROM who has had any issues with time not updating while screen´s off (thus making all timers and alarms not working)? I´m having those problems with every single ROM except for stock HC, so I´d like to hear if anyone has encountered those with this one.

I tried this, and surprisingly it worked for the first time and after that it stopped updating the time again (CM10). I wonder if my problem will persist with this 10.1 as well? I could give it a shot, so one more question: Have I understood right that I can get back to stock (erasing everything) easily with Odin after 10.1?
[Galaxy Tab 8.9 Android Development] DemonGloom:
But that phone.apk fixes problem. If the root cause is not there - how it works?
[Galaxy Tab 8.9 Android Development] martin707:
Hmmm it looks like your tablet is going through some sort of SOD issue. I would recommended you resolve this issue first before moving to 10.1. Are you using any kernel? If not, then i suggest flashing A1 kernel.
[Galaxy Tab 8.9 Android Development] Henu:
I´m using Kallt´s CM10 kernel. But the problem persisted on Tracid´s ICS and A1 as well. The only kernel that works for me is the stock 3.2 version. I´ve familiar somehow with the SoD bug, yet I can´t get rid of it- trust me, I´d rather solve it as well. :D

Could it possible be hardware- related? It seems that my system clock is halting and wakes up in half a second after I wake the tab manually up.
[Galaxy Tab 8.9 Android Development] C-o-M:
The root cause is that ril has problems when the device tries to get to sleep. I don't know exactly what happens there, this is why I need a dmesg from anyone.

The modified Phone.apk just sets a wakelock to prevent the tab from sleeping. This is a suitable workaround, but - obviously - I cannot push this hack to CM.
[Galaxy Tab 8.9 Android Development] martin707:
I doubt it would be hardware related. Can you screen capture and post your Date and time settings? Lets compare settings with mine.
[Galaxy Tab 8.9 Android Development] Henu:
I can do it when I get home- but I´ve tried everything and then some, including leaving Wi-fi/ 3G on, automatic time on/ off, different governors, younameit. So I doubt they are much help here. :( I actually called Samsung´s official repair service and asked if the problem could be hardware- related and here´s what they responded (translated from Finnish):

So it could techically also by a hardware- fault. I was wondering that the reason it keeps running ok on the stock 3.2 is that there´s a ton of bloatware which prolly keeps the device awake. I think one option is to restore stock rom, root it, install BetterBatteryStats and watch if it ever enters deep sleep. If it doesn´t, it´s probably a faulty hardware. Which brings me to the next question- how the heck am I proving Samsung this without rooting the device, thus nullifying the warranty? :D

PS: I just received a call from Samsung Finland as well (called there before). I of course said that this tablet is not mine and I am not bringing it to warranty repair but want to know this as an amateur. :p They told me that they have asked about this from their tech department and they had answered that system clock not updating is dependant on hardware, and if it happens with all OS´s and kernels, it´s probably hardware issue.
[Galaxy Tab 8.9 Android Development] DemonGloom:
I thought about that way to fix it. Though, it is better if you implement that fix in your builds. As that mute can be a hardware problem - it happens on any firmware, including Samsung ones.
[Galaxy Tab 8.9 Android Development] C-o-M:
Good to know. Nevertheless a dmesg would be great ;)
[Galaxy Tab 8.9 Android Development] chienline:
Yes, I think it's not harm to put it in CM as long as it is stated how the stuff is fixed ;)

All the other problems that are solved may be different from the stock-way workaround too, but maybe you Free Devs have a better solution than Sammy/Google Devs :D

Or just leave it as partner fix for this rom :)

Our Tabs are not supposed to make calls, so every solution to this will be considered as 'hack' :(

Will be my busy week, but I'll follow this thread in my lunch time :)
[Galaxy Tab 8.9 Android Development] C-o-M:
One question: which modem do you guys use for calls? I9103?
[Galaxy Tab 8.9 Android Development] martin707:
Well your issue is pretty unique, so they could be right. But i tinkered a lot of configuration in trying to solve the problem, and i was able to fix it. I'm pretty positive its software related. :)
[Galaxy Tab 8.9 Android Development] DemonGloom:
Yes, that's the only modem for calls. Other modems are just for data/sms
[Galaxy Tab 8.9 Android Development] zmagas1:
I went to work and left my tab at home. When I got back home my tab was completely discharged.

I have never ever before had this.
[Galaxy Tab 8.9 Android Development] chienline:
Yes, I9103XXLQ3 :)
[Galaxy Tab 8.9 Android Development] martin707:
Re: [ROM][4.2.1][P7300/P7310][UNOFFICIAL] CyanogenMod 10.1 [2013-Jan-13]

Search the forums for Battery Calibration fix.
[Galaxy Tab 8.9 Android Development] Jaggle:
Re: [ROM][4.2.1][P7300/P7310][UNOFFICIAL] CyanogenMod 10.1 [2013-Jan-13]

Here it is: http://xdaforums.com/showthread.php?t=1861229

Verstuurd van mijn GT-P7310 met Tapatalk
[Galaxy Tab 8.9 Android Development] C-o-M:
AW: [ROM][4.2.1][P7300/P7310][UNOFFICIAL] CyanogenMod 10.1 [2013-Jan-13]

Have you installed any custom kernel? Or did you run an old CM10 build before? This shouldn't happen with the original CM10.1 kernel.

The linked battery calibration method should work. In fact, you just have to completely discharge your battery. This doesn't work when the Tab is on. Thus use CWM. But it can take quite long. Maybe you want to connect something on the USB host (external HDD) to speed it up. Just wait until the Tab switches off.
[Galaxy Tab 8.9 Android Development] vpx:
Re: [ROM][4.2.1][P7300/P7310][UNOFFICIAL] CyanogenMod 10.1 [2013-Jan-13]

+1, twice, i am on AA kernel and have original gapps not wingsray
[Galaxy Tab 8.9 Android Development] zmagas1:
Re: [ROM][4.2.1][P7300/P7310][UNOFFICIAL] CyanogenMod 10.1 [2013-Jan-13]

Previously I was using Official ICS 4.0.4 (Open Austria) and haven't had this issue. Then I installed CWM recovery 6.0.2.7 and then CM10.1 for P7300. Don't tried any custom kernel, just original one from CM10.1.
[Galaxy Tab 8.9 Android Development] C-o-M:
AW: [ROM][4.2.1][P7300/P7310][UNOFFICIAL] CyanogenMod 10.1 [2013-Jan-13]

Did you ever charged with USB (not AC charger)?
[Galaxy Tab 8.9 Android Development] zmagas1:
Re: [ROM][4.2.1][P7300/P7310][UNOFFICIAL] CyanogenMod 10.1 [2013-Jan-13]

No, I never charge with USB. Use only AC.

Last time I used USB is when I was flashing Official ICS via ODIN.
[Galaxy Tab 8.9 Android Development] Hurrian:
Enabling Tablet UI on CM10.1

Found this little tweak in the N7 forums.

Bold parts highlight the edits.

TODO: Make task switcher tablet-style again, put Quick Settings menu in the pullup (can any real dev help with this?)

File 1: frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

if (shortSizeDp < 600) {
// 0-599dp: "phone" UI with a separate status & navigation bar
mHasSystemNavBar = false;
mNavigationBarCanMove = true;
} else if (shortSizeDp < 720) {
// 600+dp: "phone" UI with modifications for larger screens
mHasSystemNavBar = false;
mNavigationBarCanMove = false;
} [B]else {
// 720dp: "tablet" UI with a single combined status & navigation bar
mHasSystemNavBar = true;
mNavigationBarCanMove = false;
}[/B]

File 2: frameworks/base/services/java/com/android/server/wm/WindowManagerService.java

sl = reduceConfigLayout(sl, Surface.ROTATION_180, density, unrotDw, unrotDh);
sl = reduceConfigLayout(sl, Surface.ROTATION_270, density, unrotDh, unrotDw);
[B]outConfig.smallestScreenWidthDp = 800;[/B]
outConfig.screenLayout = sl;
}

File 3: frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavbarEditor.java (around line 179)

int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / outDisplayInfo.logicalDensityDpi;
[B]mIsDevicePhone = false;[/B]

File 4: packages/apps/Settings/src/com/android/settings/Utils.java (around line 653)

int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / outDisplayInfo.logicalDensityDpi;
[B]mDeviceType = DEVICE_TABLET;[/B]
}

File 5: frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/RenderSessionImpl.java (around line 1132)

// compute in dp
int shortSizeDp = shortSize * DisplayMetrics.DENSITY_DEFAULT / hardwareConfig.getDensity().getDpiValue();
[B]barOnBottom = true;[/B]
}

File 6: frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/DateView.java (around line 88)

/*@Override
protected void onDraw(Canvas canvas) {
if (mParent == null) {
mParent = (RelativeLayout) getParent();
mParent.setOnClickListener(this);
mParent.setOnLongClickListener(this);
}

super.onDraw(canvas);
}*/

RESULTS: