yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] melethron:
Hehe, i forgot that you store system/app on nand also. Sd has a higher battery drain on write for sure (high-voltage injection for block erase) but im not sure about reading from sd-card. Since we need app2sd anyway on DHD rom i/o on sd is taking place anyway.

Well in general you are right that odex+app on nand is better than app on nand + dex on sd but the reason i want deodex is this:

.... and that needs service.jar ;)

I really want to customize a lot so odex is not an option for me (but if someone wants an odex ROM i recommend yours :) )

About cache partition. I think its only for app download in market and internal browser. Leedroid uses dalvikcache2cache and i never noticed more batterydrain than with dalvik on sd....

Well but i think about what you said. Maybe i move VR libs and customize to sd-card (barely used - at least compared to dex) and use some of the free space then for system app and framework dex files.

EDIT: Browser uses /app-cache and not cache. /cache is only used for market downloads.... so its almost never used ....
[Desire Android Development] ownhere:
Yes, requirement of modify service.jar and android.policy.jar(power menu) is the reason for deodex.

Other cases, deodex really not very good.

on DHD port, official Theme is not require modify service.jar, the more power menu make phone unstable. :) so I have always been used odex, faster, less power consumption
[Desire Android Development] melethron:
Well if dalvik is on internal there is no difference in speed/consomption (apart from dexopt on first boot ofc ;) ). Well but that needs more nand because of dex+apk included dex.....

About power menu: Why does it make the phone unstable?
[Desire Android Development] mattiadj:
Is the same for ext4?
[Desire Android Development] melethron:
Do you use ext4 or btrfs?

Did you make sure you wiped /data and the ext4/btrfs partition is empty. This seems like either dalvik is not symlinked proberly (maybe old symlink on /data).

I would need the start of "logcat" (first 20-30 lines till avaritia setup is finished) and on top of that the output of "adb shell df".

Yes. I add this info to the OP. The partition has to be smaller then 2 GB and a primary partition (logical partition has the same issues - despite the size).
[Desire Android Development] LoQo_:
btrfs, I have now auraxtsense 8.1.2 and i have best results in this rom.
[Desire Android Development] anko184:
I think the problem is caused due to wrong creation of btrfs partition.

Could someone write me the correct command, please?
[Desire Android Development] mattiadj:
Will be possible to have a custom size bigger than 2gb for second partition or is not possible?is market or rom problem?
[Desire Android Development] melethron:
Yep. HD roms are a bit sluggy in general. But i like the new sense. For now i also don't like my ROM and look at ways to improve it....

the command is mkfs.btrfs /dev/sdX2

X is the device you use. Make sure you made a partition before and then format it with that command.

Do you need SO much space.... ?? For me even 1 GB should be enough....

I think the problem with >2gb and market cant be solved. This is a google "proprietary" software. Blame them ;) .
[Desire Android Development] anko184:
That's exactly the command I used but.....

Anyway I'll try it again later and post the first lines you asked.
[Desire Android Development] LoQo_:
Yeah, me too I like the new sense of the font size, I use launcherpro, I like your rom I have not said with intent to offend, sorry if I misunderstood you

And sorry for my English is google xD
[Desire Android Development] mattiadj:
Ok thanks for answer :)

No now i don't need a lot of space but is funny to have 4gb internal memory :D

I hope that next relase will have a smaller time for first boot!! :D
[Desire Android Development] mattiadj:
BUG FOUND: after reboot wifi don't won't start and language come back to english.

If i want send an sms is very very long to send.

A good work but not for daily use yet :)
[Desire Android Development] Fightspit:
After a few hours, my phone still lags as hell, is that normal ? :/
[Desire Android Development] peterfeter:
xD wait pls more 3days and rom works fine xD xD

*joke OFF*

no man its not normal^^

flash another rom, same problem here... with class10 card..
[Desire Android Development] woti23:
@melethron

if you are looking for a decent kernel with deadline, my favorite is this one

no havs but vdd undervolt patch, for me its a good mixture from performance and battery life (i tried a lot of kernels, with this i get the best battery i found).

it has a thread at modaco forum, and init.d scripts to highly configure powersaving, scheduler etc

btrfs is as module included

kernel version: 2.6.32.27-sub501

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

scaling frequency config min/max: 128000 / 998400

kernel reported frequency min/max: 128000 / 1113600

current freq: 998400

current gov: ondemand

current read_ahead_kb SD: 64

current read_ahead_kb NAND: 4

current scheduler SD: noop anticipatory [deadline] cfq bfq

current scheduler NAND: noop anticipatory [deadline] cfq bfq
[Desire Android Development] melethron:
Hehe, an "alpha" with an "experimental" filesystem is not really intended for daily use xD.

But thanks for the bug-report. I didn't notice the issue with the language because it is auto set due sim-card provider. But i have a similiar/related bug that the a different skin is reseted after reboot. I'm fixing this atm.

I use neophytes btrfs kernel. It has deadline also but i didn't notice any difference to noop. Thx for the tip btw...

y, it's really not normal :/

I tried another layout before and it was far better ... moving ALL system apps to sd was real stupid idea i didn't think that the "reading" of sysapp will cause such slowdowns on db writes. I'll change the layout completly and move less used stuff than system apps on sd ....

All this ROM is good for NOW is some /data database writing benchs and to compare the overhead of ext4 and btrfs ....

Next version will be alot better and i do some more testing before i upload it.
[Desire Android Development] woti23:
rchdmix has also a lot of apps/files at sd

in /system

app -> /system/sd/app_s

customize -> /system/sd/customize_s

i hav stripped it down to fit system in my mtd

but there are left 96MB symlink to sd in app

and 16MB in customize

i have also symlinked

/system/lib/VR to sd (voice recognition shared objects) its about 36MB

don't know how your rom template is stripped down allready

btw: you can also save 1.2MB if you use bash 4.1, its smaller (most are 2.5MB)

btw2: you could look for the binary of the command "tree", its very useful do paint the file/directory structure of the rom with size of files.

eg

tree -shilfC [> tree.txt]

[to get a textfile from it for further examination]
[Desire Android Development] melethron:
Actually im thinking about NOT stripping it down at all (except the ****ty boaltware like amazon mp3 and sound hound).

And to make it REALLY fit to nand.

- System at is now in my zip (~230 mb).

- System apps in NAND /data (~130)

- Dalvik 2 /cache (like leedroid does)

But thats just an idea for now. But i think it would make best use of the fact that data is on ext/btrfs completly and should make lags history since there is almost no i/o on sd in the situtations that lags normally occur. But im not sure about market downloads. I will have a look at this first .... Also i have to look at the issues with /data/property for example since it somehow doesnt save right then. Ill test it by moving it back to internal .... but atm im sleepy and have to some stuff tomorrow... also i want to test a bit more before i upload .... shouldn't have shared this rom this fast .... it sucks as it is now ....
[Desire Android Development] lagaba:
I've managed to get data2btrfs working with robocik's v5 Z ROM - I've sent the ROM over to him for inspection - do you want to take a look at it as well?

I've just merged your scripts from this ROM with the layout in the Z ROM basically, modifying each as necessary.

...seems to be working quite well for me so far although for some reason the skin always reverts back to the standard skin after a reboot:confused:
[Desire Android Development] PaY87:
Yes I used it now a hole day and flash back to non data2ext or btrfs version.

Its too laggy, but still nice idea! :)
[Desire Android Development] melethron:
Yeah it was unuseable. I reworked it and im uploading atm. The problem was the combination of /system/app and /data/data on external. That sucked heavy. I have /system/app now in the original /data now. Its far better this way.

... but still a bit slower than non data2sd...
[Desire Android Development] lagaba:
Hi Melethron,

I'm using your data2btrfs script (great work by the way!) and am having the "skin not saved on reboot" problem as well...

could you let me know how you fixed it?

thanks
[Desire Android Development] ownhere:
I mean snq- 's power menu, that do a force reboot, /data on SD can not be unmount safety.
[Desire Android Development] melethron:
Missunderstanding then. I thought you meant the powerwidget menu.

Well i talked to snq if he could change the reboot routine. He calls reboot through kernel function. I think i should be possible to call "stop" ... "unmount" and reboot afterwards. What i miss on offical boot is a shutdown options (to go in recovery etc). I could edit the build.prop so power off is a real shutdown but then i would miss hibernate. Atm i advice all people not to use "reboot" with the rom. I only left it in the ROM so i can use either "hibernate" or "shutdown"....

But i think you really have a point there with dalvik on sd-ext. I think i declare some "system apps" like quickoffice/twitter etc to be "user apps" and get them on sd to free some nand space. Then i move VR and some customize to sd-ext. With enough space free i move all "system@" dex files to nand.

EDIT: I also take a look at coolexes ROM: http://xdaforums.com/showthread.php?t=899943

He has some nice ideas to save space like:

From what i know ogg has same cpu usage like mp3 but is smaller. Also changing 32 bit pictures to 24 is a good idea.....
[Desire Android Development] abumhmmd1:
Use this for v6 . It is a recovery file .

Those can help partly in solving the issue .

Thanks , I'll look into it soon ...

for all knowledge ,

ARABiC is among the partly supported languages in ANDROiD till now .

The Arabic letteres appear separated !!!! GOOGLE may solve it in future issues ... honey , or .... :confused:

Ayman asSanad is doing great work to solve this problem .
[Desire Android Development] kda2:
Full wipe and formatting didn't help.

I've got 4 GB sd card included with my Desire. First partition is on FAT32, 2nd ext4 512 MB.

Should I try v0.6?
[Desire Android Development] erto90:
Is this the fastest DHD rom??
[Desire Android Development] ciairo:
Ehr, not sure I'm doing the right thing..

formatted the ext partition with BRTFS, checked with the alignment zip (no errors, partition recognized and swap formatted), installed the rom and..

at first endless boot I get lots of "chdir: /data/misc/keystore: No such file or directory" through logcat.

Seems I did something wrong, did'nt I?

thx
[Desire Android Development] melethron:
No. Data2sd is always a bit slower then app2sd. But its pretty close considered speed.

You could give it a try.

Can you post a logcat of the boot (the first lines mainly with the rom scripts) and the output of "adb shell mount" when it is in bootloop.
[Desire Android Development] ciairo:
mmm I probably got it. Seems I created the two partitions (brtfs and swap) in the wrong order, therefore the alignment script was formatting brtfs as swap..

I will try again :). Thanks a lot melethron!
[Desire Android Development] woti23:
how much will that get you?

moving

/system/etc/*.epub gives you 2,3MB - what are doing electronic books in etc anyway?

/system/etc/slideshow gives you 9MB

/system/lib/VR gives you 30MB

/system/bin/bash newer version (4.1) saves 1,3MB

moving all fonts but not DroidSansFallbak.ttf gives 6MB

/system/customize/resources (wallpapers) gives 12,5MB

and market installable and crap apk from /system/bin/app makes up to 60MB alone.

thats alone 120MB for trash or symlinks
[Desire Android Development] woti23:
but sd card powers off when screen off - nand doesn't

or what does this mean?

bravo_sdslot_switchvdd: Disabling SD slot power
[Desire Android Development] melethron:
Still depends on what you call crap apks ;)

About books in /system/etc,... htc is so "fail" sometimes.... i think they spent much more money on designers than on programmers ;) .
[Desire Android Development] woti23:
yes i know - crap is different for everybody, but there are 3 searches, the calculator needs more than the browser in system, ....
[Desire Android Development] Chaqmol:
what is your suggestion for v0.7...EXT's or reiser?
[Desire Android Development] woti23:
@melethron

or /system/etc/soundimage 4.8MB

not sure this is used at all, Z rom 0.6 didn't have that directory
[Desire Android Development] martino2k6:
Compatibility and ease of use - EXT

Speed - ReiserFS
[Desire Android Development] woti23:
and if installed the app from market, the .so can be removed, i believe

13.8MB

rw-r--r-- 1 0 0 6.2M Aug 1 2008 ./lib/libflashplayer.so

-rw-r--r-- 1 0 0 4.7M Aug 1 2008 ./lib/libflashlite.so

-rw-r--r-- 1 0 0 2.8M Aug 1 2008 ./lib/libAdobeReader.so
[Desire Android Development] thay:
V 0.7 won't boot still on white screen with logo and blue led on

tested with ext3 and reiser
[Desire Android Development] MATRIKS:
Melethron

What do you think about that Ownhere`s v8.2 script FAT+EXT+EXT+Swap

Can i use it on this rom partitions FAT+JFS+JFS+Swap
[Desire Android Development] jkond:
What fs u use? with swap or not?

thanks..
[Desire Android Development] xavierjohn22:
Mine is FAT32, 1GB EXT3, 100mb SWAP

I tried it last night, it works. Once stabilized it is fast.

It's just that melethron updated to v0.7 so i play around with flashing rom i am testing again, because i will flash v0.7 by the end of the day hopefully.
[Desire Android Development] MATRIKS:
I use JFS+Swap

But i think best is ext4
[Desire Android Development] jkond:
after PIN screen stays white...then screen locks, I unlock it and white again.:confused:
[Desire Android Development] MATRIKS:
JUST WAIT;)
[Desire Android Development] xavierjohn22:
that would be the same case i have on v0.5, takes a while like an hour set-up. I dont have that anymore though when i repartition my sdcard using parted magic. dont know if that solve it.
[Desire Android Development] jkond:
i w8ted 30-40 min and nothing. then deleted the Avaritia folder in sd and restarted and now it works. The folder was recreated on reboot...:p
[Desire Android Development] biliskner:
my v0.6 is so good I don't want to flash 0.7 (I just finished downloading it too).

very responsive. great job.
[Desire Android Development] Lanbase:
I have used 0.7 for one day, then I broke the htc.lockscreen fiddling arround with widgetlocker... When I restored my nandroid I accidently restored 0.6 oooopsss.... No problem because 0.6 feels better and faster than 0.7 ....

Both tested with identical setup.

Sent from my HTC Desire
[Desire Android Development] woody_2k:
Really wanna try this rom but i'm having major problems. Tried 0.6 last week. waited for about an hour from initial install but every time i unlocked i just got the white HTC scree, Then finaly i got select network settings, did this then it went back to white HTC screen so gave up on it.

Last night tried the 0.7 build. Installed and reebooted but got stuck in a boot loop. Cleared the cache etc again but still stuck in boot loop so again gave up.

Any ideas or tips?

Details

No logcat, sorry

Clockwork v2.5.0.7

8gb class 4 512ext3 0swap

s-on
[Desire Android Development] azure89:
Hey there, I've got a bootloop the first time i've tried to flash this rom (0.7).

I've used old ones and didn't have issues and was pretty fast too =)

So that what i've done:

1. partition my sdcard

2. aligned my sd-ext with reiserfs

3. flash rom

4. reboot

Here's my logcat if this could be useful.
[Desire Android Development] biliskner:
make your ext 1024, format with Mele's zip (ext3 zip align file) then straight after flash the ROM. should work.
[Desire Android Development] fossean:
Looking at the averages for my TAP benchmarks, I find 0.7 to be slightly faster than 0.6, though there really isn't a lot of difference. Both run fast and smooth after the initial settling-down period.

I know people may have a different experience depending on their SD card. Mine is an 8Gb Samsung class 6; I had high hopes for a BTRFS partition, but it ran like molasses with this card. After much testing, I settled on ReiserFS. Ext4 also gave good results.

Thanks very much for the update, Melethron — glad the cgroup errors have gone, seemed somehow untidy :)
[Desire Android Development] marjanstrife:
hi there. i really need ur help... after flash the rom, htc keep restart at boot screen? can anyone help??
[Desire Android Development] azure89:
Oops i guess i didn't posted, someone could delete this :/
[Desire Android Development] mahmoudxcom:
first thanks to all of you, i tried the recovery file and it work but the browser app FC when open it so any idea please :confused:
[Desire Android Development] animehq:
v0.7 crash after only a day for me :( v0.5, v0.6 is better at all on my phone (stability, perf, batterie conso)...
[Desire Android Development] noviz69:
hi there after the flash of the rom continuously restarts :(
[Desire Android Development] jab1972:
Stange lockscreen on HTC Skin?????

Thanks melethron for all your continued hard work on getting data2sd working as fast and smoth as possible.

I was using 0.5 for some weeks and was quite happy with it.

I am now running 0.7 on a 32g class 2 scandisk card using fat/2gig ReiserFS/100meg lynx swop created by gparted and so far it runs great, very fast and smooth!

Only few problems I am having are as follows: -

What when I change to the HTC Skin the lock screen scroll bar that you swipe to unlock seems to be corrupted with strange white, green and orange colours? It’s only on the HTC Skin but this is the one I prefer. (this is straight from first boot with nothing restored)

Also when I tried to flash mindtwistaHDmod-1.28.405.1.zip (from RCMixHD) which I was using fine on 0.5 the phone won’t boot anymore? Not a major problem but I do miss the circular percentage battery. Dose anybody know of one that will work with this rom?

The track pad doesn’t unlock the phone only wakes it, but I am really not bothered about this one.

Thanks again for your hard work
[Desire Android Development] martino2k6:
I went from 0.6 to 0.7 without any problems, and thanks melethron for making sure the cgroup errors went away.

Here is a small treat for 0.7 users; framework mod with the battery + percentage using original colours (charging too, both smooth) and transparent notification background. Flash through recovery, as usual (hope it installs as this is the first time I used the new scripting, else extract and put it in place manually). See attachment :)

Props to sopL87 from whom I took the battery, but I had to modify the charging one myself to make it smooth.
[Desire Android Development] banhong:
melethron, Sorry for late here is my recovery log.

Please analyze it and brink my Desire back. Y_Y
[Desire Android Development] martino2k6:
It says you're flashing LeeDroid... :confused:

Anyway, my limited knowledge tells me the culprit is

mount: no mtd partition named "sdext"unmount of /sdext failed; no such volume

so it looks like your sd-ext partition wasn't found, or was lost at some point, I think.

Melethron is probably sleeping given his timezone so that's the best I can give you.
[Desire Android Development] banhong:
Yes I flashing Leedroid cause I meet some problem after flashed Avaritia.

Then I want back to another but totally fail, no success with LeeDroid, Pays ...

I have to know what wrong with my Desire...

Thanks in advance.
[Desire Android Development] thay:
Eject sd from phone and delete all partitions with gparted

Remake partitions (all primary)and format it ,now try flash
[Desire Android Development] melethron:
Your partition gets recogniced as ext2 this means format as reiserfs didn't work. Can you attach the "alignment-log.txt" from /sdcard.

about lockscreen. I tested it and have the same issue. Must be from d-pad to unlock. Ill see what i can do....

About circle battery. Use UOT kitchen: http://circle.glx.nl/

Cant see issues there. The sd-ext error is normal because lee uses the wrong command to mount (mount MTD ....) . But thats not a problem.

I would need a logcat of the boot. Do "adb shell logcat" while it boots and post the output.
[Desire Android Development] azure89:
Sure. Here it is!

I'm pretty sure this time i would flash succesfully 0.7, i'll let you know in about 10mins

EDIT: Same problem, doesn't work.

EDIT2: I've noticed that my phone hangs in recovery after flashing the ROM, i'm using the clockwork mod 2.5.1.8 modded version.

EDIT3: Should I format with recovery or gparted? If I format with gparted directly with fat32+reiserfs+swap, should i flash the alignment-zip?
[Desire Android Development] martino2k6:
When I partitioned using gparted I couldn't get it to work. But then I partitioned using recovery, applied the align zip, and all worked fine.
[Desire Android Development] azure89:
Which recovery you use? Using the custom recovery in the 2nd post, there aren't options that allow to partition SD-card while in recovery.

EDIT: ops solved, the 2.5.0.7 doesn't have partition sd card options, meanwhile the 2.5.1.8 have it. I'll try right now and report if it works =)
[Desire Android Development] martino2k6:
Since I use ext3 I'm just using the non-modified 3.0.0.5. I'm not sure where the option is, but maybe somewhere either under mounts or advanced.
[Desire Android Development] MATRIKS:
You have to flash in recovery align.zip

which one depense of yor partition on sdcard

http://xdaforums.com/showthread.php?t=872464

Here is the tread how to on 4th post
[Desire Android Development] azure89:
Yeah I know, i've already done that, but my phone wouldn't boot.

I will try to use gparted as last chance.
[Desire Android Development] MATRIKS:
First do with Gparted than flash align.zip
[Desire Android Development] 160bpm:
To bad... everything i'll try to let it work ... it will not working...

Did gpart my sd again: ext2: 1024, ext3: 512, fat32: 521

When i flash get a message everything is ok.

Restart... white screen with HTC loops... or it start and get white screen with HTC... after unlock... volume buttons is working... holding home button is working...

But i can't get it work at all.. :(
[Desire Android Development] MATRIKS:
Partition must be 1:fat32 2:ext2/3/4 3:Swap
[Desire Android Development] 160bpm:
Great... I will give it a try... So when i use gpart i must also do it in this way... first fat32 then ext2/3 or 4 and last the swap.

cheers.
[Desire Android Development] koenvbeek:
I have tried several times flashing Avaritia v0.6 and 0.7. I've never seen it boot completely on my device. It hangs every time on the splash screen. "adb logcat"gives the following error: "link_image[1995]: failed to link /system/bin/sh"

I've repartitioned my sd-card and tried Ext3, ext4, reiserfs and brtfs.

With all attempts I did a full wipe, flashed one of the allignment zips, and then flashed the rom. In all attempts that succeeded without problems.

But I noticed that Recovery hangs at jumping back to the main menu after flashing the rom. The screen remains empty while the main menu should come up. I've tried both the modded recoveries from your 2nd post. What does this mean?

I have partitioned my sd with 3 primary partitions using Gparted:

1: Fat32 (+-15GB)

2: ext3 (1GB)

3: swap (50MB)

I choose to allign all partitions to MiB's in Gparted.

Is this procedure correct?

What should I do to make your rom work on my Desire?

Thanks in advance.