[REF] serious jpx IO/db problems/bugs? [unsolved but found the cause] - Galaxy S I9000 Android Development

hi all,
i found that with jpx there r some bugs, and the files are easily corrupted. and i have found a lot of errors in the log even with reflasing it again and again
- 12-20 15:10:19.017: ERROR/SQLiteOpenHelper(2854): Couldn't open external-81b6140f.db for writing (will try read-only)
this file gets corrupted every 2 or 3 boots
- browser has max 4 tabs? (this is not a bug)
- symlinks will be damaged
- dalvik cache are vulnerable
- db-journal under dbdata is a mess
anyone have these kind of problems?
and one more error found:
12-20 15:15:00.017: DEBUG/skia(3181): ------- write threw an exception
12-20 15:15:00.021: WARN/System.err(3181): java.io.IOException: file is too big.
12-20 15:15:00.021: WARN/System.err(3181): at android.webkit.WebView$CountingOutputStream.write(WebView.java:9241)
12-20 15:15:00.021: WARN/System.err(3181): at android.graphics.Picture.nativeWriteToStream(Native Method)
12-20 15:15:00.021: WARN/System.err(3181): at android.graphics.Picture.writeToStream(Picture.java:119)
12-20 15:15:00.021: WARN/System.err(3181): at android.webkit.WebView$7.run(WebView.java:1705)
12-20 15:15:00.021: WARN/System.err(3181): at java.lang.Thread.run(Thread.java:1096)
EDIT:
one of the problem areas http://forum.xda-developers.com/showpost.php?p=9959176&postcount=47

What does this mean for those of us using JPX?

ragin said:
What does this mean for those of us using JPX?
Click to expand...
Click to collapse
if they r bugs, your data/files are fragile. and in turns not usable

@ykk_five are you using ext4?! i had that issues also but not with jpx, also corrupted files on external sd card and so on, i am now back again at RFS since JPU and have not such issues anymore

cHarOn99 said:
@ykk_five are you using ext4?! i had that issues also but not with jpx, also corrupted files on external sd card and so on, i am now back again at RFS since JPU and have not such issues anymore
Click to expand...
Click to collapse
i;m using ext2 (i didnt use rfs actually), but i didnt have these kind of problems in any other rom b4
also my ext sd has no problem, only data and dbdata are affected

I am using DOC v5.1 JPX
RFS on Voodoo 5.03
Verified Internet Browser max is 4tabs only.

s88 said:
I am using DOC v5.1 JPX
RFS on Voodoo 5.03
Verified Internet Browser max is 4tabs only.
Click to expand...
Click to collapse
actually some problems are not visible to users, but if u open ddms/logcat to read the log, u can find a lot of db problems

ext2 can easy corrupt data, i had also long time no issues with ext4 anyway it started to give me issues, because since JPU RFS is fast enough and smooth i see no reason to use any of the "lagfixes" anymore.
ykk_five said:
i;m using ext2 (i didnt use rfs actually), but i didnt have these kind of problems in any other rom b4
also my ext sd has no problem, only data and dbdata are affected
Click to expand...
Click to collapse

cHarOn99 said:
ext2 can easy corrupt data, i had also long time no issues with ext4 anyway it started to give me issues, because since JPU RFS is fast enough and smooth i see no reason to use any of the "lagfixes" anymore.
Click to expand...
Click to collapse
yeah i know ext2 is fragile, but those problems occur while the phone is on and running

checked with logcat and can't find any db issues on my side

ykk_five said:
hi all,
i found that with jpx there r some bugs, and the files are easily corrupted. and i have found a lot of errors in the log even with reflasing it again and again
Click to expand...
Click to collapse
As XXJPX doesn't use ext2 out-of-the-box, blaming this ROM is nearly irrevelant.

Exactly Slane. It's like saying your pen is of poor quality, after using it as a crowbar to pry something open. Or saying OSX broke your hardware after using your Macbook air as a hammer.

.Slane. said:
As XXJPX doesn't use ext2 out-of-the-box, blaming this ROM is nearly irrevelant.
Click to expand...
Click to collapse
Auzy said:
Exactly Slane. It's like saying your pen is of poor quality, after using it as a crowbar to pry something open. Or saying OSX broke your hardware after using your Macbook air as a hammer.
Click to expand...
Click to collapse
Noobs... Sighz.......

g00ndu said:
Noobs... Sighz.......
Click to expand...
Click to collapse
Yeah nearly 1000 posts here and unable to post something with some interest ? Ext2 especialy with loop have problems and it was before XXJPX and Samsung have "tricked" lag using internal NAND for faster response time.

.Slane. said:
As XXJPX doesn't use ext2 out-of-the-box, blaming this ROM is nearly irrevelant.
Click to expand...
Click to collapse
This dude has a point actually...
Auzy said:
Exactly Slane. It's like saying your pen is of poor quality, after using it as a crowbar to pry something open. Or saying OSX broke your hardware after using your Macbook air as a hammer.
Click to expand...
Click to collapse
This one did not really seem to help...

ykk_five said:
i;m using ext2 (i didnt use rfs actually), but i didnt have these kind of problems in any other rom b4
also my ext sd has no problem, only data and dbdata are affected
Click to expand...
Click to collapse
you know that ext2 has no journaling ...
if the phone turn out, without the filesystem beeing umount then IT IS NORMAL that you have these bugs ....
it may be possible that samsung did not umount the filesystem on shutdown

hardcore's ext4 default settings will hopefully solved this issues.

alain57 said:
you know that ext2 has no journaling ...
if the phone turn out, without the filesystem beeing umount then IT IS NORMAL that you have these bugs ....
it may be possible that samsung did not umount the filesystem on shutdown
Click to expand...
Click to collapse
yes, no umount will be done on every reboot/shutdown
and as i said these problem occurred when the phone was running also

sigh...noobs. do you even know who the TS is? ykk_five is one of the more knowleagable persons around here, even if he doesnt post a lot.
he was one of the first to present the loop lagfixes, and later contributed to the ext2/4 lagfixes and also was instrumental with the finding which led to more usable ram for froyo (which found it's way into ULK, voodoo and other kernel tweaks).
although so far i havent face any problems with JPX like those he mentioned, i wouldnt dismiss his comments just like that. maybe he was a bit quick to announce but that doesnt mean you guys can slag him like that.
let's just let the investigations go on for a while.

sunwee said:
sigh...noobs. do you even know who the TS is? ykk_five is one of the more knowleagable persons around here, even if he doesnt post a lot.
he was one of the first to present the loop lagfixes, and later contributed to the ext2/4 lagfixes and also was instrumental with the finding which led to more usable ram for froyo (which found it's way into ULK, voodoo and other kernel tweaks).
although so far i havent face any problems with JPX like those he mentioned, i wouldnt dismiss his comments just like that. maybe he was a bit quick to announce but that doesnt mean you guys can slag him like that.
let's just let the investigations go on for a while.
Click to expand...
Click to collapse
thanks sunwee, i'm really appreicated that someone remember me for those tiny findings
anyway, i wanted to let ppl know jpx may contain some bugs, which wont happen on other roms

Related

[UTIL][OUTDATED] One Click Lag Fix 2.0

[size=+2]This version is now deprecated in favor of the 2.0 APK version. Please see this link: http://forum.xda-developers.com/showthread.php?t=784691[/size]
This version is not recommended for use any longer.
Details about what this fix does:
Creates a VIRTUAL EXT2 filesystem inside the stock RFS filesystem on the internal SD card, with a 4KB block size. This means that this lag fix creates a buffer between the real filesystem and the android system. This buffer should reduce the amount of disk I/O required for all operations by utilizing EXT2 buffering, as well as not writing file access times to disk, etc.
Folders that are currently supported:
/data/data
/data/system
/data/dalvik-cache
/data/app
/data/app-private as a symlink to /data/app/app-private
/dbdata/databases is not supported. It appears to be ROM backed, and can cause problems if overwritten.
Benefits over version 1
1.5GB of application data available, with no data loss.
e2fsck of the EXT2 partition on each boot.
Correct busybox version included! YES!
/app and /app-private directory included in the fix for faster application installs.
/dbdata/databases included in the fix, expected to give a big performance boost for apps that use it.
Mounts instead of symlinks for extra performance as OS does less work (about 100 or so more quadrant).
Benefits over other lag fixes
Open source, with full comments and ease of editing.
Works on any and all firmware versions, including any yet unreleased froyo versions (that don't change file structure).
Credits
Big thanks to mimocan for putting us all on the right track in how to sort out lag problems!
Big thanks to ykk_five for showing us all how well loopback filesystem mounting works!
Big thanks to cyanogen mod for e2fsck
Requirements for One Click Lag Fix 2.0
Rooted phone - http://www.addictivetips.com/mobile...t-samsung-galaxy-s-i9000-with-a-single-click/
Windows computer with SGS Drivers (Samsung Kies), or the ability to read through the batch file and run it yourself.
(Beta Release) The ability to reflash your device if something goes wrong.
No other lag fix installed. If you installed One Click Lag Fix 1.0, then use the uninstall function which came with that lag fix before running this lag fix. (Untested but assumed to be working, please help out here.)
1.5GB of freespace on Internal SD Card for swap files while the fix is working (/sdcard).
"Internal phone storage" in Settings->SD Card must read greater than 500mb (0.5GB) of free space.
How to run One Click Lag Fix 2.0
Place your phone into USB debugging mode: Settings->Applications->Development
Attach your device to your computer. Do not mount the drives.
Download the attached ZIP file.
Unzip to a folder of your choice.
Double click "lagfixme.bat".
Don't double click "unlagfixme.bat".
Wait for it to complete.
You will need your phone to be unlocked when it runs the script, so that you can accept the permissions request that will appear on your device.
How to remove One Click Lag Fix 2.0
Double click "unlagfixme.bat"
Wait for it to complete.
Known Issues For All Versions
Some custom firmwares use up all available space in /system. This fix requires some libraries to be placed in /system/lib. These libraries are used to create the filesystem properly, and to check it for errors on every boot.
If your firmware does not have the available space (around 1mb) in /system, do not use this fix! Your phone will not boot and will have to be restored from backup / reflashed.
Current known firmwares with this issue: None yet. Please provide the firmware version+mods if you encounter this issue. It will show up as an out of space error in the log, under 'Copying libraries'.
Known Issues 2-1, 2-2
Paid apps from the market have issues.
Google maps and other pre-installed ROM-backed applications have issues.
2-3 Changes from 2-2
/dbdata has been removed. This fixes maps issues.
/app-private is now a symlink to /app/app-private. This fixes paid apps issues.
Alternate installation methods for similar fixes
Tayutama has made an update.zip version that is easy to install - http://forum.xda-developers.com/showpost.php?p=7632258&postcount=208
Chainfire has a .NET version of this fix with some nice features - http://forum.xda-developers.com/showthread.php?t=751513
Frequently Asked Questions
Q: My apps are force closing while this fix is running, and I can't use my phone!
A: By design. The script has backed up/copied your apps over to the internal SD card (remember the requirement about 1.5GB of free space on the SD card?). It is now overwriting them with a 1.5GB file. As the file overwrites an app that is trying to do something, it will probably force close. This is normal.
Closing all running apps, and removing widgets before running this fix can make the process much smoother, though.
Q: The script can't transfer files to my phone / The script can't run / Help help I'm dieing!
A: Read the first post again.
Q: My paid apps from the market don't show up.
A: I will hopefully have a fix for this sooner or later. Hold tight! It's in the known issues. I don't have access to paid apps, so I can't test this.
Q: Does this need busybox?
A: No, busybox is included.
Q: I only have 200mb of free space now! What gives?
A: The lag fix has made a 1.5GB file, and is storing all of the data inside there. The side effect is that the free space meter is now incorrect. Sorry, this can't be helped.
You can check real free space by using ADB like this:
Code:
adb shell
su
busybox df -h
Q: When I use a backup tool, the backup is now 1.5GB big! It's taking forever!
A: The backup tool isn't designed to work with this fix. It will work, it just won't work well. Hopefully this fix will be short lived, and either Samsung will give us a new update, or someone will give us a good custom firmware that can natively mount what we need, where we need it. Or someone might come out with a better backup manager. Until then, we suffer.
Q: Will a reflash wipe this fix?
A: Yes, a reflash will wipe everything this fix did.
Q: Can this brick my phone?
A: If you know how to get to the download mode from power off (hint: volumedown+home+power), then almost nothing short of throwing your phone off a tall building can actually brick it. If you can't do this though, or don't know someone who can, then you're better off waiting for samsung to release a fix. Anything that moves files around on your device has the potential to break things, and this fix has no QA department.
Q: Why is /dbdata not included in your fix, but other people have included it?
A: Other people have included it in the same way my 2-2 fix includes it. However, /dbdata is ROM backed. This means that the real files are on ROM, and only the changes appear in the /dbdata folder. When copying or moving files from this folder, you would need to specify each folder by exact name to ensure that it was copied across, and each firmware can have their own names. (This is because RFS wildcard will not catch an unused ROM backed file.) In some cases, you can get lucky and have this work perfectly because you have already used all the files in /dbdata. There is no fail safe method to do this though, and /dbdata does not make a big difference to performance. (It is already on NAND flash.) If you want to try your luck, v2-2 is still available.
Q: Why does this lag fix work? Is it slowly destroying my phone?
A: Let's say an application counts from 1 to 10, and writes the value each time to disk.
Stock:
1 -> App tells RFS to write 1 to disk -> RFS writes 1 to disk -> RFS writes journal saying to changed the value on the disk.
2 -> App tells RFS to write 2 to disk -> RFS writes 2 to disk -> RFS writes journal saying to changed the value on the disk.
..
9 -> App tells RFS to write 9 to disk -> RFS writes 9 to disk -> RFS writes journal saying to changed the value on the disk.
10 -> App tells RFS to write 10 to disk -> RFS writes 10 to disk -> RFS writes journal saying it changed the value on the disk.
Total physical disk writes: 20. Speed: SLOW! Wear and tear on disk: HIGH!
Lag Fix:
1 -> App tells EXT2 to write 1 to disk -> EXT2 stores 1 in RAM.
2 -> App tells EXT2 to write 2 to disk -> EXT2 stores 2 in RAM.
..
9 -> App tells EXT2 to write 9 to disk -> EXT2 stores 9 in RAM.
10 -> App tells EXT2 to write 10 to disk -> EXT2 stores 10 in RAM.
..
EXT2 tells RFS to write 10 to disk -> RFS writes 10 to disk -> RFS writes journal saying it changed the value on the disk.
Total physical disk writes: 2. Speed: FAST! Wear and tear on disk: LOW!
This isn't exactly what is happening, but it gives you the general idea.
Q: Can this mod work on other Android devices? Would we see a performance boost on them as well? If not why is it limited to the Galaxy S?
A: SGS has very very good hardware, but it has some parts of it's hardware poorly implemented. The filesystem that samsung chose to use is custom-built using FAT32 as a base, RFS. It has a lot of the problems that FAT32 has, and should have been left back in the 90s, or even the 80s.
One of the big issues with it is how it handles multiple requests - it blocks. It blocks everything. When your mail app wants to read the mail you just tried to view, but your twitter app is busy writing a new tweat it just received, your mail app is forced to wait.
This is bad, but it could be worse! And it is... your twitter app didn't just get one tweat, it got 50 tweaks. It is busy writing the tweats one by one to the filesystem. This would be fine, since all modern filesystems will buffer writes, so instead of writing each one at a time, they will batch them together and write it as a big chunk. Uh oh - RFS does no buffering at all! After each write, it will also write an update to the grafted-on journal system. Guess what happened to your mail you were trying to view while all this happened? It 'lagged' and you got a black screen for half a second, before the mail popped into view.
Luckily the hardware on the device is so good that you usually don't even notice the problem until you have a lot of apps running, all writing their updates when you unlock the phone.
This is mostly speculation based on experiments done on RFS -- RFS is closed source, and we have no idea if the problems are just badly set settings (such as a block size that is too small), coding bugs in the implementation, or if RFS is just really that badly designed.
This fix just grafts a buffer on top of the RFS filesystem, using a very very simple and fast filesystem, EXT2. It fixes most of the issues by writing to RFS as seldom as possible.
So no, this fix won't fix other devices, since they're already running quite close to maximum speed. The SGS at stock is running nowhere near maximum speed, and this lag fix takes it a bit closer. You could probably speed up other devices by tweaking the filesystem settings to give them a big buffer or similar, but it isn't really needed. (I haven't actually tried to put an EXT2 onto any other Android phone, as I don't have any other Android phone, so this is just speculation.)
Q: My phone is fast now!
A: Yeah.
Oh, awesome. I managed to post this in the wrong forum. Doh!
Could a moderator please move this to Android Dev sub forum?
haha looks awesome dude but you are correct, wrong section im gonna try it now, will report in 5 mins!
A few people in the other thread said they had the first lag fix working on the captivate. Anything that might change that with this release? I came to download the old one, and here a new one is
abra-cadabra...
*POOF*
Done!
E_man5112 said:
A few people in the other thread said they had the first lag fix working on the captivate. Anything that might change that with this release? I came to download the old one, and here a new one is
Click to expand...
Click to collapse
The old one is still here. Nothing has changed that should stop it working on the captivate though, but it is completely untested. Use the 1.0 (which has had a lot of testing) until this one has been put through the paces.
sirphunkee said:
abra-cadabra...
*POOF*
Done!
Click to expand...
Click to collapse
Thanks.
RyanZA said:
The old one is still here. Nothing has changed that should stop it working on the captivate though, but it is completely untested. Use the 1.0 (which has had a lot of testing) until this one has been put through the paces.
Click to expand...
Click to collapse
E_man5112 said:
A few people in the other thread said they had the first lag fix working on the captivate. Anything that might change that with this release? I came to download the old one, and here a new one is
Click to expand...
Click to collapse
I'm running the manual ext2 fix with Q scores 2000+. I'll try 2.0 Util tonight and post feedback....
Someone got some benchmarks?
Maybe for xxjp3? I only reach 1900 in quadrant.. /:
Sent from my GT-I9000 using Tapatalk
gonna test report in 5minutes
RyanZA said:
The old one is still here. Nothing has changed that should stop it working on the captivate though, but it is completely untested. Use the 1.0 (which has had a lot of testing) until this one has been put through the paces.
Click to expand...
Click to collapse
I'm in the process of flashing back to stock on my Captivate so I can give this a legit test. I'll report back here and let you know how it goes. Assuming my Captivate doesn't melt I'll update my OP from the thread about the original fix in the Captivate section!
About what lag is this?
Sent from my HTC Desire using XDA App
Dominik06 said:
Someone got some benchmarks?
Maybe for xxjp3? I only reach 1900 in quadrant.. /:
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
Benchmarks are roughly the same as 1.0. You can expect about 100 points more on average though, at least on my phone.
I just removed the V1 version and finished the V2.
It finally finished and rebooted the phone. now it tells me my internal memory storage is full. None of my Widgets will load.
Looking i see only 14MB free in internal storage.
thoughts?
Zilch25 said:
I'm in the process of flashing back to stock on my Captivate so I can give this a legit test. I'll report back here and let you know how it goes. Assuming my Captivate doesn't melt I'll update my OP from the thread about the original fix in the Captivate section!
Click to expand...
Click to collapse
Just as long as you point out that this fix isn't heavily tested yet!
RyanZA said:
Just as long as you point out that this fix isn't heavily tested yet!
Click to expand...
Click to collapse
Oh I know, I'm going to emphasize that heavily, lord knows I don't want to get stuck on tech support all night
clubtech said:
I just removed the V1 version and finished the V2.
It finally finished and rebooted the phone. now it tells me my internal memory storage is full. None of my Widgets will load.
Looking i see only 14MB free in internal storage.
thoughts?
Click to expand...
Click to collapse
Thoughts? That's bad.
You should be seeing roughly 215mb free. Did you see any errors in the log at all?
Everything is working fine for me. First reboot after lagfix had some problems with downloading apps from market, but after a second reboot it got fixed.
"Biggest" problem now, is just the phone stating that my internal phone storage is too low, with an icon on notification bar that I cannot remove. Already deleted some .bak from /data folder, any more tips what I can delete to get rid from this message?
Regarding the fix. apps are indeed much more snappier, no lag on the system when installing apps from market, and overall if the phone would continue like this for the next 48 hours, lag fix form me is solved. I had some problems after some 24h, with some lag, even with the previous version of the lag fix.
clubtech said:
I just removed the V1 version and finished the V2.
It finally finished and rebooted the phone. now it tells me my internal memory storage is full. None of my Widgets will load.
Looking i see only 14MB free in internal storage.
thoughts?
Click to expand...
Click to collapse
Looking through my old V1 remove script, I believe I was leaving behind the .bak files! Nastyyy... I'll update V2 to remove those if they're there on install. Will hopefully clear up any problems.

[ROM]JPM/JP6 "GoodBye RFS" ROM 0.2 (pre rooted, pre lagfixed, extremely experimental)

[ROM]JPM/JP6 "GoodBye RFS" ROM 0.2 (pre rooted, pre lagfixed, extremely experimental)
This is an ultimately experimental ROM. It might break your phone, cause headaches and data loss. This is only a showcase on how a ROM (mostly) without RFS(*) would work.
(*): this is only marketing bull****. The /efs partition still uses rfs in this rom.
This ROM contains knowledge from ChainFire, newmail, RyanZA, supercurio, ykk_five, ziggy (and me). Many thanks to them.
For the people who only care about scores and such:
Quadrant: 2006
Linpack: 14.501
Result of mount command:
Code:
/dev/block/stl9 on /system type [B]ext2 [/B](ro,noatime,nodiratime,errors=continue)
/dev/block/loop2 on /data type [B]ext2 [/B](rw,noatime,nodiratime,errors=continue)
/dev/block/loop1 on /dbdata type [B]ext2 [/B](rw,noatime,nodiratime,errors=continue)
/dev/block/stl11 on /cache type [B]ext2 [/B](rw,noatime,nodiratime,errors=continue)
For the people who actually care:
What is this?
This is a highly expermiental all-in-one lagfixed and rooted ROM based on JPM and JP6.
How to install?
You don't want to install this. Seriously... But you can find the DL link somewhere in this post if you're still curious. Simply open up Odin, use the contained pit, CSC, MODEM and PDA files, check re-partition, and wait.
It hangs after flashing at the initial boot screen (this was for version 0.1. Version 0.2 should boot up faster)
Yep, because it generates a 1.5GB large file, this takes around 3-4 minutes. It might also crash (shutdown, or switch to the battery loading screen) during this time, in case you have to reboot and try again. (or switch to a rom that's not experimental)
Hey, do I have to wait every boot? (this was for version 0.1. Version 0.2 should boot up faster)
Nope, only the first and second boot, and after each factory reset. (between the first and second boot there is a factory reset because of the CSC being applied by the recovery module)
Is this rom safe?
No. Moving near a melted nuclear reactor is safer than this.
Hey, this doesn't work / All my data is wiped / etc.
You've been warned.
For the technical people:
How?
Factoryfs.rfs was converted to ext2 on the phone prior flashing, and during flashing you actually flash "/system" as ext2 instead of rfs. Dbdata is empty, and will be replaced on the first boot, and cache.rfs was also converted to ext2 (so the csc files can be loaded on first boot), but will be actually reformatted on first boot. A pre-init script takes care of the cleaning up, and creating of ext2 partitions. The /data and /dbdata partitions are actually "dual-ext2'd" so they reside in a loop device which resides in an ext2 partition. The rationale behind this is to delay the fsync's which is the major cause of the lag. I also tried to do an "only ext2 without loop device" version, but that was useless (I've even got quadrant scores below 1k(!) with it). /cache is only single ext2'd however for recovery functions to work.
Everything is done by the /sbin/fs-patch.sh script. Feel free to check it. The script logs into the /res directory, you can check whether there were any problems during mount there (if you could actually boot of course...)
Why ext2?
The ext4 module compiled from the official sources do compile, do load, mkfs.ext4 does create the partition, but when mounting the phone drops a kernel panic. Until I can find an ext4 (or ext3) module that actually works there will be ext2 used, just to demonstrate that a no-rfs solution is actually working.
Why JPM/JP6?
You can find the rationale on the multinational ROM topic. This rom is actually the lagfixed version of that rom without the extras.
DL link:
0.1: http://android.sztupy.hu/dl/SztupY_JPM_JP6_NORFS_ROM_0.1.zip (on my server. Might be slow)
0.2: http://android.sztupy.hu/dl/SztupY_JPM_JP6_NORFS_ROM_0.2.zip (on my server. Might be slow)
Differences between 0.1 and 0.2:
0.1 uses rfs on the device + ext2 on a loop
0.2 uses ext2 on both the device and on the loop. 0.2 also has a much-much faster loop file creator utility (that creates the 1.8GB file in a second), so booting times should be normal again.
0.2 has higher quadrant scores (breaks the 2k barrier), but 0.1 felt more responsive (at least for me). I don't know anything about battery usage and such.
0.2 has problems with apps from the market, that install themselves on the sdcard. Hotfix
Links:
- scripts from initramfs
Appreciate you can post more comments about the problems and performance of this experimental ROM
Thanks for the great work!
Sent from my GT-I9000 using XDA App
this is exciting
Just threw this on my Captivate(since firmwares are semi-compatible), waiting for the ext2 partition to get created, and will report back. This is pretty awesome though, good work!
Thank you, looks very-very-very cool! Flashing now.
Great work.
Sent from my GT-I9000 using XDA App
Excellent work! Can you make a version that makes the /data partition native ext2 instead of a loop device? Thanks!
Woah, great stuff, though I'm not gonna try it, sounds to dangerous. I've been using your other ROM and lovin' it, thanks!
Hey sztupy, good work man... cant wait to see the first reports...
Linpack: 14035
What?!?
anyone has any success loading this rom? i was being curious, i tried flashing on my phone, but kept restarting and looping at the initial Galaxy S GT-i9000 screen.
by the way the linpack score, is it 14035 or its just missing a decimal point? lol!
giantdroid said:
anyone has any success loading this rom? i was being curious, i tried flashing on my phone, but kept restarting and looping at the initial Galaxy S GT-i9000 screen.
by the way the linpack score, is it 14035 or its just missing a decimal point? lol!
Click to expand...
Click to collapse
Try to reflash it using Odin. That's what I did and it's running now
I'm getting 14.211 mflops in 5.9 secs
What languages are in swype ?
Does it contain romanian ?
how is the stability so far, for you that have tested it? and screw the scores. How is the feeling? any lagg? anything?
Nice one! Has anybody had any issues with /system being EXT yet? I'm guessing not, but this is going straight on my phone anyway!
EDIT: noatime,nodiratime performs a lot better than relatime btw
Why is /data on loopback on top of RFS? Seems silly!
You should have done /data as a loopback on top of /dbdata EXT2 for extreme speed! Do it!
Just installed this ROM/Kernel...
Setup and Flashing went without any hitch. The first boot was longer than usual, but as it was forewarned..so no surprises there.
I will give it a thorough test today and post the issues here, if any.
Thank you for this amazing work.
lealdud1 said:
how is the stability so far, for you that have tested it? and screw the scores. How is the feeling? any lagg? anything?
Click to expand...
Click to collapse
No Lag at at all. This is by far the ZIPPIEST ROM I have tried...(without any lag-fix installed)
I agree, screw the scores...it's the feel and the response that matters and this ROM is just great at it.
Haven't used it much but no FC or any other errors...so far, so good.
RyanZA said:
Nice one! Has anybody had any issues with /system being EXT yet? I'm guessing not, but this is going straight on my phone anyway!
EDIT: noatime,nodiratime performs a lot better than relatime btw
Why is /data on loopback on top of RFS? Seems silly!
You should have done /data as a loopback on top of /dbdata EXT2 for extreme speed! Do it!
Click to expand...
Click to collapse
I'll definatly give this rom a try when this ^ has been done and when a few more ppl have tested it without to many issues.
Thanks in advance for all your work on this rom guys, I love your other rom sztupy.
Sounds very exciting! Will probably wait until you manage to get /data as ext2 to give it a try. Still, well done with this!
will try on saturday...just to see if any further "improvement" will crop up by then
thank you sztupy for putting this out here!

Kaiser Kernel Thread - ONLY FOR KERNEL AND BUGS

I start this new thread because i want highlight only kaiser changes
Before posting use search button and look in this thread.
This is the kernel thread so all problem like "how to install","i can't install", "miss module", ecc ecc are not allowed. If you need to ask this probably you didn't read correctly the guide in atools.
Atools is multyplatform and need python.
2.6.32 kernel changelog
nand fixed
irq problem is now fixed
TODO:
finish battery support
rewrite camera driver
speed up gps
Latest releases are here
Atools thread
Maybe now kernel development will be a little easier to keep track of. I had a random freeze in the kernel before with a message i've never seen before. Didn't think about exporting the logs. I will upload if I see it again.
It was with the 11-29 .32 kernel and only happened after I just switched to it, installed my barebones build and rebooted for the 1st time. I have never seen it since so it could have been an anomaly. Like I said, it was an error I have never seen before and will catch a log if I ever see it again.
It would be helpful if someone could make a list of which types of problem are kernel related, which are build related and which could be either.
I am fairly new to android and not at all clear on what does what .
I belive it's kind of dificult to explain properly whats a kernel bug, and whats a build bug. At least with a few lines of text anyway...
We probably will have to deal with _no_kernel_related_ questions, but we must stick to the topic. If it's not kernel related, point to another thread. Or perhaps instruct to open a new one.
Also, it would be nice to have this stickied again, and if those asking questions would be so nice to inform about device ; kernel version+builddate ; type of instalation (nand VS sd img file VS sd partion VS whatever) ; radio, it would probably make it easier to understand why is the user facing issues.
IMHO of course
Ipv6 support in kernel
Hi Liquid,
Could you please include ipv6 support in kernel? It's needed by some apps, like google goggles, i compiled my own kernel with ipv6 and worked fine.
I hope there is enough kernel space to include ipv6 in the current kernel version
thanks
i try to compile a ipv6 6 month ago but i have some problems with wlan.
I change some part so i'm going to do new test on it
Question, not directly kernel related, but must start here.
If data using Yaffs is so unstable... why not another FS ?
I noticed that 2.6.25 kernel doesn't mount the partitions on relatime. Is there any chance we could do the same for 2.6.32 (which defaults to relatime). In 2.6.32, I tried to put it to atime but it doesn't work and just defaults to relatime. Could this possibly be the reason we have an unstable data partition in 2.6.32?
clemsyn said:
I noticed that 2.6.25 kernel doesn't mount the partitions on relatime. Is there any chance we could do the same for 2.6.32 (which defaults to relatime). In 2.6.32, I tried to put it to atime but it doesn't work and just defaults to relatime. Could this possibly be the reason we have an unstable data partition in 2.6.32?
Click to expand...
Click to collapse
Could you point me where are the partitions mounted ? normaly i would search /etc/fstab, but i fearin droid they're mounted elsewhere.
One thing i found in kerneltrap is nice...
"It's also perhaps the most stupid Unix design idea of all times. Unix is really nice and well done, but think about this a bit: 'For every file that is read from the disk, lets do a ... write to the disk! And, for every file that is already cached and which we read from the cache ... do a write to the disk!'"
Click to expand...
Click to collapse
This is explaining why relatime is better than atime. But if we could force a write to the disk on every access...
daedric said:
Could you point me where are the partitions mounted ? normaly i would search /etc/fstab, but i fearin droid they're mounted elsewhere.
One thing i found in kerneltrap is nice...
This is explaining why relatime is better than atime. But if we could force a write to the disk on every access...
Click to expand...
Click to collapse
its on /system/bin/userinit.sh
clemsyn said:
its on /system/bin/userinit.sh
Click to expand...
Click to collapse
You sure ? i only find a remount there ... to fix su
Has anyone recently synchronized our yaffs2 tree with the main one on www.yaffs.net? I noticed there are quite a few differences. I'm testing, too soon to tell if there are any notable differences.
I think scooter synchronised it a little over a month ago? I know its been about that long.
daedric said:
You sure ? i only find a remount there ... to fix su
Click to expand...
Click to collapse
you can add this to userinit.sh
busybox mount -o remount,rw,nouid,nodiratime,nodev /data
I think it depends on the rom but my ROM have those options. I'll upload my userinit.sh
Here is a copy of my userinit.sh
BTW, I added noatime on 2.6.25 kernel (which is suppose to be stable) and I got a Reboot and data corruption. I think if we mount 2.6.32 like 2.6.25's default mount, it could be better but it has to be done in the kernel itself coz 2.6.32 defaults to relatime.
aceoyame said:
I think scooter synchronised it a little over a month ago? I know its been about that long.
Click to expand...
Click to collapse
I synchronized my yaffs sources yesterday. It survived several battery-pulls yesterday with no corruption, but one single clean shutdown modified email settings for one account and made Maps FC. A dalvik clear cured maps but not the email settings.
Yaffs has data recovery capabilities, as proven by the battery pulls that gave no corruption at all.
So i think yaffs is good and nand is good. The data corruption problem lies outside the kernel and is a subject for a different thread.
Sent from my Android on HTC Kaiser/Kaiser/Polaris using XDA App
n2rjt said:
I synchronized my yaffs sources yesterday. It survived several battery-pulls yesterday with no corruption, but one single clean shutdown modified email settings for one account and made Maps FC. A dalvik clear cured maps but not the email settings.
Yaffs has data recovery capabilities, as proven by the battery pulls that gave no corruption at all.
So i think yaffs is good and nand is good. The data corruption problem lies outside the kernel and is a subject for a different thread.
Sent from my Android on HTC Kaiser/Kaiser/Polaris using XDA App
Click to expand...
Click to collapse
I read this quote about atime since you had problems with email on reboot
1. atime – This option causes Linux to record the last (or latest) time when a particular file was accessed. This information is particularly helpful for sysadmins or some programs (specially mail programs) to know when a particular file was last used/accessed.
So I think here is were atime option would help (email programs)
clemsyn said:
I read this quote about atime since you had problems with email on reboot
1. atime – This option causes Linux to record the last (or latest) time when a particular file was accessed. This information is particularly helpful for sysadmins or some programs (specially mail programs) to know when a particular file was last used/accessed.
So I think here is were atime option would help (email programs)
Click to expand...
Click to collapse
I think you're confused... the e-mail problem n2rjt was having was complete random. He had problems in e-mail and maps.. could be browser and settings. It's random.
Now:
1. atime – This option causes Linux to record the last (or latest) time when a particular file was accessed. This information is particularly helpful for sysadmins or some programs (specially mail programs) to know when a particular file was last used/accessed.
2. noatime – This option stops recording the last file access time when the file is just read. The noatime option eliminates all the writes to the disk each time a file was just read which previously used to happen with atime. However a write is made to a disk in case if a file is being changed/written.
3. relatime – A filesystem mount with this option causes the access time to be updated if they are (before the update has occurred) earlier than the modification time. This significantly cuts down the writes caused by atime updates. However not many people use this option because they are simply not aware of it.
source: http://linux.koolsolutions.com/2009...sb-part-4-noatime-and-relatime-mount-options/
Click to expand...
Click to collapse
Indeed relatime is the most usefull option for us.
Yet... reading this for the 2nd time:
Yaffs has data recovery capabilities, as proven by the battery pulls that gave no corruption at all.
So i think yaffs is good and nand is good. The data corruption problem lies outside the kernel and is a subject for a different thread.
Click to expand...
Click to collapse
Could it be... a proc atempting to unmount /data or remount,ro that causes a defect ?
One other thing... you're sync'ing to yaffs.net, would it be too bad/dificult to use the yaffs2 provided with usual HTC sources ?
I'm looking at Supersonic... it uses our 2.6.32 kernel....
daedric said:
One other thing... you're sync'ing to yaffs.net, would it be too bad/dificult to use the yaffs2 provided with usual HTC sources ?
Click to expand...
Click to collapse
The yaffs in the kernel at the minute is from the official android source, so what all other HTC devices are using
I tried the yaffs.net latest just as a comparison. It didn't change anything one way or the other.
Sent from my Android on HTC Kaiser/Kaiser/Polaris using XDA App
Trying to setup 2.6.32 kernel over 2.6.25 on my tytnII with Warm Donut on board.
Using Atools. Doing everything step-by-step, but when i reach this steps:
33 then flash from sd (gray)
34 reset device when it finished
it's booting from sd, (gray), show "Loading.." and never complete :-(
have wait more than hour.
What's possible reason?
Using zImage-11-27-10 from l1qu1d sourceforge.net site.
Thanks in advance for help.

[BUILD] **Complete Froyo Bundle!!** FRX06 - "Stable" - Minor Fixes

FRX07 is out now!!
Removed...
Removed...
By the way, you can create a calibration file by hand, using the factory calibration settings. The settings are displayed when you boot into the SPL (power + volume down). Details here:
http://forum.xda-developers.com/showpost.php?p=10807361&postcount=515
http://forum.xda-developers.com/showpost.php?p=10817104&postcount=529
Very pleased
Loaded this on my 15yr olds Tilt II. It is the most complete and stable package I have used to date. He is a HAPPY boy.... Thank to all that have contributed to create it!
Doesnt work here. I had a EXT3 Partition (500 MB) from an earlier install, But after it says 'Allocated....' it just stops doing anything, and after, say, 10 mins the screen turns black and nothing happens. It runs now for 20 mins and still nothing happened. Whats wrong? Using a Touch Pro2.
Maarten90 said:
Doesnt work here. I had a EXT3 Partition (500 MB) from an earlier install, But after it says 'Allocated....' it just stops doing anything, and after, say, 10 mins the screen turns black and nothing happens. It runs now for 20 mins and still nothing happened. Whats wrong? Using a Touch Pro2.
Click to expand...
Click to collapse
I never mention anything about an ext3 partition, where is that coming from?
If you were using a neopeek build (they use ext2 partitions...) or something else, might be a good idea to go ahead and do a full format (FAT32) with the HP tool.
Whoops, indeed. I used a Neopeek build before. . But then, Why won't it boot? I copied everything to my FAT32 formatted SDcard, but it just does get stuck at the part mentioned before.
Maarten90 said:
Whoops, indeed. I used a Neopeek build before. . But then, Why won't it boot? I copied everything to my FAT32 formatted SDcard, but it just does get stuck at the part mentioned before.
Click to expand...
Click to collapse
Did you format the card? I'm not sure how neopeeks builds are configured, AFAIK our build requires the FAT32 partition be the first partition.
Yes it is the first partition according to fdisk:
Device Boot Start End Blocks Id System
/dev/sdb1 1 1885 15137792 b W95 FAT32
/dev/sdb2 1885 1950 524288 83 Linux
Click to expand...
Click to collapse
Maarten90 said:
Yes it is the first partition according to fdisk:
Click to expand...
Click to collapse
Ok, you followed the rest of the directions like moving the startup.txt? Did you put it in a folder, if so did you adjust the rel_path statement?
Can you at least try formatting the card as one big FAT32 partition?
I have indeed, moved the right startup.txt to the root of the SDCard, and I also have copied your calibration file to the root folder of the SDCard. Going to reformat the SDCard and I will report back once done .
Maarten90 said:
I have indeed, moved the right startup.txt to the root of the SDCard, and I also have copied your calibration file to the root folder of the SDCard. Going to reformat the SDCard and I will report back once done .
Click to expand...
Click to collapse
Ok. Not sure what else it could be to be honest.
It works! Thank you! While trying it out I tried to play Angry Birds, but it seems that Hardware 3D is not available yet?
Maarten90 said:
It works! Thank you! While trying it out I tried to play Angry Birds, but it seems that Hardware 3D is not available yet?
Click to expand...
Click to collapse
Oy...
HW3D works, but Angry Birds requires opengles2.0. Our phones support 1.1 at best IIRC.
I heard there's some other versions of Angry Birds flying around that work better on our old phones. I honestly do not understand the popularity of the game, and yes I have played it. "Boring" is about the only word I could come up with to describe it, but I'm not much of a gamer on my phone .
Ah OK, that explains the lag . I only installed Angry Birds for testing purposes, but thanks for your opinion on the game .
Maarten90 said:
Ah OK, that explains the lag . I only installed Angry Birds for testing purposes, but thanks for your opinion on the game .
Click to expand...
Click to collapse
Yea, you can ignore my opinion of the game. Most people seem to love it .
Search around, like I said there's some "lite" version of the game that I hear runs better .
arrrghhh said:
Yea, you can ignore my opinion of the game. Most people seem to love it .
Search around, like I said there's some "lite" version of the game that I hear runs better .
Click to expand...
Click to collapse
100% agree. What is the fascination with this game? Like you said, it is boring at best. I don't get it.
1) w/ the new kernel, what parts will consist of the most recent 'FRX04 stable'?
2) been doing a lot of Words With Friends recently anyone have any good combinations of kernels/rootfs/data.img that make it playable?
AkumaX said:
1) w/ the new kernel, what parts will consist of the most recent 'FRX04 stable'?
2) been doing a lot of Words With Friends recently anyone have any good combinations of kernels/rootfs/data.img that make it playable?
Click to expand...
Click to collapse
No clue what you're asking. Both of your questions appear to be in English, but they don't make any sense .

So whats the perfect recipe for a functional Android port??

Hi everyone,
For Past week or so, I have been trying and trying and trying with varying degrees of success in my quest to get Android on my Wave. At the moment I am clueless about what I am doing wrong! I have followed the tutorial to the dot! except for the deletion of Wi-fi file. And I have faced all the issues mentioned in the TUT thread in different installs, now its just getting stuck at the language select menu! after choosing language, it freezes! So I want someone who has perfectly installed Android on Wave with applications and Wi-fi to tell me the small tit-bits and nuances, just the wisdom that you may have earned of...this procedure!
Here's my Specs:
Samsung Wave S8500 with XXJK1 firmware successfully flashed and tested with Android.
Sandick 16 GB SDHC Micro SD CARD
Tried 13 bada 2 android but not enough space errors
Tried 14 bada 1 android but random hangs, once boot fine. next time nothing!
Thanks!
It's a pre-alpha release. So you can't expect that it will run smoothly. So my advice wait for the first official release.
vanherst said:
It's a pre-alpha release. So you can't expect that it will run smoothly. So my advice wait for the first official release.
Click to expand...
Click to collapse
Yes, I understand that, but curiosity is killing me... I missed my work today in hope that I WILL GET THIS DONE! but hell, I am still going no where!
NHS2008 said:
Yes, I understand that, but curiosity is killing me... I missed my work today in hope that I WILL GET THIS DONE! but hell, I am still going no where!
Click to expand...
Click to collapse
Maby is it your Micro Card. More people are complaining that it's not working. I've a scandisk 4GB card and it's working fine. Have you treid both tuts?
Thing is, I had got it working without a hitch with 2gb, but no apps would install and then today I try as most say that you shuold not go over 1 gb for EXT2 Parttion, I kept it one gb and now I am having these absolutely random hangs. what is the secon tutorial? I don't thinnk thats the issue. what size of partition are you using? And what tutorial did you follow..? Thanks.
NHS2008 said:
Thing is, I had got it working without a hitch with 2gb, but no apps would install and then today I try as most say that you shuold not go over 1 gb for EXT2 Parttion, I kept it one gb and now I am having these absolutely random hangs. what is the secon tutorial? I don't thinnk thats the issue. what size of partition are you using? And what tutorial did you follow..? Thanks.
Click to expand...
Click to collapse
My partition is 1943 Mb. But if android is running and the partition is smaller then 4gb i think it's go wrong by the chmod 0777 command.
And you can install apps? Also I do not understand what you mean my your second sentence?? you yourseld have a partition of 1933 mb right? and why does it go wrong with chmod?? thanks for replying.. I am trying once again...
NHS2008 said:
And you can install apps? Also I do not understand what you mean my your second sentence?? you yourseld have a partition of 1933 mb right? and why does it go wrong with chmod?? thanks for replying.. I am trying once again...
Click to expand...
Click to collapse
The command CHMOD 0777 gives read/write/delete permissions on the folders and files. So when there goes something wrong with that command android can't write files on your sdcard.
Yes i can install apps and play games on android
So you don't use those commands (chmod) when you installed it? and how did you copy your files? thanks for the replies
EDIT: Woo hoo!! angry birds just worked! but I am getting ERROR when I try to enable Wi-fi! Do you know what this issue??
NHS2008 said:
So you don't use those commands (chmod) when you installed it? and how did you copy your files? thanks for the replies
EDIT: Woo hoo!! angry birds just worked! but I am getting ERROR when I try to enable Wi-fi! Do you know what this issue??
Click to expand...
Click to collapse
Yes i used the command (chmod) because if you don't use, the market never works.
Wi-Fi:
http://forum.xda-developers.com/showthread.php?t=1118436
first post in the faq
vanherst said:
Yes i used the command (chmod) because if you don't use, the market never works.
Wi-Fi:
http://forum.xda-developers.com/showthread.php?t=1118436
first post in the faq
Click to expand...
Click to collapse
No, my friend. I can't even enable it. before that it used to work but no I.P. now it just tries to start, then says error under Wi-fi. And doesnt turn green at all!
NHS2008 said:
No, my friend. I can't even enable it. before that it used to work but no I.P. now it just tries to start, then says error under Wi-fi. And doesnt turn green at all!
Click to expand...
Click to collapse
Then i've no idea. You can try on the IRQ channel, there are devs.
http://webchat.freenode.net/?randomnick=0&channels=androidonwave
RE
Android not booting anymore on 4GB, it breaks the ext2 filesystem. Now giving up and living on Bada again
The perfect recipe is WAITING for the stable release. Oleg and company are working so hard in this port and its so unstable not and have some clues to be solved.
Please, if you don't know what are you really doing, stop trying Android unless it will be fully ported. Because nowadays it will be unstable and nothing we can do will solve it.
We just have to be pacient and give our support to developers, and let then do their job.
Android in our Waves is now a reality, don't disturb people who are working on it and let them porting it. Maybe it will be fully ported in a few months.
This release is only for testing purposes, not for playing Angry Birds and nothing else, and its pretty useless. So don't think you will get a full Android right now installing some patches and touching the configuration, because it is IMPOSSIBLE right now.
Threads with no sense like this one, made only by impatient people, should be closed.
Regards.
agree with the last post, I am also tempted to make the port but I badly need a working phone , so I guess will wait for the stable version when I see everyone is ok with theirs
unmount your device and use fcsk -y /dev/<your_device>. this should correct problems becoz most of the people has prob due to not properly created filesystem or sudden shutdown. this will also solve input output error on chmod
Thanks people! but I got it working to the fullest (atleast, upto what is possible atm)!!
I noticed that for some reason, there were some files missing in 'System/etc' folder.
namely, the Wifi folder. So I pasted it from my PC and chmoded it and sudo synced it. then repaired with Gparted. Now works perfect! XD

Categories

Resources