yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 10.1 Android Development] ndd2:
sleep mode and battery drain

I continue to find that under all the JB roms I have tested, including the 10/30 build here (clean install / minimal apps / new bootloader etc), the Tab has a relatively high battery drain when the screen is off.

Battery stats under settings shows "Android OS" with keep awake time equal more or less to the time the screen is off; better battery stats shows that the Tab never goes into deep sleep, and that this is because there is a kernel wakelock constantly active in tegra-otg (which is a driver for the USB host).

I looked at Pershoot's kernel source, and this is definitely there -- the driver takes a no-suspend wakelock when it goes into host mode, which happens at boot, and only lets it go when it suspends, which is never as far as I can tell. If I manually suspend the driver (by writing to a file in /sys/) then it gets an interrupt that puts it back in host mode soon thereafter (I think this arrives when the screen goes off).

This can't possibly be the desired behavior? Do other people see this? This seems like a kernel bug (perhaps in interpreting the screen off interrupt to activate rather than deactivate host mode) but maybe there is something wrong hardware wise in my Tab that is keeping the USB active when it shouldn't be?
[Galaxy Tab 10.1 Android Development] v4nelle:
Guys, on movie studio app i cant create a new project... Is this a known bug?

And another one question :If i want to go back to stock, must i flash via odin with pit file, or not?

Ps: Congratulations pershoot! Perfect job!!!

Edit:

[ QUOTE=dsafety;33640685]OK, so I figured out how to access CWM and restore everything from Titanium. Now I have a new question. With Jellybean, many of my apps now display a very annoying Google ad that I do not remember seeing in ICS. Is there a way to disable these ads?[/QUOTE]

You can install adfree from Google Play. Pure android or cm dont have host file by default as mentioned above
[Galaxy Tab 10.1 Android Development] MagicMan3311:
Thought dock was fixed? I only get a "dock connected" event but no button works.
[Galaxy Tab 10.1 Android Development] fvdheide:
dock works for me
[Galaxy Tab 10.1 Android Development] mauwri37:
true, in fact this morning is ok youtube !
[Galaxy Tab 10.1 Android Development] GiantAxe:
okey, my Wi-fi is bound to my MAC, however CM10 changed my MAC adress (how this is even possible,i have no idea)

is there any way to change my MAC back? as currently we now have 3 devices in the house with the same MAC wich is conflicting with the router.
[Galaxy Tab 10.1 Android Development] mcschweg:
My report:

- recording 720p-Vid with stock cam.app is still not OK: upper 1/3 of screen flashing black/white/falsecolour picture.

- switching after recordign 720p from vid-cam to panorama makes Galerie/Camera App crashing (after one minute pause).

- face-unlock is crashing in setup after tutorial.

- rest fine.
[Galaxy Tab 10.1 Android Development] pershoot:
the MAC you are receiving should be the true MAC from the chip. no idea what you had before.

add the MAC to your ACL list (I also do MAC locking).
[Galaxy Tab 10.1 Android Development] jjuki:
I have the same issue. Googled the issue and it seems to be a locale issue. This is not a fix but a workaround:

Change the system language to English (US) and try to open youtube again. Worked for me at least. Some guys reported that after changing the language, rebooting, opening youtube and changing back to their own language it will work, but for me it only works with English selected. Guess we have to just wait for apk udate from google.
[Galaxy Tab 10.1 Android Development] keyz86:
This might be a stupid thing to say but has anyone tried flashing 4.2 Gapps yet? I have on my Galaxy S3 and they all work perfect on JB 4.1.1.
[Galaxy Tab 10.1 Android Development] thomasgatt:
I cannot access the zip file to download. Getting the following error:

You don't have permission to access /galaxy/roms/cm10/p4wifi/ on this server

Any mirrors for the latest zip please?

Thanks in advance
[Galaxy Tab 10.1 Android Development] rpoitras:
WiFi during sleep seems to act differently than before. Previously when waking the tab the wifi icon was grey then it would reconnect and turn blue. During sleep it would still pick up email. Now whenever the tab is woken up I see "no internet connection" but then it reconnects and all is normal... but I don't think it ever reconnected while asleep so I don't get email like I used to. This morning I changed the wifi advanced setting to "never sleep" and now when I wake the tab its already connected but its still not like it used to be. Is this normal behavior? Is anyone still receiving email while asleep? Thanks.
[Galaxy Tab 10.1 Android Development] scaryshark:
It works fine but to be honest, there aren't many differences!
[Galaxy Tab 10.1 Android Development] aelsharawi:
I also use MAC address, however i have no problems, didn't change my mac
[Galaxy Tab 10.1 Android Development] pershoot:
it doesnt reconnect while asleep if your sleep policy says not to stay alive (because the connection gets dropped).

this is the correct behavior.

grey means not connected to google and blue means it is.
[Galaxy Tab 10.1 Android Development] pershoot:
hold. im moving the site so need to make some changes.
[Galaxy Tab 10.1 Android Development] pershoot:
fixed.
[Galaxy Tab 10.1 Android Development] keyz86:
Its mainly for Gmail 4.2 and the camera, everything else is pretty much the same.
[Galaxy Tab 10.1 Android Development] iaminflames:
Damn I was at 70% downloaded then the site went down. This site seems to be down a lot :mad:
[Galaxy Tab 10.1 Android Development] pershoot:
dude, im moving the site.

find a mirror in this thread or be patient.
[Galaxy Tab 10.1 Android Development] sd_042:
Heh, so it wasn't just me! ;)
[Galaxy Tab 10.1 Android Development] browy:
No idea what you guys are talking about. Just now I've finished downloading the latest built within 2 minutes without failure.
[Galaxy Tab 10.1 Android Development] sd_042:
pershoot: As discussed; Backed up to PC, Wiped Tablet and installing now.

Will let you know how it goes!
[Galaxy Tab 10.1 Android Development] pershoot:
should be done for now (tweaking performance).

may go back to it later if needed.
[Galaxy Tab 10.1 Android Development] sd_042:
Dude, just installed and re-installed my Apps (MX Player, Aldiko, etc).

...

...

NICE WORK!!!!
[Galaxy Tab 10.1 Android Development] dsafety:
I am experiencing a couple small problems. If I try to set the background image in the lock screen by using an image in the Gallery, I get the error "Unfortunately Gallery has Stopped" Is this a bug or am I doing something wrong?

Also,I have the Samsung charging dock. Periodically, the dock stops working for text entry, (it still charges). A reboot fixes the problem. Any ideas?
[Galaxy Tab 10.1 Android Development] Grommish:
MAC filtering is a waste of time. Anyone with a Sniffer and a NIC in permiscious mode can spoof a MAC address regardless of your security type since the initial handshake is done in the clear.

As to the kernel or ROM changing the MAC I've not seen it.

Batt life is continuing to be amazing.
[Galaxy Tab 10.1 Android Development] pershoot:
post a log of it occurring (logcat and dmesg).
[Galaxy Tab 10.1 Android Development] thomasgatt:
thanks!
[Galaxy Tab 10.1 Android Development] dillfever:
so is this just a download for testers??? where are u downloading it from?? Droidbasement??? I'm just lost in space...lol
[Galaxy Tab 10.1 Android Development] ThehypnooToad:
Anyone having trouble connecting to computer after this build got MTP ticked

---------- Post added at 03:23 AM ---------- Previous post was at 02:45 AM ----------

[QUOTE

its ok fixed it
[Galaxy Tab 10.1 Android Development] sd_042:
Nah, I got it from Droid Basement.
[Galaxy Tab 10.1 Android Development] Leogp:
Xbox Smartglass

Hey, I've tried to install Xbox Smartglass on my P7500, but it says my device is not compatible. I'm using CM10, jelly beam.

Is anyone else having the same problem? Any way around it?
[Galaxy Tab 10.1 Android Development] Sharky444:
Since the last two builds (10/16 and 10/30) the HD videos in the Youtube app are very jerky meaning I get a microstutter, or even a complete 0.5 sec halt every 5-10 seconds. The sound is still playing, only the picture stops for a short time. I didn't have the problem before the 10/16 build (but had other problems).

Am I the only one with this problem?
[Galaxy Tab 10.1 Android Development] jackie_jagger:
PSA: To those who are experiencing lag, upgrade to the latest bootloader - once I did that my Tab is as smooth as my Nexus.
[Galaxy Tab 10.1 Android Development] Sharky444:
What is the latest? The one from ICS? I have that and still a lot of lag.

E.g. make this test in the Chrome browser.

Open http://www.huffingtonpost.com/

Immediately open a new tab and http://www.huffingtonpost.com/ again

The tablet comes to a crawl. Scrolling totally jerky, sometimes everything halts for 1-2 sec.

Doing the same on an IPAD 2 is smooth without any lag.
[Galaxy Tab 10.1 Android Development] Jay Rock:
Chrome browser is known to be very laggy.
[Galaxy Tab 10.1 Android Development] Sharky444:
I've tried Firefox. It's less laggy, but the web sites load more slowly and the font rendering is also very slow. You see the text anti aliasing being applied some time after the text is displayed. The default browser is faster, but is missing some features and has problems displaying some web sites. So I'm stuck with Chrome, even if it sucks.
[Galaxy Tab 10.1 Android Development] rizky_p:
I used to but not on the 1030 build. GT-P7500 was shown in windows explorer but cannot copy anything to it.
[Galaxy Tab 10.1 Android Development] abol3z:
Youtube video lag too much why ???
[Galaxy Tab 10.1 Android Development] v4nelle:
Guys can i use this cwm 6.x.x.x with stock ics?
[Galaxy Tab 10.1 Android Development] HansiHusten:
Ive tried a dirty install (from stock to CM10) but i had to wipe all partitions because it did not want to boot at all.

your recovery version should be ok, but it wont hurt you to update
[Galaxy Tab 10.1 Android Development] v4nelle:
yes,but can i use cwm 6 if i want to STAY on Stock ICS?
[Galaxy Tab 10.1 Android Development] me_guitarist:
I don't have that problem. My son watch YouTube cartoon everyday till it power off.

---------- Post added at 02:44 PM ---------- Previous post was at 02:43 PM ----------

Yes u can, u also need that CWM to root yr tab.

Hope this help.
[Galaxy Tab 10.1 Android Development] djden:
video.accelerate.hw=1

I added this in build.prop

It looks good so far without video laggs...
[Galaxy Tab 10.1 Android Development] Patrics83:
When it comes to build.prop tweaks,

most

of them are placebo :)

Read this...
[Galaxy Tab 10.1 Android Development] Sharky444:
Are you sure the video was in HD? Most cartoons are in SD.
[Galaxy Tab 10.1 Android Development] DefQoN_BE:
I installed this ROM like 1 hour ago, everything worked fine, untill now... i installed the Gapps but every time i open up the play store, it keeps crashing, if i want to open it, a message shows up with 'google play has stopped working' i already tryed other gapps but i have the szme issue, any advice??
[Galaxy Tab 10.1 Android Development] damngood98:
Not sure which gapps you're using but I would try going to settings, apps, Google play & clearing data. Reboot, maybe fix permissions, and see if that works.
[Galaxy Tab 10.1 Android Development] DefQoN_BE:
I fixed the gapps issue, but now i have another issue.... if i lock my screen, and then unlock it, i have a rolling screen on my unlock screen... can anyone help me to fix this ???? It's like everytime i try to wake my screen, i have a tv without any channels...
[Galaxy Tab 10.1 Android Development] pershoot:
before you flash anything you MUST read the post (droidbasement) where you got the link for the build you just flashed.

you will find your answer there.
[Galaxy Tab 10.1 Android Development] DefQoN_BE:
Oops... you were right pershoot... i'm sorry i feel so stupid lol.... i only flashed the recovery.tar.md5 and i also had to install bootloader 4_0_4, thanks to you my brain started working for 1 time and i fixed my problem, thank you very

Much!

Btw, this ROM i so damn smooth and fast holy ****.... is it on steroïds???? :o
[Galaxy Tab 10.1 Android Development] jackie_jagger:
Just did this, its not so bad. Did not halt on me at all. Little stuttering was seen but definitely did not cause my tablet to crawl.
[Galaxy Tab 10.1 Android Development] chankarl:
Hi guys, just a quick observation on the battery,when my simcard 3g is inserted or on,the battery life is superb,But when simcard is removed or 3g is off and the airplane mode is on,battery drains quicker,anyone experienced this?just wanna know the logic with this,tnx.
[Galaxy Tab 10.1 Android Development] Sharky444:
Have you scrolled while the page was loading, or waited a minute until everything is rendered?
[Galaxy Tab 10.1 Android Development] tallgrasshawk:
Good question. Led works for camera flash, but the torch toggle doesn't do anything.
[Galaxy Tab 10.1 Android Development] jackie_jagger:
Both. Not the best performance but not so bad either.
[Galaxy Tab 10.1 Android Development] Cpt.Peppy:
Same here, but only sometimes

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy Tab 10.1 Android Development] v4nelle:
of course it helps!

Thx for your time!
[Galaxy Tab 10.1 Android Development] me_guitarist:
Tried HD YouTube today. Its good, have no idea on yr tab mate.

Maybe u should let it buffer a bit before watching.

Hope this help.
[Galaxy Tab 10.1 Android Development] jazzespresso:
I have a little interesting and weird issue:

When reboot my tab thru recovery or normal way, I found out that my tab prompts me to update some of apps (not google apps), so I go thru Play store and update them. I did not pay attention this as I thought that was normal. However, realized that whenever I reboot the tab, another bunch of other apps poping up for update. It is kinda weird situation if you ask, I start to feel like the reboot almost causing some kind of wake up the apps update triggers kind of thingy going on. It is really hard to explain. It seems like this could be play store issue. If I don't reboot the tab for couple days and if there are some new updates, it does not shows up in notification area, instead if I go thru play store and click my apps, then I see bunch of new updates.

I did search/google this issue, but could not able to find the same issue like mine. so thought I throw this issue here. I don't think this is related to CM10 ROM. Drop me a line if you have any idea.
[Galaxy Tab 10.1 Android Development] quikt:
in google play store you can enable/disable notifications for app updates. its under menu button then settings.
[Galaxy Tab 10.1 Android Development] nakedninja42:
Normal behavior, I've observed the same thing on my Nexus 7 and SGS3. Might be the new update for the Play store doing this.
[Galaxy Tab 10.1 Android Development] abol3z:
I have speed intenet connection and i installed the rom correcly, everything is ok, but when it comes to playing youtube videos it sucks.

Especially when playing HD video and there should be some action scene and moving camera ... thats makes the video lag too much.
[Galaxy Tab 10.1 Android Development] RushdB:
Guys, is the WiFi direct working? I could no see it under Share options, neither find my GTab when searching using my Gnexus...

Enviado de meu SGH-T859 usando o Tapatalk 2
[Galaxy Tab 10.1 Android Development] jayceebee23:
Reading a lot of great stuff regarding the new Android 4.2. I know it will take a while before we get a CM version but that doesn't mean I can't get excited. :)
[Galaxy Tab 10.1 Android Development] Sharky444:
It's not a buffering problem, since the sound doesn't stop. It's video only.
[Galaxy Tab 10.1 Android Development] fvdheide:
keyboard dock stopped working

i experienced this morning that my keyboard dock unexpectedly did not function anymore after reboot.

im running build 1030 .. keyboard dock was still working fine yesterday .. nothing changed since then .. when connecting my dock now, my tab starts the dockingclock

anyone else with this experience?
[Galaxy Tab 10.1 Android Development] kRel:
CM10-10-20121030 the phone don't work

hi

I installed the cm-10-20121030-EXPERIMENTAL-p4, with the SDcard inserted.

The card was detected and appeared signal symbol. I have not yet installed any software. If I try to call the line falls away. If I try to call the tablet from another phone, I have a very fast busy signal, a symptom of problems.

I might have to install the phone files "modem.tar.md5" this along with ROM "droidbasement"? Or what can I do?

Thank you.

PS

Sorry for my google english : D and if I have posted a question already made: english is not my first language and research are not easy for me : (
[Galaxy Tab 10.1 Android Development] pershoot:
This is the second time I am asking. Pls post logs of the dock ceasing to work after some time.

Kernel and logcat of the incident. No logs, no way to fix it.
[Galaxy Tab 10.1 Android Development] abol3z:
Same here. :D
[Galaxy Tab 10.1 Android Development] pershoot:
try this:

droidbasement.com/galaxy/roms/cm10/p4/test/p4-boot.zip

pls do not report any more issues without logs in hand. i will never finish if i have to do everything blind.

thank you.
[Galaxy Tab 10.1 Android Development] quorn23:
didn't had the issue before, but also with the kernel update the keyboard dock is working fine so far on my side.
[Galaxy Tab 10.1 Android Development] flyingdutchie:
I have the same issue, re-charging time is really long.

It is not as slow as 1% over half an hour. It is more like 5% - 10%. Still, this is way slower than with the stock ROM.
[Galaxy Tab 10.1 Android Development] pershoot:
check your wall charger.

no issue with wall charging here last time i checked.

this tab takes a while to charge. always been like that. its a huge battery. you want a faster charge, turn it off and just do it in LPM mode (i.e. battery anim.).
[Galaxy Tab 10.1 Android Development] kRel:
I'm so sorry ... I know very little english and google dont help me to understand this phrase: ... post logs

"of the dock ceasing"

to work after some time. . . . Can you tell better what it means: "of the dock ceasing" ? sorry again... thanks
[Galaxy Tab 10.1 Android Development] kbluhm:
Figured I'd chime in. Plugged it in at 83% and left the tablet on, only turned the screen off... hit 92% about 40 or so mins later before I had to hit the road. Seems fine to me.
[Galaxy Tab 10.1 Android Development] C-o-M:
"ceasing to work" means "stop working".

"Pls post logs of the dock ceasing to work after some time" means: When your dock doesn't work, then please post logs (dmesg and logcat).
[Galaxy Tab 10.1 Android Development] Patrics83:
If anyone needs a helping hand to get needed logs. Then have a look at this!

AIOlog - All in One Android Logger

Works on Windows and Linux...
[Galaxy Tab 10.1 Android Development] kRel:
maybe I misunderstood ... I do not have the dock! (maybe the dock is the tablet?) where DMSG and logcat? (files?)

thanks
[Galaxy Tab 10.1 Android Development] spritable:
Can you open www.theverge.com site with default browser. After 30 secs of loading I get fc of the browser. I can however open the site with chrome, but it has terrible performance on my tab. Of course we are talking about latest cm10.
[Galaxy Tab 10.1 Android Development] sneezi:
theverge.com works absolutely fine for me.
[Galaxy Tab 10.1 Android Development] mwohlgemuth:
Same with me - no problem to open the site.

Sent with Tapatalk

GT-P7500 CM10

HOX MIUI v4 DE
[Galaxy Tab 10.1 Android Development] kbluhm:
I have had the browser FC on me a lot. Various sites, usually with flash applets or lots of javascript.. cpu-heavier stuff. Sometimes it will freeze and ask if I want to close the browser or wait for it to become responsive, and sometimes it just plain crashes to the home screen.
[Galaxy Tab 10.1 Android Development] wcypierre:
and supposedly mac as well(since I've tried to make my code as portable as possible), but they would have to compile it themselves since I don't own a mac :(
[Galaxy Tab 10.1 Android Development] angeamon:
Works for me.. Dont see any problems opening or browsing any website on my tab ..
[Galaxy Tab 10.1 Android Development] solidether:
Same issue here (p4) regarding the battery drain - using airplane mode drains faster than without.
[Galaxy Tab 10.1 Android Development] hyann:
deleted
[Galaxy Tab 10.1 Android Development] C-o-M:
Are you kidding me? pershoot asks for logs of people with non-working dock. You ask for a translation of what he said. I give it to you. And now you tell me that you don't have a dock. Why do you ask at all?

The dock they are talking about is the keyboard dock.
[Galaxy Tab 10.1 Android Development] sneezi:
Because he had other problems, is only using google translate for translating and was misunderstanding everything.

For sure no reason to flame like this. People are human, humans are not perfect and are allowed to make mistakes or misunderstand somethings.

Also I understand, that you are very annoyed, as you tried to help. Still, you could be flamed the same, "can't you read what he posted?", as he wrote he don't understand english well. But let's not start this, as this is for sure not productiv, also it might be amusing. ;)

Anyway, there are other people out there having problems with the dock.
[Galaxy Tab 10.1 Android Development] me_guitarist:
If I'm not mistake p4 has 7000mAh battery definitely need some times to charge.

I have no problem at all on charging.

---------- Post added at 04:42 PM ---------- Previous post was at 04:40 PM ----------

Or we can hack the internal charging ic to have faster charging haha...just kidding mate.
[Galaxy Tab 10.1 Android Development] docandy:
Hi all,

Just started using this ROM a little while ago. Haven't had any major problems. I just wanted to thank the developer(s) for their great work. It makes using my tab so much more enjoyable. Very appreciative thanks again !
[Galaxy Tab 10.1 Android Development] Grommish:
I don't know how much better batt life can get..

P4wifi
[Galaxy Tab 10.1 Android Development] pershoot:
as far as i'm concerned its fixed with the test update i posted, since everyone i know with a dock has tested it and confirmed for me.

remember, if its something i cant reproduce and no logs are given, its as if it never occurred, although i had to take a hunch on this particular one and fly blind.
[Galaxy Tab 10.1 Android Development] sneezi:
Pershoot, I don't habe problems with the Rom other then the torch, which I don't use.

I have a problem to not find a browser supporting a local html page with javascript and mp3 audio. The stock doesn't show a input box, chrome doesn't play the audio.

But that's nothing you can solve, or a failure in the rom. It doesn't work on my sgs3 with stock jb as well.

I can only say, great rom, and can't wait for integrating it back to the nightlys on the cm-page. For getting more often updates for new cm features, like the file manager.

But you are going to do this, when you think it's time to do. So agai, thanks for the great rom.

Sneezi
[Galaxy Tab 10.1 Android Development] pershoot:
Torch is already fixed.

Next week I'll up to mainline and then work on the remaining bugs (listed in known issues).

I'll just do one more build before that on DB, as I'm doing some kernel work and have few other stuff.
[Galaxy Tab 10.1 Android Development] RushdB:
Just for record, i've flashed pershoot bootloader (i as running stock ICS before), turned off WiFi and mobile data and got 0.5% drop every hour. Excelent now... before i as getting 2% drop for hour idle.

Interesting is that when i leave WiFi on, but with that option to turn it off when idle for more than 5 minutws, my battery life sucks...

Enviado de meu SGH-T859 usando o Tapatalk 2
[Galaxy Tab 10.1 Android Development] chankarl:
try enabling airplane mode,battery sucks when enabling it.
[Galaxy Tab 10.1 Android Development] ker_:
what about these gapps? http://goo.im/devs/cdesai/gapps/gapps-jb-42-20121103.zip i think these are the lastone and so the best at the moment!