[KERNEL] Gingerbread with EXT4 support and FS converter - Galaxy Ace S5830 Original Android Development

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
As many people where demanding a Ext4 Kernel I created one and added a Filesystem conversion script.
This does only work on Gingerbread ROMs cause the bootloader is different!
On Froyo it will cause the device not to boot into the normal android system. Don't flash it if you are not on a Gingerbread ROM.
I have tested it with KPH but it should work on all Gingbread ROMs that have a updated bootloader.
FS converter? WTF???
This converts (formats) all your internal partitions (system, data, cache) with Ext4.
This way you don't have to use RFS which performance is pretty poor.
How to install?
Install CWM (there some threads here how to do this)
Make a Nandroid backup of your system (this is essential otherwise all your data will be lost!!!)
Install the ext4-update.zip (this will format your partition into EXT4 and flash a new Kernel)
Go into "mounts and storage" -> unmount cache (if it is mounted)
Go to "backup and restore" -> "advanced restore"
Choose the backup you made before -> Restore System & Data (cache is not needed it is rebuild on the next reboot)
Reboot
Don't panic (it will take some time to rebuild the dalvik cache,
just like the first boot after you flashed a new rom with ODIN)
Follow those instructions otherwise all your data will be lost and i make fun of you!
This will install a Kernel that has EXT4 support and a modified init.rc to mount both ext4 and rfs partitions.
Ok enough talked, where can I get this ****? Here MD5: 369808990ff8d45065f0cdd8fbb3f8b8
WTH you bricked my Phone
This is impossible. Except your CWM is buggy. You phone doesn't boot up, you are stucked at the samsung logo?
Ok then we need some information from you. Did you hear the start-up sound the the samsung logo player?
How long did you wait?
Try to adb to the phone and give me the output from "mount" and "logcat" on pastebin.com pls.
Please tell us witch rom you were running. I am not sure if this will work with any custom rom cause i only tested stock
You can fully revert by flashing a Full ROM with ODIN. Then install cwm and restore the backup you created before.
How did you create this?
I simply build the kernel source added Ext4 support. Kernel source is on github
Then I created a new initramfs by dumping the stock one doing the modifications and repacking it. The Initramfs is also on github. This should help anyone of you trying to the some on your custom kernel.

Cool dude ....
Is this a OC kernel ?>???
Nice work dude for this 1 ....
Appreciate ur work

Great work...
Getting ext4 support means it will format the sd card fully or just creates a partition with the free memory left in the sd card?
Sent from my GT-S5830 using XDA App

Aadigoku13 said:
Cool dude ....
Is this a OC kernel ?>???
Nice work dude for this 1 ....
Appreciate ur work
Click to expand...
Click to collapse
nope nothing touched except FS support. I think i won't add anything like that cause it want to save my time to work on CyanogenMod. But everyone feel free to modify the source and do it

adiles said:
Great work...
Getting ext4 support means it will format the sd card fully or just creates a partition with the free memory left in the sd card?
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
it does not touch your sd card. it simply formats the internal partitions to ext4.

hot bro just waited for this......
waiting to see your other work....
and what is FS converter????sry for noob question..

coolya said:
nope nothing touched except FS support. I think i won't add anything like that cause it want to save my time to work on CyanogenMod. But everyone feel free to modify the source and do it
Click to expand...
Click to collapse
Are you working on CM for ACE? Thx for kernel, nice work. )

There is no RFS filesystem's source in your source, how do you compile a kernel supporting RFS?

fzn0268 said:
There is no RFS filesystem's source in your source, how do you compile a kernel supporting RFS?
Click to expand...
Click to collapse
samsung just give we modules for rfs support.
it included in boot.img

what are the advantages of using EXT4 as filesystem?

downloadonlyaccount said:
what are the advantages of using EXT4 as filesystem?
Click to expand...
Click to collapse
Its a journaled file system, meaning it keeps track of all changes made to the file system in a journal making it much faster than samsung's rfs file system.
@coolya
Thanks for this!
Does this Kernel only support SD card EXT4 partitions or does it convert the phone memory to EXT4 as well(thats what i understand by the FS coverter script).

kills999 said:
Its a journaled file system, meaning it keeps track of all changes made to the file system in a journal making it much faster than samsung's rfs file system.
@coolya
Thanks for this!
Does this Kernel only support SD card EXT4 partitions or does it convert the phone memory to EXT4 as well(thats what i understand by the FS coverter script).
Click to expand...
Click to collapse
it converts all internal partitions into Ext4, /system, /data and /cache

But how to use them? I want to build a Froyo kernel supporting ext4 and RFS.

coolya said:
it converts all internal partitions into Ext4, /system, /data and /cache
Click to expand...
Click to collapse
thanks!!
that means it will also support SD card EXT4 APPS2SD partitions right??

kills999 said:
thanks!!
that means it will also support SD card EXT4 APPS2SD partitions right??
Click to expand...
Click to collapse
the kernel is Ext4 enabled you can use where ever you want, you just have to mount the partition right.

is there any way to revert changes made? just in case we may want to claim warranty..
thank you for this awesome work!

guyz i am having a problem...
i just installed this file and after that my phone just got stuck on the samsung logo after reboot...
i followed all the steps but dnt know what happ..

tj_style said:
samsung just give we modules for rfs support.
it included in boot.img
Click to expand...
Click to collapse
How to use these modules?

digkong said:
guyz i am having a problem...
i just installed this file and after that my phone just got stuck on the samsung logo after reboot...
i followed all the steps but dnt know what happ..
Click to expand...
Click to collapse
i had the same problem , just restore cache too and it will be working again

mundixx said:
is there any way to revert changes made? just in case we may want to claim warranty..
thank you for this awesome work!
Click to expand...
Click to collapse
Flash stock kph with odin...

Related

[MOD] data and dalvik to SD (ext partition)

OK, I'm going to stop polluting other threads with my stuff.
This should help make sure I can keep up on the discussions and provide support for people trying to use my ZIPs and/or scripts.
NOTE: This version requires JACs kernel and init.d mods. Flash his stuff, then flash mine. All this will be integrated at some point and any other dev is welcome to integrate my stuff with theirs.
In addition to the JAC kernel, you need an ext partition on the EXTERNAL SD card. DO NOT USE ROM MANAGER TO PARTITION. You will get into a boot loop and will have to Odin back to stock. For partitioning, you may use "adb shell" in clockwork recovery, an old G1/Mytouch with Amon-Ra/Clockwork, a computer with a card reader and GPartd, Paragon, etc.. If you do it with fdisk, don't forget to format the partitions, here are some sample commands.
This will format an ext2 partition.
Code:
/system/bin/mke2fs /dev/block/mmcblk1p2
Convert from ext2 to ext3
Code:
/system/bin/tune2fs -j /dev/block/mmcblk1p2
Convert ext3 to ext4
Code:
/system/bin/tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk1p2
fsck, any ext version. Do this when you are done converting between types.
Code:
/system/bin/e2fsck -fpDC0 /dev/block/mmcblk1p2
For all of the above, make sure the partition isn't mounted with "mount". You also have to have already flashed either this ZIP, or my e2fsprogs-ext4 ZIP for the files to be installed in /system/bin.
This version will clean up older versions that I know about. It will remove any use of the playlogos hack, and the older version of my script that JAC included in his kernel.
Quadrant - 1722. I have also not seen any lag from this change. I've tried some apps that make heavy use of the database, and so far it's performing quite well. If you do see problems, I suggest fsck on the ext partition, and perhaps formatting it, to ensure it's nice and clean.
Please note that benchmark results will vary based on a large number of factors beyond my control. Try with a clean phone, no background apps. A faster SD card will help as well. I am using an older Transcend 8GB Class 6 that I used to use on my G1. It doesn't help that the free Quadrant tests lots of stuff, not just activity on /data/data and such.
To see if it's working, open a shell and type "mount". You should see entries like this:
Code:
/dev/block/mmcblk1p2 on /sd-ext type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)
/dev/block/mmcblk1p2 on /data/dalvik-cache type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)
/dev/block/mmcblk1p2 on /data/data type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)
Added data-only ZIP and the disable/revert ZIP.
Added auto-partition ZIP to create 1GB ext3 partition automatically. Note that this will delete ALL SD contents.
Added old-style enable-dc2sd for users of the auto-partition script. Do not use for JAC kernels, use the current dc2sd instead.
Changelog:
8/9/2010: Added loopback style version, should find prior versions and remove them, copying your data from the /sd-ext partition.
v2.
Compatibility fix for JAC -6 kernel.
v1.
Added e2fsprogs w/ext4 support to the ZIP
Better integration with init.d layout
On boot fsck to ensure that the ext partition is kept clean
Automatically copy files if /data has larger directories than /sd-ext
Test versions that should fix busybox to work with the newer JAC kernels. -loop uses the loopback filesystem method (RyanZA style). The other one is for an ext partition on the external SD card.
Feel free to post direct links or links to the kernel thread.
For some reason, the convetr to ext4 command isnt working for me.
Just says "Tune2fs 1.41.6" then back at # prompt
GREAT RESOURCE - Deserves a sticky just for the conversion syntax
EDIT: Maybe not, it said mounted as an ext3 before, now it says ext4
EDIT2: SUCCESS!!!!! EXT4 gives a major boost to the Quadrant score - 1531. WAY better than the~1100 i was getting before. Stupid G1 didnt actually convert ext3 to ext4, even though it said it did. Thanks!
Not that I'm stressin over Quadrant scores, but I just dropped ~100 (previous was 1497) after flashing this. Ah well.
Hmmm, before applying this script, I was just using JAC's v5 kernel, which worked fine, but after applying the OP's script, I cant backup in Clockwork (again lol).
It doesnt seem to mount /data and /datadata, as it only backs up /system and errors out on the other two. Any idea why?
EDIT: The error is really random, Ive now had 2 successful backups, 2-3 that failed due to mount issues, and 2-3 that failed due to MD5 issues. I would like to narrow down the possibilities, and I attempted a restore to stock, rooted, and then used JAC's kernel, same issue occurs (did not use your newest script). That being said, I dont think its your script. (stumped)
When converting to ext4 it said "please run e2fsck on the filesystem"
EDIT: Ran "mount" and it shows same messages you do. So it worked
LovellKid said:
When converting to ext4 it said "please run e2fsck on the filesystem"
EDIT: Ran "mount" and it shows same messages you do. So it worked
Click to expand...
Click to collapse
It's supposed to say that. Do it.
Glad it's working for some of you. As for nandroid, no idea. I'll install jac latest and check it out. Can't think of much I could have done to it though, I can't mod the ramdisk this way.
+1 on the nandroid, I went back and tried and couldnt. Also, tried to flash anamolous deodexed ROM and wouldnt. Gave errors e: cant mount /dev/block etc and failed. Could this be related?
LovellKid said:
+1 on the nandroid, I went back and tried and couldnt. Also, tried to flash anamolous deodexed ROM and wouldnt. Gave errors e: cant mount /dev/block etc and failed. Could this be related?
Click to expand...
Click to collapse
I doubt it, my stuff doesn't run in recovery, at least I don't think it will. I've never seen it run. I'll look into it, but it sounds like the jac mod might have an issue with nandroid right now.
There was a similar issue on the g1 with cm6. I wonder if that fix will work here...
Could you also post the Just DATA, and revert scripts in this thread please
Also, what would be the proper flashing order for just data?
1. JAC init.d
2. reverse
3. Just data
Or do I have to flash init.d, apply kernel, then reboot and flash reverse then just data?
The_Chrome_Coyote said:
Could you also post the Just DATA, and revert scripts in this thread please
Also, what would be the proper flashing order for just data?
1. JAC init.d
2. reverse
3. Just data
Or do I have to flash init.d, apply kernel, then reboot and flash reverse then just data?
Click to expand...
Click to collapse
Added revert and data-only to the OP.
If you don't have any sd-ext hack installed right now:
1. JAC init.d
2. data-only ZIP
3. reboot to download mode and flash the JAC kernel
If you already have dc2sd installed:
1. Revert ZIP
2. JAC init.d ZIP
3. Data-only ZIP
4. reboot to download mode and flash the JAC kernel
If you already have the kernel and the JAC init.d:
1. Revert ZIP
2. Data-only ZIP
I am trying to revert this fix, so I can try the new hack involving a virtual EXT2 partition. I tried the revert, and I manually deleted the a2sd and dc2sd files in init.d, but it rebuilds data when I reboot. ANy ideas?
zimphishmonger said:
I am trying to revert this fix, so I can try the new hack involving a virtual EXT2 partition. I tried the revert, and I manually deleted the a2sd and dc2sd files in init.d, but it rebuilds data when I reboot. ANy ideas?
Click to expand...
Click to collapse
You likely have a script in /system/etc/init.d doing it, or you didn't clean the old playlogos stuff up.
FWIW, I'm working on a similar way of doing it, but with ext4 and a proper init script. I don't like using ext2 for this stuff, too easy to corrupt it.
Does your new loop script require an sdcard with ext 4 partition or does it use the internal sd card?
ttabbal said:
You likely have a script in /system/etc/init.d doing it, or you didn't clean the old playlogos stuff up.
FWIW, I'm working on a similar way of doing it, but with ext4 and a proper init script. I don't like using ext2 for this stuff, too easy to corrupt it.
Click to expand...
Click to collapse
Thanks for your work! I found your dc2-loop-v1 script. Will play w/ that until you come out w/ something better. Is EXT2 really that fragile in terms of corruption when it is virtualized within a journaled file system (which I believe RFS is)
frank707 said:
Does your new loop script require an sdcard with ext 4 partition or does it use the internal sd card?
Click to expand...
Click to collapse
This loop version doesn't use an ext partition. Just the loopback mount. It will copy the files from an ext partition if you have applied that hack.
zimphishmonger said:
Thanks for your work! I found your dc2-loop-v1 script. Will play w/ that until you come out w/ something better. Is EXT2 really that fragile in terms of corruption when it is virtualized within a journaled file system (which I believe RFS is)
Click to expand...
Click to collapse
Most file system journals don't help with the data just the structure. Rfs rides on vfat, so I doubt it's worth much that way.
Gave the dc2-loop script a shot, to convert from the /SD-EXT method to this new ext4 container method. It creates the container correctly, but never seems to copy everything over. All my apps act as if i've never started them up, so Data isnt getting copied over correctly.
EDIT: Tried again, the dc2-loop script def doesnt work, and I have no idea why. It looks perfect (code-wise), but for whatever reason doesnt end up working properly
can't get your loop script working. every other one i have been able to run flawlessly. i just flashed the oc kernel by jac. any further instructions or pre reqs?

[MOD] Back to ext 4 / ext 3

This script will convert your system & data partition to ext 4 filesystem
only use it when your ROM / KERNEL supports ext4 filesystem ! Read description carefully !
example for use :
use it when you try out MCR ROM FR19 (you have to convert to ext3 before) or CM (will auto convert to ext3 when installing) and want to revert back to your older backup (FR18 for example)
restoring your backup in CWM recovery will restore your data but will not convert your filesystem back to ext4, that´s why i made this zip.
so, if you plan reverting to your backup (which supports ext4), simply apply this zip in recovery & restore your backup afterwards ;
back_to_ext4
------------------------------------------------------
This script will convert your system & data partition to ext 3 filesystem
(courtesy of Paul / MoDaCo)
If you have been using a EXT4 ROM and you want to restore a stock ROM that only has EXT3 support, it's a bit of a faff. Introducing BackToEXT3.
This ClockworkMod update zip simply converts your /system and /data partitions back to EXT3. It wipes them both in the process, so you need to have an existing backup / ROM to restore to.
Click to expand...
Click to collapse
example for use :
use it if you are running an ext4 ROM at the moment and want to revert to your stock ROM or CM backup. (which both only support ext3 at the moment)
r1-backtoext3-2x-unsigned
Niceee, just what a lot of people need.
How do I tell if I´m running Ext 3 or 4 ?
Filgaliel said:
How do I tell if I´m running Ext 3 or 4 ?
Click to expand...
Click to collapse
quick on phone :
open "terminal emulator" (free in market) on phone
type in command : "mount"
check output
example (sys+data : ext4) :
Anyone know if the CM7 (offical) kernel has support for EXT4? Then we could use this to convert from EXT3 to EXT4, right?
sibbor said:
Anyone know if the CM7 (offical) kernel has support for EXT4? Then we could use this to convert from EXT3 to EXT4, right?
Click to expand...
Click to collapse
you could use, but ...
CM system partition still running ext 3 ...
Code:
format("ext3", "EMMC", "/dev/block/mmcblk0p1");
mount("ext3", "EMMC", "/dev/block/mmcblk0p1", "/system");
Can we ext4 on cm7 with a custom kernel?
ermacwins said:
Can we ext4 on cm7 with a custom kernel?
Click to expand...
Click to collapse
afaik, no custom CM kernel supports ext4 atm ...
added backtoext3 script from paul in 1.st post ...
75markus said:
added backtoext3 script from paul in 1.st post ...
Click to expand...
Click to collapse
I used this backtoext3 in order to return to my nandroid stock rom v10d backup.
Restore completed, but then on boot, it stucks on the 2nd LG logo (one with blue statusbar underneath it).
Am I missing a step here?
75markus said:
afaik, no custom CM kernel supports ext4 atm ...
added backtoext3 script from paul in 1.st post ...
Click to expand...
Click to collapse
I'm working on a universalEXT4converter. It will convert your filesystem to ext4 and edit your ramdisk (works on every rom). Currently not working and I can't bugfix it (because erm something went wrong hehe ).
But will be ready soon and p999 support will follow too
viluve said:
I used this backtoext3 in order to return to my nandroid stock rom v10d backup.
Restore completed, but then on boot, it stucks on the 2nd LG logo (one with blue statusbar underneath it).
Am I missing a step here?
Click to expand...
Click to collapse
strange ...
it should work for that case ...
you have also changed baseband to newer version , perhaps that´s the reason ?
Benee said:
I'm working on a universalEXT4converter. It will convert your filesystem to ext4 and edit your ramdisk (works on every rom). Currently not working and I can't bugfix it (because erm something went wrong hehe ).
But will be ready soon and p999 support will follow too
Click to expand...
Click to collapse
sounds good
75markus said:
sounds good
Click to expand...
Click to collapse
hehe But first need to fix up my device so I can test this zip. First only data convertion. Strange stuff happend last time : /
Well I'm running the latest Slick2x-G which is CM7 and I've tried a new kernel (Morfic's EXT4 Trinity Test Kernel) from OP of this topic http://forum.xda-developers.com/showthread.php?t=1067939
Converted to EXT4 with CM7 and it seems to be running ok, not having any problems, battery life not too bad either.
One thing I was wondering though was I was to wipe and put a different CM7 based rom on without the above kernel would it automatically convert back to EXT3?
[vertigo] said:
Well I'm running the latest Slick2x-G which is CM7 and I've tried a new kernel (Morfic's EXT4 Trinity Test Kernel) from OP of this topic http://forum.xda-developers.com/showthread.php?t=1067939
Converted to EXT4 with CM7 and it seems to be running ok, not having any problems, battery life not too bad either.
One thing I was wondering though was I was to wipe and put a different CM7 based rom on without the above kernel would it automatically convert back to EXT3?
Click to expand...
Click to collapse
Cm update Script formats system ext3 when installing...
Sent from my LG-P990 using Tapatalk

CM7/Zeus v7 alongside any rom with GB bootloader and CM7 alongside v28a

CM7/Zeus v7alongside any rom with GB bootloader and CM7 alongside v28a
Hi!This is my"how to" for installing two roms on one OB.
1.We need to partition sdcard
partition #1 : format it to fat(will be used as sdcard)
partition #2 : format it to ext4(will be used as system of zeus and must be at least 320 MB)
partition #3 : format it to ext4(will be used as data of zeus and must be at least 400 MB)
2.Now if u want:
1.Zeus flash this
2.cm7 flash this
(DO NOT FORGET TO PUT YOUR INTERNAL ROM`S KERNEL TO /sdcard/boot/ and name it nandboot.img!)
3.cm7 alongside v28a flash first this, then flash v28a with SFT, then root your v28a and after that put files from this bin.zip to the /system/bin
3.Now if u want to boot:
1.Zeus type in the terminal
Code:
su
bootzeus
2.cm7 type in the terminal
Code:
su
bootcm7
3.v28c ICS
Code:
su
bootsd
4.your nand rom
Code:
su
bootnand
NOTE:If u change your nand rom first install your new rom and after that copy your new rom's boot.img and put it to /sdcard/boot.img and after that rename it to nandboot.img and after all this install this if your sdrom is cm7 and if Zeus this
Now partition table is:
Code:
Zeus/CM7/v28c ICS
system /dev/block/mmcblk1p2
data /dev/block/mmcblk1p3
CM10
system /dev/block/mmcblk0p8
data /dev/block/mmcblk0p9
YouTube
suleymanovemil8 said:
Hi!So is it possible to boot android from sdcard?I think changing root directory to mmcblk1 in the default kernel kommand line could help, have anyone done smthing like this before?
Click to expand...
Click to collapse
Even if it works you'll still be using the same kernel and ramdisk which will only work on ROM very similar to your base.
Sent from my LG-P970
look what i've found http://forum.xda-developers.com/showthread.php?t=1642185
suleymanovemil8 said:
look what i've found http://forum.xda-developers.com/showthread.php?t=1642185
Click to expand...
Click to collapse
I had a look. It looks promising. Its quite a cheap trick and should work on our phone.
I am on my phone now so I can't study what he did in detail and I'm not entirely sure how he handles kernel switching (yet).
It's a good find.
EDIT: Nothing to do with kernel root or command line though.
Sent from my LG-P970
xonar_ said:
I had a look. It looks promising. Its quite a cheap trick and should work on our phone.
I am on my phone now so I can't study what he did in detail and I'm not entirely sure how he handles kernel switching (yet).
It's a good find.
EDIT: Nothing to do with kernel root or command line though.
Sent from my LG-P970
Click to expand...
Click to collapse
I`ve made script for OB and it works
HTML:
cat /sdcard/boot/sdboot.img > /dev/block/mmcblk0p3
echo Rebooting to SD Rom. Please wait...
sleep 3
reboot
return 0
I have repacked zeus rom`s kernel with sd mounts and put the system partition to mmcblk1p1 but it looks like smthing goes wrong(if sdcard is inserted it reboots to recovery in a few seconds but if I remove sd card it stucks at lg logo) and it have created app, data, etc. folders on data (sd) partition
suleymanovemil8 said:
I`ve made script for OB and it works
HTML:
cat /sdcard/boot/sdboot.img > /dev/block/mmcblk0p3
echo Rebooting to SD Rom. Please wait...
sleep 3
reboot
return 0
I have repacked zeus rom`s kernel with sd mounts and put the system partition to mmcblk1p1 but it looks like smthing goes wrong(if sdcard is inserted it reboots to recovery in a few seconds but if I remove sd card it stucks at lg logo) and it have created app, data, etc. folders on data (sd) partition
Click to expand...
Click to collapse
Make so that it only mount the sd partitions if the sd card is present and is made to be bootable.
Reflashing the boot.img isn't a nice way of doing it since bad flash would result in a bootloop. Linux has the ability to reload a kernel without shutting down. I don't know if the kernel that we use can do that maybe it's worth looking into.
Sent from my LG-P970
xonar_ said:
Make so that it only mount the sd partitions if the sd card is present and is made to be bootable.
Reflashing the boot.img isn't a nice way of doing it since bad flash would result in a bootloop. Linux has the ability to reload a kernel without shutting down. I don't know if the kernel that we use can do that maybe it's worth looking into.
Sent from my LG-P970
Click to expand...
Click to collapse
as i said "and it have created app, data, etc. folders on data (sd) partition"
What if i will move /system #2 to /data partition and both of the systems will have data partition on sdcard?
PS. It worked!Now I have data partition on mmcblk1p2
here it is(this is kernel for cm10(26.10.2012))
suleymanovemil8 said:
What if i will move /system #2 to /data partition and both of the systems will have data partition on sdcard?
PS. It worked!Now I have data partition on mmcblk1p2
Click to expand...
Click to collapse
What are you going to do with the GB thats on the phone and not used?
EDIT: its rebooting to recovery because the kernel is set to reboot to recovery when it's 'panicking'.
Sent from my LG-P970
xonar_ said:
What are you going to do with the GB thats on the phone and not used?
Sent from my LG-P970
Click to expand...
Click to collapse
no this kernel boots with normal system and data at sdcard and now i will make kernel with booting from data directory and with data at sdcard)
YES! I have now two roms on one phone!
suleymanovemil8 said:
YES! I have now two roms on one phone!
Click to expand...
Click to collapse
Do a walkthrough for us! :laugh::laugh:
genarinho said:
Do a walkthrough for us! :laugh::laugh:
Click to expand...
Click to collapse
Yes ,pls
sent from my Nokia 1100 with droid 4.0
Just everyone thats reading this know that it still booting from phone and then reading data from sd. (Not true dualboot yet )
@ sulley
Why not use recovery as the phone boot.img and then normal boot then goes of two sd. CWM sources are available and can be modified so that it works as a boot manager. It will then be actual dual boot because from there you can load kernel from either sd or phone (and unload the recovery kernel and with its dying breath start the new kernel ).A project like this will take A LOT of time and will definitely be more than 6 months. Since it would be based on recovery it should be able to make it work for all phones that can use CWM and have similar boot structure. I will help out on a project like this but I can't be that involved with it since my studies will take up most of my time.
As much I understand, bootloader is needed for dualboot and it applies same on Android. So you got access to our bootloader or just directing the boot.img from 1st ROM to 2nd one? Like handshaking?
xonar_ said:
Just everyone thats reading this know that it still booting from phone and then reading data from sd. (Not true dualboot yet )
@ sulley
Why not use recovery as the phone boot.img and then normal boot then goes of two sd. CWM sources are available and can be modified so that it works as a boot manager. It will then be actual dual boot because from there you can load kernel from either sd or phone (and unload the recovery kernel and with its dying breath start the new kernel ).A project like this will take A LOT of time and will definitely be more than 6 months. Since it would be based on recovery it should be able to make it work for all phones that can use CWM and have similar boot structure. I will help out on a project like this but I can't be that involved with it since my studies will take up most of my time.
Click to expand...
Click to collapse
Well I have installed rom's kernel to the recovery partition but after booting to this new kernel i couldn't boot back tonormal kernel till i reflashed recovery from rom manager
ps.recovery partition is at mmcblk0p4 and boot mcblk0p3
genarinho said:
Do a walkthrough for us! :laugh::laugh:
Click to expand...
Click to collapse
tada!
As I expected, not real dualboot. But very much appreciting try. Keep it up
Anyway i still want to make one rom at nand and anouther on sdcard, but if i set in kernel system directory to mmcblk1p1(sdcard) it starts to boot but smthing goes wrong but it starts to boot and i know it because it creates app, data, app-private etc. folders on data partition of sdcard(mmcblk1p2), i think this is because it remounts sdcard or smthing like this.Any ideas about soving this problem?

Partition CWM

I just have a question. Is it safe to partition my sd card in clockwork mod recovery coz I have clockwork mod 5.0.2.6 and in the advanced there is an option "Partition SD Card" and if u select it there at several amounts like 246m, 400m, 1026m, 2046m. So would it work if I do it in my clockword mod recovery.
Yes it works. Creates ext3. Backup sd contents first then copy back after.
Sent from my GT-S5830
mitchst2 said:
Yes it works. Creates ext3. Backup sd contents first then copy back after.
Sent from my GT-S5830
Click to expand...
Click to collapse
Thanks for Tht but I want to create ext4 partition would it work or do I have to do it with the partition wizard.
MiniTool Partition Wizard Home Edition
Pj_Singh said:
Thanks for Tht but I want to create ext4 partition would it work or do I have to do it with the partition wizard.
Click to expand...
Click to collapse
Hi Pj_Singh!
You can create ext4 partition with MiniTool Partition Wizard Home Edition using PC.
Pj_Singh said:
Thanks for Tht but I want to create ext4 partition would it work or do I have to do it with the partition wizard.
Click to expand...
Click to collapse
Hi Pj_Singh
Is there any particular reason you want to create ext4 partition only? I mean Galaxy Ace doesn't have very great processor and ext4 is slower than ext2. Take a look at this: http://forum.xda-developers.com/showthread.php?t=800353
c2tarun said:
Hi Pj_Singh
Is there any particular reason you want to create ext4 partition only? I mean Galaxy Ace doesn't have very great processor and ext4 is slower than ext2. Take a look at this: http://forum.xda-developers.com/showthread.php?t=800353
Click to expand...
Click to collapse
Despite the fact that ext4 is slower, it is required for most of the newest rom's/kernels to work. And the ext4 is "slightly" slower, means you wont see the difference, at least not when using a phone.

[Guide][Script]How to increase the Internal Memory

HI ! In this tutorial i am going to show ya all How to Increase the Internal Memory on SGA GT-S5830i.
This tutorial is not my work. I have taken other tutorials and made one full. As many people were a bit confused about doing this , here it is the all in one tutorial
What do you need :
- CronMod Script
- CWM
- Brain
- Latest Rafael.Baugis Kernels
CronMod Script by Styrke link : http://forum.xda-developers.com/showthread.php?t=1955422
- Now download the "Cronmod Unofficial by Styrke" from the thread ( I strongly recommand it , not the other versions because it doesn't lag and GPS works )
- Place it on SD Card after 1st step [ Partition SD Card step ]
Now we are going to make a partition to the SD Card so backup all your SD Card before doing this ( It formats it )
ClockWorkMod Recovery link : http://www.mediafire.com/?a4j6zsoyaihhy60
- Place it on SD Card after 1st step [ Partition SD Card step ]
Link2SD : Link in PlayStore ( Download when it's time to download on the installation steps lol :silly: )
OK , Let's start now :
Partition SD Card :
1) Open CWM Recovery
2) Go to "Advanced"
3) Select "Partition SD Card"
4) 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)
5) Select "0M" Swap.
6) Wait for the procces finish.
7) Reboot.
8) Now download Link2SD from Playstore.
9) Open Link2SD you will be prompted to choose between ext2, ext3, ext4 or FAT32.
10) First , Choose ext2. If it don't work then restart Link2SD and when then don't choose ext2 but ext4. ( Don't worry , it works )
11) It will say mount script created. Reboot your phone now.
12) Open link2sd and if the message doesn’t show up, you succeded.
13) Go to Link2sd>Settings>check the autolink.
14) To check your memory, select “Storage Info”. This will show you the current state of your internal memory, FAT32, and ext2 partition.
Click to expand...
Click to collapse
Placing the 2nd partition of SD Card to internal.
15) Now your SD Card is formated .
16) Place the CronMod Script on your SD Card ( Cronmod Unofficial file )
17) Open CWM again
18) Foramt /data /sd-ext /system
19) Mount /system
20) Flash custom rom
21) Remount /system
22) Flash "Cronmod Unofficial " script.
23) Reboot
Click to expand...
Click to collapse
Alternative mod : If you have already your custom ROM just do these easy steps :
1) Format /data /sd-ext
2) Mount /system
3) Flash "Cronmod Unofficial" script
4) Reboot
Click to expand...
Click to collapse
NOW YOU SUCCESFULLY INCREASED YOUR INTERNAL MEMORY
How to delete 2nd partition and revert to normally :
1) Go to CWM
2) Go to Mounts and Storage
3) Choose " format /sdcard "
4) Done
Click to expand...
Click to collapse
Note : Backup everything again or you will lose every app installed on 2nd Partition too.
Press Thanks if i helped you
Credits :
1) Styrke ( For the Cronmod Script )
2) Adam Parnala ( Link2SD Tutorial )
3) Me for writing this TUT
Click to expand...
Click to collapse
how do I format sd card partition ??
any thing other than mini tool partision wizard ??
Sent from my GT-S5830i using xda app-developers app
is this to download?
Data2sd-ext Fixed.zip
As the other one is not there
No no ! No tool needed and what do you mean to format it ? Ah, if you mean the 2nd partion just format/wipe the /sd-ext on the mounts and storage on CWM . But it is unnessesary becouse the 2nd partition is transfered to the the internal memory.
Sent from my Galaxy S4
recommend fresh rom... rom with lot of appk maybe bootloop...no need link2sd... easy way, flash rom, flash kernel(boot.img & module) mount system & flash cronmod unofficial by styrke(latest script).. done... depend of what rom, maybe no need to mount system... kernel also, no need flash if rom include lattest kernel...:silly: adios...
#remember, create partition with cwm its totally format your sdcard... before do this, save data sdcard to pc/laptop... only left behind cwm.zip... when done, move back saving data to sdcard... when all its ready, happy flashing lol...
Sniper Killer said:
No no ! No tool needed and what do you mean to format it ? Ah, if you mean the 2nd partion just format/wipe the /sd-ext on the mounts and storage on CWM . But it is unnessesary becouse the 2nd partition is transfered to the the internal memory.
Sent from my Galaxy S4
Click to expand...
Click to collapse
Did you check your gps? It didnt work for me. I also prefer data2sd script but gps didnt work on it.
Sent from my GT-S5830i using Tapatalk 2
can u tell me how to do it in JELLY BLAST V3.4.plzzzz give detailed steps.
Wrong Section
Guides are for General Section
purumishra13 said:
can u tell me how to do it in JELLY BLAST V3.4.plzzzz give detailed steps.
Click to expand...
Click to collapse
Sorry , I haven't said there that RAFAEL.BAUGIS KERNELS NEEDED ! It's my mistake ! IT's universal for all d roms ! But JellyBlast v.3 doesn't have the Rafael baugis kernels , but if you have it it's ok . follow d steps !normally !
iamareebjamal said:
Wrong Section
Guides are for General Section
Click to expand...
Click to collapse
This is my first thread, sorry I'm a bit noob
MrNothingPersonal said:
recommend fresh rom... rom with lot of appk maybe bootloop...no need link2sd... easy way, flash rom, flash kernel(boot.img & module) mount system & flash cronmod unofficial by styrke(latest script).. done... depend of what rom, maybe no need to mount system... kernel also, no need flash if rom include lattest kernel...:silly: adios...
#remember, create partition with cwm its totally format your sdcard... before do this, save data sdcard to pc/laptop... only left behind cwm.zip... when done, move back saving data to sdcard... when all its ready, happy flashing lol...
Click to expand...
Click to collapse
LOL ! Isn't this what have you said already on the TUT !!! ? And without Link2SD you idiot , you can't choose the system files betwee ext2 olr ext4 or whatever !!! ( sorry fr the word "idiot' LOL )
Please change the font color of the first post.
It's unreadable with the dark theme of the xda app.
Sent from my GT-S5830i using xda app-developers app
Androidnow said:
Did you check your gps? It didnt work for me. I also prefer data2sd script but gps didnt work on it.
Sent from my GT-S5830i using Tapatalk 2
Click to expand...
Click to collapse
Yes, with MindCr rom + data2sd fix GPS is working..
Thanks !
Hey I followed your whole procedure,
but I got stocked when I wanted to apply the data2ext-fixed file
During my stock rom, I had partionated my sd-card on windows computer, not with CWM, but after I used ur guide, I partionated it again with CWM, so now it should have the structure given by CWM, right?
But here is the problem. In CWM I don't get the option "Format /data /sd-ext" there are just the following options: format "/data or /sdcard or /system or /cache" but no option "Format /data /sd-ext"
So might it be that CWM didn't apply the extention right?
When I open Link2SD it does all the things it should do, but the internal memory is rising, so maybe it is not putting the files in the right place, someone said instead of putting them to "sd-ext" it is putting them to "sdext2"
Another point: In the tutorial u mentioned after step 14)
"Placing the 2nd partition of SD Card to internal." Is that a point I have to do?
Because right now the 2nd partition is sdext2, but it is still not preventing that the internal memory is rising.
Hope u can help me to solve this problem.
Munchkin86 said:
Hey I followed your whole procedure,
but I got stocked when I wanted to apply the data2ext-fixed file
During my stock rom, I had partionated my sd-card on windows computer, not with CWM, but after I used ur guide, I partionated it again with CWM, so now it should have the structure given by CWM, right?
But here is the problem. In CWM I don't get the option "Format /data /sd-ext" there are just the following options: format "/data or /sdcard or /system or /cache" but no option "Format /data /sd-ext"
So might it be that CWM didn't apply the extention right?
When I open Link2SD it does all the things it should do, but the internal memory is rising, so maybe it is not putting the files in the right place, someone said instead of putting them to "sd-ext" it is putting them to "sdext2"
Another point: In the tutorial u mentioned after step 14)
"Placing the 2nd partition of SD Card to internal." Is that a point I have to do?
Because right now the 2nd partition is sdext2, but it is still not preventing that the internal memory is rising.
Hope u can help me to solve this problem.
Click to expand...
Click to collapse
LOL. Of course there is no such option like Format /data /sd-ext. What he mean is format your data and sd-ext one by one. Meaning you should format data 1st, After finished format sd-ext.
And for your second point problem, it is a title. Not a step to follow.
uchihachi said:
LOL. Of course there is no such option like Format /data /sd-ext. What he mean is format your data and sd-ext one by one. Meaning you should format data 1st, After finished format sd-ext.
And for your second point problem, it is a title. Not a step to follow.
Click to expand...
Click to collapse
Ok, but in CWM there are only the options "format data" and "format sd-card" so in this case "sd-card" and "sd-ext" is the same?
Because I don't want that the ext3 which i partitioned before will be deleted and the sd-card will only consist of one partition and not "sd-card" by itself and "ext3" part on the sd-card.
If i push "format sd-card" it will not destroy the partitions which i created before?
Munchkin86 said:
Ok, but in CWM there are only the options "format data" and "format sd-card" so in this case "sd-card" and "sd-ext" is the same?
Because I don't want that the ext3 which i partitioned before will be deleted and the sd-card will only consist of one partition and not "sd-card" by itself and "ext3" part on the sd-card.
If i push "format sd-card" it will not destroy the partitions which i created before?
Click to expand...
Click to collapse
Ha? Thats wierd. Actually you should see many option which one you wanna format in 'mount and storage'. Which version of CWM do you use? Where do you get it?
Sent from my GT-S5830i using xda premium
Munchkin86 said:
Ok, but in CWM there are only the options "format data" and "format sd-card" so in this case "sd-card" and "sd-ext" is the same?
Because I don't want that the ext3 which i partitioned before will be deleted and the sd-card will only consist of one partition and not "sd-card" by itself and "ext3" part on the sd-card.
If i push "format sd-card" it will not destroy the partitions which i created before?
Click to expand...
Click to collapse
LOL , data2ext script is only for ext2 first and you should go to mounts and systems and format /sd-ext and data as i said in the instructions . If you can't see any , buy some glasses You haven't seen correctly ! Follow d steps carefully. It's a bit complied so you should keep an eye to the thread and an eye to the phone .. And yes if you format /sdcard your partition will revert back , so you will uninstall it
Sniper Killer said:
LOL , data2ext script is only for ext2 first and you should go to mounts and systems and format /sd-ext and data as i said in the instructions . If you can't see any , buy some glasses You haven't seen correctly ! Follow d steps carefully. It's a bit complied so you should keep an eye to the thread and an eye to the phone .. And yes if you format /sdcard your partition will revert back , so you will uninstall it
Click to expand...
Click to collapse
Thank you for the answers.
So yeah maybe the CWM version I'm using is outdated.
So let me ask this
in this thread there are some files to root and also have CWM.
My phone is rooted, so which file (i think they should be most up-to-date CWM-files, right?) should I download and use for CWM?
http://forum.xda-developers.com/showthread.php?t=1551156
So another question, so you said the partition should be ext2 not ext3, otherwise the data2ext script doesn't work, right?
I think I can't see the "format sd-ext" option, because my CWM is outdated, which version should I install? Where is the link for the most current- or usable version? Should I get the ClockWorkRec_S5830C-i-M.zip from the thread mentioned above?
uchihachi said:
Ha? Thats wierd. Actually you should see many option which one you wanna format in 'mount and storage'. Which version of CWM do you use? Where do you get it?
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
I got it from a german android website called: android-hilfe.de but yeah I also think that the CWM is not up-to-date.
Anyway still thanks for your help.
Munchkin86 said:
Thank you for the answers.
So yeah maybe the CWM version I'm using is outdated.
So let me ask this
in this thread there are some files to root and also have CWM.
My phone is rooted, so which file (i think they should be most up-to-date CWM-files, right?) should I download and use for CWM?
http://forum.xda-developers.com/showthread.php?t=1551156
So another question, so you said the partition should be ext2 not ext3, otherwise the data2ext script doesn't work, right?
I think I can't see the "format sd-ext" option, because my CWM is outdated, which version should I install? Where is the link for the most current- or usable version? Should I get the ClockWorkRec_S5830C-i-M.zip from the thread mentioned above?
I got it from a german android website called: android-hilfe.de but yeah I also think that the CWM is not up-to-date.
Anyway still thanks for your help.
Click to expand...
Click to collapse
Yes, use CWM from rafael kernel thread..
Thanks !

Categories

Resources