Hi folks,
I'm thinking of experimenting with alternative filesystems to RFS on my samsung galaxy s.
Is it possible to extract partition images and convert them to a different filesystem using a method like this:
1. extract partition image, using something like ODIN
2. create a new file system image file exactly the same size using dd or just copy the same file and overwrite it
3. setup old and new images as loopback devices.
4. format new image using alternative filesystem
5. copy everything from the old to the new
6. reflash device with new image
A couple of assumptions are being made of course.
1. you have an android kernel that can mount the new filesystem
2. you have a desktop kernel that can mount the phone's filesystem
If this is a method that can be used, I'd like to know what partitions are extractable and writable with ODIN or other tools?
I wish they didn't have so many different partitions!!
Thanks in advance for any advice.
I believe this is what the lagfixes do.
Have a quick read through the "Breaking free from RFS" threads in the dev section. Should give you a starting point.
Don't need to reinvent the wheel so to speak:
Voodoo LagFix = converted entire data partition to ext4 file system
OneClick LagFix = filesystem loopback with ext2 FS created on top of RFS.
Hi xda community,
I've an issue with my Defy. My actual Rom is the last stable MIUI 2.3.7a.
The error is that the /data partition is always in read-only.
Code:
/dev/block/mmcblk1p25 on /data type ext3 (ro,relatime,errors=continue,data=ordered)
So I can't use any applications. ( lot of crash due to read only partition )
I have some errors like this one in the log :
Code:
Buffer I/O error on device mmcblk1p25, logical block 86151
lost page write due to I/O error on mmcblk1p25
I already try to re-install the rom and other roms included stock rom. And I always have this kind of error.
I have no idea on how to resolve this.
Can I move the /data to sdcard ? or use tools like fsck ? Or perhaps the defy internal memory is dead.
Thank you for help or advise.
Did you try full flash via RSD lite?
buruss said:
Did you try full flash via RSD lite?
Click to expand...
Click to collapse
I'm late in my answer but this topic is always open in my mind.
Yes I try this several times, The flash work. But after a little time of utilisation (with stock rom or miui or cyanogen, the error occurs again.
I think that I have bad block on internal memory, my goal is now to create a partition on sdcard and use symbolic link to this one in order to bypass the internal memory. Or an easy way is to mount /data on the sdcard.
Actually I'm not familiar with Android, but I'm very familiar with Linux. In theory it should work if I can mount the sdcard early in the boot process.
Anyone have already try this ?
bipbip61083 said:
... I think that I have bad block on internal memory, my goal is now to create a partition on sdcard and use symbolic link to this one in order to bypass the internal memory. Or an easy way is to mount /data on the sdcard.
Actually I'm not familiar with Android, but I'm very familiar with Linux. In theory it should work if I can mount the sdcard early in the boot process.
Anyone have already try this ?
Click to expand...
Click to collapse
Hi,
Sorry to revival your post.
I have a similar problem (details in this thread). For some reason my Defy will not mount the /dev/block/mmcblk1p25 and I guess that's the reason why after each reboot all my settings are lost.
I've already try to Fix Permissions (under Recovery Menu > Advanced), but it didn't help.
I was hoping to learn with your experience. Did you could manage to fix your problem creating a symlink or something else?
Merci.
This guide for GTP1000 internal SD damaged and removed
This link is guide how to remove movinand chip:
http://forum.xda-developers.com/showthread.php?t=1877585
How to flash Overcome Stock ROM
- to prepare you must have
Overcome gb_Stock_save_v5.tar (modem.bin needed),
overcome_kernel_v4.0.0.tar or CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.tar
and root explorer.apk,
- make 3 partition on microSD, 1st fat32, 2nd ext4, 3th ext4,
example : 16 gb -> 13.6gb fat32, 2gb ext4, 0.4gb ext4
use gparted on linux or MiniTool Partition (Windows)
- remove hidden.rfs, movinand.mst from GB_Stock_Save_v5.tar
- copy root explorer.apk to microSD, then plug to gtp1000
- turn on download mode, flash by odin, DON'T CHECK REPARTITION
- after finished, auto restart and will showed error MBR bla bla
(because movinand doesn't exists anymore), ignore it,
if doesn't boot but cwm recovery then wipe factory reset/data, wipe partition,
reboot system
- wait for about 5 - 10 minute, then turn off
- download mode, Flash kernel your choose (must be suport ext4), restart automaticaly when finished. wait until everyting done.
- Unplug usb from PC, on your gtab go to setting, application,
check mark -> Unknown source
development,
check mark -> USB debugging
- connect usb to PC, use adb from PC, and follow this code:
c:\adbtool\adb shell
~$
if your access not root then type
~$ su
take a look your GTP1000 superuser message, then tab allowed
~# mount -t vfat /dev/block/mmcblk0p1 /sdcard
- run my files on your gtab, explore and install root explorer.apk
- open root explorer, tap mount R/W, tap and hold vold.fstab on /system/etc,
select "open in text editor" edit follow this:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = disable
format_option = -r 1558
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
save, exit from root explorer, restart gtab, and profit
Edit:
If overcome kernel fail then try CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.tar
One think i wanna know..
Why internal-sd broken??
I dont know is corrupt is similar with broken or not but overcome kernel (now with my personal kernel) on recovery mode with parted command can solve my internal-sd problem..
I don't know why
May be oc then over heating or else, but last i use is wifi theater for a long time then turn off by self, stuck on samsung logo when i turn on again
So i restock with overcome, nothing happen, restock samsung firmware, nothing happen too, edit some rc not work too, edit file on /system/etc/init.d and vold.fstab not fully function.
Google it, and found someone (CrhisCTX)with the same problem and he fix by removed movinand chip.
http://forum.xda-developers.com/showthread.php?t=1877585
Sent from my GT-P1000
Would you share your personal kernel for me or us
Sent from my GT-P1000
Btw,
Remove partition and recreate it by parted, doesn't work for me, when i restart partition will back as it, and data still there, some kind read only partition, i don't know
Sent from my GT-P1000
goofey2012 said:
Btw,
Remove partition and recreate it by parted, doesn't work for me, when i restart partition will back as it, and data still there, some kind read only partition, i don't know
Sent from my GT-P1000
Click to expand...
Click to collapse
Im sorry my english is not good enough but can u give 'mount' and 'parted /dev/block/mmcblk0 print' result ?
If internal-sd broken so which partition u use for /data ? As long as i know /data use mmcblk0p2 and if internal-sd broken i thing u can use that partition too..
Yes it is, thats why i create 3 parition. Fat32,ext4,ext4
After remove movinand chip from main board, mmcblk1 automaticaly known as mmcblk0, but the blocks still on /sys/devices/platform/s3c-sdhci.2/mmc_host/mmc1
mmcblk0p3 mount as /preload (note: on gb)
mmcblk0p2 mount as /data
mmcblk0p1 not automaticaly mount as /sdcard
So thats why i need edit vold.fstab manualy
Sent from my GT-P1000
Mmm i see maybe internal-sd is realy broken not only corrupt.. coz if only corrupt parted, fat.format, mkfs.ext2 or other command can solve it..
savie said:
Mmm i see maybe internal-sd is realy broken not only corrupt.. coz if only corrupt parted, fat.format, mkfs.ext2 or other command can solve it..
Click to expand...
Click to collapse
Can you share the code how to mount external sd like your pic attach in other thread.
savie said:
How about this one...
Click to expand...
Click to collapse
Sent from my GT-P1000
mounting script
Sorry for late respon.. I only add that script to init.d folder.. Make sure mmcbkl1p2,3,4 as ext4 if that partition as rfs so need edit ext4 to rfs on script file..
I use that script to check/modify my 2ndRom on 1stRom..
savie said:
mounting script
Sorry for late respon.. I only add that script to init.d folder.. Make sure mmcbkl1p2,3,4 as ext4 if that partition as rfs so need edit ext4 to rfs on script file..
I use that script to check/modify my 2ndRom on 1stRom..
Click to expand...
Click to collapse
I think your script doesn't change /data to mmcblk1p2
Sent from my GT-P1000
goofey2012 said:
I think your script doesn't change /data to mmcblk1p2
Sent from my GT-P1000
Click to expand...
Click to collapse
Yupz its doesnt as i say before it only help me to know my 2ndRom is exsist when i use my 1stRom..
Dont confuse with double mount /system (thats bugs on my kernel till now) in fact its /system running on mmcblk1p2
i would to thank you
so i've try it but i know nothing about android system files so i 'm a big noob )
but :
i 've flashed like you say just the rom i ve used overcome 7 4.10
How to flash Overcome Stock ROM
- to prepare you must have
Overcome_7_Series_v4.1.0_Wipe
overcome_kernel_v4.0.0.tar or CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.tar
- make 3 partition on microSD, 1st fat32, 2nd ext4, 3th ext4,
example : 16 gb -> 13.6gb fat32, 2gb ext4, 0.4gb ext4
use gparted on linux or MiniTool Partition (Windows)
and edit vold.fstab with note pad with
- open Overcome_7_Series_v4.1.0_Wipe in winrar "windows users",vold.fstab on /system/etc,
select "open in notepad ++" edit follow this:
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = disable
format_option = -r 1558
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
}
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
save your new file in the overcome zip and boot your gtp1000 tab in recovery mod and go to install zip from internal and let do it the gtp1000 will reboot , it's take time so and you will see your fat 32 partition as internal sd ))) i hope taht answer will help
thank too all develloppers
why only this stock ROM can be flashed ? I want arabic stock ROM how can I flash ? I tried but with no success
Weird ! I followed all steps but I don't see my FAT partition ( 13gb ) in phone Storage ! what's wrong ?
what's working vold.fstab I have to use to solve that ?
bump !
psytr0nic said:
Weird ! I followed all steps but I don't see my FAT partition ( 13gb ) in phone Storage ! what's wrong ?
what's working vold.fstab I have to use to solve that ?
Click to expand...
Click to collapse
yes
mine too
please help..
what to do ...
im not sure this thing work really ... I tried about 3 times on 3 different phones! best seem to change emmc chip
I'm curious as to feasibility of either swapping this Chip for a larger 32GB Chip, or simply replacing it if need be.
Seems to me the hard part would be finding the correct kind of Glue to use though. I can't imagine that getting hold of these Chips would be any more harder then any other Part of the P1000...
cocomeoo said:
yes
mine too
please help..
what to do ...
Click to expand...
Click to collapse
let me see your vold.fstab
Hey guys, can somebody help me?
QUESTION: When a sdcard with a second partition is formatted, the second partition is deleted?
I'm asking because after selecting ext3 on Link2SD and rebooting, the app does not recognise the second partition. Has it been deleted after the sd format?
Running Evolution x4.2.0
it depends what program formats it - cwm for example would probably delete all partitions and create and format a new partition
if you just want to format a single partition you would need to do it in mini tool or partition magic for example on a pc
also if you change roms you will have to reinstall all the apps again as the data partition is deleted