yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 10.1 Android Development] Sharky444:
found android lag source

FOLLOWUP

I've found the source for lar/jerkiness/microstutter of Youtube videos!

The culprit is the Android Debugging found in Developer Options of CM10.

Many users turn it on, because Titanium Backup gives a warning if usb debugging is turned off (when you turn on Android Debugging the warning disappears).

But turning in on causes not only lag when playing videos in the youtube app, but also lag in web browsers!!

The Titanium Backup warning can be turned off in preferences, and it works fine afterwards.

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

So if you've experienced lag/microstutter just make sure Android Debugging is turned OFF and you will be fine.

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

I've also discovered that forcing GPU rendering in Developer options causes also some minor lag in videos

(unrelated to the other lag), so make sure it's also off.

Disabling HW overlays gave a small performance boost, but you have to do it after every reboot and

the touch capability decreases slightly.

ORIGINAL POST:

---------- Post added at 05:00 AM ---------- Previous post was at 04:57 AM ----------

Yes it's gone. Make sure Android Debugging is turned OFF in Developer Options.
[Galaxy Tab 10.1 Android Development] tarphoun:
Didn't work for me. Turned debugging off and youtube still lags.
[Galaxy Tab 10.1 Android Development] kbluhm:
No debugging here or forced GPU, and HD videos lag greatly.
[Galaxy Tab 10.1 Android Development] Sharky444:
Maybe a reboot is necessary, after you turn debugging off.
[Galaxy Tab 10.1 Android Development] browy:
Done that, still lagging :(
[Galaxy Tab 10.1 Android Development] fusionjack:
nope...or at least on my tablet it doesn't work, but taking picture is working and other 4.2 google apps are working fine. well i didn't test them thoroughly, so some functions could not work. :D
[Galaxy Tab 10.1 Android Development] minkiux:
Debugging off method don't resolve YouTube lag on my P7510. Sigh :(
[Galaxy Tab 10.1 Android Development] azncookiecutter:
Turning off debug mode didn't work for me, but when I turned off developer options (the on/off switch on the top right hand side when in the developer options screen), it made the lagginess not appear as frequent on Youtube HD videos.
[Galaxy Tab 10.1 Android Development] quikt:
no youtube lag here, with or without the developer options enabled. Yesterday watched the battlestar galactica blood and chrome ep 1&2 in HD and looked great.
[Galaxy Tab 10.1 Android Development] dsafety:
Should I Clear Cache?

I have a few , (probably dumb), questions. When flashing a new version of CM10 over the previous version is it necessary to clear cache and go through all the other steps that are recommended when upgrading from a totally different ROM? Similarly, should the latest version of the bootloader and recovery which are available in the DB download menu also be installed with every version upgrade?

Thanks in advance.
[Galaxy Tab 10.1 Android Development] dishme:
Don't do it, if you have problems, reboot and do it ..... simple as that
[Galaxy Tab 10.1 Android Development] Jay Rock:
Just wipe cache and dalvik
[Galaxy Tab 10.1 Android Development] djmatt604:
+1. Bootloader won't need to be changed again.

Sent from my GT-P7510 bleeding CM10 inverted awesome
[Galaxy Tab 10.1 Android Development] djden:
Maybe change i/o scheduler to deadline for lagg free hd youtube?
[Galaxy Tab 10.1 Android Development] Sharky444:
When I had the lag problem before the data wipe, I have changed I/O schedulers, CPU schedulers, and overclocking and nothing made a difference. After the data wipe the lag was gone until 2 days later. I was going thru my changes and making them back. After disabling Android Debugging the lag stopped. I enabled Android Debugging again -> lag was here. Disabled again -> lag gone. So I thought this will be the solution for everybody.
[Galaxy Tab 10.1 Android Development] kingofcomedy:
New build available @ http://droidbasement.com/galaxy/roms/cm10/p4/
[Galaxy Tab 10.1 Android Development] djmatt604:
Anyone else notice the Microbes live wallpaper not working on p4wifi 11/09?

Sent from my GT-P7510 bleeding CM10 inverted awesome
[Galaxy Tab 10.1 Android Development] balkerman:
@pershoot

Are you able to make just the kernel available to download/flash, seems most changes are kernel related. Would save having to spend an hour setting up the tab after flash the rom..
[Galaxy Tab 10.1 Android Development] djmatt604:
You shouldnt have to do a full wipe unless pershoot says so or you're coming from a completely different ROM man. If just an incremental update from a previous pershoot CM10 build you should be fine with just cache and dalvik wipe. I am on 11/09 from 10/17 with just that. Saves you work.

Sent from my GT-P7510 bleeding CM10 inverted awesome
[Galaxy Tab 10.1 Android Development] pershoot:
??

flash over. you do not need to re-setup anything.
[Galaxy Tab 10.1 Android Development] digband:
Does anyone know if the latest build fixes the fc of Google talk video chat to desktop? This bums me out, video chat on the tab is nice.
[Galaxy Tab 10.1 Android Development] spitzaf:
We had issues the other night with video chat, specifically no mic but video was fine in Google+.

No FC though, but maybe G+ is more graceful than GTalk when it has errors.
[Galaxy Tab 10.1 Android Development] tallgrasshawk:
Does the wifi direct not work? I see there's an option for it. It was handy on stock Ics and my S3
[Galaxy Tab 10.1 Android Development] pershoot:
all you have to do is read the changelog/full posting to determine that.

dont wait for me to fix it. feel free to work on it. i give a hint as to what it is (its centered around around the libs in the gapps pkg itself), under the known issues or use skype for now.
[Galaxy Tab 10.1 Android Development] digband:
Apologies... I usually go to the OP for this info... just remembered you're info is at Droid basement... I'll be sure to check there first in the future... thx for the nudge... thx also for the work on the rom, great stuff... if I can find any info on the vidchat issue I'll send it forthwith ...
[Galaxy Tab 10.1 Android Development] kpucci:
so is this the version of CM 10 I should be using since there is no official one on get.cm?
[Galaxy Tab 10.1 Android Development] pershoot:
you can use this while i ready all of this to be uploaded in to mainline and get nightlies kicked off, etc.
[Galaxy Tab 10.1 Android Development] VETALSD:
Developers!!! please add modem diag mode in next build for i905 verizon.

Thanx for great job!
[Galaxy Tab 10.1 Android Development] muzzy996:
Doubt that will ever happen. Is there even such a thing for stock Honeycomb or ICS? Google searches for it come up empty.
[Galaxy Tab 10.1 Android Development] eendz0r:
screen weird lines after standby

Hellow,

first of all i have to say i love he CyanogenMod 10 but i got some problems with it.

I am using a (Galaxy tab 10.1 3G --> p4)

Been trying cm-10-20121112-EXPERIMENTAL-p4.zip build and this is the problem i get

when i boot intro android everything is fine and i can work normal, but when i press the powerbutton to go intro black screen (or in standby) and i try to come back i get a flashing screen

it still reacts on buttons and touch but its hard to see something =)

in attach is a pic

anyone got an idea ? i also have it with the aokp_p4_unofficial_Nov-12-12 so i dont think its really the cyanogenmod.

Thanks !
[Galaxy Tab 10.1 Android Development] VETALSD:
for all stock rooms :

*#*#DATA#*#* service menu

*#*#DIAG#*#* diag mode for programming CDMA

On CM10 for galaxy tab 10.1 work only DATA service menu...DIAG menu not working...
[Galaxy Tab 10.1 Android Development] :
Not sure if that is the "rolling screne" issue. If yes, flash bootloader and modem supplied by pershoot on droidbasement.

-- Sent with Tapatalk.
[Galaxy Tab 10.1 Android Development] jittusm:
i edited the bools.xml in framework-res.apk to enable lockscreen rotation. i succeeded in rotating the lockscreen to portrait mode but if i disable auto rotation the locscreen reverts back to landscape mode. do i need to change anything else? i need my lockscreen to be fixed in portrait mode.

also the lockscreen custom image is buggy..

thanks in advance.
[Galaxy Tab 10.1 Android Development] DefQoN_BE:
I had exactly the same problem, flash the bootloader and recovery from droidbasement.com using odin... read the known issues part boy..
[Galaxy Tab 10.1 Android Development] pershoot:
If you all are going to flash anything from droidbasement you must read read read. Most if not all issues and resolutions are covered there.

I don't understand. One scrolls down to download but does not stop to read the text before it. It really boggles my mind at times.
[Galaxy Tab 10.1 Android Development] zerong:
Flash bootloader before or after cwm 6*** ?!?

I have ics task rom with UK firmware actually and cwm 5504.
[Galaxy Tab 10.1 Android Development] Bjarne73:
I dont think it matters. Buyt i flashed the bootloader before cwm and it does work.

Skickat med min GT-P7500 som kör CyanogenMod 10 Jelly Bean
[Galaxy Tab 10.1 Android Development] rjolley:
pershoot

Thanks for all of your hard work on this rom.
[Galaxy Tab 10.1 Android Development] Osirus71:
Word.....I concur. Thanks for all the Jelly goodness.....:highfive:
[Galaxy Tab 10.1 Android Development] mcmb03:
Thanks for the new build pershoot! Works phenomenally
[Galaxy Tab 10.1 Android Development] jolobe:
Thanks.

I am still on cm -10- 20120920- unofficial p4wifi -cause this version is the most smoothest from all roms for me!Do i have to flash the gapps after cache and dalvik wipe /flashing rom ?
[Galaxy Tab 10.1 Android Development] pershoot:
no, just flash rom and reboot. you can clear cache if you like (prior to rebooting), but it's usually not necessary.
[Galaxy Tab 10.1 Android Development] jlokos:
I'm using the latest experimental CM10 for vzw. First, no matter what i do, I can not get my PC to recognize the device. Yes, I enabled usb in storage, settings; I also reloaded the samsung drivers on my PC. The USB fast charge works, and this is not an issue with the latest AOKP build. Any suggestions?

The other issue (which may be related to the first issue) is that frequently when I plug in the usb connection, the tab freezes and I need to hold in the power button to get the tab to reboot.

Otherwise, the rom runs well. I appreciate all the work Pershoot is doing for us.
[Galaxy Tab 10.1 Android Development] pershoot:
you absolutely have a driver issue. i know it well. i battled it too some time ago.

no issue with the VZ specific rom. my tester has been running it without issue.

use usb deview to purge all references of it while connected (disconnect in app first). then unpug, reinstall escape 4 drivers (from droidbasement) then replug, and youll be good. let it install MTP driver from internet if it has to.
[Galaxy Tab 10.1 Android Development] pershoot:
make sure your cable is in good standing as well.
[Galaxy Tab 10.1 Android Development] sd_042:
Ditto.
[Galaxy Tab 10.1 Android Development] aelsharawi:
Viber is working on my P7510, it wasn't working before, nice new feature,
[Galaxy Tab 10.1 Android Development] pershoot:
​

Confirmed working fine for VZ tab.

MTP works A ok and unplug/plug multiple times causes no issue to tab.

Tested against windoze 7.
[Galaxy Tab 10.1 Android Development] nakedninja42:
On Windows 8 I had to uninstall the drivers and reinstall after I plugged in the device again. MTP works fine after that. (had to do this for all my android devices on Windows 8)
[Galaxy Tab 10.1 Android Development] djmatt604:
Bump...am I alone on this one? Can anyone else on p4wifi confirm this LW works for them?

Sent from my GT-P7510 bleeding CM10 inverted awesome
[Galaxy Tab 10.1 Android Development] kbluhm:
Not working here either on p4wifi
[Galaxy Tab 10.1 Android Development] DefQoN_BE:
It doesn't matter, everything is explained on www.droidbasement.com
[Galaxy Tab 10.1 Android Development] sneezi:
same here, p4wifi 7511

Anyway, I don't care, as I use no background.

I would even love to have all of them removed... ;)

Anybody has a working theme? I tried a few and the theme chooser says "wrong packed"

sneezi
[Galaxy Tab 10.1 Android Development] DefQoN_BE:
I NEVER wipe anything when i install an update, and it works perfectly, i just dl and install the update in cwm
[Galaxy Tab 10.1 Android Development] jlokos:
I finally was able to get it working; thanks for your hints. I disconnected all of the drivers, then uninstalled them in windows 7, re-installed them (still didn't work; rebooted tab (still didn't work), rebooted my laptop and bingo, it recognized the tab. Thanks for your assistance.

BTW, I couldn't find the escape 4 drivers you mentioned on the droid basement website.
[Galaxy Tab 10.1 Android Development] pershoot:
droidbasement.com/galaxy/drivers
[Galaxy Tab 10.1 Android Development] Bjarne73:
Maybe you been lucky then, many people that experience problems has solved them by wipeing cache and dalvik cache.

Skickat med min GT-P7500 som kör CyanogenMod 10 Jelly Bean
[Galaxy Tab 10.1 Android Development] DefQoN_BE:
Strange, i always used pershoot's builds and never ran into issues with not wiping for cashes for updates, only when i'm coming from a completely different rom like fourth bar revolution on my other gTab, but this ROM looks better, and runs way smoother imo
[Galaxy Tab 10.1 Android Development] Bjarne73:
I usually never run into trouble not wipeing, but with some version i august i did, thereafter i play it safe.

Skickat med min GT-P7500 som kör CyanogenMod 10 Jelly Bean
[Galaxy Tab 10.1 Android Development] ru11er:
Hey guys, I'm coming from a busted galaxy s2x to the rogers 4g 7500r .... I got it rooted, and I used pershoots 7500 rom, modem, and bootloader.... everything seems fine, except I can't make phone calls, when I try it goes to phone app but beeps and doesn't call out... just wondering if I flashed the wrong rom?? can anyone lend a hand... ps Hope to see lots of interesting stuff to the tab... I loved the s2... wish I didn't drop it.. lol thanks,.

Edit my WiFi DL speeds r horrible 50k a second---- ? What's up
[Galaxy Tab 10.1 Android Development] eikoo:
Fixed the micro studded. Bought a nexus 10 32gb. I know this is not beneficial but I think the hardware can't keep up...
[Galaxy Tab 10.1 Android Development] jlokos:
Appreciate it.
[Galaxy Tab 10.1 Android Development] pershoot:
to make phone calls you need to flash a different modem, which is not supported, so you're on your own with that.

wifi speeds are fine. check your AP and update your firmware if need be.
[Galaxy Tab 10.1 Android Development] ru11er:
pershoot, thanks for the reply man... Sorry for the noob status, its my first tablet.. The rom is amazing, it brought me right back up to speed, thank you very much. When you say wifi speeds are fine, are you referring to 50k/s ?? cause that seems low, I know the tablet is a bit dated, but is that the speed to expect? as far as the way I went about things, I rooted and flashed P4 files with odin (recovery, bootloader and modem - from /galaxy/roms/cm10/p4) my model is the 4g 7500r from rogers... is that the correct files to flash for my model... I really appreciate it, thanks.
[Galaxy Tab 10.1 Android Development] djmatt604:
I am using JusTunBean inverted apps and their latest package has 3 included themes. They are confirmed working for me on p4wifi.

Sent from my T989D bleeding CM10 inverted awesome
[Galaxy Tab 10.1 Android Development] dcorrea:
I've been trying to flash the 4.04 bootloader for my p4wifi with no luck. I am using Mobile Odin and I get an error about not being able to find the partition info for the file when I try to flash the file. Any ideas?
[Galaxy Tab 10.1 Android Development] djmatt604:
Don't use mobile Odin? :) first alternative. No problem doing it with Odin 1.85.

Sent from my GT-P7510 bleeding CM10 inverted awesome
[Galaxy Tab 10.1 Android Development] nakedninja42:
Mobile ODIN is designed not to flash bootloaders. As suggested, use 1.85.
[Galaxy Tab 10.1 Android Development] jittusm:
are u telling me tat u have a properly compiled theme for out tabs? can u provide some screenshots pls? i am not able to get any themes for my tab.

---------- Post added at 11:52 AM ---------- Previous post was at 11:35 AM ----------

which modem? this one? CWM_I9103XXLQ3_Modem? actually even if i flash this modem the phone call status is the same.
[Galaxy Tab 10.1 Android Development] pershoot:
inquire in that thread.
[Galaxy Tab 10.1 Android Development] pershoot:
i meant, the wifi speed on the actual rom is fine.

your wifi speed is low. check your AP/network.
[Galaxy Tab 10.1 Android Development] jittusm:
cm10 has tat issue. i guess for now only stock ICS or stock based ROMs can enjoy full phone functions. and tat thread is abandoned..

thanks for the gr8 work :)
[Galaxy Tab 10.1 Android Development] pershoot:
If you want it make it happen:) start hacking...
[Galaxy Tab 10.1 Android Development] jittusm:
i know its off topic but any chance u have started working on 4.2 already? :) saw tat 4.2 is being pushed to AOSP. in ur opinion does our tab support 4.2?
[Galaxy Tab 10.1 Android Development] pershoot:
this tab will support 4.2.

when it is integrated within CM, then it will be in all builds from that point.
[Galaxy Tab 10.1 Android Development] jackie_jagger:
anyone having issues with "keep awake"? for some reason my tablet doesn't go into deep sleep and this is absolutely hammering my battery.
[Galaxy Tab 10.1 Android Development] Mphidi:
Hi

I have installed CM10 latest build last night. I installed latest recovery first then flash to CM10 20121111 Successfully.

Now the problem is I can't download anything from Android market or even on the website. I just get normal notification that says downloading.

I installed the rom twice,while wipe data ,cache and dalvik bit sill same problem.

Please assist.
[Galaxy Tab 10.1 Android Development] quorn23:
You wiped data?

Try to fix permission in recovery and manually clear the data for the market in the app section while tab is running.
[Galaxy Tab 10.1 Android Development] keyz86:
I have the same issue, I had "keep awake" enabled and noticed my tab never shut the screen off and my battery drained so quickly obviously.

I have switched off "keep awake" and it seems to be working fine.

To be honest I'm not sure why I had it switched on in the first place so its no a bit deal!
[Galaxy Tab 10.1 Android Development] ndd2:
Yes, I have the same problem. I have posted a couple of times about it but no one else has replied.

In my case, you can see the tablet never sleeps -- this shows up under Android OS in battery stats, which shows a large keep awake time basically equal to however long the screen has been off. Better battery stats reports that tegra-otg (which is the USB host driver) is holding a kernel wakelock all the time, preventing sleep. I can see it in the kernel source (drivers/usb/otg/tegra-otg.c) -- it seems like it should be on whenever the device is in host mode but I have a hard time believing this is meant to start at boot and never stop so I think this is some sort of bug but I dont know what is triggering it.
[Galaxy Tab 10.1 Android Development] aelsharawi:
One of my friends has p4, and he had problems with 3g connection, he told me he had a proxy warning in the browser, when he disabled the proxy it went fine
[Galaxy Tab 10.1 Android Development] jittusm:
The 3g function Is wokingfor me too. And satisfactorily. My issue is wit phone call functionality. It is enabled in the framework but unlike stock ics roms we are handicapped in the phone area.
[Galaxy Tab 10.1 Android Development] Mphidi:
I tried it, download a new zip but still getting the same problem.

---------- Post added at 06:13 PM ---------- Previous post was at 06:08 PM ----------

Yep I tried fixing permission. Cleared data for market App. Downloaded new rom and installed it. Still not working.

This issue is not isolated to downloading via App only. Even if I go on the website and download something entirely different like a pdf or jpg file. I will still have the problem. The is no file being downloaded
[Galaxy Tab 10.1 Android Development] rickyq12:
Samsung or Google needs to hire you.

You have done some really amazing things for our 10.1 Galaxy Tabs and I am truly appreciate it.(I'm sure many of us do)

Just had to mention this.

Thanks for all you do man.
[Galaxy Tab 10.1 Android Development] quorn23:
I had that issue once on my phone, it was full, no space left, did you check that?

If you have plenty space on it left, try:

check if the md5 of your download is correct.

if so, follow the instructions to go back to the original HC Rom and go from there (can be found in this thread how to)
[Galaxy Tab 10.1 Android Development] jolobe:
:good: +1
[Galaxy Tab 10.1 Android Development] ru11er:
I love this ROM and probably wont be leaving it anytime soon.... but cm9 has calling on it? Any particular ROM I should look into to extract modem?
[Galaxy Tab 10.1 Android Development] jittusm:
http://xdaforums.com/showthread.php?t=1875024

check out this thread and try it out at ur own risk :) doesnt work on CM10 tat i can assure u.
[Galaxy Tab 10.1 Android Development] stubborn_d0nkey:
Wait, what? How was I able to make a call or 2 about a week-2 ago? I think I also received a call? I guess my tab is special :)
[Galaxy Tab 10.1 Android Development] jittusm:
on cm10?
[Galaxy Tab 10.1 Android Development] browy:
Just tried it myself and it does not work with this ROM. It might work for Android version 4.1.1 though, I dont know, we're now on 4.1.2, that could be the reason.
[Galaxy Tab 10.1 Android Development] ganiman:
Pershoot's work on CM10 has reached nightly build status:

https://plus.google.com/u/0/117962666888533781522/posts/TtHWxQhGwW2
[Galaxy Tab 10.1 Android Development] ru11er:
Why does it say that it will work in the op on that thread and it shows a link for this thread? I'll take your word for it but just wondering--- does it make a difference that my model is the 4g unit? Thanks.
[Galaxy Tab 10.1 Android Development] jackie_jagger:
Just to be sure, you mean the setting in developers right? "Stay awake while charging" - It is turned off for me and I believe we turned it on during the time we had issues with the device not waking up after a night of charging.

This is interesting, I wonder what is causing this on my device.

Anyone else facing the same?
[Galaxy Tab 10.1 Android Development] muzzy996:
Wakelocks are a pain. Generally I get great battery life in standby if I manage my applications well. I log out of Talk when not being used and then use titanium backup shortcuts on the desktop to disable Maps and Talk. I do not have apps like Google+, Facebook or Twitter on my tablet but if I had I'd disable those too just as I'm doing with Maps/Talk. Additionally I try to keep location services off as well.

Once I took these steps I was able to get deep sleep on my tab in CM10.
[Galaxy Tab 10.1 Android Development] browy:
Maybe because the test was made more than 2 months ago when this Rom was still on android 4.1.1

AFAIK, that thread no longer gets updates, the developer has abandoned it on 9th Sep. It's been more than 2 months since then, a lot has changed with CM10, May be that's the reason why it's no longer compatible with this Rom.

Sent from my GT-I9300
[Galaxy Tab 10.1 Android Development] Bjarne73:
And if i may say, as been stated many times in this thread, the call script is implemented in this rom since months ago, the only thing needed is to flash the modem in the mapp on droidbase. BUT theres still problems with the calls which is not prioritated at the moment.

Skickat med min GT-P7500 som kör CyanogenMod 10 Jelly Bean
[Galaxy Tab 10.1 Android Development] snakecharmer23:
We've come so far with this device. For something that was handed directly to developers at Google IO, I really hoped for more from Samsung in terms of support/updates. They held back ICS until months after the release of the Galaxy Tab 2 and by then, JB was already out.

Well-done, android development community. Thanks for keeping this device relevant and current.
[Galaxy Tab 10.1 Android Development] djmatt604:
Congratulations pershoot, awesome achievement!

Sent from my GT-P7510 bleeding CM10 inverted awesome