[Q] How do i send data to hdd external or flash disk? - Raspberry Pi Q&A, Help & Troubleshooting

My external hard drive was not detected in raspberries?
thank u

rrhp said:
My external hard drive was not detected in raspberries?
thank u
Click to expand...
Click to collapse
I haven't had a problem writing ext3/ext4 formatted drives with my pi.
Is the drive hardware recognised?
What is the output of the lsusb command from a command prompt (using a linux distribution)?

Assuming that you have a usb external drive:
Run this command once it is plugged in:
Code:
sudo ls /dev/sd*
and get the name of the drive
then run the following replacing [USB_DEVICE_NUMBER] with the name of the drive.
Code:
sudo mount -t vfat /dev/[USB_DEVICE_NUMBER]/mnt/usb
Let me know if that works.
If it doesn't your usb drive might require more power in that case you need a powered usb hub,

tmaino stands
If you use an NTFS formatted disk then use not "-t vfat"
Use "-t ntfs" or "-t ntfs-3g" instead.
Precondition: NTFS Driver from package "ntfs-3g" is installed.
If you have an unformatted disk I would recommend to format it with EXT4 (if you use it only with linux machines)
Then...
"-t ext4"

can not set up the external drive on samba!!
Hi guys, I have a problem with external drive...now I using only sd card in raspberry. I would like to change this to external drive....I allready install samba...the final step when I kill and run samba again I get two times green OK...becouse of this I assume it is everything ok....I have a problem when I must find in my computer under network, share folder.I dont see him and I dont know where the issue is...mybe I was doing something wrong, when I must change in nano a skript ( I dont know how is call) where I must change media, global,loging, authentical...I dont know it is everything OK in this script....can somebody paste me the correct one please or if you have mybe other idea where the issue is...
Thanks a lot of helo, I realy dont know where can I find the correct answer for my trouble.

Hi Guys, any news about my problem?? Now I am already made a fresh instal...but still I can find under the network external sd....what can I do...any sugestion?

Related

Question - migrating memory cards

I'm currently using a 2GB MicroSD card with an apps2SD partition (Ext2) and a storage partition (FAT32)
I have a 4GB card that I'd like to move everything to. I could surely partition it the same way I did my 2GB card, but then it would be a blank, partitioned card. What's a good way to get all my apps and such moved over, as I'm running windows (which won't read the Ext2 partition)
Would Norton Ghost do it?
no try Ext2IFS_1_11a
can't remember where it is: if it doesnt work DL linux and boot into it from disc (no need to install) and copy onto disc from there...
Use linux.
plug in uSD card, do NOT mount. If it automounts, UNMOUNT it. Check device name "tail dmesg".
If device name is for example, sdb, then copy contents to hard disk;
"dd if=/dev/sdb of=~/sdbackup" -- this will create a file in your home directory called "sdbackup".
pull card, insert new card. If it mounts, unmount it. Again check device path.
"dd if=~/sdbackup of=/dev/sdb"
Now pull card, the data on the new card mirrors the old card. Plug back in. Note: we pull and then reinsert to make sure that the kernel reloads the partition table. There are other ways of forcing this, but this is the easiest and most fool-proof.
You have unpartitioned free space at the end of the card.
Use a combination of "parted" and "resize2fs" to resize/move partitions, or just use gparted to handle these operations graphically.
jook11 said:
I'm currently using a 2GB MicroSD card with an apps2SD partition (Ext2) and a storage partition (FAT32)
I have a 4GB card that I'd like to move everything to. I could surely partition it the same way I did my 2GB card, but then it would be a blank, partitioned card. What's a good way to get all my apps and such moved over, as I'm running windows (which won't read the Ext2 partition)
Would Norton Ghost do it?
Click to expand...
Click to collapse
Thanks for your help.
lbcoder said:
Use linux.
plug in uSD card, do NOT mount. If it automounts, UNMOUNT it. Check device name "tail dmesg".
If device name is for example, sdb, then copy contents to hard disk;
"dd if=/dev/sdb of=~/sdbackup" -- this will create a file in your home directory called "sdbackup".
pull card, insert new card. If it mounts, unmount it. Again check device path.
"dd if=~/sdbackup of=/dev/sdb"
Now pull card, the data on the new card mirrors the old card. Plug back in. Note: we pull and then reinsert to make sure that the kernel reloads the partition table. There are other ways of forcing this, but this is the easiest and most fool-proof.
You have unpartitioned free space at the end of the card.
Use a combination of "parted" and "resize2fs" to resize/move partitions, or just use gparted to handle these operations graphically.
Click to expand...
Click to collapse
Are these directions explicit/comprehensive? Will I need to partition first? I don't know very much at all about linux, but I've got an ubuntu cd downloading. I've poked at it a little before - I can at least get a terminal and follow your directions, if this is all there is to it.
edit
I'm trying copying things manually in ubuntu's file.. explorer.. thingy. Then I'll partition the new memory stick with gparted and copy the files there.
This seems more natural to me, since I'm not familiar with command-line operations much anyway. Personally, I don't see why it won't work.
edit again:
I don't have permission to copy the folders "app" "app-private" or "dalvik-cache"
How can I do this?
edit edit again
google found me a "sudo nautilus" command which seems to open a file browser window with more permissions. I still can't actually copy the folders I mentioned before, but I recreated them in my backup location and I can copy the contents. Maybe this will take care of it.
update:
nope, that worked for "app" and some (but not all) of "dalvik-cache" but not "app-private"
How do I gain permission to copy it?
I'm willing to go back to the terminal, but I get an error on the tail command. There's nothing found, or somesuch. Sorry, I meant to copy the message exactly but I forgot before I rebooted the computer I was doing it with.
Can anybody help me out a little more with this?
The error I get right off the bat is "tail: cannot open 'dmesg' for reading: no such file or directory"
The only access to linux I have is an ubuntu live CD
Code:
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
[email protected]:~$ tail dmesg
tail:cannot open `dmesg' for reading: No such file or directory
[email protected]:~$ _
MontAlbert said:
no try Ext2IFS_1_11a
can't remember where it is: if it doesnt work DL linux and boot into it from disc (no need to install) and copy onto disc from there...
Click to expand...
Click to collapse
How do I make use of this? It sounds like it should make Ext2 partitions appear in Windows Explorer just like anything else...
I installed it, but the Ext2 partition still doesn't show when I plug in the SD card. Do I need to do something particular?
I have rebooted.
Can anyone please give me more information on this, please? I've been poking at it different ways and still can't get it to work. Who knows something I don't?
jook11 said:
Can anyone please give me more information on this, please? I've been poking at it different ways and still can't get it to work. Who knows something I don't?
Click to expand...
Click to collapse
Code:
dmesg | tail
All the information to do this has been stated in this thread by now.

How to install data partition on sdcard partition

I install a lot of application so I constantly run out of space on NAND. So I tried to install Myn's Warm Donut using the following method so the system stuffs will be on NAND and the data will be on the sdcard. It is slower but I can install lots of applications now.
Requirement:
-You have to have Myn's Warm Donut or other android rom installed already on NAND. This means that both the system and the data is on NAND.
-A USB reader for your micro sdcard
Overview:
The main steps are 1) install adb 2) partition your sdcard into three partitions 3) reinstall the rom.
Steps:
1- Install the Android SDK here http://developer.android.com/sdk/index.html. This will give you the adb tool which is a remote terminal program. You will have to locate the adb binary to run it.
2a- Connect you vogue to the desktop. Make sure that USB debug is enable on the vogue. It should be by default.
2b- Run the adb:
Code:
adb shell
2c- Repartition the sdcard using parted. You need some experience with parted which is very popular in linux. Remember, this step will destroy the data on the sdcard.
Code:
parted /dev/block/mmcblk0
print
At this point you should see the list of all partitions on the sdcard. For most of you, there will be one partition. Remove all the partition using the rm command with the partition number.
Code:
rm 1
Now your print should return empty. So create three partitions using the following commands. Basically, you want three partitions. The first one is your sdcard folder which you always had. The third one is for your data. The second one is just filler because the current installer only install to the third partition.
Code:
mkpartfs primary fat32 0 6500
mkpartfs primary linux-swap 6500 6756
mkpartfs primary ext2 6756 8168
set 1 lba
Note that the size is depended on you. I want around 6.5GB on my 8GB card to be the sdcard partition for musics and videos. So what's left is around 1.5GB for the data partition. I just give the filler 256MB so maybe I can do something with it later. The partition number might be different with other rom. You have to play with it.
After this step you should see something like this when you do print:
Code:
Number Start End Size Type File system Flags
1 32.3kB 6500MB 6500MB primary fat32 lba
2 6500MB 6756MB 256MB primary linux-swap(v1)
3 6756MB 8168MB 1412MB primary ext2
Now you can quit parted and exit the console by:
Code:
quit
exit
3a-Turn off your phone and put the sdcard into a USB reader so you can copy the andboot installation files over.
3b-Put the card back, run the installer and choose the data on sdcard option. You should be good to go.
As you usual, you are solely responsible for your phone and your data.
Hope this helps.
I have another solution in the works that will solve the out-of-space on data very easily on ANY build and also have some other nice advantages: http://forum.xda-developers.com/showthread.php?t=750768
So you put the apps on to ext2 partion and the data stay in NAND? In that case it would be better. The problem for the vogue is that the installer on the Myn's rom only put everything on the data partition on to an ext2 partition. On the vogue other rom is slow IMO. Maybe someone can separate the data and apps in the next build?
Anyway, do you know how can I extend the system partition so it can span to 256MB? Right now it is only 128MB because the data presumably should extend the other 128MB.
kallt_kaffe said:
I have another solution in the works that will solve the out-of-space on data very easily on ANY build and also have some other nice advantages: http://forum.xda-developers.com/showthread.php?t=750768
Click to expand...
Click to collapse
Hi csbert,
I am new to ADB. When I typed adb shell, I got device not found. Maybe I need a driver or something? thanks
update: I think I found the instruction on how to obtain the usb driver, going to try now
When you connect to vogue to your computer, it has to say "USB debugging connect". If it doesn't, maybe you need to enable USB debugging in Settings -> Application Settings -> Development.
Cookiekaikai said:
Hi csbert,
I am new to ADB. When I typed adb shell, I got device not found. Maybe I need a driver or something? thanks
update: I think I found the instruction on how to obtain the usb driver, going to try now
Click to expand...
Click to collapse
partition program
i am looking for a good free partition program for windows xp that can partition my sd card from a card reader
i have used paragon partition but it always ask to restart the pc and then partitions the sd from there
i have had it causes my laptop to crash twice now and both time had to have a friend repair my laptop
i am looking for a program that can partition the sd with out restating the computer if that is possible
thank you
nate
Hi,
I don't think you can partition the sdcard for the phone using an xp computer. That's why I wrote this instruction. The partition android uses is from linux. You can try a linux machine but i heard that doesn't work. You can still connect to the phone using adb and format the sdcard as I explained.
Cheers
evilclosetmonkeynate said:
i am looking for a good free partition program for windows xp that can partition my sd card from a card reader
i have used paragon partition but it always ask to restart the pc and then partitions the sd from there
i have had it causes my laptop to crash twice now and both time had to have a friend repair my laptop
i am looking for a program that can partition the sd with out restating the computer if that is possible
thank you
nate
Click to expand...
Click to collapse
evilclosetmonkeynate said:
i am looking for a good free partition program for windows xp that can partition my sd card from a card reader
i have used paragon partition but it always ask to restart the pc and then partitions the sd from there
i have had it causes my laptop to crash twice now and both time had to have a friend repair my laptop
i am looking for a program that can partition the sd with out restating the computer if that is possible
thank you
nate
Click to expand...
Click to collapse
You could boot from a Live CD of any Linux distro. Or download and burn Gparted Live CD, all free

[GUIDE] NTFS READ/WRITE for SDCARD and USB OTG ! UPDATED 21-JAN-2012 !!!

Dear Friends,
angelom said:
I tried now with a USB stick format ntfs
1) I inserted the file ntfs-3g for GS2 in /system/bin with the proper permissions
2) Reboot
3)Then I inserted the usb stick with the otg cable into the phone, so I typed from the terminal emulator:
su
insmod /lib/modules/fuse.ko
ntfs-3g /dev/block/sda1 /mnt/usb
And now the usb stick can be read and written
Click to expand...
Click to collapse
AbyssNote Kernel developer " angelom " pointed us solution for read/write ntfs for formatted usb stick and i apply it for sdcard and both works flawlessly !!!! Thanks angelom...
Some Tests:
** After mounting sdcard as read/write ntfs, camera app also can be able to record photos and videos to ntfs...
** Watching movies over 4 gb size is not a problem anymore. 1080p Mkvs with no lag at all...
** Most of the 3rd Party apps recognize ntfs formatted sdcard like it is fat32...
** Stock Video Player dont see NTFS so i use BSPLAYER LITE ( best for mkv on note ) OR MX VIDEO PLAYER !!! ( U can use ES file explorer to play videos with stock video player )
** Stock app like gallery dont see the files in ntfs sdcard... Quickpic app also doesnt work with ntfs formatted sd card...
PERFECT VIEWER CAN DISPLAY IMAGES AVAILABLE FROM NTFS SDCARD.... ( THANKS BROTBUEXE)
** You can use free apps like MyMusicOn or MixZing Basic to play music files which are in ntfs formatted sdcard...
** We have to repeat steps 4 and 5 after every reboot. Gscript lite app helps here so much with its shortcuts...
** We have to repeat steps 4 and 5 after using usb mass storage mode...
** Ntfs formatted sdcard also is recognized by windows when Gnote is using usb mass storage mode...
** I am getting very low transfer speed for small files in windows when Gnote is using usb mass storage mode... for big files it is as fast as Fat32...
My config:
MySAM ed.1 Rom
Abyss V2.5 Kernel
32 gb class4 SDCard
How to: READ/WRITE NTFS
1- Flash Abyssnote Kernel - Latest Version : http://forum.xda-developers.com/showthread.php?t=1362424
2- Format sdcard to ntfs in windows and plug it to phone.
3- Power on phone and GNote will recognize ntfs formatted sdcard as blank sd.
4- Download ntfs-3g.zip from attachment...
4- Extract zip and copy " ntfs-3g " to /system/bin/
5- Reboot
6- Install Terminal Emulator from market.
7- Enter these lines in terminal emulator. ( insmod commands are optional for abyssnote kernel since they are loaded automatically but for other kernels u have to use insmod commands )
a- To mount ntfs formatted sdcard
su
chmod 755 /system/bin/ntfs-3g
insmod /lib/modules/fuse.ko
ntfs-3g /dev/block/mmcblk1p1 /mnt/sdcard/external_sd
vold
b- To mount ntfs formatted usb hdd or usb stick
su
chmod 755 /system/bin/ntfs-3g
insmod /lib/modules/fuse.ko
ntfs-3g /dev/block/sda1 /mnt/usb
vold
or create a newfolder named usb in internal sdcard
su
chmod 755 /system/bin/ntfs-3g
insmod /lib/modules/fuse.ko
ntfs-3g /dev/block/sda1 /mnt/sdcard/usb
vold
5- now goto settings-storage and select mount sdcard ( only for sdcard not usb stick )
6- now your ntfs formatted sdcard or usb memory stick should be recognized by system as read/write
7- After every reboot u have to repeat steps 4 and 5 !!!
8- To unmount usb hdd:
a- Run Terminal Emulator
b- Enter This line:
su
umount -l -f /mnt/usb
umount -l -f /mnt/sdcard/usb
c- now your usb hdd is unmounted.
d- You can safely remove it from otg cable.
** You can download "Gscript Lite" from market and create these scripts as shortcuts in your home screen so u dont have to enter line every time after reboot... ( Market - Free )
** Use "Autostart" app or "script manager" app to run script on boot... ( Market - Free )
** Use "elixir 2 widgets" app or " any cut " app to create a shortcut directly on home screen to settings-storage... ( Market - Free )
*** UPDATE 10-JAN-2012
I realized that after executing ntfs-3g , our ntfs formatted card is automatically mounted by the system even it says Blank SD in notification page... No need to go to settings-storage-mount sd card...
So if the blank sd message in noti. doesnt bother us, then no need to look for how to mount ntfs sd automatically... It is already mounted...
I use script manager to load the ntfs-3g script during boot and thats it... After boot i use my ntfs formatted card...
*** UPDATE 21-JAN-2012
While trying to get rid of blank sd noti, after running vold command, noti has gone, surprisingly...
No more " Blank SDCARD " or " Blank Usb Storage " in the notification bar.
Simply add " vold " command to end of script
...
After reboot "blank sd" noti will gone...
vold command remounts all storage.
Dont bother even settings-storage shows sdcard as unavailable since it is already mounted and recognized by the system...
Hope this helps,
THANKS GOES TO angelom, The_Steph, brotbuexe and to all who i forgot to mention....
Kind Regards,
ONLY AMIGA MAKES IT POSSIBLE !!!
Dear Friends,
Here is some info for read/write ntfs by fuse.ko module and ntfs-3g driver for GalaxyS2 but they failed to run in G-note when i try in terminal emulator...
http://forum.xda-developers.com/showpost.php?p=15001824&postcount=23
I hope someone may recompile fuse.ko for G-Note so we can use ntfs as read/write ... I dont know whether kernels has to be patched for fuse.ko support or not...
********** OLD INFO for READONLY NTFS as REFERANCE - OUTDATED !!!
I have managed to read ntfs for both ex.sdcard ( tested ) and usb otg devices ( not tested )... Needs ROOT ! Ntfs Read Only !
I wish some devs recompile ntfs.ko module as read/write so we can use all time ntfs formatted ex.sdcards...
Sdcard method is tested by me and i have watched 10 gb " last samurai " 1080P mkv movie with mx player flawlessly...
I dont have a usb otg cable so i couldnt test usb hdd or usb stick but i guess they will work, too. ( your feedback is needed here )
All Info is collected from xda forums. Combined and tested by me for G-Note...
My config:
MySAM ed.1 Rom
Abyss V2.5 Kernel
32 gb SDCard
How to: READONLY NTFS
1- Format sdcard to ntfs in windows and plug it to phone.
2- Power on phone and GNote will recognize ntfs formatted sdcard as blank sd.
3- Install Terminal Emulator from market.
4- Enter these lines in terminal emulator.
a- To mount ntfs formatted sdcard
su
insmod /lib/modules/ntfs.ko
mount -o umask=000 -t ntfs /dev/block/mmcblk1p1 /mnt/sdcard/external_sd
b- To mount ntfs formatted usb hdd or usb stick
su
insmod /lib/modules/ntfs.ko
mount -o umask=000 -t ntfs /dev/block/sda1 /mnt/usb
5- now goto settings-storage and select mount sdcard
6- now your ntfs formatted sdcard should be recognized by system as external_sd but READONLY. You can play full size mkv movies...
To unmount usb hdd:
1- Run Terminal Emulator
2- Enter This line:
su
umount -l -f /mnt/usb
3- now your usb hdd is unmounted.
4- You can safely remove it from otg cable.
** You can download "Gscript Lite" from market and create these scripts as shortcuts in your home screen...
Kind Regards,
PROTOCHIP,
I carefully read your posts but I don't understand where ntfs.ko comes from. I used MySam Ed and AbyssNote kernel (I am on KL7 now) and I did not manage to understand where that ntfs.ko modules is. I saw your posts with angelom on AbyssNote thread but the question still remains.
Can you explain where it is from and if, for instance I could use it with another kernels ?
As I have ordered a 64 micro SDXC card for my toy, I really expect to be able to see films in HD with being bothered by file size. And if it is possible to have a read/write access to the card, it would be really amazing.
Thanks in advance for the upcoming info on the subject.
Dear The_Steph,
Actually i dont know where the file comes from but after flashing MySAM rom to phone, ntfs.ko is located in /lib/modules/ ... In case it is needed, i have enclosed the file here ... You can copy it to /lib/modules/ and try with other kernels... I tested it by Abyss but for ChainFire kernel and FM Kernel, i didnt test it...
My sdcard is class4 32 gb and watching Last Samurai as 1080p mkv from ntfs formatted sdcard is amazing... The mkv file is around 10.2 gb...
For ntfs read/write ; there is another module called fuse.ko and driver called ntfs-3g but as far as i know these modules have to be recompiled for our kernels...
Hope this helps,
Kind Regards,
PROTOCHIP,
It is not in stock KL7 ROM and does not seems to be in MySam too. I read the post you linked. I understand now a bit more.
As I am planning to move to XtraLiteRom from Cassie today, I will try to do some tests tomorrow using the ntfs.ko and above 4GB files. I'll reports afterwards.
As you stated, maybe read/write library can be recompiled for the SGN.
It it is possible it would be awesome. Hopefully, a master in modules compilation will see this thread
Edit: I hope I helped a bit posting reference to this thread in RiverSource kernel thread.
Really looking forward to development on this matter.
I tried now with a USB stick format ntfs
1) I inserted the file ntfs-3g for GS2 in /system/bin with the proper permissions
2) Reboot
3)Then I inserted the usb stick with the otg cable into the phone, so I typed from the terminal emulator:
su
insmod /lib/modules/fuse.ko
ntfs-3g /dev/block/sda1 /mnt/usb
And now the usb stick can be read and written
angelom said:
I tried now with a USB stick format ntfs
1) I inserted the file ntfs-3g for GS2 in /system/bin with the proper permissions
2) Reboot
3)Then I inserted the usb stick with the otg cable into the phone, so I typed from the terminal emulator:
su
insmod /lib/modules/fuse.ko
ntfs-3g /dev/block/sda1 /mnt/usb
And now the usb stick can be read and written
Click to expand...
Click to collapse
Dear angelom,
Thats great... Gonna try it again... Thanks...
EDIT : It is working... THANKS... GUIDE AND TOPIC UPDATED !!!
Kind regards,
Sent from my GT-N7000 using xda premium
As planned, I did some tests this morning with my Cassie's XtraLiteROM v5 (stock KL7 kernel) as I have a spare 16GB micro SDHC card.
I formatted my card in NTFS and put it in the slot. Rebooted my SGN and got the message as my SD Card is empty. So i plugged my SGN to my PC to see what was wrong with libraires.
First point, as I use Multimount SDCard, my internal memory and external SD card are automatically mounted when my SGN is connected via USB. Which make me realised that even if librairies were not working, the NTFS formatted card can be read/written by Windows even if the SGN is not able to read it.
Once that seen, I tried to do your step by step tutorial (which was not working because I initially forgot fuse.ko in /lib/modules) and got the following error message:
insmod: init_module '/lib/modules/fuse.ko' failed (Exec format error).
So I created a /sdcard/ntfs-3g/ folder and put fuse.ko in it as I saw on another thread but it did not work. I rebooted my SGN and found that what was working the first time (automatic mount of SD cards) did not work anymore. Strange.
Looking for clues on Google, it seems that fuse.ko needs to be compiled for the kernel magic number to properly start (CL823206 for XXKL7). So, two cases: we are lucky that the kernel magic number was the same as angelom base (what a luck), or angelom compiled the fuse.ko for his kernel magic number (likely).
So my question is now, did angelom compiled the fuse.ko file for his kernel?
Next steps for me are to move my KL7 kernel to angelom's and to automate the SDCard mounting process (I'm pretty sure a script in init.d could do the trick).
Dear The_Steph,
Pls Follow the steps in the updated first post and the right files are also enclosed in the post. I guess u have to flash Abyss kernel... My Sdcard is now ntfs and even the camera app can read and write to it... Just woow... Now Watching 1080p Avatar movie... show off time !!!
Kind Regards,
Other than the ability to use bigger size files, is there any advantage of using ntfs ?
THere are the new 64gb cards . was wondering if there would be any benefit in using them in ntfs
drgopoos said:
Other than the ability to use bigger size files, is there any advantage of using ntfs ?
THere are the new 64gb cards . was wondering if there would be any benefit in using them in ntfs
Click to expand...
Click to collapse
Dear drgopoos,
Main purpose is to be able to use larger files than 4 gb, other then i didnt realize any speed improvements regarding to my short time tests... Forum User " The_Steph " got a new 64 gb SDXC card and he is starting to test it with ntfs i guess... He will kindly report back soon...
Kind Regards,
My 64 card has been ordered at Amazon and it is planned to be delivered to my house the 4th of January.
As the SGN does have a big enough internal memory to store all daily files such as applications, pictures and data, my only aim using this modules is to be able to store HD movies on it (always bigger than 4GB) as I mainly use my SGN as an HD PMP during my daily commuting. I don't really care about the rest since as I said eearlier, it cans be hosted in the internal memory.
I am currently doing some tests with an old 16GB SD Card before my big jump to the 64GB world
I have now tests to do with AbyssNote 2.5 kernel then
An aditional question, is you fuse.ko removed from /lib/modules each time you restart your SGN?
The_Steph said:
An aditional question, is you fuse.ko removed from /lib/modules each time you restart your SGN?
Click to expand...
Click to collapse
Dear The_Steph,
No, It is always in /lib/modules... I have several times restarted my Gnote and never copied fuse.ko... Weird...
Kind Regards,
PROTOCHIP,
I think this then because of angelom that kindly added fuse.ko and ntfs.ko in the /lib/modules
Moved to angelom's AbyssNote 2.6 kernel and did your step by step procedure. Everything is now working perfectly
Next point is now how to automate it to automatically mount the card at Android startup and unmount it when shutting it down.
Dear The_Steph,
Yeah these files must be related with the kernel itself... By the way, is abyss v2.6 released? I cant find it...
Kind Regards,
PROTOCHIP,
Did not look for AbyssNote 2.6 yet as I was working on automation.
BTW, I succeded in automation of launching script with autostart https://market.android.com/details?id=nk.bla.android.autostart.
Last point to do is finding the settings > mount SD card script line to finalise a complete NTFS formatted card mount script at start
Once done, I will create a CWM flashable file to ease the process.
I have voted this thread 5-star that it deserves. CHEERS.
Here's my experience so far using stock KL7 deodexed ROM with Abyss kernel 2.5:
0. Firstly, I have a 32GB MicroSD card and I have successfully copied a 10gig 1080p MKV video file to it and played it without any issues on my Note thanks to this thread. THANK YOU heaps.
1. Using 'Script Manager' app, I can auto-run the script at bootup. But I still need to manually go to settings - storage and mount SD for it to be actually mounted. Is there a command to do this also at boot up via the same script? or is there no other way to mount it?
2. I noticed that all the video files in the \sdcard\external_sd are not seen by the media scanner. So the videos do not show up in Videos app and my favorite video player which is Act 1 Video player. (it just goes by the media scanner indexing and has no option to specify folders manually) Is there a way around this? or is this a limitation that is unavoidable?
3. I have no issues with connecting it as mass storage to my PC using USB cable and can copy files without any issues or speed loss to my MicroSD card. Awesome. (I get 11MB/sec consistent write to my Lexar 32GB class 10 card)
Anyways, overall, I'm super duper happy. =)
But yeah, solutions for #1 and #2 would make it perfect.
Dear jakiman,
Thanks for the feedback...
1- We are all looking for a solution to mount automatically... At least in new abyss kernel V2.6, fuse.ko will be automatically loaded during startup so there will be no need to use it in scripts i guess...
Use Autostart app or script manager to run script on boot...
Use elixir 2 widgets app to create a shortcut directly to settings-storage...
2- Stock apps has problems recognizing ntfs files... We have to use 3rd party alternatives...
For videos i use mxplayer and bsplayer.. Bsplayer is much more smooth that make me shocked...
For photos neither stock nor 3rd party apps i tried could read ntfs files... So viewing photos from ntfs is still problem... i select the file with es file explorer and then choose gallery to show photo file from ntfs.... I copied all photo files to internal memory for a temporary solution...
3- My card is 32 gb class4 and that may be the problem for copying small files... For big files like movies i get 7 mb/s transfer rate with usb mass storage mode on windows7...
Kind Regards,
Sent from my GT-N7000

[Q] Help can't get ntfs to mount!

Hi there ok so I have my Samsung S5 active I rooted it with towelroot.
So now I am trying to get my ntfs formatted 64Gb sd-card to mount on my phone.
So I write 0 to the full sd-card to allow me to format my sd-card to ntfs on windows without error.
I install 'Paragon NTFS & HFS+ / Tools' on my phone to mount the sd-card it did not work.
So I let and am trying to mount my sd-card using the Terminal, so I use adb shell to access my phone Terminal.
so from what I have found out is that /dev/block/mmcblk1p1 should be my sd-card device, like /dev/sdb1 in linux,
and I am trying to mount it to /storage/extSdCard so I am running the command,
Code:
su
ntfs-3g /dev/block/mmcblk1p1 /storage/extSdCard
and I am getting this error
ntfs-3g-mount: mount failed: Permission denied
I let as far as remounting everything in /proc/mounts to read/write mode and I still got the error and even doing
Code:
chmod 777 /dev/block/mmcblk1p1
chmod 777 /storage
chmod 777 /storage/extSdCard
and I still am get the error
ntfs-3g-mount: mount failed: Permission denied
anyone know what I am doing wrong I ran all the above command as root, and no luck anyone help please.
ps. I really don't what to use exfat every time I mount it in linux it end up getting corrupted and I use linux a lot, and I don't what to use fat32 just in case I ever end up make a file that larger 4G on my phone
Thank You!
I have no issues with the format tool from the phone under storage settings, I too use linux on my main PC and I can browse the card fine just by plugging my phone in with the ad card in it. You really shouldn't be trying to use ntfs with linux anyway, and in case you didnt know android is linux based, so that may be part of your problem. If your phone can read the card correctly then it sounds like an issue with your computer so i would look there possibly.
Rakuu said:
I have no issues with the format tool from the phone under storage settings, I too use linux on my main PC and I can browse the card fine just by plugging my phone in with the ad card in it. You really shouldn't be trying to use ntfs with linux anyway, and in case you didnt know android is linux based, so that may be part of your problem. If your phone can read the card correctly then it sounds like an issue with your computer so i would look there possibly.
Click to expand...
Click to collapse
yea I know I should not use ntfs with linux, and I know android is linux based.
I think it the fact that I am using 64bit linux which is causing the problem with me being able to use exfat with linux
so I thought about trying to get ntfs to work on my phone because I have a ntfs storage partition on my main computer so I reboot into my windows partition and I never have a problem with that.
but anyway I just gave up with trying to use ntfs on my sd-card and format it to ext2 and got it working first try on my phone, now I just hope that next time I'm in windows and I need to move files to my sd-card it will not give me to many problem I know there are way to make it work.
But thank for the help anyway.

Is USB Mass storage possible?

I Is it possible to mount the internal storage as USB Mass Storage device on the PC. I like to sync the memory to PC from time to time. It is important that the internal storage is mounted as a separate drive and not a portable device.
jesrani said:
I Is it possible to mount the internal storage as USB Mass Storage device on the PC. I like to sync the memory to PC from time to time. It is important that the internal storage is mounted as a separate drive and not a portable device.
Click to expand...
Click to collapse
Yes, just select the USB notification you get when you connect it and instead of charging you can choose to mount it as a drive.
jd1001 said:
Yes, just select the USB notification you get when you connect it and instead of charging you can choose to mount it as a drive.
Click to expand...
Click to collapse
When I select File Transfer option, it mounts as a portable device and not with a drive letter. As a portable drive I am able to access the files but cannot do automated backups using many backup software. Need to mount with a drive letter.
jesrani said:
When I select File Transfer option, it mounts as a portable device and not with a drive letter. As a portable drive I am able to access the files but cannot do automated backups using many backup software. Need to mount with a drive letter.
Click to expand...
Click to collapse
There's a reason for that. Read this:
http://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
Alternatively, you could enable USB debugging and use ADB commands or something to back up device data.
If your rooted try USB mass storage enabler (UMS enabler v1.6). I have not tried it myself
Amd4life said:
If your rooted try USB mass storage enabler (UMS enabler v1.6). I have not tried it myself
Click to expand...
Click to collapse
Our phones CAN NEVER do USB Mass Storage, NO MATTER WHAT.
http://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
We use EXT4 or F2FS, but not FAT(16) or FAT32 anymore.
OP or Mods, please close this thread as answered.
card13 said:
Our phones CAN NEVER do USB Mass Storage, NO MATTER WHAT.
http://www.howtogeek.com/192732/android-usb-connections-explained-mtp-ptp-and-usb-mass-storage/
We use EXT4 or F2FS, but not FAT(16) or FAT32 anymore.
OP or Mods, please close this thread as answered.
Click to expand...
Click to collapse
Lol! My linux box can read any file system. The issue is that internal storage is part of data now.
That said usb mass storage drivers work fine. There is a virtual cd drive with drivers. Im just wondering what linux /dev that is on the phone so I can wipe it and cram something else in there… make a rescue boot out of my phone!
uudruid74 said:
Lol! My linux box can read any file system. The issue is that internal storage is part of data now.
That said usb mass storage drivers work fine. There is a virtual cd drive with drivers. Im just wondering what linux /dev that is on the phone so I can wipe it and cram something else in there… make a rescue boot out of my phone!
Click to expand...
Click to collapse
If you want to boot a distro or windows or even a UBCD type ISO from the phone, that's what DriveDroid is for.
SpasilliumNexus said:
If you want to boot a distro or windows or even a UBCD type ISO from the phone, that's what DriveDroid is for.
Click to expand...
Click to collapse
I tried it. It doesnt work at all on my device (OnePlus 3T) and the interface blows badly, although I hacked my own APK that works great. No interface, just tap an ISO from anywhere.
Sent from my ONEPLUS A3000 using Tapatalk
Shameless plug. Here is my solution. https://forum.xda-developers.com/showthread.php?t=3570546
Sent from my ONEPLUS A3000 using Tapatalk

Categories

Resources