yashsingh1/xdaforums huggingface dataset:
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
If you made your problem description clearer I could try to help you out.

If we consider only the partitions on the SD card (we'll only look at the internal one for the moment) there are 2 of them:

/data, which is an ext3 formatted (ie. Linux) filesystem.

This stores your and the system's (ie. Android's) configuration data. If you cleaned out this filesystem (and also the /cache filesystem), your Android installation will go back to being a fresh install.

/sdcard (or, /mnt/sdcard, or, /mnt/emmc, depending on the ROM), which is a VFAT formatted (ie. Win95) filesystem.

This is where user data like music, ebooks, Apps "moved to SD card", whatever, are stored.

Given the info. above, it should be fairly easy to see that the local Android filesystems (or, partitions, if you prefer) on your gTab that can be mounted by another system is a function of 2 things:

1. Which filesystems the Android ROM running on the gTab will export. And,

2. The variety of filesystems the other (ie., remote) system will understand.

Taking point 1., above:

Which local filesystems are exported is an intersection of what the kernel supports and what the Android distribution does export.

The kernel that I am most familiar with--the pershoot kernel, which is what comes with GtabComb by default--supports the simultaneous exports of 3 partitions (devices, actually, under Linux).

And, most ROMs set these 3 partitions to be

a) the VFAT (/sdcard) partition on the internal SD card;

b) the VFAT (/sdcard2, or /mnt/sdcard2, or /mnt/sdcard, or /mnt/external_sd depending on ROM) partition on the external SD card, and

c) the (VFAT) partition on the USB disk drive.

Most ROMs do not, normally, allow exports of the ext3 formatted /data because that is a system partition. It is the same for the other Android-specific system partitions, /system, /cache, /misc, ..., -- there are no user-serviceable parts inside. (Imagine what would happen if J. Random User got his hands on a writable system partition through his desktop PC. xdaforums.com would surely have to add additional servers to handle the massive increase in traffic.)

Now, to point 2.: Even if some filesystems are exported, the remote system has to understand those filesystems to be able to mount them. On Linux, you can obviously mount all of the filesystems that Android supports (and more). On Windows, all VFAT filesystems should be visible. Also ext3 with the right drivers.

You should be able to figure out what's happening on your MAC using the description given above now, I think.
[G Tablet Q&A, Help & Troubleshooting] natenate360:
bl version so I can go CM7 => HC?

Hey guys, first a word of thanks and you're all awesome. I've been searching through the forums and you've been really helpful at your explanations, only I still have a question that I can't seem to find an answer... and it's likely because I'm still noobish at times.

I've been running CM7 (harmony) on my gtab for a while now. It's been long enough where I can't, for the life of me, remember what branch I'm on. I'm trying to figure out so I can flash me some honeycomb because it looks so sweet (pun intended).

When I boot into recovery I get ClockWork Recovery 2.5.1.1 bekit-0.8 ... can't find anything about 1.1 or 1.2 anywhere.

Ideas?
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
Bootloader

CWM bekit says you are at 1.1bl but I have an article on my site to direct you correctly. http://raywaldo.com/2011/06/new-guide-for-rooting-the-viewsonic-g-tablet/ is my all-in-one guide to direct you through the process. It includes a simple guide to nvflash and explains the processes of moving to 1.2bl - where all new development is going.
[G Tablet Q&A, Help & Troubleshooting] peppens1:
Ok, I would mount the partition SDCARD ( the 14gb of storage of my hannspree)

If I plug the tablet at MAC, when honeycomb is power ON......and if I turn ON the usb link from the menu of honeycomb, I read on my MAC an error.

The utility disk of mac see 2 partition of the entire 16gb of storage.

the first is about 2gb ( and I think that this partition is where Honeycomb install my app. . . in system information, I have 2gb of memory for apps).

the second partition is about 14gb.

But MAC would format and initializate these partition to use it.

But............. if I turn on the tablet in RECOVERY MODE, and I go in the menu mount STORAGE, and if I select mount usb storage ( not a specific partition)..... the recovery mode, mount the 14gb partition ( the partition that I would to use!!!!!) and my MAC read the partition as a removable disk.

Why honeycomb mount 2partition instead of one, and why use a different type of mounting? This particular type works on windows but NOT on mac :-(

If I can understand the procedure of mounting under honeycomb, I can search about an extension for my MAC to set it compatible to a particular file system.....

Can it be a problem of kernel (ab_kernelv4Release-2-32-44-04 ) that I flashed with the rom?
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
Somebody is incorrect, here, for sure--looks like they're exporting the whole disk instead of just the VFAT partition like CWM is doing. I'll need more info to see if it's the kernel or the ROM.

Questions:

1. What version of CWM do you have?

2. What is the output of these commands, after you've enabled USB storage, both in CWM and GtabComb?

$ [B]su[/B]
# [B]mount[/B]
# [B]ls -l /sys/devices/platform/usb_mass_storage/lun?[/B]
# [B]cat /sys/devices/platform/usb_mass_storage/lun?/file[/B]
[G Tablet Q&A, Help & Troubleshooting] peppens1:
1) v2.5.1.1-bekit-0.8

in recovery I choose MOUNTS AND STORAGE from the principal menu.

then I chose the last option ( MOUNT USB STORAGE)

-----------------------------------------

Ok, now I write the result of the commands of your second question ( in recovery mode)

the result of

#mount

----------------------------

the result of

# ls -l /sys/devices/platform/usb_mass_storage/lun?

----------------------------

the result of

# cat /sys/devices/platform/usb_mass_storage/lun?

-------------------------------------------------------

-------------------------------------------------------

now I repeat all the 3 test, but with honeycomb usb storage:

the result of

#mount

but there are disk1s1 ( 14gb) and disk1s2 ( 2gb) under NVIDIA TEGRA MEDIA.....I see these information in "Utility Disk"

in recovery mode, there is only disk1s1, mounted in fat32.

----------------------------

the result of

# ls -l /sys/devices/platform/usb_mass_storage/lun?

----------------------------

the result of

# cat /sys/devices/platform/usb_mass_storage/lun?

--------------------------------------------------------------

EDIT

I think......... if I format only the disk1s1 ( 14gb) from mac.... in MSDOS fat32......... honeycomb can read and use it?
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
You have to run the commands not in Mac, but on the tablet both while running CWM (connect the usb cable and use adb) and while running Honeycomb (using Terminal emulator or adb). You can skip the su command in CWM--it's not needed.

Can you not mount the disk1s1 device (Honeycomb) manually?

That disk is already FAT32 (aka VFAT). The other one, disk1s2, is ext3 as I explained in my post.
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
Sorry. This was my mistake. Can you run the (corrected) commands again in CWM?

This is puzzling. On both the VS stock kernel and the pershoot kernel, those files in the lunn directory are what's used to export local block devices via USB.

Can you run this command on your PC (while running GtabComb) and post the sys-files.txt and also give me a link to your kernel (and its source)?

C:\> [B]adb shell find /sys/ -type f > sys-files.txt[/B]
[G Tablet Q&A, Help & Troubleshooting] peppens1:
Ok, with the correct command.....

# cat /sys/devices/platform/usb_mass_storage/lun?/file

I have NO result......

--------------------------------------

running the command on gtacomb:

adb shell find /sys/ -type f > sys-files.txt

here the file txt

View attachment sys-files.txt.zip

---------------------------------------

here the zip file of kernel

http://uploadingit.com/file/r1cig3nbv1mavnfy/ab_kernelv4Release-2-32-44-04.zip

----------------------------------------

and the site where I found it:

http://www.slatedroid.com/topic/218...-the-hannspad/page__view__findpost__p__240302

I don't know how to find the source.

----------------------------------------------------------

I flashed this kernel because in that forum, everybody say that is a good kernel.

in fact all the features of tablet are working ( the sensors button, wifi led....etc)

But if you know a kernel that is good and is SURE that can mount the partition of 14gb on MAC, I can re-flash the rom with your kernel...
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
You have to mount USB first.

Stick with that kernel. It's difficult to be precise without access to the HC source, but, as far as I can make it out, it looks like the Honeycomb /system/bin/vold program is the problem: as I suspected, it exports the whole disk instead of just the VFAT partition alone. It does this on the gTablet too with the pershoot kernel. Windows and Linux will scan for partitions inside an exported disk, but, Mac will not (except Utility Disk)--it needs actual partitions.

There are a couple of other ugly workarounds, however, the cleanest solution is to extract the vold program from the latest CM RC zip file and use that in place of the existing GtabComb /system/bin/vold. The CM vold does the right thing: It exports only the /mnt/sdcard partition. Make sure that you copy the correct owner/group and permissions of the original vold to the new one.
[G Tablet Q&A, Help & Troubleshooting] kitsunisan:
I'm a PC and I approve of this message. :cool:
[G Tablet Q&A, Help & Troubleshooting] peppens1:
i downloaded the cyano rom and extracted the VOLD file.

I tried to push it via adb, but I can't copy it......

# sh-3.2$ adb push vold /system/bin

failed to copy 'vold' to '/system/bin/vold': Read-only file system

sh-3.2$

I tried from tablet with ASTRO but isn't possible.

How I can copy it?
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
Actually I am completely set on Ubuntu Linux. :)
[G Tablet Q&A, Help & Troubleshooting] TEK112:
Running the trifecta over here - Xubuntu, Win 7 and Mac OS X Lion.
[G Tablet Q&A, Help & Troubleshooting] johny.mnemonic:
System partition is mounted read-only by default. You need to remount it writable first.

I don't remember exact command for CLI, as I am using ES File manager for that, but you can easily find the right command here on xda...
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
That is impressive. Also expensive :). Since moving to Ubuntu, I rarely load win95. I refuse to pay M$ their outrageously high upgrade fees when Ubuntu does everything I need (faster and easier) for free!
[G Tablet Q&A, Help & Troubleshooting] TEK112:
Trust me, I know. However, I pride myself on my frugality. I needed a new rig and a friend of mine (a wealthy doctor), basically gave me a year old MAC Mini for $200. So, using Bootcamp, I am running Windows 7 and Mac OS X Lion. Then my supercharged netbook (Asus Aspire One, 2GB RAM 1.67GHz Atom and a 128GB SSD, won for downloading a white paper from Information Week Magazine) running Xubuntu (the faster flavor of Linux I have ever seen) and Windows 7. It's funny because that netbook over seas comes from the factory running Win 7 and Android 2.2!!! I called tech support for the files, but they wouldn't release them because I do not have an over-seas model. I have search long and hard, but can't find them anywhere.

I would never pay retail for a MAC. I also certainly would never pay retail for a Win 7 license.

Honestly, my two biggest gripes with MAC at the moment are the crappy mouse response (that whole no acceleration thing) and the inability (it could be my inability) to use custom Microsoft Word Fonts that I created.

I do agree, Xubuntu has kept me happy for a long time.
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
On most HC ROMs, including GtabComb, /system is mounted read-write, so you can just move the old vold program out of the way first, then copy the new one into place (as root) and reboot.

But, the correct way to change (running) system binaries is through CWM. Try this:

C:\> [B]adb shell mount /system[/B]
C:\> [B]adb remount[/B]
C:\> [B]adb shell mv /system/bin/vold /system/bin/vold.orig[/B]
C:\> [B]adb push vold /system/bin/vold[/B]
C:\> [B]adb shell chown 0.2000 /system/bin/vold[/B]
C:\> [B]adb shell chmod 555 /system/bin/vold[/B]
C:\> [B]adb shell umount /system[/B]
[G Tablet Q&A, Help & Troubleshooting] peppens1:
i use ES FILE EXPLORER.

i deleted VOLD in system/bin/

then I copied the VOLD ( of the cyano rom) in the same directory.

I have the same error.

I tried to reboot the tablet, after this.....

I have NO SIDEBAR!!!!

and there isn't the icon SETTINGS

other solutions?
[G Tablet Q&A, Help & Troubleshooting] Wyveryx:
I've had my Gtab for nearly a week now and I've got to say I love it. I'm running the 1.2 GTabComb beta 3.3 and so far there are only two things that are annoyances, but I'm sure in time I'll find a way around them, but perhaps there are already ways around them.

1. Camera not working, I think that this build just hasn't got this working just yet, is there an estimate on a new build that will have it functional?

2. I can't play any of my .mkv files. I can stream them sure, no problem there, but I'd like to be able to fast forward or rewind lol. None and I mean none of the market apps can do this. I know that there is an issue with Tegra 2's not liking .mkv's, but I've seen where some have been successful.

Is it just a different coding?

Right now most of my .mkv's are

General

Format : Matroska

Format version : Version 1

File size : 550 MiB

Duration : 1h 31mn

Overall bit rate : 842 Kbps

Encoded date : UTC 2010-12-06 03:48:54

Writing application : mkvmerge v4.0.0 ('The Stars were mine') built on Jun 6 2010 16:18:42

Writing library : libebml v1.0.0 + libmatroska v1.0.0

Video

ID : 1

Format : AVC

Format/Info : Advanced Video Codec

Format profile : High@L4.0

Format settings, CABAC : Yes

Format settings, ReFrames : 8 frames

Codec ID : V_MPEG4/ISO/AVC

Duration : 1h 31mn

Nominal bit rate : 803 Kbps

Width : 1 280 pixels

Height : 696 pixels

Display aspect ratio : 16:9

Frame rate : 23.976 fps

Color space : YUV

Chroma subsampling : 4:2:0

Bit depth : 8 bits

Scan type : Progressive

Bits/(Pixel*Frame) : 0.038

Writing library : x264 core 98 r1649 20cbe10

Encoding settings : cabac=1 / ref=8 / deblock=1:-2:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=16 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=803 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00

Language : English

Audio

ID : 2

Format : AAC

Format/Info : Advanced Audio Codec

Format profile : HE-AAC / LC

Codec ID : A_AAC

Duration : 1h 31mn

Channel(s) : 2 channels

Channel positions : Front: L R

Sampling rate : 48.0 KHz / 24.0 KHz

Compression mode : Lossy

Text

ID : 3

Format : UTF-8

Codec ID : S_TEXT/UTF8

Codec ID/Info : UTF-8 Plain Text

Supposed to be 720p, but If I have to re-encode I can do that, I'd just need to know what to re-encode to so that the playback is smooth. Any ideas out there?
[G Tablet Q&A, Help & Troubleshooting] nvanlaar:
No current HC ROM has

a. A working camera (no HC driver) or

b. Hardware acceleration which is needed for any HD playback.
[G Tablet Q&A, Help & Troubleshooting] johny.mnemonic:
The only important line from your video file info is this one:

Format profile : High@L4.0

To be able to play HD video on Tegra 2 smoothly, you need to re-encode it to basic profile. Tegra 2 can play even 1080p fine, but not in High profile, only in Basic profile.

I am using RockPlayer for .mkv files and I have no issue with forward/rewind.

---------- Post added at 11:32 AM ---------- Previous post was at 11:28 AM ----------

Maybe try what rajeevvp suggested. I can usually handle almost everything myself, but when I am in trouble, I listen to him, he is the guru here ;-)
[G Tablet Q&A, Help & Troubleshooting] peppens1:
But i tried using a file explorer from the tablet.

why you can think that I can have a different result, if I do the procedure of rajeevvp, using adb and a pc ????

what's the difference? is the same vold file, but a different mode to copy/push it.
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
When you copied the CM vold program to /system/bin did you copy the owner/group and permission modes of the old one?

And, as I said, you're not supposed to change system binaries while they're running. Use CWM for doing things like that--that's what its for.
[G Tablet Q&A, Help & Troubleshooting] Dvalin21:
Ok, so i had asked this question in another thread and apparently it was as bad as saying something against God (not that I would in the first place). Either way, my question is this, since the Dell Streak has the same cpu Tegra 2 as the Gtab and is running HC 3.2, would it be possible to pull the drivers themselves from the kernel and use them for our Gtab? I ask this question for education. If it cant be done, then so be it, but if so then why not, without anyone blowing their top. PLEASE KEEP IN MIND: I'm not downing ANY of the devs OR their work. AGAIN I'm just asking he question. Thanks
[G Tablet Q&A, Help & Troubleshooting] aabbondanza:
Really didn't think I sounded that harsh in the last post. This is the way I understamd it. Not having the drivers for hardware accelleration is only part of the issue. The other issue is not having a .36 kernel to go with the drivers. Kernels normally can't be directly moved from one device to another without modifation due to hardware differences. All gTab roms (Froyo, Ginger & HC) currently use 2.6.32.xx linux kernels. Honeycomb is supposed to be runing on a .36 kernel. The kernel devs (Pershoot & Clemsyn) have found a ways to use our current .32 kernels with the Ginger & HC roms but without H/W accell. From what I've read on thread on Slatedroid where they are working on converting the Adam .36 kernel, they have H/W accell working but are still working on a number of issues. The last info from them, they were about ready to release the kernel to least one of the rom devs so they can start mod'ing the things they need to change in the roms. That is why I said it would be a better use of their time to stay on the track they are on vs trying to persue drivers on a device that more than likely isn't compatitble & is already running on .36 kernel. Even many of our sister devices (Malata T2, Hannspad, Advant Vega, & NI Adam) are not fully compatible with our gTab & their roms have to be ported to the gtab to make them work. Hope this helps explain it a little better.
[G Tablet Q&A, Help & Troubleshooting] natenate360:
Thanks BOT, I've actually been to your site before, but was confused about where to start. Thanks for the direction, I'll be sure to begin there when I get some time to fiddle this weekend. Btw, I'm thinking I want to go honeycomb, any preference? Netflix is a must, too.
[G Tablet Q&A, Help & Troubleshooting] cowymo:
Does anyone know how to hide the status bar when you are running games that require full screen? now with the status bar showing at the bottom, part of the screen has been cut off..
[G Tablet Q&A, Help & Troubleshooting] dustinw82:
Flashback has a status bar toggle. You might check to see if anyone has extracted it for use with other ROMs
[G Tablet Q&A, Help & Troubleshooting] raywaldo:
I find that GtabComb 3.3 is the best for me. Sometimes users have switched to Flashback because zyhong hasn't been actively developing this rom. However, I still like gc better than fb so, after switching several times, I have gone back to gc.
[G Tablet Q&A, Help & Troubleshooting] peppens1:
I tried.

the SAME result. no side bar and no usb....

no usb mount at the reboot.....and so the "sdcard" is empty.

I replaced with the original vold using ADB....

I think, there is NO solution.....

because I love this rom, I don't want to change it.
[G Tablet Q&A, Help & Troubleshooting] cowymo:
I found it.. For those who wants to hide and unhide their status bar, take a look at this.

http://xdaforums.com/showthread.php?t=1196751
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
Let's look at the problem some more before deciding it's all doom-and-gloom, eh?

I tested that CM7 2.3.7 vold program on my GtabComb-3.3-bl1.1 (still running it, in fact) and had no problems with it--which is why suggested it. If its not working on the Hannspad, we'll have to find out why isn't working.

Send me the exact outputs of these commands with CM7 2.3.7's vold program installed--do not forget to set the proper permissions, owner, group:

Reboot into GtabComb, then:

C:\> [B]adb shell ls -l /system/bin/ > ls-system.txt[/B]
C:\> [B]adb shell ls -l /dev/block/mmc* > ls-dev.txt[/B]
C:\> [B]adb shell /system/bin/ps > ps-system.txt
[/B]C:\> [B]adb shell /system/xbin/ps > ps-busybox.txt
[/B]C:\> [B]adb shell cat /system/etc/vold.fstab > vold.fstab.txt[/B]

Post those *.txt files here.

After this, power off the Hannspad. Connect the USB cable to it and run this command in a cmd.exe (DOS prompt) window and just leave it running. Minimize the window and then power on the Hannspad. This will collect logs (almost) right from the beginning of the boot sequence.

C:\> [B]adb logcat -v time > logcat.txt[/B]

After the tablet settles at the desktop, you can stop the logcat in the minimized window and post the logcat.txt file that resulted here.
[G Tablet Q&A, Help & Troubleshooting] peppens1:
here there are all the txt files that you asked me ;-)

thanks for your help :D

View attachment 742436
[G Tablet Q&A, Help & Troubleshooting] rajeevvp:
And, we can see right away what the problem is--as the ls-system.txt file shows, the new vold program wasn't copied correctly. It is 0 bytes in size:

-r-xr-xr-x 1 0 2000 0 Oct 6 08:56 vold
-rwxrwxrwx 1 0 0 64100 May 6 14:57 vold.orig

Compare that with the backed up vold.orig program which is 64100 bytes. This explains the problems that you've been having.

Now, the question becomes: why didn't the vold program get copied correctly? The most common reasons are:

1. That is the size of the source file. Check the source file on the PC. The CM7 2.3.7 derived vold binary should be 55892 bytes on the desktop.

-rwxr-xr-x 1 root 2000 55892 Feb 29 2008 /system/bin/vold

2. The adb push command failed (silently!) for some reason. The 2 most common reasons are:

a. Not enough free space on /system. Run the "df" command to see if you have space for the vold binary.

C:\> [B]adb shell df > df.txt[/B]

If you don't have free space, delete the old vold program instead of saving it. We can always extract it from the ROM's installation zip file if we need it.

b. There are bad blocks on the /system partition or /system is corrupted. Both will require you to erase the system partition and then reflash the ROM immediately afterwards to repopulate it. (I think that just reflashing the ROM might also work--/system is formatted prior to new ROM contents being written.)

Get me the output of that df.txt command while you check what's wrong. Also, can you repeat that "ls -l /dev/block/mmc*" command when a microSD card is in its slot?