Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
s23bog
Old
(Last edited by s23bog; 26th July 2011 at 02:53 AM.) Reason: Thought of another issue
#1  
Member - OP
Thanks Meter 1
Posts: 63
Join Date: Mar 2010
Location: Louisville, KY
Default Ext4 (on sdcard) for OpenZio

As I seem to be repeatedly losing files (including my entire music library, recently), and I am tired of it taking so long to recognize new files that I put on the sdcard via USB; I am starting this thread in hopes of starting efforts to get ext4 support included (or patched to) the OpenZio rom.

I apologize, Spz0, if I am stepping on any toes. Just thought this should be a separate thread from the main build thread.

--Reasons for using Ext4:
1. Native Linux filesystem. Mounts instantaneously, reducing boot time.
2. Journaled filesystem. Corrupt / lost files virtually eliminated.
3. Major performance improvements over Fat32.
4. Large file support (not my thing, but some people want it)

--Problem(s) with Ext4 on sdcard:
1. Unable to natively read card with Windows.
(still able to mount via USB to phone)
2. Permissions may be difficult to work out.

Any thoughts?
 
s23bog
Old
#2  
Member - OP
Thanks Meter 1
Posts: 63
Join Date: Mar 2010
Location: Louisville, KY
From what I gather in my searches, the following will need to be done to accomplish this:

1. Kernel module (ext4.ko) needs to be installed.
2. Appropriate libraries also need to be installed.
3. init.rc needs to have mount options changed.
4. Permissions issues need to be addressed.
 
Mattix724
Old
#3  
Mattix724's Avatar
Senior Member
Thanks Meter 2136
Posts: 3,953
Join Date: Sep 2010
Location: Maricopa, Arizona
Id love to see ext4 support but that lies within the kernel

Sent from my Kyocera Zio M6000 using XDA Premium App
Samsung Galaxy S II Epic 4G Touch
Running whatever ROM looks good at the time
 
s23bog
Old
#4  
Member - OP
Thanks Meter 1
Posts: 63
Join Date: Mar 2010
Location: Louisville, KY
It isn't a monolithic kernel is it? If not, modules can be inserted on the fly

Sent from my Zio using XDA App
 
Mattix724
Old
#5  
Mattix724's Avatar
Senior Member
Thanks Meter 2136
Posts: 3,953
Join Date: Sep 2010
Location: Maricopa, Arizona
A what now?

Sent from my Kyocera Zio M6000 using XDA Premium App
Samsung Galaxy S II Epic 4G Touch
Running whatever ROM looks good at the time
 
jlmancuso
Old
#6  
Senior Member
Thanks Meter 569
Posts: 915
Join Date: Apr 2011
Location: bryan, tx

 
DONATE TO ME
before i switched over to openzio rom i ran ext3 on my sdcard, but did not try ext4. now my linux machine is dead and gone i have not tried either with openzio. with ext3 i did notice a small increase of speed, but never benchmarked to see how much.
 
s23bog
Old
(Last edited by s23bog; 27th July 2011 at 12:51 AM.)
#7  
Member - OP
Thanks Meter 1
Posts: 63
Join Date: Mar 2010
Location: Louisville, KY
Ext4 performs substanially better than ext3. The biggest improvement with ext3 was adding journaling support.

As for inserting kernel module on the fly, I am speaking as a Linux admin. I can't really speak about the Android kernel in particular. Typically linux kernels are dynamic, and allow for inserting of kernel modules as needed. Alternatively, kernels can be compiled as monolithic (or static), meaning that all required modules are compiled into the kernel.

I believe the required module is ext4.ko. I also read that there are some required libraries as well.
 
Mattix724
Old
#8  
Mattix724's Avatar
Senior Member
Thanks Meter 2136
Posts: 3,953
Join Date: Sep 2010
Location: Maricopa, Arizona
Well with android our kernel lies within our boot image. I'm sure ext4 can be added it's just a matter of taking the boot.img apart and adding ext4.ko then rebuilding the image and flashing it to the boot partition of the phone.

Sent from my Kyocera Zio M6000 using XDA Premium App
Samsung Galaxy S II Epic 4G Touch
Running whatever ROM looks good at the time
 
s23bog
Old
#9  
Member - OP
Thanks Meter 1
Posts: 63
Join Date: Mar 2010
Location: Louisville, KY
As my car is in the shop, and I can't work (contractor that travels to jobs with a ton of tools), I may get more motivated to look into this more.

BTW, loosing my entire music library wasn't due to the filesystem, it was an ID10T error. I accidentally put one of my other SD cards in my phone, then proceeded to run over my 16GB card with my chair. Oh well, I think it was a class 4. Getting a class 10 card tomorrow.
 
Spz0
Old
(Last edited by Spz0; 31st July 2011 at 03:42 PM.)
#10  
Spz0's Avatar
Recognized Developer
Thanks Meter 106
Posts: 553
Join Date: Sep 2010
Location: Oregon

 
DONATE TO ME
You'd have to hit up Adrynalyne for a kernel update.
Havent seen him around for months.
I won't be using ext4 for my ROM. Perhaps someone else who develops a ROM for the Zio may, but I just dont have the time right now, and the Zio is pretty maxed out as it is with all the work we've done on it thusfar.
A better more viable option would be to get someone to build CM6 for you all, so the zio can somewhat stay on the learning curve. This phone is getting a touch old with all the newer cricket phones that are coming on the market now. Unfortunately I dont (and havent) seen any new devs capable of producing CM6 hit the forums with a zio lately... But, you never know..


Good Luck!
.......Devices.......
...Kyocera M6000(zio)
OpenZio ROM 2.1.2
Adrynalyne OC
...Pandigital Planet
OpenPDP ROM-2.2.1
...Pandigital Planet 2.3.4 REFRESH
OpenPDP ROM 2.3.4
...Samsung ?SCH-R720 (Vitality)
OpenAndroid ROM 2.3 w/Spz0's OC Kernel
...Moto Droid X
VXL-OpenAndroid 2.1.2
Lots moar..

>Donate<

 
Tags
ext4, openzio, sdcard, zio
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Recognized Contributor Code of Conduct

During the first half of 2012, XDA initiated the Recognized Contributor (RC) program to recognize … more

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more