yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Dragooon123:
Lol, missed it. Sorry :).
[Desire Android Development] woti23:
@melethron:

new sqlite3 on 1.72.405.2

root@localhost://data/etc# >sqlite3 -version

3.7.2
[Desire Android Development] Terepin:
With live-on-the-edge.

NOTE: I'm running on ReiserFS.
[Desire Android Development] melethron:
I tried to port a new base myself but i failed for now. I take robociks Z 0.6 for now for this rom. What kernel doesn't work on that rom (since i want to comipile the latest coutts with reiserfs etc)?

Good to know. Another reason for rebase.

Live on the edge only applies to ext atm. Ill change that in the next version.
[Desire Android Development] Terepin:
Two questions:

1. My benchmark results are bad, average, or good?

2. So using ext4 with LOTE will be faster on my phone?
[Desire Android Development] thay:
Sandisk class2 reiserfs + 100mb swap stock rom

20101231T182121: Benchmark on /data (6 iterations)

Overall Performance: 2665(144)

Database Performance: 381(20)

FileRead/Write Performance: 1374(108)

StressTest Performance: 910(93)

DB writes: 33(5) Writes/s

DB reads: 253(19) Reads/s

DB deletes: 285(23) Deletes/s

File writes 10k: 3114(49) kB/s

File writes 1M: 3734(2105) kB/s

File reads 10k: 3996(234) kB/s

File reads 1M: 9536(83) kB/s

File write overhead: 0.533(1.51) ms

File read overhead: 1.453(0.147) ms

Database overall: 381(20)

File overall: 1374(108)

StressWrite 1M: 3853(504) kB/s

StressRead 1M: 5487(72) kB/s

StressWrite 10k: 1404(228) kB/s

StressRead 10k: 1302(230) kB/s

Stress overall: 910(93)
[Desire Android Development] woti23:
well, working as in "it works" all do

but there are tons of log messages, if CONFIG_CGROUPS and a few other kernel configs are not set.

coutts has this error messages, sub501 too ...

neophyte test kernel not, ziggy from 19.12. not, the rom included in Z 0.6 not

i think its related to cfs vs bfs and cgroups
[Desire Android Development] woti23:
thats about the same what i get with class 2 and reiserfs directly monted

about 28 db writes
[Desire Android Development] woti23:
i think baadnewz has released HD based on 1.72.405.2 today
[Desire Android Development] Terepin:
Yes, but crippled one.
[Desire Android Development] Terepin:
That's LeeDrOid's 2.3 kernel.
[Desire Android Development] woti23:
yes it will, overall b/c it keeps more data in RAM/cache before writing to disk.

at the cost of data security - your decision if you can live with restoring a backup ocassionally in the the unknown future ;-)

btw: your sd card can ocassionally end her life at once without a warning too. just like any harddisk can.

most data lives in /data/data and in /data/system on phone, and at google or your prefered cloud services
[Desire Android Development] woti23:
i use neophytes atm because it has CONFIG_SWAP enabled and supports reiserfs too
[Desire Android Development] cnrd:
What class SD card is recommended for this rom?
[Desire Android Development] Terepin:
Class ain't important.

Anyway, can I use Nandroid backup?
[Desire Android Development] Terepin:
Details of Performance on /data

Iterations: 6 - Single Test Duration: 1000

Timestamp: 20101231T234927

Overall Performance: 3804(270)

Database Performance: 502(12)

FileRead/Write Performance: 1549(23)

StressTest Performance: 1753(269)

DB writes: 188(8) Writes/s

DB reads: 273(8) Reads/s

DB deletes: 292(15) Deletes/s

File writes 10k: 3199(139) kB/s

File writes 1M: 7392(229) kB/s

File reads 10k: 4388(60) kB/s

File reads 1M: 8416(261) kB/s

File write Overhead: 1.773(0.142) ms

File read overhead: 1.09(0.048) ms

StressWrite 1M: 4079(135) kB/s

StressRead 1M: 8157(288) kB/s

StressWrite 10k: 953(162) kB/s

StressRead 10k: 4834(1034) kB/s

Now we are talking!

PF '11
[Desire Android Development] Tsuneku:
Wow! What is change from previous benchmark :) ? Only ext4? Before what filesystem?
[Desire Android Development] Terepin:
Before ReiserFS, now Ext4 + loop.
[Desire Android Development] Tsuneku:
Excuse me: Loop = life on the edge ?

Thank's :)
[Desire Android Development] Terepin:
That's right.
[Desire Android Development] melethron:
Hmm, ok. I take a look at the kernel config of robos rom.

Pls note that loop "tricks" the benchmark. The benchmark calls fsync to force a write to the sd. But since there is a loop device it is only forced to write to a "fake device". This way the speed measured is actually almost the speed of writing to RAM.

Loop helps in some situations because if an app wants to save stuff it isn't really saved but cached before. Thats also what makes loop a lot more risky on a powerloss (or a "unclean" reboot).
[Desire Android Development] Terepin:
That may be, but in my case it makes my phone usable.

On other note, why SpareParts can't change font size? I want change at least dpi, because HD ROM has small fonts. That is why I was using Z ROM.
[Desire Android Development] melethron:
Dont know. I actually like the small fonts of HD roms.
[Desire Android Development] Terepin:
Can you provide "fix" for having standard font size, please?
[Desire Android Development] melethron:
This is standard font-size....also im pretty unsure if this a issue of spare-parts or the ROM.

Next version will be Z rom anyway ...
[Desire Android Development] Tsuneku:
Right, thank's for you explanation :) I know that there is the problem about unmount the sd for example, but if there is a really bost of performance and with continous titanium/nandroid backup, I could run the risk :)
[Desire Android Development] Terepin:
If you are going to fork robocik's Z ROM, I'll be glad to help you, since I was using it since v0.2. Most noticably he didn't revert back font size everywhere in system, so it looks inconsistent. May I test ROM before you'll release it to the public, please?
[Desire Android Development] Tsuneku:
This patch work on ownheredesire but I don't know if work in avaritia.
[Desire Android Development] woti23:
@melethron

what would be a possibillity do enforce a sync do disk for the loop device?

i mean a manual force.

does it a clean remount also? so one could use the powerstate script, to alway sync to disk when phone goes dark?
[Desire Android Development] Terepin:
It "works". Don't even try it.
[Desire Android Development] Tsuneku:
Life on edge must be flashed after the installation of rom, before reboot ?
[Desire Android Development] Terepin:
I think it doesn't matter.
[Desire Android Development] thay:
Ownhere rom is odexed i dubt this patch works in this rom

spareparts is not able to change system fonts

I tested rom with sd sandisk c2 reiserfs and 100mb swap for 24 hours.Made a lot of tests and seems to be very good.No fc and no issues good job :)
[Desire Android Development] Terepin:
Just learned that Nandriod is practically useless with this ROM. It won't restore system to it's original state, not to mention the performance is reduced a lot.
[Desire Android Development] thay:
What do you mean with this?If you haven't reiserfs you can nandroid normal system backup
[Desire Android Development] anko184:
I just restored my phone after some Oxygen tests! I have ext4 btw!
[Desire Android Development] sagaff:
Melethron,

If I may ask, what's your target of achievement for this ROM and what's your challenge so far?
[Desire Android Development] Terepin:
My current results:

Details of Performance on /data

Iterations: 6 - Single Test Duration: 1000

Timestamp: 20110101T222341

Overall Performance: 2929(93)

Database Performance: 499(10)

FileRead/Write Performance: 1558(17)

StressTest Performance: 872(91)

DB writes: 191(8) Writes/s

DB reads: 270(6) Reads/s

DB deletes: 288(13) Deletes/s

File writes 10k: 3224(87) kB/s

File writes 1M: 7690(248) kB/s

File reads 10k: 4099(86) kB/s

File reads 1M: 8825(80) kB/s

File write Overhead: 1.801(0.094) ms

File read overhead: 1.306(0.052) ms

StressWrite 1M: 5647(157) kB/s

StressRead 1M: 8454(76) kB/s

StressWrite 10k: 558(91) kB/s

StressRead 10k: 1520(338) kB/s

It's a LOT worse.
[Desire Android Development] Terepin:
Depends on what do you mean by "normal". I don't consider "normal" missing apps or system settings. And I managed to achieve the second one after total wipe.
[Desire Android Development] woti23:
as i understand, the nandroid backup backups

data-partition

/dev/block/mtdblock5 to data.img

/dev/block/mtdblock3 to system.img

and the boot partition to boot.img

and then restores back to partitions

so if something would be saved in symlinks, the saved image wouldn't fit back in NAND partition?

you would have to restore the symlink and directory structure first and than loopmount the backup images and copy the files back?
[Desire Android Development] melethron:
This ROM is a alpha anyway. ;)

This patch only changes "ro.sf.lcd_density=280" (from 240). I could make the same for Avaritia. But since i use Z for next release the size should be like desire then.

Hmm, no idea how to do that. :/

I didnt test remount but on shutdown it is cleanly unmounted when it was mounted with sync.

Any time. Can be enabled and disable how you like it.

Nandroid works fine with clockwork and amon ra 2.0.1 (beta). It only doesnt work with amon ra 2.0.0 (or lower) because that version doesn't backup the complete sd-ext but only app2sd stuff. This way all system apps are gone (they are in /sd-ext/system-app). So i think you used an older amon ra recovery.

2.0.1 can be found here:

http://hotfile.com/dl/93254723/41761f6/recovery-RA-desire-v2.0.1.img.html

Getting a new sense rom with data2sd doesnt lag like hell .....

Atm making a ROM is overall challenging because im pretty new to making ROMS.

Recovery works fine. There are only issue with amon ra before 2.0.1. It doesnt backup the whole mmcblk0p2 but only the app2sd folder. So the complete system-app folder will be missing.
[Desire Android Development] Tsuneku:
Right, fresh install with all wipe, reformatted SD with:

- 14gb FAT32

- 1,5 EXT4

- 100 mb swap

Loop on the edge after rom install, full restore with titanium backup, and everything goes fine :)

This is the benchmark:

20110102T000945: Benchmark on /data (6 iterations)

DB writes: 223(6) Writes/s

DB reads: 313(7) Reads/s

DB deletes: 325(2) Deletes/s

File writes 10k: 3460(324) kB/s

File writes 1M: 6151(2767) kB/s

File reads 10k: 4884(120) kB/s

File reads 1M: 9146(212) kB/s

File write overhead: 1.265(0.78) ms

File read overhead: 0.954(0.056) ms

Database overall: 575(6)

File overall: 1599(142)

StressWrite 1M: 7398(306) kB/s

StressRead 1M: 8448(301) kB/s

StressWrite 10k: 318(48) kB/s

StressRead 10k: 1563(493) kB/s

Stress overall: 867(134)

system now is really fast, I like it :9
[Desire Android Development] Terepin:
I have informations in my signature for a reason...

Btw, only coutt's kernel can be used with Avaritia?
[Desire Android Development] melethron:
Sorry didnt watch your sig ...Are you sure you did "nand + ext backup"? It works for me.... :confused:

About kernel: you can in principle use any sense kernel but:

- Swap must be enabled in kernel if you want to use swap (Rom still works if not but it wont get enabled if kernel doesn't support it)

- ReiserFS must be enabled if you have a Reiser partition (ROM wont work else)
[Desire Android Development] thay:
Found no reason to change kernel,coutt's working fine and battery life is very good.
[Desire Android Development] melethron:
@woti: Hey, did you feel some difference in the z rom with the included kernel (snq's 2.3 kernel) and neophytes. Im not sure about this but i thought snqs felt a little bit more smooth.

I don't wanna change it. I want to recompile it with a slightly different config. There seem to be issues with "cgroup" (as woti found out). Maybe coutts fixes this on his own. The error messages weren't there in neophytes test kernel (which is based on an older version of coutts kernel). I also wanted to change the voltage table because my phone gets unstable on 1113 with the voltages used ... it isn't with the original voltages of snq's kernel. Coutts also added the vdd level interface patch from snq to his SVS kernel so the voltages can be set up through a init.d script and users can change the values to their desired values. Apart from that i think about making the different filesystems available as modules instead of integrating them in the kernel. This way they can be loaded via script, then check the filesystem and after that unload the uneeded modules. This saves a bit RAM.

So this will not be a "different" kernel but the one used will be optimized a bit.
[Desire Android Development] Terepin:
Not only that, it also handles battery way better. (No offense, coutts.)
[Desire Android Development] melethron:
Git hub isn't up to date and snq is always away in irc.... :(

If i could get the 2.3 source i would compile a kernel with that (and only add the filesystems).

About battery: I think that HAVS is close to useless and if used with smartass or interactive it makes battery even worse. I checked the avs values in dmesg and the values are almost every time at the max level set in avs.c . If you use a svs kernel with smartass/interactive the voltage will go up a bit faster when the cpu clock jumps up compared to havs. But these times are like 1 ms and this is almost negated by the fact that havs needs cpu on its own. I prefer smartass for high response times and thus i'll use svs for sure. It's faster and has practically the same powerdrain.

Apart from that: Undervolting doesnt matter that much anyway. There is a tiny increase in standby time but display takes much more power anyway.

CPU idle (in airplane mode to meassure) is: 1mA.

Phone idle (with good reception) is: 4-5 mA

Display (SLCD at 100%) is: 220mA

The powersave from undervolting those 1mA current is SO tiny and only has an effect at all if the display is off... So if you look one more time at the clock than usual all the benefit from undervolting is negated....

Best way to save power is "undervolting the display" (and this is already included in stock settings: its called "brightness" ;) ).
[Desire Android Development] Terepin:
I'm using OnDemand with PowerSave (245MHz) when screen is off.
[Desire Android Development] melethron:
And you have better battery with the snq 2.3 kernel than with the one from coutts? Did you compare those on the same ROM?
[Desire Android Development] Terepin:
Yep. When it comes to battery usability (in all possible meanings), it surpasses coutts kernel.
[Desire Android Development] melethron:
If i get the source i compile that one. I only add the filesystems then (modules) and enable swap support.
[Desire Android Development] sagaff:
Hi...

No fancy comments from me. No FCs, all functions works as per expectation (except video recording of course). Only issue I am facing with this ROM is the extreme lagging and sudden rebooting at times. Just a feedback from a non technical enduser like me.. tq.
[Desire Android Development] woti23:
neophyte's test kernel (#35) i think is the same as in his HD rom (#34)

+ reiser, nilfs, btrfs ...

CONFIG_CPU_FREQ_VDD_LEVELS is not set

CONFIG_SWAP=y

CONFIG_SCHED_BFS is not set

noop anticipatory deadline cfq bfq

smartass interactive powersave ondemand performance

coutts nonHAVS kernel has

reiserfs enabled

CONFIG_CPU_FREQ_VDD_LEVELS is not set

CONFIG_SWAP=y

noop deadline cfq bfq

smartass interactive conservative userspace powersave ondemand performance

i would prefer neophyte's because he correctly setup CGROUPS (as in not thousands of messages about missing cpu subsys)

and would like him to include CONFIG_CPU_FREQ_VDD_LEVELS
[Desire Android Development] Terepin:
One thing is ridicilous: When system is accesing SD card, music stops playing for a few seconds. Syncing, app loading, even rotating is causing this. Could you look at it?
[Desire Android Development] Terepin:
Note: WITHOUT SetCPU!
[Desire Android Development] woti23:
2.6.32.15-leedroid_2.3-chgrmod3 sqn@drone #1

(the kernel that comes with Z rom 0.6 test1)

has no config.gz in proc

has no SWAP

has no REISERFS

has

vdd_levels

interactive conservative ondemand powersave performance smartass

noop anticipatory deadline cfq

has CGROUPS enabled - and no error messages
[Desire Android Development] Sylvania2:
Hi

installed this rom yesterday with LOTE and Kernel: couttstech-2.6.32.27_OC1190_CMBattFix_BFS_BFQ (29th December). It's fast no lag's but battery is draining fast, so back to Robocik v0.6test1.

best regards
[Desire Android Development] Tsuneku:
Stange, my battery performance is very good.
[Desire Android Development] Terepin:
This pretty much explains why (also using snq's kernel).
[Desire Android Development] thay:
No issues with battery life mine is ok
[Desire Android Development] fossean:
Is it possible yet to run the Life-On-The-Edge patch with ReiserFS?

Rom is running very well, no FCs, no rebooting. Just experiencing occasional lag, and wanted to try LOTE to compare performance.
[Desire Android Development] Terepin:
LOTE isn't working with ReiserFS. Wait for 0.6.
[Desire Android Development] melethron:
@all: I tested robos Z rom with my rom layout and im pretty amazed. 1.72 is MUCH faster. BUT ... i really hate rotating rosie and i like the small fonts of HD rom. As i couldnt (yet!) port HD rom myself i think i use badnewz rom as base and add the stuff he removed back in. At least as long until i figure out how to port the rom myself (i only replaced the libaries that needed to replaced for sure ... but its not enough and i dont want to replace more than needed).

Lagging is a general issue of data2sd. Next version will be better though since the base will be faster.

I also had 2 reboots now. Im pretty sure its the vdd levels of the kernel. Coutts changed them to a lower value for some time now and since that it the kernel is unstable for me (when the clock jumps from a low speed to full). Ill change the vdd levels in the next version to those used by snq since his kernel seems stable for most people.

Neophytes is based on an older release of coutts kernel. I could still compile the newer release with the right settings. Also coutts SVS kernel has the cpu_freq_vdd_levels enabled. This setting would be useless on neophytes kernel since it is a havs kernel and the vdd level is set it "arch/arm/mach-msm/avs.c" and it only uses the clock table in "arch/arm/mach-msm/acpuclock-scorpion.c" but not the vdd set there.

Having snq's vdd patch is also the reason i want a svs kernel.

I listened 3 hours of music today with many syncs in between and some app starts and i hadnt this issue .... so i think its hardware depended ... you could test if "cfq" is better for your sd-card. In "adb shell" (while android running - not in recovery) type: "echo cfq > /sys/block/mmcblk0/queue/scheduler". Maybe your sdcard cant handle all the io request. I also look into some optimiziations of the queue size ....

Also wanted to pull the config ... no such file ...

And config is also not on git hub ..... apart from that that the whole 2.3 kernel is not on git hub :mad:

In next version, but it wont disable the journal of ReiserFS.
[Desire Android Development] jkond:
++++ for the rotating rosie and small fonts..

But baadnewz has the big fonts in his new rom...
[Desire Android Development] melethron:
.... :(

Hmm, ill ask him what i need to watch to port the ROM. Robocik doesn't have time atm (and his laptop is broken). And i also take a look at the libs....

Also i really dont get what the sense of a rotating rosie should be. On z with its keyboard ok ... but on classic desire? Why? Rotating is slow and the widgets take a bit time to show ... if it would rotate instant .... but the way it does ... ?!

Maybe i make Avaritia Z someday but i really want the HD rom...
[Desire Android Development] woti23:
auto rotating rosie can be set of in preferences / display ?
[Desire Android Development] woti23:
@melethron

couttstech nonHAVS kernel doesn't have vdd_level patch

at least not this version at

http://mirror.couttstech.com/android/index.php?dir=bravo/

cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels: No such file or directory

or is there another one?
[Desire Android Development] melethron:
No. Auto rotation can be switched of completly (like desire) but there is no seperate option for rosie alone.

Didn't test the kernel yet but coutts said he applie the patch (here). Maybe he forgot to set it in config. Well ill compile it on my own anyway. Because i want to add filesystems as modules:

script loads all modules.

mounts -> check partition.

unload the uneeded modules.
[Desire Android Development] Terepin:
This was insane! Entire phone has locked up for a minute, because it was trying to play music and install app at the same time.
[Desire Android Development] anko184:
I'm really not sure if baadnewz's rom is based on Ace (DesireHD) port because

when i installed it on my phone i found in settings a menu from Z settings.

The one that creates shortcut's for the hardware keyboard on Desire Z, i don't

remember what was the name but you will find it.
[Desire Android Development] melethron:
With cfq? Or what do you talk about?

Dont know what he uses but the Rom is to modified anyway. I want to start with a clean stock rom and do everything myself. I use:

"RUU_Ace_HTC_WWE_1.72.405.3_R_Radio_12.28e.60.140f_ 26.04.02.17_M2_release"

for the next version. But this will take time .... im rather new to cooking and there is a lot to figure out for me....

Like this:

melethron@melethron-laptop:~/workspace/Avaritia HD ownport/RUU/rom$ unyaffs system.img
Segmentation fault

... DHD uses ext3 on internal ^^ ..... i recompiled unyaffs only to find that out later ....

Well but im sure i manage to port it if i take some time for that. If no other dev want to/cant help me then i can still look at the other ROMs and check the libaries ....
[Desire Android Development] sagaff:
looking forward to v 0.6. Hopefully, what you aim to achieve will happen in that rom.

Btw, what the deal with 720p recording. What's the challenge that the developers are facing? It seems that the dev for dhd, desire z and gb have a hard time to get it to work.
[Desire Android Development] pjm77:
Hi guys:)

I've got a problem here formatting reiserFS partition under windows. Gparted live USB doesn't see my internal SD reader (tried on two laptops) and Paragon Hard Disk Manager doesn't do the job either (tried two full versions, reiserFS is not available). Any other ideas?
[Desire Android Development] DonBartal:
Nice easter egg. :)
[Desire Android Development] Terepin:
With deadline, but CFQ, nor BFQ didn't help.

Btw, after Nandroid restore, is ROM checking if ext partition is alligned? Because wiping is also formatting ext partition.
[Desire Android Development] melethron:
To be honest. I have no idea. Im not a coder and i have no idea how to fix it. Thats something that good devs like snq may solve but thats to much for me.

Ownhere compiled the reiserfs tools for arm (link). You can push the mkreiserfs to /system/xbin ("adb push mkreiserfs /system/xbin/mkreiserfs"). Then "adb shell" (in recovery) and:

mount /system
cd /system/xbin
chmod 755 mkreiserfs
./mkreiserfs /dev/block/mmcblk0p2

But note that you partition gets recreated if it isn't aligned. Ill implement these tools in next version and make an optional patch that formats as reiserfs on the first boot.

Which one ? ;)

It checks every boot but formating doesnt change the partition table. It only changes the partition itself but not its start/end sectors. Apart from that only Clockwork formats on wipe. RA does only "rm -r *" (delete all files). (btw: thats another reason i would prefer clockwork)
[Desire Android Development] Tsuneku:
Some feedback about battery drain: this night in airplane mode have lost only 2% from 23.00 to 07.30, other rom like RCMix or Ownhere use from 6% to 10% on my device and same conditions.

With airplane off, all sync, 3g data e wifi on, and with installation/browsing, only 20% from 7.30 to 13.30.

@Melethron: I hope you'll continue to develop this rom, for me is the best HD rom and Italian androidiani forum love your job :)