Question, Dows the HD2 read partitions? - HD2 Android Q&A, Help & Troubleshooting and Genera

say i partitioned my memory card, 1.5gb for the /Android folder and the rest for the /sdcard
i know the windows part would see only the first partition i think, but once it loaded into android would the other partition be available?
i might then would have to remount /sdcard to the 2nd partition?
has anyone tried this? it would solve the usb drive problems.

Related

Apps On Sd Card EXT2 Partition

How can I view the files on my sd card in the ext2 partition?
I have one fat32 and one ext2 which my apps are on but every file viewer app in my G1 phone or computer only lets me see whats in the fat32 one, so how could I access it it?
I have windows vista and ubuntu (which I dont know how to use well) pc
and my sd card is an 8gb class 6 with 500 mb of the ext2 and rest is fat32, I just want to access the ext2 and view its files
someone please help and thank you
tanner2007 said:
How can I view the files on my sd card in the ext2 partition?
I have one fat32 and one ext2 which my apps are on but every file viewer app in my G1 phone or computer only lets me see whats in the fat32 one, so how could I access it it?
I have windows vista and ubuntu (which I dont know how to use well) pc
and my sd card is an 8gb class 6 with 500 mb of the ext2 and rest is fat32, I just want to access the ext2 and view its files
someone please help and thank you
Click to expand...
Click to collapse
You would have to load ubuntu and use a card reader to view the files on your ext2 partition.
Or, as an alternative, you could download terminal emulator from the market. Open up the app, then type this:
$su
#cd /system/sd
to view the files in your ext2 partiton.
while your in /system/sd you may want to change to a different directory, such as app or data, you could use this command:
$su
#cd /system/sd
#cd app
#ls
where you would substitute app for another directory such as app-private, data, dalvik-cache, etc.
when you want to move up a directory type this:
#cd ..
and whenever you want to view whatever folders or files are present in the directory you're in, type this:
#ls
hope this helps.
if you are using ubuntu, you will need an sdcard reader, you won't be abel to ea dthe ext2 partition form windos (not that am aware of) inserd the sd card or i think if you plug the phone nd u have teh drivers ubuntu will read and mount the sd card should appear in yoru desktop both partitions with an icond of a hard drive
thanks but I wannna see and be able to move files and etc like in windows..well im new to ubuntu and not sure how but yes I have my phone and an sd card reader
so where are they located
am i just an idiot or what? i made an ext2 partition on my sdcard, and it wont let me put anything on it. i'm doing this half for my apps and half to install debian. but why the f cant i do anything with it?? it wont let me change permissions so am i in the reference to south park "f'd in the a?"

[Q] Make Copy Of Sd Card with Ext4 partition

Hello to everybody,
i have an 8 gb micro sd card in my htc hd2 with an ext4 partition that works with a nand rom. Now i would like to have a 16 gb sd card and i would like to copy all the exact content of my 8 gb card on the new one including the ext4 partition with all the files i have in it so i don't have to reset my hd2 and reinstall everything. I hope somebody can help me. I'm running on win vista.
Thanks
me too
I want to know how to copy that partition
thanks..
Geez. Nobody? We have some really bright people on this forum and I'm looking for the same thing.
Before people jump all over me for commenting on a thread that hasn't received a post in over one month....had there been an answer posted, I wouldn't have replied
download a linux boot disk image, ubuntu or something. boot your pc to it in live disk mode, and it can see both your sd card partitions, and copy to/from them. you can use it to partition up the new card with ext4 and fat32 too.
So create your new disk, with empty partitions, and just copy the stuff across. the phone wont know any different.
if memory serves, when you plug in the phone in hard disk mode, the partitions appear after a short while on your desktop as two seperate drives, , if you right click one, choose format(DON'T CLICK OK!) or maybe properties, it will bring up a box, choose disk tools button ((i think, its turned off at the mo, cant check)) and it will give you all the tools you want to create, edit, move resize partitions in fat32 and ext2/3/4.
Even easier...
-Backup your ROM using CWM,
-Create a folder on your computer and copy all the files from the SDcard to the folder (from here on "back-up" will be used to refer to this folder).
-Partition your sdcard with ext4 partition however you want
-Copy contents of "back-up" back to the sdcard
-Use CWM restore function to restore including ext4 partition
Simple and easy.

[Q] Failed to setup APP2SD

Hey guys,
I decided to setup my sd card today cause my phone internal memory was constantly running out. I followed the stickies on how to partition the SD using EASEUS. After I partitioned the app2sd partition, i booted up my phone. The phone says there is no sd card. So i rebooted the phone and mount my SD card through recoverymod. I can still see my sd card and files inside of it, but it only has 7GB left instead of 8GB. EASEUS too only detects only one partition of 7GB. Other then mounting the storage through recoverymod's Mounting USB Storage, the sd card cant be mounted anywhere else. Recoverymod shows Error: failed to mount /sdcard for all functions that require the sd card.
Has anyone came across this problem and fixed it ?
ackz said:
Hey guys,
I decided to setup my sd card today cause my phone internal memory was constantly running out. I followed the stickies on how to partition the SD using EASEUS. After I partitioned the app2sd partition, i booted up my phone. The phone says there is no sd card. So i rebooted the phone and mount my SD card through recoverymod. I can still see my sd card and files inside of it, but it only has 7GB left instead of 8GB. EASEUS too only detects only one partition of 7GB. Other then mounting the storage through recoverymod's Mounting USB Storage, the sd card cant be mounted anywhere else. Recoverymod shows Error: failed to mount /sdcard for all functions that require the sd card.
Has anyone came across this problem and fixed it ?
Click to expand...
Click to collapse
It seems that your sdcard is corrupted.
Try to backup all data and reformat all partitions in linux
Windows can't recognize second partition on sdcard & it can sometimes mess up the partition.
Try GParted (google it).
d4rkkn16ht said:
It seems that your sdcard is corrupted.
Try to backup all data and reformat all partitions in linux
Windows can't recognize second partition on sdcard & it can sometimes mess up the partition.
Try GParted (google it).
Click to expand...
Click to collapse
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
ackz said:
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
Click to expand...
Click to collapse
Did you make a backup of your sd before creating the sd ext partition
? Should be written in each tutorial concerning sd ext creation.
Otherwise your data is no more.
As already written, windows is not able to read a sd ext partition. its fully right, that your fat32 partition shows only 7gb, the other 1gb is used from the sd ext and not viewable by windows.
...to create a sd-ext very easy go into cwm-advanced-format sd card and chose 1gb ext 0 swap.
Sent from my HTC HD2 using XDA Premium App
ackz said:
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
Click to expand...
Click to collapse
Try this :
Backup all data in your micro SD.
Open & boot your computer using Gparted Linux / Parted Magic Linux / any other linux that has GParted / Parted inside its LiveCD
Run Gparted.
Delete all partitions.
Options:
Create sd-ext partition using GParted :
Create 1 fat32 Partition (as Primary) & adjust the size to your liking
Create 1 ext3/ext4 (as Primary...check if your android kernel support ext4) & adjust the size to your liking (usually 1 - 2 GB is enough)
Create sd-ext partition using CW Recovery:
Create fat32 Partition (as Primary...use all space)
Boot HD2 into AD Recovery
Go to Advanced menu
Format & choose sd-ext partition options
Flash your fav. ROM
Notes:
I personally like Parted better than GParted as it's a lot quicker & more advanced options (GParted is only a front-end for Parted).
Parted is for advanced user & TUI.
If you want to try Parted,make sure you read the manual & understand everything related to your actions (open console / terminal & type : man parted)
Use Parted using Root access (open console / terminal & type : sudo parted).
Use it with caution as it can wipe all of your hard drive data !
For more info about Parted try this link :
GNU Parted

How to mount ext4 formated sd in Overcome ROM

This article is a google translate from my article in Greek from here: http://fwlia.k0uk0s.gr/2011/07/mount-ext4-formated-sd-android.html
Sorry for any language mistakes
Well, quick and dirty way to mount ext4 file system on the external sd.
1) We need external sd and kernel with ext4 support (Overcome has)
2) Format from a Linux machine the sd to ext4. The best way is to format the sd from a card reader. If you want fat32 partition, put it first and then the ext4
3) Put the card into the device and do boot. The android will grumble that there is a problem with sd, ignore it. If you have the first partition fat32, it will not say anything
4) In the internal sd (the fat32 which has the device from factory) you make a folder called external_sd. Most of you must have the directory
5) You install on android the http://market.android.com/details?id=os.tools.scriptmanager
6) you make a folder in the internal sd named scripts and there you make a text file named mount.ext4 and this content:
#! / System / bin / sh
mount-t ext4 / dev/block/mmcblk1p1 / sdcard / external_sd
7) If you put the first fat32 partition, then change mmcblk1p1 mmcblk1p2
8) Finally, in the Script Manager we installed before, pick the mount.ext4 and tick run as root and run at boot
Reboot and complete.
I have yet to find a way to become the ext4 unmount when the device connect to usb.
Now you can put that hd movies in sd whithout the 4gb per file fat32 limitation. You just need a linux machine to copy them in sd.
Have a nice day
Thanks Alot!
Dude, you are my hero! Hate FAT32 like the plague. Now I can rid myself of it once and for all!
yeah! it's done, good job. but i have some bug to report can not use Mass storage to connect to PC , can be connect by Samsung Kies only.
pisit99 said:
yeah! it's done, good job. but i have some bug to report can not use Mass storage to connect to PC , can be connect by Samsung Kies only.
Click to expand...
Click to collapse
A normal Win PC doesn't know about ext4... As the OP states you'll need a Linux-machine to work with.

Reading Encrypted Bootable SD Card (android_meta format?)

I have a new Rock64 for which I have installed ayufan's Android TV build v0.3.4, but I think this question is probably applicable to a lot of other situations.
My system is booting of an SD card that is formatted with an android_meta and an android_expand partition. This setup is the same as that used by "adopted" storage, where the disk is encrypted and the key lives on the phone. If you have root on the phone, you can dump the key, and use it to mount the android_expand partition as described here. The difference is, on this card, I *know* the key is stored on the card itself, presumably in the android_meta partition, because this bootable card is the only storage device in the system.
Since the system *isn't* rooted, and I haven't got a USB A to A cable around for ADB, I want to mount the card in Linux and manually drop in an su and/or tinker with the system files.
How do I get the key off of the card, in the same way that the Android system does during its boot process, so that I can decrypt and mount the main android_expand partition?
More broadly, what, exactly, is the format of an android_meta partition? Is it ext4 or FAT or something special? I dumped it, and from running strings it looks like there's a whole bootloader in there.

Categories

Resources