please read my question if u r Ubuntu master - General Questions and Answers

i have replaced windows 7 with ubuntu....and i really love it....but since i am running ubuntu when i plug my device to pc with usb it doesn't recognize it....i read on ubuntu forum that ubuntu cannot mount two things at a time(ext sd card and internal) so my galaxy note2's both memories doesn't show up in my pc is there any way out?so i can copy the data to my decice from pc
Sent from my GT-N7100 using xda premium

AbhimanyuAryan said:
i have replaced windows 7 with ubuntu....and i really love it....but since i am running ubuntu when i plug my device to pc with usb it doesn't recognize it....i read on ubuntu forum that ubuntu cannot mount two things at a time(ext sd card and internal) so my galaxy note2's both memories doesn't show up in my pc is there any way out?so i can copy the data to my decice from pc
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Ubuntu Dosent like android even more than windows don't know what to tell ya mate .

is that all people know about ubuntu at xda i thought devs here use a lot of ubuntu and can really help me out
Sent from my GT-N7100 using xda premium

You're most likely talking about MTP mode on your Note 2
Ubuntu by default doesn't really like MTP mode, along with pretty much every Linux distribution unfortunately. Luckily however there are some guides on how to get MTP working under Linux.
This guide should pretty much cover the entire process, but change one-x to note2 for the commands.
http://forum.xda-developers.com/showthread.php?t=2055563
Also, when adding the line to the android.rules, add this line instead of the one in the guide:
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
You should be good to go then

rohan32 said:
You're most likely talking about MTP mode on your Note 2
Ubuntu by default doesn't really like MTP mode, along with pretty much every Linux distribution unfortunately. Luckily however there are some guides on how to get MTP working under Linux.
This guide should pretty much cover the entire process, but change one-x to note2 for the commands.
http://forum.xda-developers.com/showthread.php?t=2055563
Also, when adding the line to the android.rules, add this line instead of the one in the guide:
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
You should be good to go then
Click to expand...
Click to collapse
bro i don't know what exactly mtp means but i guess its related to media and music......i wasn't asking this.
Suppose u have a windows7 and u connected ur note2 with it u get samsung's icon....when u enter that u get ur device's internal and sd card's memory....now u can paste any thing to ur device from pc.....but in ubuntu i am not able to open samsung device icon.....and there's no int. and ext. memory.....my question is his how can i paste stuff in device from pc via usb
Sent from my GT-N7100 using xda premium

AbhimanyuAryan said:
bro i don't know what exactly mtp means but i guess its related to media and music......i wasn't asking this.
Suppose u have a windows7 and u connected ur note2 with it u get samsung's icon....when u enter that u get ur device's internal and sd card's memory....now u can paste any thing to ur device from pc.....but in ubuntu i am not able to open samsung device icon.....and there's no int. and ext. memory.....my question is his how can i paste stuff in device from pc via usb
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
What version of Ubuntu are you using? 13.04 has pretty good MTP support. MTP is used in most Andrioid devices as the protocle to allow file transfer over USB, the reason it is used is it allows Android to still have access to the storage. Older method involved mounting the storage over usb which meant android could not use it while you where copying files

zacthespack said:
What version of Ubuntu are you using? 13.04 has pretty good MTP support. MTP is used in most Andrioid devices as the protocle to allow file transfer over USB, the reason it is used is it allows Android to still have access to the storage. Older method involved mounting the storage over usb which meant android could not use it while you where copying files
Click to expand...
Click to collapse
yaa i asked the same ques. over ubuntu forum and was told to upgrade to 13.10 from 12.10..............upgrading.............thanks for re-confirming man:good::good:

Related

flashing using linux?

I am a user of linux and not windows, is there a way to flash the phone using linux? and some application available similar to active sync for linux or some application which detect the phone atleast as the storage device as everytime i have some app, which i find in my regular surfing, i have to copy it to my windows laptop and then to my tytn ii.
When i connect the phone using the usb cable with linux it is detected as a lan card.
I uses fedora 8
Regards
Tushar
gandotratushar said:
I am a user of linux and not windows, is there a way to flash the phone using linux? and some application available similar to active sync for linux or some application which detect the phone atleast as the storage device as everytime i have some app, which i find in my regular surfing, i have to copy it to my windows laptop and then to my tytn ii.
When i connect the phone using the usb cable with linux it is detected as a lan card.
I uses fedora 8
Regards
Tushar
Click to expand...
Click to collapse
You can't flash the phone under linux..and I don't recommend using a virtual pc app for flashing either as it can hose your phone. I run opensuse on all my machines..I'm actually tethered via usb right now..but I keep a windows laptop around to do all the flashing.
famewolf said:
You can't flash the phone under linux..and I don't recommend using a virtual pc app for flashing either as it can hose your phone. I run opensuse on all my machines..I'm actually tethered via usb right now..but I keep a windows laptop around to do all the flashing.
Click to expand...
Click to collapse
You can flash from the sim card directly.... There is mention of that somewhere.
famewolf said:
You can't flash the phone under linux..and I don't recommend using a virtual pc app for flashing either as it can hose your phone. I run opensuse on all my machines..I'm actually tethered via usb right now..but I keep a windows laptop around to do all the flashing.
Click to expand...
Click to collapse
http://www.cinetsystems.com/xda/Tips & Tricks/Flashing using MicroSD Card.one
There's a link for you.
I have flashed my titan many times using windows under virtualbox on pclinuxos. Some distro's have troubles with usb on vmware or virtualbox so you may want to shy away from doing that way. But thats the way I always do it.
ponch92 said:
http://www.cinetsystems.com/xda/Tips & Tricks/Flashing using MicroSD Card.one
There's a link for you.
Click to expand...
Click to collapse
You are restoring from a raw image stored on a storage card....that has nothing to do with "flashing under linux".....but I'll agree that it works as I keep an emergency copy of a stable rom on storage card for just that purpose.
I've used XP in virtualbox under Opensuse...I still don't recommend flashing that way but if you are willing to risk it feel free.
famewolf said:
You are restoring from a raw image stored on a storage card....that has nothing to do with "flashing under linux".....but I'll agree that it works as I keep an emergency copy of a stable rom on storage card for just that purpose.
I've used XP in virtualbox under Opensuse...I still don't recommend flashing that way but if you are willing to risk it feel free.
Click to expand...
Click to collapse
but the thing is i cant even access my phone as a storage device under linux. are there some drivers available for that??
gandotratushar said:
but the thing is i cant even access my phone as a storage device under linux. are there some drivers available for that??
Click to expand...
Click to collapse
Google on "wm5torage"
synce
There is a software called synce. It will require a kernel compile.
Thanks,
Alex

[Q] Remove Windows on Netbook and Run Android

I know you can use different virtual applications that will allow a person to run Android on a Windows device. For example:
http://www.redmondpie.com/how-to-install-and-run-android-4.0-on-mac-windows-pc-or-linux-tutorial/
What I'm wondering is . . . is it possible to remove the Windows OS on a netbook and run Android 4.0 instead? If so, does someone have a link they can point me to?
*BUMP* Anyone?
Yes, it's possible. Just burn an ISO with Android-x86 (ICS RC1), delete all the partitions you have on your netbook and then create two - one ext3 for Android (4-8GB should be ok) and one fat32 for your data. Then boot Android installer and install on ext3 partition. And yes, it can boot as a normal system.
Teoretically it should work. Don't know if there are any more things to do.
Thanks for the info, so you're saying it's possible to dual boot, windows or Android, just as long as I have the partitions set up correctly? Has anyone else done this? If so, do you have a link to a tutorial or thread? I appreciate the help!
I might try to do this when my I disconnect service to my netbook. Is the android version that is installed rootable?
Sent from my ADR6400L using Tapatalk
disconnecktie said:
I might try to do this when my I disconnect service to my netbook. Is the android version that is installed rootable?
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
For what I see, Android x86 comes with the SU command, so it's already rooted.
Hell yea. Since there isnt a boot loader there is no need for unlockig either.
Sent from my ADR6400L using Tapatalk
You probably want your data partition something other than FAT32, because it has problems with larger files...
Android-x86.org
There i got 4.0 fully ru.ning on pc
unwritten sentance
mkm1126 said:
Thanks for the info, so you're saying it's possible to dual boot, windows or Android, just as long as I have the partitions set up correctly? Has anyone else done this? If so, do you have a link to a tutorial or thread? I appreciate the help!
Click to expand...
Click to collapse
It is indeed possible, I have done it. If you have the partitions setup right the installation is pretty straight forward, it asks if you have Windows so it's dualboot capable, it will install GRUB and add the Android and Windows items to it for you.
Format your hard drive to ext, then install the Android-x86 project.
icechen1 said:
Format your hard drive to ext, then install the Android-x86 project.
Click to expand...
Click to collapse
You really don't even have to do this, you can install it to a FAT32 partition (I think even an NTFS. But by doing so you can't have root.
Sent from my LS670 using XDA
not sure the point of this , I **** canned WIN7 on my netbook and put Kubuntu on it and it flies now , Windows slowed it down, but Android I dont think would do anything for me, its like running Windows 8 on a desktop (which I am doing right now because I dont have an ARM available)
Vintage144 said:
not sure the point of this , I **** canned WIN7 on my netbook and put Kubuntu on it and it flies now , Windows slowed it down, but Android I dont think would do anything for me, its like running Windows 8 on a desktop (which I am doing right now because I dont have an ARM available)
Click to expand...
Click to collapse
Windows 8 consumer preview is not that bad on a desktop but Android is indeed not that useful on a desktop at all. Although on a laptop of any kind, it's pretty nice as an instant on.
Sent from my LS670 using XDA
Well if thats the case just download the app Bluestacks, then you can keep Windows and run all your android apps in a second! Personally speaking , on the netbook ,windows uses too many resources for it to be useful , Kubuntu only uses what you want and therefore is far superior (on this platform)

[Q] MTP mounting under Linux

I had ICS on a different tablet and had no trouble using mtp with Linux either through the device mounter (KDE/Plasma) or just using mtpfs. With the Samsung 5113 though I "see" the MTP device but it times out. Here's an mtp-detect log:
Code:
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
Found 1 device(s):
Samsung: GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note (04e8:6860) @ bus 2, dev 26
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.
Any ideas? Yeah, I know I can use sshfs and a variety of other ways to get to the device. Just wondering why MTP seems broken.
Bumping this thread ...
I recently upgraded to Fedora 17 and found that libmtp has a known defect that prevents the tablet from connecting. Perhaps you've got the same issue on your nonfunctioning system.
Did you ever find a solution? I now copy files to/from my tablet using scp.
Sent from my GT-P3113 using xda app-developers app
jeffm5150 said:
Bumping this thread ...
I recently upgraded to Fedora 17 and found that libmtp has a known defect that prevents the tablet from connecting. Perhaps you've got the same issue on your nonfunctioning system.
Did you ever find a solution? I now copy files to/from my tablet using scp.
Sent from my GT-P3113 using xda app-developers app
Click to expand...
Click to collapse
No real solution. Like you, I use scp or ES Explorer or adb or some other mechanism.
I did a little more research this morning and got mtp to work between Fedora 17 and my 3113 tablet.
I did a couple things in total, although I'm thinking the 2nd one was the solution:
1) add vid/pid pair to my 51-android.rules file with 0755 permissions
2) disabled "USB debugging" under development settings. Apparently with that enabled, you can only move files with adb [push | pull].
Now I can connect my tablet to my Linux machine with a USB cable and create files/folders with the Linux file manager.
Hope it works for you as well. Copying with scp over wireless is pretty painful.
Sent from my GT-P3113 using xda app-developers app
jeffm5150 said:
I did a little more research this morning and got mtp to work between Fedora 17 and my 3113 tablet.
I did a couple things in total, although I'm thinking the 2nd one was the solution:
1) add vid/pid pair to my 51-android.rules file with 0755 permissions
2) disabled "USB debugging" under development settings. Apparently with that enabled, you can only move files with adb [push | pull].
Now I can connect my tablet to my Linux machine with a USB cable and create files/folders with the Linux file manager.
Hope it works for you as well. Copying with scp over wireless is pretty painful.
Sent from my GT-P3113 using xda app-developers app
Click to expand...
Click to collapse
Ah. I do development so never thought to try that. I already have the machine in my udev files. Turning off USB debug did not seem to work. I went back and killed my adb-server (which I confess was running) and that still didn't work. May try everything again after a clean boot. But the symptoms were the same.
Still, might be something to it.
The MTP mounted device now seems to work but it doesn't really seem to be stable or fast. I can copy small files easily but large files really don't seem to copy any quicker than scp. I did successfully copy a 1.7GB mp4 movie without any problems but it took almost 20 minutes with mtp/USB connection.
Sent from my GT-P3113 using xda app-developers app
jeffm5150 said:
The MTP mounted device now seems to work but it doesn't really seem to be stable or fast. I can copy small files easily but large files really don't seem to copy any quicker than scp. I did successfully copy a 1.7GB mp4 movie without any problems but it took almost 20 minutes with mtp/USB connection.
Sent from my GT-P3113 using xda app-developers app
Click to expand...
Click to collapse
Still can't get it to work. I already had the udev rules and turning off USB debug didn't help. We aren't the only ones with issues. Lots more detail here: http://forum.xda-developers.com/showthread.php?t=1077377
Also gphoto2 has some success in reading info from the "camera" (for example, battery level) but I still can't get it to see any files.
Are you running a stock kernel? I'm running the kernel that comes with CM9. I wonder if that has anything to do with it. Thx for the thread URL. I would like to get a reliable wired transfer solution.
Sent from my GT-P3113 using xda app-developers app
jeffm5150 said:
Are you running a stock kernel? I'm running the kernel that comes with CM9. I wonder if that has anything to do with it. Thx for the thread URL. I would like to get a reliable wired transfer solution.
Sent from my GT-P3113 using xda app-developers app
Click to expand...
Click to collapse
Well, I am semi-stock. It is the 4.0.4 stock with my own init.d add on and rooted. But yes, it is the stock kernel. I keep thinking of switching to CM9 but suspect it will cost me my IR blaster. I don't use it very often but I always think I will But I know it is just a matter of time before I switch.
Even stranger. If you click on the USB options and pick PTP mode, your root directory of internal and external show up and gphoto2 sees it all. But all the subdirectories are empty! So close, but no cigar. gphotofs, as you would expect, sees the same thing.
Update: ok so here's an answer for ADB: https://github.com/isieo/adbfs
Doesn't handle symlinks but on the other hand you can get to the whole file system.
One thing though, adb MUST be on your path for this to work. The adbfs file can be anywhere and it doesn't matter if it is with the adb executable or not.

[Q] how to activate USB mass storage ?

can anyone tell me how to activate USB utility option on my P3100 ?
May be try this app (not confirmed to work) then reboot and see
http://forum.xda-developers.com/showthread.php?t=1389375
Sent from Galaxy S2 or Galaxy Tab2
MY previous device was Galaxy R and it does ve a USB utility Option......
What ROM are you using ?
Sean_Seany said:
What ROM are you using ?
Click to expand...
Click to collapse
Tried Stock, CM10, now on AOKP-JB built 3
So you are running AOKP , so i assume you are not just talking about moving files from your PC to your tab , after installing the correct drivers from Samsung ( either via Kies or Windows update).
So what exactly do you want to do ? Am i right in saying that you want full access from your PC to your tab via USB ? From what I have worked out it doesn't work like that with our tabs as the set permissions wont let you. Or have it got it wrong ?
Have you read this thread by ChainFire? ( he IS the man ! ).
http://forum.xda-developers.com/showthread.php?t=1493325
Sean_Seany said:
So you are running AOKP , so i assume you are not just talking about moving files from your PC to your tab , after installing the correct drivers from Samsung ( either via Kies or Windows update).
So what exactly do you want to do ? Am i right in saying that you want full access from your PC to your tab via USB ? From what I have worked out it doesn't work like that with our tabs as the set permissions wont let you. Or have it got it wrong ?
Have you read this thread by ChainFire? ( he IS the man ! ).
http://forum.xda-developers.com/showthread.php?t=1493325
Click to expand...
Click to collapse
dude i can transfer file by using portable media player..... but i need Usb utility option that we can connect like USB pendrives......
it look exactly like this
gearbox87x said:
dude i can transfer file by using portable media player..... but i need Usb utility option that we can connect like USB pendrives......
it look exactly like this
Click to expand...
Click to collapse
same happpens to me but i noticed tihs:
in device manager i hae a dvice thats named MAS STORAGE CONTROLLER and my windows cant find driver with tab on or off, naybe thats what we need
arana1 said:
same happpens to me but i noticed tihs:
in device manager i hae a dvice thats named MAS STORAGE CONTROLLER and my windows cant find driver with tab on or off, naybe thats what we need
Click to expand...
Click to collapse
Same issue :crying:
gearbox87x said:
dude i can transfer file by using portable media player..... but i need Usb utility option that we can connect like USB pendrives......
it look exactly like this
Click to expand...
Click to collapse
Excuse my ignorance, but what will you be able to do with that ability?
feralicious said:
Excuse my ignorance, but what will you be able to do with that ability?
Click to expand...
Click to collapse
MTP vs MSC mode... We don't like MTP, it's very very very better MSC aka USA Mass Storage Mode
PYCON said:
MTP vs MSC mode... We don't like MTP, it's very very very better MSC aka USA Mass Storage Mode
Click to expand...
Click to collapse
Sorry, I don't understand why it's better. I just bought a Tab 2 and when I hooked it up to my pc I could see the folders and files and copy music and videos to it. I was going to hook it up again now to see if it's about getting into system files or something, but I'm exchanging it later today and I already did a factory reset.
Is it something to do with modding system files, rooting and flashing files that's easier with it? Sorry if this is a stupid question. I'm new to the Tab and rooting and flashing on my phone (Rezound) is so completely different than this, I'm still absorbing everything and trying to understand it all before I do anything with a Tab.
feralicious said:
Sorry, I don't understand why it's better. I just bought a Tab 2 and when I hooked it up to my pc I could see the folders and files and copy music and videos to it. I was going to hook it up again now to see if it's about getting into system files or something, but I'm exchanging it later today and I already did a factory reset.
Is it something to do with modding system files, rooting and flashing files that's easier with it? Sorry if this is a stupid question. I'm new to the Tab and rooting and flashing on my phone (Rezound) is so completely different than this, I'm still absorbing everything and trying to understand it all before I do anything with a Tab.
Click to expand...
Click to collapse
Simple... MTP permits u to copy to / from video, music, photo... files. Finish.
USB Mass Storage gives u the total permission of copying files but also... format partition, defrag, open files directly from the device, etc etc.
PYCON said:
Simple... MTP permits u to copy to / from video, music, photo... files. Finish.
USB Mass Storage gives u the total permission of copying files but also... format partition, defrag, open files directly from the device, etc etc.
Click to expand...
Click to collapse
And it is much!!!! faster than MTP!
badJester said:
And it is much!!!! faster than MTP!
Click to expand...
Click to collapse
Oh ye, of course :highfive:

The unofficial galaxy s3 linux support thread

I just wanted to start this thread for anyone who needs help with the s3 on linux whether its mounting sd/mtp or help with heimdall. I use Arch linux and let me tell you mtp is a pain in the butt, I ended up having to use a ftp server, and for my sd card I use a root ap called SG USB MASS STORAGE ENABLER by Mohhamad Abu-Garbeyyeh.
Linux
Bierce22 said:
I just wanted to start this thread for anyone who needs help with the s3 on linux whether its mounting sd/mtp or help with heimdall. I use Arch linux and let me tell you mtp is a pain in the butt, I ended up having to use a ftp server, and for my sd card I use a root ap called SG USB MASS STORAGE ENABLER by Mohhamad Abu-Garbeyyeh.
Click to expand...
Click to collapse
I'm using Ubuntu but there's no way I'm playing with my phone on it - I have a Windows partition just for that sort of thing. Maybe if it weren't my daily driver, I'd be willing to give it a shot but, while I use Linux for just about everything, it's just easier to have a Windows partition for some things. This being one of them.
Hats off to you though - takes guts (& knowledge) I don't have!
Need to be on stock. Doesn't work without stock.
http://forum.xda-developers.com/showpost.php?p=33491516&postcount=11
It worked for me on ubuntu 13.04
sjpritch25 said:
Need to be on stock. Doesn't work without stock.
http://forum.xda-developers.com/showpost.php?p=33491516&postcount=11
It worked for me on ubuntu 13.04
Click to expand...
Click to collapse
I'm rooted and ROMd with Carbon. Love my AOSP!
Bierce22 said:
I just wanted to start this thread for anyone who needs help with the s3 on linux whether its mounting sd/mtp or help with heimdall. I use Arch linux and let me tell you mtp is a pain in the butt, I ended up having to use a ftp server, and for my sd card I use a root ap called SG USB MASS STORAGE ENABLER by Mohhamad Abu-Garbeyyeh.
Click to expand...
Click to collapse
A couple of things I have found:
1. While MTP did not work with my Mint 15 system and stock android 4.1.2 on my phone, once I rooted, unlocked the bootloader, and installed cyanogenmod, it worked like a charm.
Before, when I plugged in my phone, I would get multiple error windows saying the MTP system wasn't available. I had to use windows (yuck!) and odin to get root and unlock the bootloader (although I did not try the virtualbox windows until after I had done this). I installed the most recent version of cyanogenmod and now the Mint system recognizes the MTP just fine. No error windows or anything.
2. I was able to get a virtualbox windows machine to recognize the phone, although it required different usb filters for download mode and for typical mtp.
This required going into download mode, selecting the appropriate filter in virtualbox, unplugging the phone, booting up the virtual machine and then replugging the phone. After this, odin recognized the phone. I did not attempt to flash anything further, though, since I had already done so from a windows system.
I think Ubuntu ships with mtp and its libraries now
I used to use arch Linux. Such a fun distro. Then work started using a TS gateway and it started become too much a hassle. Installed Windows 8, no longer fighting the system :screwy:
Sent from my SCH-I535 using xda app-developers app
lazarus0000 said:
I'm using Ubuntu but there's no way I'm playing with my phone on it - I have a Windows partition just for that sort of thing. Maybe if it weren't my daily driver, I'd be willing to give it a shot but, while I use Linux for just about everything, it's just easier to have a Windows partition for some things. This being one of them.
Hats off to you though - takes guts (& knowledge) I don't have!
Click to expand...
Click to collapse
What do you mean you have a windows partition? I have a laptop that's quad booted with Windows 7, Ubuntu, Fedora, and Pear OS 8. I want to take Windows out of the picture but I need it for things like this. Could you give me more details on this like does it act like a windows system? It'd be much appreciated.
Sent from my SCH-I535 using Tapatalk

Categories

Resources