[Q] how to WORK/enable/use ext4 in MERRUK kernel - Galaxy Y GT-S5360 General

anyone help is appreciated,, thnx in advance,,

kawe42 said:
Preparation
(1) Backup all apps with Titanium Backup
(2) Backup sdcard to the pc
(3) Fullwipe
(4) Flash stock rom to get rid of all possible points of failure
(5) copy Madteam cwm to sdcard
(6) start stock recovery -> start cwm via update.zip
(7) partition sdcard with cwm -> ends up with sdcard fat32 partition and 1024MB ext3 partition (as I chose)
(8) copy sdcard backup from pc to fat32 partition, including merruks 2.0 kernel
(9) flash merruk 2.0 via cwm
Setup
(10) boot up phone, initial setup, install link2d
(11) choose link2sd mount script ext3
(12) after reboot there is a link2sd script in /etc/init.d
(13) modify script: add 2 lines at the end of the script:
rm -r /sd-ext
ln -s /data/sdext2 /sd-ext
this links link2sd standart path /data/sdext2 to /sd-ext
(14) Install and restore all apps with Titanium Backup
(15) use link2sd to move apps to second partition -> "Create Link"
(16) check /sd-ext with root file explorer to see if apps get moved correctly
Click to expand...
Click to collapse
as for mine i stop at step 11 because it worked already without modifying scripts..

my point is ext4, i just read in merruk you need to flash ext4 using CWM,, because ext4 is a zip file,,
is ext4 is same as ext3 ext2,,
i have already ext3 running using a2sd,

kimerika said:
my point is ext4, i just read in merruk you need to flash ext4 using CWM,, because ext4 is a zip file,,
is ext4 is same as ext3 ext2,,
i have already ext3 running using a2sd,
Click to expand...
Click to collapse
Its not for the sd card.. Your mentioning ext2/3 for the 2nd partition of sd card.. Flashing ext4.zip wipes data and cache and converts it to ext4 from rfs.. It increases performance but a noticeable little battery drain..
Sent from my GT-S5360 using xda premium

hitme987 said:
Its not for the sd card.. Your mentioning ext2/3 for the 2nd partition of sd card.. Flashing ext4.zip wipes data and cache and converts it to ext4 from rfs.. It increases performance but a noticeable little battery drain..
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
thats what i need can u give link or TUT how to work it,

kimerika said:
thats what i need can u give link or TUT how to work it,
Click to expand...
Click to collapse
Its simple. After having your desired custom ROM flashed you can apply merruk kernel with ext4.
1) Flash the merruk kernel using kernel updater or using odin(refer merruk topic)
2) Flash ext4 . It wipes the data and cache.
3) You need to flash your custom rom/stock ROM now as youll get boot loops
4) If you still encounter bootloops after flashing stock/custom ROM, flash the merruk kernel again.
5) Reboot and check the kernel version in settings->About phone and make sure its merruk 2.0
6) Thats it. Profit

Related

[Q] Ext2/3/4 ?!?

Dear ladies and gentlemen
I need a little help in A2SD +.
I had formatted my SD card with the rom manager one month ago.
512 MB, 0 MB swap, everything works fine.
SD-Ext, created with rom managers would have to be a ext3, right?
Today I flashed AmonRa ([RECOVERY]RMD Recovery v1.0 (Based on AmonRA 2.2.1).
There is also an opition to convert/format to ext3 and 4.
What is the difference between 2, 3 and 4?
And can I use ext3 or 4 at all with my MIUI 1.4.17?
I think MIUI is using the Darktremor scipt right?
As you can see I have some knowledge gaps in A2SD +
Thank you for your help and have a great weekend
As far as i know, ext 2 is faster then 3 but slower as 4 (so four is fastet). If you use data2ext miui version, you should use ext 4 (otherwise your system will be too slow). If you use a2sd+ version, i recommend to use ext 3 partition.
http://en.wikipedia.org/wiki/Ext2
http://en.wikipedia.org/wiki/Ext3
http://en.wikipedia.org/wiki/Ext4
thx MatDrOiD
i am using the a2sd version of miui, so ext3 should be my choice, right?
AmonRA says my sd-ext is 2, but a2sdgui says its 3.
i created clockworkmod via rom manager, does anybody exactly know its ext2 or 3?
he4dhuNTeR said:
thx MatDrOiD
i am using the a2sd version of miui, so ext3 should be my choice, right?
AmonRA says my sd-ext is 2, but a2sdgui says its 3.
i created clockworkmod via rom manager, does anybody exactly know its ext2 or 3?
Click to expand...
Click to collapse
I would trust amonra recovery. Upgrade your ext2 to ext3 with amonra recovery. After flashing miui rom, activate a2sd+ on this way in terminal:
Code:
su
a2sd zipalign
a2sd cache2sd
After phone rebooted, start terminal again and type
Code:
su
a2sd reinstall
And please, please not use rom manager. It's a horrible software which causes heavy system problems. All operations you can do with rom manager can be done in recovery. So do it there, it's much safer. Furthermore, you cannot use rom manager with clockworkmod recovery.
To check a2sd+ is working, start terminal and type
Code:
su
ls -l /data
Output should be like this
(...)
app -> /sd-ext/app
app-private -> /sd-ext/app-private
(...)
dalvik cache -> /sd-ext/dalvik-cache

[Q] ext4 on rooted stock 2.3.3 and unity kernel?

Hi!
I have now this setup:
1. 4EXT 2.2.7 RC5
2. Rooted sock ROM from this thread: http://forum.xda-developers.com/showthread.php?t=1169004 (exactly this link was used: http://www.multiupload.com/RZSJELJ5MR)
3. Unity V8 kernel with ext4 support (great kernel, by the way! )
I want to go to ext4 partitions for my system, data and cache.
I tryed this:
1. Boot to 4EXT.
2. Backup all my partitions (tar, ext3).
3. Convert my backup to ext4 with "EXT3 - 4EXT - EXT4" menu item.
4. WIPE all my partitions to ext4.
5. Restore backup.
6. Verify that all my partitions are still ext4 type -- OK.
7. Reboot.
After that system stops booting with white screen & HTC logo.
Then I can reboot to 4EXT, convert backup back to ext3 and restore it. After this system will boot.
I think, by some reason system can't mount /system partition. I've check in /proc/config.gz that kernel have ext4 support (no module, compiled into kernel).
And I think that the reason may be wrong kernel boot parameters line or wrong init script (for ext4 case, i mean). I can't find any /etc/fstab... and I don't know how does it mount filesystems (where to check parameters)?
So, the question is: what else should I change in my system to boot from ext4 partitions? I don't want to switch to custom ROMs.
I'm not sure why you need to wipe anything at all... I converted my partitions from ext 3 to 4 and all my data was preserved. Also my understanding was that if you've converted to ext 4 and then you restore a backup made with ext 3 your partitions would revert back... unless something has changed and I'm not aware of it...
Sent from my HTC Vision using XDA App
Ditamae said:
Also my understanding was that if you've converted to ext 4 and then you restore a backup made with ext 3 your partitions would revert back... unless something has changed and I'm not aware of it...
Click to expand...
Click to collapse
This is true for ClockWorkMod. But I'm using 4EXT Recovery. It's "killing feature" is that it serve backups and partition types in the right way.
.bva said:
This is true for ClockWorkMod. But I'm using 4EXT Recovery. It's "killing feature" is that it serve backups and partition types in the right way.
Click to expand...
Click to collapse
You do know its based of cwm right?
Sent from my HTC Vision using XDA Premium App
I was also talking about 4EXT Recovery... not CWM. Why don't you ask Madmaxx82 in his thread?
Sent from my HTC Vision using XDA App
I am a new user and as i have less then 10 messages, i can not post to developer's forums. That is why...
.bva said:
Hi!
I have now this setup:
1. 4EXT 2.2.7 RC5
2. Rooted sock ROM from this thread: http://forum.xda-developers.com/showthread.php?t=1169004 (exactly this link was used: http://www.multiupload.com/RZSJELJ5MR)
3. Unity V8 kernel with ext4 support (great kernel, by the way! )
I want to go to ext4 partitions for my system, data and cache.
I tryed this:
1. Boot to 4EXT.
2. Backup all my partitions (tar, ext3).
3. Convert my backup to ext4 with "EXT3 - 4EXT - EXT4" menu item.
4. WIPE all my partitions to ext4.
5. Restore backup.
6. Verify that all my partitions are still ext4 type -- OK.
7. Reboot.
After that system stops booting with white screen & HTC logo.
Then I can reboot to 4EXT, convert backup back to ext3 and restore it. After this system will boot.
I think, by some reason system can't mount /system partition. I've check in /proc/config.gz that kernel have ext4 support (no module, compiled into kernel).
And I think that the reason may be wrong kernel boot parameters line or wrong init script (for ext4 case, i mean). I can't find any /etc/fstab... and I don't know how does it mount filesystems (where to check parameters)?
So, the question is: what else should I change in my system to boot from ext4 partitions? I don't want to switch to custom ROMs.
Click to expand...
Click to collapse
Not all ROMs support ext4 partitions; I'd assume, since the stock ROM came as ext3 and wasn't "supposed" to be rooted that it only supports ext3.
Sent from my HTC Vision using XDA App
OriginalGabriel said:
Not all ROMs support ext4 partitions; I'd assume, since the stock ROM came as ext3 and wasn't "supposed" to be rooted that it only supports ext3.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
I didn't think of that... I bet you're 100% right.
Ditamae said:
I didn't think of that... I bet you're 100% right.
Click to expand...
Click to collapse
For mounting any partition with some spacific FS type, we need only kernel module (or support build into kernel) and right mount parameters passed to init.
So, any ROM can be modified for this, i think...

[Q] how to create ext4 system partition?

like the title says, I want an EXT4 partition from my system, wich is needed to install mods.
im currently running cyanogenmod 7.2 rc1 rooted, clockworkmod installed.
to install the script, I need an EXT4 system partition. I know how to do this on my SD card, but how to do this on your system?
thanks
You find the tutorial in this thread:
http://forum.xda-developers.com/showthread.php?t=1397120
But you need a card reader, you can't format to ext4 with usb cable.
LegoGabi: he's talking about the internal memory.
IIRC the CM7 install script did the formatting for you.
Starting from RFS partitions, either:
-Install a ROM with CWM that includes the reformatting utilities in its zip along with the required commands in the script.
-Use an appropriate ext4 CWM recovery and use the format functions in there.
-You could also make your own script, there's a few out there for other devices that could be adapted...
Oh, i thought he wants to make app2sd work.
I think cyanogen are already EXT4, so you don't need to convert it anymore
Cyanogenmods for Gio are in EXT4.
It formats internal partitions during installation.
Sent from my GT-S5660

[Q] sd-ext not mounting properly

Hi
I installed (12/15/2012) [SS] Jelly Bean CM10 v2.9.1 (4.1.2) version 3.0 on my desire and followed all the settings for CPU governor and A2SD scripts. Configured my email, and installed all apps from scratch.
Everything seemed fine, worked smooth. Last night the phone crashed and rebooted and somehow lost most of the apps., including Google play which makes things harder ... Looking at memory usage, it look like there is a problem with /sd-ext.
if i open terminal, and try to run A2SD again, it also shows a problem:
/sd-ext not mounted properly, it might have errors
Found block device: /dev/block/mmcblk0ps
Removing flag a2sd
Removing flag ad2sd
Removing flag dc2sd
Setting flag a2sd
/system/bin/a2sd: line 74: /sd-ext/.a2sd: read-only file system
chmod: /sd-ext.a2sd: no such file or directory
would you also like to move DALVIK-CACHE
I put the SDcard in my computer and it showed no errors
When I go into recovery, I can mount all partiotions without problems??
For now I will go to reflash the phone and start all over.
How can I find out what happened here and how to prevent that?
And is there an easier way to repair this problem
hoping it will not occur again...
Happy new year, best whishes for everyone, and hoping for help
D.
UPDATE: cleared all data from within recovery, cleared cache from recovery and reflashed the zip
when I try to run the a2sd script error is still there!!!
put the sdcard in mu computer, deleted and recreated the partition
and then the error is gone ... ??
How did you create the partition? Use gparted or 4ext recovery only, not minitool or clockworkmod recovery
I used minitool
What is the difference?
So it will crash again?
Anything i can do as a repair or do i have to start all over again?
Thanx for your help!
Sent from my Transformer TF101 using Tapatalk 2
Minitool doesn't create the partitions properly.
Backup your sd card to pc. Then I recommend to delete all partitions and repartition using gparted. Search for guide in development section.
Copy everything back to sd card afterwards, then rerun the a2sd commands
Sorry for not understanding ...
Can I copy the ext4 partition as well then? If I delete that, I am in the same situation as yesterday after the crash (?)
Just running the a2sd again did not work then
Thx
D.
Sent from my Transformer TF101 using Tapatalk 2
duiksmurf said:
Sorry for not understanding ...
Can I copy the ext4 partition as well then? If I delete that, I am in the same situation as yesterday after the crash (?)
Just running the a2sd again did not work then
Thx
D.
Sent from my Transformer TF101 using Tapatalk 2
Click to expand...
Click to collapse
1. try to backup user apps only using titanium backup, don't know how many have been lost, but can try and save the others.
2. copy whole sd card to pc. this just copies the whole FAT32 partition of the sd card. you will not see the ext4 partition when connected to PC, don't worry about it.
3. delete all partitions and repartition using gparted (step 5 here)
4. copy the backup back onto sd card.
5. full wipe everything from recovery, flash rom, run A2SD commands and reboot etc.
6. restore any apps using titanium, should go to partition automatically if everything is working. install another app like diskusage to browse all your partitions.
How to fix the dreaded sd-ext not mounting properly, or fix A2SDGUI not rebooting/crashing
The reason this happens is because you have flashed a rom that doesnt support ext4. You will have to change the ext4 partitiion to ext3 in order to get a2sd to install properly.
If you have backed up your data and just need to get a2sd running follow this guide, I am not responsible for lost data or a corrupt sd card
1) Download aparted app. WARNING: If used incorrectly you can destroy the data in your sdcard
Click tools. There should be a partition called FS: ext4, Select it, then press delete(WARNING DATA FOR APPS WILL BE LOST)
2. Click create, then select EXT 3 this time, and the default size 999, dont touch any other settings or you'll corrupt your sdcard, dont touch the init and end parameters!
3. REBOOT the phone
4. Then try a2sd install in terminal or if your using the A2SDGUI, click Dalvik, select Dalvik on SD-EXT, then hit Move and Rebuild, wait for it to reboot, if it does not reboot hit Move! and wait for it to reboot. It should reboot, if it doesnt reboot or crashes you didnt read step 3 when I said to reboot your phone after adjusting the partition, or you mistakenly chose ext4 partition!
If your were silly enough not to backup your data, you can download gparted iso and boot it using your PC. Then connect the phone and goto the ext4 partition and COPY all the files and paste it in a temporary folder. Then delete the partition, then create an EXT3 partition and PASTE back all the data files in the ext3 partition.
alochet said:
How to fix the dreaded sd-ext not mounting properly, or fix A2SDGUI not rebooting/crashing
The reason this happens is because you have flashed a rom that doesnt support ext4. You will have to change the ext4 partitiion to ext3 in order to get a2sd to install properly.
If you have backed up your data and just need to get a2sd running follow this guide, I am not responsible for lost data or a corrupt sd card
1) Download aparted app. WARNING: If used incorrectly you can destroy the data in your sdcard
Click tools. There should be a partition called FS: ext4, Select it, then press delete(WARNING DATA FOR APPS WILL BE LOST)
2. Click create, then select EXT 3 this time, and the default size 999, dont touch any other settings or you'll corrupt your sdcard, dont touch the init and end parameters!
3. REBOOT the phone
4. Then try a2sd install in terminal or if your using the A2SDGUI, click Dalvik, select Dalvik on SD-EXT, then hit Move and Rebuild, wait for it to reboot, if it does not reboot hit Move! and wait for it to reboot. It should reboot, if it doesnt reboot or crashes you didnt read step 3 when I said to reboot your phone after adjusting the partition, or you mistakenly chose ext4 partition!
If your were silly enough not to backup your data, you can download gparted iso and boot it using your PC. Then connect the phone and goto the ext4 partition and COPY all the files and paste it in a temporary folder. Then delete the partition, then create an EXT3 partition and PASTE back all the data files in the ext3 partition.
Click to expand...
Click to collapse
Eh?
- The ROM supports ext4 just fine, most ROMs here do. ext4 is also faster than ext3...
- The problem was that the partition was poorly created in minitool partition wizard, likely that it was not properly aligned.
- The issue has already been solved...9 months ago...

[Q] Increase Internal Memory - STOCK ROM

Hi guys!
I have root my Wildfire S and I change kernel with this : http://forum.xda-developers.com/showthread.php?t=1618595 and after I install INT2EXT+ script: http://forum.xda-developers.com/showthread.php?t=1716124
But don't work ( i try to install script before change kernel and after again ) .
I want Stock ROM with icrease internal memory!
Thankyou!
Did you partition your SD card?
Sent from my HTC Wildfire S using xda app-developers app
Try data2sd
crashmekiran said:
Try data2sd
Click to expand...
Click to collapse
This app increase internal memort or just move apps to SD ?
To get it to work, you need to make sure your ROM has init.d support and ext2/3/4. Google for zip-init and use that to add init.d support, and partition your SD card. Then reflash int2ext and format your sd-ext.
anonim50 said:
This app increase internal memort or just move apps to SD ?
Click to expand...
Click to collapse
It's a script that mounts ur sd card partition as primary partition...
1. Partition ur sd card
2. Then flash A2SD via any custom recovery
3. Format sd-ext via recovery..
Then reboot
Data2sd is in this post http://forum.xda-developers.com/showthread.php?p=31017929
crashmekiran said:
It's a script that mounts ur sd card partition as primary partition...
1. Partition ur sd card
2. Then flash A2SD via any custom recovery
3. Format sd-ext via recovery..
Then reboot
Data2sd is in this post http://forum.xda-developers.com/showthread.php?p=31017929
Click to expand...
Click to collapse
I make partition with ROM Manager (4gb SD) 512 EXT2 / 32 Swap
I go to recovery and flash Data2SD
After I format /sd-ext
But don't work ... ( My ROM don't have init.d ) This is problem ? (init.download link please? )

Categories

Resources