yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] newmail:
You're wrong sorry. Userland uses journaling too, like sqlite, I tend to think some android internal uses it, and certainly some apps can use it. That's what the "database test" is about in quadrant as well (checked it does the fsyncs to simulate proper user journaling). With ext2 you won't ever know what you get in the filesystem after e2fsck finishes. With ext4 you're guaranteed the db will be in perfect consistent state as long as userland uses journaling too. The data=ordered mode furthermore ensures that no user will see uninitialized data block after journal reply (it keeps track of when data I/O completes before allowing the metadata journal to be committed during log reply at first mount of unclean state).

As far as data writes goes (especially rewrites) it's identical (unless you use data=journal mount option), but for metadata it's a whole lot different, all mail daemons like maildir are doing proper fsyncs on the created directories and inodes to ensure the thing is consistent and the indoes won't end up in /lost+found after e2fsck.

All that e2fsck does is to ensure the metadata is in consistent state and the kernel won't crash while mounting an unclean ext2 but you don't know what you will find (I agree 99.9% of the time ext2 + e2fsck or ext4 won't be visible on a cellphone though). journaling is not just about not having to run e2fsck after unclean unmount.

But the overhead of proper journaling is not significant, so forget ext2... Again if you were right, all laptops should use ext2. Nobody does there is a reason.

Last but not the least rfs uses journaling too, if they only wanted to add unix permisison and ownership to the fat filesystem they wouldn't need to add journaling too... they could have run dosfsck instead. rfs problem is it uses fsync at every damn close(). My rfs_async.ko kernel module is working great here, much better now that I dropped that synchronous write of the inode at every close. No problem whatsoever and I got it autoloaded at boot (you can verify it worked by running insmod twice, the second insmod will complain in the `dmesg|tail` output). If you try it on JPK kernel (it won't work on any other kernel) do it at your risk as usual...

Enjoy :)
[Galaxy S I9000 General] RyanZA:
Well.. all the database test in quadrant does is do a few insert statements into a database, and then some select statements to get the data back. It definitely has nothing to do with journaling! :) EDIT: It doesn't even call the fsync itself, but because it uses sqlite and non-batched transactions, after each transaction finishes it will do an fsync as part of sqlite. This is similar to your RFS hack where you remove fsync on file close - you could do a similar hack to sqlite to remove fsync on transaction finish. :)

As far as the fsyncs go, I was under the impression that after the fsync returns, all data and metadata are fully written to the MoviNAND. So no journals are required for anything to do with an fsync, as all of the data is guaranteed consistent on disk when fsync returns.

The journals are for when fsync ISNT called, and keeps a record of what file operations were about to be done. So if we write something to a file, the journal will be updated to keep a record that we were about to write to a file, and if the system crashed before we could finish writing, then when we read back the journal on boot up we know what happened. Is this wrong? If so, could you please explain how it works? Thanks. :)

EDIT: A large number of netbooks DO use EXT2 btw. Laptops mostly use spinning disks, where journaling is much more important since a write can be stopped half way through a block. With MoviNAND, this is impossible, and all writes in the buffer should complete correctly even if power is lost! (This is if MoviNAND is the same as a desktop SSD)

EDIT2: You also seem to be implying that journaling is an OPT-IN that applications themselves have to take to fully benefit??? This is really the first time I've ever heard that, and if true, it sucks horribly! :D
[Galaxy S I9000 General] newmail:
Well the database test runs fsync to simulate userland journaling. That's just a benchmark of course, no journal is needed for a benchmark that will delete the file and won't care what is in it when you run it a second time, agree about that :)

An example of what can happen with ext2 is that you write some data extending the file. That has to update the size of the inode, the superblocks/groups, the indirect blocks pointing to the data, and finally it will write the data. The order is not guaranteed. So if you lose power after write returns and before fsync starts (or during the fsync) you can end up with the indirect blocks pointing to some random location, so leading to the database containing random data leading to userland crash when you start the app again after boot.

Another example is you write a couple of files, then you fsync the directory to be sure the files are visible at the next boot, but you crash in fsync. The inodes haven't been written yet, so the directory points to uninitialized inodes.
[Galaxy S I9000 General] RyanZA:
The database test doesn't run fsync itself - sqlite does the fsync by default. You could patch the Android sqlite if you want, and the database test wouldn't use fsync (much the same as patching RFS to not fsync on file close?)

I was under the impression that the rest of what you're saying is what the filesystem check is doing. It checks out each inode, and compares the checksum to ensure that the correct data is there. If the wrong data is there then the file gets moved to LOST+FOUND or something? EXT4 does the same thing if a large file write is stopped half way through by a power cut.

I could be way off though! How does the journal help recover the actual data inside the not-yet-written file?
[Galaxy S I9000 General] newmail:
Removing implicit fsync from close() is not like removing fsync from sqlite. I could have made rfs fsync a noop, but I didn't. close() semantics don't normally imply an fsync. That doesn't mean I didn't broke rfs journaling, but I doubt I did, considering I've seen on google config option called CONFIG_RFS_SYNC_ON_CLOSE=y/n suggesting the journaling layer can cope without fsync on close.

There is no checksum anywhere in ext2/ext4, btrfs has it, these fs won't checksum. e2fsck only checks the metadata is consistent and approximate to the closest modification to bring the metadata back in consistent state. This approximation leads to unpredictable results simply. ext4 provides predictable results instead. In short, if you create a number of files in sequence in some directory, they won't end up in some random other place after pulling out the battery with ext4.
[Galaxy S I9000 General] RyanZA:
I tried the random files thing, and they're all still there after a battery pull. I'll give it more testing though, thanks!

To be honest though, I don't exactly pull out my battery in normal usage... so I'm not sure how much this all matters. But it's really good to know, so thanks for the information! :)
[Galaxy S I9000 General] INeedYourHelp:
So does your way stop most of the lags? (like when downloading/installing lots of apps)

Link?
[Galaxy S I9000 General] newmail:
I never tried ext4 on my galaxy so I don't know... but I never had big issues here, maybe because I practically always run froyo? (I flashed it almost immediately)

It feels better, and just about fine for my usage, but I'd need to write a specific test for it because you just can't measure "responsiveness" by using it, placebo effect will affect even the most rational mind.

In any case I don't want close() to call write_inode_once(sync=1) which is what the assembly of rfs is doing (any other normal fs including vfat would only do that if you mounted it with -o sync.....). So I'm surely going to keep the rfs patched my way on my galaxy even if there would be no significant benefit (but I think there is!).

link is in page 15 of this thread, just make sure you've JPK rom (and not any other version, it'll crash randomly with any other kernel except JPK).
[Galaxy S I9000 General] distortedloop:
Could have sworn I've seen arguments by you in the past that journaling meant more writes than not journaling, and therefore was harder on the battery, but yes, the primary debate has always been whether data corruption was a risk or not. :D
[Galaxy S I9000 General] distortedloop:
If you'd ever experienced the real lag problem we're discussing, you'd not be throwing around the placebo word! LOL.

Seriously, I agree that that placebo exists, like whenever there's an update to Mac OS X people proclaim "Safari feels snappier" to the point that it's become a ridicule phrase, but the lag on the early models/firmwares of the SGS was very real, very noticeable, and very easy to see go away to some extent when Paul at Modaco and Mimocan first published lag fixes back in June/July...
[Galaxy S I9000 General] captive:
I've been using it since yesterday, and my sgs seems to work smoother.

I did a quadrant benchmark, and score is the same as usual, but I don't really believe it is reliable, fs buffering may alter results imho..

A "real life" test is what I noticed with Fruit Ninja (great little game!): after every game, when it shows the best combo you made, it used to freeze for something like half a second, now this doesn't happen anymore.

Multiple installation from market still make device "hang" but for a shorter time.

There's nothing "scientific" in those tests, though, btw I got no side effects with your rfs module, and this is good.. :)
[Galaxy S I9000 Android Development] kanemari:
Hi All,

Wanting to know if source for the JPC firmware is available anywhere. I need to build some modules and ive tried using generic android 2.6.32.9 source with arm-eabi- cross compiling and it doesnt want to work. compiles fine but insmod fails.

any suggestions?
[Galaxy S I9000 Android Development] Aery:
If its out, it should be there http://opensource.samsung.com/

But at the moment JPC isn't a official release. Think there´s no chance of getting it.
[Galaxy S I9000 Android Development] MPM86:
You can get it here:

https://www.wuala.com/Samsung Galaxy S/Firewares , Updates and Odin?key=AfzUZSU4SpKU

I flashed this using Odin and the 512 .pit to be safe but I hear 803 has some good performance. Everything you need to flash is there, credit to Darkstriker.
[Galaxy S I9000 Android Development] Aery:
There´s no Source Code. ;-)
[Vibrant General] 3vilhomer:
I juz got the vibrant, when I setup my gmail account, it only sync email address on my gmail to the fone, but it doesn't sync any contact I copy from sim to fone... All syncing setting has been turn on...

Please help!!
[Vibrant General] 3vilhomer:
Anyone help?
[Vibrant General] lando123:
Maybe if you used real words instead of nonsense you would get help.
[Vibrant General] 3vilhomer:
I juz got the vibrant, when I setup my gmail account, it only sync email address on my gmail to the phone, but it doesn't sync any contact I copy from sim to PHONE... All syncing setting has been turn on...

Please help!!
[Vibrant General] SykesAT:
ROFL

u hv aktualy movd contks 4rm sim to fon? I iz confsed.
[Vibrant General] 3vilhomer:
Ya, there's an option that can let me copy contacts from sim to phone... But the contacts doesn't sync with google...
[Vibrant General] 3vilhomer:
Anyone help??
[Vibrant Themes and Apps] AlexSochi8:
Feel free to list any games at all, as I am looking for suggestions to explore the gpu possibilities with this phone... Plus for some weird reason it seems like market doesn't have many 3D intense games to take advantage of.... I'm running all stock no playststion emukators or any other stuff.

Thanks in advance!
[Vibrant Themes and Apps] gbakabg:
How bout back breaker
[Vibrant Themes and Apps] darkknight49:
You gotta go to gameloft's website to get some 3d games. They aren't on the market.

Sent from my Galaxy S using the XDA App
[Vibrant Themes and Apps] Anderdroid:
Kwaak3 Arena
[Vibrant Themes and Apps] Satertek:
Quake 3 is the only thing that manages to use the GPU. Everything else is a iPhone ported eyesore.

Can't wait for higher end Android phones to get some marketshare so developers actually make games that use the hardware.

(I'd put PSX4Droid at 2nd, but it's a bit sluggish even on the Vibrant)
[Vibrant Themes and Apps] dejaq2:
fav 3D games

two that I fin addictive:

Speedx 3D (blazingly fast) a reflex sharpener!

Prism 3D (from same Co.) nice challenging!
[Vibrant Themes and Apps] kanwal236:
asphalt 5 lol

but not really addicted to it, just for a quick race every now and then, but the best has got to be final fantasy 7 through psx4droid or any ps1 game really. :)
[Vibrant Themes and Apps] Anderdroid:
quake3droid on the market plays really well now, just like Nova. Works great with the volume rocker
[Vibrant Themes and Apps] demo23019:
N.O.V.A "IMO best"

NFS Shift

Quake3droid

Lets Golf

Asphalt 5

Homerun battle
[Vibrant Themes and Apps] SamVib:
HyperSpace ;D
[EVO 4G Android Development] vaelek:
I've run into this on multiple ROMs, and every time it seems like it only affects some people. As far as I've been able to find, the common link hasn't been found. It has now, and the fix is incredibly simple.

Settings > Applications > Manage Applications > All > Dialer > Clear Cache

Reboot

Do not restore SMS/MMS/APN Dialer storage data

This was posted in the VaelPak thread, but wanted to get it out there for everyone.

Edit:

I tested this on a fresh install before posting.. both breaking it and then fixing it. But when I restored my broken nand backup, the fix did not work. So mileage may vary, but flashing a fresh install and not restoring the dialer storage should still be a winner.

See post #4 for another confirmed cause and fix
[EVO 4G Android Development] YenahsYenzow:
THANKS! Been having this issue since and I didn't feel like searching everywhere for this...until you posted it up here, which made my day a breeze!
[EVO 4G Android Development] rjmjr69:
Thanks awesome find
[EVO 4G Android Development] vaelek:
There is more to this.

The original cause and solution were both confirmed, but another one has been found. It was caused by a battery mod. So conceivably MMS could be broken by any UI mod that includes /system/framework/framework-res.apk

The good news is, replacing the file with the one that came with your rom should fix MMS after a reboot.

This cause and solution have also both been confirmed. But what about the mod that did it is not known right now.
[EVO 4G Android Development] KDKobes:
There seems to be many causes to this problem and seems a fix is based upon each individual and there phone. I see people with this error from a factory ROM and fresh phone. Some issues can also be fixed by un-checking delivery report/read report in messaging settings.

*UPDATE* ~ Possible Fix ~

Not sure if this applies to all but it fixed my problems altogether. In the apn settings there are 2 listed one for Internet and one for MMS. Take the MMSC, MMS Proxy, and the MMS Port settings from the MMS apn and copy those to the internet apn. No need to reset. And don't delete any apn's either.
[EVO 4G Android Development] clownberg:
I can t get this to work

hey can you help me out-I keep flashing unrevoked-forever-son.zip repeatedly and it doesnt work-It keeps saying s-off.I have clockworkmod recovery-I need to turn s-on because i have to take my evo back to a sprint repair shop.my 4g radio got hosed.I must have deleted the keys-I was able to correct my mac address however 4g will still not connect
[EVO 4G Android Development] ShadowDrake:
Don't worry about it?

This isn't even the right thread for that.

I just returned an Evo, rooted, with a custom ROM on it. They didn't care. The chance of them seeing S-OFF instead of S-ON is pretty much zero.
[EVO 4G Android Development] bluediablito:
is this the same problem as

when roaming i am unable to make calls nor connect to the internet. i tried calling and i get this message

"unable to connect, this is an unauthorized devise on the Verizon network...please try your call again........"
[EVO 4G Android Development] freeza:
I had this issue and it was due to a messed up xml file in system/customize/MNS/default.xml

Unfortunately for me, the only way I fixed it was to hard reset with with the proper edits to the file.

I was learning how to build ROMs and edit certain xml files and I guess I screwed up the syntax of this particular one and ruined my MMS :-p
[EVO 4G Android Development] bwtl1000r:
Not the same. Call sprint and tell them you can't make calls while roaming and that you get the verizon message. Tell them you need to repush the network information. That'll fix it quick.
[EVO 4G Android Development] hounie2286:
Voicemail problems

Don't know if you guys can help out, but I can't find a thread on this anywhere. My voicemail is not working period. I will call from another phone and leave myself a voicemail. Go to check it and it is no where to be found. I am running fresh 3.2 and kingkernel bfs #9. Any suggestions?
[EVO 4G Android Development] blueblur:
I use Google Voice -- It will replace your current VM system and also sends you emails with your voicemail transcribed into text... give it a shot!

I also use it to ask me to use Google Voice to dial out or allow android to dial...because I hate dialer and if you hit connect/call it immediately dials the first number on the list.. googlevoice at least lets me choose which one I want or none at all.. Its like putting a condom on voice dialer! (Ok, not really, but....)
[EVO 4G Android Development] revlis240:
^ that or youmail. I like youmail because if the phone doesnt ring sometimes (out of reception or if youre on a call sometimes) youmail will send you a email or text showing the missed call. I archive all missed calls/voicemails (for work) so it works out perfectly.

back on topic, I tried deleting the dialer storage, but my mms settings still show some wierd Orange.UK url for the mnsc and i have no idea how that happened. I will try to reflash the rom and see if that fixes it...
[EVO 4G Android Development] hounie2286:
Thanks for the suggestion, just got everything setup. Google voice works like a charm.
[Touch2 General] vasunookesh:
Hi,

does black berry os availabe for mega.

please reply.

if available please provide links
[Touch2 General] juanincognito:
impossible for mega.
[Touch2 General] fautorr:
BlackBerry software ports could be real, but BB OS? What kind of question is that...?:D
[Epic 4G General] tromano:
Hi, I'm pretty geeky for a non IT person, but I have had a Blackberry up until now, so I am totally new to this Android set up. I have the Epic on Sprint; am frustrated with battery life, and would like to try and root the phone for 2.2 froyo. however most of the tutorials blow through the lingo (adb, huh?) in a way that is not explanatory for people who are new to this. Is their either a visual step-by-step guide for people or a more basic explanation of what is what and what to do somewhere? And, so far all I've seen is for Windows people. I have a Mac running snow leopard?

Help!
[Epic 4G General] fallingup:
I'm thinking of writing a script for Mac users, i don't have an epic but my xo-worker does and i rooted his today on my Mac, not as simple as the one click root but is doable.
[Epic 4G General] tromano:
that would be awesome; i guess the main things are 1. if you root it, can you upgrade to 2.2? 2. if you root it and upgrade, can you undo everything to factory?
[Epic 4G General] suspect32:
Id be interested in this also
[Epic 4G General] Fixter:
1. Rooting doesn't instantly make you 2.2 Upgradeable. 2.2 Froyo comes in different flavors for different manufactures. They lock the phone down with their systems so they phone cannot be unlocked, etc. Right now we are a bit far behind in getting 2.2 on the Epic. I think Sprint might even get it faster.

2. If you root you can ALWAYS go back to stock. They is a guide right here for returning to stock 2.1 and undo everything to factory.
[Epic 4G General] pjree:
It's kind of crude, but I wrote this for someone over at SDX-Developers to try. I think they were successful.
[Epic 4G General] jayhover85:
Issue for operation not permitted

I got all the way to the last paragraph of ./adb shell but cannot get the mount line to work....it says operatino not permitted. I put everything in the mac's root section just inside mac hd.

HELP!! I put hte phone in debug mode....did I need ot install any drivers from samsung....help!!!

-J
[Epic 4G General] krazyflipj:
Were you able to get this working?
[Epic 4G General] jayhover85:
Root

No, I was not.
[Epic 4G General] ss4rob:
Check out this snippet of the instructions (I'll number them for ease):

<snip>

1.) cd /data/local/tmp

2.) rageagainstthecage-arm5.bin

3.) exit

4.) ./adb shell

5.) mount -t rfs -o remount,rw /dev/block/stl9 /system

</snip>

When you ran step 2, what happened? You may have to run the command this way with a dot and slash in front instead:

./rageagainstthecage-arm5.bin

When you ran step 4, did you get a $ or a #? If you got a #, step 5 should work properly. If you got a $, you'll need to do re-run the ./rageagainstthecage-arm5.bin step again. Re-running this step doesn't hurt anything. Good luck.
[Epic 4G General] kbounce:
i'm stuck. i just got my epic and i'm trying to root it. i get to step 2 (using "./" before rage...cage) and terminal looks like it's running something. i type in "exit" when it finishes and it's as if my terminal logs me out. i can't reach step 4 and the screen on my epic has gone black by now. frozen up. i need to remove the battery to reboot and unfreeze my device. what am i doing wrong? am i missing a step somewhere? also, the "playlogo" file saves as ".sh" at the end, so in the terminal i manually enter that at the end of the file name just so that it can be read. "playlogo" without the ".sh" at the end cannot be found. is this what's causing it? any help would be greatly appreciated. i'm trying not to brick my phone!
[HD2 Android Q&A, Help & Troubleshooting and Genera] billyarison:
Ok not sure if this is the place to post this but gotta say it. Found 5 different people on craigsl list cashing in on the build off this site. i contacted on and asked how he was getting android to work he say he had builds he has done himself. but dont realy belive this. think there just trying to cash in on all the great work the guys o this site are doing

.http://norfolk.craigslist.org/mob/1941960747.html
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
Not much you can do bro ... they will in hell for their deeds
[HD2 Android Q&A, Help & Troubleshooting and Genera] daemonfly:
Perhaps post your own "Free" ads with honest info & pointing them in the right direction.
[Droid Incredible Q&A, Help & Troubleshooting] dhoenig:
I just flashed the CyanogenMod ROM and do not see the FM Radio app installed or available in the market. I've been searching the forum archive for a download link or other way of installing it but haven't found the answer. Can anyone tell me where/how I can get it? I'm looking for the regular HTC app that comes with the stock phone.
[Droid Incredible Q&A, Help & Troubleshooting] BurningHell:
Cyanogen is not HTC so does not have access to their programs they may eveuntally create their own that works
[iPAQ rw6828, XDA Atom General] rida007:
pleaaze we want a new wm 6.5 for our xda atom why not plzzzzz mens

like a 6.5.5 or 6.5.3 like that with the latest connections wizard
[iPAQ rw6828, XDA Atom General] juliuscezar:
To answer your inquiry you may go to this link..http://xdaforums.com/showthread.php?t=628026&page=36. :)
[iPAQ rw6828, XDA Atom General] rida007:
thanks men buut we neeed a new roms for this phone its good
[Droid Incredible Q&A, Help & Troubleshooting] joker713:
So, my main speaker blew and I'm going to take it in to have it warrantied. I have gotten to the point where I can get unrooted but I still have s-off or i can get to the point where i have s-on but rooted. How can I do both? I've searched so please don't flame.