Problems with ADB - G Tablet Q&A, Help & Troubleshooting

I've been trying to setup ADB just so I can explore the files on my Gtab. I've followed all the guides I can find and nothing I have found has worked. I'm running the latest VeganTab 7.1 and can't get my laptop with Windows7 to recognize my tab. I have ADB installed and can't get anything to work. Specifically, I'm trying to view, in detail, the files from my tab and I can't even get my laptop to recognize my tab

Perhaps you could try using Linux?

Related

[Q] Woah! CWM problems

So, last night i tried to flash GtabComb to my 1.1 Gtab. After 3 unsuccessful installs (which I now believe are attributed to the system partition size of only 200 rather than 250 [help here would also be apprciated]) i downloaded the latest Rom Manager and updated ClockWork Mod. After the initial scare that my SD card had been totally formatted, i found that for some reason, this new CWM likes to use the second SD card... You know, the one with no backups or anything saved to it. For now, I am running a random ROM (Vegan Gingerbread) until i find out how to switch the SD card read by CMW. So any help guys? It's probably something really simple I'm over looking.. Help is appreciated greatly. Thanks
Edit: On a side note, I finally got GtabComb to load on my tablet! Seems I only needed a little bit of patience...
theshafe said:
So, last night i tried to flash GtabComb to my 1.1 Gtab. After 3 unsuccessful installs (which I now believe are attributed to the system partition size of only 200 rather than 250 [help here would also be apprciated]) i downloaded the latest Rom Manager and updated ClockWork Mod. After the initial scare that my SD card had been totally formatted, i found that for some reason, this new CWM likes to use the second SD card... You know, the one with no backups or anything saved to it. For now, I am running a random ROM (Vegan Gingerbread) until i find out how to switch the SD card read by CMW. So any help guys? It's probably something really simple I'm over looking.. Help is appreciated greatly. Thanks
Click to expand...
Click to collapse
The best way to install CWM is through NVflash. Rom manager is really designed for phones not this tablet. NVflash is simple and easy to use as long as you have a desktop or laptop using either windows or Linux. Here is the link to guide you through those steps. Helped me out when I was in a jam.
http://viewsonic-gtablet-for-dummies...om/nvflash.htm
Thanks for the advice! NVFlashing is a tad of a problem for me, however. I've actually commented on that particualr NVFlashing tutorial earlier today explaining how my computer won't recognize my tablet while it's in APX mode. I seem to have the worst luck with this kid of thing..
Would there another way to change which card is being read?
Do not use Rom Manager on the Gtablet it will mess things up. You can go to this link and download a .zip installable version of CWM for your bootloader. There are versions for installing from either the internal or external sdcard. If you are not installing from the external sdcard, it is best to remove it.
You could also check out this thread, and this one for more info.
It sure does mess things up! And that CWM.zip would be great had I not had another (worse) version already installed.. woe is me. I'll give those threads a read tomorrow and hope something turns up. Thanks for the links!
DaggerDave said:
Do not use Rom Manager on the Gtablet it will mess things up. You can go to this link and download a .zip installable version of CWM for your bootloader. There are versions for installing from either the internal or external sdcard. If you are not installing from the external sdcard, it is best to remove it.
You could also check out this thread, and this one for more info.
Click to expand...
Click to collapse
That would be the way to go but if you can't access the current CWM you cannot get it to install anything. The only other alternative would be to figure out why the computer won't recognize the tablet in APX mode. What OS are you trying it with?
Try this:
Download this .zip file and extract it to your Gtablet's sdcard.
Using a root file manager (ES, Root Explorer, etc.) mount /system as read-write (rw) and move the downloaded files in each folder to their proper locations (copy the system/etc/recovery folder into /system/etc and the files in system/bin into /system/bin) and make sure all the permissions are correct. The recovery images should be -rw-r--r--, the scripts inside of /bin should be -rwxr-xr-x and flash_image should be -rw-r--r--.
Open a terminal emulator and type 'su' (without quotes) and allow SuperUser when it asks. Your shell prompt should go from a '$' to a '#'. Now type 'cwmrecovery.sh' (without quotes) and enter. That should install cwm-08 for you, just exit when it finishes and try to reboot into recovery. You can use the 'fixrecovery.sh' script to flash the stock 1.1 recovery if you ever need to.
See the last thread I linked to in my last post for more info on this. Good luck!
DaggerDave said:
Try this:
Download this .zip file and extract it to your Gtablet's sdcard.
See the last thread I linked to in my last post for more info on this. Good luck!
Click to expand...
Click to collapse
Just extracted to the external SD that was being read from and updated from there with the new CWM and bam! .08 is on and working like a charm. Many thanks!
nobe1976 said:
Another alternative would be to figure out why the computer won't recognize the tablet in APX mode. What OS are you trying it with?
Click to expand...
Click to collapse
I would love to know why it doesn't. I was previously using a froyo tap'n'tap, but now I am running 3.0.1. Would OS make a difference? I always assumed it was my tablet/PC's/luck
I would love to know why it doesn't. I was previously using a froyo tap'n'tap, but now I am running 3.0.1. Would OS make a difference? I always assumed it was my tablet/PC's/luck[/QUOTE]
The OS on the tablet doesn't matter since the APX mode is the tablets download mode. The OS on you computer is what might be the issue, or could even be just a bad USB port or even drivers being used. If the computer keeps promptings that software needs to be installed. Guied the it to install them from the extracted NVflash file and install the ones that are in the pack.
I would love to know why it doesn't. I was previously using a froyo tap'n'tap, but now I am running 3.0.1. Would OS make a difference? I always assumed it was my tablet/PC's/luck
Click to expand...
Click to collapse
As the post above said, the OS on your PC is probably your problem. Which OS are you using? WinXP, Win7? I can't for the life of me get Windows7 to recognize my ICS Gtablet but o'well!
If you are comfortable with using or trying Linux, you could try installing Knoppix on a USB drive and run that. I think Knoppix has everything set up for MTP & ADB already and is 'live' so no real configuration is needed to get it running (except for your wifi of course). Just use the Linux version included in most NvFlash packages. If you have a fairly powerful computer, you could also try running Linux in a VM, but Knoppix doesn't run in a VM very well.
My favorite is Arch Linux (not in a VM). Although you have to build and configure the system yourself from the ground up. Since I started using Linux I have really enjoyed it. It is much faster than Windows, more secure and gives me less problems than the Win PCs I deal with. Check out this site if you are interested in Linux.
DaggerDave said:
As the post above said, the OS on your PC is probably your problem. Which OS are you using? WinXP, Win7? I can't for the life of me get Windows7 to recognize my ICS Gtablet but o'well!
If you are comfortable with using or trying Linux, you could try installing Knoppix on a USB drive and run that. I think Knoppix has everything set up for MTP & ADB already and is 'live' so no real configuration is needed to get it running (except for your wifi of course). Just use the Linux version included in most NvFlash packages. If you have a fairly powerful computer, you could also try running Linux in a VM, but Knoppix doesn't run in a VM very well.
My favorite is Arch Linux (not in a VM). Although you have to build and configure the system yourself from the ground up. Since I started using Linux I have really enjoyed it. It is much faster than Windows, more secure and gives me less problems than the Win PCs I deal with. Check out this site if you are interested in Linux.
Click to expand...
Click to collapse
To top on this excellent information. If you decided to try a Linux disto I would recommend a version of Ubuntu, doesn't really matter which one they are all really user friendly and depending on you pc setup depends on which version of it you can use. I have 11.05 installed on a 2nd partition for doing my Droid stuff on a computer that is around 9 years old, runs smooth. Windows xp is the other alternative which I have used several times NVflashing stuff, but adb seems to run better through Linux in my opinion.
Ah, mind went blank there. Right now, all I have is a windows 7 laptop (my XP desktop and older Vista laptop are probably long gone) Ive attempted to flash before with the vista laptop to no avail. In both instances, I connect the tablet in APX and it was not even recognized as a connected device. I'm hesitant to run Linux, even from a flash drive. If I get the chance to soon, I may very well end up doing it, as it appears the ONLY option.. Thanks for your help guys. If you could think of anyway for Windows 7 to recognize my tablet, please let me know. You guys are a great help. Thanks again!
If you haven't already tried this maybe it will work for you.
- Put the tablet into APX mode, then plug in the USB. Windows7 will drag on then fail installing the drivers, as usual.
- Go to Control Panel->Hardware and Sound->Device Manager and find the '!' (unknown device)
- Right click and choose Properties, then Uninstall Driver (if it is an option)
- Next, click on Update Driver, then choose Browse My Computer ...
- Navigate to the NVFlash folder (the one you extracted from the nvflash .zip you downloaded)
- Open the folder inside called 'usbpcdriver' or similar, and select the .inf file (NvidiaUsb.inf) and choose to install it. Once it installs, it should recognize the tablet as a MTP device. If not turn off the tablet, unplug the USB, restart Windows and plug it back in when it is finished rebooting and start the tablet in APX mode again. If it still doesn't recognize it try the whole process over agian.
I can understand being hesitant toward running Linux but running from a flash drive or in a VM is pretty safe, as in if you mess up the OS you can always start over without damaging Windows. Done it many times! Try running Ubuntu in a virtual machine such as Virtual Box, it is almost as user friendly as windows and you can have the VM capture USB devices such as the Gtablet which Ubuntu should recognize. Probably won't run very fast on a laptop but if you have at least a dual core with 2 GB of ram it should be pretty smooth.
Not trying to push Linux on you or anything, just some suggestions. From what I hear most of the Gtab devs use Windows7 and it seems to work great for them!

[Q] See Nook from Eclipse

Hi, all.
I setup my 16 Gb Nook Tablet to boot from a Cyanogenmod 7 SD card following directions that I found online somewhere about two weeks ago. It was a great process and I love my new real Android tablet. Thank you, developers!
I've been trying since this weekend to install a hello world app on my Nook. Although I see the Nook and the SD card in Device Manager when the device is plugged into the USB port of my Windows 7 laptop, I do not see it as an Android device anywhere. I would like to debug on the device from Eclipse, but Eclipse does not see the tablet (in Android Device Chooser when the Nook is plugged into the USB port). I also do not see any devices listed when I run adb devices in a cmd tool.
The one thing I have not done that I think I need to is to install an updated USB driver for the Nook. I have not had any luck finding a driver with an install script.
Can anyone point me to the drivers or a page with clear instuctions on how to get and install them? Is there anything else I need to do to see the Nook as an Android device in the adb device command and in Eclipse?
Any help will be greatly appreciated.
Thank you,
Robert
http://forum.xda-developers.com/showthread.php?t=1474956
This thread has a video on how to install ADB drivers.
Thanks. I had seen that video, but I did not carefully follow through with the directions because I wasn't sure it was what I needed. It points you to detailed instructions on how to get the drivers installed including troubleshooting if there are problems. I am now able to debug my eclipse apps. on my Nook tablet.

[Q] Ubuntu won't recognize my Prime

I'm working on installing Ubuntu to my prime using the thread i linked below, but for part of that i need to go into my prime via desktop Ubuntu command line. The issue i'm having is that when i plug into my desktop using the USB cable, Ubuntu won't recognize my Prime and i can't move files back and forth.
The thread says to install the naked drivers (which i downloaded), but the instructions were only for windows machines. From what I can tell Ubuntu doesn't have a "Device Manager" where I could use to manually install drivers.
I've done Google searches, and searched XDA for the past week or so and I haven't come across anyone having this similar issue while using Ubuntu. If anyone can shed some light on my situation I'd greatly appreciate it.
Thanks!
How to install Ubuntu on transformer prime: http://forum.xda-developers.com/showthread.php?t=1603921
RailsRanger said:
I'm working on installing Ubuntu to my prime using the thread i linked below, but for part of that i need to go into my prime via desktop Ubuntu command line. The issue i'm having is that when i plug into my desktop using the USB cable, Ubuntu won't recognize my Prime and i can't move files back and forth.
The thread says to install the naked drivers (which i downloaded), but the instructions were only for windows machines. From what I can tell Ubuntu doesn't have a "Device Manager" where I could use to manually install drivers.
I've done Google searches, and searched XDA for the past week or so and I haven't come across anyone having this similar issue while using Ubuntu. If anyone can shed some light on my situation I'd greatly appreciate it.
Thanks!
How to install Ubuntu on transformer prime: http://forum.xda-developers.com/showthread.php?t=1603921
Click to expand...
Click to collapse
Try uninstalling the drivers from your machine then reinstalling the basic Asus drivers by plugging the Prime in. If that doesn't do it then I'll have to load up my Ubuntu parition and see if I can debug with you that way.
RailsRanger said:
I'm working on installing Ubuntu to my prime using the thread i linked below, but for part of that i need to go into my prime via desktop Ubuntu command line. The issue i'm having is that when i plug into my desktop using the USB cable, Ubuntu won't recognize my Prime and i can't move files back and forth.
The thread says to install the naked drivers (which i downloaded), but the instructions were only for windows machines. From what I can tell Ubuntu doesn't have a "Device Manager" where I could use to manually install drivers.
I've done Google searches, and searched XDA for the past week or so and I haven't come across anyone having this similar issue while using Ubuntu. If anyone can shed some light on my situation I'd greatly appreciate it.
Thanks!
How to install Ubuntu on transformer prime: http://forum.xda-developers.com/showthread.php?t=1603921
Click to expand...
Click to collapse
In my experience, you do not need to download any drivers to access your Prime from an Ubuntu PC -- the naked drivers are strictly a Windows thing from what I remember. You need to set up the 51-android.rules file in the /etc/udev/rules folder. And, you may or may not need to make an entry in adb_usb.ini (I believe this file is in a hidden folder) -- try it without first. If you do a little research on 51-android.rules, you will see that this is quite easy. And, the vendor and device numbers you need to plug into 51-android.rules can be obtained by typing lsusb at the terminal command line, with your Prime plugged into the PC. You also need to have debugging turn on under Developer Options in Settings. After you change the 51-android.rules file, you need to log off and log back on, so it gets run (there is another way to run it, but I do not remember how). I am away from my Prime and Ubuntu machine, but can get you further details later, if you cannot figure it out from the above information.
(P.S.) Giving you the path and file names from my memory. They are probably correct ... at least they are very close to being correct.
So, I wrote the 51-android.rules file like you suggested but I still can't access most files on my prime. When I tell it to connect as a camera i can view picutres, but when it connects as MTP I still get nothing.I looked in the /dev directory to see if i could find my SD card to continue on with the Ubuntu installation, but no luck there either.Your suggestions have been helping though, i'm getting closer. Thanks to both of you who replied so far.
RailsRanger said:
So, I wrote the 51-android.rules file like you suggested but I still can't access most files on my prime. When I tell it to connect as a camera i can view pictures, but when it connects as MTP I still get nothing.I looked in the /dev directory to see if i could find my SD card to continue on with the Ubuntu installation, but no luck there either.Your suggestions have been helping though, i'm getting closer. Thanks to both of you who replied so far.
Click to expand...
Click to collapse
51-android.rules is really for giving you access to your TFP with adb and other Linux commands in Terminal (Android Debugging must be enabled under Developer Options for this to work). 51-android.rules has nothing to do with PTP (camera) or MTP, as far as I know. I really do not know what you are trying to do, or at least how you are trying to do it, so it is difficult to suggest anything. If you are just trying to copy files to the TFP, you may have better luck with Windows than Linux. I'm pretty sure that most of the TFP's file system does not show up in the Linux File Browser, when plugged in to a USB port (only PTP & MTP work, as far as I know ... both are limited).
There are many users on this site who can help you, if you explain exactly what you are trying to do.

ADB Troubles

I have been trying for a few days not to get my NT to connect to ADB in CWM. I am having no luck.
I am able to connect and browse the 1 gb partition and the sd card in windows but cannot connect to adb even when the tablet is running.
It has been a while since i have messes with my NT but i currently running nightly CM and have CWM 6.0.0.0 installed as well.
I am sure i am just missing someting simple to accomplish this task but my searches are leading me know where.
I have also tried both in linux and windows to connect to ADB.
I feel one of my problems may be that i do not have debugging turned on in my ROM but i cant seem to find that either.
Any guidance or a link would be greatly apreciated.
Thanks in advance.
"ADB Debug" setting is under Settings->Developer's Options.
If you're trying to use ADB over USB, see also http://forum.xda-developers.com/showthread.php?p=35971559#post35971559.

[Q] CyanogenMod 11 -> Eclipse/ADB not detecting YP-G1 device

Howdy.
I recently updated my YP-G1 from CM10 to CM 11 [4.4.2]. I need to use my device for Android app development (and have used it before way back when it was on stock, but haven't used it in a very long time), but am unable to get ADB/Eclipse to detect that there is a device detected. Using the emulator is not an option at this point, as I need to do some work with a real camera.
I've got the Android USB debugging enabled on the device, and the little notification that debugging is enabled comes up when I plug it in.
Things I've tried:
1) Update Eclipse/ADT (complete uninstall + reinstall)
2) Update Google USB Driver (from SDK manager)
3) Update Samsung Kies
4) Google
The only related forum thread that I've located for this situation is: http://forum.xda-developers.com/showthread.php?t=1776828, which just implies that Windows should be auto-detecting the device. Windows is not doing that.
I have noticed that the YP-G1 drivers do not show up as installed under Device Manager. Perhaps that is the source of the problem? I have not been able to rectify that situation via Kies, so I am unsure. Kies doesn't even detect that the device is connected!
If it matters, I'm running on Windows 8.
Thanks much.
P.S. -- I'd post in the CM11 thread, but since I just registered, I am not allowed to do so, unfortunately.
Edit: I got mine to work finally. I solved my issue by allowing windows to automatically search windows updates for drivers. After I did that it found them and it worked, so try that.
I too am having this issue and it's really bugging me. I've tried everything I can possibly think of but I cannot get the drivers to install. I'm using windows 7 64 bit and it sees the YP-G1 but it doesn't have the drivers so things like kies and adb won't detect it. Any solution would be very helpful.
Strange...that's what the thread I linked to suggested. I've tried that multiple times to no avail. Perhaps Windows 8 doesn't find it, while 7 does for some reason? I've tried doing searches via both Device Manager and Windows Update.
Could you perhaps upload the driver files it found? You should be able to figure out what/where those are by using Device Manager, then right click the YP-G1 and go to Properties, then the driver tab, then driver details. Maybe they'll work on Windows 8 as well as 7. I might try plugging my device into someone else's computer to see if somehow mine is just acting stupid.
Thanks for your reply!
Edit: I've plugged my device into another computer. You're right -- on Windows 7, it can find the drivers just fine. On Windows 8, it can't. Go figure. Now to figure out where to get those files and/or how to get the device recognized..... (??)

Categories

Resources