[Q] ext4 upgrade questions - Android

Hello,
Other then formatting as ext4 and running a kernel that supports it what exactly has to be changed to update a ROM from ext3 to now run as ext4?
Thanks.

Anybody care to share some knowledge?

Yeah. I would be interested also.
I am struggling to convert a kernel to ext4 and cannot make it boot.
Finding full info on this seems not easy.

http://www.ghacks.net/2010/08/11/convert-ext23-to-ext4/

Thx, but I want to know kernel mods that have to be done.
Sent from my Desire HD using XDA App

Related

[Q]EXT4

will it work in xperia ? using ext4 as fs can give much better performance :
http://www.galaxyroot.com/ext4-module-2-6-29-enclair-2-1-without-reflash-raw-lag-fix/
tr0llica said:
will it work in xperia ? using ext4 as fs can give much better performance :
http://www.galaxyroot.com/ext4-module-2-6-29-enclair-2-1-without-reflash-raw-lag-fix/
Click to expand...
Click to collapse
I have those modules compiled for some time. But since we don't suffer from lag caused by ridiculous file system, it's not really useful.
Cheers,
z
yep, i know there is no lag, but still, ext4 with disable barriers, noatime and other options can be very fast, and also ext4 uses more ram so it doesnt write temporary files that much on disk ( and also some more points in quadrant ) but thx anyway, what about btrfs? 2.6.29 already supported it, and also cant we use unesed RAM as swap or compcache maybe? thx

[Kernel] SEtweak

So, preview of SEtweak (pre1) is out!
It's quite incomplete, without Synaptics DT, not netfilter and OC. I also forgot to enable NTFS, sorry
Just a proof of concept for those unwilling to unlock bootloader.
X8gesture will insmod fine.
Cypress users: remove DT module because this kernel already includes it!
Includes CIFS and tun - who need it, will know, who doesn't need it/know, don't bother
Download: -not working-
FTF bundle. Place to flashtool\firmwares, in GUI select X8 SEtweak-pre1 FW and flash it.
FreeXperia logo instead of SE standard, and [email protected] instead of [email protected] are easiest way to see that you have custom kernel.
Forgot to note: this kernel has gingerbread ramdisk, meaning it's for GB ROMs! Maybe works on stock, but may won't be stable!
Will include:
* Cypress dualtouch
* Syaptics fake dual touch
* custom netfilter tables
* overclock
Standard SEtweak features:
* NTFS
* ext4
* swap
* USB OTG experimental
* tun/tap/CIFS
Best regards
Wow
Now You Post Your Kernel
Will Wifi Work on your Kernel
My wifi Don't work on my kernel
Blagus said:
I flashed my kernel and it works. However, [email protected] machine name persists.
Anyways, take a look at this:
Code:
<5>[ 0.000000] Linux version 2.6.29 ([email protected]) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-42) ) #1 PREEMPT Thu Aug 18 16:30:18 CEST 2011
I need to make some more tweaks, pack correct ramdisk and remove [email protected] machine/user name.
Will include:
* Cypress dualtouch
* Syaptics fake dual touch
* custom netfilter tables
Best regards
Click to expand...
Click to collapse
So, does this work on Gingerbread? Can't wait to test it out!
@Superuser.Angga
You have a kernel?
And I think the driver Blagus was referring to is sdio.ko (commonly found in /system/lib/modules)
you need to replace wifi module.
Superuser.Angga said:
Wow
Now You Post Your Kernel
Will Wifi Work on your Kernel
My wifi Don't work on my kernel
Click to expand...
Click to collapse
Sent from my R800i
Blagus said:
you need to replace wifi module.
Sent from my R800i
Click to expand...
Click to collapse
Thank's A lot
my wifi work
@SpyderX
Take a look @ This
This is my Custom Kernel
Superuser.Angga said:
Thank's A lot
my wifi work
Click to expand...
Click to collapse
Wow...replaced in 5 minutes , quite fast.
@Blagus
Is it ever possible for a X8 kernel in the future to automatically convert /system, /data and /cache into ext4? Because I remember Galaxy Ace forums has a kernel that does this. Just a question .
XDA users stats and capabilities:
5% to develop
5% to understand development, and not to ask stupid questions
90% users are capable of spamming the dev thread with 3 pages of useless junk in 5 minutes
Sent from my R800i
Blagus said:
XDA users stats and capabilities:
5% to develop
5% to understand development, and not to ask stupid questions
90% users are capable of spamming the dev thread with 3 pages of useless junk in 5 minutes
Sent from my R800i
Click to expand...
Click to collapse
Lol nice evaluation.
I've been too busy to follow these changes recently. Btw what do you mean by nand initialization. We need to fix nand detection or something?
Send from my GingerDX using XDA App
I talked to FXP about that NAND init. and it seems it wasn't actually SE's mistake, that's why kernel works after all and NAND init is fine.
Paul1989 said:
hi blagus, im just wondering when you will be able to upload the new kernel? i dont mean to be hasty its just sony x10,x10mini and x10 are flying with thier new kernels and we seem to be lagging behind sum what. again i dont mean this in a nasty way and please dont take offence to this post im very supportive of yours and the other devs beautiful work please let us know soon thanks bro and great job
Click to expand...
Click to collapse
Being part of FXP, my SEtweak will be based on FXP's kernel from github repo, and I'll include recovery in ramdisk as well.
It will, however, be modified and will have standard SEtweak features listed in first post.
SpyderX said:
Wow...replaced in 5 minutes , quite fast.
@Blagus
Is it ever possible for a X8 kernel in the future to automatically convert /system, /data and /cache into ext4? Because I remember Galaxy Ace forums has a kernel that does this. Just a question .
Click to expand...
Click to collapse
Hmm... S1Boot actually handles partitions so I'm not sure... also, yaffs2 FS is made specially for NAND flash chips in phones, so ext4 shouldn't give much boost - absolute need for ext4 conversion is present only on Samsung phones which use rfs by default, and that's quite slow.
LINK
Blagus said:
Hmm... S1Boot actually handles partitions so I'm not sure... also, yaffs2 FS is made specially for NAND flash chips in phones, so ext4 shouldn't give much boost - absolute need for ext4 conversion is present only on Samsung phones which use rfs by default, and that's quite slow.
Click to expand...
Click to collapse
will you be uploading new kernel tonight mate or will it be in morning ??????? thanks for fast reply
as soon as i get my hands on FXP CM7 ramdisk to extract recovery and grab fxp kernel from git. should be very soon
Paul1989 said:
will you be uploading new kernel tonight mate or will it be in morning ??????? thanks for fast reply
Click to expand...
Click to collapse
Sent from my R800i
Blagus said:
as soon as i get my hands on FXP CM7 ramdisk to extract recovery and grab fxp kernel from git. should be very soon
Sent from my R800i
Click to expand...
Click to collapse
Thanks a lot I look forward to flashing it bro. Very good work. Just anuva thing do u think u will be able to share the kernel u successful flashed today please I'm itching to test bro many thanks
Blugus, could you incrase overall in-call volume?
Its pretty hard to talk when in loud place.
Sent from my Shakira using Tapatalk
Will there be a dual-recovery,or only CWM like in FXP kernel ?
Rikcon said:
Will there be a dual-recovery,or only CWM like in FXP kernel ?
Click to expand...
Click to collapse
Why would we need million of recoveries? CWM is just fine and enough, and supports restoring from xRecovery.
Blagus said:
Why would we need million of recoveries? CWM is just fine and enough, and supports restoring from xRecovery.
Click to expand...
Click to collapse
I guess that the problem is that some devs didn´t migrate to CWM, and if we switch to this ROM which is using only CWM, then we need to back to stock, install xrecovery and then the other ROM , since CWM doesn´t install zip files made for xRecovery.
biscoitu said:
I guess that the problem is that some devs didn´t migrate to CWM, and if we switch to this ROM which is using only CWM, then we need to back to stock, install xrecovery and then the other ROM , since CWM doesn´t install zip files made for xRecovery.
Click to expand...
Click to collapse
Well, ask ROM dev to convert amend script to edify, or do it yourself with aZuZu's tool. I will not include xRecovery because CWM supersedes it and it's official FXP's recovery.
biscoitu said:
I guess that the problem is that some devs didn´t migrate to CWM, and if we switch to this ROM which is using only CWM, then we need to back to stock, install xrecovery and then the other ROM , since CWM doesn´t install zip files made for xRecovery.
Click to expand...
Click to collapse
You can convert the zip for xRecovery to for CWM by a simple tool. Get it here
I had tested it, and it's really easy and works fine.

[Q] is data2sd / data2ext for xperia neo possible?

is data2sd / data2ext for stock rooted xperia neo possible?
i hope someone could release something like this...
thanks...
AFAIK you can use "link2sd", you just need your phone rooted, a partition [ext(2/3/4)], and of course a FAT partitition too. There're guides over there, so, yes, it's possible in stock and rooted!
only apk files and dalvik cache are transfered using Link2sd.
What i want is the data partition are linked to sd.
like this one for arc
http://forum.xda-developers.com/showthread.php?t=1333379
i tried to use this, but its not clear on how to install this, i dont know where to start...
fatimarvin_15 said:
only apk files and dalvik cache are transfered using Link2sd.
What i want is the data partition are linked to sd.
like this one for arc
http://forum.xda-developers.com/showthread.php?t=1333379
i tried to use this, but its not clear on how to install this, i dont know where to start...
Click to expand...
Click to collapse
Maybe Time to custom rom
Cm7...Miui and S2E is what you want
Sent from my MT15i using Tapatalk
does this means it is not possible for the neo stock rom?
only for custom roms you enumerated?
fatimarvin_15 said:
does this means it is not possible for the neo stock rom?
only for custom roms you enumerated?
Click to expand...
Click to collapse
I didn't tell its impossible.
That required good kernel and some script tweaks I think.
Sent from my MT15i using Tapatalk
i tried inteks kernel which support init.d and ext but when i installed AD2SDX (Data2sd) it only bootloops?
i home sometime this thing will work on my phone. thanks bro.

[WIP][ThinkTank] Dual Booting on Xperia 2011 devices (ARC & PLAY supported)

regarding DualBoot, with the addition of BootManager to my kernels we now have a way to try n get dualbooting working on our devices...
i will use this thread to give u guys some links & info on dualbooting...
THIS INFO IS FOR DEVS/MODDERS/ROM COOKS ONLY!!!
the devs/cooks/modders can use this thread to discuss viable options/way in which we can achieve this...
DualBooting was introduced by zdzihu on Xperia X10:
http://forum.xda-developers.com/showthread.php?t=1107111
the link in his thread is dead so i am uploading it here:
http://icxperia.com/doomlord/x10/dualboot/dualboot_2.0.A.0.504.zip
dual booting, for x10, basically involved storing data/files in ext2/ext4 images and then loop mounting them to /system, /data, /cache partitions after which we chrooted into to those systems to continue booting... there are some modifications required in ramdisk to acheive this... basically loop mounting...
here are some more links related to dual booting:
http://forum.xda-developers.com/showthread.php?t=1112943
http://forum.xda-developers.com/showthread.php?t=1114544
DooMLoRD Modded DUALBOOT ROMs for basebands 2.0.xx & 2.1.xx
[WIP][DEV] Dual/Multi Boot Project
[DualBoot] Special update.zip to get ext2 images mounted in Recovery
REMEMBER:
Dual Booting has only been tested on X10... on Xperia 2011 devices WE DO NOT HAVE SPLBOOTING, so u cannot splboot kernels!!... so the dual boot ROM HAS TO work on the same kernel as the one which resides on main boot partition of device...
as and when i am free i will try and get some rom working in dualboot mode...
hopefully we can get it working soon...
I know this a Noob question but is this for Unlocked bootloaders or locked,
Great news DoomLord keep it up more and more great work coming in the future
GDSH said:
I know this a Noob question but is this for Unlocked bootloaders or locked,
Great news DoomLord keep it up more and more great work coming in the future
Click to expand...
Click to collapse
most probably ONLY FOR UNLOCKED BOOTLOADERS
DooMLoRD said:
most probably ONLY FOR UNLOCKED BOOTLOADERS
Click to expand...
Click to collapse
Yeah, it will have to be as you need to edit the ramdisk for it?
Keiran
ok, first we need to cinvert a rom to .ext2.
then we need to edit the ramdisk to boot from it
nickholtus said:
ok, first we need to cinvert a rom to .ext2.
then we need to edit the ramdisk to boot from it
Click to expand...
Click to collapse
How do you make a ext2 image?
i dno
look here maybe you find something: http://forum.xda-developers.com/showthread.php?t=1112943&page=2
(i am busy with getting my archos g9 working with adb)
---------- Post added at 12:55 PM ---------- Previous post was at 12:44 PM ----------
Here a guide to convert back-up to ext2
http://forum.xda-developers.com/showthread.php?t=1114544
So I could just nandroid, then use that system IMG.
Sent from my R800i using Darkforest ROM 3.0.5
convert that image to ext2 yes
KeiranFTW said:
So I could just nandroid, then use that system IMG.
Sent from my R800i using Darkforest ROM 3.0.5
Click to expand...
Click to collapse
nandroid backups are stored as YAFFS2 images...
u need to convert those images to ext2/3/4 MAINTAINING ALL SYMLINKS/PERMISSIONS
DooMLoRD said:
nandroid backups are stored as YAFFS2 images...
u need to convert those images to ext2/3/4 MAINTAINING ALL SYMLINKS/PERMISSIONS
Click to expand...
Click to collapse
How do you do that in linux? Why don't we use yaffs2 instead of ext2?
Sent from my R800i using Darkforest ROM 3.0.5
KeiranFTW said:
How do you do that in linux? Why don't we use yaffs2 instead of ext2?
Sent from my R800i using Darkforest ROM 3.0.5
Click to expand...
Click to collapse
search, read, understand....
lots of threads explaining each aspect
You use mke2fs?
Sent from my R800i using Darkforest ROM 3.0.5
try it
but first edit ramdisk!!
DooM, after your post I just read on turning a nandroid into a ext2 image, I think it would be best not to pursue the whole thing, as I don't think that many people would use it -> it is a ***** to do.
But why ext2? why not yaffs? I don't get it...
EDIT:
Okay, I have system.img (ext2) of Darkforest ROM 3.0.5, now what do I do?
Keiran
Sounds exciting thanks doom
Sent from my R800i using xda premium
place it in /system/dualboot (first flash the zip from x10)
nickholtus said:
place it in /system/dualboot (first flash the zip from x10)
Click to expand...
Click to collapse
Won't work, and I won't try it because:
we don't have splboot
other reasons
DooM, can you edit the ramdisk for dualbooting?
Keiran
then delete the /kernel in the zip and edit ramdisk
i flashed the zip and don't have problems
nickholtus said:
then delete the /kernel in the zip and edit ramdisk
i flashed the zip and don't have problems
Click to expand...
Click to collapse
What do I need to edit in the ramdisk, that is my main problem
Keiran

Increase RAM & Internal Memory Using Link2SD + A2SDGUI + Swapper

this is not mine, someone else has thought to do this mini-guide, so if there is helpful before putting a thanks to me put it to him.
http://forum.xda-developers.com/showthread.php?t=1853669:laugh:
You'll need to flash a kernel which support all those features ...
pator5 said:
You'll need to flash a kernel which support all those features ...
Click to expand...
Click to collapse
There is a kernel for xperia active that supports this?
I think mesa and panik kernel support these functions, correct me if I'm wrong
but still not able to run the swap ... I can run swapper only in fat32
Also rage has swap but need to put the script for it in init.d, but tbh there really is no point in using swap...
I need a solution because I love the MIUI rom but after some time of use is heavy and slows

Categories

Resources