yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] rcgabriel:
Not sure which kernel you are talking about here, but I'm playing Angry Birds with my kernel right now, and it's fine. Market appears to be working fine for me as well, both installs and updates.

I documented exactly what changes I made to the kernel source from Viewsonic. It is only one patch, and it only touches suspend/resume code. Nothing else. So I find it extremely unlikely that my kernel could break Angry Birds or Market.

Edit: Now I know what you are talking about re: app installation of certain apps. This is a bug in Viewsonic's released source code, and it was there in all the early TNT Lite and ZPad releases too. Rothnic noted this yesterday. The workaround is to unmount SD card before installing apps from Market.
[G Tablet Android Development] rcgabriel:
Ah, the Angry Birds won't install issue is in the source code Viewsonic released, not in my kernel patch. Angry Birds runs fine. You have to unmount SDcard to install - rothnic noted yesterday that Viewsonic's source code release has this issue in it (i.e. they didn't include the fix they made between their first kernel release and their second kernel release that resolved this).

I have no idea about Market, it's running fine for me. More specifically, what is missing?
[G Tablet Android Development] Mrbobrowitz:
It is quite possible, all i know is that before i applied the update I had angry birds, after i applied the update angry birds and zynga poker (for example) were gone. I am on VEGAn-Tab Beta 4 i didnt mention that the first time.

A data wipe should not be necessary for a boot.img flash, as the restore of the previous stock kernel showed angry birds once more.

-MrBobrowitz
[G Tablet Android Development] anlog:
Dolphin HD, Launcher Pro, etc are missing from Market. Ran Market fix several times.

I meant no offense by my previous post. I wasn't criticizing you in any way. I meant that the same issues that people are having with their custom kernels also appear to be present in your kernel, due to buggy Viewsonic source code.

Immediately after flashing back original vegan b4 kernel, Dolphin, Launcher Pro, etc are back in the market...
[G Tablet Android Development] vsc:
Hmm... Just tested AB. No problem. As amusing as always. And just installed something random from the market with no issues.

Note: With TnTLite 3.1.1 and patched kernel.

Edit2: Perhaps the Market is tied to a signature related to the kernel. I did the market "fix" and everything is where it belongs. And I was able to install AB and other stuff from the market.
[G Tablet Android Development] rcgabriel:
Okay, well our only goal in this thread was to fix the lag-on-wake issue. I definitely didn't touch any of the other code, so that bug from the Viewsonic source release will certainly still be there. Sorry, I was confused about what you and bobowitz were talking about at first.

Let me message rothnic and see if he figured out the SD Card mount issue...

In the meantime, I'm going to start working on figuring out this vold/SD card mounting issue. But this is a totally new issue and will likely take another few days to figure out. I'll start a new thread...

For now, in terms of daily use, I suggest continuing with the stock kernels. Vegan beta3 is very useable, and TNT Lite pre-3.0 is very useable too from what I understand.
[G Tablet Android Development] vsc:
Reference my post one back. If there is an issue it is not likely to be the kernel.
[G Tablet Android Development] clemsyn:
More than 12 hours with Lp2 disabled since to be working fine...no lags. I'll be more aggressive with the power button now and see how it goes. Will update.
[G Tablet Android Development] rcgabriel:
Yeah, vsc, the issue isn't with Angry Birds, which runs fine, it's a stupid vold/SD card mounting issue with Viewsonic's released source code. If you try to uninstall Angry Birds in market you'll see that uninstall won't work, and it probably won't reinstall unless you unmount sd card first.
[G Tablet Android Development] clemsyn:
Update...I gave my G-pad to my preschooler to press the hell out of the power button. He did as was told... a few minutes later the lag is back :( I will try vsc's kernel and see how good it does with my preschooler.
[G Tablet Android Development] vsc:
Just uninstalled and reinstalled AB with no issues.

Makes me wonder if that is what we need at work....
[G Tablet Android Development] clemsyn:
Same thing with vsc's kernel and my preschooler. He got the lag back.
[G Tablet Android Development] gotwillk:
damn your preschooler is destroying all the progress! lol
[G Tablet Android Development] lamlam01:
Any logs that can be analyzed to further isolate the potential issue?
[G Tablet Android Development] blackwidow1234:
After about 6 hours of waiting, this did not stop the CPUs from getting stuck at 216MHz. However, both cores remained enabled, so the tablet performed better than expected when I woke it up.
[G Tablet Android Development] rcgabriel:
Really?? I've beaten on this damned thing and haven't been able to make it lag again.
[G Tablet Android Development] vsc:
It's likely this post will change things ;-) but I haven't been able to break it yet either. And I got 2510 as a quadrent score in the process.
[G Tablet Android Development] rcgabriel:
Clemsyn - can you double-check the signature of the kernel you're running? And if it happens again, can you double check that your CPU is really stuck at 216000 and that it isn't just a transient process running in the background? I'd also love to see the dmesg output when you get the lag back.

I've done my best simulation of a preschooler, slept and waked the hell out of this thing and failed to get back into a laggy condition. The only problem I have seen with the kernel is the aforementioned sdcard/vold issue.
[G Tablet Android Development] rob_z11:
Can one of the kernel be incorporated in beta5 of the vegan with the best possible fix as an interim solution?
[G Tablet Android Development] anlog:
I'm doing some experimenting with the way I bring the tab out of sleep. I press the power button once. If nothing happens, I wait 10 seconds and then hold my finger over the HOME hard button for about 8 seconds to turn on the screen. So far I haven't gotten any lag with vegan b4 (stock kernel), which is actually saying a lot.
[G Tablet Android Development] rcgabriel:
Not a good idea, I think, until we resolve the MMC/sdcard mounting issue. If you'd rather fix the lag and live with that issue, you can flash the kernel yourself. :)
[G Tablet Android Development] rob_z11:
This is with the stock kernel which comes with beta4?
[G Tablet Android Development] anlog:
Yes the original kernel that comes with beta 4.

So far about 15 wakeups with no lag.

If you see any weirdness you can verify if the tab is out of sleep (but screen is stuck off) by holding your finger over the home button. If it turns on, then the tab wasn't actually asleep. I don't believe the home button will bring the device out of true sleep.
[G Tablet Android Development] crsboca:
Probably this has been covered already (there are a lot of posts on the lag), but has anyone tried running "top" from a terminal emulator or via adb to see if it points to anything hogging the CPU?

Or is it definitely a power management/CPU governor problem?
[G Tablet Android Development] rob_z11:
True. I tried one of the kernel without any success, but will keep trying. Just a very friendly request to see if you guys can put your unique name on the kernel, so it is easy to identify which kernel we are trying ;)
[G Tablet Android Development] anlog:
Tried this a LONG time ago. It is absolutely a CPU scaling issue.
[G Tablet Android Development] thebadfrog:
Using vsc's boot.img on tnt 3.1 and the lag just showed up. Was sleeping for about 30 minutes when I woke it up. Stuck at 216000
[G Tablet Android Development] vsc:
As cited. Also some time ago and nothing was grabbing the CPU.

Note that as of late I have been running Advanced Task Killer, configured to terminate most everything every 30 min. Given I can't reproduce I disabled it.

Note that I restored TnTLite 3.1.1 from a backup and installed the kernel over the top. The reason I went back to 2.4 was due to the lag issues, thus if backups are faithful then in theory whatever I had backed up should be able to reproduce the problem.

What I (and others) need is a dmesg log from when this occurs, similar to what was posted on page 2 of this thread.
[G Tablet Android Development] rcgabriel:
Okay, to the best of my knowledge, several people have stated that they have still had lag issues on vsc's kernel build, but I haven't yet heard anybody state that they have had that issue on my kernel with Vegan b4.

vsc stated that the builds were similar, but they are not the same kernel (I verified that by unpacking his boot.img file).

So... I just repacked vsc's TNT Lite boot.img with my kernel. Only because I want feedback on whether people are able to get the lag condition with this kernel. I have been absolutely unable to get my tablet stuck in the laggy/216Mhz state with Vegan beta 4 since installing this kernel.

**NOTE** - I do not have TNT Lite installed so though I have tested this kernel quite a bit, I have not tested this update.zip file. But this should work - just flash it from Clockwork Mod AFTER making a backup. DO NOT install this if you do not have a recent backup and don't know how to nvflash in event of a catastrophic failure, etc. DO NOT get mad at me if this doesn't work. I am really doing my best here to be helpful to the community.

**UPDATE** - I replaced the kernel in this boot.img with one with the SDCard mounting/apps install issue fixed. Not sure if this even effects TNTLite, but I suggest using the new update.zip I am posting here, called tntlite-kernel-update-rcg-2.zip if you had issues with the first update.zip I posted.

**NOTE 2** - The vold/sd card mounting issue is still here that's in the Viewsonic source code release. That means Angry Birds and certain other market apps will error out on install, you have to unmount sd card first, then install, then remount to work around this. Other people are working on that and I will too later, but first I want to know if we've really solved the lag issue or not.

** NOTE 3 ** - this update.zip is only for tntlite. The vegan beta 4 update.zip with the same kernel is in a previous post of mine on page 12.

** NOTE 4 ** - I am leaving this updater up here, but I suggest you use vsc's updater instead because it's been tested properly with TNT Lite. Please see his post:

http://xdaforums.com/showpost.php?p=10170515&postcount=206
[G Tablet Android Development] danielsjam:
I am using your kernel on Vegan-b4. Just been using it for about 4 hours now. It was in sleep mode for about 45min - no lag on wake up, but will continue testing and report if I discover problems. The kernel is a little faster and smoother IMO. From past use of Veganb4 stock kernel I experienced the lag after 10 mins of sleep.

Thanks
[G Tablet Android Development] cjbailey75:
Checked into my 1st slow down. Quad score of 482 after I wake it up.
[G Tablet Android Development] rcgabriel:
@danielsjam

Thanks daniel, that's helpful.

@cjbailey75

Vegan b4? Or TNTLite? Did you flash vsc's kernel or mine? Can you post dmesg output?
[G Tablet Android Development] danielsjam:
Used file Veganb4-kernel-patch and here is my output from dmesg.
[G Tablet Android Development] cjbailey75:
Just taking back my prior statement that I didn't have lag. Downloading the zip now.
[G Tablet Android Development] cjbailey75:
Bork my app settings and market
[G Tablet Android Development] anlog:
Yea it's weird. With the custom kernel I was having a hell of a time getting the market fix applied. I finally got it, and MOST apps showed up. But apps like Dolphin and Launcher Pro wouldn't show. I was able to install a couple of random apps, but not Angry Birds.

All I did was flash the old kernel back (no other changes) and the full Market was restored and Angry Birds installed fine.
[G Tablet Android Development] vsc:
I have no problem zipping up my sources and sending it for a diff. Or the other way around.

When applying Viewsonic's patch what did you do with the chunks where patch claimed they were backing out something already there. Basically I answered yes twice (or at least I think it was twice).

Also there is a question of which compiler was used. I loaded up,

arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2

(This version of the compiler is what I use for TI's devices.)

Either case would be sufficient for the binaries to be different.

On a different note I was out for a period of time and when I got back the tablet was acting funny. I killed off all the applications hanging around and ran the benchmark. The resulting score was in line with expectations.
[G Tablet Android Development] anlog:
Just had the slowdown happen on vegan b4. Was very careful about the power button. Went about 5 hours and 25 suspends/resumes and it borked.

No rhyme or reason to it. I'm going to post my dmesg if anyone wants to take a look...
[G Tablet Android Development] Butch1326:
It's tail between my legs time. After days of never experiencing the slowdown issue, and thinking why doesn't this happen to me, it finally happened. Laugh it up... I am in the middle of a slowdown crisis... Now I feel your pain. This gtab is really sloooooowwwww.
[G Tablet Android Development] clemsyn:
Yup, he did it pretty quick too. Only kernel he hasn't gotten to lag is your vegan patch kernel. Ill let him have it again when he wakes up.
[G Tablet Android Development] anlog:
Mail it to me and I'll have my son try. He destroys everything he touches. He destroys everything he thinks about touching.
[G Tablet Android Development] yzf600:
I just flashed tntlite-kernel-update-rcg.zip to my vegan beta4 tablet. When I do a "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" I always get 216000, even after a fresh reboot. Is this the proper way to check for the slowdown? I don't like running quadrant just to see if the lag happened.

I also lost angry birds, which I figured would happen. I don't have any sdcard mounted, except for the built in 16GB /mnt/sdcard. I can't install AB from the market, though. Am I supposed to unmount /mnt/sdcard also? If so "umount /mnt/sdcard" didn't work for me.

Thanks.
[G Tablet Android Development] stanglx:
Guys... We are talking about different kernels.. I am proposing when discussing when you have a new build or when testing a new build please state the following:

When testing:

Who Provided the Kernel (member name)

Name of the file provided

Which OS version (TNT, Stock or Vegan)

Test Results:

When providing:

HEAD Version

Build Version

OS Version (TNT, Stock or Vegan)

Build Changes:

Any recommendations would be nice but as you can see in the git tree there is some significant development going on by Nvidia. The version that VS provided is already outdated..
[G Tablet Android Development] jkpatel79:
RCG, I installed this boot image, and I haven't seen a slowdown like I did before, but I am now getting force closes on the Music app right at boot up and the settings force closeds as well that I can't even go to unmount the SD card. In any case, I think you are onto the right track to at least making our tablets usable. I installed the zip with Clockwork, but did not wipe cache or data. But Quadrant scores of 2400+ after a few times of sleep and back.
[G Tablet Android Development] mdwalker@yahoo.com:
No joy yet

I cherry-picked a whole slew of Nnvidia patches up to the most current which seemed relevant to the lag problem, and no joy. I'm now running that combination with LP2 off also but too soon to see if that makes a difference.

However, one thing that seems helpful (now that I notice it) is to enable the

CONFIG_CPU_FREQ_DEBUG config setting when building new kernels. This produces enhanced debugging output related to scaling the CPU frequency. Sample output is as follows:

...

<6>[ 5437.904204] tegra_pm_notifier: start processing event=3

<6>[ 5437.909513] nvrm_notifier_show: returning with 'PM_SUSPEND_PREPARE'

<6>[ 5437.916193] notify_daemon: wait for nvrm_daemon

<6>[ 5437.922403] nvrm_notifier_show: blocking

<6>[ 5437.927747] tegra_pm_notifier: finished processing event=3

<4>[ 5437.935949] Freezing user space processes ...

<6>[ 5437.945336] nvrm_notifier_show: false wakeup, returning with '\n'

<4>[ 5437.954505] (elapsed 0.01 seconds) done.

<4>[ 5437.958484] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.

<6>[ 5438.007495] tegra_grhost tegra_grhost: suspending

<6>[ 5438.586316] tegra_grhost tegra_grhost: suspended

<4>[ 5438.591136] Suspend SDIO3Suspend SDIO2

<6>[ 5438.594886] tegra_uart tegra_uart.4: tegra_uart_suspend called

<6>[ 5438.601105] tegra_uart tegra_uart.3: tegra_uart_suspend called

<6>[ 5438.607359] tegra_uart tegra_uart.2: tegra_uart_suspend called

<6>[ 5438.613324] tegra_uart tegra_uart.1: tegra_uart_suspend called

<4>[ 5438.621395] DVFS set core at 1200mV

<4>[ 5438.635569] RM power state before suspend: Active (2)

<4>[ 5438.640685] Active Module: 0x16

<4>[ 5438.652623] Disabling non-boot CPUs ...

<4>[ 5773.662122] *** Wakeup from LP1 ***

<4>[ 5773.666167] PMU Resume Irq. In 1, 1 --> Send First KEY_F4(LP1) -->

<6>[ 5773.672340] wakeup wake lock: gpio_f4_wake

<4>[ 5773.677677] Send a simulate KEY_F4 ****

<6>[ 5773.693410] tegra_uart tegra_uart.1: tegra_uart_resume called

<6>[ 5773.708365] tegra_uart tegra_uart.2: tegra_uart_resume called

<6>[ 5773.723393] tegra_uart tegra_uart.3: tegra_uart_resume called

<6>[ 5773.759699] tegra_uart tegra_uart.3: Started UART port 3

<6>[ 5773.767102] tegra_uart tegra_uart.4: tegra_uart_resume called

<4>[ 5773.821315] Release quickly(LP1) -->Out.

<4>[ 5773.826118] Resume SDIO2Resume SDIO3h2w: offswitch-dock: dock_switch_work_func

<4>[ 5774.276912] switch-dock: desktop_dock = 0switch-dock: state = 0

<6>[ 5774.446470] usb 1-1: reset high speed USB device using tegra-ehci and address 2

<4>[ 5775.994736] Restarting tasks ...

<6>[ 5776.004759] nvrm_notifier_show: blocking

<6>[ 5776.035124] request_suspend_state: wakeup (3->0) at 2006249719190 (2010-12-28 18:49:36.233207029 UTC)

<4>[ 5776.077723] done.

...
[G Tablet Android Development] cjbailey75:
Wiped cache and restored back to vegan 4 and out of sleep 523 quad score. Don't get it.
[G Tablet Android Development] vsc:
Another patch that would seem applicable is,

http://nv-tegra.nvidia.com/gitweb/?...it;h=01a0b8146665a17dd063b4b8e2fe80e5bd795c22
[G Tablet Android Development] rcgabriel:
Eeeeek, you just flashed a tnt lite boot.img to a vegan rom installation???? I cant predict what that would do. You should use the vegan kernel and boot img updater i posted back on page 12 with vegan rom. I just clarified my post with the tntlite updater that it's only for tntlite.

And the angry birds issue is known, yes, its in the Viewsonic source code.

The lag is really obvious for me when i open the launcher pro app drawer its choppy as hell if the cpu is lagging.
[G Tablet Android Development] clemsyn:
Looks like my kid can't get your Veganbeta4 kernel patch to lag :) Great Job!!! I suggest everyone try this out with Vegan. Will continue testing but is doing great so far. Looks like it is also throttling really well too. I also got a quadrant score of 2430 :) Everything is working including market fix etc...
[G Tablet Android Development] fletch33:
can we apply this with stock 3389 with performance pack v2? if so how?

:)

thanks
[G Tablet Android Development] yzf600:
I'm kinda dense sometimes. The "tntlite" in the zip name should have clued me in. Thanks for the clarification. I flashed the proper vegan4 kernel path from page 12.

I'm gonna miss my angry birds, but a whole lot less than lag from sleep.

Is "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" still the command line way to check speed issues? I've noticed that that number changes if the tablet is idle at a screen or actively running an app. Sitting at one of my launcher pro's screens shows 216000. Running "Air Control" shows many different frequencies. Makes sense as this CPU would/should do tons of dynamic frequency scaling in order to save power.
[G Tablet Android Development] clemsyn:
Just had a couple of reboots while device was plugged in. I'm using vegan b4 with the vegan kernel patch.
[G Tablet Android Development] vsc:
I'm afraid to say that I screwed up building the kernel earlier today. This is the reason people didn't see any improvement with TnTLite. Sorry.

Attached is kernel for TnTLite 3.1.x with both of the following commits merged.

http://nv-tegra.nvidia.com/gitweb/?...it;h=01a0b8146665a17dd063b4b8e2fe80e5bd795c22

http://nv-tegra.nvidia.com/gitweb/?...it;h=24026696dcd728be545c07fcd3b4bd7e1483c553

And if one does a "uname -a" you should get,

"Linux localhost 2.6.32.9V0.1-dirty #3 SMP PREEMPT Tue Dec 28 21:42:26 CST 2010 armv7l GNU/Linux"

where V0.1 indicates both of the patches above are included.

Give it a shot and as always make a backup before flashing a kernel.

Edit: Attachement removed. See later posting.
[G Tablet Android Development] vsc:
Or is it something to do with Vegan?

TnTLite doesn't seem to have this issue, with your kernel or the one I just built.
[G Tablet Android Development] rothnic:
Just a heads up, hopefully we get an updated kernel patch:

http://twitter.com/#!/ViewSonic/status/19843383304392704
[G Tablet Android Development] smileyscout:
http://xdaforums.com/showpost.php?p=10138407&postcount=112

I flashed the kernel from this post. Before I got around to testing whether it fixed the wake on lag issue or not I realized I no longer had any audio from the speakers or headphone jack. The little headset toggle widget I found didn't help any.

I'm just going to stick with VeganTab beta 4 until the strangeness with the kernel gets worked out. Once ViewSonic has an official fix out things will get much better.

EDIT: Don't mind me. I'm retarded. I expected a beeping noise when the volume toggle is used. Vegantab doesn't do that. The sound was working fine. :-P
[G2 and Desire Z General] covers:
Hi i did a search and couldnt find anything on this. Any how i am wondering if it is possible to change the three bottom homescreen buttons to something of my choice. At this moment itis the default menu,phone,personalize buttons. Can i change that? Tia!
[G2 and Desire Z General] wileykat:
It is possible to change the Personalise button if using the Virteouse ROM, see the Development forum. Or try Launcher Pro or ADW from the market, but u will lose use of the HTC widgets. If that is an issue check out Launcher Pro Plus.

..sent from my CyanogenMod'd HTC Vision
[G2 and Desire Z General] covers:
thanks for the tip but ive tried those methods previousley and i dont like how it changes the whole ui of the phone. i was wondering if it is possible to leave it as stock as possible and just remap the personalize button to people. thanks!
[G2 and Desire Z General] lucasleiva:
The closest thing I could think of is using launcher pro you can make it look like stock froyo and it looks almost exactly the same and you could put anything for the buttons. I love it personaly
[Vibrant Themes and Apps] _DiMoN_:
I just installed Nero V3 and added the TouchWiz launcher which I liked (http://xdaforums.com/showthread.php?t=817466 ).

Now I am looking for the stock dialer. Does anyone have a link?
[Vibrant Themes and Apps] justlovejoy:
here is the stock dialer for jL5. if it aint what you need just pm me!

push it to system\app folder with root explorer or adb or whatever method works for you!
[Vibrant Themes and Apps] _DiMoN_:
Worked just fine!!!

( adb push DialerTabActivity.apk /system/app )

I managed to do everything I wanted:

1) Greek - US swype

2) Samsung TouchWiz

3) Samsung Dialer

4) Gingerbread feel with Voodoo

Great!
[Vibrant Themes and Apps] ashvincj:
can someone give the stock dialer apk for my vibrant which runs on bionix v 1.2.1 ?? please as i dont like the black dialer with dashes (hyphens) inbetween the contact number
[Hero CDMA Q&A, Help & Troubleshooting] 22monster:
How to root htc hero?? (cdma)