[Q] Unable to select USB mode and do file transfer - Xperia Z1 Q&A, Help & Troubleshooting

I was wondering if it is possible to transfer files from my Z1 to a linux desktop without installing any softwares?
Currently I think I am unable to do so because the option of USB Connection Mode is greyed out, rendering me unable to do anything about it unless I install the software (as depicted here)
And thus, are there any 3rd party apps that I can install or tweak some settings in my phone so that I can transfer files?

Salik89 said:
I was wondering if it is possible to transfer files from my Z1 to a linux desktop without installing any softwares?
Currently I think I am unable to do so because the option of USB Connection Mode is greyed out, rendering me unable to do anything about it unless I install the software (as depicted here)
And thus, are there any 3rd party apps that I can install or tweak some settings in my phone so that I can transfer files?
Click to expand...
Click to collapse
Most devices nowadays (if not all of them) use MTP to transfer files from and to the device. MTP is not well supported under Linux as far as I'm aware, there are a couple of guides out there to get it working, you shouldn't have too many issues finding those by using Google.
Personally I prefer to use ADB to transfer files between my device and my desktop, you'll have to have some experience working with the terminal, it's not hard though.

Related

HTC Shift Debug Tools and SD access

Dear All,
Just installed the 1.29 which enables voice calling (but no mic).
I noticed that there's a full suite of debug tools on this rom, and especially interesting are :
QXdmSDlog.exe - seems to be able to write to SD ! (I coudn;t get it to work yet)
Debugtools 3.2 (one can set the radio flags in here, and also enable USB bridging it seems
GPSRouter.exe seems to be able to route GPS info to the Vista part (unconfirmed)
I wonder if there's anyone who has done some testing with these three debugtools, and what success they have.
I set the radio flags to 4xx as described, but the SD tool won't log to SD yet.
There's a difference in DebugTools, one has to access them from the SnapVue settings icon, not from the start menu...
Please dump the tools and attach on this thread
Hi,
Appreciate if you can copy the tools or the folder (HTC Debug folder) and zip and attach it here on this thread
lucid said:
Dear All,
Just installed the 1.29 which enables voice calling (but no mic).
I noticed that there's a full suite of debug tools on this rom, and especially interesting are :
QXdmSDlog.exe - seems to be able to write to SD ! (I coudn;t get it to work yet)
Debugtools 3.2 (one can set the radio flags in here, and also enable USB bridging it seems
GPSRouter.exe seems to be able to route GPS info to the Vista part (unconfirmed)
I wonder if there's anyone who has done some testing with these three debugtools, and what success they have.
I set the radio flags to 4xx as described, but the SD tool won't log to SD yet.
There's a difference in DebugTools, one has to access them from the SnapVue settings icon, not from the start menu...
Click to expand...
Click to collapse
I have tested with BTRouter and BTTest and found by disabling the port you could write to COM8 and once you disable it USB port would go away.
If you could provide me the tools you are talking about and the ROM, I can take a look into that.
Note: I can say one thing, since the SD is not activated, probably SD tool wont log to SD. I may be wrong too, that tool might be activating it too.
Thanks
Ram

how to mount windows phone as drive?

how do you mount a windows phone 8 as drive? (etc: e:/) i want to get import some app data and change my other phone to windows phone
You don't, unless you have a (very rare and not available for sale) engineering/development device. Retail WP8 devices use Media Transfer Protocol (MTP, same as cameras and many MP3 players). You can browse part of the filesystem using Windows Explorer, and upload or download files from those parts that you can access, but you aren't directly interacting with anything that appears as a file system so you can't mount it as a drive.
@ Goodday
is that the same reason thats why you cant reach the files with the commandpromt from your pc?
I have beeing playing with the older version of windowsexplorer app......
The one you can use the cmd line..................i wanted to try the same from my pc but....no go.
just curious
Correct, CMD does not support MTP devices. Windows Explorer and a few other programs (Total Commander has a plugin for it, I think) can access MTP, but CMD only supports things that can be specified by UNC, and that doesn't include MTP.
EDIT: it's possible to actually run CMD on your phone, and access it using Telnet. You currently have to use an app sandbox (the CMD binary isn't signed, so far as I can tell, and therefore can't be run outside a sandbox) so the privileges are pretty limited even with capability-unlock and are minimal without it, but it's possible nonetheless.
so if it isn't possible to mount windows phone as drive, what about emulator on a phone? does it works?
wuiyang said:
so if it isn't possible to mount windows phone as drive, what about emulator on a phone? does it works?
Click to expand...
Click to collapse
As GoodDayToDie already stated in his previous post, it's not possible.

Usb/adb connection issue

I am having a problem when I connect my N6 to a computer.
I can use fastboot commands and I can connect when I check the 'Camera PTP' but when I select MTP to transfer files it isn't 'seen' by my computer.
I have tried everything (well not 'everything as the problem is still here )... changing USB cables, deleting drivers ect wiping my phone and reinstalling stock rom but all to no avail.
I have read about this fault http://android.stackexchange.com/questions/82059/adb-not-working-but-fastboot-is but I can't find a solution.
Any help out there ?
What camera app are you using? I would try a different camera app, or uninstall and reinstall the camera app, sounds like that's the issue. The fact that you can run ADB commands tells me the computer see's the phone, give that a go. I use "pro capture" it's like 3.00 but it is one heck of a snapper.
I only have stock camera at the moment. The problem isn't with the camera as the computer sees 'PTP' and I am able to transfer files that way.
The computer doesn't see the phone when I select MTP file transfer.
I am on Windows 10.
FYI - I have the same issue with Windows 10 not seeing my N6 via MTP, but I still can use adb/fastboot commands with it, and use adb push to push files to it. To move files to/from my phone, I use AirDroid.

Stuck on lockscreen without ability to type in password

Samsung Galaxy S10
Android 10
TWRP
Rooted with Magisk
I just put my phone in ultra power saving mode, but unfortunately i cant unlock the lockscreen because i disabled samsung keyboard and now there is no keyboard where i can type in my password, and since i am in power saving mode it also disabled my other keyboards
So i tried removing the screenlock by deleting the locksetting files in /data/sys/, but since my phone is encrypted i can only see nonsensical filenames, so i dont know which files to delete
Can i safely delete every file there ?
I dont want to factory reset my device because i have a lot of important data on it
I already tried to remove the lock using https://findmymobile.samsung.com/, but it says that that function is disabled on my phone
I have no physical keyboard that i can plugin in into my phone
Remove /Bypass Lockscreen With Recovery
Recently when i restored my data using TWRP i faced a problem at lock screen. I was not able to unlock my phone with the pin i set Earlier..So after so many attempts i was able to find a solution for that problem.(works with pattern,pin etc)...
forum.xda-developers.com
Can i safely delete the other files too ?
Because i dont know which encrypted filenames correlate to the files that i have to delete
EDIT: Thanks, i solved it by connecting a USB Keyboard to my phone using an USB-OTG connector included in the package of my Galaxy S10
If the device supports OTG, you can try connecting a full size PC USB keyboard via OTG.
I went through similar situation when I changed screen render resolution to less than half, then accidentally locked the phone, the keyboard and Screen-Guard were rendered at low resolution, and lock screen was not interactable.
The only way to restore that without prior arrangements was to flash stock Samsung ROM, via PC, with carefully choosing options to not format internal storage and data partitions.
If you have custom recovery, you could enable insecure USB debugging options in build.prop that always allows USB debugging via ADB, then re-install Samsung keyboard, or find some other solution with ADB.
If you have custom/twrp recovery, I'd say connect to PC in recovery mode and copy to PC all important files from /sdcard just in case.
Old Android versions like Android-5 had build.prop files where you could force USB debugging for development uses, that would Allow ADB even the device was locked.
I am not aware if newer Android versions allow that.
Once you get to TWRP, you need to use
Bash:
vi /system/build.prop
Or just
Bash:
echo "text-lines" >> /system/build.prop
To the build.prop file
in command line and enable debugging mode.
The build.prop lines :
Forced USB debugging
Harshiv989 said:
Old Android versions like Android-5 had build.prop files where you could force USB debugging for development uses, that would Allow ADB even the device was locked.
I am not aware if newer Android versions allow that.
Once you get to TWRP, you need to use
Bash:
vi /system/build.prop
Or just
Bash:
echo "text-lines" >> /system/build.prop
To the build.prop file
in command line and enable debugging mode.
Click to expand...
Click to collapse
I cant access /system/ from twrp, it just says that there is not such folder despite it being there, but i think that i have enabled debugging anyways and i already made a backup, which is somehow useless because of the encryption
Harshiv989 said:
If the device supports OTG, you can try connecting a full size PC USB keyboard via OTG.
Click to expand...
Click to collapse
I read in several other threads that in ultra-power-saving mode, android only allows USB devices to charge the phone, and i have no keyboard that i can plug in anyways, i cant buy one because everything is locked down (COVID)
The only way to restore that without prior arrangements was to flash stock Samsung ROM, via PC, with carefully choosing options to not format internal storage and data partitions.
Click to expand...
Click to collapse
As far as i know i cant just flash stock firmware without having to wipe my data
If you have custom recovery, you could enable insecure USB debugging options in build.prop that always allows USB debugging via ADB, then re-install Samsung keyboard, or find some other solution with ADB.
Click to expand...
Click to collapse
How could i reinstall samsung keyboard ? I have no access to the pm command in the twrp shell, and the files are encrypted anyways
Another related thing: https://forum.xda-developers.com/t/...-galaxy-s10-e-5g-exynos.4180287/post-84456927
I see that with combination of FBE, UPSM and disabled Samsung keyboard, you have put yourself in far more idiotically constrained situation than I had, as well as what Samsung devs imagined was possible.
With encrypted file system, you wouldn't even be able to flash an update.zip that includes a build.prop (from your stock ROM)with forced ADB enable-ment lines from recovery I guess. ( this is different than doing it from developer options, allows adb access without unlocking device )
I would still suggest you to charge your phone 100% and attempt a HW external keyboard method,
I am willing to bet Samsung was not stupid enough to block USB I/O devices at kernel level in UPSM.
You don't necessarily need to buy a new keyboard, just find one that connects to PCs via USB, wire or wireless dongle, either should work (no RGB/W backlights in keyboard if wired, we want a low powered keyboard, smaller if possible), from any other computer geek you know, and an OTG connector.
I have always been able to flash the stock ROM that only rewrites /system partition, and leave /data mostly untouched, have done it numerous times with odin, with new devices, you should be able to do that.
The device encryption is a hurdle which severely limits your options.
Also, my UPSM allows both wifi, and Bluetooth, if you had either of them ON, you could use a Bluetooth keyboard or debugging via wifi, if Bluetooth keyboard was previously paired(it auto connects), or wifi debug feature was set up already , ADB access might be possible, though wifi ADB is more secure, unlikely to work in locked screen guard state.
funny the most command and most upvoted answer for this issue on the internet for the average joe (not xda) is to reset the mobile.. disgusting reallly.. i also cannot imagine do the massive reconfiguration for this trivial issue. just had the gboard disappear and took a really short time to plug PC keyboard and an adapter i always have with me.
plug and play to the rescue...

File Transfer stops mid way

Hello Realme X2 Pro owners,
I am lately facing an issue where I tried to transfer a movie to the phone through USB and the progress bar proceeds only for some time and then stops. The file is not transferred. However small files like the subtitle files and other pics are copied over. I have tried the usual steps
restarting phone and PC
changing the USB type to file transfer from the drag down
toggling the various options in developer mode for file transfer and pic transfer
enabled and disabled USB debugging.
I had tried to unlock the bootloader to install a custom rom last month; however as the new update does not allow the fastboot option it did not allow the deep check app to run completely. AM not sure if this has anything to do with it. I am still on the STOCK Realme 1.0 March update.
EDIT: Miraculously it now works. Nothing changed, nothing done.
So glad to hear that. Next time, maybe you can try a third-party program like Coolmuster Android Assistant to help you do that. Such program can help you add videos to your phone via USB cable easily. Hope this will be your help.

Categories

Resources