Lineage on S5 - No folders on PC - LineageOS Questions & Answers

Hi folks,
Lineage 16 (latest version) is now installed on my S5, however when I connect the USB, the phone just shows as 'SM-G900F' on my W10 PC and cannot be expanded, basically no Phone and Card folders.
I can see them in the phone no problem, but once I connect it, I am not prompted with the usual message on what I want to do, like file transfer etc. and on the left menu appears only the model of the phone.
I had no issues when I flashed the original firmware, so it must be related to Lineage.
I also installed the Android USB drivers, but no go.
Changing the USB Preferences, to PTP or File Transfer only allows me to see the phone folder but no SD.
I also tried a new SD, no success.
Any thoughts?
Thank you,
Alex

kwajongen said:
Hi folks,
Lineage 16 (latest version) is now installed on my S5, however when I connect the USB, the phone just shows as 'SM-G900F' on my W10 PC and cannot be expanded, basically no Phone and Card folders.
I can see them in the phone no problem, but once I connect it, I am not prompted with the usual message on what I want to do, like file transfer etc. and on the left menu appears only the model of the phone.
I had no issues when I flashed the original firmware, so it must be related to Lineage.
I also installed the Android USB drivers, but no go.
Changing the USB Preferences, to PTP or File Transfer only allows me to see the phone folder but no SD.
I also tried a new SD, no success.
Any thoughts?
Thank you,
Alex
Click to expand...
Click to collapse
Do you have adopted or removable SD?

kurtn said:
Do you have adopted or removable SD?
Click to expand...
Click to collapse
I have re-flashed everything and started from the beginning.
lineage-16.0-20190918-nightly-klte-signed + open_gapps-arm-9.0-mini-20190921
SanDisk SD Card 32GB, either way I try to format it does the following:
Phone Storage: attempt to invoke virtual method 'java.lang.String android.os.storage.VolumeInfo.getId()' on a null object reference.
SanDisk SD Card unsupported
Portable Storage: When I hit format, it says: Your Card is ready to use - I click Done but still the cart shows in the Storage area as portable Storage SanDisk SD Card Unsupported
The card is OK, also because if I flash the original ROM the same card works perfectly and shows up in my PC too.
This is very annoying, I am stuck on this for days and even trying other cards I get the same.
I hope you can help me to resolve this matter.
Thank you!
Alex

Related

[Q] Class 6 MicroSD card 'disappears' in XP

Just want to know if the Desire HD has problems accessing the microSd card (especially if it's a class 6) when connected to a PC in 'Hard Drive' mode
Let me explain...
Firstly - I have a rooted phone with Android Revolution HD (v5.2.3)
I had the original 8Gb Class 2 card that came with the phone, which I swapped with a Kingston 8Gb class 4... had no problems with it.
I could connect up the phone to my PC (Windows XP + SP3) as 'Disk Drive' & copy files back & forth between them with no problems - no matter how large they are or what type
The 8Gb got a 'little full' recently (I filled it with APK Backups,Music ,ebooks & 'comics' etc), so brought a Samsung 16Gb Class 6 from Amazon
I connected up to phone as 'Disk Drive' & copied over the contents of the phone DIRECTLY to the 16Gb (which was in a Card reader) with no problems.. then put the 16Gb into the phone (after unmounting etc safely) & all apps etc work fine.
NOW - If I connect the phone up as 'Disk Drive' to the PC, although I can copy OFF the 16Gb to the PC with no problems,
If I try copying file ONTO the 16Gb (regardless of size/type)... I MAY be lucky enough getting 2-5 files across before XP 'loses' the drive & asks 'Please insert a disk into drive...'
Now I'm pretty sure it's not XP the problem - I can put the 16Gb into a card reader & files copy over with no problems (I've plugged the card reader into motherboard USB, front panel USB and even through a USB Hub)... it only seems to happen if I access the card through the Phone.
Is this because -
it's a Class 6 card...
A problem with the Phone design...
Due to ARHD Rom (if so would updating to the latest version fix this ??),
or is there a way to prevent XP from losing connection ??​Many thanks in advance
I think its a bug in that rom. It does not have anything to do with sd card, if you can, update it or just try any other rom and i am sure it will work.
kaleavi said:
I think its a bug in that rom. It does not have anything to do with sd card, if you can, update it or just try any other rom and i am sure it will work.
Click to expand...
Click to collapse
I may just try that in the future - just don't want to install a new ROM (It'll have to be latest ARHD anyway, as I have a full HTC Navigation licence) & then have to reinstall everything (yet again)
However I can currently get around this little 'problem' by using 'File expert' app & using FTP over my WiFi, as that seems to work OK,... a lot easier than having to remove the SD card each time
But thanks for the suggestion anyway

[APP] USB Mass Storage for Samsung Galaxy SIII Mini

Hi everyone!
I was looking around for an app that could share my SD card with a computer via USB Mass Storage protocol, but no success. There were apps for other phones, but they didn't work for my phone :/ So I've created something for my own, and I hope it will work for your phones too. My app works only for external SD card.
REQUIREMENTS
* Rooted Samsung Galaxy SIII Mini (GT-i8190). This app may work for other devices too, but I can not guarantee that.
I have tested it against:
* Android 4.1.2, firmware JZO54K.I8190XXAMD3
* Windows XP SP3
* Windows 7 64-bit
Not working on:
* CM 10.1
KNOWN ISSUES
* USB PC Connection will still display MTP/PTP mode, even if the mode is Mass Storage. I could fix that issue, but this will require permanent configuration changes, which I would like to avoid.
* Other USB modes (especially ADB) are disabled during UMS mode. This can not be overcome.
USAGE
* Launch the application, click Enable UMS. This will unmount your external SD card from the device, and when the card is unmounted, app will switch USB mode. You should see two new drives appearing in My Computer window. On the second one, your SD card data should appear.
* When you are done, eject (unmount) the drive in Windows.
* Click Disable UMS. This will switch USB to the state it was before enabling UMS, so MTP/PTP mode, as well as ADB will be back. Then, your SD card will be mounted in the phone. An MTP Application prompt may appear, asking to restart MPT application. You may answer what you wish
IMPORTANT NOTES
* Never mount SD card in the phone (Settings->Storage->Mount SD card) while it is shared with a computer. This will cause the card filesystem to be mounted concurrently by two operating systems, and for sure cause data lost.
* Always eject (unmount) the card from a computer before disabling UMS.
* It seems that results (especially glitches and hangs) vary depending on the SD card you are using. See this post by myself.
HELP, THERE'S SOMETHING WENT WRONG
* You may restart your phone. The app does not make any permanent configuration changes, so it's the safest option.
* Restart your computer.
* Unplug and replug USB cable.
* You may try to disable USB, wait for several seconds, then either enable it again, or from the system USB PC connection app, change the mode to PTP, and back to MTP. Be patient, and wait before performing next operation.
* Be patient. From time to time, the computer takes a lot of time to detect device going back from UMS to MTP/ADB.
* App not working. Describe the symptoms (app crash, phone crash, computer crash, nothing changes, etc), your device details (operating system version and build) and attach logcat (adb logcat -d -v long > filename.txt) logs.
P.S.
I would kindly ask moderators to move this thread to the appropriate subforum, if it is already not. Since I'm newbie, I can not post to Developer's forum. Thanks
404 Error. Please upload again
burak185 said:
404 Error. Please upload again
Click to expand...
Click to collapse
+1
burak185 said:
404 Error. Please upload again
Click to expand...
Click to collapse
There's something strange going on...
Please find attached app, I hope it will download
Edit: Still 404, since I can not paste external links (newbie), try http colon slash slash bogus.ovh.org slash UMSShare.apk
I tried UMS on XP and W7 but he did not work for me.When I want copy something, he says "copy..." and nothing happens.
sasa g said:
I tried UMS on XP and W7 but he did not work for me.When I want copy something, he says "copy..." and nothing happens.
Click to expand...
Click to collapse
Do you copy from the SD card, or to the SD card?
If you copy from, have you tried opening some files directly from the SD card? Do they open?
If you copy to the SD card, did you unmount it in Windows before disabling UMS?
I have just tried copying in both directions, and files do copy properly.
Hi f_ranek
App is working well, but hungs PC copying from PC to SD and vice versa with files more than 690 Mb, hope you could fix it, it will be very usefull, well known advantages from ums mode.
Thanks for your job.
Do not go on CM10
"Unfortunately the application was closed"
f_ranek said:
Do you copy from the SD card, or to the SD card?
If you copy from, have you tried opening some files directly from the SD card? Do they open?
If you copy to the SD card, did you unmount it in Windows before disabling UMS?
I have just tried copying in both directions, and files do copy properly.
Click to expand...
Click to collapse
From PC to SD card. PC says "copy...." and nothing happens.
Thanks
orwell 1950 said:
App is working well, but hungs PC copying from PC to SD and vice versa with files more than 690 Mb
Click to expand...
Click to collapse
sasa g said:
From PC to SD card. PC says "copy...." and nothing happens.
Click to expand...
Click to collapse
Actually, there seem to be some timeout issues. For instance, first I tried copying big files, and it seemed that everything hung, with strange Windows messages. So I disconnected USB cable, disabled and reenabled USM mode, and replugged USB. Then, I copied 40 MB to my SD card, but before the copying starts, I had to wait for a quite long time (about 30-60 seconds). But, surprisingly, after copying that 40 MB file, I have copied 80 MB file, 200 MB file and 700 MB file without any troubles and additional waiting! And they play well on the device. For your record: I was using Win XP SP3, and Total Commander 6.53. Tomorrow I'll try on Win7 64bit.
I'll try to tune a little the configuration, but have no idea if this will change something.
Chameleon. said:
Do not go on CM10
"Unfortunately the application was closed"
Click to expand...
Click to collapse
First of all, you are using quite unsupported by operating system. CM is Android, but is very different from the stock one, that device manufacturers put on their devices. Now, I have no plans for supporting CM - maybe find an app dedicated for CM, or ask CM developers to put back UMS mode natively, without any hacks. Because yes, UMS is still there, but hidden in UI, and all that UMS apps are doing is just guessing where and how, and hacking your OS.
Second, if you are using CM, it means that you are quite powerfull user. And I hope can read with understanding to install CM. So please read my post, and attach logcat (adb logcat -d -v long > filename.txt) logs. Sorry for my irony, but if you want to get help, you must first make a little effort.
f_ranek said:
First of all, you are using quite unsupported by operating system. CM is Android, but is very different from the stock one, that device manufacturers put on their devices. Now, I have no plans for supporting CM - maybe find an app dedicated for CM, or ask CM developers to put back UMS mode natively, without any hacks. Because yes, UMS is still there, but hidden in UI, and all that UMS apps are doing is just guessing where and how, and hacking your OS.
Second, if you are using CM, it means that you are quite powerfull user. And I hope can read with understanding to install CM. So please read my post, and attach logcat (adb logcat -d -v long > filename.txt) logs. Sorry for my irony, but if you want to get help, you must first make a little effort.
Click to expand...
Click to collapse
Thank you very much, inadvertently, this application works on 4.1.2 original stock
Hi everybody!
Recently I did some test with Windows 7 64 bit. The tests were performed on fresh system (the phone was plugged for the first time), the phone was plugged directly (no USB Hub down the line), and I've always switched to UMS before plugging the cable.
If you don't want to read such a long post, skip to the emboldened bottom line.
First, I've tested my regular SD card, 2 GBs labeled Kingston. I've copied 1 GB of files from the SD card to the computer, without any trouble and at average speed of 14 MB/s. Then I wanted to delete those files. After selecting them, and hitting Shift-Delete, I got delete progress dialog, which hung up leaving 1 file (out of 6) undeleted. At this point, access to SD card seemed to hung. I was unable to cancel the operation and close the dialog, as well as refreshing of the My Computer window took significant period of time. So I decided to unplug the USB, and replug it again. After that I noticed, that the files I wanted to delete are gone. Then, I copied back 700 MB file to the SD card. The copying avg speed was 3-4 MB/s, and the CPU utilization window (see here: http://forum.xda-developers.com/showthread.php?t=1495763) showed big blue bar.
Second, I replaced the SD card with another 2 GBs, labeled Japan. Then I copied 3 files (40 + 80 + 30 MB - no more space available, and no unnecessary files to delete) to the card. The copying was smooth, with little glitches before or after each file copying. The avg speed was 10-12 MB/s, and the device haven't indicate increase CPU load (neither green nor red or blue bars). Then, I tried deleting several files in a row from a directory, still without any glitches.
Edit: testing now, on Win XP, and through USB hub (does it matter?) does not work so perfectly well :/ I got one hang during folders deletion, and quite a long glitch before copying of several folders started.
Third, unlabeled 2 GB card sold (probably) with Nokia 6303i. First, I wanted to browse file system on the device. The performance was really bad, I was only reading files and traversing directories. Suddenly, all the file names changed to random characters (no writes performed by myself), and the phone indicated file system error, and unmounted the card. When I tried to share it with PC, windows said that the card is not formatted. The same phone, when trying to mount it back. The card can't be read neither on Nokia 6300.
Last, but not least - unlabeled 128 MB card got with my Nokia 6300 back in 2008. The phone indicated unformatted card, or unsupported file system. The same with Windows 7 accessing it with UMS, and Windows XP accessing it from the SD card reader. But, the card can be still read by my Nokia 6300, however, it's name is a little crapped. Moreover, I can access it from Windows XP using that Nokia in UMS mode!
So, the bottom line is
everything seems to depend on the SD card you are using.
Another story: the same micro SD card accessed via UMS in Nokia 6300 - very good performance, accessed via SD card reader with micro SD adapter - terribly bad performance. Another SD card accessed via the same SD card reader - very good performance. So as you can see, the same SD card, different reading devices - different effect. The same reading device, different cards - different effect.
Im not able to install on stock 4.1.2 i get problem parsing the package

[Q] Cannot write to SD from PC!

Hi,
I just got my S 10.5 tablet and loving it so far.
One thing though, I cannot seem to write to my Micro SD card (Samsung 32 GB).
I see it on the table and can format it, browse it.
When I connect to my PC, I see the tablet, as a media device that opens to two drives which are browsable but anytime I just try to create a directory, it hangs...
The behavior is same if I switch to Camera mode.
I tried retrieving and installing USB drivers from Samsung site but changed nothing...
I'm getting desperate... My only option is to remove the SD card, mount it on my phone, transfer my files then back on the tab.... ouch...
Thanks

[Q] Can't See My Ext SD Card on PC

Ever since I got my G3 from Sprint, I haven't been able to see my external SD card on my PC when I connect with my USB cable. I only see my internal memory. This worked perfectly with my Galaxy S3, but it's been problematic from the get-go with this device. I can see and follow the paths on my device using ES File Explorer, but I don't have that path to click on in my File Manager on my laptop.
If I choose PTP, I can see my pictures, but if I choose MTP, I get nothing. I've toggled back & forth with debugging, but that doesn't change anything. Is it a driver I need to download? I have a 32 gig card, and I want to transfer some files to my pc that I no longer need for this device. I also want to more clearly see what's taking up all my memory, because I can't believe I'm using as much as my Settings/Storage says I am. I don't have a whole lot on here since flashing BarRin, and it says I'm using over 30 gb of internal and over 26 of my external. No way!!
Anyone have a fix?
I am an idiot. I downloaded the drivers, and I'm fine now. If the mods want to delete this thread, that will be fine. Sorry for the inconvenience.

Lineage os no option to move apps to SD card

Hi all
I successfully updated to the latest nightly build 8/3/17 how ever I have no ability to move app data to my SD card. My sd card is seen under storage and I have files on it.
I also have twrp 3.0.2.0 but get a kernel is not seandroid enforcing error and can't charge whilst off. I have no loop issue the unit work's OK otherwise.
The lineage is rooted, I would welcome any advice.
Regards Sok
Sorry all the model is a SM-P605 model.
I can't even access my SD card.
k-semler said:
I can't even access my SD card.
Click to expand...
Click to collapse
Interesting if you boot into trwp can that see your sd card? So under storage the sd card isn't visible at all? Have you tried formatting it?
kypreo said:
Interesting if you boot into trwp can that see your sd card? So under storage the sd card isn't visible at all? Have you tried formatting it?
Click to expand...
Click to collapse
Yes, I can see it fine under TWRP. I thought maybe it couldn't recognize exFAT, so I formatted it to EXT4. But it's still not showing up at all.
k-semler said:
Yes, I can see it fine under TWRP. I thought maybe it couldn't recognize exFAT, so I formatted it to EXT4. But it's still not showing up at all.
Click to expand...
Click to collapse
That is weird, do you have another android peripheral that you could prospectively format the card in and try? Alternatively you could wipe and reinstall. I blew away the android internal storage and installed from my SD, just about everything works except the sd storage option. That's an issue storage and app wise so I may go back to marshmallow lineageos if I can't sort it.
Failing that back to stock lollipop should that fail.
kypreo said:
That is weird, do you have another android peripheral that you could prospectively format the card in and try? Alternatively you could wipe and reinstall. I blew away the android internal storage and installed from my SD, just about everything works except the sd storage option. That's an issue storage and app wise so I may go back to marshmallow lineageos if I can't sort it.
Failing that back to stock lollipop should that fail.
Click to expand...
Click to collapse
I don't have another android device, but I do have a linux machine, (actually, I only run Linux in my home), and I can read and write the card no problem in my desktop machine. I haven't tried it on my HTPC/Plex server yet, but I don't see why it wouldn't work. On stock Lollipop, I can see the card, but it's read only. Oh, I should have been clearer. I can see the card on the tablet, but it doesn't display anything. It says "contents not found", and I can't enable writing to it for Root Explorer.
k-semler said:
I don't have another android device, but I do have a linux machine, (actually, I only run Linux in my home), and I can read and write the card no problem in my desktop machine. I haven't tried it on my HTPC/Plex server yet, but I don't see why it wouldn't work. On stock Lollipop, I can see the card, but it's read only. Oh, I should have been clearer. I can see the card on the tablet, but it doesn't display anything. It says "contents not found", and I can't enable writing to it for Root Explorer.
Click to expand...
Click to collapse
That is weird you got me stumped, other than a rebuild I got nothing. Try the card in a mate's phone if possible better than wiping the unit first.
If that doesn't work I got nothing. Truth be said I'm no expert, I try my best.
Hi all
I updated the Lineageos ROM the AOSP I had no hardware issues or software issues on the OS. However please note that if you use this ROM for some reason you will lose the TWRP Recovery.
I installed the AOSP ROM 7.1.1 first, didn't reboot and then installed the Gapps file, upon reboot it stayed on the splashed screen, so I then booted into the standard recovery and wiped/factory reset the unit, all good since and it is running smoothly, just wanted you to let you know that the Lineage ROM isn't the only option.
I also had the options for the SD card and UI System tweak was also there, good luck. If anyone wants assistance I am happy to assist.
Soks
k-semler said:
I don't have another android device, but I do have a linux machine, (actually, I only run Linux in my home), and I can read and write the card no problem in my desktop machine. I haven't tried it on my HTPC/Plex server yet, but I don't see why it wouldn't work. On stock Lollipop, I can see the card, but it's read only. Oh, I should have been clearer. I can see the card on the tablet, but it doesn't display anything. It says "contents not found", and I can't enable writing to it for Root Explorer.
Click to expand...
Click to collapse
Hey mate I found an alternate fix and everything works, look at AOSP rom and let me know if you have any questions.
Soks
I have also a problem with the SD card. I have the newest build and the SD card is seen in the settings and also in file manager can read/write, but other apps somehow don't see it, I cannot set the camera to save photo to external storage, also in Google play music I cannot choose to store music to external card, the options are not there. On my Galaxy S5 also with Lineage it works perfectly. Secondly, in the settings I can only format the SD card as portable, not as internal, but that would not bother me if the apps would see the card and I could use it as storage.
Solution for sd card write issue?
Did you ever find a solution? I have the same devices and exactly the same problems.
SD card not properly configured
Astagor said:
I have also a problem with the SD card. I have the newest build and the SD card is seen in the settings and also in file manager can read/write, but other apps somehow don't see it, I cannot set the camera to save photo to external storage, also in Google play music I cannot choose to store music to external card, the options are not there. On my Galaxy S5 also with Lineage it works perfectly. Secondly, in the settings I can only format the SD card as portable, not as internal, but that would not bother me if the apps would see the card and I could use it as storage.
Click to expand...
Click to collapse
Have the same problem on my SM-P605 - have had problem since at least the 20170713 nightly build when I started using LineageOS (am currently running 20170830 nightly).
The SD card appears under settings - I can format and eject the SD card, it appears under /mnt/media_rw/76AC-17ED, but
doesn't appear as a SD card in Amaze file manager
doesn't appear as a SD card in ESExplorer (only Internal Storage appears on the home page)
I cannot set the camera location to save photos on it
doesn't appear under /storage (i.e. /storage/76AC-17ED)
It's as if the storage is mounted, but isn't flagged as being a SD card.
Any ideas -- anyone??
snappple said:
Any ideas -- anyone??
Click to expand...
Click to collapse
Have created an issue - 1026 - https://jira.lineageos.org/browse/BUGBASH-1026
kypreo said:
Hi all
I successfully updated to the latest nightly build 8/3/17 how ever I have no ability to move app data to my SD card. My sd card is seen under storage and I have files on it.
I also have twrp 3.0.2.0 but get a kernel is not seandroid enforcing error and can't charge whilst off. I have no loop issue the unit work's OK otherwise.
The lineage is rooted, I would welcome any advice.
Regards Sok
Click to expand...
Click to collapse
I think I found a solution your problem. Well, it worked for me.
Firstly I backed up my SDCARD
Then went to Settings, Storage Settings tabbed on SD card and tab on options [three dotted things].
Formatted my sd card as internal, when I went back to my applications there was an option to move them to external.
[WARNING]One problem is that if you format it as internal it will not show as different storage systems on your pc WILL SHOW AS SHARED STORAGE!!!!
******** I Had So Many Issues I Would Not Recommend It *********
Hope that helps you
Blakepaige said:
I think I found a solution your problem. Well, it worked for me.
Firstly I backed up my SDCARD
Then went to Settings, Storage Settings tabbed on SD card and tab on options [three dotted things].
Formatted my sd card as internal, when I went back to my applications there was an option to move them to external.
Click to expand...
Click to collapse
Thanks for the suggestion - but didn't work.
When I click the three-dotted-things only option I see is (under Storage settings) is "Format". I format the card - but still cannot move apps to it or set as camera location.
snappple said:
Have the same problem on my SM-P605 - have had problem since at least the 20170713 nightly build when I started using LineageOS (am currently running 20170830 nightly).
The SD card appears under settings - I can format and eject the SD card, it appears under /mnt/media_rw/76AC-17ED, but
doesn't appear as a SD card in Amaze file manager
doesn't appear as a SD card in ESExplorer (only Internal Storage appears on the home page)
I cannot set the camera location to save photos on it
doesn't appear under /storage (i.e. /storage/76AC-17ED)
It's as if the storage is mounted, but isn't flagged as being a SD card.
Any ideas -- anyone??
Click to expand...
Click to collapse
I did not find a solution. For other reasons I have returned to the stock OS. Now I don't use this tablet anymore.
Same here... i formated internal but nothing changed. file manager seeing sd card but app can't see and can't save downloaded contents to sd card.. camera, udemy, vs... cant use sdcard
-------
I see it under "Portable storage" under "Storage settings". I can format it and eject it, and it appears under /mnt/media_........ However
does appear as a SD card in ESExplorer (only Internal Storage appears on the home page)
I cannot set the camera location to save photos on it
I cannot move apps to the SD card
I can access the information on the card, but cannot use it as a SD card (with the camera or by moving apps to it).
Please assist.
Manual Fix
Hi.
I just got it running on Samsung Galaxy Note 10.1 2014 Edition (LTE).
This guide worked for me: modaco.com / news / android / heres-how-to-configure-adoptable-storage-on-your-s7-s7-edge-r1632
Guide also referenced in this German HowTo: androidpit.de / micro-sd-als-internen-speicher-formatieren
I did the 50:50 format on my 200GB SD card.
Please remove the blanks in the links. Had to put them in because forum software did not allow me to include links.
Regards,
buggy82

Categories

Resources