After many failed threads out there that are posted by folks in my similar shoes. I have decided to post mine here in the generic section.
Goal: Back up folders under /data/sdext2 <--- ext4 partition on external SD Card, to local PC.
I am already in my destination folder: So the command should be simple as follows: adb pull /data/sdext2/ but obviously it can't find anything for some reason. But via adb shell, you can tell there are many files there.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also
Code:
[email protected]:/ # mount | grep sdext
mount | grep sdext
/dev/block/vold/179:34 /data/sdext2 ext4 rw,seclabel,relatime,data=ordered 0 0
Any suggestions?
df
All filesystems look as they should
Related
Just thought I would share, I use these commands in a script to mount my external 32gb sdcard as /sdcard/.
Would be better if i could figure out how to get it to work as init.d however the external drive is mounted dead last in the boot order... Currently (without some init.d vodo) this needs to be manually "hot swaped" after boot.
umount /mnt/sdcard
mount -t vfat -o rw,umask=0000 /dev/block/vold/179:97 /mnt/sdcard
Note the numbers.. I learned these on another thread here but those numbers had to be changed for this phone.
More info on how to use these and the source for the original code here: http://forum.xda-developers.com/showthread.php?t=1786014&page=2
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my XT897 using xda premium
This can damage all the internal storage?
I think about trying to mount ext to sdcard to flash something in recovery, because I need the sdcard but it can't be mounted by itself.
Is there a permanent solution to this? All other methods don't work on Android 4.4
Just tried it for fun. Worked
Source: http://forum.xda-developers.com/showthread.php?t=1688353&nocache=1
I tried this on CM10.1 (so, internal memory -> /storage/sdcard0 & sdcard -> /storage/sdcard1 )
Instructions:
Download this: http://www.mediafire.com/download/03i9l8qswy2825y/W95.rar
Extract it and copy W95.img to a folder named "win" in your internal memory. (/storage/sdcard0/win)
Install this app: https://play.google.com/store/apps/details?id=org.hystudio.android.dosbox
Configure adosbox: Press menu button ->SDL settings ->video setting ->on-screen magnifying glass (sharper screen)
Run the following commands in the command line: (1 line at a time)
Code:
cls
mount d: /storage/sdcard0/win
d:
imgmount a: d:w95.img
boot w95.img
You ll get a blank screen for some time. Wait for it to boot. Voila
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If i want to go back, what to do?
Turn it off.
Hello everyone that lurks around :>
I've been having some uber strange issue with MTP since I've cleared the MediaStorage.apk's data.
I've used several apps for media rescan and so on, the phone itself finds the media (even some extra...), but when I connect it to my PC/laptop in MTP or PTP mode, I get most of the directories on the /sdcard looking like an unknown file rather than a directory.
Here's a screenshot so you can see what I'm talking about.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I can't access these directories by any means on a computer (tried with several).On the other hand I got no issues accessing them on the phone itself by any file manager.
I've also ran fsck.f2fs on /dev/block/platform/msm_sdcc.1/by-name/userdata
and just in case e2fsck on /dev/block/platform/msm_sdcc.1/by-name/system
in CWM via ADB.
Any ideas how to fix this?
Hmm, no one had got any idea?
Up, looking for someone with some ideas about this issue.
I have read for hours on this and im just looking for abit of help before I start doing unrecoverable damage
The phone boots, but asks for an encryption key (unable to mount /data).
The bootloader is unlocked, I am able to use fastboot, and boot to recovery (TWRP 2.8.7.0) - and Parted, within ADB shell.
I have tried to repair /cache and /data from within TWRP (Wipe -> Advanced Wipe -> Cache/Data - Repair or Change File System -> Repair File System, but it fails;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is the partition layout displayed with "parted /dev/block/mmcblk0 print" ;
What commands do I need to do with parted to get /cache and /data to be mountable?
Any help appreciated, thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I've been digging around on the Linux terminal for a bit. Using vim is tricky but actually quite usable with some awesome plugins. Like it regardless, I been trying to find where the Android system files are. I.e data/misc/wifi
Has anyone managed to find the actual Android home root? Or is it not possible?
Thanks.
cd host-rootfs
cd storage
cd sdcard0
@Archtects
You move to Android's home directory by
either
Code:
cd /
or
Code:
cd $HOME
To access ( view ) system files device's Android must be rooted.
Help please in GNuRoot Debian permission denied
./configure
permission denied
make
permission denied
chmod +x and su and others not work