Formatting USB flash drive using my T701T dock - Asus Transformer TF701

Hey, another slightly dumb question from me. After finding one of my old flash drives in need of a format I wondered - is it at all possible to format an unreadable USB flash drive using an android device (e.g. my TF701T dock + drive in the dock)?
I read some things from the web, found out it was possible to format using a mkfs.xxx command if you were rooted with BusyBox running. I used a df command and saw that my particular messed up flash drive was visible as the standard /Removable/USBdisk1 but as I am kind of scared to unlock and root, I still want to know - is it possible to format a flash drive from Android without root, or if I NECCESSARILY have to root, can I format a drive into FAT32 or NTFS (do commands like mkfs.ntfs or mkfs.fat32 even exist, lol?)

Related

Emulate External CD Drive

I was wondering if it is possible to emulate an external cd drive with the captivate. Essentially i would use an iso image from the sd card and boot servers/pc's with the phone rather than carryin an external cd drive and cd's. Any idea if this is possible?
I'm not sure this is the right place for this post, but if I understand what you're trying to do then I think the answer is that you can probably do what you want. I don't think there's any way to mount an ISO image on the SD card and make it look like a CDROM, but most newer PC's will allow you to boot off of a USB flash (or hard) drive. Since the Captivate can appear to the PC as a flash drive you should be able to put a bootable image on it and boot your PC that way. You can probably even set up some sort of boot manager to be able to select different OS's if you needed more than one.
Just google how to boot whatever OS you want from a flash drive and follow the instructions using the captivate as the flash drive. I've never tried it, but I don't see why it wouldn't work.
First off, I don't believe this relates to development.
Second, I've had to boot several netbooks from USB drives before. The easiest way that I have done it, is to download the program called UNetbootin. Run that, select the .iso, select the drive, and it does all of the work for you. I'm not sure if it would with a Captivate, but its worth a shot.
I know i can boot via usb drives, but depending on the type of disc i want to boot it gets complicated and i need more than one usb drive or i have to fashion a multiboot usb flash drive.
Either way its not 100% and its not as easy as selecting a new iso you download to boot from. When troubleshooting servers and such its handy to have bootable cd media.
I would assume there should be a way to emulate other devices with an android, all dependant of course on the usb controller. I didnt want to dig too far to find out, but if any one knows if it is possible it might be worth it for me to code it out.
I dont see why it would not relate to development as it is a development related question.

[Q] How do i send data to hdd external or flash disk?

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?

[Q] Is there a way to wipe/re-install with lost encrypted password?

Dear all,
I have TF701t and when it boots it asks me to type password to decrypt storage.
As far as I remember I never put one?!
It got drained batteries a few times and this could initiate the problem.
To get it work again I tried many things; to wipe, reformat sdcard but without luck.
I can fastboot and boot recovery.img and after that adb shell so this was my hope to fix it.
When I wanted to install new ROM *any* installation failed as it can not write to memcblk0,
tried manually (via adb) to mount partition, to reformat, even used gparted, but no luck.
Do I have any option to make it usable again? I am willing to wipe it or reset to factory state if possible.
Is this all because of encryption that is messing with storage?
I have external class 10 64G card I could use instead device memcblk0 if this is possible?
If there is someone having similar problems,
with possible solution I would appreciate any feedback!
Thanks in advance,
cheers
Ivica
it sounds as if you are having the same issues as posted in the thread below. Maybe your internal memory is dead or dying. You should be able to install the latest firmware from the ASUS website which will simply restore your tablet to factory.
http://forum.xda-developers.com/transformer-tf701/help/dead-mmc-ideas-t2830332
I have looked at the thread before but it is not the same problem I have.
My problem is that I can not do anything on the /cache or /data which are probably (they are) encrypted, that is the reason why can not flash image or install ROM, I think.
If I try to mount /cache (or data) manually using adb shell
mount -t ext4 /dev/block/mmcblk0p5 /cache
it complains about Invalid argument, so formating (delete, wipe whatever) is having the same issue ... I think it is all because there are SELinux or encryption in the play, some extra bits set to fs that I can not get rid off.
In other words, is there a way to format and do repartitioning of whole or only parts mmcblk0 where there is encryption on some partitions (i.e. cache -- p5, data --p12)?
Think partitions are OK, not dying because whatever I do at the end it boots and I get white screen to type in passwd for decrypt storage.
I can even go to setting and look about kerner, ID, sound, turn on wifi etc..
I am willing to do full wipe if needed just to make it work again.
Thanks for your time!
Ivica
K94U said:
it sounds as if you are having the same issues as posted in the thread below. Maybe your internal memory is dead or dying. You should be able to install the latest firmware from the ASUS website which will simply restore your tablet to factory.
http://forum.xda-developers.com/transformer-tf701/help/dead-mmc-ideas-t2830332
Click to expand...
Click to collapse
what version custom recovery are you running? Or are you stock?
Still I can not believe it is not possible low level format of internal card to override that encryption...:crying:
I am on ASUS stock
KOT49H.WW_epad_11.4.1.17_20140711 Android 4.4.2
kernel 3.4.66_g96e53b8 [email protected] #1 from 11-Jul-2014
If you have any idea how to wipe the card and install or custom or asus stock let me know!
thanks
Ivica
K94U said:
what version custom recovery are you running? Or are you stock?
Click to expand...
Click to collapse
you might want to try contacting ASUS first. otherwise, you can try to upgrade to the latest firmware on your tablet which is WW_11.4.1.30 I believe. By using the SD card update method it should completely wipe your tablet.
If you want to use Asus Bootloader to upgrade your Firmware/Android release from Asus, then rename UL-K00C-KEYBOARD_CODE-FIRMWARE_NUMBER-user.zip (like UL-K00C-WW-11.4.1.17-user.zip) to T4_SDUPDATE.zip and copy it in the root folder on a MicroSD card that you will insert in Asus tablet. Then use use RCK option in the Asus bootloader to read the file and launch the upgrade. more info on installing a custom recovery can be found here: http://wiki.cyanogenmod.org/w/Install_CM_for_tf701t
here is the US link for the firmware update from Asus: http://www.asus.com/us/Tablets_Mobile/The_New_ASUS_Transformer_PadTF701T/HelpDesk_Download/
Thanks for the tip
but not working, tried that before and now once again :crying:
Starts ok, after 10-20s android turns on his back and red triangle with !
After ~50s it reboots into the same state as before, like it can not format/overwrite anything on the encrypted partitions of /system and /data and /cache.
Tried to do that via adb shell and was not able.
After it reboots I get that white screen with asking to enter passwd to get into encrypted system. What is interesting is that is gets into state making "click" sound (the same as when typing) every 1-2 s interval.. And that goes on forever, have to mute sound or turn off.
Cheers,
Ivica
p.s. when get time I will try to use external card to boot from (like in one post before) or even install linux on the the external SD.

Any USB-OTG compatible kernel/rom/tweak/mod?

I want to use a USB OTG cable to make nandroid backups on a USB drive.. And, if possible, I want to be able to access files from solid explorer..
I'm currently on stock 5.0.2, stock kernel.. USB mouse works, but USB drive doesn't..
Anyone can confirm a working rom, kernel, mod, tweak or recovery that supports USB-OTG?
NeriL said:
I want to use a USB OTG cable to make nandroid backups on a USB drive.. And, if possible, I want to be able to access files from solid explorer..
I'm currently on stock 5.0.2, stock kernel.. USB mouse works, but USB drive doesn't..
Anyone can confirm a working rom, kernel, mod, tweak or recovery that supports USB-OTG?
Click to expand...
Click to collapse
It's working on anything CM12.1 based.
LuK1337 said:
It's working on anything CM12.1 based.
Click to expand...
Click to collapse
Nice! Thanks for the info! =)
Sent from NeriL.device using NeriL.preferredApp
Wich file explorer are you using? ES file Explorer can access files on usb otg.. What I need is native support
Sent from NeriL.device using NeriL.preferredApp
NeriL said:
Wich file explorer are you using? ES file Explorer can access files on usb otg.. What I need is native support
Sent from NeriL.device using NeriL.preferredApp
Click to expand...
Click to collapse
I'm using File Explorer app (fx)
I made it work on stock lollipop!
USB drive was formatted with fat32, and it was not recognized by CM12.1.. So I decided to format it using android (in storage settings).. Then it worked! I unplugged otg cable and connected USB drive to my laptop, and filesystem was still fat32 (maybe android handles it with another method?)..
Then I restored my stock 5.0.2 nandroid backup, plugged it and it still worked! I finally plugged it on recovery and still works!
Lollipop is already compatible with USB drives, but they need to be formatted using android
I think your USB drive could have been formatted with some unsupported partition layout mbr/gpt.
My phone has recognized every USB drive I plug in but only shows the first partition when I tried a drive with many partitions (w8.1 installation for example)
fburgos said:
I think your USB drive could have been formatted with some unsupported partition layout mbr/gpt.
My phone has recognized every USB drive I plug in but only shows the first partition when I tried a drive with many partitions (w8.1 installation for example)
Click to expand...
Click to collapse
Last time I made a bootable drive, it was memtest.. Then I deleted all partitions and created a FAT32 partition using CMD->diskpart
I'm REALLY sure it had 1 partition before formatting with android

Modding without MicroSD

Hi, i've just bought this phone and i'm waiting for it to be shipped to me. It is my first phone that comes without a MicroSD which i heavely used for modding to store APK, Rom zips, etc. This way i was able to totally clean the device formatting cache, dalvik, vendor, data, etc. each time i had to swap from a ROM to another, and to clean the device from time to time to keep it as smooth as possible. This will not be possible with my new Mi 9T Pro, but i was thinking if i could use a USB-C Flash Drive to store what i used to store on my MicroSD, will TWRP Recovery be able to read the Flash Drive and use it to Flash the ROMs on the device?
Twrp support install from usb otg, and u can even transfer file from pc to phone in twrp mode nowadays, using mtp mode.
No worry even u need to format internal memory, in twrp just connect to pc and transfer the file again.
You can just connect to pc as mentioned earlier. It's not a problem
Or you can use a USB OTG adapter with a USB drive or USB sdcard reader
It's definitely not a problem more like an annoyance, got used to mod freely without having to worry about files saved on my device because of an SDCard on my poco but now you have to think more deeply when flashing new roms because of the lack of external storage

Categories

Resources