How to mount MTP like a drive in /dev?

fr flag

I am trying to recover some files on my android device, but without success. So I would like to try tools like photorec, but they need a physically mounted device. Or rather, for the moment photorec makes me recover files only from /dev/sdx, so I need to mount the mtp device like this. For now I have tried this solution here: How to mount Smartphone to recover files but jmtpfs gives me an error.

user535733 avatar
cn flag
Remember that an Android device is NOT a simple hard drive. It's a fully-functional, powerful computer *pretending* to be a simple hard drive by exposing the MTP API. Access to storage is provided by Android OS, and cannot be bypassed unless you physically remove the actual storage and plug it into different hardware. If Android MTP refuses to cooperate, not much Ubuntu can do about it. Note the top-voted answer in your link already told you this.
Abdullah Ibn Fulan avatar
cn flag
Modern android talks in MTP. Old ones could be mounted as mass storage. See if your device has the option to mount as mass storage from developer option or the notification shown after connecting it to computer.
Andrew T. avatar
tr flag
Cross-posted to Android.SE:

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.