[Q] Manage files - Galaxy S I9000 General

is there any tutorial to manage files bigger than 4.4 Gb, like mkv files, in this phone?

What management do you require? Like transfer and such? try astro or ES file explorer. Get it from the market...

but my Sd no supports files larger than 4 Gb because is formated with FAT32...

Try to swap it with the internal SD. The mod is in the forums.

If i swap it with internal sd, phone will recognize in Ext 2 , 3 or 4 ??

piernodoyuna said:
If i swap it with internal sd, phone will recognize in Ext 2 , 3 or 4 ??
Click to expand...
Click to collapse
No, I already tried to format to ext2. But phone said unformated card. I also instaled ext2tools, but without success.
Sent from my GT-I9003

Anybody knows if GB Rom will support other file system in external Sd (like Ext4)?
Enviado desde mi GT-I9003 usando Tapatalk

piernodoyuna said:
Anybody knows if GB Rom will support other file system in external Sd (like Ext4)?
Enviado desde mi GT-I9003 usando Tapatalk
Click to expand...
Click to collapse
the gb 's default system is ext4

sakindia123 said:
the gb 's default system is ext4
Click to expand...
Click to collapse
Are you sure that Samsung gb will have ext* support?
I see that it doesn't support it now

But it seems apps2sd force to load Ext module if kernel supports it.
Enviado desde mi GT-I9003 usando Tapatalk

piernodoyuna said:
But it seems apps2sd force to load Ext module if kernel supports it.
Click to expand...
Click to collapse
But kernel doesn't support
BTW stock kernel from XXKB3 supports ext2 and ext3 filesystems, but I don't know how to modify vold.fstab to say that external_sd should be mounted with etx2 (not with vfat fs).
I found only 1 solution (for XXKB3):
1. format external sdcard without partitioning to ext2 when it is inserted into phone, and the phone was connected to my PC (in my case that card was /dev/sdc)
2. mount the formated partition and put there all you files
3. umount it and disconnect phone from PC.
4. go to console emulator and type
Code:
$su
#mount -t ext2 /dev/block/mmcblk1p1 /mnt/sdcard/external_sd
your card will be mounted, but at the notice bar your phone will show notice that SD card is empty of have unsupported format. But with browsers you can see any files on it.
There is only 1 problem: you can't easy umount this card to connect it again to PC and transfer the files. To do this you should go to console and umount it manually.

falex007 said:
1. format external sdcard without partitioning to ext2 when it is inserted into phone, and the phone was connected to my PC (in my case that card was /dev/sdc)
2. mount the formated partition and put there all you files
Click to expand...
Click to collapse
[We are talking about XXKB3]
If you mount formatted Sdcard without Ext2,it wouldn't be possible insert files larger than Fat,(or Linux OS always make partition in Ext*if you don't tell him nothing??)
OCLF creates folder in internal card in Exts 2, and phone recognizes and is able to readf it ,isn't? Can I make this folder larger (if Sdcard is swapped), for example 5 Gb???
Thanks in advance, falex007!!!!!

piernodoyuna said:
[We are talking about XXKB3]
If you mount formatted Sdcard without Ext2,it wouldn't be possible insert files larger than Fat,(or Linux OS always make partition in Ext*if you don't tell him nothing??)
OCLF creates folder in internal card in Exts 2, and phone recognizes and is able to readf it ,isn't? Can I make this folder larger (if Sdcard is swapped), for example 5 Gb???
Thanks in advance, falex007!!!!!
Click to expand...
Click to collapse
You can mount ext2 partitions without OCLF. OCLF just installs ext utils to have ability to create ext2 partitions. The kernel from XXKB3 is already have support of ext2/ext3 fs, but you can't easy mount umount them (For me this is the biggest problem, because I watch video on my laptop). I want to have ext4 fs at sdcard, because it uses lesser space for saving files and it more faster
piernodoyuna said:
Can I make this folder larger (if Sdcard is swapped), for example 5 Gb???
Click to expand...
Click to collapse
You cant mount your ext* partition with help of usual vold.fstab (ie as /sdcard or /mnt/sdcard)

Hey falex !
Have u solved automount/unmount issue in last Rom?
XXKB9 kernel has disabled Ext4 module ?
Enviado desde mi GT-I9003 usando Tapatalk

piernodoyuna said:
Hey falex !
Have u solved automount/unmount issue in last Rom?
XXKB9 kernel has disabled Ext4 module ?
Enviado desde mi GT-I9003 usando Tapatalk
Click to expand...
Click to collapse
Hi. I'm back to froyo, because with GB I had only 1 problem: unstable WiFi. I'll wait for more stable fw. Also yes, current kernel from XXKB9 doesn't support ext* at all (damn you devs from Samsung!) I don't know why GB for i9000 has ext4 as default fs, and GB for our device doesn't support it at all.
Sent from my GT-I9003

Related

Problem regarding Swap

I'm using Lewa OS v4,
Initially there is a Swapper working, with a swap file on System partition (not more than 32 MB).
But i want to make it some large, i tried Ext 4 partition on SD Card .
I go to the swapper setting and change the mode to sdcard partition ,
It says ' swap open failed '.
I reboot, swapping becomes normal but also that partition mounts at /data/app
That is phone memory is replaced by this partition and the apps which i install in phone memory it install on this partition.
And when i check the storage in " Managing Application " tab in setting it shows the real phone memory with apps installed on ext4 sdcard partition.
Its too messy
And due to this i am having trouble using ext4 sdcard partition swap.
Is this is a problem with GB Roms or only with Lewa rom v4
vinmac said:
I'm using Lewa OS v4,
Initially there is a Swapper working, with a swap file on System partition (not more than 32 MB).
But i want to make it some large, i tried Ext 4 partition on SD Card .
I go to the swapper setting and change the mode to sdcard partition ,
It says ' swap open failed '.
I reboot, swapping becomes normal but also that partition mounts at /data/app
That is phone memory is replaced by this partition and the apps which i install in phone memory it install on this partition.
And when i check the storage in " Managing Application " tab in setting it shows the real phone memory with apps installed on ext4 sdcard partition.
Its too messy
And due to this i am having trouble using ext4 sdcard partition swap.
Is this is a problem with GB Roms or only with Lewa rom v4
Click to expand...
Click to collapse
And why are u using ext4 for swap..ext2/3/4 are for sd-ext only..it should be in linux swap.
And try using swapper 2 which is free at play store..it can create a swap file of 256mb max..
Sent from my X8 using Tapatalk
sandy_tea said:
And why are u using ext4 for swap..ext2/3/4 are for sd-ext only..it should be in linux swap.
And try using swapper 2 which is free at play store..it can create a swap file of 25mb max..
Sent from my X8 using Tapatalk
Click to expand...
Click to collapse
wrong, for android you use ext to make a swap partition
vinmac said:
I'm using Lewa OS v4,
Initially there is a Swapper working, with a swap file on System partition (not more than 32 MB).
But i want to make it some large, i tried Ext 4 partition on SD Card .
I go to the swapper setting and change the mode to sdcard partition ,
It says ' swap open failed '.
I reboot, swapping becomes normal but also that partition mounts at /data/app
That is phone memory is replaced by this partition and the apps which i install in phone memory it install on this partition.
And when i check the storage in " Managing Application " tab in setting it shows the real phone memory with apps installed on ext4 sdcard partition.
Its too messy
And due to this i am having trouble using ext4 sdcard partition swap.
Is this is a problem with GB Roms or only with Lewa rom v4
Click to expand...
Click to collapse
Friend,
Use this menthod for swap in lewa os rom v4:
1.Backup ur currently data in CWM(skip this if u want a fresh install)
2.Backup all ur data in SD(place it somewhare in ur pc)
3.Reboot in CWM>Advance>Partition the SD Card>the ext3>512m>32m
4.Press Enter key.wait till its done.
5.Now u have 512mb EXT partition with 32mb SWAP partition & ur SD is REFORMAT.
6.Copy back all ur data
7.Reboot again in CWM & restore or install fresh rom
8.Go to swap in phone(u know where)and apply SD swap.
DONE
why just dont ask in my thread.....
What it means that 512MB EXT4 partition and 32MB Swap partition?
Actually I don't want partition for App to SD.
And if swap is 32MB then swap file in system partition is more feasible. As i know that phone memory is more faster than sdcard in any case. (Might be I'm wrong)
But in my case it is true, I have class 2 sdcard.
zmuhammx said:
Friend,
why just dont ask in my thread.....
Click to expand...
Click to collapse
I ask here because i'm confused that if this problem is with Lewa os or with all GB Roms.
sandy_tea said:
And try using swapper 2 which is free at play store..it can create a swap file of 25mb max..
Click to expand...
Click to collapse
Swapper included in the Rom .
No need of external app.
And capable of making 32MB swap in system partition and 128 MB sdcard file
Lloir said:
wrong, for android you use ext to make a swap partition
Click to expand...
Click to collapse
Have u tried it? Even if u are using cwm to partition your sdcard the third partition for swap will be formatted as linux swap for sure
Sent from my X8 using Tapatalk
vinmac said:
Swapper included in the Rom .
No need of external app.
And capable of making 32MB swap in system partition and 128 MB sdcard file
Click to expand...
Click to collapse
Well it is up to u which u are going to use then
Sent from my X8 using Tapatalk
vinmac said:
What it means that 512MB EXT4 partition and 32MB Swap partition?
Actually I don't want partition for App to SD.
And if swap is 32MB then swap file in system partition is more feasible. As i know that phone memory is more faster than sdcard in any case. (Might be I'm wrong)
But in my case it is true, I have class 2 sdcard.
Click to expand...
Click to collapse
Depending on the apps you often use & how often those apps swap-out RAM, you might actually experience performance lag. Asides (I insist!), beating your card to death.

[Q] /system.tar backup and sd card partion

Hello,friends i need two solution from you people....
1.how to backup entire /system folder for using it in android kitchen working rom.
can i backup with root explorer or use some commands in terminal emulator..
i think terminal commands will bakup it in .tar and will not change anything in the files
so please give me the commands to backup system on sd card.
2.secondly what value to put while partioning sd card using rom manager....
thanks in advance.
rohitzz said:
Hello,friends i need two solution from you people....
1.how to backup entire /system folder for using it in android kitchen working rom.
can i backup with root explorer or use some commands in terminal emulator..
i think terminal commands will bakup it in .tar and will not change anything in the files
so please give me the commands to backup system on sd card.
2.secondly what value to put while partioning sd card using rom manager....
thanks in advance.
Click to expand...
Click to collapse
Don't know number 1,
I have a SD card partition of 1024 MB and 32 MB swap. I can install 500 apps . So I guess these values are more than enough
rohitzz said:
Hello,friends i need two solution from you people....
1.how to backup entire /system folder for using it in android kitchen working rom.
can i backup with root explorer or use some commands in terminal emulator..
i think terminal commands will bakup it in .tar and will not change anything in the files
so please give me the commands to backup system on sd card.
2.secondly what value to put while partioning sd card using rom manager....
thanks in advance.
Click to expand...
Click to collapse
1. nand backup via CWM or Amon_RA recovery
2. don't use ROM Manager (EVER for ANYTHING), either make the partition via recovery or via the built in tools
---------- Post added at 12:21 PM ---------- Previous post was at 12:19 PM ----------
QuantumFoam said:
Don't know number 1,
I have a SD card partition of 1024 MB and 32 MB swap. I can install 500 apps . So I guess these values are more than enough
Click to expand...
Click to collapse
Yeah, 1024 goes a long way but if you got a big SD card you might want to go for twice that and swap isn't just not needed, it's not even used unless you make a separate script to use it which ISN'T included in most roms.
Which kind of built in tools?
Sent from my Blade using xda premium
QuantumFoam said:
Don't know number 1,
I have a SD card partition of 1024 MB and 32 MB swap. I can install 500 apps . So I guess these values are more than enough
Click to expand...
Click to collapse
Why anyone don't know 1. Step!!!
Sent from my Blade using xda premium
rohitzz said:
Why anyone don't know 1. Step!!!
Sent from my Blade using xda premium
Click to expand...
Click to collapse
Jinxxed posted it above
Tar will only backup what is inside the system partition . For a more complete backup one needs backup of all partitions and boot loader with recovery. It possible only by a tool like CWM.
Also for a phone with 512 MB RAM one doesn't need swap. It mai actually degrade the performance.
My Idea ZTE Blade has only 256MB RAM, I am using CM7.2 . In manage applications total of free plus used is only 128MB. So I enabled swap using m2sd, it's 256MB, actual usage varies from 80MB to 130MB.
My phones performance is greatly improved.
Sent from my Idea Blade
rahulsa said:
Tar will only backup what is inside the system partition . For a more complete backup one needs backup of all partitions and boot loader with recovery. It possible only by a tool like CWM.
Also for a phone with 512 MB RAM one doesn't need swap. It mai actually degrade the performance.
My Idea ZTE Blade has only 256MB RAM, I am using CM7.2 . In manage applications total of free plus used is only 128MB. So I enabled swap using m2sd, it's 256MB, actual usage varies from 80MB to 130MB.
My phones performance is greatly improved.
Sent from my Idea Blade
Click to expand...
Click to collapse
1. CWM will use TAR to make the backups so it's the same thing, to make a clone of the partition you'll need to use cc.
2. It won't degrade the performance in any scenario, it MAY be unnecessary and unused though.
3. That's not swap, that's using an extended partition to store data, what you're looking at is internal storage and more specifically the internal partition /data
Jinxxed said:
1. CWM will use TAR to make the backups so it's the same thing, to make a clone of the partition you'll need to use cc.
2. It won't degrade the performance in any scenario, it MAY be unnecessary and unused though.
3. That's not swap, that's using an extended partition to store data, what you're looking at is internal storage and more specifically the internal partition /data
Click to expand...
Click to collapse
1. Ok, new learning for me.
2. Good to know this. I was bit worried initially with my 256MB swap size. As I saw 0 or 32 MB swap in many posts. But after 2 weeks I confirm that it was the best thing I did for my Blade. Yes it was even better than using sd card's ext4 partition for more space. Low RAM was a bit serious issue for me than low space.
3. I know swap and ext partition are different. I have 256MB swap and 2 GB ext-4 on my class 4 16GB.
Also understand that using m2sd one can mount /data on ext-4 (r mount) and /sdext on internal nand.
Sent from my Idea Blade
rahulsa said:
1. Ok, new learning for me.
2. Good to know this. I was bit worried initially with my 256MB swap size. As I saw 0 or 32 MB swap in many posts. But after 2 weeks I confirm that it was the best thing I did for my Blade. Yes it was even better than using sd card's ext4 partition for more space. Low RAM was a bit serious issue for me than low space.
3. I know swap and ext partition are different. I have 256MB swap and 2 GB ext-4 on my class 4 16GB.
Also understand that using m2sd one can mount /data on ext-4 (r mount) and /sdext on internal nand.
Sent from my Idea Blade
Click to expand...
Click to collapse
3. Just nitpicking but the way it works is to mount data to /sd-ext/data, /sd-ext is just the mount point for your ext partition (which may be ext2, ext3 or ext4 depending on how you configured it during partitioning and how you mount it). Depending on how you do this you can have data, app, dalvik-cache and app-private mounted to /sd-ext/[folder] (this is the common way of using it when you use my script and S2E).
Jinxxed said:
... Depending on how you do this you can have data, app, dalvik-cache and app-private mounted to /sd-ext/[folder] (this is the common way of using it when you use my script and S2E).
Click to expand...
Click to collapse
May I know your script name?
Using your script which of above should be moved last, I mean with swap already might take a portion of sd card i/o and hence i fear, may make overall speed very slow.
Or for enabling all of them should i upgrade to faster sd card?
Currently I am happy with swap and apps on sd card, rest all on int. nand.
Sent from my Idea Blade
rahulsa said:
May I know your script name?
Using your script which of above should be moved last, I mean with swap already might take a portion of sd card i/o and hence i fear, may make overall speed very slow.
Or for enabling all of them should i upgrade to faster sd card?
Currently I am happy with swap and apps on sd card, rest all on int. nand.
Sent from my Idea Blade
Click to expand...
Click to collapse
S2E-Swap-Jinxxed.zip is the name, you flash it via recovery. https://dl.dropbox.com/u/54672755/S2E-Swap-Jinxxed.zip
It's basically a set of init.d scripts for proper configuration of swap, mounting of sd-ext and the S2E application to move apps, data and cache (you can choose what you want to move and what you want to leave on your internal nand data partition) to sd-ext.
It works on all roms that don't have S2E support from the get go including all ICS variants and JB.
Jinxxed said:
S2E-Swap-Jinxxed.zip is the name, you flash it via recovery. https://dl.dropbox.com/u/54672755/S2E-Swap-Jinxxed.zip
It's basically a set of init.d scripts for proper configuration of swap, mounting of sd-ext and the S2E application to move apps, data and cache (you can choose what you want to move and what you want to leave on your internal nand data partition) to sd-ext.
It works on all roms that don't have S2E support from the get go including all ICS variants and JB.
Click to expand...
Click to collapse
To deactivate mounts2sd-4.6.2 script and use your script.
I did following after getting your answer as PM.
I deleted 10mounts2sd script from \system\etc\init.d\ .
While observing S2E-Swap-Jinxxed.zip, I realized that it contained s2e.apk in /system/app.
So I actually installed s2e from from market to get latest version.
Then to enable swap and other optimizations, I added following lines in begining of 20userinit script present in /etc/init.d .
mount -o remount,noatime,nodiratime,relatime,barrier=0,nobh /system
mount -o remount,noatime,nodiratime,relatime /data
swapon /dev/block/mmcblk0p3
So I got what I wanted and also learnt many things in the process.
Also experimented with /etc/sysctl.conf by adding vm.swappiness=50 (initially 70).
---------- Post added at 08:47 PM ---------- Previous post was at 08:26 PM ----------
Jinxxed said:
1. CWM will use TAR to make the backups so it's the same thing, to make a clone of the partition you'll need to use cc.
....
Click to expand...
Click to collapse
I backed up my Blade using the latest ClockworkMod 5.0.2.0 .
CWM backup up saying done, but with a message.
It said it did not backup up /sd-ext or external ext2/3/4 partition.
So I was worried to use app-to-ext scripts or programs.
Now I successfully used tar to backup sd-ext and restore it on a faster (class 4 to 6) sd card.
But I would like know if there is any new version of CWM for Blade 6.0.1.2 with or without touch, which backs up ext2/3/4 without any issues.
If yes, I would upgrade my CWM.
It saves time to use CWM, compared to tar.
Thanks in advance.

Fix broken internal storage on GT-I9000M (/dev/block/mmcblk0 corrupted)

I bypassed dead internal memory on a GT-I9000M.
Symptoms:
- Your GT-I9000M is not booting or bootlooping no matter what firmware you are flashing it with.
- In recovery, you are seeing I/O errors on /dev/block/mmcblk0p1
- Trying to repartition and format the internal storage with fdisk or parted and mkfs.whatever fails.
To recover:
- Partition and format your 16GB+ external microSD with at least two primary partitions, vfat on the first one and rfs (or whatever fs is supported by your firmware) on the second one.
- Acquire a stock ROM, in my case I used JL2
- untar the PDA portion of your ROM of choice (you want zImage and factoryfs.rfs)
- Extract initramfs from zImage ( https://github.com/mistadman/Extract-Kernel-Initramfs )
- grep for /dev/block/mmcblk, there should be 4 .rc files containing references to it as well as within the binary file /init.
- use a text editor to replace all occurances of "mmcblk0" with "mmcblk1" (and vice-versa if you feel so inclined) in the .rc files.
- use a hex editor to replace "mmcblk0" with "mmcblk1" in /init.
- create cpio archive of your modified initramfs with `find . | cpio -H newc -o > ../initramfs.img`
- repack kernel and initramfs ( http://forum.xda-developers.com/showthread.php?t=789712 ), you should have a new_zImage now.
- Mount the factoryfs.rfs as a loop `mount -o loop,rw -t vfat factoryfs.rfs /mnt/loop`
- Modify vold.fstab - this topic is well covered elsewhere (swap sdcard and sdcard1, swap mount points), then umount your loop
- Flash factoryfs.rfs and zImage using your favorite method.
That's it! Your phone will now boot and complain forevermore that the external memory is corrupt. ToDo: use third partition on external microSD as external_sd...
To recap:
We're telling android's init and whatever .rc scripts contain references to the broken partitions on the internal storage /dev/block/mmcblk0 to point to an appropriate partition on the external microSD card /dev/block/mmcblk1. You can actually do anything you want with the partition structure as long as it's consistent throughout init and in vold.fstab. Different ROMs do it differently.
I am not responsible for misuse of your hex editor, lack of backups, etc. I highly recommend the unbrickable mod.
Corrupt internal storage
Hi b0nafide,
My internal storage is also corrupted (i9000). I'm getting the same errors you descripe in your post. I'm trying your solution in wich you install android on your external SD. I bought a 8GB cat10 SD card....
But I'm stuck at the step: 'Extract initramfs from zImage ( [//github.com/mistadman/Extract-Kernel-Initramfs] )'. When I start the script nothing happens, except for my terminal closing. I'm using a virtualy installed Ubuntu distribution (Backtrack 5).
Do you have a tip? Perhaps you can help me through Teamviewer???
Hope do hear from you... I want to use my phone again
Greatings, Eldoro
My sgs is dead.
Please b0nafide, can you upload this modificated kernel (zImage and factoryfs.rfs) just for noobs like me?
Yes that woud be great. ..
Sent from my GT-I9300 using xda app-developers app
Here also an i9000 with reboot
Have done allot, stock rom, other pit files...
Is there a way to do this with a i9000 ?
and yes an image for us ?
and is the phone then normale... or is the internal storage still broken ?
Thanxs
Anyone can help us?
grimorct said:
Anyone can help us?
Click to expand...
Click to collapse
???
Anyone with working solution for this on i9000? I'll try to pack JW4 following this guide
grozni said:
Anyone with working solution for this on i9000? I'll try to pack JW4 following this guide
Click to expand...
Click to collapse
Yesterday, I made a flasheable pack of JW4, but it doesn't run. Now i'ḿ trying to modify JVU, but a strange thing happen when i'm repacking zImage...the script spends a lot of time in order to make it, and i can't be able to verify the correct pocess of new_zImage.
It's my first post in XDA, because normally I use HTCMANIA... I'm Spanish...and my English it isn't so good. Even, I should said that it isn't my phone...i'm repairing a friend's phone, so it's difficult for me to explain or speak about different ROMs or kernels....sorry
It's very important to advice that the scripts posted should be modified to get it run...because I found different problems to execute on Ubuntu.
Now it's 1:30 am...i'm trying "ext_JVU"....tomorrow i'll tell you the results.
Anyway i'll try to upload it, to reach different conclusions...
sesetxu said:
Anyway i'll try to upload it, to reach different conclusions...
Click to expand...
Click to collapse
Please do, I'll try flashing immediately and get back with results. How did you format external sd card?
I'm willing to try aswell... almost gave up hope.
Sent from my GT-I9300 using xda app-developers app
Hello friends!!!
I've the CODE (PDA file in ODIN) modified to execute android in ext-sdcard.
I do it as the first post said....but it doesn't run for me...
Anyway here is...Yo must get the MODEM and CSC os the stock firmware
XDA block the urls for me...for this reason its haven´t the WWW ...
Stock firmware..only to get MODEM and CSC: 4shared.com/zip/W1NeYAPA/I9000XXJVU_I9000OXAJVU_OXA.html?
Code modified to run in sdcard external: rapidshare.com/files/3786190721/ext_XXJVU.tar.md5
To solve my problems, i'll try to generate an CWMfile flasheable to try it...but now i'm hopeless....
Good luck men!!
sesetxu said:
Good luck men!!
Click to expand...
Click to collapse
Great work men!! It works for me. After flashing I got error in picture I posted (same error as before when writing to internal storage with stock rom). I just hit reboot but honestly I was not thinking it will boot. Thing I noticed when I start camera I get message turn off usb storage first. My files app shows no sd card inserted. How did you format your sd card? I'm using 8gb class 6 sd card
grozni said:
Great work men!! It works for me. After flashing I got error in picture I posted (same error as before when writing to internal storage with stock rom). I just hit reboot but honestly I was not thinking it will boot. Thing I noticed when I start camera I get message turn off usb storage first. My files app shows no sd card inserted. How did you format your sd card? I'm using 8gb class 6 sd card
Click to expand...
Click to collapse
I've modified all to use an sdcard with the folowing partitions:
1st primary fat32 which is internal sd card (4 gb)
2nd primary reiserfs which is /data (2 gb)
3rd primary fat 32 as external sd card
Try it...and I am happy to help you
sesetxu said:
I've modified all to use an sdcard with the folowing partitions:
1st primary fat32 which is internal sd card (4 gb)
2nd primary reiserfs which is /data (2 gb)
3rd primary fat 32 as external sd card
Try it...and I am happy to help you
Click to expand...
Click to collapse
I will try this layout. At first I prepared sdcard with 2 partitions which currently boot into Android but storage isn't working:
1st primary fat32 (6gb)
2nd primary ext4 (2gb)
You said raiserfs, should be that rfs type partition?
Update: I just noticed that both partition on my sdcard are fat32. First partition which should be internal storage I had to format again (not sure why). After this internal storage is still not available when in Android. I guess some mounting point is not good. Second fat32 partition is where the data is I guess (picture attached)
Exactly the same result as grozni. Same errors upon installing but booting into android. Amazing work! Also formatted 2 partitions. WiFi also not working btw. Hangs on obtaining ip...
Sent from my GT-I9300 using xda app-developers app
eldoro said:
Hangs on obtaining ip...
Click to expand...
Click to collapse
Same here
Is imposible to start Andoird without a rfs partition to mount /data (or ext4, for ROMs wich has fixed the troubles with ext4/rfs file systems...)
I can´t start the phone, because i get an added problem (my system can't format rfs data..but i don't know why)
I'm going to review the file /system/etc/vold.fstab who manages the mount points of the internal and external storages.
If anyone gets the correct configuration...please post it..
Tomorrow is Monday...and although I'm Spanish, I have a job (****ing crisis)...and i haven't so much time as weekend
Edit: wifi sockets are created over /data partition, if there is any problem in this partition is probably to get troubles obtaining IP
sesetxu said:
Is imposible to start Andoird without a rfs partition to mount /data (or ext4, for ROMs wich has fixed the troubles with ext4/rfs file systems...)
Click to expand...
Click to collapse
If I understand correctly samsung rfs and reiserfs are not the same thing? Why you use raiserfs on sdcard layout?
sesetxu said:
Edit: wifi sockets are created over /data partition, if there is any problem in this partition is probably to get troubles obtaining IP
Click to expand...
Click to collapse
That is the reason
Update: One more thing I forgot to mention. When I try to format USB storage (internal sd) I get message sd card removed

use External sd card to install apps on it by lin2sd

This is a step by step guide on how you can run Link2SD on your device. This tutorial will work for both stock and cutom ROMs. For ClockWorkMod Recovery users, you can check the other guide below. Follow all the instructions carefully to eliminate possible problems.
First you have to download Mini Tool Partition Wizard Manager. You can download it HERE.
Insert your SD card to a card reader and open it on your computer.
Back up all your files to the computer because partitioning will wipe your data.
Open Mini Tool in your computer. Locate your SD card (be careful in choosing and make sure not to choose the drive of your computer)
Right click and choose Delete.link2sd 3
Right click on it again and choose Create New. Create “FAT32″ partition (This is where all your media files will go. Be sure to make it bigger than the 2nd part)
Select “Create as: PRIMARY” link2sd 4
Next, create an ext2/ext3/ext4 partition (if you’re on stock ROM, choose ext2). This is where your apps will go. I suggest a value of 512Mb or 1Gb would be big enough but if you insist you can go as high as 2Gb.
Select “Create As: PRIMARY” (make sure that it is both set to primary because it will not work if it is not set to primary) link2sd 5
Click the “Apply” button on the top left corner and wait for it to finish the process. Done.
Put back your SD card to your phone and switch it on.
Download and install Link2sd from Google Play Store.
Open Link2sd. You will be prompted to choose between ext2, ext3, ext4 and FAT32. Select ext2. link2sd 6
It will say mount script created. Reboot your phone now.
Open link2sd and if the message doesn’t show up, you succeded.
Go to Link2sd>Settings>check the autolink (to automatically move apps upon installation)
If you already have some apps, select “move to phone” then after moving select “Create Link” (be sure to check the three files: app, dalvic-cache and library files)
link2sd 2link2sd
To check your memory, select “Storage Info”. This will show you the current state of your internal memory, FAT32, and ext2 partition. link2sd 7
Now you’re done and ready to install vast amount of applications as you wish!
FOR CLOCKWORKMOD RECOVERY USERS ONLY( ALTERNATIVE METHOD)
NOTE: You can also use the instructions above. This guide will work on both stock and custom ROMs.
Back up all your files to your computer. Partitioning wipes the files of your SD card.
Go into recovery mode
Select “Advanced”
Select “Partition SD card”
Choose your SD-ext size (if you’re using a 2Gb SD card, choose 512Mb. If your SD card is 4Gb or greater, you can choose 1024Mb)
Select 0 swap
Wait for the process to finish. Reboot.
Download and install Link2SD from Google Play Store.
Open Link2SD you will be prompted to choose between ext2, ext3, ext4 or FAT32. Choose ext4.
Follow instructions number 14-20. DONE!
There are many things wrong with this guide. Never partition an sd-card with CWM or Minitool partiton wizard. You will probably end up with a damaged sd-card, or most likely with a faulty sd-ext partition. Use Gparted instead.
And why use link2sd when you can install an init d script that works way better?
abaaaabbbb63 said:
There are many things wrong with this guide. Never partition an sd-card with CWM or Minitool partiton wizard. You will probably end up with a damaged sd-card, or most likely with a faulty sd-ext partition. Use Gparted instead.
And why use link2sd when you can install an init d script that works way better?
Click to expand...
Click to collapse
I appreciate your guide but i have used and still using minitool partition and linktosd .its working perfectly with no lag still after 1 month of use
not all roms support init d script nor 4ext recovry support is avainable for every phone
Thanks. I know 4ext is only available on some phones, that's why I recommend Gparted.
The difference is that Gparted makes a properly linux ext4 partition. I have a friend that used minitool, and he finished off his 16gb class 10 card.
this only for android 4.1.2 or below and not for 4.2, is that right?
Dont know really becoz I used it upto 4.1.2
Sent from my GT-P3100 using xda premium
tab2 app to sd
hi i am from brazil and want so much install apks with data in external sd.i have tab2 p3100 with root.and use ics 4.0.4 this work for me??plz wait your answear.thanks and sorry for bad english.:laugh:
m.mcrespo said:
hi i am from brazil and want so much install apks with data in external sd.i have tab2 p3100 with root.and use ics 4.0.4 this work for me??plz wait your answear.thanks and sorry for bad english.:laugh:
Click to expand...
Click to collapse
This will work all the way until 4.2.1 I use it on CM10.1.
Yes this will move data and apk to the partition of your SD card, I recomend EXT4 it work prety well for me
Jdgp42 said:
This will work all the way until 4.2.1 I use it on CM10.1.
Yes this will move data and apk to the partition of your SD card, I recomend EXT4 it work prety well for me
Click to expand...
Click to collapse
So after make this process i can move the gameloft data for SD. Really i want just put games and sigic GPS to external SD. I will try this tomorrow. Thanks
Enviado de meu GT-P3100 usando o Tapatalk 2
KK-Boot 0.5.2 have a feature to make the external SD card (/storage/extSdCard) as an internal media (/storage/sdcard0) and allocate all the internal media space for apps. Users still have full access to internal storage because the internal storage (/data/media) then mapped as external SD card. Cleaning /storage/extSdCard will give more spaces for apps
m.mcrespo said:
So after make this process i can move the gameloft data for SD. Really i want just put games and sigic GPS to external SD. I will try this tomorrow. Thanks
Enviado de meu GT-P3100 usando o Tapatalk 2
Click to expand...
Click to collapse
No it will not work for moving gamloft game data cause the data of this games is not in the apk is in a externa folder (obb) there is a solution for this already but i dont remember rhe mane right now
Hmmm ok thanks for the answer anyway. I will see here because my big problem is the game data. One just game have almost 2 g .
Enviado de meu GT-P3100 usando o Tapatalk 2
m.mcrespo said:
Hmmm ok thanks for the answer anyway. I will see here because my big problem is the game data. One just game have almost 2 g .
Enviado de meu GT-P3100 usando o Tapatalk 2
Click to expand...
Click to collapse
Try this:
http://forum.xda-developers.com/showthread.php?t=1410262
Thanks bro i will read the topic and see what i will make.
Enviado de meu GT-P3100 usando o Tapatalk 2

[How-To][P3100][CM11][dataOnExt] use second partition of external SD-Card as /data

Hi,
I was looking for a tutorial how to use a second partition of the external SD card as /data partition. 1 day and about 10 complete system wipes later...
How I mounted the second partition oft my sdcard as /data:
You have:
a P3100 (not tested on others yet)
Cyanogenmod 11 Rom
a fast micro sdcard -32GB
Step 1 prepare the sdcard: you need a fat32 partition and a Ext4 partition (use a PC with a cardreader and gparted or something like that)
Step 2 For the sake of simplicity, I am going to assume you already installed your rom and the tablet is rooted
Form a terminal with su:
create a directory
Mount the second partition (/dev/block/mmcblk1p2) on that directory
copy -a -v /data/* yourDirectory/
Step 3 - modifing the rom and fstab.espresso
Now you have to extract the boot.IMG Form your rom, using dsixda's Kitchen
In case you have no idea how to use this kitchen (like me) here is someone doing exact what we need
After changing in the BOOT-EXTRACTED directory, you have to edit the fstab.espresso...
simply replace the mount source of
Code:
/data
with
Code:
/dev/block/mmcblk1p2
save the file and rebuild the rom
Step 4 install your new rom with cwm and reboot...
If everything went well the second partition of your sdcard is now mounted as /data
My internal storage is now (in the storage view of settings) about 20GB big and i will never have to use link2sd or apps like that again
Nice side effect the access to the highspeed sdcard is a bit faster than the access to the internal storage
You have to modify all updates oft your rom in the same way before installing them
ToDo write a script to automate the process
PS.: plz tell me if something is unclear or not understandable or this is the wrong place for this thread OR you know a shorter way to do this (thats my first post here)
Farbdose said:
...
In case you have no idea how to use this kitchen (like me) here is someone doing exact what we need
..
Click to expand...
Click to collapse
Happy modding! Feel free to quote any or all of the thread, just give credits where it is due
On a related note - have you confirmed this to be working in your device? And does your device use a part of the /data partition as internal SD Card (/data/media fused to be /sdcard)?
OK thank you,
Yep its working, the complete /data is on the sdcard now including /data/data and /data/media, my internal storage is now about 20gb big xD
I am not really sure if there are crazy symlinks in /data but atm i have no problems
The "real" sd partition is still fat32 formated and used as before the modification, and because i didn't mount the second partition anywhere (only as /data) the rest of the system doesn't know that it exists...
(problem: there is now a unused /data partition on my internal tablet storage and i have no real idea how to use this free storage)
Sent from my GT-P3100 using XDA Premium 4 mobile app
You can mount it to /data/dalvik-cache - check my thread
Sent from my GT-N7100 using XDA Premium 4 mobile app
thats indeed a usefull usage oft the old data partition thx
Sent from my GT-P3100 using XDA Premium 4 mobile app

Categories

Resources