yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 10.1v Android Development] pershoot:
it shouldnt. check your BG apps. grab logs when this is ocurring. use osmonitor. something is using it and not preventing it from sleeping/freezing userspace (i speculate).

the rest of the stuff can be related to the port involved.

seo can assist there.
[Galaxy Tab 10.1v Android Development] pershoot:
can someone that has 3g and is comfortable flashing/testing, pls flash this:

http://droidbasement.com/galaxy/kernels/2636/test/

boot-cm_2636.4_p4-test1.zip

test 3g when sleep.

grab logs and send them, after you wake it up and if the connection has died.

run logcat and send to a file while you are testing the connection: adb logcat > logcat

run this after you wake it up and if the connection has died:

adb shell dmesg > dmesg

pastebin both.
[Galaxy Tab 10.1v Android Development] seo:
ok here is what happens when I disable "wifi networks" in location service settings. see attached images. I bet on google apps.

btw do you have samsung account logged in? it's a battery eater. on previous release I have found it does some checking requests EVERY MINUTE

another question: you're on stock 7100 modem image or you flashed the one from 7500 ?

something in userspace is b*****iting us :)
[Galaxy Tab 10.1v Android Development] tigerminx:
Lol, that is almost exactly what my screens would look like if I posted them too. I thought I had nailed the problem too with Google's latitude service running so I froze Maps with Titanium backup, but the problem persisted. After I disabled location services like you mentioned I also got about 2 minutes of Deep Sleep, but about 25 minutes of 216Mhz CPU usage :)

I am still on the stock modem, I haven't flashed the 7500 one yet. I don't use Samsung Account.
[Galaxy Tab 10.1v Android Development] seo:
ok here is the result with 0.8 kernel (7510, the one with freeze problems)
[Galaxy Tab 10.1v Android Development] pershoot:
let me revert the AHB save/restore registers and re-post a test.

this test will have:

switching fully to p3-gpio (reference in gpio header)

7500 sensors

and that reverted (ahb)

give me few mins.
[Galaxy Tab 10.1v Android Development] pershoot:
posted.

-test2
[Galaxy Tab 10.1v Android Development] pershoot:
seo PM me pls. faster to do this over gtalk, as i dont have the device in hand.
[Galaxy Tab 10.1v Android Development] mtz_ro_2003:
Had a "3G wake problem" with test1 kernel

logcat is too big for pastebin so i attached the files

Should I try test2 also? Or that is with the deepsleep problem?
[Galaxy Tab 10.1v Android Development] pershoot:
flash test2.
[Galaxy Tab 10.1v Android Development] mtz_ro_2003:
same with test2
[Galaxy Tab 10.1v Android Development] tigerminx:
That's more like it :) what do you think the cause is?
[Galaxy Tab 10.1v Android Development] pershoot:
kernel log looks ok from quick glance.

are you getting drops with 0.8 kernel (the one with freezes)?
[Galaxy Tab 10.1v Android Development] pershoot:
flash test2.

that 'should' be resolved now.

dont trust that app to tell you about sleep.

look at the numbers (battery drop).

if you have radio running that will consume more juice (even with it disabled sine you have simhelper, etc. searching). but, it shouldn't go nuts.

pls report back.
[Galaxy Tab 10.1v Android Development] mtz_ro_2003:
Another "3G wakeup problem"

Can't tell you if this happened with other version because I use mainly Wi-Fi.

I just wanted to help and, when you asked for volunteers to try to flash test1 kernel, I just tried with 3G :)
[Galaxy Tab 10.1v Android Development] pershoot:
it would probably with the others too, as i hear people have reported this on 0.8 as well.

ok pls let it sleep for an hour and report back on battery consumption on test2.
[Galaxy Tab 10.1v Android Development] tigerminx:
Okay thanks pershoot. Much appreciated. Will report back soon.
[Galaxy Tab 10.1v Android Development] mtz_ro_2003:
OK... posting after almost 1 hour...

The battery dropped from 86% down to 80%.

Weird thing is that the TAB woke up many times by itself and by "woke up" I mean display lit and lock screen displayed.

There was some network activity as I could see the upload/download icons.

After 3-4 seconds the network activity stopped and the display went back to sleep after 1 minute - timeout is set to 1 min.

Here is a screenshot of that CPU Spy app

Edit: I have to mention that the active network connection was WiFi and that all 3 options from location were disabled.
[Galaxy Tab 10.1v Android Development] tigerminx:
Okay, after about an hour on test2 kernel, I am still experiencing the same problem. I know you mentioned not to trust that app, but it's always been reliable. Lost 4 percent in that hour, normally only lose that after a day with my tab on flight mode which it has been. CPU is constantly running at 216 mhz.

Update: Also noticed that the tab would randomly turn on by itself, then turn off.
[Galaxy Tab 10.1v Android Development] pershoot:
yea.. we're working on it.
[Galaxy Tab 10.1v Android Development] pershoot:
-test6 is up.

let me know if it wakes up on its own.

report back on battery useage for 1 hr.

pls send a dmesg over mid-way during testing.

thx.
[Galaxy Tab 10.1v Android Development] pershoot:
-test7 is up.
[Galaxy Tab 10.1v Android Development] emirem:
Thx Pershoot, 3g problem persist.
[Galaxy Tab 10.1v Android Development] pershoot:
im not looking to kill the 3g problem (but if it is a kernel issue, then yea). that runs deeper then the kernel i suspect (people have reported it on 0.8 and this particular 3.1 build).

im looking to kill the battery consumption/wakeup problem.

pls report back in one hour. pls post a dmesg in 30 minutes.
[Galaxy Tab 10.1v Android Development] emirem:
Never had it on 0.8, first appeared on 1.0, and other two roms with your new kernel. Hope you will suceed.
[Galaxy Tab 10.1v Android Development] pershoot:
first priority is the drain and wakeup.

then i will look in to the disconnect.
[Galaxy Tab 10.1v Android Development] emirem:
Uh, i had to put it on charger, if anione else is online, please send test result.
[Galaxy Tab 10.1v Android Development] pershoot:
while your at it, please flash back to the original seo 3.1 rom and the latest test kernel, and test 3g, since you could not reproduce it on the original 3.1 rom. take a nandroid backup so you can revert back to your current setup.

some sensors will be broken, but its ok. i only want to validate the root of the 3g problem.
[Galaxy Tab 10.1v Android Development] pershoot:
have u tried this?
[Galaxy Tab 10.1v Android Development] pershoot:
i see what is ocurrig with the 3g stuff. im trying to pinpoint the root of it, kernel side.
[Galaxy Tab 10.1v Android Development] pershoot:
anyone online that can work with me, so i can resolve this for you?
[Galaxy Tab 10.1v Android Development] harwantgrewal:
What do you need I am here...
[Galaxy Tab 10.1v Android Development] mtz_ro_2003:
Just flashed test7 kernel... Wake-up problem persists...
[Galaxy Tab 10.1v Android Development] pershoot:
send me your dmesg from this 3g problem and wakeup on its own problem.

because i am testing two other devices which has no issue at all with 3g. one other device currently which has no wakeup issues.

this is all on test7.

so its just a select few.
[Galaxy Tab 10.1v Android Development] Conan179:
i found a bug that turns the display on after turning it off (Standbymode) after 2sec... is there a solution?
[Galaxy Tab 10.1v Android Development] mtz_ro_2003:
No, Conan179. No solution yet. pershoot is working on the kernel.

@pershoot:

Here is the dmesg right after the device woke up.

One weird thing... It seems that when the TAB is connected to the USB, it doesn't wake up, or, at least, not that often. When it's unplugged it wake up every 1 or 2 minutes. When plugged, I didn't notice waking up. I'll keep it connected for the time being and let it rest some more.
[Galaxy Tab 10.1v Android Development] Foggcas:
I noticed test8 is up... is it safe to test?
[Galaxy Tab 10.1v Android Development] pershoot:
not yet. working with a tester so they will keep flowing, so no need to flash right now.
[Galaxy Tab 10.1v Android Development] mtz_ro_2003:
Did some more testing... maybe it helps...

I tried different scenarios and timed with my phone's chronometer how much time until device woke up.

TAB disconnected: it woke up after 1m 44s

TAB connected to PC (USB debugging enabled): after 5 minutes it didn't woke up

TAB disconnected again: 1m 56 seconds

TAB connected to wall charger: 1m 48 seconds

TAB connected to PC (USB debugging disabled): it woke up afer 2m 04 seconds
[Galaxy Tab 10.1v Android Development] seo:
I think 8 have a solution pershoot. in ehci_hcd. lost 3 percent of battery for 8 hours. going now to my office then ill upload a kernel and send the diff to you to look into it.
[Galaxy Tab 10.1v Android Development] pershoot:
ok pls just send me the specific change so i can merge it in and test.

thx.

working on the usb -108 now.
[Galaxy Tab 10.1v Android Development] mtz_ro_2003:
FWW

TAB connected to PC (USB debugging enabled): didn't woke up at all in 15 minutes
[Galaxy Tab 10.1v Android Development] emirem:
Sorry Pershoot, fall into deep sleep myself, had long day at work.
[Galaxy Tab 10.1v Android Development] seo:
here you go guys: http://android.saraev.ca/download/TB-Galaxy-1/boot-TBG-test1.zip

please test and report.

pershoot check this out: http://android.saraev.ca/download/TB-Galaxy-1/ehci-tegra.diff

you may have to clean everything in drivers/usb prior to building

edit:

tested many different cases: left the device sleep itself, power off / power on. looks good to me. still getting some "failed to suspend" alarms but I think they're ok as it happens rarely and the system immediately tries to resume/suspend again.

<6>[ 188.406386] PM: Syncing filesystems ... done.

<3>[ 188.875249] PM: Device alarm failed to suspend: error -16 <-- this should be fine

<3>[ 188.881164] PM: Some devices failed to suspend

<6>[ 189.112019] PM: resume of devices complete after 226.087 msecs

<6>[ 190.940919] PM: Syncing filesystems ... done.

<6>[ 197.885425] PM: Syncing filesystems ... done.

<6>[ 198.271888] PM: suspend of devices complete after 274.327 msecs

<6>[ 198.305094] PM: late suspend of devices complete after 26.950 msecs
[Galaxy Tab 10.1v Android Development] mtz_ro_2003:
No wake up in 5 minutes with boot-TBG-test1!

You might have got it seo!

благодаря

Edit:

CPU states after 10 minutes of sleep
[Galaxy Tab 10.1v Android Development] Foggcas:
Woohoo!! I think you've resolved the 3G issue :) so far no problem after waking up!
[Galaxy Tab 10.1v Android Development] seo:
yeah I thought it may be resolved because till now there was problems on 1519:0020 syspend/resume.

would be really great if it fixes also 3g :) could somebody else confirm? thanks
[Galaxy Tab 10.1v Android Development] mtz_ro_2003:
For the past 20 minutes I've been trying to put the TAB to sleep and then wake up to see if 3G drops.

Until now, no problem.

Every time the 3G connection is working!

We might have a winner!!! :)
[Galaxy Tab 10.1v Android Development] seo:
to people with charging problems: flash this: http://www.multiupload.com/ZNQSK2IXRU

fastboot flash boot boot.img
fastboot reboot
[Galaxy Tab 10.1v Android Development] seo:
nope, v only
[Galaxy Tab 10.1v Android Development] rycus86:
I had one small problem: sometimes it seems to reset my SIM status and it asks for my PIN code. Sometimes it does this 2-3 times an hour, sometimes just once in about 4-6 hours.
[Galaxy Tab 10.1v Android Development] fanSte:
Try to put you SIM card out and back in

Confirmed working, even with USB on PC, tnx!
[Galaxy Tab 10.1v Android Development] tigerminx:
Wow, I cannot wait to get home and flash !!! Thanks SEO !!!
[Galaxy Tab 10.1v Android Development] fanSte:
Yeh, after long waiting finally 3.1!! (damn Samsung your'e too late, again :) )
[Galaxy Tab 10.1v Android Development] rycus86:
Well, rebooting help it a little, did you have this issue, and could you get it away with removing the SIM card?
[Galaxy Tab 10.1v Android Development] bamboo12:
sweet it charged 10% in the last 45 minutes, all is good
[Galaxy Tab 10.1v Android Development] fanSte:
I had this problem one time a couple of weeks ago (on Android 3.0). Removing the SIM card en putting it back in seems to fix the problem.

I had this with my Samsung Galaxy S too, but with the Tab you can remove/insert the SIM card when the Tab is still on, lol.
[Galaxy Tab 10.1v Android Development] fanSte:
i've made a mirror for the files, if someone is interested: http://www.fanste.nl/10.1v :)
[Galaxy Tab 10.1v Android Development] dsousa:
Flashed last night, great job seo.

Also have the battery issue, going to flash the fix tonight and report back.
[Galaxy Tab 10.1v Android Development] aSeeker:
Thanks for the update seo - flashed & booted without problems and she's charging again while plugged into the computer :)

Update: Thanks for fixing the compass issue also :)

Keep up the good work!
[Galaxy Tab 10.1v Android Development] fanSte:
seo, I've made some screenshots for your first post ( yes Dutch language :) )

http://fanste.nl/10.1v/index.php?dir=screenshots/
[Galaxy Tab 10.1v Android Development] lacion:
to sumarize all i seen.

i have the issue with the 3g network, from time to time it asks again for the sim pin number.

but i also notices that while using wifi it looses conection from time to time, like a reset for the conection.

the randon kernel panics that are not that often. some time the screen wont turn off. everything work but the power button wont turn off the screen needs a reset to work.

and the not charging issue is also here, the only problem is that fastboot is not listing my device and i have no way to flash your new boot image. trying to work that out, i', guessing is some wear problem with the windows drivers.
[Galaxy Tab 10.1v Android Development] aSeeker:
Regarding fastboot - you're running fastboot while your tablet is USB mode at bootup?

You can get to this mode by powering off the tablet, powering it on and holding the vol down button (rocker left being pressed).

You should see 2 icons - the first a USB icon, the second showing a warning triangle.

Left on the volume rocker will switch between the two, right on the volume rocker selects.

Highlight the USB icon and select it.

Now fastboot should show the device. If you still have issues - you may need to run it as admin. On Ubuntu I have to run fastboot as sudo to see the device.
[Galaxy Tab 10.1v Android Development] seo:
you need a tegra compatible fastboot binary

http://xdaforums.com/showthread.php?t=1064793
[Galaxy Tab 10.1v Android Development] tigerminx:
Guys who have upgraded to 3.1, any feedback on performance?
[Galaxy Tab 10.1v Android Development] lacion:
@aSeeker

i am on fastboot usb mode.

@seo

thats the one i'm using.

@tigerminx

after your remove the gazilion sansumg widgets, its smoother than 3.0

______________________________________________________________

i unistall all the sansumg driver i had, i change the inf for the google drivers, windows is now installing the google drivers. in my device manager is listed as a samsung android phone. Android ADB Interface

but when i do a fastboot devices the list is just empty
[Galaxy Tab 10.1v Android Development] rycus86:
Pretty much the same as in 3.0.1, the launcher is still a bit laggy but other apps run fine.
[Galaxy Tab 10.1v Android Development] snaai8:
do you think we'll be able to see stock 3.1 on our devices?

Not that I'm not grateful for having this 3.1 though!! so thanks!

Edit:

And maybe voodoo sound? the 10.1 "slim" already has it through bonsai.
[Galaxy Tab 10.1v Android Development] harryzz:
1 hour - no battery discharged.

3G works just fine.

br

harry
[Galaxy Tab 10.1v Android Development] serwill:
I can help too... Do i flash this via CMW?
[Galaxy Tab 10.1v Android Development] mtz_ro_2003:
Yes!

Download zip and copy it to device.

Reboot into CWM.

Choose "install zip from sdcard" and select the downloaded zip.

Reboot

And you're good to go
[Galaxy Tab 10.1v Android Development] emirem:
Pershoot and Seo, thanks, after 1hour of testing, connection remained. Seems it works.
[Galaxy Tab 10.1v Android Development] serwill:
Thanks a mil! It seems to be working fine now
[Galaxy Tab 10.1v Android Development] hotginger:
Do I understand this right, I have to first flash the 1.0 and then update to 1.0.3? Has the update to be flashed the same way as I flash the 1.0? Would be nice if someone could answer me that! Thanks!
[Galaxy Tab 10.1v Android Development] seo:
yep

+10
[Galaxy Tab 10.1v Android Development] zoken4:
Thanks to seo, pershoot and xda's community in general, we finally have our tablet on par with the Galaxy Tab 10.1. XDA is the only reason I don't regret my purchase (wich is quite a shame for Samsung), thank you very much.
[Galaxy Tab 10.1v Android Development] JorgeSinval:
Yes! Seo and pershoot, great job!
[Galaxy Tab 10.1v Android Development] tigerminx:
Thanks Seo, and Pershoot, and to those that assisted where needed. You guys really are awesome !!!
[Galaxy Tab 10.1v Android Development] Malcom75:
Hi,

I installed the 1.03 Version and after 3 reboots my sim card is working now.

I will test the new rom an give back a reply!

Thanks for the work
[Galaxy Tab 10.1v Android Development] pershoot:
i've reverted all those for testing last night, but not all in succession.

good catch!

these changes do the following reverts:

Revert "usb: ehci: tegra: Don't change the hcd state on restart"

Revert "usb: host: tegra: Fix a possible int storm on resume from lp0"

Revert "tegra: usb: fix ehci suspend in host mode"

Revert "usb: ehci: tegra: Correctly handle GetPortStatus during Resume"

i added 1 thing to prevent wakeup <p5 and 1 to ensure 3d power gating disabled on t20, proper vbus state, and full gpio-p3 (included in header (which I may change later, when i get a chance to test 10.1 3g devices)) + usb charging.

can you all pls give this a quick test?

-test13

http://droidbasement.com/galaxy/kernels/2636/test/

thx.
[Galaxy Tab 10.1v Android Development] mtz_ro_2003:
@seo:

If I have your est1 kernel should I flash 1.0.3?

Did you make some other modifications?
[Galaxy Tab 10.1v Android Development] Foggcas:
Something else I've picked up, not sure if its just my ears though. with headphones plugged in, even the softest sound setting is pretty loud. I've never noticed this before but had my wife moan she could hear the music from them last night and it was as soft as I could make it. I'm using the headphones that came with the tab

Has anyone else noticed this?
[Galaxy Tab 10.1v Android Development] pershoot:
use voodoo control panel to reduce the sound amps.
[Galaxy Tab 10.1v Android Development] seo:
yes, -test kernel has usb messed up :) had to clean it up this morning, use the kernel included in 1.0.3
[Galaxy Tab 10.1v Android Development] felixe99:
hi everyone, this is my first post.

I begin with: THANK YOU GUYS! You are great, the job you have done is perfect

Thank you again.

I have installed 1.0.3 and all went fine, 6 hour of work on my tab and zero problem.

Only a little thing, camera resolution setting wont be saved (on 0.8 works)

Thats all.

Thanks
[Galaxy Tab 10.1v Android Development] tigerminx:
Hey Seo, what would you recommend for overclocking the CPU? I have SetCPU. Would that do the trick?
[Galaxy Tab 10.1v Android Development] seo:
thanks for the report about camera resolutions. nope it wasn't ok in 0.8. the default was different (8mpix picture / 1080p video) but as I can see resolution setting gets reset on every app start. attaching fixed camera for you. push to /data/app_s/ via adb
[Galaxy Tab 10.1v Android Development] felixe99:
Thank You Seo, i've installed apk and camera resolution is ok.

A little question, to replace camera I didn't use adb I've installed it like a normal apk, its wrong?

Thanks Seo

PS I'll keep on testing
[Galaxy Tab 10.1v Android Development] E-Nygma:
Runs even smoother than 0.8.

Love it, thx for all your hard work.

Can I make a donation? For your troubles?

Greetz,

E.
[Galaxy Tab 10.1v Android Development] seo:
nope. I send all money I get to other devs anyway. I prefer to not accept donations ATM but you always can look around for some other good devs and donate to them.
[Galaxy Tab 10.1v Android Development] DannyBiker:
How can I save my stock rom prior to flash this one ? I want to able to flash the stock ROM in case I have to send the Tab back if any issue occurs...

Thanks !
[Galaxy Tab 10.1v Android Development] JorgeSinval:
I have the same question too. Help please
[Galaxy Tab 10.1v Android Development] seo:
http://xdaforums.com/showthread.php?t=1093940

if if works. it doesn't really matter how you install it
[Galaxy Tab 10.1v Android Development] emirem:
Hi,

1.0.3 version, Qadrant standard 2350, Vellamo 950. Very good.
[Galaxy Tab 10.1v Android Development] Conan179:
i have a big porblem, my akku is faster empty as with the 0.8rom, ich haf 1.0.2 an the test kernel installed, my akku hielt longer with the 0.8 as now,30min wlan treat. and display on, over 50% lost.
[Galaxy Tab 10.1v Android Development] JorgeSinval:
No, doesn't work, should be in the away that seo propose. I'm not sure how to do it...
[Galaxy Tab 10.1v Android Development] seo:
wait for the next update then. it will be included
[Galaxy Tab 10.1v Android Development] JorgeSinval:
Ok Seo, many thanks. Great job
[Galaxy Tab 10.1v Android Development] Dito94:
How can i disable touchwiz and go back to stock honeycomb launcher?
[Galaxy Tab 10.1v Android Development] Conan179:
can i use the mpt and usb-debugging at the same time?

Gruss Conan
[Galaxy Tab 10.1v Android Development] felixe99:
i've got the trick. You are right Seo, installation must be done by adb otherwise after reboot you loose mods.

Log for me: 6 hours work + sleep for charge + 12 hours no stop work = result no stops, no freezs, no fc.

Thanks again.
[Galaxy Tab 10.1v Android Development] Conan179:
with the 1.0.3 rom, is my akku problem not closed.
[Galaxy Tab 10.1v Android Development] seo:
I prefer not adding it this time as it requires USB_ANDROID_MTP and may (probably will) break usb connectivity for many people

uploaded 1.0.4. going to a vacation so this will be my last update til aug 15th :)
[Galaxy Tab 10.1v Android Development] tigerminx:
Awesome, hope you enjoy the vacation !!!
[Galaxy Tab 10.1v Android Development] Conan179:
one second please, what ist with my akku problem?
[Galaxy Tab 10.1v Android Development] seo:
well man. if you don't get an answer that's probably because nobody has an answer for you. battery drain is fixed in 1.0.3 so there must be something wrong with your tab. check for rogue apps
[Galaxy Tab 10.1v Android Development] emirem:
Plese Seo, what is new in 1.0.4? Changelog is empty
[Galaxy Tab 10.1v Android Development] tigerminx:
Anyone who's flashed 1.04 having really weird battery behavior? Unplugged this morning, and lost 20% in 10 minutes, rebooted that tab and it was back to what seemed to be the correct percentage, but within another 10 minutes lost 15% again.

Strange. Flashing back to 1.03 to see if it resolves itself.
[Galaxy Tab 10.1v Android Development] SpenZerX:
Hi,

i have flashed 1.0.4

Where can i get the required files for CIFS monting? (cifs.ko ...)

Is it possible to include them?
[Galaxy Tab 10.1v Android Development] seo:
it is included, in cifs manager choose to use insmod not modprobe, and point the path to lib/modules
[Galaxy Tab 10.1v Android Development] tigerminx:
Could someone confirm something for me please. I suspect I either have a faulty battery, or faulty charging mechanism. With any battery monitoring app can you tell me if your Voltage reading is correct? My TAB doesn't not seem to be charging anymore, USB or wallcharger. The voltage reading stays on 4mV, even after 1 hour of charge. Not sure what the problem is.

Edit: If it is the TAB that is faulty, how can I get the original Bootloader back? one that doesn't show the Unlocked sign on boot.

Thanks.