Ubuntu file transfer - Samsung Galaxy Nexus

How do you transfer files from Ubuntu to the Verizon galaxy nexus?
Sent from my Galaxy Nexus using XDA

rolltide1995 said:
How do you transfer files from Ubuntu to the Verizon galaxy nexus?
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Use ADB, MTP sucks on Linux.

Could try some type of wifi transfer app too. Like AirDroid.
Sent from my Galaxy Nexus using xda premium

thracemerin said:
Use ADB, MTP sucks on Linux.
Click to expand...
Click to collapse
How do u use adb to transfer files?
Sent from my Galaxy Nexus using XDA

rolltide1995 said:
How do u use adb to transfer files?
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Setup ADB and connect the phone w/ USB debugging turned on.
Use "adb push" and "adb pull" to take/send files to your device. For example:
Code:
adb push <file> /sdcard/

martonikaj said:
Setup ADB and connect the phone w/ USB debugging turned on.
Use "adb push" and "adb pull" to take/send files to your device. For example:
Code:
adb push <file> /sdcard/
Click to expand...
Click to collapse
How do I set up adb. I have adb-linux from a root kit but I have never did anything with it.
Sent from my Galaxy Nexus using XDA

I wrote a tutorial how to connect and setup adb and such with Ubuntu for the Galaxy Nexus. Take a look at it -- its not as intimidating as it seems. Just read the tutorial like 3 times and then it will all come clear:
http://ubuntuforums.org/showthread.php?t=1918512

Related

[Q] How to transfer data via adb push. (error!!)

Hello every body!
I want to transfer data vida unix terminal (console) in this case, via mac os x...
my macbook recognize my galaxy nexus via flashboot but not via adb
do you have an idea??
thanks a lot in advance!!
Your phone is in fastboot mode, so of course adb commands don't work
Sent from my Galaxy Nexus using XDA App
jstegeman said:
Your phone is in fastboot mode, so of course adb commands don't work
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Thanks a lot!
you're right!
in recovery mode works!

[Q] Rooting on mac: Device Offline?

I am running tests on my new mac to see if i can root my galaxy nexus to install the tablet mod. Anyway, when i type adb devices or anything of the sort it tells me my device is offline. I have googled it with no results of how to make device online.
So my question is how do I make my device online so i can execute commands?
I have usb debugging on.
Phone is offline when booted, but also did not work in recovery mode which is what i want.
I'm on Android 4.0.4 if that matters.
Any other questions please ask!
Thank you amazing brainiacs of XDA!
So you have terminal pointed to the folder where you have ADB at, and you're using the command:
Code:
./adb devices
Right?
I had to do nothing special. Download ADB, plug in phone + turn on USB debugging, and I was good to go.
I did it with mine using the method I sis with my old nexus s 4g. Here's a video I made.
https://www.youtube.com/watch?v=sP9ZDWmbLVM&feature=youtube_gdata_player just follow the instructions but make sure u use a galaxy nexus recovery.img and not the nexus s 4g.
Sent from my Galaxy Nexus using xda premium
Yes I type that command and it comes back with (my device id) : offline
Could it be my usb cable?
Sent from my Galaxy Nexus using Tapatalk
I'm gong to explain this once more because realized I missed saying something. When I type a command in terminal it works. I can type ./adb devices and it will show my device. The problem comes when I type say ./adb pull. Instead of pulling what I asked, it says "error device offline." Has anyone experienced this?
Sent from my Galaxy Nexus using Tapatalk
patalo said:
I'm gong to explain this once more because realized I missed saying something. When I type a command in terminal it works. I can type ./adb devices and it will show my device. The problem comes when I type say ./adb pull. Instead of pulling what I asked, it says "error device offline." Has anyone experienced this?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
OK so what exactly are you trying to pull? I thought u said u wanted to rooted so u can then install the tablet mod?
Sent from my Galaxy Nexus using xda premium
I'm going to root and pull framework-res.apk so I can edit books.XML to rid of the nav bar. I like to do things myself if I can figure them out haha. But I'm stumped :/
Sent from my Galaxy Nexus using Tapatalk
Anyone have more ideas or questions?
Sent from my Galaxy Nexus using Tapatalk
patalo said:
Phone is offline when booted, but also did not work in recovery mode which is what i want.
Click to expand...
Click to collapse
ADB won't work in recovery...can you see it in recovery with Fastboot?
Yes, the device is recognized In recovery, fastboot, and regularly booted. I just cannot issue a command. Anything I type for example ( ./adb pull /system/framework/framework-res.apk) it tells me cannot issue command, device offline. Hopefully that makes sense!
Sent from my Galaxy Nexus using Tapatalk
You can't/don't have to be in recovery to use ADB... you need your phone on! Fast boot commands = recovery, ADB commands = phone in android.
Sent from my Galaxy Nexus using Tapatalk
I know this. I'm saying any command, adb or fastboot. Returns the same response "phone offline" in every state. Last night when I used adb my phone was on in android, but returned the same error "phone offline, cannot execute command.) even when I type adb devices it shows my phone as plugged in but next to it it shows my phone is offline. How do I make the phone online? The phone was on the homescreen with adb debugging on. I cannot issue any other command when my phone is offline.
Sent from my Galaxy Nexus using Tapatalk
I want everyone reading this to know that I know when to use adb and fastboot. My problem is I cannot use them because my Mac terminal says my device is offline. I read on Google it should be online, but have yet to find a way to make it online. That is my question
Sent from my Galaxy Nexus using Tapatalk
That sounds like a driver issue...I'm horribly unfamiliar with Macs, but you can try uninstall and re-install of the drivers?
This help?
http://www.droidrzr.com/index.php/t...s-my-device-is-either-not-connect-or-offline/
Okay well I thought that worked but I have a galxy nexus so I don't have safestrap
Sent from my Galaxy Nexus using Tapatalk
I used this tutorial to get adb and fastboot working on my Mac and everything works fine for me. Hopefully it helps you out.
http://blog.wapnet.nl/2011/05/setup-adb-and-fastboot-with-android-sdk-on-mac-osx/
anton2009 said:
You can't/don't have to be in recovery to use ADB... you need your phone on! Fast boot commands = recovery, ADB commands = phone in android.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Please don't post wrong information. You can use adb in either recovery or in the OS. Fastboot commands can only be used when booted into fastboot mode (i.e., the bootloader), not in recovery.
Sent from my Galaxy Nexus using Tapatalk
And now for some reason it is working. thank you to everyone that helped! Love ya XDA

Wiped internal storage - how do I flash a rom?

My son accidentally wiped internal storage. He does not have a backup on his pc. He has twrp. How can he flash a rom? The pc does not see his internal storage.
Sent from my Nexus 7 using Tapatalk 2
You should be able to adb push a rom.zip you may have to mount data in twrp
Sent from my Galaxy Nexus using Tapatalk 2
If you can access adb from TWRP recovery, you can adb push a ROM to the internal memory and flash it.
Or, you can download the device's stock fastboot files and use them to flash back to stock.
Note: Don't use toolkits.
Sent from my Galaxy Nexus using Tapatalk 2
infazzdar said:
If you can access adb from TWRP recovery, you can adb push a ROM to the internal memory and flash it.
Or, you can download the device's stock fastboot files and use them to flash back to stock.
Note: Don't use toolkits.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
would you mind walking me through how to do that? i can get to recovery but im rattled on using adb.
Do you have the sdk set up? Copy the ROM to the platform_tools directory and open a command prompt there. Then...
adb push NAMEOFZIP.zip /sdcard/
Sent from my Galaxy Nexus using Tapatalk 2
http://forum.xda-developers.com/showthread.php?p=23229558
http://forum.xda-developers.com/showthread.php?p=29733879
If you don't have the sdk installed you can get the tools from the first post in this thread...
http://forum.xda-developers.com/showthread.php?t=1626895
3rdstring said:
Do you have the sdk set up? Copy the ROM to the platform_tools directory and open a command prompt there. Then...
adb push NAMEOFZIP.zip /sdcard/
Sent from my Galaxy Nexus using Tapatalk 2
http://forum.xda-developers.com/showthread.php?p=23229558
http://forum.xda-developers.com/showthread.php?p=29733879
Click to expand...
Click to collapse
Worked. Thanks a million.

Erased everything. Stuck in recovery with no rom. Help?

So I screwed up, wasn't paying attention and wiped everything including the internal sd card. Now I'm stuck in recovery with no rom to flash. I tried mounting usb storage in recovery but nothing happens. My computer dings when I plug the phone in but it doesn't show up, then I press mount and nothing happens. Any ideas?
Sent from my SCH-I535 using Tapatalk 2
Guide in my signature.
Post one for ADB.
Post three for pushing a ROM.zip to your phone.
You can use ADB to push a ROM .zip to the internal storage while in the recovery.
Ok awesome, thanks guys. For a minute I was thinking I might be screwed since I couldn't mount.
Sent from my SCH-I535 using Tapatalk 2
ajk511 said:
Ok awesome, thanks guys. For a minute I was thinking I might be screwed since I couldn't mount.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
ADB and fastboot can usually save your ass.
Ok, downloaded latest drivers, reinstalled ADB using the ADB for dummies app. copied rom to platform tools, held shift and right clicked inside the platform tools folder, clicked "open command window here".
In the command window I have after trying to push looks like this:
C:\android-sdk-windows\platform-tools>adb push milestone4.zip /sdcard/
error: device not found
C:\android-sdk-windows\platform-tools>
Any idea how to get my device to be found?
ajk511 said:
Ok, downloaded latest drivers, reinstalled ADB using the ADB for dummies app. copied rom to platform tools, held shift and right clicked inside the platform tools folder, clicked "open command window here".
In the command window I have after trying to push looks like this:
C:\android-sdk-windows\platform-tools>adb push milestone4.zip /sdcard/
error: device not found
C:\android-sdk-windows\platform-tools>
Any idea how to get my device to be found?
Click to expand...
Click to collapse
You have your phone connected and booted into recovery? Then you need to install the adb driver. Use the naked driver mentioned in the 101 & faq (link is in my signature).
Sent from my Galaxy Nexus using Tapatalk 2
Petrovski80 said:
You have your phone connected and booted into recovery? Then you need to install the adb driver. Use the naked driver mentioned in the 101 & faq (link is in my signature).
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Still not getting anything.
ajk511 said:
Still not getting anything.
Click to expand...
Click to collapse
Open the device manager before plugging in your phone. Plug in your phone watch for newly listed devices. You should see your phone be added to the list.
Petrovski80 said:
Open the device manager before plugging in your phone. Plug in your phone watch for newly listed devices. You should see your phone be added to the list.
Click to expand...
Click to collapse
Got it going now, in installed in device manager and reinstalled. Thanks for all the help man.
Sent from my SCH-I535 using Tapatalk 2

[Q] htc g2 hboot

i flash the htc desire z hboot now i cnt restore my back up do i need 2 go bck to htc g2 hboot i need help plz
http://forum.xda-developers.com/showthread.php?t=2348266
Sent from my Nexus 4 using XDA Premium 4 mobile app
htc g2
demkantor said:
http://forum.xda-developers.com/showthread.php?t=2348266
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
thnks im trying 2 install ubuntu on my htc g2 t-mobile but i cnt cd ubuntu on the cmd
I think you will have to give a bit more detail than this if you want accurate help
Sent from my Nexus 4 using XDA Premium 4 mobile app
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
So again, need more information
In the fifth post from that link describes the type of info you may want to share
Also in the post I linked you has a link for how to install Ubuntu on the g2 which seems to be what you want
You need to explain all what you have tried and where you got stuck along with all info pertinent about your phone
Without this all I can do is write a guide for you which you have already read so... Yeah
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
So again, need more information
In the fifth post from that link describes the type of info you may want to share
Also in the post I linked you has a link for how to install Ubuntu on the g2 which seems to be what you want
You need to explain all what you have tried and where you got stuck along with all info pertinent about your phone
Without this all I can do is write a guide for you which you have already read so... Yeah
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
(What it looks like after copied over to the SD Card)
1) Again, make sure you have your Android smartphone/tablet “rooted”!
2) You must have Android SDK installed or have access to adb.exe.
3) Make sure your Android phone/tablet is in debugging mode. Go to Settings->Applications->Development and make sure USB Debugging is checked ON.
4) Connect your Android device to your computer via USB cable and set the USB mode to “Just Charge”.
5) Your Android device should be recognized as “ADB Device” under Device Manager. If not, install appropriate drivers.
For all HTC Android smartphones/tablets (such as G2 Phone, Nexus One), you can download Windows drivers here:
HTC Windows 64-bit driver download – Click Here to Download Driver
HTC Windows 32-bit driver download – Click Here to Download Driver
6) Open up a command prompt by typing “cmd” under Start->Search programs and files.
7) Browse to your SDK directory where you installed the Android SDK:
8) Then go into platform-tools directory:
9) Type “adb devices” to double-check your Android device is recognized.
In this example, I used an HTC G2 Phone, which shows up at “HT09SR204261″. This is fine. However, if you get an empty device, that means you didn’t install the drivers for your phone/tablet correctly. (Go back to #5)
im stuck at step 10 Type “adb shell” to enter the Android shell.
"Then type “su” to enter super user mode, then type “cd /sdcard” and “cd ubuntu” to enter the ubuntu directory in your SD card of your Android device." ← this part
So your device is recognized by adb, then you type
adb shell
And you see a # after su
But when you type
cd /sdcard
cd ubuntu
What happens, does it say something like no file or directory? This would mean there is no file on SD card named Ubuntu
Maybe if you can copy and paste all input/output from cmd here
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
So your device is recognized by adb, then you type
adb shell
And you see a # after su
But when you type
cd /sdcard
cd ubuntu
What happens, does it say something like no file or directory? This would mean there is no file on SD card named Ubuntu
Maybe if you can copy and paste all input/output from cmd here
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
after i type cd ubuntu it says on my cmd "cnt cd ubuntu" thts problm im getting

Categories

Resources