yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] melethron:
Hey, i read a bit and i thik the answer is "battery backup". JFS is not designed for restoring from a powerloss (but still for a reliable and fast recovery on a "kernel oops"). I think issue on sd may come from the "dynamic inode allocation".

About the good benchmark results. I think the reason for this can be because of the low cpu usage (i think it has the lowest cpu usage of almost all fs). So the performance may not represent actual usage.

I still want to test it a bit more (but not because i think its good for daily use).
[Desire Android Development] iinga:
I've looked at the git sources and reiserfs is there in the fs directory and Coutts has said it supports reiserfs.

I'm quite confused.
[Desire Android Development] DesireFreak:
I tried this first again with a ReiserFS partition, but my phone hangs in white htc bootscreen.

So I used rom manager to create my partitions again (all on max size) and used gparted to resize and convert the ext partition (512MB) to reiserfs 1GB.

Same bootscreen hanging here.

So I tried converting the reiser partition to ext4 and - ta-da it works, not as completely lagfree as under data2whatever 0.4 and reiserfs, but it's still smooth enough.

I can install all apps again :-)

Thank you!
[Desire Android Development] yulejie:
Thank you for your script :)

I've noticed that your update is copying script 01data2whatever to init.d dirctory. However, as I am using CM 6.1.1 for desire, there is already a file called 01sysctl in that directory. I wonder since both of them have 01 index, how busybox will do with them? One of them will be skipped right?

By the way, my system is a bit laggy after the patch. Every app needs a very long time to be started. Don't know if it is related to that script indexing problem.

Update:

I have ~1.5G ext4 on my sd card, but downloading and installing app from market is extremely slow... downloading speed like <1k/s.
[Desire Android Development] xavierjohn22:
That's the same file structure i have in MIUI and never gives me problems.
[Desire Android Development] Droidzone:
@melethron,

Could you help me out with a problem with rom cooking..

I have a perfectly working Froyo Sense NonA2SD rom which installs fine.

I have another perfectly working data2sd installer script which if run after a reboot into recovery after the first boot of the rom, works fine.

However, on combining the two the reboot of the rom after install stalls..

Attached:

1. Script1-the data2sd script

2. Script2-the Rom installation script3.

Script three-The combined script

4. My sh script used in these scripts

Another qn..Suppose a rom stalls even before passing into the boot animation screen (i.e stops at the very first HTC screen), is there a way to read a log and find out whats going on. I checked logcat-its empty/
[Desire Android Development] xavierjohn22:
FYI,

Version 4C works great now with MIUI Release 1.1.14, EXT3, No reboots. Awesome.
[Desire Android Development] vivmar:
Should work on CM7?
[Desire Android Development] hajen78:
Yes it works on CM7, but not on CWM3
[Desire Android Development] Triplejack:
Working like a charm on Oxygen RC6. Now i have 400mb left on my internal storage.
[Desire Android Development] kodein:
Broken on kingston 32G class4....
[Desire Android Development] xavierjohn22:
Running for almost a week now, has been stable as it can be. tides are getting better for MIUI.
[Desire Android Development] Alex-V:
Must say...works very good on my normal sense rom and also on my hd rom (hd not released yet) for hd i used the Avaritia script...but this 0.2e works smoother and faster (and also dalvik on sd)

i use the libsql patch from ownhere...its the best combination :)

Thanks again melethron

offtopic...and yes i also find hd build 1.32 is still a bit faster as build 1.72 (no matter z or hd)

with kind regards...Alex
[Desire Android Development] xavierjohn22:
i would definitely try your HD rom as well, he he (switching between Avaritia and yours is easy)
[Desire Android Development] Alex-V:
he he :) ....but without melethron and sibere...ownhere...coutts...richard..neo (and all other ) ............(these guys) i can do nothing...as i only put the files together ;) :)

So as special thanks for all that guys that work on this

with kind regards...Alex
[Desire Android Development] xavierjohn22:
yup, very true. D2W rocks!
[Desire Android Development] Alex-V:
:) :):):):);):p

with kind regards...Alex
[Desire Android Development] SoftWord:
Can some one explain this ? It happen with data2ext v4 and data2whatever, leedroid and cyanogen mod 6......:

With logcat at reboot there are some errors regarding "unmount /data device is busy" at start.....

I think that it can make problems..........
[Desire Android Development] xavierjohn22:
@ mel,

TAP Benchmark for D2W 4d in a MIUI Rom
[Desire Android Development] melethron:
Not sure why i cant unmount. Since cm and leedroid have both proper init.d support data should be ready to unmount at this point.

Pretty good sd-card.
[Desire Android Development] xavierjohn22:
Yeah 1 week d2w, no reboots in miui.
[Desire Android Development] sibere:
I had the same errors with the previous ROM I was using. The init.d hack wasn't a good one and the mtd5 was busy and un-unmoutable. With the last on I have now, no issues whatsoever.

Wow yes indeed!
[Desire Android Development] [deXter]:
Can you please share which make/model/class this SD card is? And also, what's its IOPS stats? Thanks!
[Desire Android Development] SoftWord:
I'v solved my problem only modify 05mountsd script of cm7 in this way:

at end of file append this lines:

sync

umount /data

sleep 10

mount /dev/block/mmcblk0p2 /data

....and it work like a charm having /data mount directly on sd partition 2 ext4 !

You must done this wiping all before reboot becuse the system must recreate all system folder, dalvik, system, app, data ecc.
[Desire Android Development] melethron:
Yep but this is still strange because both ROMs

do

use the proper init.d support.

For proper ramdisk support the "class_start default" is stopped until filesystem ready property is set:

start sysinit
on property:cm.filesystem.ready=1
class_start default

....

service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d
disabled
oneshot

Ever wondered why its

cm

.filesystem.ready? CM is actually the ROM that used the proper init.d support at first ;).

So that is not the issue. Im pretty sure the issue is from some write operations before that ramdisk part that aren't written yet. So "sync" + "sleep" should fix that.
[Desire Android Development] melethron:
Hmm, i think the 10 sleep is a bit long. 1 should be enough (just make sure there is a "new line" or a "semicolon" after unmount)
[Desire Android Development] sibere:
Yes that's why this issue surprised me. But apparently some phones are a bit slow at completing some tasks and leave the mtd5 busy. the sync + sleep should solve this indeed.
[Desire Android Development] moreje:
Hello,

I just installed a new MIUI ROM with D2W... but I got FC com.google.process.gapps

and this logcat:

EXT4-fs error (device mmcblk0p2): ext4_lookup: inode #46996: (comm e.process.gapps) deleted inode referenced: 48297

Any ideas on how to fix it?

Thanks for your help

JR
[Desire Android Development] botellito:
ive got clockworkmod 3.0.0.5 r3. after installing leedroid 2.3d i wanted to install the data2whatever 0.4d. i can't install. i got an error in recovery:

"amend scripting is no longer supported. amend scripting was deprecated by google in android 1.5. it was necessary to remove it when upgrading to the clockworkmod 3.0 gingerbread based recovery. installation aborted."

What am i doing wrong?
[Desire Android Development] sibere:
I'd say The flash script is not Edify compatible. Revert to a previous clockworkmod like 2.5.0.7.
[Desire Android Development] MATRIKS:
Here is screenshots from Oxygen RC7 and D2W v0.2e :eek: View attachment 499815

View attachment 499816
[Desire Android Development] moreje:
Which benchmark app do you use?
[Desire Android Development] moreje:
Hello,

Any ideas on this error log? :

EXT4-fs error (device mmcblk0p2): ext4_lookup: inode #46996: (comm e.process.gapps) deleted inode referenced: 48297
[Desire Android Development] Lanbase:
why are your dbwrites only 6?

what ext fs?

i have 5500 with oxigen and ext 4 , my db writes are also lower .... not that low....

there is a sqlite patch btw for oxigen also available.

what about unmounting data at shutdown?

Sent from my HTC Desire
[Desire Android Development] cylent:
Ok guys this isnt working for me and i could use a little help...

i have tried data2whatever-v0.4d with a stock app2sd enabled rom and it would get stuck at the first boot screen.

i have tried data2whatever-v0.4d with MIUI_Au.1.1.22.R2-signed and it would get stuck in a loop on the second boot animation for MIUI. at least it passes the first one.

i have tried it with LeeDrOiD_2.3d_A2SD and the same thing as first.. stuck at first boot.

i am performing the steps as described in the Original Post ... what could be wrong?
[Desire Android Development] Lanbase:
ehmm.

I could be wrong here but you can't use a rom with any other than froyo a2sd enabled.. so maybe you have some other a2sd script in init.d. if yes,remove it first.

also check if your kernel supports your chosen ext- filesystem. if in any doubt just use ext3 for your ext partition.

Sent from my HTC Desire
[Desire Android Development] Droidzone:
Sorry to correct you, Lanbase, but that's not true..

The d2w script is supposed to remove the most a2sd+ scripts-not only froyo ones (which is a2sd not a2sd+)..

But a small point..the script has to be applied immediately after an a2sd installation..not after a reboot and certainly not after using the installed rom for some time
[Desire Android Development] Lanbase:
Native froyo a2sd doesn't have a script in init.d right?

But your right, i wasn't sure about the removing bits of melethrons scripts...

Hey feel free to correct anytime!
[Desire Android Development] Droidzone:
That's right..

init.d is called busybox runparts...and it is added in custom roms.. :)
[Desire Android Development] sibere:
Impressive!

Could you give more details? Like SD card used, CPU freq, File system used and format/mount options, etc pls?
[Desire Android Development] MATRIKS:
With ReiserFS i Have it 7000+ but not stable

SDcard Samsung C2 4Gb CPU freq normal file system EXT4+Swap
[Desire Android Development] sibere:
Your card must be very good then because it shows 16Mb/s read on 1M files! :)

You even have a better score at writing 10k files than 1M files (which is really strange b/c normally it's the opposite)

With ext4 + patched sqlite lib + class6 Transcend card my result is about 2800-2900pts but I have a sense ROM ;)
[Desire Android Development] iinga:
On latest CM 7, i score ~5700 using a Samsung class 6 sd with ext4. Did use ReiserFS but there's too many issues with it to use it as a stable day to day thing. ReiserFS was in the high 6000s.

The libsqlite really makes a difference.

Edit: that made it sound like i was talking about tap. But i meant in everything I do, the patched sqlite makes the phone faster.
[Desire Android Development] sibere:
I'm really stuck at 2800 whatever I do. My transcend card gives me about 5 to 7 iops random 4k write (QD=0 and QD=32 respectively) with a card reader, which is quite poor :/

Edit: new benchmark done with SD mounted via USB on the phone, and I get now 76 iops... much better :) 1st result could be from a faulty SD reader!

PS: tested with crystaldiskmark 3 on a fat32 partition
[Desire Android Development] th3:
Something wrong about his bench. 10k can never be higher or even equal to 1MB transfers, real, with any NAND tech.

I get 38xx consistent with Desire HD ROMs at all default using EXT3 and 187 apps on it, standard Class 2 SD card. Not sure what's wrong with your card.

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

- Sent via HTC Desire -
[Desire Android Development] Lanbase:
Somthing wrong wit my card to ?..... or Tap results faulty?

Edit: stresswrite 1MB > 1k
[Desire Android Development] iinga:
I'm unsure.
[Desire Android Development] Gaspedal:
WOW, With MIUI 1.1.22 works Data2Whatever 0.4d incredible fast !!! Try it !!
[Desire Android Development] MATRIKS:
Here you go with ReiserFS C2 4Gb

View attachment 500954

View attachment 500955
[Desire Android Development] Fightspit:
IT IS not OVER 9000 !!!!

:D
[Desire Android Development] blowy666:
Hello everybody!

I have a "little" problem...

I have flashed to Ginger Villain 0.9, and after flashing I´ve flashed the zip-file from this thread here, version 0.4

My problem now: I´ve installed the Launcher Pro, and when I have added some widgets and restart my device (with "power off" on the power button"), all widgets are away. And where the widgets should be, there is an error message.

Can anybody tell me what I could do that the widgets would stay on their place?

Edit. sometimes also the Launcher will not appear after a restart, and my installed apps are not in the drawer... :(
[Desire Android Development] iinga:
Either:

1) you are installing stuff to the external (apps to external = apps to sd card, not ext) which is no good

or

2) your sd-ext isn't mounting on boot

Please use adb shell when phone is running and tell us what

adb shell df

outputs
[Desire Android Development] blowy666:
Okay, found my "mistake"!

In the manual on page 1 was written, I should NOT reboot between flashing ROM and flashing Data2Wherever.

When I did so, and then installed widgets, there were errors after a reboot and the widgets wasn´t loaded.

Now I tried another way:

I installed my ROM, rebooted once, then restarted my phone and flashed the Data2Wherever-zipfile....and NOW all my widgets are stying where I placed then, also after reboots!
[Desire Android Development] iinga:
Has anyone run into any issues with CM7 Nightly build 18? seems to stick on splash screen. Have logcat if anyone can help diagnose.

It just hangs at:

I/Netd ( 789): Netd 1.0 starting

I/Netd ( 795): Netd 1.0 starting

I/Netd ( 801): Netd 1.0 starting
[Desire Android Development] hajen78:
Yes it could be nice if someone could get it to work again ;)
[Desire Android Development] th3:
I don't know - I don't know the exact steps they take to measure and what they measure.

One typical possibility is that your 1M transfers are capped by the CPU. They're phssically faster in potential but the CPU is bottlenecking the sequential throughput. That's the only way 1M can be even close to 10k on NAND tech.
[Desire Android Development] PSeeCO:
Hi there, i'm trying this fine piece of hack on my nexus one but i can't get it to work, can you tell me what i need to enable in my rom to make it support this script? Unlocking the app2sd with dsixda's kitchen is enough? Thanks in advance!
[Desire Android Development] SoftWord:
Which one of this two folder is read more than other by android ?

/data/app

or

/data/data

?
[Desire Android Development] Se7enair:
Im tested it with CM7 #22 and DATA2whatever 0.2e and it runs.

Now testing CM7 #23 and DATA2whatever 0.4d
[Desire Android Development] iinga:
Both work mate. I run 0.4d with #23 smoother than internal :)
[Desire Android Development] Se7enair:
Yeah it works, extremly smooth. now i need some little adjustments and then it works as my daily rom.

but if i flash a new cm update, can is just flash the data2whatever again and all works?

i tested it with #22 and 0.2e but after flash the data2whatever all my settings from cyanogen are gone.
[Desire Android Development] iinga:
I'm not sure why that's happening to you. I flash the Rom then immediately after Data2Whatever and all works smoothly.
[Desire Android Development] pipi002:
what is best version for oxygen rc7????
[Desire Android Development] Se7enair:
do you flash cm7 reboot and then data2what or without reboot?

cause i flash with rommanager and there it reboots automatically after installing cm7

ok i reproduced it, if if flash cm7 reboot and then immediately reboot and flashing data2what causes this bug.

im doing a nandroid restore now and try to test it without a reboot between
[Desire Android Development] iinga:
Yeah don't reboot in between. It messes things up by trying to boot

Sent by Owl Post
[Desire Android Development] Nitin985:
Does this work on coolexe Rom z v3 ???
[Desire Android Development] MATRIKS:
Yes it work
[Desire Android Development] Nitin985:
Thanks me flashing tonight
[Desire Android Development] MR_EVIL:
is it possible to use this on Nexus running stock Miui rom?
[Desire Android Development] MrRalphMan:
Just to let you know that this is working fine on Neo's AuraxTSense v8.3 Rom

Had some issues initially with Titanium Backup restoring my applications, but I found it was QQPlayer causing a reboot everything TB tried to restore it.

Working well with an 8GB Class 4 SD card.

Thanks very much for your work on this and the simple install method.

Paul.
[Desire Android Development] Sting71:
didn't work for me :(

clockwork 2.5.0.7

data2what 4

ext 4 (1 GB)

sd16 gb class 10 kingmax

rom oxygen rc7

wipe data

wipe cache

wipe dalvin

apply rom

apply data2what

reboot

during the configuration of the gmail account,

some errors incoming, like

GAPPS, MEDIA.....

the memory phone is seen in about 0.9 GB free,

so the script worked fine,

but the rom is unstable...
[Desire Android Development] Se7enair:
Now i find my way to update the daily updates of cm7.

Load the update, go to recovery, flash the rom, data2whatever, batterymod and THEN reboot. flashing data and battery takes me 1-2minutes but i can update everyday without loosing anything
[Desire Android Development] Lotok:
I have a HTC Desire running Oxygen 1.0.4, Data2Anywhere 0.4d & life-on-the-line script. Internal is a 16gb Kingston Class4 SD with a 1gb Ext4 partition.

Without the lifeontheline script it runs like hell, really slow. As soon as I ran the script it was superfast! the difference was liek night and day.

There is the reboot problem you currently have which I am just dealing with for now. Are you much closer to a fix or is there anything as good and fast as this you would recommend.

I didnt really like apps2sd, the data2anywhere / data2sd is a million times better, it being slow without the lifeontheedge script may be due to the class 4 card.

When I say slow I mean kept getting forceclose or wait options for everything...

good work though, great scripts. Looking forward to rebooting fix
[Desire Android Development] MrRalphMan:
Just to let you know after 5 days this Rom with Data2whatever is still going strong..

Thanks again for your work.

Paul.
[Desire Android Development] Lotok:
Are you using the life-on-the-edge script? I found without it everything went extremely slow on Oxygen 1.0.4 but went superfast with the script.

One thing I would add about the rebooting caused by Life-on-the-edge, it has never rebooted while the phone is in use, listening to music etc, only does it shortly after use.

When I leave it on charge overnight, it doesnt reboot either...
[Desire Android Development] MrRalphMan:
I haven't had any unexpected reboots, but have to had an unscheduled one when I was streaming flash video over WiFi, the phone just become unresponsive. I could get to the reboot menu, but had to wait 45 seconds for it to come up.

I am not using the on the edge script as I really cannot see any performance issues with this setup. I 'only' have a class 4 8GB card too.

Cheers,

Paul.
[Desire Android Development] Lotok:
Weird, without the life on the edge script I get terrible peformance, to the point where I keep gettting force close or wait options. The script fixes that though...
[Desire Android Development] Szadek:
Having the same issue here , but my sdcard is 8gb kingston class 4 .But the errors are the same , and the rom is unusable .What might be causing this terrible performance ?

thanks

best regards
[Desire Android Development] MrRalphMan:
Well I have the 8.4 version of thus rom, the 875 special kernal and data2whatever installed and get a smooth experience and a quadrent score of 1318.
[Desire Android Development] Szadek:
Well , solved all those issues , flashing again cm7 ( #36 nightly build ) , then data2whatever .4d , and then life on the edge script .Running super smoothly now .... everything is fine =D .

Best regards .
[Desire Android Development] rezashamdani:
@top

while i'm using cm7 #35, then gapps 12/10, then data2whatever 4d, then life on the edge.

so far i found that appmarket cannot be installed :( else is working right
[Desire Android Development] MrRalphMan:
No one else has reported this, but I seemed to get slightly more drain on my phone on 8.4.

With 8.3 I would have it charged overnight and there would be about ~20% left at the end of the day. With 8.4 the battery is running out before I go to bed.

I have flashed back to 8.3 to test it out.

But it was the same setup on each ROM with the same applications plus the 875 Special Kernel and Data2whatever 0.4d.

Will report back as it is probably something I've done (New App version or System setting change) that has caused this.

Many Thanks,

Paul
[Desire Android Development] Lotok:
I tried a number of ROMS including 8.4 with 875 special kernal. Same results, the life on the edge script makes it run smoothly but without the script the data2wherever makes everything run ultra slow. So slow than its pretty much unresponsive and I get the force close or wait options.

Once the reboot problem on life-on-the-edge has been fixed this will be perfect, until then I just cant use it. It looks like it works for others so maybe a problem with my phone.

[EDIT]

I just went to CM7 35 (Nightly), 0.4c data2wherever, life on the edge and google apps pack.

Seems ok except I keep getting authentication errors when trying to download from market. It must have authenticated properly as I can see the apps I have bought, just cant download them.
[Desire Android Development] iinga:
Your issue is not with data2whatever but your sd card. That is what makes it slow down. If you want to speed it up, without using life on the edge, search the desire development forum for the sqlite fix by ownhere. Results in much better performance, without as many risks as life on the edge has.

Not sure what issue you are talking about with reboot and life on the edge, but i'm sure you'll explain.

And FYI CM7 has been working fine for me with data2we since crackflashers were doing the building
[Desire Android Development] Originalas:
How to check was data2whatever installed correctly?
[Desire Android Development] iinga:
Check internal memory size in settings.
[Desire Android Development] Originalas:
thanks.

Cool, works on Villain 1.0 ROM, 0,94GB Free now. :)
[Desire Android Development] Lotok:
There is a note on the first page saying EDIT - Do not use as causes reboots.

I experienced those reboots everytime I used the script. Usually after I had used the phone for something, a few mins after I locked the screen it would randomly reboot, but only when using the script.

Since going to CM 7 Nightly + data2whever and life on the edge I havent had the reboot problems and everything seems great. Benchmarked at 1408 and no sign of any rebooting at all.

I will look into the SQLfix though to get around the slowing caused by my SD, thanks for the pointer on that.
[Desire Android Development] iinga:
Have never used life on the edge, so can't testify about reboots. Sqlite fix is very stable in my opinion :) Its good. FYI my copy is the latest of the lib for CM7 (found at http://www.iinga.net/desire/libsqlite.so only for CM7). Push it to /system/lib then add it to custom_backup_list.txt