So I managed to figure out that I might be able to take advantage of otherwise useless partitions such as /preinstall. Our Droid x2, unlike other devices (as far as I'm aware), has three mount locations for usb_mass_storage, meaning that potentially we could mount, yep you got it, three drives in Windows/Ubuntu/whatever.
This is through the folder location linking called lun. I've been trying to figure it out, and I actually was able to mount /preinstall in place of /sdcard-ext, but for some reason I can't get anything to mount on the third location (lun2), obviously Motorola probably disabled it, but how do I enable it/mount something.? I discovered that the format for mounting has to be "/dev/block/vold/179:##"
## being in place of the partition number you want to mount.
I did chmod and chown to 0000 as shown in init.rc (which sets /sdcard and /sdcard-ext to 0000).
Maybe someone more experienced than me might be able to shed some light on this? I feel like I'm really close.. haha.
{
"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"
}
Could this be the RSD mount? No clue, but good luck
I tried this on other phones and did not have luck either. Same situation. My conclusion was that they will have to be mounted via traditional Linux mounting commands. You could make an init.d script to unmount what mounts on kernel boot and remount the extra locations in your location of choice. I think vold is mainly setup for only 2 mmc spots, and any extra has been hard disabled. You could take this idea one step further and write a small app to handle the mounting. Down side is you wouldn't be able to access through a Windows GUI without extra work. ADB would still work, obviously.
Sent from my DROID X2 using XDA App
Related
I am looking at my Galaxy S2 files with the app "WiFi File Transfer" (which is great if anyone doesn't know about it... but that's for another thread). There's sdcard and external_sd and there is mnt/sdcard. What the heck is mnt? I feel like I am going in circles.
Thanks for any clarification.
I believe it stands for mount. Linux term maybe? The technical path of the SD card on your phone is
/mnt/sdcard/
See the top of this screen shot of me looking at the "root" of my internal SD card.
{
"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 Galaxy S II (i777)
Thanks, quarlow. While moving a file and not knowing what I was doing, somehow I put a file on mnt/sdcard/external_sd. So confusing. I guess all I really need to know right now is that the root of my card is mnt/sdcard and I thank you for that.
I'm pretty sure the sdcard folder you see at root (/) of the phone (/sdcard) is a 'junction point' type of folder to (/mnt/sdcard) the 'root' of the sdcard, at least as far as most computers see.
Similar to the 'Documents and Settings' folder on Windows 7. It doesn't exist except as a direction folder to 'Users' so older programs properly install to the new location for My Documents.
If you want to test it out, put a new file into /mnt/sdcard and then go to /sdcard and see it there.
Sent from my SAMSUNG-SGH-I777 using XDA App
I'm considering a flyer to replace my galaxy tab (the original gt-p1000 with 16GB storage).
The galaxy tab has basically the following layout :
2 GB approb -> mounted as /data
13 GB approx -> mounted as /sdcard
& the rest as the various /dbdata /system & cache partitions.
How are the partitions set up in the case of the flyer ? Is it similar to the tab ?
I'm ok with the layout of the tab although I would've preferred the sizes of the /data & /sdcard to be flipped so that I didn't need to bother about ever running out of space when installing large games & apps.
Also, once you upgrade to honeycomb, is the partition layout changed ? I've read that honeycomb changed the way you could access the internal storage. I'll be accessing the tab mostly in windows which had mtp drivers built in.
Anyone used the flyer with linux ? Any problems / points to consider ?
Thanks
Over 150 views & no reply
can someone just use adb & let me know the output ?
Code:
adb shell df >> /sdcard/partitions.txt
adb pull /sdcard/partitions.txt
OR
Code:
adb shell mount >> /sdcard/partitions.txt
adb pull /sdcard/partitions.txt
{
"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"
}
How the partitions are set up on leedroid's hc rom... Hth.
Thank You
I'm guessing this is the 32GB flyer. Thank you so much.
Nah, it's a 16 gb flyer with a 16gb micro sd card
via Tapatalk
Is there a definitive partition layout for the I777?
Here is what I have found/guessed based on the threads I've found in the forum:
{
"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"
}
Close, somewhere off in the weeds? Anyone have anything better?
There's a PIT dump somewhere in Development - or you can use Heimdall's dump-pit. You're pretty close, and you're correct about p5 and p6 - p5 is kernel, p6 is recovery (which doesn't actually do anything on nearly all Samsungs, including ours - recovery is in the kernel initramfs.)
p2 and p3 are bootloader stuff - touch them and your phone dies.
Thanks, I'll look at the PIT file, maybe I should look at the Heimdall source to see what it does with the PIT.
Not messing with the boot loaders is why I'm interested, I'm not a One-Click'er because I want to know what is going on when I change my phone.
I believe everything else you have is correct, other than that unidentified 512M partition is listed as "hidden" - I think it somehow allows the uninstallable AT&T bloatware to be reinstalled after a wipe, as it contains the uninstallable AT&T bloat apps.
Yep, kind of had to be by default. I was thinking that it probably contained the stock /data partition contents and possibly /sdcard as well but hadn't looked onto it yet.
on the ATT bloatware, I still have a gray icon for that POS featured apps
Thanks for taking the time to help!
Edit: mounted p12 on the phone, it's a ext4 fs with a single directory (app) that contains the AT&T bloatware. Guessing the e3 recovery copies from here after a format.
I'm posting this here because i'm a complete noob on this forum and apparently can't post it to the actual thread without 10 points.
This is the thread i'm talking about http://forum.xda-developers.com/showthread.php?t=2500078
Anyway, after reading the whole thing i got my T100 to boot android-x86... YAY!
But i'm having problems with the graphics. The only difference i see between what i'm doing and the thread is that i have loaded the newer BIOS rev 220. I have two modes. If i boot into the bios by holding F2 on boot, this seems to lower the display resolution to 800x600. If i then boot to android i get something that looks like this.
{
"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"
}
On another note, if anyone from that thread finds this, i figured out how to boot to android with just one drive instead of two.
Short version is, make a second partition on your thumb drive about 300mb ext4. i used a gparted live image to shrink the existing partition and add this new ext4 partition. For me it was /dev/sde2
Next do the step you used to do on the second drive
dd if=android-x86.iso of=/dev/sde2 (be sure to use the correct partition in your case. parted -l should get you a list to guess from)
Thats it.
Thanks,
Eric
How are you going with this, any progress? I'm working on getting an all-working Ubuntu up and running.
Is the display being duplicated horizontally, but only if you boot via the BIOS boot menu?
Hi
I have two old LGG2Minis. One with LineageOS and the other with stock Android 5.0.2. I thought that I would throw something else on the other one too.
I wanted to open bootloader by copying the aboot.bin file (as the is the easiest way to do this in this device). So I copied it into the internal memory, I entered the command in the Terminal Emulator and got the info 'no such file or directory'. OK, I could have have made a mistake in a command. I carefully typed again and the result was the same. I tried to get into the /sdcard directory with cd command and the message still 'no such file ..'
I went to ES Explorer and what I'm seeing in /mnt is that I do not have a /sdcard directory there, just something with that name with an icon looking like a file icon. I checked in the Total Commander and I have the /sdcard FOLDER in /mnt, I can get inside, add folders and what not. I thought that since with TC it is ok maybe this is an app permission problem so I installed Termux - the result as in the Terminal Emulator.
{
"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 don't have any other issues with internal memory. Phone works fine. I can save photos in internal memory (external SD card too). I don't get messages from apps or errors other than those I'm writing about. Finally I copied aboot.bin from another directory, twrp.img as well. In the File Manager in TWRP I have emmc with what's in the /sdcard directory.
I think that storage/emulated/legacy should be a hint for me, but I don't have the knowledge to use this hint. So my questions are - what happened? How to change that?