yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Lanbase:
Lol I justed upgraded to reiserfs again.

I made a nandroid with the custom 2.5.0.7+RFS from my rom with sd-ext still ext3

then took out the sd-card and deleted the ext-3 and swap partitions

and created reiserfs and swap again, this with gparted live cd and sdcardreader.

Then I restored my nandroid backup again and sytem booted up normal.

Its definitely an improvment over ext3 as far as using the phone concerns.

avaritia log of the last boot with ext3 and the first boot of ReiserFS again ;

=============================

Tue Jan 11 20:24:32 GMT 2011

=============================

+++ Your Partition(s) are already aligned and Avaritia HD didn't modify them

-------------------------------------------------------------------------------

+++ Filesystem check found no errors - no log attached

-------------------------------------------------------

###################################################################

=============================

Tue Jan 11 21:21:51 GMT 2011

=============================

+++ Your Partition(s) are already aligned and Avaritia HD didn't modify them

-------------------------------------------------------------------------------

###################################################################

Thanks Melethron! The recovery/nandroid works perfect with ReiserFS .

Edit: Just saw your post, no worries Melethron; also you are entitled to have a life ;)
[Desire Android Development] melethron:
Finished and run several tests:

This will align your partitions and format as reiserfs or ext3 directly in recovery (This means the sd-ext partiton is

"wiped"

... just in case someone doesn't understand what format means). I'll add ext4 the next minutes. This is pretty well tested: the alignement script is from the rom and the only issue found so far is fixed. It didn't mess up the fat partition (the normal sdcard partition) but i still

recommend a backup

of the complete sd (not needed if you already ran the rom (v0.5) and didn't repartition the sd-card in the meantime).

alignment-reiserfs.zip

alignment-ext3.zip

alignment-ext4.zip

Warning: ReiserFS is so fast on small files it may make you kill your wife....:D

For linux "pros": i "lazy unmount" the fat partition while the script runs from it and change the partition table thats why i recommend a backup.

I attached the log of my tests:
[Desire Android Development] MATRIKS:
Quadrant says 2200+:eek:

GREAT JOB THANKS;)
[Desire Android Development] melethron:
With life-on-the-edge or with reiserfs? Quite a high score ....
[Desire Android Development] woti23:
got now TAP bench 240 dbwrites/sec with JFS loopfile mount with mounted "integrity" option

against 200 with ext4 sync/loop/file
[Desire Android Development] melethron:
Btw i get 240 from the fsync hack alone on ext3. Didnt compare it to other fs yet.

About jfs loopfile + fsync hack:

delayed fsync from hack + flush to loopfile + flush file to disk ....

If you do a battery pull your data/data will be half an hour old xD
[Desire Android Development] woti23:
yeah, maybe only thing lost will be the one app i installed and configured the last hour, if i didn't make a manual sync after. the other data would be either on the not destroyed loop image or in the last backup copy of /data/data in init-script at boot

fsync hack doesn't do almost nothing for my desire, btw, no difference.

btw: if partition /data/data gets corrupt, i mount /data/data from nand, with minimal programs: ssh, terminal, rootexplorer, market, googlemail, settings, titanium backup ....
[Desire Android Development] melethron:
About hour old data:

(source)

Five year old publication so i dont know if that is fixed but that doesn't sound nice. No commit timer sucks.

About the backup. Its a nice idea but Avaritia is greedy (matches the name ;) ) for space and i need almost all mtd for it.
[Desire Android Development] xavierjohn22:
Ah okay this is what is meant easy alingment and formatting.
[Desire Android Development] ionhide:
Okay, i used Alex guide on how to partition my sd card with PartMagic, and now my sd have 1gb of Raisersf and a FAT32 of the rest. I am now trying to reinstall this rom, and my phone starts downloading all my apps from the market, but the speed is so slow that it will take days this way. I have not flashed LOTE, i only flashed rom and the raisersf alignment. On first install my WIFI had an error, on second i have been able to bypass error and am now downloading apps.

Will speed of downloads from market be this slow onwards on this rom ? I hope not. I dont want to use LOTE unless i really have to..
[Desire Android Development] paulove:
@melethron

I have a problem using this rom, it breaks the reiserfs partition on first boot.

I have to reformat the partition i partmagic or with your zip.

CWM fails on wipe ext (CWM with reiserfs support)

The odd thing is if I repair the partition in partmagic it boots the phone again.

I have the same issue with the Alex-V rom, with or without speedfix.

I have a 16GB class 4 kingston.

ca 1.9GB reiserfs

ca 200MB swap

paulove
[Desire Android Development] melethron:
Flashing a zip is not more effort than clicking an option in recovery. It wouldn't be possible to "change" the format any way. Formatting is needed when going from ext to reiserfs (and vice versa).

Wifi error comes from not loading the "bcm4329.ko" module. A restart should fix this. I have no idea where this issue comes from but my dad has the same issue in rare cases on his "unrooted" stock desire so im pretty sure its not an issue of my ROM. I checked lsmod on his and bcm4329 wasnt loaded for some reason (and couldn't "insmod" it because he is not rooted - and actually i adviced my dad not to do that because he's a "noop" ;) )

(BTW: I only had this error one time myself but it was my own fault - i packed the wrong bcm4329 module ).

Download speed shouldn't be affected by the ROM. Im pretty sure this is either an issue of market or your internet connection. Test it again another time and maybe make a reboot.

A logcat of the boot would help. Maybe its an issue with the partition alignment script (this will be removed in the next version since i use the zips for that now). If you use my zip to make a reiserfs partition it should work fine then.
[Desire Android Development] spymare:
is this from for HTC Desire HD?

if so, wtf is it doing here..
[Desire Android Development] azr123:
no, it's just an HTC desire HD's custom rom, works on htc desire.
[Desire Android Development] Kackdichan:
what's about the camcorder? 720p working ?
[Desire Android Development] Terepin:
I thought this will only check alignment, and not doing full wipe, when I'm on the same FS.
[Desire Android Development] xavierjohn22:
not quite, theres a separate development team i guess piloting it, rom devs include the cam as they please and fix
[Desire Android Development] melethron:
Yes, but if the alignment doesnt match it reformats.
[Desire Android Development] Terepin:
But log is saying it IS aligned.
[Desire Android Development] xavierjohn22:
if it's saying it is aligned it shouldnt format right?on cases we have to turn off phone or reboot. all is aligned.

Is there like sudden misalignment when rebooting. does that format it?
[Desire Android Development] melethron:
Alignment is only needed once (or after a repartitioning of sd). Not even formating changes alignment.
[Desire Android Development] melethron:
Did this only happen one time or everytime on first boot?
[Desire Android Development] Terepin:
Tried it only once, then I had to restore me whole ext partition. (Thank god I made backup.)
[Desire Android Development] paulove:
@melethron

Here is the logcat files from first boot after install and the reboot.

paulove
[Desire Android Development] ionhide:
I cant get this rom running after i partitioned with partMagic.

I partitioned my 8gb card with one FAT32 partition of 6500mb and a RaiserSF partition of 1GB

Can someone tell me why my rom is so slow! Do i need to do something with internal mem too ?
[Desire Android Development] melethron:
Now that log is really strange:

I//system/xbin/busybox( 64): noop [deadline] cfq bfq

I//system/xbin/busybox( 64): +++ Changing scheduler for mtd:

I//system/xbin/busybox( 64): noop [deadline] cfq bfq

I//system/xbin/busybox( 64): +++ Checking external Partition:

D/AndroidRuntime( 123):

D/AndroidRuntime( 123): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<

The script just "stopped" somehow. But i dont get it why. Even if there is an issue with the partitions there should be at least the " +++ Avaritia HD init script completed" message. Only explanation would be that busybox crashed but i think there should be an exit message from logwrapper then.... Also i wonder how busybox could crash on this. Do you use the kernel that comes with the rom? If so try that one:

http://mirror.couttstech.com/android/bravo/kernel/CFS/couttstech-2.6.32.28_OC1190_CFS_BFQ_SLQB.zip

Coutts made a really stable voltage table for that one and the next version will either include this or the BFS version (without the ck2 patches).
[Desire Android Development] biliskner:
wow!

Great job with this ROM Mel. I had to flash the ROM twice, but it worked second time no problems. I think first time I did not do a full-wipe so it hung on creating a directory / dalvikVM (adb logcat). Did a data/factory reset and reflashed. And ran ReiserFS_Align.zip again just to be safe (I know it only aligns once and I did it anyway).

Take a look at my TAP benchmarks. Almost everything is

faster

!! than RCMix normal APPS2d which I'm very impressed about (it "feels" a lot faster!) I used ownhere's loop file a few weeks back and it was quite slow (it could've been my SDCard - when I used ownhere's ROM I also used the default mSD card that came with phone and it was totally crap). Now I'm using Sandisk 8GB and it functions a lot better. No random reboots / FCs yet, I'll use it all day today and report back

Great work dude, keep it up!!!
[Desire Android Development] biliskner:
mSD card

Guys having problems with partition tables etc., I think Mel is right that it has to do with the mSD card brand etc. you're using.

My partition table was formatted via AmonRA v1.0 (yes you read it correct :)

Partition in AmonRA -

FAT32: 7GB

ext2: 1GB

Used Mel's zip convert ext2 to ReiserFS.

Flash ROM. Done.

So the problems on here I don't think are related to partition table/alignment etc.

You can always try another SD card to be sure. I used the SD card that came with the phone and performance was really really crap! (that was on the first few versions of data2ext/sd and I did not try it on my new Sandisk card) - So I think it's probably worth testing on a different SD Card if you have one (or borrow one :)

Played Angry Birds today, no problems.

WiFi / Mobile data looks good. I get the usual freeze when installing apps/opening too many apps, but I always got that anyway with normal a2sd. All in all, very nice!
[Desire Android Development] Lanbase:
I get 213 with reiserfs and modded sqlite and avaritia ..

Grtz

Sent from my HTC Desire
[Desire Android Development] melethron:
If you didnt wipe it could also be because of wrong dex files. It should copy the old dalvik cache then.
[Desire Android Development] xavierjohn22:
I just tested the reiserfs alignment zip file.

Coming from an ext3

Works as describe.

Now i am going to flash Avaritia. He he. Thanks

Where is the sqlite zip file for Avaritia HD?

EDIT:

passing boot up logo again, this rom never gives me hang after flash.

.........................................

Guessing about desired format.. Kernel 2.6.35.7 is running.

Format 3.6 with standard journal

Count of blocks on the device: 256000

Number of blocks consumed by mkreiserfs formatting process: 8219

Blocksize: 4096

Hash function used to sort names: "r5"

Journal Size 8193 blocks (first block 18)

Journal Max transaction length 1024

inode generation number: 0

UUID: 21a5b7d2-6165-4264-9abe-ada3b2b9875c

LABEL: ReiserFS

Initializing journal - 0%....20%....40%....60%....80%....100%

Syncing..ok

ReiserFS is successfully created on /dev/block/mmcblk0p2.
[Desire Android Development] melethron:
Not sure if there is an libsqlite for 1.35 base (Avaritia 0.5). Ownhere made one for HD 1.72.405.3 which will be the base for Avaritia HD v0.6 (already tested and it works fine).
[Desire Android Development] xavierjohn22:
Ah okay, thank you.
[Desire Android Development] melethron:
Not sure if 1.72 file works on older base. Ask lanbase and check ownheres thread if you are eager to test it before next version.
[Desire Android Development] Lanbase:
The one posted in 2nd post of owhere's threat

Sent from my HTC Desire
[Desire Android Development] xavierjohn22:
Last Q:

I tried EXT3 and REISERFS,

I observe that after flash, my phone is faster to set-up in SD-EXT than SD-REISERFS using this ROM

Is that SDCARD compatibility?
[Desire Android Development] xavierjohn22:
Got it, thank you.

For others:

http://xdaforums.com/showpost.php?p=10415460&postcount=2
[Desire Android Development] animehq:
http://data.imagup.com/4/1109559714.png

Btrfs :p
[Desire Android Development] xavierjohn22:
wowaa btrfs,

i think my sd does not like reiserfs, ha ha ha. it works very good with exts, maybe ill try btrfs.
[Desire Android Development] animehq:
I don't have a good micro sd too, it's a samsung 4go class 2 provided when i have purchased my desire
[Desire Android Development] xavierjohn22:
Hi, i just flash the alingment to ext3, it says on the log it was ext3 but recovery does not format it, so i switch to parted magic and see it was still reisetfs.

The alignreiserfs works.

The ext3 align dd not work for me.
[Desire Android Development] animehq:
My new better score btrfs roxx :p

http://data.imagup.com/5/1109596179.png
[Desire Android Development] melethron:
@both of you. The behaviour of sd-card controller can vary. Btrfs has some ssd optimizations and may have different effects on ssds. If the controller is good at "simulating" a rotational device then the btrfs option makes things worse. If the controller is bad then the ssd optimizations will make things better.

I expected that microSD have "bad" controllers and so i tested nilfs and btrfs (with ssd_spread) first. But it was worse than reiserfs. In the end the microSD "decides" on its own where it writes the data to nand. If the controller is optimized for some "typical" filesystem like ext then other fs may make things worse.

So this depends on the "interior" of the microSD. It's almost impossible to know what the controller does (some infos on that: http://lwn.net/Articles/353411/ - thats also an issue for btrfs developers). So best thing is to simply test

What recovery did you use? The script uses the busybox included and so that might be the issue. Can you post the "alignment-log.txt"?
[Desire Android Development] basher52:
How can i format my sd with brtfs? neeeed it :)

Another Question: I would like to change the Bootanimation to the BIOS Version provided with Spareparts, but Spareparts isnt working formost of the features it provides.

How2fix this?
[Desire Android Development] martino2k6:
You can use gparted, either on a Linux distro or as a live CD.
[Desire Android Development] melethron:
Not sure if this is because of the fact its and HD port or the data2sd stuff. For now you can simply copy the "bootanimation.zip" to "/data/local" while system is running! (this doesnt work in recovery because its on sd atm)

In the next version you can also flash it to "/data/local" in recovery (if you use something like UOT kitschen to make a zip). And apart from that i'll a make it possible to put in a folder on /sdcard (then you just have to put it in "/sdcard/Avaritia/bootanimation_here/" and it will be copied to /data/local on boot - before the animation starts of course ;) ).
[Desire Android Development] melethron:
@all:

Here is a preview of the "userconfig" of the next version so far. I'll add an "life-on-the-edge" option also. This file (avaria-config.txt) will be on SD-card in "Avaritia/config" and can simply be edited by a text editor (like the included one in astro filemanager).

#
# ================================
# Avaritia user config file
# ================================
#
# WARNING: Please read the explantion of every setting and
# only change something you know what its doing.
#
# Also dont change the "> userXYZ=" stuff. Only change
# the things AFTER the "=".
#
#
# If you changed something and forgot how to revert it
# you can simply delete this file and the "original"
# will be restored after next reboot.
#
#
# NOTE: All changes you make here will only have an effect
#	after the next reboot. Also note that most settings
#	are optimized for most users.
#
#
# Info: To use Screen off/on profiles for min/max Clock
# or Governror use "setcpu"
# If requested i'll add this feature in futurer
# (with a check if setcpu is installed (disbled then).
# But i dont see a real need for that because "setcpu"
# is a really good app (and free for XDA users)
#

# ===================
# Governor
# ===================
#
# Here you can set the desired governor
# Standard is "smartass" and recommended
# for an SVS Kernel like the included one
#
# For HAVS Kernels ondemand may provide more
# stability
#
# available options (on the included kernel):
#
# smartass
# interactive
# conservative
# userspace
# powersave
# ondemand
# performance
#

> user_governor=smartass

# ===================
# Overclocking
# ===================
#
# WARNING: Overclocking can cause instabilities
# and can even DAMAGE the hardware (cpu)
#
# DONT CHANGE THIS IF YOU DONT KNOW WHAT IT DOES!
#
#
# Here you can set the desired min/max
# clockspeeds.
#
# Standard min is "128000" (in Hz = 128 MHz)
# Standard max is "998000" (in Hz = 998 MHz)
#
#
# available options (on the included kernel):
#
# 128000
# 245000
# 384000
# 422400
# 460800
# 499200
# 537600
# 576000
# 614400
# 652800
# 691200
# 729600
# 768000
# 806400
# 844800
# 883200
# 921600
# 960000
# 998400
# 1036800
# 1075200
# 1113600
# 1152000
# 1190400
#

> user_MIN_freq=128000
> user_MAX_freq=998400

# ===================
# Undervolting
# ===================
#
# WARNING: Undervolting can cause instabilities
#	Always change values in small steps
#
# Here you can set the desired undervolting level
# using snq's undervolting query (thx snq)
#
# To alter the mV values change
# the SECOND value only and always change
# them in +/- 25 steps
#
# Example: undervolting to 950mV on 128 MHz
# Change:
#
# 128000 975
#
# to
#
# 128000 950
#
#

>> 128000 975
>> 245000 1000
>> 384000 1025
>> 422400 1050
>> 460800 1050
>> 499200 1075
>> 537600 1075
>> 576000 1100
>> 614400 1100
>> 652800 1125
>> 691200 1150
>> 729600 1175
>> 768000 1200
>> 806400 1225
>> 844800 1250
>> 883200 1275
>> 921600 1275
>> 960000 1275
>> 998400 1300
>> 1036800 1300
>> 1075200 1300
>> 1113600 1300
>> 1152000 1300
>> 1190400 1300
[Desire Android Development] Fightspit:
Do you planed to add also an option to select the governor like Deadline, noop, etc... ?
[Desire Android Development] biliskner:
ROM devs

Hi Mel and Pays (ROM is still based off Pays' HD ROM correct?)

Just want to know if there is a service or something disabled in your ROM that prevents my SMSs syncing with HTCSense.com? I used RCMIX HD v14 and all my old sms's from last year came back into my phone, but flashing this ROM, that didn't happen. Although the new SMSs I got yesterday are in HTCsense.com when I log in. Strange. No biggie, just wondering.

ROM works good so far, if I shutdown then press Power Button to turn on it boots in 1 minute. If I restart (or O/C and it reboots :S it takes about 5minutes to restart, guessing it's running the fsck check on the database when it's a random restart).

Can't believe how responsive it is. Very big jump from the 1st week of data2sd release versions!
[Desire Android Development] animehq:
Need :eek: it look like very interesting.

can't wait to try this
[Desire Android Development] Lanbase:
Is in this one siberes battfix included?

Grtz

Sent from my HTC Desire
[Desire Android Development] melethron:
Well "deadline" is default but if you like i can add it as option.
[Desire Android Development] melethron:
The zip uses busybox of recovery so im pretty sure that that that is the issue. Ill update it tomorrow with the proper binaries so it should work then.

v0.5 is still based on Pays the next version will be my own port. Not sure if pays change something. Also isn't that a google service?

Reboot runs force check every boot on "ext" (and also reiserfs in next version). Takes time if there are issues.

Yes.
[Desire Android Development] xavierjohn22:
AmonRa V2.0.1

I flashed the align reiserfs first (This converted my ext pastition to reiserfs). I verified it too in parted magic, it is reiserfs, I installed Avaritia to try.

Then after that i wanted to switch to ext3 again. I flashed the align to ext3, on log it says sd-ext got formatted to ext3.

I tried both twice.

log file attached.
[Desire Android Development] melethron:
Ok then its clear why. I didnt test it with AmonRA and the "mke2fs" binary isn't static compiled.

Either use Clockwork 2.5.0.7 , 2.5.1.8 or the modified version with reiserfs support.

I'll update the "ext3" zip tomorrow with "static" mke2fs then it should work.

Ill also add a custom AmonRA with reiserfs/btrfs/jfs support when coutts updates his kernel (and i also update the repacked clockwork versions).

EDIT: Btw the log is "lying". It didn't format and the message comes even when there are issues. As you can see the "mke2fs" output is empty (only tune2fs). I could change the script so that it's checking if mke2fs is ran proberly (i do that when i have time ... but the mke2fs output is enough for me to see issues so its not that important).

+++ The SD-ext partition got formated with EXT3:

_________________________mke2fs+tune2fs_output______________________________
tune2fs 1.41.6 (30-May-2009)
tune2fs 1.41.6 (30-May-2009)
____________________________________________________________________________

EDIT2: Well or i simply change the line to " +++ Trying to format with EXT3 - check the output" (or something like that). Its not that confusing that way.
[Desire Android Development] xavierjohn22:
that's why i counter check with parted magic to see if it really did format it.

thanks for all the efforts in this.
[Desire Android Development] Muxeu:
Well, coutts made new kernel

and I would like to try BTRFS against reiserfs. Could you make a AmonRA with btrfs support?
[Desire Android Development] xavierjohn22:
Yeah me too, I'm having doubts on my SD with reiserfs.
[Desire Android Development] melethron:
i just made an alignment zip for btrfs and jfs. I'll test them (nandroid backup - flash zip - restore) and upload them.

I also update clockwork 2.5.0.7 and 2.5.1.8 with the new kernel for btrfs and jfs support and i tried to make an amon-ra recovery. The Problem is that (for whatever reason) Amon ra doesnt mount with "-t auto" option and recovery cant mount the partition (i still could mount it manually while in recovery so the kernel works fine). This means that the source of recovery has to be modified and this is beyond my skills.

Edit: flashing the zips should still work with RA recovery (apart from ext3 i need to fix that) but it's rather useless if there is no option to do nandroid. AmonRa seems to be willing to include another kernel with other fs support. Ask him in the recovery thread if you want to use his recovery. Till then you can use my repacked clockwork recovery with full support for btrfs,reiserfs,jfs (and ext2/3/4 of course).
[Desire Android Development] xavierjohn22:
I might switch to the custom custom recovery if that is the case for now. Thanks.
[Desire Android Development] Muxeu:
@melethron:I wait any recovery which can make backup from reiserfs and restore it to btrfs. Just AmonRa is more nice for me.

Have you already updated clockwork 2.5.1.8? Where can I find it?
[Desire Android Development] melethron:
Wait a sec i upload them. wanted to test first.