yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] Blades:
// Clock table

{

#if defined(CONFIG_ZPAD_T2_NEWBL)

216000,

#endif

312000,

456000,

608000,

760000,

912000,

1000000,

MAX_OVERCLOCK, // New Entry

}

not really..

cat cpuinfo_cur_freq

301031

even tho 216 is set as the min the above clearly says that my device (gtablet.. not zpadnewBL) will have a lower clock limit of 312... sometimes nvrm will go over/under the desired clock too. I've noticed this with 1604 going to 1607031..

and yep Pershoot, you were indeed correct.. using dropbear to do the business of a remote terminal without usb (although I could've used adb over wifi) the device hits 216

/data/dropbear # cd /sys/devices/system/cpu/cpu0/cpufreq/

/sys/devices/system/cpu/cpu0/cpufreq # cat cpuinfo_cur_freq

216000

so why is it that there is a special provision for the zpad new bl for that frequency (in nvrm_clocks_limits.c ?
[G Tablet Android Development] pershoot:
you have usb plugged in. lowest clock will be ~300. when screen goes off and usb suspend occurrs you will drop to ~216. when u unplug usb, you will drop to ~216.

your looking at the 'fake shmoo'. look in cpufreq within tegra instead.

the frequencies will not be exact and they will deviate a bit. pllx0/nvrm needs to generate them along with the specific hardware/crystal in mention. this is also true for a PC, and any other device that needs to generate frequencies.
[G Tablet Android Development] jmdearras:
I'm no good at ask the right question. :(
[G Tablet Android Development] Mad A:
Thank you, wifi advanced settings -> sleep policy set to never sleep, and the latest kernal flashed. Time to run setCPU and enjoy. Thank you very much, you and the ROM devs have made this an amazing tablet!
[G Tablet Android Development] pershoot:
kholk's olympus oc module:

http://pastebin.com/itWmRATb

coolbho3k's stingray oc:

https://github.com/coolbho3k/Xoom-OC/commits/android-tegra-2.6.36-honeycomb/
[G Tablet Android Development] ttlycnfuzd:
pershoot - whats the best way to find better frequencies/voltage for a specific device. I think that I have one of those devices that don't like the current voltages. I have random lockup/freezes and sometimes the device pins itself at 1ghz.

let me know what you can, or ill try to catch you on irc
[G Tablet Android Development] pershoot:
set min: 216, max: 456.

start testing each step of max until 1000.

let me know when you lockup/freeze up. i will make an adjustment.

......

if not, then go to max 1200, test, and go to max 1400, and test.

let me know where you lockup, and I will try to accomodate your device.
[G Tablet Android Development] ttlycnfuzd:
ok... will do this evening and let you know

Thanks!
[G Tablet Android Development] jmdearras:
Thank you, I appreciate this. I want to use valid numbers for the MAX_OVERCLOCK value.

I set it to 1600000 and compiled. Fixed the setcpu file and locked the cpu at 1600. Both my gTabs lock up at 1.6GHz. so I need lower values. for some reason, I could not set both tabs to 1500 (it was in the file), the upper would show 1600.
[G Tablet Android Development] pershoot:
U need to add the freq to the cpufreq table as well, as it validates what freq is attempting to be set.

Increase the voltage. For ex: I need 1250 to do 1.6.
[G Tablet Android Development] jmdearras:
You can add entries to the cpufreq table? matching entry in the voltage table, I assume? Do you edit the tablesize constant, too? (from memory, my build box is at work)
[G Tablet Android Development] Blades:
And in case anyone is wondering, but not as stupid/daring as I.

/sys/devices/system/cpu/cpu0/cpufreq # cat scaling_max_freq

1700000

/sys/devices/system/cpu/cpu0/cpufreq # cat cpuinfo_cur_freq

1700000

/sys/devices/system/cpu/cpu0/cpufreq #

I have had no trouble using 32KHz steps when testing out different freqs.

And pershoot, did I see you mention that the grab only supports a maximum of 7 defined voltage steps?
[G Tablet Android Development] jmdearras:
What voltage?
[G Tablet Android Development] jmdearras:
32KHz out of 1600000000Hz? or 32k steps of 1600000?
[G Tablet Android Development] Blades:
Sorry I meant 32MHz steps.. ie.. 1604 -> 1636 -> 1668 -> 1700

I forgot what the voltage was.. I'm pretty sure it was 1350, although it could have been 1325.

going to try 1400mv on something like 1796.. 1860 didn't work @ 1400.. Can always tell when you're near the end of the overclocking road.. :) who knows tho.. 40nm chip here.. and on my 45nm G2 I have hit 1996MHz stable... thats single core tho. Do I hold any records? :)http://xdaforums.com/editpost.php?do=updatepost&postid=13046322
[G Tablet Android Development] Dueces99:
@Blades

What were you posting to? As I'm unable to access it. I am very interested to see what kinda numbers you're able to get, as I am an avid OC'er on my desktop, and my tab is mainly used for recreation atm so I'd be willing to try some of your numbers if you can get them stable. Thanx!
[G Tablet Android Development] ucsblaw:
Anyone know whether I can flash this (or any other gtab/zpad rom on a Malata smb-a1011? Im pretty sure specs are the same.
[G Tablet Android Development] pershoot:
this supports zpad t2 new bootloader as well as old bootloader. make sure to get the right download for your device.
[G Tablet Android Development] pimpmaneaton:
Okay cool another quick question. Would I need to install one of the modules before I run the gscript for the NTFS.
[G Tablet Android Development] pershoot:
yea, you need to pull ntfs.ko and utf8.ko from the lib-2632.28 archive and push in to place.

check droidbasement posting for instructions.
[G Tablet Android Development] gotwillk:
this is awesome. this kernel fixed the power button issue for me. almost everytime, it would take at least 2 presses just to get the screen to shut off or turn back on. and when it turns back on, i would get the power menu. haven't had that issue since applying this kernel. thank you pershoot!

question though: what is automating NTFS for and why do we want that?
[G Tablet Android Development] pershoot:
NTFS is windows filesystem format.

a way for those people who run external NTFS volumes to mount with a tap of an icon.

you could load the modules at run time, then write a gscript to mount/unmount at the tap of a button.
[G Tablet Android Development] gotwillk:
oh so its for people that want to, say, mount an external hd to the tab?
[G Tablet Android Development] pimpmaneaton:
[QUOTE/]question though: what is automating NTFS for and why do we want that?[/QUOTE]

In my case it will allow me to plug in my 750gb portable hard drive which is formatted to NTFS and I will be able to play all the movies off of the hard drive. Automatic will just make the tab mount the file system as soon as its plugged in.
[G Tablet Android Development] jmdearras:
This is universal, not just me, all rims. When the gtab is in sleep, waking fails and it reboots. See poll I did in general section.
[G Tablet Android Development] thebadfrog:
I've not had the issue in either tnt or vegan
[G Tablet Android Development] pershoot:
At any rate, make sure you are tapping and not holding on this kernel. A long hold will def shut it down cold while screen off. The behavior is a bit diff then stock.

If it persists, pls pull some logs and I will do my best to troubleshoot.
[G Tablet Android Development] jmdearras:
Ok. My wife's does it also, total stock. How about volume to wake it?

Does your latest gtab kernel call itself Ubuntu #1? That's what I am seeing in the about panel.
[G Tablet Android Development] gotwillk:
ok just found a major issue for me. not sure if this was already found. none of my encoded videos work anymore after applying this kernel. the previous version of the kernel did not work also with my vids. i encode all my vids the same way and never had an issue, but after applying this kernel, it gives me an error saying the video format is not supported. restored to a backup without this kernel and videos work again.
[G Tablet Android Development] pershoot:
which kernel does your video work on?

what does the log say (dmesg/logcat)?
[G Tablet Android Development] anlog:
Getting tons of reboots with this tab when waking it up from sleep. This is on vegan b5.1 with 1/9 kernel. Going to remove data2loop and see if things stabilize...
[G Tablet Android Development] pershoot:
remove your data loop. start fresh.
[G Tablet Android Development] brew1brew:
Pershoot, First, You rock, thanks for the kernels and your hard work (or should I say "play time").

Hey, I just loaded 2.6.38, and followed your module instructions, ext4.ko fails to load with the following error.

insmod: init_module '/system/lib/modules/2.6.32.27-cyanogenmod/ext4.ko' failed (No such file or directory)

I'm following your directions to the letter, so should the cyanogenmod directory be as above? or should it have been updated to 2.6.32.28. . .?

thanks

Les
[G Tablet Android Development] pershoot:
you have to push the module in to place from the lib..tar.gz archive.

if you do not see the folder there (it should have been written during flash), then just put it in /system/lib/modules/ and insmod it. if you do not see the modules folder, create it, and put the modules you want from the lib.. tar archive.
[G Tablet Android Development] pershoot:
i fixed the typo in the blog post. it should have been 2.6.32.28-....
[G Tablet Android Development] brew1brew:
cool, actually I copied it there first with root explorer, and changed the permissions to wr.r..r.. then when it didn't load I then adb pushed it. the weird thing is I also put CIFS there and it loaded? maybe cause it was also in /system/lib/modules/ I think from previous install of an earlier kernel. in any case it loaded.

I'll let you know when I try again. ( I have to pry it out of my wife's hands, it's her Christmas present. Mine will be the Adam once it ships.)

Thanks Man

Les
[G Tablet Android Development] anlog:
So far no reboots since removing data2loop. That thing is pretty buggy.

Running vegan b5.1 with kernel 1/9 v2.
[G Tablet Android Development] ucsblaw:
Thanks! Im a bit of a noob...did you mean that if I have the correct bootloader then I can flash this rom or are there other roms on here that I should be looking at? Sorry if im not understanding u correctly. I appreciate the help
[G Tablet Android Development] pershoot:
the zpad t2 has 2 bootloaders available for it.

please find out which one yours has before flashing.

or you can trial and error it.

flash the non zpad_newbl first. if you get stuck on the first screen, hard shutdown, back to recovery, and flash the zpad_newbl file.
[G Tablet Android Development] pershoot:
gtab/zpad/zpad(new bl) - 2.6.32.38 - gingerbread/froyo - http://droidbasement.com/db-blog ; RM updated
[G Tablet Android Development] irishrally:
All good in the hood with boot-cm_2632.38-oc-uv-xtra-vfpv3_fp-041911.zip

and Calkulin's ROM, my daily combo for now.
[G Tablet Android Development] ucsblaw:
ok cool. I'm currently running harmony-eng 2.2 frf91 (I got this off a friend and have no clue if it's rooted or not...I don't think it is...) and I also need to flash CW recovery.

So, if I want to try and flash your latest GB rom, do I first install the boot-cm_2632.38 GB or Froyo bootloader?
[G Tablet Android Development] pershoot:
that's a froyo rom.

you would flash the filename(s) without _gb in it.
[G Tablet Android Development] ucsblaw:
thank you!
[G Tablet Android Development] irishrally:
Anyone running Nenamark? I've seen slightly over 60 fps with either an earlier version of this kernel or Clemson's kerenl, can't remember (or could have been a GB combo too). No screen off tricks prior to benchmarking. Getting low 50's on the 4/19 kernel.
[G Tablet Android Development] pershoot:
not touching the GPU. it may be indirectly affected, however.

if you want to bench, pin it at 1.4GHZ (min/max), then let it rip.
[G Tablet Android Development] irishrally:
Oh pedal to metal for all benchmarking no doubt :D

It must have been a different kernel and may have been on CM7 at the time. Trying too many things out with my new toy to remember.

EDIT: Alright, I remember now. I got 60.x fps with Neocore, that's what I was thinking of. 60.9 fps with 4/19 kernel.
[G Tablet Android Development] g8rzz187:
I've upgraded to VEGAn-GE-7.0.0-RC1-Harmony from Vegan 5.1 - seems to be running great (thanks for everyone's work). Do you change kernels the same way you do ROMs? Sorry if this is addressed elsewhere. Thanks for any help.
[G Tablet Android Development] pershoot:
yes.

just flash the .zip file appropriate for your rom os in recovery.

take care to read the blog posting in its entirety (look for known issues, note:, instructions, etc.).
[G Tablet Android Development] schettj:
I tried this on a freshly installed CM7 nightly 41 imaged gtablet, and it couldn't get past the boot (bootlooped?) - it was the apr 17th rev of your kernel.

Any chance this version will work better, or any tips as to what I may have done wrong?
[G Tablet Android Development] pershoot:
U had a bad flash.

Reflash your rom clean (clear dalvik first)

Then flash the latest kernel file.
[G Tablet Android Development] Scuter:
Yup I installed your latest kernal. Seems ok no problems so far. I will post if i find errors. Wait this new kernal wouldn't be the cause of my washing machine not coming out of the final spin cycle?

:D

BTW, great job on the 04/15 oc.
[G Tablet Android Development] aasoror:
I posted this on the CM7 thread (in the general section) but apparently no one is having similar issues, so I am trying here too because the only variable on the CM7 ROM is pershoots amazing overclocking kernel.

"I have consistently noticed this with CM7 on my gtab (#39 then #41) the battery indicator is messed up, it charges till 100% keeps there till the battery is fully drained, it also doesn't show that its plugged (when its plugged) till screen is locked.

Battery is charging fine though.

I have pershoot OC kernel since day one with CM7, not sure if its related though, any one has experienced this ?"

Is there any chance this is kernel related ?
[G Tablet Android Development] pershoot:
not kernel or rom related.

charging/drain is working just fine over here.

im on a freshly built from src (yesterday night) rom + 4/19 rls.

this is a known issue with certain gtablets.

i am unsure of the fix for it.
[G Tablet Android Development] jmdearras:
Pershoot,

Is your toolchain available for download? I want the smaller compiled size it has!

Thanks,

Jim
[G Tablet Android Development] pershoot:
a GCC4.4 (which i assume you are using now) based one should be just a bit bigger. If you use 4.4, you should change arch/arm/vfp/Makefile to use vfp3-d16 instead of vfp (what it is now), for best results.

you can find the toolchain I use, and newer one's at codesourcery.
[G Tablet Android Development] Dueces99:
@pershoot

Is there a way to increase voltage to the wifi? I asked in hopes that in doing so would increase my signal. If it is possible, do you think it would even be necessary or even make a difference? Thanx for any input on this.
[G Tablet Android Development] pershoot:
its the particular antenna in the tablet.

don't think there is a way to increase strength of it.
[G Tablet Android Development] jmdearras:
OK, it's a dense day for me. I tried changing -mfpu=vfp to -mfpu=vfp3-d16, which failed.

Where do I change? :confused:

Thanks!
[G Tablet Android Development] pershoot:
what toolchain are you using?

at any rate, use vfp3 then, if -d16 errors out for your particular toolchain (if on 4.4).
[G Tablet Android Development] jmdearras:
The antenna is just hastily taped along the edge, must vary a lot. Mine has connected solidly to a restaurant WiFi 1/4 mile across a parking lot from another restaurant.
[G Tablet Android Development] jmdearras:
the one from android.git.kernel.org, from the xda post.
[G Tablet Android Development] jmdearras:
it was out of date, did a git pull, and it's very busy downloading...
[G Tablet Android Development] geological1:
Installed this morning. No issues on install and seemed to run fine in brief time I used my Gtab this morning.

Thanks again pershoot.
[G Tablet Android Development] jyams:
Started getting crashes last night when doing files searches, processor intense stuff. Had it set for 1200 max in SetCPU. Backed it down to 1000 and that seems to have taken care of it. Loved the overclocking at 1200, but the crashes were not convenient!!
[G Tablet Android Development] pershoot:
then either your cpu won't scale much past 1GHZ and/or needs more voltage then i am willing to give at >1000.

please keep it at 1000 or below if you want to run this kernel.

i may be able to accomodate your specific device at >1000.

but, if you cant run >1000 at the voltage now, an increase, would just add to heat and battery depletion, and would not be worth it in my opinion.

i can try tho, if it only takes a small bump.

pm me, and i'll see what i can do, if you want to try and push forward.
[G Tablet Android Development] schettj:
Thanks, seems to have taken this time.

Edit: setcpu to 1200 max, smartbench reports 1.2ghz and a score of 2128

Awesome :)
[G Tablet Android Development] Blades:
If you have iwmulticall linked correctly, you can turn pm off which helps quite a bit..

iwconfig wlan0 power off

You can also adjust other things like beacon interval. I'll get back to you on that oc'ing very soon. So far I have 1.7ghz stable.
[G Tablet Android Development] Blades:
1.732GHz.is stable

I have this at 1.375 volts.. for the headroom... no heat issues, even out in the sunshine.

Do I get the award for most overclocked tegra? Help I should get some props for my 1996mhz g2. But I don't.
[G Tablet Android Development] bschrib:
Any chance of you sharing the love and making your modified kernel available?

Definitely props on the intense OC
[G Tablet Android Development] chugger93:
Hey guys;

So I flashed this kernel, rebooted and installed SetCPU. I can only choose a max freq of 1GHZ when setting up profiles. Why is that? I thought I could do 1.4 with this kernel? Any advice?
[G Tablet Android Development] pershoot:
did you read the instructions on the blog post?
[G Tablet Android Development] chugger93:
I just noticed it now, sorry.

Ok still confused on this part:

Pull the one you want from lib-2632.38.tar.gz (winrar can open this),

I know how to do the adb stuff, but not the above statement
[G Tablet Android Development] ehudokai:
.tar.gz is an archive format that winrar(if you're on windows) can open

You want to push the module you want from the folder in the archive to the corrosponding folder under the /system/ dir in your device.
[G Tablet Android Development] ehudokai:
I was having this problem too in setCPU, I originally used the Tegra 2 profile.

Once I changed it to the option at the bottom "Custom Frequencies" it then showed me other options allowing me to OC to 1400Mhz.

hope that helps!
[G Tablet Android Development] pershoot:
you only need this if you want the extra functionality of the modules.

pull them from the .tar.gz and push 'em to your system via adb.
[G Tablet Android Development] chugger93:
Ya I don't think thats necessary as I don't understand it....lol.

I did what ehudokai said and I saw the 1400000 or whatever.

Thanks!!!! Thanks pershoot for the kernel!
[G Tablet Android Development] jyams:
Pershoot, I wasn't complaining. I'm okay where I am at 1000. I appreciate your work and plan to donate soon. Probably 95% of the time 1200 will not crash. Just happened to need to find some files last night. I'll test some more and let you know.

Thanks again for your work on this kernel.
[G Tablet Android Development] aasoror:
Thanks pershoot for pointing this out, after some searching apparently it was reported on the retired VEGAn-Tab thread.

Clearing the battery stats from CWM did the trick (as suggested in the quoted thread).

Thanks pershoot for the insights,
[G Tablet Android Development] Dueces99:
Did you do any reinforcements on how the antenna was mounted, or you just luck out with one secured properly? In order to connect via wifi, seems like I have to be within the building where the hotspot is. Even then, I wont get full bars.

ie: Sitting in the parking lot outside my work, I don't even detect the network (this being MAYBE 100 feet away) from the router.
[G Tablet Android Development] Dueces99:
Not sure if this would help any, but its another idea for fixing a battery issue. Isnt specifically related to your issue, but figured its worth a shot if you havent tried it already.

http://xdaforums.com/showpost.php?p=10900378&postcount=12
[G Tablet Android Development] aasoror:
Thanks, that would have done it too, what I did is fully charging it (till charging led is green), reboot into CWM (while plugged in) then cleared the battery stats.

I did re-edit my post above because I think I didn't wait long enough before announcing the fix attempt as a fail, it took couple of hours for the indicator(s) to drop to 97% but now they are uniformly dropping (its 94% with video playback running nonstop).

Thanks for the reply :)
[G Tablet Android Development] jmdearras:
only thing I can think is either they left the antenna out, or it's not plugged into the PCB right. taking the back off might resolve the question.
[G Tablet Android Development] roooler:
Sorry new to the Gtab..

What Kernel version do i use for a Gtab 3588 running TNT Lite V4.40?
[G Tablet Android Development] pershoot:
froyo. first section of downloads.
[G Tablet Android Development] roooler:
ViewSonic Gtab/Malata Zpad (Froyo):

boot-cm_2632.38-oc-uv-xtra-vfpv3_fp-041911.zip

Download: boot-cm_2632.38-oc-uv-xtra-vfp_fp-041911.zip

That One?

Thanks by the way! I do alot of this stuff with the DroidX/Dinc have my own site and so forth. Just confused by all your file names.
[G Tablet Android Development] pershoot:
correct. that is the one.
[G Tablet Android Development] cotangent05:
im experiencing freeze up, from time to time.. especially when im on web.. and when im scanning Lan servers from ES file manager.. :(
[G Tablet Android Development] pershoot:
are you overclocking?
[G Tablet Android Development] Blades:
I'm not, and my kernel log says this:

/sys/devices/system/cpu/cpu0/cpufreq # dmesg | grep 1764

<4>[ 5.932206] PLLX0 clock is set to 1764000 KHz

<4>[ 5.932214] CPU clock is set to 1764000 KHz

Pershoot, mind if I branch off and put up a kernel for the crazier folk? People like the above post seem to have some funny issues with ocing. Its funny because I don't. Its really funny.
[G Tablet Android Development] cotangent05:
yes im overclocking to 1400 max, 210 min..
[G Tablet Android Development] pershoot:
are you certain your stable at 1400?

you probably are not.

clock down and test for full stability at each step, starting at 912 or 1000MHZ.
[G Tablet Android Development] pershoot:
it is your choice to post a kernel. however, in my opinion, i wouldn't. to attain your clock, you need to pump a lot of juice. there are provisions in the kernel, so everyone can boot, regardless of the max frequency allowed (with your output, seems as though you have disabled that feature). but, with that being said, there will be those that will blindly clock up there, overheat their devices, cause a hard lock/panic (numerous), and/or possibly cause damage.

if they want it, they can build it for themselves in source.
[G Tablet Android Development] cotangent05:
do you mean ill start on 1000mhz and test.. then ill go high or low? then test for stability?

thanks..
[G Tablet Android Development] Blades:
Yeah, I'd probably get banned for my responses to people. Maybe I'll post once I get gpu overclocking going. Still.. maybe not. Would probably see a lot of.. "my hands get hot when I play the bird game". It does get rather toasty.