yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] TEK112:
Look at what leaving your WiFi connected does to your cell phone. I feel that your battery drain is normal.

If you need convincing just turn your WiFi off for a few hours and see what the battery drain is then. It also depends on how many programs you have that require constant updating and what their interval is set at.
[G Tablet Android Development] schettj:
Yeah I am tracking my "non-sleeping wifi on" VEGANginger a bit more closely, and it seems like its more on the order of 2-4% per hour vs the 1-2% I initially thought - without deep sleep, wifi always connected. For example today off charger at 7am, now at 2PM for 7 hours run time. 77% battery. That is 6.5 hours of idle and .5 hours of use.

I guess for a fair comparison I should allow it to deep sleep, or turn off wifi, but frankly I don't care since this matches my actual use model for the thing.

For me, that's acceptable as I have at most 16 hours off charger, or at worst about 50-60% battery drain in addition to use. The good news is that "use" isn't going to radically increase battery drain unless it's a game or video - for surfing or email or calendar stuff, its mostly the LCD and a bit more CPU, so maybe a couple % more per hour of use for me... more than enough battery to cover that in addition to idle/standby, and essentially like a smartphone in both behavior (always on/connected) and battery performance (only one "workday" worth of power per charge.)

Froyo roms may be slightly worse.

Allowing wifi to sleep, or not using Softlocker to keep it from deep sleeping should return it to the same power consumption as before.

Edit: I have three email accounts - two IMAP at 30 minute updates, one exchange set to push updates, so I'm connected often. Add weather, stock, twitter, and facebook widgets on there too. I suppose that all may account for some of the increase in my observed idle time battery drain. Damn thing is too useful as an ambient viewer of teh internets.
[G Tablet Android Development] lrs421:
Actually this doesn't mount the external SD, just the internal. I had to this for tibu to recognize the card on cm7. Maybe pershoot can chime in.

Sent from Desire HD or Inspire 4G or whatever this thing is called via premium XDA app.
[G Tablet Android Development] pershoot:
on cm7, you can mount emmc (internal), sdcard (external) and usbdisk. all 3 have been tested and work (ive tested emmc/ext against my win7 host, another has tested usbdisk). you can mount any 2 at the same time.

do not mess with vold.fstab. this will throw off the 'additional mounts'.

you can do this from 7.0.2 or above.
[G Tablet Android Development] lrs421:
Thanks, on nightly 58 though tibu didn't recognize the internal SD card running the latest kernel so I proceeded to modify the vold.fstab. Is there something else I should've tried first? I hape a copy of the vold.fstab so I'm going to put it back.
[G Tablet Android Development] pershoot:
your app is looking for sdcard and not emmc. that is why it is not finding it.

you will have to make a choice, whether you want the app to function off internal, or you want the dual mount setup (and use an ext sdcard for the app).
[G Tablet Android Development] lrs421:
Ok, so I have to set titanium backup to read emmc, :cool:.

You've maxed out my thanks button for the day.
[G Tablet Android Development] JohnnyInBriz:
I've tried these OC kernels on my Zpad with both 2.2 (BigIdeas) and 2.3 (G-Harmony & VEDAn Ginger). On 2.2 CIFS streaming works very well for both music and video but on 2.3 music is very choppy and I can't stream video at all. Is this a gingerbread issue or kernel related?
[G Tablet Android Development] pershoot:
Nothing to do with kernel.

Flash the latest cm7 nightly. This can decode 720p.
[G Tablet Android Development] californiarailroader:
I can stream YouTube videos just fine on VeganGinger, and with Pershoot's new kernel they are flawless, before his new kernel they would pause every few seconds.
[G Tablet Android Development] JohnnyInBriz:
Youtube and Flash video work fine. Problem is streaming music or video using CIFS even using CM7 as Pershoot suggested. Music is choppy and videos dont work at all. No problem with these at all on 2.2 (BigIdeas)

Edit: low bit rate mp3 work ok, higher bit rate mp3 and wav are choppy. I dont think the video problem is related to CIFS as I tried copying a movie onto the SD card and have the same problem.
[G Tablet Android Development] californiarailroader:
What is CIFS?
[G Tablet Android Development] schettj:
Weird... I can stream DVD rips just fine over cifs... if I mount the share, and stream off the mounted share. These are mpg4 encodes.
[G Tablet Android Development] mydave1:
Why not try UPnPlay.apk (free) with Rockplayer_Universal_Full_1.7.1.apk (or your favorite media player).

We stream dvd rips (h264 & hd content in avi, mkv, mp4 . . ) smoothly without lacking over wireless network from our WHS server.

Dave

P.S. Pershoot's kernel + Gojimi's VEGAn = the Greatest.
[G Tablet Android Development] Dannyyy:
This combo also works for me UPnPlay.apk and RockPlayer, Pershoot's latest and VEGan gb.

Video runs smooth no issues at all.
[G Tablet Android Development] aznsrdabest:
you can enable CIFS and use an app like CifsManager to mount network shares and stream media over wifi.
[G Tablet Android Development] JohnnyInBriz:
Common Internet File System (CIFS) operates as an application-layer network protocol mainly used to provide shared access to files, printers, serial ports, and miscellaneous communications between nodes on a network. CIFS.KO is supplied with Pershoots kernel modules.
[G Tablet Android Development] schettj:
AKA Samba AKA Microsoft Windows File Sharing. CIFS avoids the use of the words Microsoft or Windows, and keeps the lawyers away :)
[G Tablet Android Development] californiarailroader:
Thanks Johnny!
[G Tablet Android Development] lrs421:
Smooth as butter on nightly 60. Not a single issue so far. As a side, video decoding is getting better and better in CM7 :) Thanks for all you do pershoot.

Sent from my CM7 GTablet
[G Tablet Android Development] mydave1:
Hi there, according to the OP of Vanilla AOSP Gingerbread, your latest kernel was incorporated. This rom maps the internal to emmc. I would expect that PC would see both, the internal and the external sd cards, which is not the case.

PC only shows the external sd card.

I have read the above reply several times, and I am still confused as to what I need to do in order for the PC to see both sd cards.

Thanks
[G Tablet Android Development] pershoot:
the rom needs the sharing bits incorporated for the volumeservice, for that to happen.

please speak with the author.
[G Tablet Android Development] mydave1:
Thank You !
[G Tablet Android Development] atb1183:
odd that setCPU shows constant 1000MHz. even after i killed all tasks

vegan 5.1.1 with this kernel. 216-1000
[G Tablet Android Development] pershoot:
the modules are already loaded (that's why your getting file exists).

you can check this by:

lsmod

now just mount the ntfs volume as normal

mount -o ro -t ntfs /dev/block/sda1 /mnt/usbdisk
[G Tablet Android Development] pimpmaneaton:
Okay now when I run this I get

stderr : mount: No such device

I have also restarted the tablet when drive was plugged into the side and light on drive was flashing like it was being read from and once got to lock screen there was an SD card icon in top corner and when notify bar was pulled down it showed Checking for errors and then went away with out any notification of any errors. But still if I go to /mnt/usbdisk there is nothing. Using Astro, ES File, and also iFileManager that was pre loaded in Vegan 5.1
[G Tablet Android Development] anlog:
Pershoot,

I really need a kernel with ext4 compiled into it (not a module). I don't think there would be much of a performance hit. Is there any way you can do this?
[G Tablet Android Development] pershoot:
Ext4 does not work too well on .32 (performance wise). On .34/.35 it works good.

At any rate, I will take under consideration your request to build it in.
[G Tablet Android Development] jmdearras:
Stable release!

The kernel from yesterday, combined with Vegan 5.1, has, so far, been very stable. No wake from sleep reboots so far.

I installed Vegan 5.1, wiped cache, userdata, and java cache. Then ran it a bit, restarting until it was fast starting.

Then I flashed your kernel from yesterday. Magic!

Congratulations!
[G Tablet Android Development] anlog:
Ok thanks.

For now, will you be fixing the ext4 module issue?
[G Tablet Android Development] pershoot:
yea, it will be fixed in the next rls.
[G Tablet Android Development] pershoot:
How is 0109 refresh workin out?

Responsive?

Wifi better?

Any issues aside from what has been listed (i.e ext4)?
[G Tablet Android Development] lamvt00:
Been on 0109 for 1.5 days; wifi working fine after sleeping. Kernel stable; no FCs or other issues. CIFS module working fine for me. Installed chenglu loop - Quadrand between 3000 and 3300 on successive runs. Interestingly, I used Titanium Backup to wipe data on Quadrant; after that Quadrant does not FC on me anymore.
[G Tablet Android Development] anlog:
If you hold the tab in portrait mode Quadrant doesn't FC and you will also see the status for cpu testing.
[G Tablet Android Development] pershoot:
im planning a quick update tonight and/or tomorrow night as i dont want to update with a bunch of changes in one shot, and want to space things out, to validate things across multi-devices.
[G Tablet Android Development] lamvt00:
I also discovered this also; I'm glad you did too - I thought if I posted the "holding it in portrait mode" as a fix, people would flame me :)
[G Tablet Android Development] pershoot:
gtab - 2632.28 - http://droidbasement.com/db-blog ; RM updated.
[G Tablet Android Development] gotwillk:
so how does one change the governors?
[G Tablet Android Development] pershoot:
echo the value to cpufreq via sysfs.
[G Tablet Android Development] pershoot:
pls report back if wifi is worst, better, etc. now.

i have updated to the latest FW from nvidia (sep 2010 as oppose to shipping may 2010).
[G Tablet Android Development] pershoot:
Is this working out for everyone?
[G Tablet Android Development] james7chen:
hi:

My Zpad already upgrad to Gtab_tnt_lite_v3.1.0 and work fine.

Now, I downloaded the kernel 2.6.32.28 and compile it.

The compile intruction is as below

make ARCH=arm tegra_harmony_android_defconfig

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-

mkbootimg --> boot.img.

My Zpad is no any response when I flash boot.img into Zpad.

Who can answer my question or let me know the kernel download webside for Zpad or Gtab.

Thank you for your help.
[G Tablet Android Development] pcmtse:
Hi pershoot,

Seems like you guys fixed the wake up issue in your kernel, I am working with chenglu on the kernel for Zpad, can you tell us what caused the wakeup issue and how to fix it please?
[G Tablet Android Development] pershoot:
use pershoot_tegra_harmony_android_defconfig

for zpad:

set your base explicitly to 0x10000000 when producing an image.

alternatively you can use the supplied anykernel for zpad (modded for use on this platform) and stick your zImage in the kernel folder. re-sign and flash.
[G Tablet Android Development] cotangent05:
im getting hang/lag with the new kernel update ".39" .. :( the only stable one is below 1ghz which is 910 mhz is there a fix..? im running vegan ginger edition
[G Tablet Android Development] pershoot:
If you cannot do 1ghz stable, you may have a defective device (i have found only one which could not do 1ghz).

Try to swap it (the other person swapped his and is good to go now).

It is possible your device needs lot more voltage to do 1ghz (it is currently 1125) which is very odd. In that case, this kernel is not for you.

I would try to swap it at any rate.
[G Tablet Android Development] pershoot:
??

If you choose auto you will get 216 to 1400 selectable.
[G Tablet Android Development] cotangent05:
its not in my device.. your kernel is running well before i was stable in 1.2 ghz in vegan 5.1 rom

but now i have vegan ginger, and i cant do 1.2 ghz , specially when i am playing hawx.. which is nearly stable when im running 920 mhz...
[G Tablet Android Development] pershoot:
that's a different scenario (you didn't state this in your initial reply).

flash the latest cm7 nightly and then re-try your game. no need to flash the kernel, as the latest is bundled in there already.

if i were you, i would do a full wipe for sanity sake.

the latest is: cm_harmony_full-62.zip

test for full stability at 1000 and above (benchmarking it; running games is not a good test, as some may not work well and would give you a false result).

ensure your device is not overheating when you are playing a game. which in that case, you would need to clock down, in those scenarios.

you can use cpu settings within cyanogenmod settings for clock adjustment.
[G Tablet Android Development] cotangent05:
ok, ill check on that later.. thanks for a quick reply.. :)
[G Tablet Android Development] atb1183:
I want the exact opposite of you (well, wrt wifi and deep sleep). I want my tab to go to deep sleep soon after screen off with wifi off.

Is there any way to SET wifi disconnect/sleep and deep sleep behavior?

I dont mind waiting 10-15s for wifi to reconnect if it means my tab can sleep for 3-5 days.

If I have to charge it every night, I might as well get a netbook. those last abt 8hrs in use and can go on standby for a day or 2
[G Tablet Android Development] atb1183:
Yes, i installed SetCPU 2.1.3 i think, the latest one dated May something. running on Vegan 5.1.1 w pershoot's 043011 froyo kernel. SetCPU on auto. It detected 216-1400Mhz fine

but

The clock speed on the main SetCPU screen consistently show the highest available speed (if i set max to 1400, it show 1400, max 1000, shows 1000, etc). This is at odd with what i see on my mytouch3g which also uses your kernel since the phone would settle to 122Mhz when left alone

ps: Thanks for for all your awesome work pershoot. your kernel kept my phone usable
[G Tablet Android Development] jyams:
I'm running Ginger Edition with latest kernel. When doing something processor intensive, any setting higher 1000 crashes my tablet, like playing a YouTube video HD (even with the choppy performance). So, i have to keep mine set at max 1000. Some chips just can't take the overclocked load. Apparently, mine can't. Anyway, with max 1000 using "performance" as the setting, it's still a very responsive state of use which is okay for me.
[G Tablet Android Development] Blades:
These chips are supposed to do 1.2 when they get rereleased as the Tegra 2 3D. I haven't really looked for the voltage specs for that chip, but if you can find them, I'm sure that setup would work out.
[G Tablet Android Development] TEK112:
Home screen- press menu- settings- wireless- wireless settings- press menu- Advanced- WiFi sleep policy- select when screen turns off.
[G Tablet Android Development] atb1183:
yup, already did that. Been using that trick since I got my mytouch 3g. except it only sleep after some seemingly random amount of time after screen goes off.

hence i ask for some more control on the delay... if anyone knows of it... if its possible at all.

Wonder if juice defender or the like would work
[G Tablet Android Development] schettj:
If you have wifi set to turn off on screen off, the gTab should be dropping into deep sleep within 2-3 minutes of pressing the standby/power button, all by itself. Unless something else is keeping wifi active.
[G Tablet Android Development] lrs421:
Perhsoot, not sure if it's possible or if it's too much trouble but have you considering adding an 1100 step to the kernel? I like the extra juice but my phone freezes when watching videos on CNN @ 1200, lowering to 1000 fixes it but I like having a little extra power.
[G Tablet Android Development] pershoot:
it doesn't coincide with the board information given out there, so i would like to leave things consistent in that respect, but you should be able to add a freq based on a 32khz step, add it to the policy check, and youll be able to set it.

you can find building information in this forum.
[G Tablet Android Development] lrs421:
Will check it out. Thanks!

Sent from Desire HD or Inspire 4G or whatever this thing is called via premium XDA app.
[G Tablet Android Development] adampdx:
@pershoot

7 days and nothing new from you? :p I am dieing to know what magic you've been cooking up. Please don't think I'm complaining - I'm simply imagining what masterpiece you could be working on. I read your interview and you mentioned something about a "project with a friend" and I have been lost in thought trying to figure out what you could be preparing for the modding community.
[G Tablet Android Development] schettj:
Here I was thinking how nice it was to go a week without having to reflash a kernel... :)
[G Tablet Android Development] slimm609:
I was wondering if you can add loopback and cryptoloop support into this kernel. It runs awesome though. TIA
[G Tablet Android Development] adampdx:
Oh boy I switched to the CM nightlies so that I could flash every day. I have a problem. :p
[G Tablet Android Development] schettj:
Did you check the modules lib to see if they're in there? I see some crypto libs, for example.
[G Tablet Android Development] roooler:
When i download the 1.4ghz Gingerbread Kernel.. It never lets me OC ? im tried setcpu/CPU Master and it just stays @ 1.00GHZ maxed out.?
[G Tablet Android Development] millertimefl:
Uninstall setcpu and reinstall, then when you open setcpu for the first time when you select the processor choose the custom one.
[G Tablet Android Development] jmdearras:
OK, I finally took the plunge;), and am running CM 7.0.3. How do I select the two I want mounted?

Thanks,

Jim
[G Tablet Android Development] jmdearras:
dock network

When I dock my gtab, I see the following message go by in catlog:

eth0 is not a tetherable iface, ignoring.

Is there a simple way to flag it tetherable?

Thanks,

Jim CM7.0.3
[G Tablet Android Development] TEK112:
This may help for ethernet with the dock.

http://gtabdevs.com/forums/index.php?topic=93.0
[G Tablet Android Development] revlis8989:
i can't figue out.

pleas tell us how to do step by step.

thanks
[G Tablet Android Development] slimm609:
I checked but could not find any signs. Also missing the /dev/loop devices
[G Tablet Android Development] TEK112:
I do not have a dock, but read that this fixed the issue, sorta. It is more of a workaround than a fix.

If you have further questions I would suggest posting over there. I hope this leads someone to an answer.
[G Tablet Android Development] roooler:
I get cannot find frequncies.. chlemysines? Kernels worked great but i didnt have USB mounting wich i need.
[G Tablet Android Development] pershoot:
setcpu -> auto.

this is listed in the instructions.
[G Tablet Android Development] pershoot:
ill add blk_dev_cryptoloop in the next rls.

blk_dev_loop is already enabled in the kernel.
[G Tablet Android Development] pershoot:
just hit mount, it will mount that + ext sdcard (if you have one in).

use usbdeview to remove usb references from the device, if you can't get it to go, then unplug and replug.
[G Tablet Android Development] pershoot:
gtab/zpad - updated compatbility (droidbasement/RM).
[G Tablet Android Development] jmdearras:
Where? I see a 4/30 in http://droidbasement.com/gtab/kernels/2632/37/

Thanks,

Jim
[G Tablet Android Development] pershoot:
not a kernel update. a labelling update.
[G Tablet Android Development] mkuzminov:
For http://droidbasement.com/gtab/kerne...cm_2632.39_newbl-oc-uv-xtra-vfp_fp-043011.zip

lib ? http://droidbasement.com/gtab/kernels/2632/37/lib-2632.39.tar.gz ?
[G Tablet Android Development] pershoot:
correct.

....
[G Tablet Android Development] jmdearras:
OK. As to CM 7, should I be running 7.0.3, or the nightlies? I am not clear on the versioning.

Thanks,

Jim
[G Tablet Android Development] pershoot:
run the latest nightly.

that is 2.3.4 based (you will need an updated gapps).

or you could stick with what you have, and just update the kernel when those updates come out.
[G Tablet Android Development] jmdearras:
After 8+ hours in a row trying to resolve the error loading widgets after reboot, I returned to my nandroid vegan 5.1.1 backup. :( There's a lot to like in cm7, but I need a break from the vanishing widgets.

Thanks,

Jim

P.S., I am more than willing to help track this down, I just ran out of ideas.
[G Tablet Android Development] TEK112:
Did you make sure the widgets were installed "on the phone" as opposed to "on the sdcard"?

This resolved widget issues that I have had in the past.
[G Tablet Android Development] jmdearras:
Nothing was installed on the sdcard. happens on clean install with included and google widgets.
[G Tablet Android Development] JohnnyInBriz:
Can someone please try streaming a .wav audio file using CIFS on CM7 (2.3.4) and let me know if it's ok? I get really choppy audio with .wav files. MP3s are a little better. Both work fine on Froyo roms but all Ginger roms I've tried have this problem. I'm using Pershoot's OC kernel in both cases.
[G Tablet Android Development] Blades:
Codec & bitrate ? Especially since you said cifs. Is that to say it plays fine locally?
[G Tablet Android Development] JohnnyInBriz:
The .wav files I'm trying to stream over cifs are direct copy from CD at 1411kbs (44.1KHz 16-bit stereo) and I don't think they need a codec. I copied one over to the SD card and it plays fine from there.
[G Tablet Android Development] rajeevvp:
Yeah, the default music player is choppy if the files are transferred over CIFS--its buffering is bad as I suspected. RockPlayer, in contrast, was smooth; it buffered a lot more of the file before it started playing.

On my gTablet, with CM 7.0.3, I used these commands to check:

$ su
# tcpdump -i wlan0 -lnpt port 445

My Terminal Emulator is configured to accept the Vol-Dn key as the Ctrl key. So, I press Vol-Dn, then 'c' (Ctrl-C) to kill tcpdump.
[G Tablet Android Development] schettj:
Do you have an 802.11n network at home?
[G Tablet Android Development] slimm609:
Is there an app to format the internal storage to NTFS? Trying to copy a 4.6Gb file but it currently does not support it since its fat32.
[G Tablet Android Development] rajeevvp:
NTFS support, esp. write support, is iffy at best on Android. Ext3 is what you want.

Formatting that first partition on the internal SD card (which is VFAT now) is easily done while in CWM. Just hook the tablet, while it is in recovery mode, to a PC with a working adb setup and then do:

adb shell /sbin/mke2fs -j -m0 /dev/block/mmcblk3p1.

I was thinking of doing this myself, but, I don't know if the filesystem type is hard-coded on the system anywhere. The vold program, for example, mounts the VFAT partition with very specific mount options which won't work on a ext2/3/4 partition.

If you're brave, you can be my beta-tester on this.
[G Tablet Android Development] slimm609:
"mke2fs: lseek: Value too large for defined data type" is the error i get if i run it in recovery
[G Tablet Android Development] slimm609:
had to partition it a little differently but seems to work i just have to figure out how to auto mount it on boot.

from recovery it is

parted /dev/block/mmcblk3

mkfs 1 ext2

confirm

exit

tune2fs -j /dev/block/mmcblk3p1

update fstab

reboot.

it sees it fine once back in the rom but you have to manually mount it =(
[G Tablet Android Development] jmdearras:
After spending another day on it, I believe it is an issue with VTL.Launcher. It loses widgets first, and repeatably, and appears to corrupt something that then makes the built-in adw launcher lose widgets. Keep VTL off a virgin install, and widgets no longer vanish.

At least that's the results of my testing.

Jim
[G Tablet Android Development] slimm609:
Also any chance of enabling swap on the next version? running ubuntu on it makes it go OOM real quick
[G Tablet Android Development] JohnnyInBriz:
I've tried a few players but not Rockplayer will try it, but all players are ok on Froyo.

Edit: Rockplayer is also choppy when using hardware decoding but seems ok with software decoding
[G Tablet Android Development] JohnnyInBriz:
Yes and audio streams fine with Froyo.