LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   e2fsck on Android phone (https://www.linuxquestions.org/questions/linux-newbie-8/e2fsck-on-android-phone-4175591388/)

spiri13 10-14-2016 03:13 AM

e2fsck on Android phone
 
Hi,

Does e2fsck works for Android phones?

Otherwise, which alternative does I have?

onebuck 10-14-2016 10:04 AM

Member response
 
Hi,

Maybe best served by posting at Android Forum

Have fun & enjoy!
:hattip:

spiri13 10-14-2016 09:46 PM

I tried to post a thread on androidquestions.org, but there's nobody who wants to answer.
I can't even find my own postings, there's nothing!

I can't mount the partition, or do a data recovery, because, there's noting using lsblk!

How to show this partition?

I already installed libmtp, mtpfs, etc, but mtp-detect and mtp-connect isn't working for me.

There's also an usb entry for the phone!
Code:

$ lsusb | egrep -i 'SAMSUNG'
Bus 003 Device 005: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy (MTP)

But what to do now?


Code:

$ mtp-detect
libmtp version: 1.1.12

Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
  Found 1 device(s):
  Samsung: Galaxy models (MTP) (04e8:6860) @ bus 3, dev 5
Attempting to connect device(s)
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
ignoring libusb_claim_interface() = -6LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.


jefro 10-15-2016 03:14 PM

I would say it is possible to do a file check on some portion of a phone but my guess is you'd have to boot to some alternate distro on it or some one of a kind android.

I guess the next best answer might be to look over at Cygenomod and see if they could do such a task. They would be the ones I'd suspect that have the knowledge for that task.


All times are GMT -5. The time now is 07:23 AM.