yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z General] elusivebyte:
The image speaks for itself, but I'll add some info. I have a SetCPU profile for screen off that sets it to 245 min and max, and I haven't been using the phone hardly at all the past two days. Wifi has been on the entire time.

Normally, after 8 hours of light use, my phone would be dead with Android System taking up about 40% of the battery, and the three radio entries taking up about 16% each.

I've been using CyanogenMod 6.1.1 since the day it came out, with it's built-in kernel, not Pershoot's. I've done nothing else custom. The only thing that I can correlate with this change in battery life is a new version of SetCPU came out a couple days ago.

Or maybe it's just an unrelated fluke, and tomorrow whatever battery-eating bug exists in the system will rear its ugly head again. I dunno. All I know is I've never seen battery life like this on my G2.
[G2 and Desire Z General] KiNG OMaR:
101% yaaaaay I can add :p
[G2 and Desire Z General] TheBiles:
What on earth!?
[G2 and Desire Z General] sephstyler:
Screen not even registering as using any?

most of my usage is screen for 60%+ (maybe 2 hrs on)

and 15~18 hours tops!
[G2 and Desire Z General] JPHCCFC:
You still geting great battery life I have the same setup and battery life is average not as good as 6.1
[G2 and Desire Z General] MRCLrider:
I do not mean to highjack your thread but I have a question. For the cell standby power consumption, what is registered as the amount of time with no signal? I am in a full HSPA+ area and it still tells me that 50% of the time my phone has no signal, how is that possible? Thank you for your responses.
[G2 and Desire Z General] toosas:
I managed 56 or 59 hours once and the display wasn't on the list either. I mentioned this in another thread but it was generally ridiculed and dismissed
[G2 and Desire Z General] tvdang7:
i lose about 50% of battery with hspa on during a 8 hour shift. Of course random facebook and texting is going on.
[G2 and Desire Z General] blackknightavalon:
I noticed an improved battery life with the unofficial Gingerbread builds. Did Google finally get it right?

Sent from a Western Union telegram.
[G2 and Desire Z General] snoopdobb:
That has been my experience, though I'm still stuck using the stock HTC sense since I updated to 1.72 before rooting. :(

Whenever I check battery use, the Display is ALWAYS the highest consumer, by a large margin. I usually see 60-70% Display, and the cell standby, etc are only a few percent. Now I'm really upset I can't root it for the forseeable future.

Did you just not ever touch the phone at all? I mean, the display isn't even listed!!?!?
[G2 and Desire Z General] elusivebyte:
As I said, I was barely using the phone at all.

Right now I'm at 95% after 10 hours of non-use. I don't remember this ever being possible in the past.

Even when I actively use the phone (at least in the past) Display would never be very high. Android System was always #1 with the radios beneath that, and Display somewhere around 6%, as I recall.

In the time it took me to write this post mostly in Swype, I lost 2% so my crazy battery life seems limited to the screen being off (with the corresponding very low cpu speed). Still, it's never been this good before.
[G2 and Desire Z General] xXReubenXx:
lol the title is hilarious just had to say
[G2 and Desire Z General] sino8r:
I bet the lcd being not used plus wifi instead of 3G is the reason. Plus, I think it's witchery not wizardry, lol! Maybe both... whatever they are both hilarious! Ah, the days of yore!:)
[G Tablet General] jersacct:
***UPDATE***

Files located at the bottom of the post.

Ubuntu runs fairly nice on the GTab. Find a video below to see it boot. Performance is not as smooth as Android, but I've already narrowed down some kernel tweaks to speed it up.

What works:

USB Devices

Wifi

Video (not accelerated)

Internal/external storage

What doesn't work (yet):

Touchscreen

Softkeys

Volume/Power buttons

Accelerometer

Camera

Audio (pulseaudio hangs, haven't investigated)

To get it working, I used a custom kernel with added support for various drivers, but otherwise pretty much the stock VS kernel. It gets the rootfs from the micro SD card, so it only requires a boot.img flash (so it doesn't destroy any user data or the Android system partition).

Youtube video of my gtab booting into Ubuntu

***Instructions:

Using linux (via an existing install, or a LiveCD), format a 4GB or larger micro SD card as ext3, and untar the karmic-rootfs on it.

cd /media/sdcard
tar -xzvf /home/user/Desktop/karmic-rootfs.tar.gz

Install the boot-karmic update zip via ClockworkMod Recovery. ***MAKE SURE YOU HAVE A BACKUP boot update.zip (or grab one from Clemsyn's Kernel Corner)***

Insert the sd card and boot. You will see some yellowish/gold colored text quickly scrolling across the screen - this is normal. This should boot straight to a GDM login screen.

User=gtab Password=gtab

Wireless will work with wicd (not NetworkManager), and you should use a USB hub with a USB keyboard & mouse.

Karmic rootfs tarball (1.1GB)

Karmic kernel update.zip
[G Tablet General] roebeet:
sweeeeeettttt.
[G Tablet General] jfholijr:
Will you be creating a Rom from this? If so fantastic!
[G Tablet General] jneidlinger:
Knew this was just a matter of time...

I'll throw all sorts of support behind this... a stable, fast ubuntu build for this tablet which just push things SO far over the top. Especially since we have that nice usable USB port!
[G Tablet General] thebadfrog:
Sweet.....keep us updated!!
[G Tablet General] rcgabriel:
Awesome work. Getting 10.10 working with the Unity interface would actually get me very excited.

I'm sure the touchscreen drivers can be retrofitted into something useful - the drivers themselves are pretty straightforward, I guess they'd need to be made to work with X?

The only concern in terms of making it really usable is getting accelerate X11 support. I found this post which is a bit concerning:

http://tegradeveloper.nvidia.com/tegra/forum/newbie-hoping-port-debian-tegra-2

However, I'm guessing we could always use an older X11 that will work with the supported driver ABI?
[G Tablet General] LRiley:
This thing just gets better

hope the xoom isn't locked down
[G Tablet General] thedudevt:
xbmc

Add xbmc to the rom and you'd have a winner.
[G Tablet General] M 5hizzle:
WOW! Nice work!

But now you got me all worked up....

....Must....have.....ubuntuuuu....................
[G Tablet General] necromonger89:
I had no clue what Ubuntu was until a Google search.. looks really awesome. It could potentially make this into a thin touchscreen netbook with all the features of a PC.

Keep up the work!
[G Tablet General] jersacct:
Now that I know that it's feasible, I'm going to continue work on getting a newer kernel up and running. It looks like a lot of the commits have been related to wireless, touchscreen, etc., so a newer kernel could help, along with a nice shiny Maverick build.
[G Tablet General] SofaKingWeird:
WOW! Nice, I will be happy just having Android that works with all the features. I've loaded every flavor of Android so far, but still haven't figured out how to get NTFS to work on the microSD. So far I like TnT Lite the best, but VEGAn is really cool too. Thanks to all for making this so fun and useful.
[G Tablet General] Virtual Pariah:
Aww man.

This would mean I'd have to get a 2nd G-Tab.

Great work.
[G Tablet General] prscott1:
xinput_calibrator

Hi, FWIW, with help from yuray (for the customized initramfs) and mozzald at slatedroid, I created a rootfs for xubuntu to run on the zt-180 tablet. yuray created the modified boot.img and mozzwald compiled the xinput_calibrator binary to use. It was perfect in getting the touchscreen to work. I also was able to get the onboard keyboard to work fine.

Thanks to mozzwald - If you enter the following from your ubuntu command line - you can see if the touchscreen is identified:

lshal | grep input.product

and to see if it is really working, enter:

sudo cat /dev/input/event2

(if it is working fine, you should see some garbled output on the screen).

If so then you get the source for xinput_calibrator and compile for your build.

HTH.
[G Tablet General] Aerv:
Any chance of getting a download link to all this?
[G Tablet General] prscott1:
Hi - check out the slatedroid thread found at http://www.topic=9501.com . My post with the download link is around page 11 or 12 (can't remember).

Also, This thread is for the zt-180 tablet which has a different arm version. My build probably will not work on gtablet. Also, the wifi drivers and such are for the zt-180 tablet not the gtablet.

There may be some bits of info that may be helpful though.
[G Tablet General] Tcsnyder:
Any chance we will be able to dual boot this thing? That would be my best option. I i love ubuntu, but android is awesome also. I hope we can have the best of both worlds
[G Tablet General] computerwiz_222:
As far as I know, Ubuntu is coming out with a "Tablet" distro. This would mean that it's Ubuntu but optimized for touch screen.

I would also be interested in dual booting also.
[G Tablet General] vgrade:
Hi Guys,

Do you have boot messages configured.

I'm working blind on the Advent Vega Tablet at the moment.

vgrade
[G Tablet General] jersacct:
See this post for getting kernel messages to display during the boot process.

http://xdaforums.com/showthread.php?t=893428
[G Tablet General] rayden25:
Any further work being done on this?
[G Tablet General] theclassicalgod:
How did I miss this thread for 5 days now... I wish I knew more to help get this running properly.

Have you tried xinput for touchscreen calibration? I was able to get it installed and working when I put a touch screen in my netbook a few months back on Lucid and Maverick. But... that was x86. I also got stuck with the orientation being rotated and could never get passed that without breaking something else.

Please keep us updated on this! :D
[G Tablet General] cuzzinz:
Have you tried using 10.10 netbook remix. I believe it comes with more stuff in its kernel for touchscreen that u might be able to break out for your custom kernel.
[G Tablet General] jersacct:
I haven't had much time after the holidays to work any further on this. I'll try to get instructions and files posted this week so others can continue messing with it.
[G Tablet General] vgrade:
Nice one, looking forward to that

I've tried a mkbootimg on my Vega but still no frambuffer.
[G Tablet General] vgrade:
o/ - framebuffer now working on Vega
[G Tablet General] vgrade:
From stock vega - dmesg > dmesg.log

mem=448M@0M nvmem=64M@448M vmalloc=192M video=tegrafb console=ttyS0,115200n8 usbcore.old_scheme_first=1 tegraboot=nand mtdparts=tegra_nand:2048K@6784K(misc),5120K@9344K(recovery),8192K@14976K(boot),1

2496K@23680K(system),32768K@146688K(cache),4096K@179968K(staging),339200K@184576

(userdata)

backup device using nvflash - http://tosh-ac100.wetpaint.com/page/Backup+and+Restore

split partition 7 (boot.img) to kernel and ramdisk using split_bootimg.pl - http://android-dls.com/wiki/index.php?titl...ack_Boot_Images

Change to use tty0 and try to point root to scdcard which has ubuntu fs, no need for initrd

./mkbootimg --kernel part-7.img-kernel --ramdisk part-7.img-ramdisk.gz --cmdline "root=/dev/mmcblk3p1 rootdelay=15 rw mem=448M@0M noinitrd nvmem=64M@448M vmalloc=192M video=tegrafb console=tty0,115200n8 usbcore.old_scheme_first=1 debug tegraboot=nand mtdparts=tegra_nand:2048K@6784K(misc),5120K@9344K(recovery),8192K@14976K(boot),1

2496K@23680K(system),32768K@146688K(cache),4096K@179968K(staging),339200K@184576

(userdata) " -o kernel100.img

nvflash --bl bootloader.bin --download 7 kernelxxx.img

Good (now have frame buffer output) but still boots from internal flash - stock kernel

Try /dev/block/mmcblk3p1

./mkbootimg --kernel part-7.img-kernel --ramdisk part-7.img-ramdisk.gz --cmdline "root=/dev/block/mmcblk3p1 rootdelay=15 rw mem=448M@0M noinitrd nvmem=64M@448M vmalloc=192M video=tegrafb console=tty0,115200n8 usbcore.old_scheme_first=1 debug tegraboot=nand mtdparts=tegra_nand:2048K@6784K(misc),5120K@9344K(recovery),8192K@14976K(boot),1

2496K@23680K(system),32768K@146688K(cache),4096K@179968K(staging),339200K@184576

(userdata) " -o kernel101.img

Seems to be booting from mmc even though I have a root=, is it the tegraboot=nand?

./mkbootimg --kernel part-7.img-kernel --ramdisk part-7.img-ramdisk.gz --cmdline "root=/dev/block/mmcblk3p1 rootdelay=15 rw mem=448M@0M noinitrd nvmem=64M@448M vmalloc=192M video=tegrafb console=tty0,115200n8 usbcore.old_scheme_first=1 debug mtdparts=tegra_nand:2048K@6784K(misc),5120K@9344K(recovery),8192K@14976K(boot),1

2496K@23680K(system),32768K@146688K(cache),4096K@179968K(staging),339200K@184576

(userdata) " -o kernel102.img

This did try to boot something other than internal flash initially but failed - last try before bed (2.35am) - point to init

./mkbootimg --kernel part-7.img-kernel --ramdisk part-7.img-ramdisk.gz --cmdline "root=/dev/block/mmcblk3p1 rootdelay=15 rw mem=448M@0M noinitrd nvmem=64M@448M vmalloc=192M video=tegrafb init=/sbin/init console=tty0,115200n8 usbcore.old_scheme_first=1 debug mtdparts=tegra_nand:2048K@6784K(misc),5120K@9344K(recovery),8192K@14976K(boot),1

2496K@23680K(system),32768K@146688K(cache),4096K@179968K(staging),339200K@184576

(userdata) " -o kernel103.img

no change - realy time for bed now. (2.50am)

logs indicate ramdisk is being loaded and init called from there even though I have noinitrd in the bootline!

happy hacking - vgrade
[G Tablet General] jersacct:
Yeah vgrade - I think the bootloader is hardcoded to load whatever initrd is packaged in the boot partition. I also don't think the stock ramdisk image handles kernel command line arguments well - things like "root=" and "break=" don't seem to get processed. I hand-edited my ramdisk image's init scripts to hardcode the root partition as /dev/mmcblk2p1. Good luck, sounds like you're close!
[G Tablet General] vgrade:
Good call,

http://tegradeveloper.nvidia.com/tegra/forum/workaround-run-ubuntu-now#comment-1506

will try this tonight.

vgrade

=============bootsd.patch========================

diff -Nurp -X nodiff.txt linux-2.6-9.12.7-jre2/init/do_mounts.c linux-2.6-9.12.7-jre3/init/do_mounts.c

--- linux-2.6-9.12.7-jre2/init/do_mounts.c 2010-03-26 23:03:43.487720890 -0400

+++ linux-2.6-9.12.7-jre3/init/do_mounts.c 2010-03-30 02:40:55.919278197 -0400

@@ -383,6 +383,7 @@ void __init prepare_namespace(void)

if (saved_root_name[0]) {

root_device_name = saved_root_name;

+ root_device_name = "/dev/mmcblk0p1";

if (!strncmp(root_device_name, "mtd", 3) ||

!strncmp(root_device_name, "ubi", 3)) {

mount_block_root(root_device_name, root_mountflags);
[G Tablet General] vgrade:
If the Gtab kernel works on the Vega.

Can you post your script change as a backup?
[G Tablet General] vgrade:
\o/ vega booted to ubuntu login prompt

http://www.youtube.com/watch?v=ZysM3Vah6H4
[G Tablet General] acuralegendz:
Lets get a tutorial, been dying for this!!!!!
[G Tablet General] vgrade:
Lab notes here

http://wiki.meego.com/ARM/TEGRA2/Notes

enjoy
[G Tablet General] NS-xda:
I could not understand why use Ubuntu 9.04 karmic when you can use 10.10 or 11.04 where there is likely support for multi-touch.

HTC HD2 ubuntu running in 10.10.
[G Tablet General] jersacct:
All of my attempts at running updated versions have failed to run with our kernel. This was all before Clemsyn has been releasing his updated kernels, so there's still some testing to be done, but they're all kernel version 2.6.32, so it's doubtful anything higher than Karmic will work until we can port the Nvidia 10.11.x kernel.
[G Tablet General] NS-xda:
I see AC100 (Toshiba AC100 Tegra 2) running Ubuntu 10.10

xxxx://ac100.gudinna.com/README/

xxxx = http

Git repo kernel here xxxx://gitorious.org/ac100

What is this kernel? Is possible to apply the G-tab diff file to this kernel and run ubuntu 10.10 in G-tab?

I am just asking if this is possible.

Edit: Toshiba Folio Tegra 2 tablet kernel has repo here:

xxxxs://github.com/tsh/folio100

https = xxxxs ( I can not put the URL, new member)

Edit 2: I read again your reply, so you need to patch the Nvidia 10.11.1 witht G tab diff file, right to make Ubuntu 10.10 running?

Thanks, NS_nix
[G Tablet General] cscotty:
Lets keep this thread alive. This sounds real interesting. Is the version being worked on the portable/netbook version of Ubuntu? I heard something like that either made it to production, or is on it's way there.

Scott
[G Tablet General] vgrade:
I'm still working on this for the vega and MeeGo.

With no vega board here follow my lab notes here :-

http://android.modaco.com/content-page/324480/linux-on-vega-ubuntu-meego/page/20/

http://wiki.meego.com/ARM/TEGRA2/Notes

vgrade
[G Tablet General] vgrade:
meego on the vega

http://twitpic.com/3oalt5/full
[G Tablet General] vgrade:
http://twitpic.com/3obgji/full
[G Tablet General] swooperstar:
"so it only requires a boot.img flash"

what does that mean? how do you create and install that?
[G Tablet General] vgrade:
My lab notes here for vega.

http://wiki.meego.com/ARM/TEGRA2/Notes

The following site will give you the required bacground.

http://tosh-ac100.wetpaint.com/

happy hacking

vgrade
[G Tablet General] jersacct:
Files now linked on the first post.
[G Tablet General] NS-xda:
G-tablet uses eGalax, as I can see in the kernel source code.

Probably you can use this info to make the touchscreen works.

xxxx://ubuntuforums.org/showthread.php?t=1318461
[G Tablet General] theclassicalgod:
sweet! You're the best. I'll give this a go tomorrow and see if I can get some other stuff working.
[G Tablet General] theclassicalgod:
I put an eGalax digitizer in my netbook a few months back. I rememeber that I was able to get the touch screen working, partially(with xinput. The eGalax drivers would drag down the whole system for some reason.), but the orientation was rotated. I was never able to figure out how to fix that part.

I'll give it a try when I get up and see if it works out the same. Maybe someone else could help figure out the rest. I haven't been this excited since I bought this tablet.. lol
[G Tablet General] NS-xda:
Have a look at this blog as well. I think he was able to make single touch!

xxxx://japanesefightingspiders.com/blog/?p=96

Do you know what is the equivalent kernel 2.6.x to the Nvidia tegra 2 tegra-10.11.1.1 kernel?
[G Tablet General] NMCBR600:
What size should the sd card be?
[G Tablet General] jersacct:
At least 4GB
[G Tablet General] NS-xda:
How did you untar it?

Try using sudo.

e.g.

sudo tar zxvf karmic-rootfs.tar.gz
[G Tablet General] NMCBR600:
Booted and l like it. What do we need to enable the remaing functions?
[G Tablet General] acuralegendz:
i tried that after posting and it did the same thing. But after i enter that command it opens archive manager, should it just unpack by itself?
[G Tablet General] jersacct:
I've been hacking away at the touchscreen. I can get data out of /dev/input/eventX (so far, the nvodm_touch has ended up on event1 and event2 on two separate installs) using evtest. However, xinput test doesn't output any data, so I'm not sure where the disconnect is there. It may be a simple update to the evdev driver or something.

The volume and power buttons just need to be properly mapped with xmodmap, xinput sees them fine.

I haven't messed with audio, camera, etc.
[G Tablet General] NS-xda:
Are you hacking for the mouse input? /dev/input/eventX for mouse.

xxxs://bbs.archlinux.org/viewtopic.php?id=18942

I thought hacking for evtouch for touchscreen.

Have look at this link f(rom my previous post as well)?

xxxx://japanesefightingspiders.com/blog/?p=96

xxxx = http
[G Tablet General] NS-xda:
This is the 2.6.37 kernel for Tegra.

http://www.linuxhq.com/kernel/v2.6/37/arch/arm/mach-tegra/index.html

Could we use the patch this kernel using the diff g tablet file?
[G Tablet General] thorpe24:
quick question....can this be made to do a dual boot config on the gtablet, cuz it would be awesome if it could....
[G Tablet General] acuralegendz:
I tried this with the sudo command now on two different machines, both give same error. Should this command in terminal open the archive manager or should it extract it by itself. And if possible can someone upload these files in .zip or unarchived?
[G Tablet General] NMCBR600:
Make sure that the card is formated ext3 first. Then mount the card and cd to it's location in /media in a terminal window. Then issue the sudo tar -zxvf karmic-rootfs.tar.gz command.
[G Tablet General] o9guy:
acuralegendz--

You can get this error if the card wasn't formatted with ext3. This error could be a result of untaring this package to a card with a fat32 filesystem.
[G Tablet General] acuralegendz:
To be honest, after it didnt work the first time, I tried to extract to the desktop and then copy to sd. but I never used the sudo command to extract directly to sd. I will try that now, but my sd was formatted ext3 the first time i tried but with no sudo command. I dont think it will make a difference because the errors were consistent regard less of whether i used sudo or extracted to the sd or to the local drive
[G Tablet General] o9guy:
Well, it was worth a try. What distro are you using? When I unpacked it, I had the file in my home directory and I executed the command from the card (as such)

cd /media/sdcard (Whatever folder the card is mounted in)

tar xzvf /home/myhome/karmic-rootfs.tar.gz

When it finished, the card went to my gtablet, I installed the karmic kernel, then rebooted without issue.

We'll get you through this yet....
[G Tablet General] acuralegendz:
I'm using ubuntu now thru virtualbox. I frshly formatted my sd card ext3. I moved to the sd card in terminal. Then I ran sudo tar xvfz the file. It then opens archive manager and I have to choose extract and pick a location. Will archive manager do what it needs to do or should it automatically unpack once you run the command in terminal?
[G Tablet General] o9guy:
Weird -- it should just unpack right there in the terminal and shouldn't launch any sort of GUI archive utility. I suppose a GUI utility could be used you just have to be sure it preserves permissions and paths as it extracts.
[G Tablet General] acuralegendz:
Same error after it launches and runs archive manager. Thats what i thought, terminal should perform the action. Now I need to figure out why it isnt.This is a stock version of ubuntu.
[G Tablet General] NMCBR600:
Are you using the graphical nautilus directory window or a terminal command shell window?
[G Tablet General] acuralegendz:
using the terminal under accesories, also when I look in disk utility, it says ext3 file system but fat32 partition type, is this ok or should i change that too?
[G Tablet General] umar.ranjha:
Can someone please tell me whats the SU password is?
[G Tablet General] NS-xda:
Anybody can try to boot tegra-2.6.29-arm2-ac100-boot.img (Ubuntu 10.10 for Tegra 2) and see what happen.ll

Ubuntu 10.10 has multi touch support.

tegra-2.6.29-arm2-ac100-boot.img can be download here:

http://ac100.gudinna.com/

As you can see in this kernel 2.6.29, it is older kernel than official G Tablet kernel (Linux kernel version: 2.6.31-rc5).

So I can see the reason why we can not use Ubuntu 10.10 in G -tablet using G Tablet kernel (Linux kernel version: 2.6.31-rc5).

How to cross compile ARM kernel under Ubuntu 10.10

http://marcin.juszkiewicz.com.pl/2010/10/19/how-to-cross-compile-arm-kernel-under-ubuntu-10-10/

Workaround to run Ubuntu now

http://tegradeveloper.nvidia.com/tegra/forum/workaround-run-ubuntu-now

Ubuntu for Arm.

http://blogs.arm.com/software-enablement/295-going-maverick-ubuntu-1010-for-arm/

https://wiki.ubuntu.com/ARM

Anybody like to try compiling and build ubuntu 10.10 for Tegra for G tab?
[G Tablet General] NMCBR600:
gtab is the password.
[G Tablet General] umar.ranjha:
gtab for SU doesn't work.
[G Tablet General] NS-xda:
Ubuntu work on Tegra2 (including mouse and keyboard under X):

http://developer.nvidia.com/tegra/forum/ubuntu-lucid-solution

Edit:

I just like to add - Ubuntu for the HTC HD2 version 0.3. I think this is useful link, if we really like to have Ubuntu in G tablet :-)

http://xdaforums.com/showthread.php?t=889433

http://htc-linux.org/wiki/index.php?title=Leo/Builds#Ubuntu_for_HD2_v0.2