General :: Mounting Partition In Update-script?

Nov 3, 2012

i want to write a update-script that makes some changes on the phone, but before i can extract files, set symlinks, etc. i have to mount some partitions.

The format of the partitions is MTD, but i don't know how to find out which block is for /system, /hidden, /data, etc. and where is the block?

General :: Mounting partition in update-script?


General :: Mounting Second Partition Of SDCARD As Internal Memory?

Aug 17, 2012

my internal SDCARD is corrupted and the /data partition is unusable.

My device is i9003 and it's running on MIUI at the moment. By default MIUI didn't detect my external SD or my internal SD but after editing "vold.fstab" I was able to mount the first partition of my external SDCARD as external memory and everything was good, I could finally use the camera and pretty much do everything else.

But I was still unable to mount the second partition of my external SDCARD as my internal memory which meant none of my messages could be saved and the phone would pretty much go back to factory settings after a reboot, this apparently is because the /data partition (present on the internal memory) stores all the user data such as the time, the theme I'm using, etc and not having a /data partition meant none of these settings were really saved.

Having no internal memory also means I cannot install any apps such as Link2SD.

Moving on, after many hours of googling I found out that it might not be possible to mount the internal memory using "vold.fstab" and the only way to do it could be by mounting the memory manually during init.

I want to use the second partition of my external SDCARD as internal memory, this is likely to solve all my problems and make my phone usable again.

View 9 Replies View Related

General :: Mount Arbitrary Phone Partition On PC / Change Partition Names?

Oct 8, 2013

I am running rooted stock Android 2.3 on LG E405 (no working 4.x ROMs exist for the device)

I have two questions:

1) What is the shell command to manually make android allow the PC to mount androids' (internal) partition as USB-drive? (I cannot think of right keywords to google this one up - )

2) How does android determine which partition is which (i.e. which one to remount for the PC when connecting in "USB storage" mode), beside vold.fstab and init.rc? On android 2.3 that info is not in "framework-res.apk", so where is it? In the partition table itself?

I had switched data partition with internal sdcard partition.

Here's how: Phone had a very small "/data" partition on /dev/block/mmcblk0p21 and large internal "/sdcard" partition on mmcblk0p20

So I reformatted mmcblk0p20 (ex-sdcard partition) into EXT4 and mmcblk0p21 (ex-data partition) into FAT32

Then I changed init.rc to mount mmcblk0p20 as /data type EXT4 and mmcblk0p21 as /sdcard type VFAT (mounting /sdcard was commented out in stock init.rc for some reason). This required modifying my boot image.

I have also set correct partition number in vold.fstab:

[#]dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host[/#]

So basicly I now have a large /data partition and small internal /sdcard. I'm able install up to a gigabyte of APKs and it works fine.

However, when I connect to my PC via USB into "USB Storage" mode, the phone seems to still try to unmount what was previously sdcard partition (/dev/block/mmcblk0p20), instead of what is NOW an sdcard partition (/dev/block/mmcblk0p21) I can still send files to the phone via wi-fi and ADB, but the ability to mount it directly would be nice.

If I accidentally select "erase internal sdcard" from storage menu, that will also most likely erase what is now my /data partition, softbricking the phone. The "factory reset" option will probably only corrupt the sdcard.

View 1 Replies View Related

General :: SD 2nd Partition Doesn't Work - MiniTool Partition Wizard?

Oct 19, 2012

I'm have been trying to create a second partition on my sd card using miniTool Partition Wizard.But in the end I never get a 2nd partition but just a smaller first one.My approach is as follows:

insert empty SD card (FAT32, 4GB)
open miniTool Partition Wizard
right click on SD card - "Move/Resize"
choose 1gb for unallocated space after - click ok
right click on 2nd partition and choose "create"
create 2nd partition with FAT32/Ext2/Ext3 (tried all options already) and "primary" and Cluster 4KB - click ok
Apply

Afterwards my SD card is still shown as one partition, but this has just 1gb less capacity then before.Neither the Wizard nor the phone detects the 2nd partition then.

View 1 Replies View Related

General :: Partition Layout - Exact Meaning Of Value In CWM - Partition SDCARD

Aug 26, 2012

I can't figure what is exactly meaning the Partition Sdcard values in CWM.

I have an i9000, with 8Gb of flash. Some are system reserved. Available is around 6Gb.

When i run CWM, i can partition my sdcard, but i don't see what means the possible values (for 256 to 4096).

This is obviously not ruling the space left on /sdcard mountpoint (i partition to 2048, i still have nearly 6Gb available)... So what exactly means partition sdcard from CWM ??

i can't find an answer, and i dislike, when flashing rom, following commands i don't really master (generally a partition SD 2048 / SWAP 256 or SWAP 0).

View 1 Replies View Related

General :: How To Delete Partition 4 And Extend Partition 3

Jan 14, 2013

I have bought a cheap chinese phone that had a 4g rom. 512mb is mapped to data as p3 and p4 is mapped to internal storage which is 2g.

I have managed to work out how to delete partition4 and extend partition3 as they follow on from each other.
However how do I remove all links to it in the system as it still tries to mount it on boot even though it isn't there.

I have removed the line from vold.fstab and that just crashed the external and internal sdcards and the storage section inside the system settings.

View 1 Replies View Related

Motorola Droid :: Mounting - Install The Froyo Update

Aug 6, 2010

I'm trying to install the froyo update to my droid and im having a problem. When i connect the droid to my computer so i can drag the update into the root folder of the phone, the computer never reads the phone. It only shows the sd card and not the phones internal storage. anyone know why?

View 6 Replies View Related

HTC Incredible :: Errors Mounting Phone And Sd Card After 2.2 Update

Sep 7, 2010

Just updated to 2.2 and phone/sd card will mount to pc but then it randomly acts like it has been unplugged and plugged by in. For instance I was copying a 1gb file from the phone to the sd card and it was copying for all of 20 seconds then it was gone then it was back and wanted to know if I wanted to copy over the existing files that had been transfered before the disconnect (or whatever). It does this on both the sd card and the phone memory; anyone else have this problem? Have a solution? Oh, and this is done over the same usb cable I have been using for months without the slightest problem.

View 10 Replies View Related

General :: Mounting SD On HTC Amaze?

Jun 8, 2013

When I connected my phone through cable it asks for formatting internal storage... After that I'm unable to mount sd and external sd also.. When I'm mounting sd card it shows "preparing sd card" and within a second it shows "sd card safe to remove".

View 1 Replies View Related

General :: Internal / External SD Not Mounting?

Jan 22, 2013

Since my last upgrade of cynaogenmod nighties yesterday on my galaxy s2, my internal AND external sdcard are not mouting anymore

I tried to understand why and I found that my /storage folder was empty. I think it should have been populated by /init.smdk4210.rc script :

Code:
...
on early-init
export EXTERNAL_STORAGE /storage/sdcard0
export SECONDARY_STORAGE /storage/sdcard1
mkdir /storage 0775 system system[code]...

I would like to retrieve my internal sdcard content.

View 9 Replies View Related

General :: Force Mounting Root On USB?

Mar 22, 2014

yesterday my phone fell off my hand, so the touchscreen is unusable... so the phone. The trouble is that I'm... well... not very clever at all, so all my contacts are on the phone itself, not the SIM card or my Google account. That's why I need to get into the root files with my computer, to find out the databases files.

The USB debugging mode wasn't activated I think. But I'm pretty sure there's a way to force mounting system files, even with a command line...

My phone is a "Le Mobile Sosh", a branded Alcatel OneTouch Idol Mini with Android 4.2.

View 1 Replies View Related

General :: Mounting Points On ClockWorkMod

May 25, 2013

So the past few days i have been working on porting clockworkmod to my tablet Vexia Navlet 2 White (cpu telechip tcc892x, board m805_892x_evm), i have setup a build environment and managed to make a bootable CWM but have reached a bit of a wall, my recovery dont mount anything.

And so i have a few doubts:

1 - In boardconfig.mk

I have these lines

Code:
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00a00000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00a00000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x19000000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x39800000
BOARD_FLASH_BLOCK_SIZE := 131072

The size must be set based on the cat /proc/mtd result (or so it says on the different guides i found)

Code:
dev: size erasesize name
mtd0: 00a00000 00200000 "boot"
mtd1: 00600000 00200000 "kpanic"
mtd2: 19000000 00200000 "system"
mtd3: 00400000 00200000 "splash"
mtd4: 09600000 00200000 "cache"
mtd5: 39800000 00200000 "userdata"
mtd6: 00a00000 00200000 "recovery"
mtd7: 00200000 00200000 "misc"
mtd8: 00200000 00200000 "tcc"

After searching on the forums and googling i saw that some people use the hexadecimal value of the column size but other people convert it to decimal, what is the right way? are both okay? is the code from my boardconfig.mk up there ok?

2 -

Code:
BOARD_FLASH_BLOCK_SIZE := 131072

This value, after researching it seems that this must be the decimal converted value of the erase column

Code:
mtd8: 00200000 00200000 "tcc"

In this case 00200000 (hex) -> 2097152 (dec), but if i set this value i get and boot.img too big error, i dont know if this is the reason of the mounting not working, but leaving the default value i can make it and the recovery boot.

View 1 Replies View Related

General :: Script For Mounting / Playing ISO?

May 8, 2012

I have a multimedia player in living room and have made ISO files from almost all my DVDs. Easier and faster for all the family.

I have a TF101G (Asus Transformer) with ICS custom ROM and I would use it to play movies. So until now, I ripped my ISO files (themselves ripped from DVD) and converted them into avi or mkv files. I'm tired of doing that and wonder if there would be no one way to read the ISO files.

Code:

mount -o loop -t iso9660 /path/to/file.iso /mnt/somewhere

But then?

1. Is there a reader for unpacking ISO files and play them? Apparently Daroon Player can do it but I do not understand how?

2. Would it be possible, once the reader identified, to create a script that mounts the ISO file and read through the player? How can I do this?

View 4 Replies View Related

General :: No Option For Mounting SD Card When Recovering

Feb 12, 2014

I'm using celkon a112 smart phone i had rooted my phone with framaroot app and i had installed rom manger when I was changing font of system my phone stopped working now its stuck on boot loop i have tried installed cwm recovery but there's no option for mounting sd card to apply the zip file so any solution for mounting my extsd card.

View 2 Replies View Related

General :: Mounting SDCard With Execute Permissions On HTC ONE

May 6, 2014

I've installed LinuxOnAndroid with Fedora 19, I'm trying to get the /dev/fuse /sdcard to mount with exec permissions.

Currently it's only mounting /dev/fuse without execute permissions.

View 3 Replies View Related

General :: Mounting External HD No Root - SGPT12

Mar 22, 2013

I hame an xperia tablet S and a dock hooked up with hdmi to my TV. I want to hook up my external HD to it for HD movies and what not but it will only read the HD formatted as Fat32 and as most of you know, it will only accept files up to 4gigs. Well that kind of kills HD. I also cannot root my device as it is release 6b .

View 1 Replies View Related

General :: Error Mounting Emmc And Cannot Detect External SD Card?

May 2, 2013

I am using SGS2 i9100g.

I have flashed from CM10.0, JB4.1.2 to pacman 3.00, JB4.2.2

ISSUES:

1. error mounting emmc and cannot detect external sd card

2. When i want to use camera or gallery, there is an error saying "No external storage available"

Attempted solutions:

I have tried the following but it does not solve my problem

1. re-flash the custom rom and gapps. (full wipe with wipe cache and dalvik cache)

2. reformatted my sd card to fat32.

3. went to recovery to unmount and remount my external sd card

4. tried to mount emmc in recovery but returns an error "error mounting emmc"

5. off and on and also rebooted my smartphone

6. tried these codes shown at the bottom(to manual remount)

- I have a storage folder which has sdcard0 which contains nothing, sdcard1 which contains my file in my external sd card and a usbdisk0 contains nothing also.

- Now i am not sure which is the cause of the problem where i cannot use my camera phone and gallery

View 2 Replies View Related

General :: Increase Internal Memory Of Phone For Apps Without Mounting SD

Nov 5, 2013

How to increase the internal memory of phone for apps without mounting SD card in devices like Micromax Canvas hd and Karbonn S5

View 1 Replies View Related

General :: SD Card Partition

Aug 28, 2012

If I wipe data/factory reset or format sdcard in Clockworkmod Recovery, will it delete the partition that I created on my SD card?

View 1 Replies View Related

General :: Swap On EXT Partition

Dec 13, 2012

is it possible to use swap on a sd-ext partition? I started to use simple 2ext and I don't know if it's that possible.

View 1 Replies View Related

General :: How To Partition Rooted O+8.31z

May 21, 2014

As the title says how do I partition O+8.31z

O+8.31z had a very small internal mem. as we know 165mb

I do got 4gb mem. and I would like to partition it to use as my internal memory. So I could download and install game or an app as I want.

View 2 Replies View Related

General :: How To Create SD-Ext Partition

Jan 11, 2012

I am trying to create an sd-ext partiton so I can move applications and backup to that partition on my 4GB external SD card.

I've got ROM Manager 4.8.0.8 but when I select Partiton SD card it reboots and tries to reformat but I don't see anything on the Card just a LOST.DIR folder. I can't read the system messages when in Recovery mode cos it all happens so fast.

I tried via ADB and booted into recovery and selected the option to partition manually but still nothing. I reformatted the card with FAT32. Nothing.

View 7 Replies View Related

General :: How To Create Partition For Micro SD Using CWM

Mar 4, 2013

How to create a partition for the micro SD using cwm.?

View 9 Replies View Related

General :: Create New Partition On SD Card

Nov 6, 2012

I am having some issues with my Verizon Samsung Galaxy Tab SCH-i800. So the first issue is i tried to install a stock ROM to fix a corrupted cache partition. Now it tries to boot US Cellular. As of this moment the error i get when i put the device in recovery mode goes as follows:

E:failed to mount /cache (No such file or directory)
E:Can't mount /cache/recovery/command
# MANUAL MODE #
E:failed to mount /cache (No such file or directory)
E:Can't mount /cache/recovery/recovery_kernel_log
[code]....

I am wondering if i can just create a new partition on a new SD card? i bought this device on ebay a couple weeks ago and i don't want to continue attempting sketchy leads for fear of hard bricking it. I am very good with performing commands via command prompt if that is necessary, also i have access to an Ubuntu 12.4 computer if that would make things easier? Also as far as i know this is equipped with android Froyo and the issue developed after the previous user attempted to update.

View 1 Replies View Related

General :: Swap File - Partition

Dec 31, 2013

I just took over a second hand chinese android phone which appears to have swap enabled already.

The following is on the phone with SD card installed or removed completely

Terminal Emulator - Free - swap 196604 53036 143568
Diskinfo reports it as zram0 [swap]

The value of swap changes continually, so swap is active.

There is no swapper or any other swap app installed. How do I go about finding out how the phone is configured and if necessary undoing what was done and reconfiguring if necessary ?

View 2 Replies View Related

General :: How To Mount System Partition

Jan 16, 2014

I have rooted my xolo a500s IPS using farmaroot but when I tried to mount system r/w for pushing some apps and removing some on system partition but it is not mounting because of that i cant make changes on system.how can I mount system partition

View 9 Replies View Related

General :: Internal SD Partition Or Folder?

Sep 12, 2012

but is the internal SD in ICS a partition or a directory on the system that pretends to be an SD card?

If it's a partition then I don't really see the benefit over an external SD - except where there is no SD slot. Obviously if it's a directory then it would grow as required...

View 5 Replies View Related

General :: How To Remove SD Card Partition

Sep 8, 2012

I've been having a few problems with partitions recently, how do I remove sd card partitions???

Also why is minitool wizard taking so long to write partitions, especially 500 mb?

View 1 Replies View Related

General :: Can't Mount Cache Partition

Feb 9, 2013

my verizon galaxy tab 7 (sch-1800) doesn't boot, it freezes on samsung splash. I already restored the stock rom, but it doesn't change anything. if i try to restore default with recovery mode, it says E:failed to mount cache.

View 4 Replies View Related

General :: Data Partition Full - Yes With DF But No With DU

Nov 1, 2013

I got a notification that my filesystem start to be full, I was really surprise so I take a look to it with the shell and here is the result

root@android:/data # df /data/
Filesystem Size Used Free Blksize
/data/ 2.0 G 1.9 G 59.2M 4096
root@android:/data # busybox du -sh *
200.0kanr
336.5Mapp

[Code] .....

336M + 222M + 217M = 785M
So where is the others 1.2G ?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved