I had move the /system partition on sd card, and modified the init file to mount sdcard partition when booting. But it failed and the phone stayed at logo screen.
I create a FAT32 partition and ext4 partitions on sd card with MiniTool partition Wizard, and mount them under /mnt directory.
Then, copy /system partition to sdcard, by cp -a /system /mnt/system.
Finally, I extract the boot partition, modified the init file in ramdisk directory, repack and flash back to internal memory.
The mount info located in init.smdk4x12.rc as mount_all fstab.smdk4x12. So I modify the mount point of /system as sdcard partition.
The phone cannot boot, and stay at logo screen.
However, I use the same method to /cache and /data partitions, it works very well.
So, is there anything wrong with this method for /system partition?
Thanks for your help!!!
Related
Is it possible for someone to create a script to convert ext3 to ext4 and backwards.
I'v flashed my recovery menu with unrevoked, and clockmodwork doesn't support ext partitions in their recovery image.
http://forum.xda-developers.com/showthread.php?t=689778&highlight=AMon
This recovery allows you to convert your ext3 partition to ext4 (not backwards)
But you can easily do it within Linux using GParted
I've tried that.
When i start gparted it indeed can let me format back to ext3, only when i format back to ext3 i will lose my data on the ext4 partition.
I thought maybe there was a option to create a GScript script, so i can run it on my phone.
Have you try to mount ext4 as ext3?
http://en.wikipedia.org/wiki/Ext4
The ext3 file system is partially forward compatible with ext4, that is, an ext4 filesystem can be mounted as an ext3 partition (using "ext3" as the filesystem type when mounting). However, if the ext4 partition uses extents (a major new feature of ext4), then the ability to mount the file system as ext3 is lost.
peewster said:
I've tried that.
When i start gparted it indeed can let me format back to ext3, only when i format back to ext3 i will lose my data on the ext4 partition.
I thought maybe there was a option to create a GScript script, so i can run it on my phone.
Click to expand...
Click to collapse
PULL the files from the ext4 partition, then format it to ext3 and PUSH them back.
globalm said:
PULL the files from the ext4 partition, then format it to ext3 and PUSH them back.
Click to expand...
Click to collapse
i should had figured that out myself
I've created a ~500mb ext2 partition on my sdcard on redux custom rom 1.0.2 on htc desire. However, Link2sd doesn't seem to like this partition (complains that it can't mount and can't write a script to automount at boot), but then I read that redux comes with something installed already. However, it doesn't seem to be using the partition properly.
Mount shows up thus:
#mount
...
/dev/block/mmcblk0p2 on /sd-ext type ext2 (rw,noatime,nodiratime,barrier=1,data=ordered)
...
Any suggestions about what I need to do to get this partition used as part of the system storage?
Thanks in advance.
Try ext3 / ext4.
AFAIK ext2 is no longer supported in the scripts.
According to EASEUS partition Manager this partition is already ext3, but according to my mount command above it's ext2 - now I'm really confused. . Any other suggestions?
Hi there,
I do have similar problems.
After flashing latest Redux2 Rom, my Desire refuses to mount my SD-Card. I'm not able to see it in the Settings, nor am i able to flash or Restore anything from it in Recovery mode.
After trying going to "Flash zip from sdcard" i get the Error:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(No sich file or direktory)
E:Can't mount SDCARD:
I already tried the SD-Card in another phone and it's working proberly. I Already formated it on the other phone and tried formating it in Recovery.
As a result i'm also unable to reRoot it with unRevoked as the Phone won't go into USB mode...
Any suggestions how i might fix this problem?
MfG
Dominik
Use the search. Problem got solved very often.
Just to warn the other ROM creators, if you unmount and format the system partition in the updater-script you will get a bootlop. Delete the system forlder recursively, DON'T TRY TO UNMOUNT, FORMAT AND REMOUNT /system PARTITION
Hello. I can see that Android use Kernel on SD but write NAND Partitions (Data/Cache/System). It is Possible to make fota BOOTING from zImage ,,pushed" into any of this tree partitions, without SD? Not LOOP or Emulated NAND. Three Partitions, NO BADA, No SD. Possible?
ghoslslender124 said:
Hello. I can see that Android use Kernel on SD but write NAND Partitions (Data/Cache/System). It is Possible to make fota BOOTING from zImage ,,pushed" into any of this tree partitions, without SD? Not LOOP or Emulated NAND. Three Partitions, NO BADA, No SD. Possible?
Click to expand...
Click to collapse
FOTA can't read zImage from ext4 partitions as far as i know
We still have no any way to flash zImage(boot.img) as RAW to Onenand via Multiloader, and then need changes to FOTA
@adfree maybe you know how to flash zImage this way by multiloader? Something like you did with LK_boot for wave3, but we need app_compressed.bin for our FOTA
@volk204
From ext4 NO
but FAT32 like SD YES
Maybe make 4'th partition (FAT32 where we copy zImage) next to data( Now /data /cache and /system ) like /boot or something? 10mb is all what we need, we can cut it from Data (about 1550mb)
ghoslslender124 said:
@volk204
From ext4 NO
but FAT32 like SD YES
Maybe make 4'th partition (FAT32 where we copy zImage) next to data( Now /data /cache and /system ) like /boot or something? 10mb is all what we need, we can cut it from Data (about 1550mb)
Click to expand...
Click to collapse
Yeah, or keep one bada fat16 partition and put /cache on img file on it. Or put /cache and /data in the same ext4 partition.
Problem : path for kernel change depending on partition layout.
ex :
Code:
kernelImage = L"/e/boot_2.img"
for 1st fat partition of SDcard
Code:
kernelImage = L"/g/boot_2.img"
for 2nd fat partition of internal memory
But what is path for 1st fat partition of internal memory ?
Maybe someone want to try all alphabet letters... not me
Maybe someone know how these partition are mounted and labelled...
I am trying to install postmarketos on /data partition on Galaxy Tab 3 7.0. I am trying to use /data for installation rather /system as /data is much bigger.
While installing postmarketos, /data will be reformatted. I know /sdcard is a special mount inside /data. If after installing postmarketos I want to come back to AOSP/Lineage, will formatting /data in TWRP or via heimdall recreate /sdcard properly. I am not sure if /sdcard is just a inode/path reference or a particular sector reference inside /data.