How to browse root files with Ubuntu? - HD2 Android Q&A, Help & Troubleshooting and Genera

Hi.
I have one, maybe stupid, maybe not, question.
My OS on home computer is Ubuntu 10.10 and my OS mobile device is Android. Mobile device info is in my signature.
I instaled Android SDK, Java and Eclipse properly and everything work fine but my question is how to browse files into my mobile root folder from computer?
Thanks in advance.

You may be able to do it using DDMS within Eclipse. It may not work though, with it being a ported build. It works for some, but not others (not mine )
Sent from my HTC HD2 using XDA App

Thanks. DDMS work fine. I can browse, copy to computer and copy to Android system everything.
I started DDMS from terminal.
Best regards.

Glad you got it working
Sent from my HTC HD2 using XDA App

Related

[Q] App Inventor on HD2

Hello, has anyone tryied to use an HD2 with app inventor?? If so, what is the procedure? When i am trying to connect my phone with the blocks editor, the java enviroment cannot see any device. HTC sync is setup and recognised as Dream. Also ADB drivers are setup, but when i am going from app inventor to block editor, a message appears and says "Please locate the adb command on your computer and enter the full path here". I am typing the path of the app inventor on my computer "C:\Program Files (x86)\Android\appinventor-extras" and then the java enviroment continues. I am running 7 64bit.
arisgardelis said:
Hello, has anyone tryied to use an HD2 with app inventor?? If so, what is the procedure? When i am trying to connect my phone with the blocks editor, the java enviroment cannot see any device. HTC sync is setup and recognised as Dream. Also ADB drivers are setup, but when i am going from app inventor to block editor, a message appears and says "Please locate the adb command on your computer and enter the full path here". I am typing the path of the app inventor on my computer "C:\Program Files (x86)\Android\appinventor-extras" and then the java enviroment continues. I am running 7 64bit.
Click to expand...
Click to collapse
Make sure you are not mounting your sd card
Sorry, i am a newbie to the android platform. After some search i found that i need the android sdk.. After installation, the message dissapeared but the blocks editor cannot still find my phone. Has anyone actually used an HD2 with app inventor?
arisgardelis said:
Sorry, i am a newbie to the android platform. After some search i found that i need the android sdk.. After installation, the message dissapeared but the blocks editor cannot still find my phone. Has anyone actually used an HD2 with app inventor?
Click to expand...
Click to collapse
yes, mine works fine.
Ryan Cordero said:
yes, mine works fine.
Click to expand...
Click to collapse
Can you please share some details? for example what programs/drivers/sdk needs the app inventor? installing procedure if its not a trouble for you, what rom are you using and in which mode you put your phone when you connect it with the usb cable, so the blocks editor can recognise the hd2?
thanks in advance.
arisgardelis said:
Can you please share some details? for example what programs/drivers/sdk needs the app inventor? installing procedure if its not a trouble for you, what rom are you using and in which mode you put your phone when you connect it with the usb cable, so the blocks editor can recognise the hd2?
thanks in advance.
Click to expand...
Click to collapse
chuckydroid rom with Hyperdroid and Bangsters Build work. I have to use I.E. because firefox will not work for me. I simply turn the phone on, no special modes or anything and hit connect while the screen is on.. I installed that software they ask you to install before you start, nothing more.
I am having the same problems as described above really but using firefox and linux (ubuntu). No joy getting the app inventor to work witha desire based rom. I am going to try using Chrome to see if that makes any difference and its just a firefox based issue.
arisgardelis said:
Hello, has anyone tryied to use an HD2 with app inventor?? If so, what is the procedure? When i am trying to connect my phone with the blocks editor, the java enviroment cannot see any device. HTC sync is setup and recognised as Dream. Also ADB drivers are setup, but when i am going from app inventor to block editor, a message appears and says "Please locate the adb command on your computer and enter the full path here". I am typing the path of the app inventor on my computer "C:\Program Files (x86)\Android\appinventor-extras" and then the java enviroment continues. I am running 7 64bit.
Click to expand...
Click to collapse
The only problem you're suffering right now is that the path has to look like this
C:\Program Files (x86)\Android\appinventor-extras\adb.exe
You have to write the full path including this file
Have fun. It's a great programm and makes a lot of fun
Edit: There's a how to on the page to set up this path again.
i had to update my version of java to java 6.23,also appinventor works better with chrome browser,surprise,surprise google software talking to google phone through google browser to googles servers...
I'm trying the App Inventor, and I can run things I'm tinkering with. I did one of the tutorials, but when I run it on my HD2, with AmericanAndroid, it is too small.
The app has black blank space on both side, and the bottom. It is probably a little more than half the screen.
I think it is the Android device driver. (But, I'm not sure.)
So, I followed some instructions to download drivers for my device, but the HD2 (on HTC's web page) doesn't have Android drivers. So, I probably need to download them for another HTC device (or something?). Any suggestions?
Or, am I going in the wrong direction, and need to do something else entirely.

Rooting via Parallels on Mac?

Has anyone been able to successfully root their Nexus 7 on a Mac using Parallels? Or VM Ware? Both rooting methods in the development section are Windows only, so a little cautious about trying it on a virtual machine. Any help would be appreciated.
Forget Parallels just have the Android SDK and Superboothttp://forum.xda-developers.com/showthread.php?p=28267712
Sent from my i777 using xda app-developers app
Agreed, forget VM solutions on OS X.
Install the Mac sdk, open up Terminal and have a play with adb and fastboot, plenty of guides around for the details
I tried using one click root (written for windows), with XP on my iMac via VMWare. It did not work. The problem relates to tablet could not reconnect in time to virtual machine in between reboots.
I ended up going to a Windows laptop, and it worked.
if you're comfortable with adb & fastboot, can search and read, you dont need one clicks or windows.....
tehSmoogs said:
if you're comfortable with adb & fastboot, can search and read, you dont need one clicks or windows.....
Click to expand...
Click to collapse
+1
Sent from my i777 using xda app-developers app
Well, I'm not but I think I'm about to be! Reading about and installing adb on my Mac now. That part was easy! We'll see how it goes from here. Thanks.
I use Parallels on my Mac ALL the time and have never had an issue. In fact, if you have multiple devices and worry about conflicting drivers simply copying the VM and having one for each device is the way to go. Do it all the time and I have MANY devices from different manufactures.
Edit.... BTW ... I used parallels to s-off an HTC Rezound which had many steps where the device would reboot. Re-connecting to the VM was never an issue for me.
I rooted LGL21 using Parallels on Macbook(OS X)
I'm using Parallels 9 on Macbook(OS X) and ther is Windows7 Pro.
I made trial and error using Android SDK and LG's ADB, and the beginning did not reach well.
Windows was not able to find LGL21.
but I changed USBcable 1m to 10cm
But Windows came to be able to find LGL21 when I changed a USBcable 1m to 10cm.
I thought the cause to be a ADB driver, but might be a problem of the hardware.
When you change hardware and try it, how about?
However, I'd changed both the hardware and the ADB at the same time, and the connection of the USB port changed ! I confirm an exact cause from now on !

Nexus 7 - how to on linux

Hello All,
I've read that linux does not open up the file system of nexus 7 when connected? Is that right? if yes, how can one transfer files to nexus 7?
Am waiting on my device which should arrive in few days. I really dont want to go some where else to copy my files or use apps to transfer files over the air. My phone is android and linux shows me the sd card folder right away after plugging in...
Also, can you guys please point me towards howto on rooting my device while on linux? I have seen wndows has one click method which is pretty awesome. I realize we might not have one click methods in linux, am willing to do it the hardway too..just need some direction.
Any help would really be appreciated. Thanks for taking your time.
Linux mint user here if that makes any difference. Thanks
Boomboy said:
Hello All,
I've read that linux does not open up the file system of nexus 7 when connected? Is that right? if yes, how can one transfer files to nexus 7?
Am waiting on my device which should arrive in few days. I really dont want to go some where else to copy my files or use apps to transfer files over the air. My phone is android and linux shows me the sd card folder right away after plugging in...
Also, can you guys please point me towards howto on rooting my device while on linux? I have seen wndows has one click method which is pretty awesome. I realize we might not have one click methods in linux, am willing to do it the hardway too..just need some direction.
Any help would really be appreciated. Thanks for taking your time.
Linux mint user here if that makes any difference. Thanks
Click to expand...
Click to collapse
I have no problems loading the file system on my Arch System. However, I personally rooted using Windows and the One-Click. Since all it does is use adb to push files onto the system, it is 100% possible to root and unlock using Linux. Just make sure you have the Android SDK installed. Follow this guide here: http://forum.xda-developers.com/showthread.php?t=1741395 for the acutal rooting
-Twitish
twitish said:
I have no problems loading the file system on my Arch System. However, I personally rooted using Windows and the One-Click. Since all it does is use adb to push files onto the system, it is 100% possible to root and unlock using Linux. Just make sure you have the Android SDK installed. Follow this guide here: http://forum.xda-developers.com/showthread.php?t=1741395 for the acutal rooting
-Twitish
Click to expand...
Click to collapse
Thanks for taking you time out. When you say you had no problem on arch, are you saying the file explorer just showed the nexus files? were you able to just copy and paste stuff into nexus?
Thanks for the link..will go through it
Boomboy said:
Thanks for taking you time out. When you say you had no problem on arch, are you saying the file explorer just showed the nexus files? were you able to just copy and paste stuff into nexus?
Thanks for the link..will go through it
Click to expand...
Click to collapse
By "showing Nexus files" do you mean the SD card? Linux supports PTP / MTP so this won't be a problem. You won't be able to directly view any other files without some other server installed on the Nexus, such as NFS or CIFS. As already stated, if you install the Android SDK, you will be able to root the device using adb / fastboot shell commands.
I think it depends on which distribution you are using. Ubuntu doesn't have mtp support by default.
Sent from my Nexus 7 using Tapatalk 2
gbroon said:
I think it depends on which distribution you are using. Ubuntu doesn't have mtp support by default.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Easy to get it though.
Yes, i am able to mount my internal storage in Arch if that's what you are asking. As stated before, you must have MTD support in your distro. Since Mint is based on Ubuntu, you may have to do some work. Sorry, not really sure how in Ubuntu.
Sent from my Nexus 7 using xda app-developers app
twitish said:
I have no problems loading the file system on my Arch System. However, I personally rooted using Windows and the One-Click. Since all it does is use adb to push files onto the system, it is 100% possible to root and unlock using Linux. Just make sure you have the Android SDK installed. Follow this guide here: http://forum.xda-developers.com/showthread.php?t=1741395 for the acutal rooting
-Twitish
Click to expand...
Click to collapse
wmoore said:
Easy to get it though.
Click to expand...
Click to collapse
Thanks a ton buddy! Guess I gotta follow that link as am a Mint user..

Files don't show in MTP mode

When I move some files to mnt/sdcard on my phone and connect the USB cable, the files don't show on Windows XP computer.
On another thread it was explained that the MTP service doesn't automatically index files but an app called SDrescan can
do it manually. I found out that restarting the phone makes the files available on the computer.
Is there better way to do this?
Is this only a WindowsXP issue?
[edit]
It's now clear that this is an issue with Android.
How did it work on older versions? I'm running 4.2.1
I got the same problem on Windows 7
Sent from my Nexus 4 using xda premium
I have the same problem on Fedora Linux using MTPFS. I gave up on MTP and use adb to push & pull files or directories. I have seen people recommend airdroid. But never used it myself. You can also try Droid Explorer.
Yeah, that's an issue on MTP's side, not XP or 7

Need help rooting on ubuntu

Hi, I've been having all sorts of problems trying to root/unlock with my windows7 PC. Another xda user even remoted into my computer and was unable to install the correct drivers.
I was able to unlock using a 13 year old xp PC, but when trying to unlock, the computer would freeze up every time.
Anyway, I've set up a dual boot system on my PC with win7 and unbuntu. I was hoping someone would be able to point me in the right direction to show me how to install the correct drivers in unbuntu (I'm a complete noob at it). Thanks in advance.
Sent from my Nexus 4 using xda app-developers app
Austin Ag06 said:
Hi, I've been having all sorts of problems trying to root/unlock with my windows7 PC. Another xda user even remoted into my computer and was unable to install the correct drivers.
I was able to unlock using a 13 year old xp PC, but when trying to unlock, the computer would freeze up every time.
Anyway, I've set up a dual boot system on my PC with win7 and unbuntu. I was hoping someone would be able to point me in the right direction to show me how to install the correct drivers in unbuntu (I'm a complete noob at it). Thanks in advance.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Do you have the android sdk installed? If you have no idea what that is then it is a no. If you don't then you will need to install it first.
Root
I upladed a package for you that that will automate the install process. You will have to put in the password you use to login and at one point.
To run the package, unzip the attachment to you desktop and open a terminal.
run:
Code:
cd ~/Desktop/root/
chmod a+x install_sdk.sh
chmod a+x root_nexus4.sh
./install_sdk.sh
You will have to choose which packages to install for the android sdk. A screen will popup in the middle of the install and give you options to select the packages. Check to "Tools" folder and continue. This link might help.
When this is finished run
Code:
./root_nexus4.sh
Thanks for the replies. I don't have the SDK installed. Do I need it to install the required drivers?
Sent from my Nexus 4 using xda app-developers app
Austin Ag06 said:
Thanks for the replies. I don't have the SDK installed. Do I need it to install the required drivers?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
There are no drivers to install like windows.
Post #62 in the thread below is a walk through for getting everything setup on Ubuntu 12.10
http://forum.xda-developers.com/showthread.php?p=19446284
Note: The java files have changed to version 7 so the commands in the walkthrough need to be changed to reflect this. ADB does not work without java installed. You also have to manually enter the Nexus 4 into the list of devices which is covered under the editing udev section of the post.
If your not familiar with Linux this isn't easy to get setup, Linux isn't windows that's for sure. You might be better served trying to use one of the toolkits to root your phone. I've used mskips toolkit without any problems.
http://forum.xda-developers.com/showthread.php?t=1995688
---------- Post added at 10:25 AM ---------- Previous post was at 09:59 AM ----------
Austin Ag06 said:
Hi, I've been having all sorts of problems trying to root/unlock with my windows7 PC. Another xda user even remoted into my computer and was unable to install the correct drivers.
I was able to unlock using a 13 year old xp PC, but when trying to unlock, the computer would freeze up every time.
Anyway, I've set up a dual boot system on my PC with win7 and unbuntu. I was hoping someone would be able to point me in the right direction to show me how to install the correct drivers in unbuntu (I'm a complete noob at it). Thanks in advance.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Do you have java installed properly in windows 7 and did you use the sdk manager to download and install the proper packages including the drivers?
http://developer.android.com/sdk/win-usb.html
Austin Ag06 said:
Thanks for the replies. I don't have the SDK installed. Do I need it to install the required drivers?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
In Ubuntu you do not need drivers. I attached a file that will automate the sdk install process. However, I did not include a java jdk installation. You will need that installed on ubuntu in order for the sdk to work. In the SDK there is a tool called "adb", and another called "fastboot". These two tools are what you will use to root your phone using ubuntu. If you absolutely need help installing the java jdk then let me know. Otherwise a google search "install java jdk ubuntu 12.04" should lead you to some good guides. NOTE: I am assuming you are using Ubuntu 12.04. Check which version you actually have.
Thanks for the links. I'll do some reading and try to get this set up tonight.
Austin Ag06 said:
Thanks for the links. I'll do some reading and try to get this set up tonight.
Click to expand...
Click to collapse
I just built an Ubuntu 12.10 box a couple weeks ago and followed the instructions in the link and it worked with no problems. Hardest part is setting up java as I had the instructions up on my windows pc and couldn't cut and paste the commands, the syntax has to be 100% correct or the command won't run and it was hard to judge where I needed to use spaces or not. This is the one thing I hate about Linux and that's having no executables to easily install things like java like there are in windows.

Categories

Resources