yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] jmdearras:
Pershoot, I initially rolled back to 3/1, then installed your latest last night. I have not seen the issue again. Either you found it, or it was just one of many flukes on my GTab!

It was every time it woke from more than 1/2 hour sleep, on the prior two kernels,

Thanks for your work!

Jim
[G Tablet Android Development] corwinmortac:
I am on caulkins 1.1 but also saw the sleep issue on other roms when using any kernel. I have not been able to replicate the sleep of death after installing the new kernel.....thanks pershoot !
[G Tablet Android Development] dpicts:
I was having the deep sleep issue as well until I installed this kernel... no more issues now. I did notice this afternoon that I hit the power button and nothing happened; I waited about 10 seconds and was about to hit it again when all of the sudden the lock screen popped up; it was like it was just being groggy.

Before I installed this kernel I was also having random reboots while playing intensive games, but this kernel seems to have solved that as well. THANK YOU!
[G Tablet Android Development] Synman:
I'm assuming we don't have hardware gfx acceleration for Gingerbread yet... How's it look eta wise assuming my quadrant scores are accurate.

EDIT: Apparently we do.... I just downloaded and played the tegra optimized version of fruit ninja and the graphics didnt appear software bound at all!
[G Tablet Android Development] pershoot:
gtab - 2.6.32.33 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated.
[G Tablet Android Development] pershoot:
Is the wakeup, double-tap, inadvertant hard shutdown a bit better now?
[G Tablet Android Development] jmdearras:
Yes, it seems to be. It wakes fine after short sleep without having to "jab" the button. I'll try to remember to test after long sleep.
[G Tablet Android Development] jmdearras:
first wake after long sleep was to "frozen" lock screen. Not sure if it freed on it's own, or after I tried the pwr button again after 10-25 seconds.
[G Tablet Android Development] pershoot:
You have some other fault ocurring if it locked up. The changes made from 0319 would not cause that.

What do the logs say?
[G Tablet Android Development] pershoot:
ill make an adjustment, as sometimes when it wakes up, it might take 1 second for a touch/key press to be recognised at lockscreen (with you having to press say menu twice, etc.).
[G Tablet Android Development] Blades:
Same here, a frozen lock screen. It was also very dark - zero brightness. I do not have the light sensor enabled either. I'm pretty sure the screen I was seeing was outdated by a good amount - as there was about a 20% difference in battery.
[G Tablet Android Development] pershoot:
let me guess, vegan?

works fine on cm7, except for what i have stated.

probably works fine on tnt lite as well.

anyone running tnt lite that confirm this is good?

i really do not want to hold back progress due to vegan. i can make an adjustment, though.
[G Tablet Android Development] pershoot:
you will always see that (battery/time skew).

it is listed in the release notes. this is an issue with the stock/stock'ish roms. cm6/7 do not exhibit this behavior.
[G Tablet Android Development] Blades:
True, I know of this, yet I did not consider it since I was focused on the freeze. Whoops. Next time it happens I won't forget to try out adb. Hasn't happened after 12 hours sleep. Could've been a fluke.

Btw.. just a note.. don't leave cifs shares mounted, it causes high power drain... on all devices
[G Tablet Android Development] jmdearras:
It has not happened again and I've had at least 6 wakes from deep sleep. And a 1 or 2 second tweak is not the answer, it was really at least 15 seconds, and the display was frozen. The live background was not moving, either.

I did not see anything in the logs that showed a problem matching the timeframe. It's as if the "terminal" froze for a short time, but the system was OK.
[G Tablet Android Development] Synman:
VEGAn 5.1.1 ... used this rom for a good full day with no wake from sleep issues. I keep hopping back and forth between pershoot's and Clemsyn's kernels... both under froyo are pretty solid.
[G Tablet Android Development] pershoot:
gtab/zpad - 2.6.32.33 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated.
[G Tablet Android Development] jmdearras:
Running it, anything to look for?
[G Tablet Android Development] pershoot:
the wakeup. i put a delay in there. now it should be ok.
[G Tablet Android Development] luigic81:
wake up seems better to me, runnig this with Caulkins rom, very quick! :D
[G Tablet Android Development] jmdearras:
Ditto, with Vegan 5.1.1. Can still screw-up wake-up, but it seems much more immune to accidental reboots.
[G Tablet Android Development] pershoot:
gtab/zpad - 2.6.32.34 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated
[G Tablet Android Development] Synman:
what a boring changelog! :) :) :)

...
[G Tablet Android Development] cmduarte:
If you go out to Hackaday.com and then select the Android topic, they have a beginners tutorial on Using Android and developing apps. This may not be what you are requesting, but it should give you a start in understanding it all. There are good tutorials on using the SDK (Software Development Kit) online. Just my .02.
[G Tablet Android Development] adampdx:
Ah but the hidden possibilities are endless!
[G Tablet Android Development] jmdearras:
Just loaded, anything to check for? Came up fine.

Thanks again for all your hard work!

P.S., I "sold" 3 gtabs from woot today recommending Vegan and your kernels.
[G Tablet Android Development] pershoot:
just keeping current.

cool. viewsonic should be happy bout that! hehe.
[G Tablet Android Development] tekrhino:
Wha-Happon??

Ok so, I've always used Pershoots Kernels coz the man is good is what he does.

So I don't know what happened after I flashed .34 but upon reboot my device went haywire. I got nothin but FC as soon as swiped the unlock bar, everything that starts up with a boot gave me a FC window. ADW_EX, Button Saviour, Root Explorer, etc etc... all FC. And when I tapped the FC option for every app that came up it just kept repeating the FC. I hard killed the tablet, booted into

recovery and flashed .33 and upon reboot the same thing happened with all the FC. Decided to go back to .29, same thing with the FC.

I was left with the option of flashing a backup but unfortunately for me CWM decided to stop auto-backup on the daily basis like I had set it to and had to flash a backup from 10 days ago. *sighs*

It's my own fault I guess, I should have kept up with the backups to make sure they were current. The 10 day old BU had .29 already, so I think I'm sticking with that for now.

Total bummer for me, I feel like I have to start over from where I left off ten days ago with the GTAB.

:mad:
[G Tablet Android Development] pershoot:
Something went amiss in your particular flash scenario. It happens.

Reflash clean. try with just clearing dalvik, then rom, then reboot. After booting back in, reboot to recovery and flash kern.

If not, full wipe, then follow above.
[G Tablet Android Development] jerdog:
did you happen to try repairing permissions in CWM or clearing the cache and dalvik?
[G Tablet Android Development] tekrhino:
Yeah, I'll give it another go after I get my app inventory back to par. The past ten days I went nuts with installs so TB is gonna save my butt on that on one.

Yeah, after the first hardkill I tried FXPerm via recovery, I didn't clear davlik though, just rebooted. I'll remember that next this happens..(God Forbid).

Thanks for the advice Guys!!
[G Tablet Android Development] pershoot:
g2,gtab/zpad - 2.6.32.35 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated.
[G Tablet Android Development] Coldfirex:
Per your blog: "In order for UMS (USB mount) to work on Gingerbread, this must be reverted:

https://github.com/CyanogenMod/android_device_harmony/commit/f51f9e2a1037b4e3fb1a"

How do we do this (or did you already do it in your kernel)?
[G Tablet Android Development] pershoot:
It would depend on the specific gb rom that you are running.
[G Tablet Android Development] Coldfirex:
I am running the Vanilla ASOP GB rom (based off of CM7 RC1: http://xdaforums.com/showthread.php?t=962636).
[G Tablet Android Development] pershoot:
In that particular rom you should be good to go, for UMS (usb mount), and this kernel. But to be sure, pls check with the author of the rom.
[G Tablet Android Development] jmdearras:
Strange issue since loading this or the previous kernel

on running screen Vegan 5.1.1, press pwr briefly to sleep. Press again to wake. Side the audio mute down to mute the sound, then unlock.

Let dust settle, then long press pwr to bring up the selection menu. Select unmute audio. Within a couple of seconds, the speakers pop and the gTab powers down.

If instead you short press to sleep and then wake and use the slider to unmute, there seems to be no problem.
[G Tablet Android Development] jmdearras:
Even easier to reproduce. Use the long press menu to mute or unmute, and the gtab powers down after a second.
[G Tablet Android Development] pershoot:
gtab|zpad/zpad(new bl) - 2.6.32.35 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated.
[G Tablet Android Development] pershoot:
g2/zpad/zpad(new bl) - 2.6.32.36 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated.
[G Tablet Android Development] pershoot:
gtab/zpad/zpad(new bl) - 2.6.32.36 - refreshed - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated.
[G Tablet Android Development] Coldfirex:
Thanks for all the updates on this kernel!

So is that last update mean we should be able to dongle a cell phone or other device with 3g capabilities to the tab?
[G Tablet Android Development] pershoot:
It was always there. Just more support.

You still need the hooks in the rom/userspace for it.
[G Tablet Android Development] pershoot:
Ill probably refresh this tonight with an amendment for zpad t2 3g users.
[G Tablet Android Development] pershoot:
at any rate,

how's this working out for everyone?
[G Tablet Android Development] Synman:
flashed it last night. woke up this morning to an unwakeable gTab. Had to long-press power to get it to "boot". Had it plugged into the AC adapter overnight.
[G Tablet Android Development] pershoot:
wow. i haven't heard of this in a long while.

let me guess, vegan?

set your wifi to never sleep (this applies to any rom based off the stock/stock'ish froyo roms; there appears to be a wifiservice bug of some sort, when pitted with our method of injecting the wifi module (i.e. gpio reset) in to running memory (i suspect)).

if you have usb plugged in and you find that you cannot wake it, unplug it, and wake it up (this is due to usb suspend being on, and a previous wakelock not being released (im suspecting). i have made it better for gingerbread; but stock froyo still has some issues with it (albeit a bit better now)).

these notes can also be found on the blog post.
[G Tablet Android Development] wd5gnr:
I flashed it yesterday on Vegan 5.11 + supplements and it seems fine to me. Thanks for all your work on this. I haven't tried any LKMs yet. I noticed in the readme you mention USB serial. Didn't see a module so I assume that's built in?
[G Tablet Android Development] pershoot:
it's been there.. just further support. its built-in, yea.

tonight ill do a refresh to sort in-built 3g for zpad t2. it won't apply to us, but want to keep things consistent.
[G Tablet Android Development] Synman:
nope, not vegan... Chalkulin 1.1 with a clean boot post kernel flash and nothing but AC power plugged in.

Have also been running with Wi-Fi always on for some time. Will flash back to it tonight to see if I can recreate ... otherwise dismiss it as a fluke.
[G Tablet Android Development] pershoot:
i dont know what other mods are in there which may be causing the issue for you, but for certain, from a kernel perspective, things are sorted with respect to that, for the most part.

please speak with the author to get a list of the mods that have been done. this way you can work with him to pinpoint the issue.
[G Tablet Android Development] pershoot:
speaking of wifi, i will try to merge in another method to inject the wifi module, on this platform. how they do it on ventana, and other mobile platforms that i've worked with.

this 'should' make the system behave a bit better, when working with the wifi module, and various other scenarios.

its on the list.
[G Tablet Android Development] dony71:
pershoot,

is it possible to have bluetooth DUN daemon enable in the kernel?
[G Tablet Android Development] pershoot:
most of the needed bits for BT are in the kernel.

the only thing not set is:

CONFIG_BT_HCIBTUSB

do you want this set?
[G Tablet Android Development] jmdearras:
Since this afternoon, so far so good. Seemed maybe a little sluggush waking from deep sleep when I got home, but I can't say for sure
[G Tablet Android Development] pershoot:
It may have been busy.

I just woke it up after 10+ hours and launched browser/email. Came right up. Switched back/forth too.
[G Tablet Android Development] jmdearras:
OK, twice the WiFi has not switched to my office from home. Shows no connection, until I stop and restart WiFi.

Had been switching perfectly.
[G Tablet Android Development] pershoot:
Youve had this issue in the past. Not sure there is anything i can do about it. I dont seem to be having any issues on gingerbread cm7, of that sort.
[G Tablet Android Development] dony71:
Pershoot,

According to manual, these option below have to be enable

CONFIG_BT_RFCOMM=y

CONFIG_BT_RFCOMM_TTY=y

CONFIG_BT_BNEP=y

Also, need to compile daemon for dund and pand

Those are available under

external/bluez/utils/dun/Android.mk

external/bluez/utils/pan/Android.mk

I read this android manual below

https://sites.google.com/a/android.com/opensource/projects/bluetooth-faq
[G Tablet Android Development] pershoot:
Those should be there already.

Pls pull from aosp and compile.
[G Tablet Android Development] dony71:
pershoot,

but why no rfcomm command in /system/bin?
[G Tablet Android Development] pershoot:
Build it from src.

The kernel zip will not contain anything for system (except for modules).
[G Tablet Android Development] jmdearras:
Yes and no. Used to not release, now show no connection. Anyway, just fyi incase you changed anything.
[G Tablet Android Development] pershoot:
Nope, don't believe anything that went in would impact that.
[G Tablet Android Development] dony71:
any instruction how to test this 3g capability?
[G Tablet Android Development] pershoot:
you wouldn't be able to utilise it without the hooks in userspace/rom.
[G Tablet Android Development] jmdearras:
FYI, it seems to be affected by the way I enter the building. It's just confusing the code in the BCM chip, I think. One way I go directly to the hotspot I sit near, the other way I went the past couple of days, I pass another hotspot (with the same SSID) briefly before reaching my desk. I think it starts to negotiage wiith the first, which goes out of range before it is done, then sees the second one on a different channel, and gets lost. Not a kernel or ROM issue, I don't think.

This morning, I came in normally, and it worked fine.
[G Tablet Android Development] dony71:
pershoot,

i'm new in this ...

i have pulled source from aosp, and locate /external/bluez/utils

and notice rfcomm and ddun is there

but now i don't know how to compile

will you kindly assist me full command line to compile this?

also, i pull aosp from here

repo init -u git://github.com/aosp-gtablet/gtablet-aosp.git

should be ok, right?
[G Tablet Android Development] pershoot:
gtab/zpad/zpad(new bl) - 2.6.32.36 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated.
[G Tablet Android Development] ramerco:
Are you saying we have to do this, or that you already have? Will USB mount work with th gbread version you posted?
[G Tablet Android Development] pershoot:
it depends on the rom you use.
[G Tablet Android Development] jvodan:
Thanks 3G now works
[G Tablet Android Development] jmdearras:
What is the new kernel on your basement? I see you rolled back the DMA buffering stuff. I have had zero issues with the version including it.
[G Tablet Android Development] pershoot:
you stated you had lockup issues.

this should sort that.

it also provides for 3g to work on zpad t2 devices (the other change rolled in).
[G Tablet Android Development] dony71:
any guide how to make it work?
[G Tablet Android Development] pershoot:
im rolling back in these changes.

i dont believe this to be the cause for that odd ended device.
[G Tablet Android Development] dony71:
pershoot,

are u implemented all update.zip in this thread for 3G or just boot.img ?

http://xdaforums.com/showthread.php?t=914350
[G Tablet Android Development] pershoot:
only kernel.
[G Tablet Android Development] pershoot:
scratch that. will leave this out for now.
[G Tablet Android Development] pershoot:
gtab/zpad/zpad(new bl) - 2.6.32.36 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated
[G Tablet Android Development] Asure:
Working lovely for me so far on top of vegan 5.1.1. Pretty please, can we have OC/UV ;)
[G Tablet Android Development] lgkahn:
Pershoot on vegan 5.11. The only versions of your kernel where I don't have lockups or the frozen wifi problem (with wifi set to go off when screen goes off) is the 3/37 version ... both 4/1 and 4/5 suffer from this problem.
[G Tablet Android Development] pershoot:
please do not use that function on the stock froyo/stock'ish froyo roms. it does not work reliably, and will cause erratic behavior, such as the one you described.

set it to never sleep.
[G Tablet Android Development] pershoot:
newer firmware for wifi:

<4>[ 38.458564] Firmware version = wl0: Dec 20 2010 19:21:39 version 4.218.248.18

<4>[ 38.739473] wlan0: Broadcom Dongle Host Driver mac=--:--:--:--:--:--

<4>[ 38.761073]

<4>[ 38.761079] Dongle Host Driver, version 4.218.248.23

ill bundle this in to the next update.
[G Tablet Android Development] wd5gnr:
Thanks for all your work on the kernel. I had been using the previous release for some time and just updated to the 04/05 version. I am getting odd reboots. I don't know for sure if it is the kernel but the timing was odd. I have rolled back to the previous version and will let you know if the random reboots go away. Of course, random sporadic and intermittent so you never know for sure that it has gone away.
[G Tablet Android Development] pershoot:
pls post logs.

pls make sure it is not a bad app or such that has been recently installed.

thx.
[G Tablet Android Development] acomiskey:
Is there a tun.ko that works with this kernel w/ calkulin froyo? When I try to insmod it I get exec format error.
[G Tablet Android Development] pershoot:
Pull it from the lib...tar.gz archive corresponding to the kernel release, push it to your system, and insmod it.
[G Tablet Android Development] acomiskey:
Thats exactly what I did and I receive exec format error.

C:\Users\comiskey>adb remount

remount succeeded

C:\Users\comiskey>adb push tun.ko /system/lib/modules

907 KB/s (145021 bytes in 0.156s)

C:\Users\comiskey>adb shell chmod 644 /system/lib/modules/tun.ko

C:\Users\comiskey>adb shell insmod /system/lib/modules/tun.ko

insmod: init_module '/system/lib/modules/tun.ko' failed (Exec format error)
[G Tablet Android Development] pershoot:
Pls post dmesg logs.

Ensure you are inserting the module corresponding to the release version, from /system (lib/modules is a good place for it).
[G Tablet Android Development] gojimi:
Yep that's how it works! Koush came up with the idea... pershoot modded it to work with our tabs... it rocks...

Pershoot.... one issue I noticed.... if you put the tab to sleep.... then hold the power button for a second it will most of the time shut the tablet OFF... that timing is WAY too quick. It can be done accidentally too easily and was probably part of the original root cause of the tablet seeming like it had shutdown after being asleep on the stock kernels..... not sure if this timing can be changed on the kernel side or if it needs adjusted on the ROM side... let me know.
[G Tablet Android Development] pershoot:
ill look in to it.

its a different way to handle it now. just tap and no more hold and tap some more to get it to wake up. no power menu coming up anymore either (for the most part), because its able to be tapped and not held to wake up. its pretty consistent, in my opinion.
[G Tablet Android Development] gojimi:
Oh yeah I agree.... it is WAYYYY BETTER! and THANK you for that... just wanted to let you know about the hold issue.... no biggie.
[G Tablet Android Development] rcgabriel:
There's also a menu in Spare Parts that lets you change the Endbutton behavior to "Home, then Sleep" - after I set that, the tendency of the G Tablet to pop up the damn power down menu when I was trying to wake it from sleep mode seemed to go away.
[G Tablet Android Development] blackSwanBB:
Where is this "kernel script" mod located? What is the command / script's actual name?

EDIT: Nevermind, I was looking in my git clone. It is in the boot-cm_2632.27-xtra-vfpv3_fp.zip.
[G Tablet Android Development] atakapa:
Pershoot, thanks for your efforts.

After installing the .zip, I can't clear data from the manage applications menu in settings. I've just tried it on the market and google services frameworks, but neither will clear data, clear cache works.

Titanium Backup will wipe data, but this doesn't seem to provide the full (almost) market list of apps. i.e., Market can't find the launcher apps and a couple other apps that were there prior.

I haven't tried clearing user data/factory reset in clockworkmod, but that's next. Fixing permissions and wiping cache did nothing.

So far, that's the only issue I've noticed, running Vegan 5.1 and data2loop prior to installing your kernel.
[G Tablet Android Development] roebeet:
Status 0 error in TnT Lite 4.0.0, when attempting to run it. :(

Using the older clockworkmod, btw - maybe that's the reason (newer ones have the value mismatch error with mods, so I usually avoid it).

I can still whip up an update.zip that will work, but sad that I can't use this with my older cwm - oh well.
[G Tablet Android Development] jmdearras:
Overall this is MUCH better. However, bluetooth audio does not seem to work. It connects, but no audio passes, and when you disconnect, there is no local audio anymore, until you reboot.
[G Tablet Android Development] pershoot:
can you reproduce this on the stock kernel?

please paste logs (logcat,dmesg).

thx.
[G Tablet Android Development] pershoot:
gtab/zpad - 2.6.32.27 - http://droidbasement.com/db-blog ; RM updated.
[G Tablet Android Development] pershoot:
nothing to do with the kernel.

get rid of your dataloop and reinstall fresh, sans the mod. now observe.
[G Tablet Android Development] pershoot:
0.8 confirmed flash tested success (i have flashed about 100 times now).
[G Tablet Android Development] anlog:
I'm noticing a lot of shutdowns and reboots when putting the device to sleep with the 1/7 version. Does 1/8 fix? About to test now...
[G Tablet Android Development] pershoot:
i have received none. i have put it to sleep countless amount of times and it stays put. this is on tnt lite.

which rom?

any mods?

grab a log.
[G Tablet Android Development] pershoot:
all,

any after market mods done, i cannot support.

please go back to the stock rom base (fresh), and then observe, if you receive issues.
[G Tablet Android Development] anlog:
Vegan b5.1. Same issue gojimi was having. Did you adjust the power button delay with the latest build?

Also, it looks like your build signature is the same for these builds (pershoot-ubuntu #1). Is there any way to increment with future builds so that we quickly know for sure that the new kernel actually flashed?

Thanks,
[G Tablet Android Development] pershoot:
no it has not been adjusted.

i am not finding issue with it (on tnt lite, 3.1).

however, i will look for it in passing.

the number should always increment. you have the date in file and in RM (plus time) and time/date in uname -a, at any rate.