Any hack to convert the filesystem to ext4 and without journal? - Atrix 4G Q&A, Help & Troubleshooting

Is there any hack for Atrix which convert the filesystem to ext4 and without journal? So that I can get the best performance out of the hardware given

Well technically, you can mount an ext3 filesystem as ext4, therefore getting some of the enhancements from ext4. This has the advantage of allowing you to revert back to ext3 if something goes wrong. On a classic Linux install this would just require you to modify your /etc/fstab. But I'm not too familiar with Android internals though...

Considering that the kernel doesn't support ext4, that would probably be a bad idea.

What filesystem does the atrix use?
Sent from my MB860 using XDA App

Smallsmx3 said:
What filesystem does the atrix use?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
From what I see on mine, there are a mixture of ext2 and ext3 partitions.

Moved as not android development

Sogarth said:
Considering that the kernel doesn't support ext4, that would probably be a bad idea.
Click to expand...
Click to collapse
Oh, Android 2.2.1 kernel don't support ext4?? That kind of suprise me, thanks a lot

carfield said:
Oh, Android 2.2.1 kernel don't support ext4?? That kind of suprise me, thanks a lot
Click to expand...
Click to collapse
It's not that the Android kernel doesn't support it - the config for the Atrix doesn't support it. If we had the kernel source, we could build an ext4 kernel module (for example). Of course, that wouldn't necessarily help, since the kernel would need access to the module before it could mount anything.

Mr. Clown said:
Moved as not android development
Click to expand...
Click to collapse
To where U-HAUL this thread?
TIA

Related

Why android not support NTFS file system

Hi!
Can anyone please tell me why android not support NTFS file system. I think NTFS more speeder than FAT and FAT 32 and other file systems. So is it technical or patent issue? I think NTFS file system developed by Microsoft ( if i'm incorrect please correct).
Thanks!
Waiting.. ;D
It's based on the linux kernel and as such uses a linux file system which is ext 2, 3 or 4 and a swap partition.
Sent from my PC36100 using xda premium
really i also think ntfs support or exfat are needed
imheroldman said:
It's based on the linux kernel and as such uses a linux file system which is ext 2, 3 or 4 and a swap partition.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
I think Linux support NTFS?
It would be like you speaking French with your friend even though her English is better than your French. NTFS is not open source and though the Linux implementation works fine, it is still a hack. Most distributions won't even allow normal users to write to Ntfs partitions by default . There could be legal issues for Google, but many custom roms will support it.
dabl8 said:
It would be like you speaking French with your friend even though her English is better than your French. NTFS is not open source and though the Linux implementation works fine, it is still a hack. Most distributions won't even allow normal users to write to Ntfs partitions by default . There could be legal issues for Google, but many custom roms will support it.
Click to expand...
Click to collapse
Thanks dude! Now i think i got full details.
dabl8 said:
It would be like you speaking French with your friend even though her English is better than your French.
Click to expand...
Click to collapse
What is this?
Ntfs and fat will be the SLOWEST filesystems on android. Ntfs kernel driver is fast but do not support write access due to patents owned by microsoft. Ntfs-3g is slow as one part has to be out of the kernel but it allows write access.
Ext 2/3/4 are the default drivers in linux kernel and are faster than ntfs.

Convert data partition to f2fs ?

Hi
I have been reading this for my Nexus 4
http://forum.xda-developers.com/nexus-4/development/script-convert-rom-to-f2fs-t2731652
Can anyone tell me if
a) would it help our primes?
b) if so does anyone know how?
Looking to speed up the I/O performance...
Justin
pooblej said:
Hi
I have been reading this for my Nexus 4
http://forum.xda-developers.com/nexus-4/development/script-convert-rom-to-f2fs-t2731652
Can anyone tell me if
a) would it help our primes?
b) if so does anyone know how?
Looking to speed up the I/O performance...
Justin
Click to expand...
Click to collapse
Jump over to my CROMBi-kk thread for the TF300 and you will see a discussion on how to set it up for the TF201. You need a special version of TWRP for f2fs to format data to f2fs and then my rom contains the kernel to use it
I keep getting encryption unsuccessful with crombi and geass twrp 7 f2fs. Doesn't matter if sdcard is ext4 or f2fs
Sent from my Nexus 4 using XDA Premium 4 mobile app
trogdan said:
I keep getting encryption unsuccessful with crombi and geass twrp 7 f2fs. Doesn't matter if sdcard is ext4 or f2fs
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I'll do an update later - there are many bugs in CROMBi-KK's implementation of f2fs that I am fixing currently.
sbdags said:
I'll do an update later - there are many bugs in CROMBi-KK's implementation of f2fs that I am fixing currently.
Click to expand...
Click to collapse
Great to hear it. Should data2sd work with crombi-kk with standard ext4? Do i need a standard twrp without f2fs support if I try standard ext4?
trogdan said:
Great to hear it. Should data2sd work with crombi-kk with standard ext4? Do i need a standard twrp without f2fs support if I try standard ext4?
Click to expand...
Click to collapse
To answer my own question, yeah it worked, but I had to flash back to stock using fastboot and the asus firmware, upgrade with hairybean, installed the geass twrp, then install crombi-kk with data2sd ext4. Unfortunately, it's slow as heck with the class 10 microsd i'm using, and lots of FC. Hopefully a faster microsd with more iops will perform better....

[Q] F2FS on Galaxy Player 5.0?

I wonder if converting filesystems to f2fs on yp-g70 is possible, maybe in the same way of converting from rfs to ext4?
Has anyone tried/succeeded in using f2fs on galaxy player?
Well answering my own question.. I successfully ported f2fs alongside LVM and checking if there's any performance boost lol
Could you post some comprison bench screenshot? I'm intrestring to format some partition of my 3YP-GS1 to f2fs
coderex96 said:
Could you post some comprison bench screenshot? I'm intrestring to format some partition of my 3YP-GS1 to f2fs
Click to expand...
Click to collapse
Sorry for late reply, I'm testing some new ROMs & optimizations at the moment so I'll post it later
kykint said:
Sorry for late reply, I'm testing some new ROMs & optimizations at the moment so I'll post it later
Click to expand...
Click to collapse
Ok

[ROM]CM11S 44S F2FS with AK077 - XNPH44S

Greetings EARTHLINGS,
Thought Id have a play with the latest CM11s with F2FS with AK kernel. Works brilliantly and the whole rom feels much smoother. ART working real good (I dont suppose it will with xposed).
You need to format system, to f2fs to flash this rom as follows:
- philz recovery make this easiest
- format to f2fs system, then cache, then data and data/media
Because it easy and he always does an excellent job I used Calkulin's Stock Rooted XNPH44S as the base for this.
Anyhow, its nice to share so here it is.
here - AK75 or
here - AK77
No support, and in the event of problems its not my fault.
Have fun. and thanks ak and Calkulin for your usual brilliance.
The bad news - Please note coverting to F2FS will destroy your data, so make a full backup and copy it to your PC first.
The good news - If you are already using 44R on ext4 format
- make a full TWRP backup and copy to your PC.
- install this and any other scripts you want after you have reformatted to F2FS, philz is easiest for this step.
- copy your nandroid back to your phone
- restore your ext4 data (select only the data) to your new f2fs rom with TWRP.
HINT ABOUT RECOVERIES- I find using philz is good for the initial format, but TWRP is better for making and restoring backups. I use TWRP multirom as my daily now my OPO is converted to f2fs.
Please also note that any OTA will not work as the stock ROM is ext4. I will however update the ROM when an OTA occurs.
So this is a rom in that you put AK kernel there?
furrycurry said:
So this is a rom in that you put AK kernel there?
Click to expand...
Click to collapse
This is a rom because you flash it and your phone works
Yes it has AK075 kernel, and it uses F2FS file system.
Why not ak77?
Sent from my A0001 using XDA Premium 4 mobile app
Setting.Out said:
Why not ak77?
Sent from my A0001 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
+1. AK75 is almost week old...
Ozonep said:
+1. AK75 is almost week old...
Click to expand...
Click to collapse
My god! A week old! Shocking!
furrycurry said:
So this is a rom in that you put AK kernel there?
Click to expand...
Click to collapse
Setting.Out said:
Why not ak77?
Sent from my A0001 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Because when I did the rom, AK77 didnt exist. I have included AK 77 version now. Thanks for the heads up.
PS you can always flash AK77 over the first rom anyhow.
Mr Woolf said:
My god! A week old! Shocking!
Click to expand...
Click to collapse
It sounds more impressive when calculated in minutes.
Sent from my A0001 using XDA Premium 4 mobile app
Ozonep said:
+1. AK75 is almost week old...
Click to expand...
Click to collapse
What a strange way of looking at it. AK 075 was current yesterday I recall, less than 24 hours ago. Today its been updated to AK77. You guys should think of a career in politics.
Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
Transmitted via Bacon
Can you flash this ROM without changing the file system?
Sent from my A0001 using XDA Free mobile app
rahditzz said:
Can you flash this ROM without changing the file system?
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
No, Its modified version for f2fs only. And this is the only difference between this and stock C11S.
Once you go to f2fs are we able to go back and use our ext4 backups and not lose anything really want to try but want to make sure I can go back to ext4 much alohas
rahditzz said:
Can you flash this ROM without changing the file system?
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
No. You have to convert to f2fs first.
otisman said:
Once you go to f2fs are we able to go back and use our ext4 backups and not lose anything really want to try but want to make sure I can go back to ext4 much alohas
Click to expand...
Click to collapse
see added content in op
Hasan_bd said:
No, Its modified version for f2fs only. And this is the only difference between this and stock C11S.
Click to expand...
Click to collapse
Sorry not correct. This has a modified boot, incorporating AK77 and the necessary changes to make it work with F2FS, so its not stock. Functionally, its the same as stock.
Also true stock is not available as a flashable rom (yet), so rather than re-invent the wheel, I used Calkulin's 44R flashable rom as a base. As I understand it, this is stock apart from the necessary changes to make it a flashable version, along with SU being provided and not installing stock recovery.
zaphodbeeb said:
Sorry not correct. This has a modified boot, incorporating AK77 and the necessary changes to make it work with F2FS, so its not stock. Functionally, its the same as stock.
Also true stock is not available as a flashable rom (yet), so rather than re-invent the wheel, I used Calkulin's 44R flashable rom as a base. As I understand it, this is stock apart from the necessary changes to make it a flashable version, along with SU being provided and not installing stock recovery.
Click to expand...
Click to collapse
Yeah..I understand, actually I am also a fan of f2fs system and using CrDroid in f2fs system with tyr kernel. But the thing is apart from kernel and updater script, there is no visible difference in both roms and technical terms make someone really difficult to understand whats going on.
Anyway, keep up the good work. I faced some problems with AK Kernel while incorporating with CrDroid f2fs but now I will give another try :laugh:
Hasan_bd said:
Yeah..I understand, actually I am also a fan of f2fs system and using CrDroid in f2fs system with tyr kernel. But the thing is apart from kernel and updater script, there is no visible difference in both roms and technical terms make someone really difficult to understand whats going on.
Anyway, keep up the good work. I faced some problems with AK Kernel while incorporating with CrDroid f2fs but now I will give another try :laugh:
Click to expand...
Click to collapse
Cool,
Let me know when you have done it and Ill help test it. Multirom is a marvellous thing, and what the heck, one more rom isnt going to make any difference. Im permanently connected to my OPO and PC anyhow.
Flashed it yesterday. Working great so far.
Thanks a lot!
I flashed today, works everything except I haven't root. I have to flash supersu in recovery?
EDIT: yes, flashing through recovery works.

[Kernel] 6.0 all Roms Geehrc for e970

Hello friends, mod nitrógen kernel ex 6.0 e970 support
Link: https://drive.google.com/file/d/0B3HI-EgKYUUCTTZXOS1ULWpPMFk/view?usp=docslist_api
Link2: https://mega.nz/#!FhRmRYYR!v0sFTdgwnq3yt7MW0Dxu3j0YFNTPEjTMsNRJ80r8u4E
Recommended ROM:
Nitrogen OS
http://forum.xda-developers.com/optimus-g-intl/development/rom-nitrogen-os-27-10-2015-t3234308
All Roms 6.0 Geehrc for Geeb working
Tanks: @Mr.MEX (Kernel Nitrogen Ex)
Camera and sdcard is work?
sd card work but camera don't work
Alijosekt said:
Hello friends, mod nitrógen kernel 6.0 e970 support
Link: https://drive.google.com/file/d/0B3HI-EgKYUUCTTZXOS1ULWpPMFk/view?usp=docslist_api
Recommended ROMs:
Pro AOSP aka PureNexus
http://forum.xda-developers.com/optimus-g-intl/development/rom-pure-aosp-6-0-0r1-optimus-g-t3222839
Nitrogen OS
http://forum.xda-developers.com/optimus-g-intl/development/rom-nitrogen-os-27-10-2015-t3234308
All Roms 6.0 Geehrc for Geeb working
Click to expand...
Click to collapse
Thanks for the kernel!! It's really nice to see finally some progress in MM in our beloved e970!
About the camera, is any fix on it's way? I don't ask about ETA just wanted to know if we might have the back camera working any time soon.
Thanks again!
Ext SD works, camera works, but only for photo for me, no video record.
Anyway big thanks!
ganjafuzz said:
Ext SD works, camera works, but only for photo for me, no video record.
Anyway big thanks!
Click to expand...
Click to collapse
OMG, i just tried SnapCameraHDR and video works!
Thanks you so much!
Alijosekt said:
Hello friends, mod nitrógen kernel 6.0 e970 support
Link: https://drive.google.com/file/d/0B3HI-EgKYUUCTTZXOS1ULWpPMFk/view?usp=docslist_api
Recommended ROMs:
Pro AOSP aka PureNexus
http://forum.xda-developers.com/optimus-g-intl/development/rom-pure-aosp-6-0-0r1-optimus-g-t3222839
Nitrogen OS
http://forum.xda-developers.com/optimus-g-intl/development/rom-nitrogen-os-27-10-2015-t3234308
All Roms 6.0 Geehrc for Geeb working
Click to expand...
Click to collapse
Thanks for your great work!
Sent from my LG Optimus G using XDA Premium 4 mobile app
ganjafuzz said:
OMG, i just tried SnapCameraHDR and video works!
Thanks you so much!
Click to expand...
Click to collapse
Hi ,did you have any other net disk?I can't get that download。thanks a lot!
Sent from my LG Optimus G using XDA Premium 4 mobile app
Hi. Apparently your kernel makes the brightness sensor to stop working. Can you please look in to that? I tried using it with Nitrogen OS. This is the only deal breaker. The camera issue can be managed with other apps but this one can't. I'm sure you can tweak and fix this. Many thanks buddy!
fahadsheikhfadi said:
Hi. Apparently your kernel makes the brightness sensor to stop working. Can you please look in to that? I tried using it with Nitrogen OS. This is the only deal breaker. The camera issue can be managed with other apps but this one can't. I'm sure you can tweak and fix this. Many thanks buddy!
Click to expand...
Click to collapse
the problem is the Nitrogen OS
I just passed my e977
If I don't flash your kernel, the brightness works but camera doesn't. If I flash your kernel, brightness doesn't work but camera does. What might be the problem?
riskingl said:
Hi ,did you have any other net disk?I can't get that download。thanks a lot!
Sent from my LG Optimus G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Link2: https://mega.nz/#!FhRmRYYR!v0sFTdgwnq3yt7MW0Dxu3j0YFNTPEjTMsNRJ80r8u4E
Where is the configuration? Can I see her? Can help everyone at once, ensuring normal functionality for E970.
Mr.MEX said:
Where is the configuration? Can I see her? Can help everyone at once, ensuring normal functionality for E970.
Click to expand...
Click to collapse
Hi Mr,MEX Please add this kernel into ur nitogen OS 6.0.1 so that we don't have to flash kernel every new nitrogen OS update released by u.
funny behaviour
Hi
my device is a e970, but I am quite intrigued that when I installed the rom (PureAOSP...) along with the kernel, it went into bootloop. As soon as I reinstalled without the kernel update, device works properly.
Great work though, and I see lot of possibility for this to become more stable with all camera and other things working in near future.
Keep the good work going guys!
regards
Does bluetooth work for everyone or does it keep disconnecting when on a call? I'm on E973 but dev said it's an isolated problem for E973 and won't work on fixing my issue - is this a Kernel issue or a rom issue? Hoping it is a kernel issue!
Just installed the nitrogen kernel and I have a rear camera again (thank you so much!) using snapcamera HD but after fiddling with their cam options, the program crashed and I cannot connect to the camera anymore. A reboot fixes the problem.
milindchitale said:
Hi
my device is a e970, but I am quite intrigued that when I installed the rom (PureAOSP...) along with the kernel, it went into bootloop. As soon as I reinstalled without the kernel update, device works properly.
Great work though, and I see lot of possibility for this to become more stable with all camera and other things working in near future.
Keep the good work going guys!
regards
Click to expand...
Click to collapse
xdauserpyro said:
Does bluetooth work for everyone or does it keep disconnecting when on a call? I'm on E973 but dev said it's an isolated problem for E973 and won't work on fixing my issue.
Just installed the kernel and I have a rear camera again using snapcamera HD but after fiddling with their cam options, the program crashed and I cannot connect to the camera anymore.
Click to expand...
Click to collapse
I used the default kernel in the ROM zip file under Pure AOSP.
regards
Mr.MEX said:
Where is the configuration? Can I see her? Can help everyone at once, ensuring normal functionality for E970.
Click to expand...
Click to collapse
hello friend just extract boot.img (you nitrogen ex e970) and edit "fstab.geehrc" ad support micro-sd
PHP:
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered wait,check
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc wait,check,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 nosuid,nodev,barrier=1,data=ordered,nodelalloc wait
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:radio_efs_file:s0 wait
/dev/block/platform/msm_sdcc.1/by-name/boot /boot emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/recovery /recovery emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/misc /misc emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/modem /radio emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/sbl1 /sbl1 emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/sbl2 /sbl2 emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/sbl3 /sbl3 emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/tz /tz emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/rpm /rpm emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/aboot /aboot emmc defaults defaults
/devices/platform/msm_sdcc.3/mmc_host/mmc1/* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
/devices/platform/msm_hsusb_host/usb* auto auto defaults voldmanaged=usb:auto
Youtube stopped working on PureNexus after I flashed this Kernel.
Mr.MEX said:
Where is the configuration? Can I see her? Can help everyone at once, ensuring normal functionality for E970.
Click to expand...
Click to collapse
Hi,may you help us to fix e970 with this kernel?Thanks!
Sent from my LG Optimus G using XDA Premium 4 mobile app

Categories

Resources