yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 7" Android Development] zaid.oj:
Am gonna speculate and am not sure, but did you dirty flash, if so flashing from Stock rom to this rom without cleaning first might cause such issues and even more (MTP related) , if you clean flashed then I can assure you its not from rom!
[Galaxy Tab 2 7" Android Development] fattox:
I think I did the cleanest install I could have done. Now I'm gonna try all my usb ports, and tomorrow a different pc. Let's see

Just to say, I'm still with the nightly of 2 days ago (18/01) tomorrow I'll see for a new one.

Thanks
[Galaxy Tab 2 7" Android Development] Tsjoklat:
[MENTION=5337314]CodyF86[/MENTION],

Could you merge this change to fix the variable framerate a/v desync issue? Its adding two lines to set the vsync rate if it thinks its negative.

https://gerrit.omnirom.org/#/c/4930/1/hwc/sw_vsync.c
[Galaxy Tab 2 7" Android Development] fattox:
edit: after edjected it says now on every port "device not recognized" :crying:
[Galaxy Tab 2 7" Android Development] zaid.oj:
Then it might be Windows related! Try to reboot the tablet to make sure if the cause is still present then it's Windows related I think

---------- Post added at 11:29 PM ---------- Previous post was at 11:26 PM ----------

Sounds good, but I think that if the problem is caused by the domx flag then this will cause a big CPU load as it will keep on adding lines....

It's better to try changing the flag first and test then include this later also for testing!

What do you think?
[Galaxy Tab 2 7" Android Development] Tsjoklat:
This change is probably a separate issue than with the domx flag. This change tells how long to set the mutex lock when playing back videos. It is just adding the following two lines to sw_vsync.c:

for (;;) {

pthread_mutex_lock(&vsync_mutex);

period = vsync_rate; /* re-read rate */

+ if (period <= 0)

+ period = 1000000000 / 60;

while (!vsync_loop_active) {

pthread_cond_wait(&vsync_cond, &vsync_mutex);

}
[Galaxy Tab 2 7" Android Development] zaid.oj:
Now I get it, that's why I was never good at development lol
[Galaxy Tab 2 7" Android Development] Android-Andi:
https://github.com/codyf86/android_...mmit/136076d9e059ca237b8a4e0c34a864d4738d0446
[Galaxy Tab 2 7" Android Development] Tsjoklat:
What version of the omap4-common RIL headers we are using for the cm11 nighlies? Should it be on V9 now? Will we see some updates to omap4-common?
[Galaxy Tab 2 7" Android Development] Android-Andi:
Cody tested the RIl9 commit from Jiangyi, he told some days ago.

Edit:

http://xdaforums.com/showpost.php?p=49541055&postcount=1950
[Galaxy Tab 2 7" Android Development] Tsjoklat:
Ahh, ok. Im just looking at the main repo and didnt see any of those fixes. I was hoping we could get all this merged into the nightlies. :)

Edit: I guess the code review is a long process, but all these fixes seem ok to include in the nightlies, IMHO.
[Galaxy Tab 2 7" Android Development] zaid.oj:
Connect your device again, go to device manager then right click the tablet entry and choose uninstall, then refresh the list to recognize the device again (or just unplug and plug again)
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=5337314]CodyF86[/MENTION] http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=p5100

"GT-P5100_JB_Opensource_Update2.zip" - is it "new"?
[Galaxy Tab 2 7" Android Development] daavvis:
Hmmmmm.... I'm gonna add that and build with mokee... :)
[Galaxy Tab 2 7" Android Development] CodyF86:
Funny thing is that's around the time he started having the problem, almost like it actually caused it, but

I'll add that one flag back first to see.

[MENTION=5153662]Android-Andi[/MENTION]

I saw this also:

http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=p3100

An update 3, but I remember I got excited when I think I saw update 2 and Ketut told me to do a diff check

on it and there was 0B difference lol.

I'll try to look and see, but might want to do a diff check on it versus the update 1 to make sure, it's

not the same thing. I know that sounds weird, but that's a true story lol. :)
[Galaxy Tab 2 7" Android Development] Android-Andi:
haven´t seen this :p but i remember the old story :D

diff attached

update1 = GT-P3110_JB_Opensource_Update1.zip

update3 = GT-P3100_JB_Opensource_Update3.zip
[Galaxy Tab 2 7" Android Development] daavvis:
Correct me if I'm wrong, but that means its dif right?
[Galaxy Tab 2 7" Android Development] sharingan:
cm 11 getting better and better
[Galaxy Tab 2 7" Android Development] Android-Andi:
There are some small differents :p

Do you like it line, by line ? :D (pst idk if we need them :p)

I removed all unneeded lines, attached again.

Edit:

Forgot some lines in the .txt :p lol :

diff --git a/./update1/arch/arm/mach-omap2/board-espresso10.c b/./update3/arch/arm/mach-omap2/board-espresso10.c
old mode 100644
new mode 100755
index e4ce70b..0a4a5ef
--- a/./update1/arch/arm/mach-omap2/board-espresso10.c
+++ b/./update3/arch/arm/mach-omap2/board-espresso10.c
@@ -274,7 +274,7 @@ static void omap4_espresso10_init_carveout_sizes(
ion->tiler1d_size = (SZ_1M * 14);
/* WFD is not supported in espresso10 So the size is zero */
ion->secure_output_wfdhdcp_size = 0;
-	ion->ducati_heap_size = (SZ_1M * 65);
+	ion->ducati_heap_size = (SZ_1M * 105);
ion->nonsecure_tiler2d_size = (SZ_1M * 19);
ion->tiler2d_size = (SZ_1M * 81);
}

diff --git a/./update1/arch/arm/mach-omap2/board-espresso-display.c b/./update3/arch/arm/mach-omap2/board-espresso-display.c
old mode 100644
new mode 100755
index 3284067..fd4e5c7
--- a/./update1/arch/arm/mach-omap2/board-espresso-display.c
+++ b/./update3/arch/arm/mach-omap2/board-espresso-display.c
@@ -129,7 +129,7 @@ static struct omap_dss_board_info espresso_dss_data = {
};

static struct dsscomp_platform_data dsscomp_config_espresso = {
-	.tiler1d_slotsz = SZ_16M,
+	.tiler1d_slotsz = SZ_8M,
};
static struct sgx_omaplfb_config omaplfb_config_espresso[] = {
{
[Galaxy Tab 2 7" Android Development] daavvis:
I'm downloading update 2 and 3 and I'm gonna run them through kdiff3 so I can see them better... :)
[Galaxy Tab 2 7" Android Development] CodyF86:
Build going right now, haven't forgotten about you guys. :)

I haven't even gotten to look at that diff tbh. I saw the one you posted tho, need to get the

first update up on the code review first, then can do another one for a new update, if that has

anything worthwhile. I'll do that tonight after I'm done with these builds.

Enhanced DOMX back in, will have to let me know if that fixes it.
[Galaxy Tab 2 7" Android Development] Android-Andi:
Hey [MENTION=5337314]CodyF86[/MENTION] ! Hey [MENTION=4503423]daavvis[/MENTION] !

https://github.com/andi34/android_k...mmit/a32f427eacde7361b99da0e13c72bc6c6a31bc54

I haven´t tested it yet, maybe you can check if i did it right? :p

i am only not sure about the "mm/vmscan.c"
[Galaxy Tab 2 7" Android Development] daavvis:
Nice dude I'll take a peak when I get a min :)
[Galaxy Tab 2 7" Android Development] stingjoel:
Hi Cody, do you still continue the unofficial build? or should I download the official build? because I see 2 newer nightly build in the official build but not in the unofficial build :)
[Galaxy Tab 2 7" Android Development] CodyF86:
Something weird about that update, see: http://review.cyanogenmod.org/#/c/47738/

Seem's like it's undoing things we did for the increased ram etc etc.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Tab 2 7" not affected :laugh: This patch will break Tab 2 10.1" compatibility to the current ducati firmware.

diff --git a/arch/arm/mach-omap2/board-espresso10.c b/arch/arm/mach-omap2/board-espresso10.c
index e4ce70b..0a4a5ef 100644
--- a/arch/arm/mach-omap2/board-espresso10.c
+++ b/arch/arm/mach-omap2/board-espresso10.c
@@ -274,7 +274,7 @@ static void omap4_espresso10_init_carveout_sizes(
ion->tiler1d_size = (SZ_1M * 14);
/* WFD is not supported in espresso10 So the size is zero */
ion->secure_output_wfdhdcp_size = 0;
-	ion->ducati_heap_size = (SZ_1M * 65);
+	ion->ducati_heap_size = (SZ_1M * 105);
ion->nonsecure_tiler2d_size = (SZ_1M * 19);
ion->tiler2d_size = (SZ_1M * 81);
}

Not sure about board-espresso-display.c patch and this is for Tab 2 7" only.

diff --git a/arch/arm/mach-omap2/board-espresso-display.c b/arch/arm/mach-omap2/board-espresso-display.c
index 3284067..fd4e5c7 100644
--- a/arch/arm/mach-omap2/board-espresso-display.c
+++ b/arch/arm/mach-omap2/board-espresso-display.c
@@ -129,7 +129,7 @@ static void dss_clks_disable(void)
};

static struct dsscomp_platform_data dsscomp_config_espresso = {
-	.tiler1d_slotsz = SZ_16M,
+	.tiler1d_slotsz = SZ_8M,
};
static struct sgx_omaplfb_config omaplfb_config_espresso[] = {
{
[Galaxy Tab 2 7" Android Development] CodyF86:
1-22-2014

p3110 / p3113: http://d-h.st/fU4

p3100: http://d-h.st/d2r

Haven't got to test it yet, but has the enhanced domx flag re enabled along with a fix for a crash in hwc.
[Galaxy Tab 2 7" Android Development] zaid.oj:
Well thanks for your efforts man... I didn't test everything in this build yet but I made a quick test on the video issue, seems like enhanced domx flag was not the cause after all, it still go out of sync and crash! :(
[Galaxy Tab 2 7" Android Development] stingjoel:
Btw, I don't have any issue with the video on previous build...I just play the video using tubemate (youtube) and MX player (movie).
[Galaxy Tab 2 7" Android Development] prabuddhadg:
I have updated to the latest ROM, but this problem still continues. Is this a problem with the game software or with this ROM?
[Galaxy Tab 2 7" Android Development] lokesh.3440:
[MENTION=286278]CODY[/MENTION],does Screen recorder works in latest build ? i have tried with one application(Z screen recorder pro),,,it was prompting me to record a video,,but when i stop it,,,i doesn't seems saving it anywhere ,,,
[Galaxy Tab 2 7" Android Development] Upstreammiami:
Awesome my kids tablet is so much better now... I had the build before 18 and had random reboots flashing 22 hope it's better.... Thanks for the hard work on this tab man

Note 3 using cm_11
[Galaxy Tab 2 7" Android Development] bira792:
trabalho esplendido

splendid work very fluid, fast and the graphics were much better I wonder if it's also the obligatory fleshar Espresso10 + + Kernel.no more relmente be very good mainly use very economical battery, thank you very much.

---------- Post added at 08:29 PM ---------- Previous post was at 08:09 PM ----------

would overclocking kernel for this rom min.
[Galaxy Tab 2 7" Android Development] Tsjoklat:
With the 20140122 nightly, the display changes from portrait to landscape mode when I turn the screen off with the sleep button. This did not happen with the previous nightly build.

Edit: This recent bug is related to the "Allow changing screen-off animation" patch.
[Galaxy Tab 2 7" Android Development] zaid.oj:
Also in the official nightlies at least starting from 20140118

---------- Post added at 11:08 PM ---------- Previous post was at 11:05 PM ----------

On YouTube an html5 videos like Facebook there is no issue, it's only on local video files, go back view pages i have a post explaining it!
[Galaxy Tab 2 7" Android Development] Tsjoklat:
The official nightly is what I was testing with. I did not see this problem with the 20140121 official nightly. Although, this screen orientation bug is in the 20140122 official nightly. I am about to test the 20140122 Unofficial build to see if it also has this problem.
[Galaxy Tab 2 7" Android Development] zaid.oj:
Already tested the latest unofficial, it have this bug.... I thought you were talking about the 20140122 unofficial, me fast reading again! lol
[Galaxy Tab 2 7" Android Development] mymeatb18:
Change the screen off animation to fade and it's gone
[Galaxy Tab 2 7" Android Development] Tsjoklat:
I can't seem to find the settings..
[Galaxy Tab 2 7" Android Development] zaid.oj:
Settings, display, under screen-off animation. "animation style"

But it doesn't really fix the electron beam bug! But hey its not a functional bug
[Galaxy Tab 2 7" Android Development] Tsjoklat:
It's not in the official build 20140122. Maybe the settings are only visible in the UNOFFICIAL release.
[Galaxy Tab 2 7" Android Development] zaid.oj:
I am not sure but I guess screen off animation style option is in the unofficial build only as you said.... If someone running the official and reading please confirm! But if its there here is where
[Galaxy Tab 2 7" Android Development] Tsjoklat:
Thanks, I can confirm it's not in the official build, but it is in the UNOFFICIAL build.

Edit: the fix for the electron beam shutdown animation is going to look exactly like the fix for surfaceflinger to fix the boot animation.

Edit 2: I also wanted to mention that when I test video playback with BS Player on the unofficial build 20140122, then BS Player does not crash anymore when I try to use it's internal codec. The video playback support for BS Player is much better on the unofficial build than the official build.

Edit 3: I was able to crash BS Player on the unofficial build by using the back arrow. Once the player is crashed, it does not work again until I reboot or unless I switch the video codec to the stock decoder.

Edit 4: it is seeking through the video that is causing BS Player to crash.I wrote in edit 3 that it would not work until I rebooted, but that was not correct. Rebooting does not matter. It was crashing because it could not stop the video then resume it by seeking to the last spot it stopped on. Restarting video from beginning works without rebooting.

Edit 5: BS Player also crashes (using the stock video codec) when playing video and rotating the screen at same time. The video player does not crash (using internal video codec) while playing video and rotating the screen at the same time.
[Galaxy Tab 2 7" Android Development] wowmail:
Great build. Netflix works :) , I use BS player for video, and its flawless. The Time Warner App crashes when you try to watch live TV, but I'm sure its TWC problem, with Kit Kat.

The only aggravating problem I have is any game that normally allows you to download the resources to your SD card (Like the Bard's Tale) can not see the external SD card, they could on 4.2. My SD card is formatted FAT 32, and is properly identified in system settings.

I hope this helps.

Keep up the great work!
[Galaxy Tab 2 7" Android Development] Tsjoklat:
In BS Player, there are two HW codecs available (internal HW and stock HW codecs).

While using BS Player with the Internal BS Player HW codec, the player crashes on seeking and becomes out of sync after a few minutes of playing mp4 video. It does not crash when playing mp4 video and rotating the device at the same time.

While using BS Player with the stock HW codec, the player can seek video without problems and does not go out of sync after playing the video for a while. Although, while using the stock video codec with BS Player, the player crashes while rotating the screen and also the volume on my Bluetooth headset becomes muted.
[Galaxy Tab 2 7" Android Development] mymeatb18:
Another small bug is when u download something and once it completes it keeps blinking in the status bar and in notification drawer
[Galaxy Tab 2 7" Android Development] wowmail:
I use the HW codec, but for size concerns I do use Handbreak to limit how big the files I transfer are. I then naturally trans-code them to MP4. I have had no issues with sync, and it even plays other formats over the network.

Hope that helps.
[Galaxy Tab 2 7" Android Development] Tsjoklat:
Which HW codec are you using though? The only problem I have with the stock codec is the rotation bug. The BS Player HW codec acts worse than the stock HW codec because it can't seek video and goes out of sync.
[Galaxy Tab 2 7" Android Development] wowmail:
I use the one for ARM7 for BS player
[Galaxy Tab 2 7" Android Development] Tsjoklat:
Yes, but look in the options. There are actually three codecs to choose from. The SW software codec and two different HW codecs (internal and stock).
[Galaxy Tab 2 7" Android Development] wowmail:
I use the BS player decoder. Of course I have trans-coded all my content, I will try a few generic MP4's

---------- Post added at 06:34 PM ---------- Previous post was at 06:24 PM ----------

Ok I tried a standard MP4 of a trailer for a movie, it DID crash on sync. I have emailed the BS player guys, also Try VLC, Beta, it seems to work, but I do need to fully test..
[Galaxy Tab 2 7" Android Development] :
i have drawn a multi window concept. It is very simple and i dont know why this approach has not been adopted by anybody yet. I am not a programmer so i can just draw it on paper. Hope somebody can write Code for this. Download these 2 images from dropbox

https://db.tt/wqPIyqFZ

I have drawn this because i feel omni approach of splitting "recent app" doesn't work very well. It takes more steps and gets wird at times. This us the same thing but with different approach.
[Galaxy Tab 2 7" Android Development] wowmail:
I found out the Time Warner app only works on Dalvik. (it is listed as ART compatible), Skype would not show my cam without immediate freeze in ART. in Dalvik it worked. BS player is indeed having seek problems, VLC beta works like a charm. Games can NOT see my external SD, even though they are programed too.

Hope this helps!
[Galaxy Tab 2 7" Android Development] Ottonet:
Interesting.

Not sure if I completely got your proposal, but if I am not mistaken, it has many points in common with what OMNI team is doing right now.

See this: http://omnirom.org/features/dev-diary-making-android-multi-window/
[Galaxy Tab 2 7" Android Development] :
Exactly This article inspired me to draw these.

What is different in this concept from omni's approach is:

1- getting into multi window. Omni has a rather strange way of getting into it. Open 2 app one by one. Then add each to split screen. Its not always predictable to which app will go on window 1 nd which on window 2. Sometime both apps go in the same split window and appear buggy as other half of screen remains empty.

2- managing the apps in multi window i.e.

switching open apps side i.e, window 1 <-> window 2 ;

opening some other app in each window

Managing apps which force landscape etc

3- exiting multi window. In omni even after exiting multi window, and open that app alone- it may persist to be split and appear buggy.
[Galaxy Tab 2 7" Android Development] fattox:
USB connection

Hoping it helps people with this kind of issue, in the end I found out how to use properly the usb connection which was encoutering continuous disconnections.

I just enabled USB Debugging, which usually I enable from the beginning but since in KK it's different, I forgot to do it.

Happy to know "the solution", now someone could explain me why I had to? I know it grants a better access to my device but I was just copying pictures...
[Galaxy Tab 2 7" Android Development] pincer:
I just notice, from 20140110 till 20140122, I don't see my message icon, nor I can access it. Yes, the green box with eyes on it. Can anyone help to solve this. If I want to install gapps only, what should I do first? Thanks.
[Galaxy Tab 2 7" Android Development] Ecka_Bz:
Use hangouts for replace meesage
[Galaxy Tab 2 7" Android Development] antutu:
copy MMS.apk from zip rom and istall as normal app, set your default sms apps to messaging in setting--more and yes i dislike hangout being my sms app.

unless [MENTION=2478576]Tsjoklat[/MENTION] or anyone willing to remove rm -f system/app/MMS.apk from 70-gapps.sh..cmiiw
[Galaxy Tab 2 7" Android Development] pincer:
I still preferred message rather than hangout as much as I loved Google apps..

@ antutu,

Thanks. It works. Well I hope in the future release I don't need to do this again..
[Galaxy Tab 2 7" Android Development] mymeatb18:
Used Skype on the 18th build official on art no problems have not tested on other builds
[Galaxy Tab 2 7" Android Development] Tsjoklat:
I recently reported problems using BS Player to playback videos because there were bugs when I used both the built-in HW codec and the stock HW codec. Fortunately, the problem with BS Player crashing when rotating the device does not occur when using other video players such as Diceplayer. If I change the default codec to stock in Diceplayer, then everything works as expected and the player has no trouble seeking video, staying in sync, and rotating the display while playing video. Attached is screen shot of Diceplayer codec settings to make it work on cm11.
[Galaxy Tab 2 7" Android Development] Droidlover123:
Pls reply people...

Are newer blobs merged in official nightlies??
[Galaxy Tab 2 7" Android Development] mymeatb18:
I believe not
[Galaxy Tab 2 7" Android Development] CodyF86:
Not yet.
[Galaxy Tab 2 7" Android Development] Droidlover123:
Thanks for reply...

Any estimate when they well be merged?
[Galaxy Tab 2 7" Android Development] prabuddhadg:
I dislike the way Hangouts handles the messages. so, I have installed 8sms app from the play store and it works just like the standard sms app.
[Galaxy Tab 2 7" Android Development] Tsjoklat:
Privacy Guard says that Skype is running my camera all the time. I wonder what Skype is doing because I haven't even used Skype on this Rom yet. Let the conspiracies go wild.
[Galaxy Tab 2 7" Android Development] Vishesh:
Guys need your help.. M with official latest nightlies.. M facing syncing issues.. Watsaap, Gmail, hangout didn't give me notification on time until I manual enter those apps but occasionally it gives notification on time.. Seems that it's Google issue.. any help would b appreciated.. Thanks..

©Help must be Thanked®
[Galaxy Tab 2 7" Android Development] Tsjoklat:
Gapps 20140105-2:

Changelog:

* Added Google Cloud Print service for KitKat 4.2.2.

* Fixed path in installation script for cleaning up conflicting applications.

Note: this is a patched version of the official cm11 Gapps and does not remove any stock system applications.

Md5: 1ae66a527be2d40dad3d10932cf2b66c

http://www.androidfilehost.com/?fid=23329332407566392
[Galaxy Tab 2 7" Android Development] zaid.oj:
Are they ART signed?
[Galaxy Tab 2 7" Android Development] Tsjoklat:
None of the Gapps have been modified from the official release. They might work with ART framework. :)

The reason why the Gapps in the OP have not been deodexed is because that procedure was thought to create conflicts. The tool used to deodex the apk files would be just another unknown variable in testing ART support. But, as far as I can tell, the latest development version of smali should be able to deodex the files and retain ART support.
[Galaxy Tab 2 7" Android Development] zaid.oj:
I will test them out in my next flash and post a review! Thanks bro
[Galaxy Tab 2 7" Android Development] CodyF86:
So instead of doing another build tonight, I'm going to work on banging out the update to the code

review and the blob repo. Tomorrow I should be able to get a build out also.

[MENTION=4021423]ketut.kumajaya[/MENTION]

Looks like it's just me on the tab 3 now, going to go through the repo and get it tidied up and keep pluggin,

but man you weren't kidding, it's going to take some time. :/
[Galaxy Tab 2 7" Android Development] mymeatb18:
So far the new g apps are working out and having no problems in art. I was having some fc with the art compatible version
[Galaxy Tab 2 7" Android Development] CodyF86:
It sounds like your newest gapps is working fine with art, so i tossed it up on my dev host and will update the OP as well again.

If for some reason they don't just let me know, but it sounds like they do.

http://d-h.st/9m9
[Galaxy Tab 2 7" Android Development] Christoph21x:
PDroid patches of Version as per 2014-01-22

Dear All

For the latest upload - build as per 2014-01-22 - please find attached for all device types (P3100/P3110/P3113) the PDroid patch (and - in case of - the restore patch; which is fortunately usually not needed) for those who want the OpenPDroid privacy protection on API level.

P3113 users - please use the P3110 versions.

For installation instructions, please refer to earlier post http://xdaforums.com/showpost.php?p=48745281&postcount=1375

Kind regards from Switzerland - Chris
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
No time limit :D