yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] rajeevvp:
Software decoding is the only option on GB at the moment, isn't it? ;)
[G Tablet Android Development] pershoot:
Gb does just fine as of current with hw decoding. We weren't given everything, so that gap has to be filled.

Its great progress and it will eventually all come to fruition.
[G Tablet Android Development] rajeevvp:
+1. That is a good workaround. For the next time, I've statically compiled the latest e2fsprogs, v1.42. This is attached. I've tested the most important progs: badblocks, dumpe2fs, e2fsck, mke2fs and tune2fs, on an 8 GB micro-SDHC card. The commands passed their basic function tests without errors. I haven't tested the other programs.

Standard warning: Use these programs at your own risk.

If you use the mmcblk3p1 partition just for storage, there shouldn't be any problems with converting it to ext3. The trick is to see if apps can be moved there and will run without any problems after a few reboots.

If we go any further with this--and I hope we do--we should do it in a dedicated thread. This one is for discussing pershoot's kernels.

I glance through the CM-nightlies thread once in a while, and I see that the latest builds have some HW acceleration. That's good news, but, I don't feel very optimistic when I think about the future.

nVidia has a bad rep in the Linux community because of their binary-driver only policy, and because they neglect their older graphics cards. On my circa-2003 desktop with built-in graphics, their own Linux binary drivers don't work, and hasn't for a very long time now. I'm pretty sure we'll end up reverse-engineering the gTab's graphics chipset just like we had to on Linux.
[G Tablet Android Development] emersonlp:
Battery Issues

I have noticed my battery life is worse after switching to this kernel. The issue is mainly with sleep - for instance - yesterday I charged the battery over night then went to work and did not use the battery until 5pm and the battery had drained to 66%. I checked battery use and it said 46% Android and 46% Kindle

Any suggestions for improving this?

Using Vegan Ginger 7.0.0
[G Tablet Android Development] schettj:
3%/hour drain if the device doesn't go into deep sleep - wifi set to never disconnect. If you set wifi sleep to something other than never, it should go into deep sleep, which is closer to 1% per hour.
[G Tablet Android Development] brew1brew:
pershoot, any chance of you compiling your gingerbread/CM7 kernel for the Adam as well? source is at https://github.com/notionink

I'll volunteer to test it for you. PM me if you'll consider it.

Les
[G Tablet Android Development] rajeevvp:
Make the filesystem ext4. Vold only likes VFAT or ext4 filesystems for automounting.
[G Tablet Android Development] slimm609:
I ended up changing the image to fit on a vfat partition. Now just waiting to see if swap support gets added to the kernel.
[G Tablet Android Development] rajeevvp:
Compile it yourself and say 'y' to CONFIG_SWAP when configuring the kernel.
[G Tablet Android Development] slimm609:
I know. I just haven't download the source yet and compiled it. started working on porting backtrack 5 to the gtablet natively
[G Tablet Android Development] pershoot:
gtab/zpad (old/newbl) - 2.6.32.40 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated.
[G Tablet Android Development] JohnnyInBriz:
Link to lib-2632.40_gb.tar.gz (kernel modules) under new bootloader is incorrect. Seems the tar.gz is also corrupted, gives unexpected end of archive in winrar and causes rootexplorer to FC (tried downloading it twice)
[G Tablet Android Development] pershoot:
fixed.

..
[G Tablet Android Development] pershoot:
feel free to pull my src, and rebuild with swap support (use pershoot..defconfig).

master = froyo

gingerbread = gb
[G Tablet Android Development] JohnnyInBriz:
You caught my post before I edited re corrupted lib-2632.40_gb.tar.gz
[G Tablet Android Development] pershoot:
fixed.

...
[G Tablet Android Development] JohnnyInBriz:
Thanks Pershoot, I appreciate your efforts with these kernels
[G Tablet Android Development] slimm609:
pershoot did you by any chance get swap built into this one?

TIA
[G Tablet Android Development] pershoot:
swap is not included.
[G Tablet Android Development] pershoot:
0513 kernel ok?
[G Tablet Android Development] Coldfirex:
Outside of the normal issues my unit has always had (random hard locks and turning off randomly while the screen is off) this kernel has been working fine on top of CM7 nightlies (72 now). Thanks for the maintenance and work!
[G Tablet Android Development] pershoot:
you should not be getting hardlocks and turning off randomly. pls ensure you are stable at the frequency you are intending to run at (if overclocking). disable dialer and messaging as well, for good measure.

if you have determined that you do have a hardware fault (ive seen a few so far), pls try to swap it, as things could get worst.

pls post logs if you feel it is software.
[G Tablet Android Development] Coldfirex:
Im pretty sure its the unit itself. I had these issues back on the stock roms as well. I just never took the time to go back to stock, and then get support on the line. :\
[G Tablet Android Development] schettj:
I was going to install this yesterday and I didn't get around to doing it so I really don't have any feedback yet.
[G Tablet Android Development] ramerco:
Will there be a HC specific version?
[G Tablet Android Development] pershoot:
its already there.

'newbl'
[G Tablet Android Development] schettj:
Flashed this morning - staying out of deep sleep with wifi on via softlocker works. Need to test cifs but would be shocked if it doesn't work.

It seems like the touch sensor is always on unless the unit is in deep sleep - shouldn't the sensor turn off if the screen is off? (note, this isn't new behavior, it's always done this - you can "wake it up" sometimes when screen is off by pressing or long pressing one of the soft buttons on the side.)
[G Tablet Android Development] pershoot:
You can wake it with the softbutton(s) for up to ~7 seconds after turning off the device. Afterwards you will not be able to.

Long Pressing power once will wake up the device.

The touchscreen goes in to early suspend with the rest of the device as this behavior is enabled.
[G Tablet Android Development] jmdearras:
I though that was GB?
[G Tablet Android Development] pershoot:
newbl is for both froyo and GB, as is the older bootloader kernel.
[G Tablet Android Development] rajeevvp:
Works just fine--aside from the NAND I/O and wlan txqueuelen change bugs that I've already reported on the board.
[G Tablet Android Development] ramerco:
So which one for HC? froyo or GB? I dont see a specific HC version. Sorry if I am being thick here..
[G Tablet Android Development] pershoot:
You would need to speak with the author for specifics, but you should be fine with using the gb version.
[G Tablet Android Development] xyrcncp:
I haven't done this since the Phone Idle time in my tablet doesn't seem that high, but I guess it would help as every now and then I do experience the turning off after the tablet has been asleep.

Would removing (or renaming?) Phone.apk, mms.apk and TelephonyProvider.apk do the trick and would doing this affect Google Voice negatively? I use GV to send texts from the tablet.
[G Tablet Android Development] pershoot:
Disable dialer/messaging via autorun manager (or autostarts).

It won't effect GV.
[G Tablet Android Development] schettj:
Yeah, no... it's actually responding to touch on those four as long as it's not in deep sleep - this is using the Softlocker free app, wifi set to never sleep, veganginger.

If I power off the screen, or let it time out, no difference... waiting even 30 minutes, I can still wake the display by placing my finger on the 4 soft button area, and dragging my finger up and down a few times.

To me, this means the digitizer is NOT powered down.

If it doesn't do that for you, then it's the softlocker thing and I have to live with it.

Lemme retest with Softlocker off...

Yeah... it's softlocker - apparently it prevents the digitizer from turning off even though the screen is off.
[G Tablet Android Development] pershoot:
You just answered your own question.

Your not letting the device sleep/suspend properly by using that app.
[G Tablet Android Development] schettj:
I don't want it to deep sleep - I prefer to actually get alerts and reminders even if it's been off for more than 30 minutes. I was just hoping the power management would be smart enough to turn off the digitizer if the screen was off.

Apparently not... but it appears that's by design, so... nothing to report for your kernel!

Thanks again for the excellent kernels!
[G Tablet Android Development] Coldfirex:
I've disabled those 2 programs from starting. I will see if it helps at all. Thanks!
[G Tablet Android Development] xyrcncp:
Thank you sir, worked like a charm.
[G Tablet Android Development] millertimefl:
Only issue that I am seeing is wifi sometimes drops out while using tab. It comes back after a few seconds. Quadrant is lower (2500ish fully overclocked) but getting alot better battery life...about 2% an hour while sleeping.
[G Tablet Android Development] pershoot:
as previously stated, if you want to bench pin min/max at max prior to doing so. quadrant is also very inconsistent and relies on too many extraneous factors itself.

wifi could be any extraneous factor and/or your specific envmt. ive not seen any dropouts aside form the norm (i use the same driver across multiple devices).
[G Tablet Android Development] pershoot:
just to show you how it varies from one device to the other and the specific envmt:

ran 3 times, min/max: 216/1400, ~2750

ran 3 times, min/max: 1400/1400, ~2806

seems fine and on par, in the realms of quadrant.
[G Tablet Android Development] Coldfirex:
Nope. Had another episode of it turning off while the screen was off. Oh well. :\
[G Tablet Android Development] pershoot:
Yea, but you have already determined you have a hw fault.

See if viewsonic will cross chip you a new device under RMA.
[G Tablet Android Development] millertimefl:
I did the same and got similar results with it maxed out. Question...why is the I/O file speed so slow on the gTab? Other devices race through that part of quadrant. Keep up the good work!
[G Tablet Android Development] poonjahb:
Is the newbl for a specific Rom or something? Just flashed it with the latest cm7 nightly and my device is stuck at the initial birds screen.
[G Tablet Android Development] pershoot:
It is only for the new bootloader.
[G Tablet Android Development] slimm609:
pershoot,

not sure if you or anyone else has tried but the kernel compiles fine with the MaxNumberOfFingerCoordReported set to 4 in the odm_kit. This would allow for 4 point multitouch if it works. Just cant test it right now cause i dont have android installed on my gtablet currently.

this would test it. if it does work https://market.android.com/details?id=multitouchpro.tests&feature=search_result
[G Tablet Android Development] schettj:
So, after a couple days running with batterymonitor widget, this version seems to draw 10-20ma more at idle than the previous version (4/30)

4/30 idles (216mhz, screen off, wifi on) at 107-115.

5/13 idles at 133-145...

Not sure why, unless you upped the voltage at the low end a tad?
[G Tablet Android Development] TEK112:
If I remember right, he did it intentionally to help some tablets that would bug out during/after sleeping because the voltage was too low to sustain it.
[G Tablet Android Development] rob_z11:
I tried your new bootloader kernel with HC which is running clemsyn's oc kernel, and I am getting wifi error. I tried reloading couple of times without any success.

any thoughts?
[G Tablet Android Development] TEK112:
Manually push the wifi module through ADB. Search this thread for further details.
[G Tablet Android Development] rob_z11:
I have done insmod and pushed the module without any success. I have ran pershoot's kernel for a while on cm7.

I have gscript which makes system read/write and them I copy files from lib to system/lib/modules/2.6.x.x./.

Then I change the permission of the modules to 644 and then I run insmod to insert modules.
[G Tablet Android Development] :
Any chance we will get the camera to work with GB using this kernel?
[G Tablet Android Development] TEK112:
Did you try the root explorer way:

Turn off wifi then extract the bcm4329.ko file from system/lib/hw/wlan and then manually placing it in the corresponding folder on the tablet. Then reboot and turn wifi on.

As always, make a backup first.
[G Tablet Android Development] rob_z11:
Thanks. I was trying to run the new bootloader kernel, and it seems like placement of the bcm4329 file has either changed or somewhat. I was putting the bcm4329.ko in system/lib/modules/2.6.32.x-cyanogen folder, and it did not work.

I had telnet window open, made the system partition to read/write, and move the file from system/lib/modules/2.6.xx/ back to system/lib/modules, and I was able to get the wifi to scan.

Well, wifi was errored, so I could not shut it down, and I simply rebooted.
[G Tablet Android Development] pershoot:
the wifi module may be in a different spot in the HC roms.

you would need to inquire with the authors.

if this is the case, then the authors should change this location reference and/or create a symlink, to keep the standard of this device from froyo->gb.
[G Tablet Android Development] rob_z11:
True. I am running Clemsyn's kernel for HC, and it appears that both of them are going at system/lib/modules/.

When I tried your kernel with NewBL, I was able to get it to where it is constantly scanning, but no dice..
[G Tablet Android Development] pershoot:
Scanning means your using the wrong wifi module. Use the alternate one (the dload u didnt use for newbl) and you should be good.
[G Tablet Android Development] rob_z11:
This is the kernel and lib I have used. Dload? I am not quite sure what you are suggesting here. This is for my Gtablet running 1.2 ROM from Roe.

Download: boot-cm_2632.40_gb_newbl-oc-uv-xtra-vfp_fp-051311.zip

lib-2632.40_gb.tar.gz (kernel modules)

Download: lib-2632.40_gb.tar.gz
[G Tablet Android Development] pershoot:
dload = download

i assume that rom is hacked up to use froyo compatibility.

if that is the case, use the froyo kernel and wifi module.
[G Tablet Android Development] lgkahn:
5 13 was hanging on me and not unlocking with vegan Frito. Back to using 4 15 which is working fine.
[G Tablet Android Development] pershoot:
g2/gtab/zpad(old/newbl) - 2.6.32.41 - gingerbread/froyo(gtab/zpad) - http://droidbasement.com/db-blog ; RM updated.
[G Tablet Android Development] schettj:
Looks good - pulls about 10ma less on idle than 5/13 version.
[G Tablet Android Development] mmracing:
No problem here running VEGAn Ginger.
[G Tablet Android Development] raphenucleus:
Just installed. Everything seems to be running much smoother and faster than with the previous kernel. CM 7.0.3.
[G Tablet Android Development] crdnilfan:
Got my gtab just a few days ago, went right to CyanogenMod 7.0.3 cause that's what I'm familiar with on my OG Droid.

I installed the .40 kernel, runs great, flashing the .41 kernel now.

Is there a breakdown of what the kernel modules do anywhere that somebody could point me to though?
[G Tablet Android Development] TEK112:
If you want to know what this specific kernel does, Pershoot gives a breakdown on his site. The same place you downloaded the kernel from.
[G Tablet Android Development] jmdearras:
loaded it this morning, experienced SODs and freezes through out the day :(

rolled back to 5/13

Jim
[G Tablet Android Development] pershoot:
I need logs.
[G Tablet Android Development] pershoot:
ill roll back the last change sonly for froyo.

please next time always report issues with logs. without them, im chasing ghosts.
[G Tablet Android Development] tcrews:
Working great for me. No issues at all so far. Tablet slept for 5 hours and woke immediately....little, if any, noticeable battery drain.

CM7.02 with 5/24 kernel.

Sent from my Viewsonic 10" GTab...CM7 style...
[G Tablet Android Development] pershoot:
gtab/zpad (old/newbl) - Froyo only - refreshed - http://droidbasement.com/db-blog
[G Tablet Android Development] jmdearras:
I know, I don't get logs.
[G Tablet Android Development] jmdearras:
I never see a kmsg.last. I know it's not possible to trace, but rather than say nothing, I posted what I obverved. Consider it an outlier unless you get others.
[G Tablet Android Development] TEK112:
Sweet kernel.

Contract Killer is now playing relatively glitch free.
[G Tablet Android Development] rajeevvp:
Getting a new message from the gTablet kernel now:

[ 22.057984] Dumb charger detected

and USB storage does not activate always when the cable is plugged in. I have to do a "lsusb" on the PC to get the USB storage screen to come up.

Have you enabled charging via USB?
[G Tablet Android Development] pershoot:
no.

there is no usb charging capability in this device.

delete mass storage attributed devices via usbdeview, unplug, replug, and that should sort you out.
[G Tablet Android Development] rajeevvp:
That's what I thought. Thanks.

That kernel message is from the gTablet kernel, and not the desktop kernel.
[G Tablet Android Development] pershoot:
oh your running linux.

im unsure if linux caches the node id's for various devices.
[G Tablet Android Development] usofrob:
How do you measure how much current it's using? That seems like a nice thing to know. Thanks.
[G Tablet Android Development] rajeevvp:
Sorry--I'm a filesystems and networking guy; USB is mysterious to me.
[G Tablet Android Development] rajeevvp:
Try the awk script in the attachment. You must have busybox installed to run it.

Make a directory called /data/local/bin and copy the batt.awk file there.

Run chmod 755 /data/local/bin/batt.awk as root (in a Terminal Emulator window) to make the script executable.

Run the script by typing batt.awk (or, /data/local/bin/batt.awk if /data/local/bin is not present in your PATH) inside a Terminal Emulator window.
[G Tablet Android Development] schettj:
I use the free battery monitor widget

https://market.android.com/details?id=ccc71.bmw
[G Tablet Android Development] schettj:
Well, I had a weirdness just now. I usually use the Softlocker Free app to keep it from going into deep sleep. I also use "never sleep" for wifi"

I tried just now disabling Softlocker Free. After about an hour of it sitting there sleeping, pressing the power button would not wake it. I long pressed to get it to reboot, which it did - after boot I checked the batterymonitor widget logs to see if it went into deep sleep, and it seems like it did not... in fact it looks like, according to the battery monitor widget 5 minute interval logs, it wasn't dead or deep sleeping... it just wouldn't respond to the power button.

First time I've ever seen that.
[G Tablet Android Development] pershoot:
could have been some residual issue from using that app.

pull logs if they are there.

if it happens again, report back.

your running gingerbread right? if running froyo, re-download and re-flash (i refreshed froyo).
[G Tablet Android Development] usofrob:
Thanks. I wonder what else is in that power_supply directory. I may have to investigate further when I get home and can check this out.
[G Tablet Android Development] usofrob:
Thanks. Hehe, easier but not as much fun. :)
[G Tablet Android Development] FeatherKing:
Pershoot, are you able to compile a joydev.ko for your. 41 kernel?
[G Tablet Android Development] jmdearras:
So far, solid as a rock.

Thanks,

Jim
[G Tablet Android Development] pershoot:
yea i will in the next rls.
[G Tablet Android Development] pershoot:
all,

GB rls doing ok?
[G Tablet Android Development] FeatherKing:
Much appreciated thx for the joydev.ko. The .41 Ginger bread is working great for me. Using cm7.0.3 and cifs/ntfs modules. No crashes and battery has lasted all day, heavy usage. OC to 1400mhz using setcpu
[G Tablet Android Development] mydave1:
I have Beasty + Clemsyn combo installed. Wanted to flash your .41 release, but wonder which one to use, Froyo or Gingerbread, since the Beasty is said to be Froyo with Gingerbread elements.

Could you point the way?

Thanks
[G Tablet Android Development] TEK112:
If it is Froyo with Gingerbread elements you need to flash the Froyo kernel. Just make sure to do a backup first. Gingerbread elements usually means Gingerbread themes or Gingerbread styled apps and icons.
[G Tablet Android Development] barakisbrown:
Are you going to be doing a Honeycomb kernel for the gtablet?? I had your kernel with CM7 and it frickin rocked..:)
[G Tablet Android Development] FeatherKing:
pershoot, i do not mean to add more work to your builds but now that i have investigated further, the exact driver i am curious about is the xpad.ko. I believe it requires the joydev.ko to actually create joystick devices.

More specifically i want to try and connect my usb to xbox 360 wireless adapter. Right now dmesg/lsusb show the device but no controllers can sync to it (a behavior i also noticed on windows without proper drivers loaded)

I believe the xpad.c (drivers/input/joystick/xpad.c) has been in the kernel for some time. If it wouldnt be too much trouble maybe you could build both (joydev.ko and xpad.ko). I would even test them out for you if you are concerned about putting them out to the masses.
[G Tablet Android Development] pershoot:
this kernel can be used with those HC roms.

just copy the wifi driver to /system/lib/modules and use the 'newbl' kernel

i believe you would use wifi without CSCAN for those particular roms. this is the froyo kernel/wifi.
[G Tablet Android Development] schettj:
Yes, gingerbread. If I enable wifi never sleep, should this latest kernel prevent deep sleep normally, or will the tablet go into deep sleep after 2 minutes or so?

Doesn't look like logs contain the event anymore. I can try to recreate the freezeup.
[G Tablet Android Development] pershoot:
it will deep sleep after within an hr as it always did.

i cant really support an external app which impedes the sleep process on the tab. this could cause issues with the tab itself, which i wouldn't have too much control over.

if you can reproduce this without using the app, then im more interested in that.
[G Tablet Android Development] schettj:
You're misunderstanding me - the issue came up when I stopped using the app. With the app running, it's fine. I'm not worried about it, nor should you be - it was just an oddity.

I can't have the tablet nodding off even after an hour of standby - it needs to actually remind me of appointments and stuff :)
[G Tablet Android Development] pershoot:
i didnt misunderstand.

as stated, it may have been a residual issue from the app being ran prior (you said you stopped it, but didn't specify whether you rebooted, ensured that it wasn't in memory, etc.), without it being purged from memory, etc.
[G Tablet Android Development] pershoot:
that's what your phone is for;)
[G Tablet Android Development] mydave1:
Hi TEK112, thanks for the reply. I saw it after you posted, but there is one more thing that is a bit of concern since I do not understand. The Beasty specs said that it had:

-Vegan Kernel - 20240311 NI Kernel + ext4, cifs, ntfs (Thanks Rothnic)

What does the above means?
[G Tablet Android Development] TEK112:
The letters at the end (I assume that is what you mean) are modules that are prepackaged or installed separately with the kernels.

ext4 is a specific type of linux file system and many notice performance gains for read/write speeds

cifs is common internet file system and allows network access to printers, files, media, etc...

ntfs is new technology file system and it allows recognition of external hard drives formatted in NTFS. Flash drives work because they are FAT32, but this module allows you to plug up your backup drive and use it.