yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] mydave1:
Hi TEK112, sorry to confuse you. I understood those letters.

The 'Vegan Kernel - 20240311 NI Kernel' is what got me confused. I installed Beasty + Clemsyn combo. So the rom already had a taste of three different kernels ?

I am partial to Pershoot kernel, and would rather to have his than anything else. I posted the question at NI Adam, but did not expect a good explanation, if there is any respond at all.

If you can stir me to the right direction, I would appreciate it very much,

Dave,
[G Tablet Android Development] TEK112:
Sorry bud. I can't answer that. I would suggest PM-ing one of the devs.

It looks like josh4trunks is in the know. His profile is:

http://xdaforums.com/member.php?u=2958277
[G Tablet Android Development] FeatherKing:
pershoot, i thought i would try to compile the modules on my own since your source is available on github. I did compile them successfully but they do not load witht the error (Exec format error) and im wondering if my compile string is incorrect. This is what i used:

make -C /usr/src/tegratab/gtab-2632/ ARCH=arm CROSS_COMPILE=/usr/src/tegratab/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- modules

I didnt compile the kernel itself, as i planned on using your 2.6.32.41 kernel still. Is your git current with that kernel? perhaps i need to compile the kernel first and then the modules.

any guidance would be great thx
[G Tablet Android Development] pershoot:
if you want to build from my src, you should use gcc 4.3. if you want to use 4.4, then strip away the optimisation flags (AFLAG) in Makefile, and vfp/Makefile (revert back to softvfp+vfp).

depends on the module you are trying to load in and/or what your dmesg output is telling you.

you may have deps in kernel for the module you are building, which in that case, you'd need to flash in your kernel prior to loading in the module(s).
[G Tablet Android Development] h3llphyre:
I've looked for the answer to this and either a.) I can't find it or b.) I'm confused. I'm like to use your CIFS module with your latest kernel. Is there a way to permanently insert the module, as opposed to manually having to do it every time? Should I just have a script at boot do it?

I really hate posting n00b-ish questions, but I can't find the answer.
[G Tablet Android Development] pershoot:
Cifs manager can do it automatically for you.

You can also write a script to do it on boot.
[G Tablet Android Development] h3llphyre:
Wow, thanks, didn't even know it could do that. Awesome, thanks again for the quick reply. I just need to copy the file over now from your supplement.

BTW, thanks again for the awesome kernel.
[G Tablet Android Development] barakisbrown:
pershoot,

I have your kernel and your wifi driver loaded and working on Bottle of Smoke 3.3. Would you know why before I load the wifi the rom is fast and snappy but once you install and activate wifi the rom slows down??? Also, for some reason, it says that the battery stats activity is not installed which means I can check any stats like that.
[G Tablet Android Development] FeatherKing:
hi pershoot, i tried to compile my kernel using 4.4 and the modules i created. Sad to say that still would not insert my modules. on the bright side my custom kernel booted.. When inserting modules, dmesg output says "no symbol version for module_layout".

I tried as you suggested, compiling with 4.3 as follows:

make -C /usr/src/tegratab/gtab-2632/ ARCH=arm CROSS_COMPILE=/usr/src/tegratab/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi- zImage

but i get an error "error: bad value (cortex-a9) for -mtune= switch". My build environment is a x64 Debian load. i thought i perhaps should use linux-x86_64 from the toolchain, but there were no compilers in there. Thoughts?

[edit]

fwiw, i also have an x86 Debian load and i get the same error regarding the cortex-a9
[G Tablet Android Development] pershoot:
remove the optimisation flags.
[G Tablet Android Development] FeatherKing:
hi pershoot, i commented out the lines for CFLAGS_MODULE and AFLAGS_MODULE and CFLAGS_KERNEL and AFLAGS_KERNEL. This did allow me to compile the kernel and modules, but after loading on the tablet i am still unable to insert the modules with the (Exec format error). I get nothing in dmesg now however, which has me wondering if i commented out too much or too little.

I noticed the CFLAGS_KERNEL and AFLAGS_KERNEL lines were the only ones with the cortex-a9 string. Did i go to far removing the CFLAGS_MODULE and AFLAGS_MODULE lines? or maybe not far enough..

I appreciate your help very much on this.
[G Tablet Android Development] pershoot:
CFLAGS_KERNEL and AFLAGS_KERNEL.

what are you trying to build in?
[G Tablet Android Development] FeatherKing:
Im not totally sure i understand your question. If you are asking what im trying to build into the kernel it would be the joydev.ko and xpad.ko (drivers/input/joystick).

this is what my root Makefile looks like for the CFLAGS_KERNEL and AFLAGS_KERNEL in reference to my previous post:

#CFLAGS_MODULE = $(MODFLAGS)
#AFLAGS_MODULE = $(MODFLAGS)
LDFLAGS_MODULE = -T $(srctree)/scripts/module-common.lds
#CFLAGS_KERNEL = -O1 -mtune=cortex-a9 -ftree-vectorize -ffast-math -fsingle-precision-constant
#AFLAGS_KERNEL = -O1 -mtune=cortex-a9 -ftree-vectorize -ffast-math -fsingle-precision-constant

When you said remove the optimisation flags, this is what i did and maybe is the root of my issues? It did produce a bootable kernel, but no modules would load :/
[G Tablet Android Development] pershoot:
just set them to a null value. you can leave them commented in.

CFLAGS_KERNEL =

AFLAGS_KERNEL =

are you using pershoot defconfig?

are you building from the right branch for your rom? (master = froyo, gingerbread = gb).
[G Tablet Android Development] FeatherKing:
Success!

i uncommented the CFLAGS_MODULES and AFLAGS_MODULES lines (leaving the KERNEL lines commented, and edited the vfp/Makefile to show softvfp+vfp. Then i used this make string:

make -C /usr/src/tegratab/gtab-2632/ ARCH=arm CROSS_COMPILE=/usr/src/tegratab/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- zImage

followed by

make -C /usr/src/tegratab/gtab-2632/ ARCH=arm CROSS_COMPILE=/usr/src/tegratab/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- modules

the modules are now loading into your kernel (dont even need to use the zImage i created). However it seems that some of the keymappings need to be modified in the xpad.c to allow an xbox 360 controller to work with the gtab. I found some work that someone had done on the xpad.c here: http://xdaforums.com/showpost.php?p=12825999&postcount=54. I copied their modified xpad.c over the one from your git, compiled a new xpad.ko and after running 'insmod xpad.ko' i am playing games with an xbox 360 controller!

ive attached the modified xpad.c in case someone else wants to try but it works flawlessly so far (i even tried the usb to wireless controller adapter with no issues). The only difference in this xpad.c is the person hardcoded key strokes instead of button presses. So 'A' on the controller emulates a keypress letter 'A', etc.

I have also attached the compiled xpad.ko and joydev.ko for the 2.6.32.41 pershoot gingerbread kernel. The only flaw that i have found so far is the modified xpad.c does not totally work with multiple controllers. The second controller will sync up to the device, but the controller1 'A' button and the controller2 'A' button both send the letter 'A' where they should actually be sending different letters. Maybe someone smarter than me could further modify the xpad.c and enable multiple controllers.

I have tried to be somewhat detailed in case someone else is following along. Here is the thread i used to start compiling the kernel from pershoot git: http://xdaforums.com/showthread.php?t=916198

thanks again for your help pershoot! I am enjoying my gtab more and more every day.

(see it in action: http://www.youtube.com/watch?v=mwdoyo4-zBw)
[G Tablet Android Development] h3llphyre:
Pershoot,

Is there a way to copy a module from SDCARD to the system directory from the tablet itself. I've fought with getting ADB to work (conflict with the driver I installed for NVFLASH I believe) and just can't get there. I just want CIFS support. I wasn't sure if there was some method for copying to the write protected directory from a terminal app.

I've tried:

#mount -w -o remount /system

This just returns the usage for "mount". I've searched on the forums, some people suggest:

#mount -o remount,rw /system

Also doesn't work. Any help would be greatly appreciated.

*EDIT* Running Vegan 5.1.1 running you .40 kernel.
[G Tablet Android Development] TEK112:
Or, you could use root explorer (market paid app), mount r/w and then copy the module in place. Then, mount r/o and reboot.
[G Tablet Android Development] rajeevvp:
You got the default mount program with that command line. You need busybox's mount command for that command line to work. Ask for it explicitly:

/system/xbin/mount -w -o remount /system

This is exactly equivalent to your first command with the "-w ...". Either version can be used--as long as you use busybox's version of mount.
[G Tablet Android Development] h3llphyre:
I'd rather avoid paying for an application for one use. I have a feeling that I'm using incorrect syntax with "mount".
[G Tablet Android Development] h3llphyre:
Wow, awesome, thanks man. I really appreciate it. I didn't realize there were two versions of "mount" in the system. I was able to remount system as read/write, copy the file, then remount as read-only. Set the path in CIFS Manager, all is good in the world.

Again, thanks a lot.
[G Tablet Android Development] rajeevvp:
If you can explicitly set the path in CIFS Manager, then you don't need to copy the module file into /system. You can put the cifs.ko file anywhere you want.
[G Tablet Android Development] h3llphyre:
From the searching I did on the forum, people were having issues loading it from anywhere else, so I figured I would play it safe. I suppose I could have tried it from SDCARD before I went down this path.

Either way, it works wonderfully now (quite happy). Thanks again.
[G Tablet Android Development] pershoot:
all,

.41 GB kernel ok?
[G Tablet Android Development] edirector:
Will you update Mountain Laurel with it too? I heard it was good and one of yours. Should I wait for a kernal update before trying it?
[G Tablet Android Development] edirector:
It pays for Itself a good utility to have. I can add new keyboards, custom boot animations and used it to help Netflix work. Not that expensive.
[G Tablet Android Development] h3llphyre:
I'm sure it's a great application. My only holdup was not knowing I had to explicitly call out the path for mount. I'm a little rusty with my linux skills, but it's part of the reason I bought this tablet, so I had an android device to play with, as I don't want to mess with my N1
[G Tablet Android Development] tcrews:
Great for me, no issues.
[G Tablet Android Development] pershoot:
gtab/zpad (old/newbl) - 2.6.32.41 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated.
[G Tablet Android Development] raphenucleus:
Latest kernel running great for me on CM 7.0.3. Right after I flashed it I noticed some youtube videos wouldn't play correctly (audio, but no video), but fixing permissions fixed the problem.
[G Tablet Android Development] pershoot:
gtab/zpad (old/newbl) - 2.6.32.41 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated
[G Tablet Android Development] pershoot:
gtab/zpad (old/newbl) - 2.6.32.41 - refreshed - http://droidbasement.com/db-blog
[G Tablet Android Development] schettj:
Seems to run fine here... I missed the one before (busy week) so I don't know what this fixed, or changed, if anything.
[G Tablet Android Development] ErockGineer:
Hey all, looking for just some quick help. New to the tablet, definitely not new to customizing android devices :-) Anyways, did tons of reading and learning of almost every important thread before purchasing my G-tablet Friday. Since then spent some time installing Vegan-Tab 5.1.1 and VTL-launcher 1.65, both without a hitch, perfect installs.

I am running the stock 2.6.32.9-dirty kernel and want to upgrade this for my next step. After reading this entire thread (every page), I still can't figure out if this kernel will work for this ROM. And now with an update on June 4th, I'm really curious if anyone can confirm if this kernel will serve me well :-)

Thanks a million guys.....G-tablet....what an awesome device for $300 !!
[G Tablet Android Development] pershoot:
For vegan 5.1, install the kernel without 'newbl' and without _gb, in the filename.
[G Tablet Android Development] TEK112:
This is the one you want:

http://droidbasement.com/gtab/kernels/2632/41/boot-cm_2632.41-oc-uv-xtra-vfp_fp-060311.zip
[G Tablet Android Development] paracutin:
Running great with Vegan Ginger.

Wish someone could get Netflix working for me. I heard it works on CM7 so I gave it a try. That was the worst hour of my evening. Back to VG and .41 kernel!:D
[G Tablet Android Development] edgar67:
What was it about CM7 that gave you grief? Reason I ask is I switched from VG7 (and other ROMS) to CM7 for the same reason (Netflix) and things have gone pretty smoothly. Did you clear/format the partitions before installing?

Netflix really is nice to have on the G Tablet, and there is another program that seems to work best with CM7, Plants vs Zombies.

You might find CM7 to be worth it, but it shouldn't be a painful experience.
[G Tablet Android Development] paracutin:
I couldn't access the SD card using Root Explorer. Kept saying it wasn't mounted.

I could mount it in recovery and access it with my pc via usb but not natively on the tab with CM7 running. Not an issue with VG7. If I could have accessed the darn SD card things would have been better. I could not restore my Launcher Pro screens or Titanium Backup files. I know this is the wrong thread for these issues so could someone help with a link to a posting I would appreciate it.

I also like the position of the toolbar (not sure what it is actually called) in VG7 (lower left) than CM7 (upper right).
[G Tablet Android Development] jmdearras:
WiFi was fine at home. However, when I got to work and woke the GTab, the Wifi reported it was still connected to my home access point, with poor signal, and 1mps speed. I had to manually select the office WiFi to connect.

This is the first time I've seen this issue. Vegan 5.1.

Jim
[G Tablet Android Development] pershoot:
the gui does not update in time to keep up with the wifi reconnection/connection status (it appears to be that fast now).

however, tnt lite seems to be doing ok with keeping up with roaming and switching. i cannot comment on vegan though (please send logs to gojimi if the GUI gives you further issue).

please keep an eye on it, at any rate.
[G Tablet Android Development] pershoot:
so far positive results with new FW. reconnections if dropped are fast. connections are fast.

signal strength, similar.

pls keep it under observance.
[G Tablet Android Development] jmdearras:
Not just a GUI issue, I was not connected to the office access point, in the past it always switched automatically. I will watch it.

BTW, I just flash your kernels from cwm. Should I be clearing anything, also?
[G Tablet Android Development] pershoot:
could have been a fluke/coincidence.

anyways, keep me updated. i can revert the firmware if it does not ultimately play well with various setups.

no need to clear when flashing.
[G Tablet Android Development] jmdearras:
I just walked my building, and it seems to switch access points OK. You are right, the icon on the top bar does not reflect the signal strength, but the wifi settings page does.

Still puzzled about the failure to drop my home AP upon waking at the office. I gave it 15 minutes, but no internet available to any program, and the wifi settings page showed it connected to the home AP, and the office AP was listed. Now, my home AP is open, no passwords, I wonder if that makes any difference. I live in the middle of 20 acres, no chance of anyone not on my property accessing it. ;)
[G Tablet Android Development] jmdearras:
I will like anything that eventually gets me ptpp VPN to a MS Server! ;)
[G Tablet Android Development] jmdearras:
My GTab went to sleep sometime overnight on the charger, BTW. Did not do that on day-before-yesterday's kernel.

Also, sometimes the RH Softkeys still wake the GTab up. I'm thinking turning the touch sensor off when sleeping would save a bit of power, and maybe solve some wakeup issues.

Thanks for your great work, I'm starting to bond to my GTab! :D
[G Tablet Android Development] anlog:
My wifi still disconnects after long periods of sleep, but reconnects very quickly when I wake the tab up. With the other drivers I'd have to manually go into wifi settings and force it to reconnect.
[G Tablet Android Development] pershoot:
ill enable the remaining bits in the kernel in the next rls (3/4 further options). all the other networking options are present now (the full gamut).
[G Tablet Android Development] pershoot:
that is expected (for disconnection after long periods of sleep). the channel closes due to inactivity. but upon waking up, it connects back very fast, you would barely have known.

ill switch the power mode (from PM_FAST to PM_MAX) and see if it helps (it probably wont). the upshot of the current setting is streaming music when screen off 'should' be better.

setup a ping script to run every 30 mins if it is an issue for you. that will keep it alive.
[G Tablet Android Development] anlog:
I have several email accounts that poll every 15 minutes and one that polls every 10 minutes, but I'm thinking the system might be somehow bypassing them. The Wifi connection will randomy drop between 1 minute and 2 hours after turning off the screen. If I leave something like Pandora running the wifi stays up, so it's not really an issue for me. Just something I noticed.

I frequently put the tab to sleep for a few minutes at a time when running after my kid, so I definitely don't want wifi to turn off the second I turn the screen off.
[G Tablet Android Development] pershoot:
this is probably tied to the wifi service within TnT framework, which i have no control over, unfortunately. they recently fixed the wifi never sleep function, but that too may not work perfect to date. on my other devices it works fine (using the same driver that is being used here). i am betting it will work fine on cyanogenmod for the gtab as well.

if you have the time, take a nandroid and flash clean the latest cyanogenmod (froyo) for gtab. then flash this kernel. set wifi to never sleep. now observe.
[G Tablet Android Development] Frrrrrrunkis:
Hey masters of the android dev world, anyone want to teach me how to do this stuff or even recomend a book that can teach me how to do this stuff? I want to try and update the kernel, mostly cuz I've never done it before, but I am afraid to screw it up!
[G Tablet Android Development] pershoot:
you must have a custom recovery installed. if you do not, please refer to the other threads here to set that up.

download .zip

put on your /sdcard

reboot to recovery w./ power and vol +

install zip from sdcard

select zip

confirm

select

your done.

reboot.
[G Tablet Android Development] akodoreign:
Awsome :) I would recomend borders or barns and noble.. walk around look at several books and see what speaks to you.

:cool:
[G Tablet Android Development] Frrrrrrunkis:
Hehe thanks guys, I have clockworkmod .8 on my tab. I just was wondering which zip to use. the one that says extra or the one where the instruction on the link say to pick which onw I want from the zip. Is it that entire zip, then the extra zip?

As far as Barnes and Nobles and Boders, thanks again for the tip. ;-}

I always wondered what they sold in there. haha.

Seriously, I am not thread jacking I would prefer a pm with a couple of recommendations for learning the android developement stuff.
[G Tablet Android Development] pershoot:
there is only 2 .zips and 1 .tar.gz.

i assume you have a viewsonic gtab? if so pick the one that has _gtab in the filename.

if you need further functionality, there are kernel modules supplied in the .tar.gz. instructions for insertion of said modules are in the blog post.
[G Tablet Android Development] akodoreign:
I knew what you were saying :D he he. What i was alluding to (now there is a word I don't get to use everyday), is that a book that works for me may very well not work for you for development.

an example http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias=stripbooks&field-keywords=android+kernel

Although I will always recomend the For Dummies series... Got me through many certification tests :D
[G Tablet Android Development] pc2828:
Hi Pershoot,

Could you please instruct how to set up ping script? Thank You
[G Tablet Android Development] tcrews:
The internal storage is mapped as /SDCARD on VEGAn-Ginger but mapped properly (as per Google's method) as /EMMC on CM7. An actual real physical sd card would be mounted as /SDCARD if you put one in the slot. This is a pain for those without a real sd card to use and can easily be fixed by editing the volds.fstab swapping the /emmc and /sdcard mounts.

Doing that edit would give you back the ability to use the data stored on the internal storage as you were before....so you could restore you Titanium backups and your Launcher Pro backups. I use this method as I don't have an external sd card currently.

Also the "toolbar" is configured in the Settings/CyanogenMod Settings/Tablet Tweaks section so you can put those at bottom/top/left/right..which ever you want.
[G Tablet Android Development] edgar67:
Wifi "out of range" with kernal update (2632.41)

Anyone having trouble with wifi on cm7.

I flashed this kernel from stock cm7 (7.0.3) "boot-cm_2632.41-oc-uv-xtra-vfp_fp-060111.zip" and it has broken my wifi connection. It cannot see any signals (before flashing I had strong signals from 2 waps. Now it shows nothing, although it remembers my personal wap name.

Flashing back to 2632.39 for now.

**UPDATE**

I think I may have flashed the wrong kernel! OOPS.

It's a VERY fortunate thing that the G Tablet is so forgiving.

I just flashed this kernel "boot-cm_2632.41_gb-oc-uv-xtra-vfp_fp-060311.zip" and my wifi is fine again.

Maybe my mistake will save someone time. I downloaded the incorrect from this forum instead of directly from pershoot's page and ended up with a Froyo kernel. CM7 needs a Gingerbread kernel.

Is there anything I need to do after flashing to the new ROM ("pushing modules"??) Thanks!
[G Tablet Android Development] tcrews:
You flashed the wrong one. CM7 is Gingerbread so you need this one..

boot-cm_2632.41_gb-oc-uv-xtra-vfp_fp-060311.zip
[G Tablet Android Development] JohnnyInBriz:
The Froyo kernel (newbl) works fine with SetCPU on Honeycomb Android Illuminate a1.5. Just need to copy bcm4329.ko from the lib to /system/lib/hw/wlan to get wifi working.
[G Tablet Android Development] yashmack:
Im running a gtablet with vegan ginger and whenever I flash the latest kernel i cant get it to boot

first time i flashed the tablet would not bot past the blue gtabdevs logo, now after flashing and deleting dalvic, data, and cache it boots to the vegan logo but will then loop to a black screen then to the vegan logo and eventually turn off

i flashed the gingerbread kernel

anyone else successfully flash the latest 2632.41 kernel to ginger edition and what step did i miss?

UPDATE: Went back to an older kernel, 2632.41 GB from June 1st and it flashed and booted successfully

will redownload the june 3rd kernel and try again

UPDATE 2: I redownloaded the June 3rd kernel and it flashed and installed with no problem... not sure what the problem was but its working correctly now

Thanks pershoot for all the hard work!!
[G Tablet Android Development] TEK112:
The next time you flash a kernel, do not wiping anything.
[G Tablet Android Development] yashmack:
I did that initially but when I rebooted it would not load past the blue gtabdevs screen

I think my initial problem was the fact that the download may have been corrupted somehow

I usually dont delete data if I dont have to and only chose to after the tablet wouldnt boot

thanks for the advice though