yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] Snowtoad23:
Hey Blay0,

I'm wanting to change the boot animation of this to either the vertical or horizontal Nexus One ones in this thread:

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

However the bootscreen in this ROM is in a different place to normal (system/customize/resource instead of /system/media/bootscreen/) and different format (3 .gif files and an .xml instead of an /android/ folder with tonnes of .png)

So I suspect just replacing bootanimation.zip with the new one won't just work... correct me if I'm wrong!

Cheers

EDIT: I have dsixda's HTC Android Kitchen and it has the option to enable custom boot animations.

It creates a data/local folder and says put your custom boot animations in there.

Will this work with the boot animations in the above thread?
[Legend Android Development] BlaY0:
It will, but you will also have to remove /system/customize/resource/bootanimation.zip or change configuration in /system/customize/CID directory.

EDIT: Added Sugar Free to 1st post...
[Legend Android Development] andrekua:
Finally done with B02... your work is like ART... work flawlessly.

I did miss the command to enable data2ext. It was strange that I had to mount /data in partition menu.
[Legend Android Development] Bricolo_fr:
I just installed it

so far so good :) everything looks fine, it runs very well. snappy, stable...

it's the first deodexed rom I install. from what I understood, a deoxed rom uses a bit more space because the apks are bigger and that they still have to decompress in the dalvik cache

and I already have the "low disk space" message :( it seems deodex"ed "forces" you a bit more to use apps2sd or data2ext.

I saw that the /cache partition is almost unused. as far as I remember it was used on the stock rom. is this normal?

if /cache isn't use, isn't there a way to change the partitions size and allocate less to /cache and more to /data? (for those who don't use apps2sd)
[Legend Android Development] deimdos:
B 0.2 working well so far

PS: is it possible to enable ads?
[Legend Android Development] BlaY0:
Yes.

Cache partition on stock rom is used for downloading OTA updates and some temporary files for example Gmail attachments. I used to use it for dalvik-cache of framework files. With data2ext there's no need to do so any more...

Nope, unless you have S-OFF phone.
[Legend Android Development] TheGrammarFreak:
The data partition doesn't mount every time with data2ext,which is a tad annoying. And I don't seem to be able to use /system overlay with data2ext. Only 2 real issues so far.
[Legend Android Development] BlaY0:
Logcat is your answer!

I uploaded new fixed version of data2ext script. I also found a bug in my overlay script but it is not critical. Try using data2ext first without overlay.

EDIT: Ahh, to install just flash it over in recovery mode. Command for using data2ext in normal mode is "data2ext --enable" to enable and "data2ext --disable" to disable it. Reboot is needed after that for changes to take effect.
[Legend Android Development] loscassapalle:
BlaY0, i would do something to reduce the levels of autobrightness. you know where i have to search?

i tryed to open framework-res (with apktool), but i didn't find what i was looking for...
[Legend Android Development] TeCH-Guruz:
Ran the first command while in android went fine booted into recovery installed data2ext_test2.zip ran second command and all i get is

touch: /data/local/dodata2ext: no such file or directory

any ideas where I am going wrong? and logcat doesnt work all I can do is adb logcat > c:\log.txt
[Legend Android Development] BlaY0:
You're obviously missing /data/local directory coz you did a wipe I guess...

OK, just boot the phone into normal mode and then execute "data2ext --enable" via adb shell. Reboot after that again...

And yes, logcat doesn't work in recovery mode coz there's no need to...

Nope. Never played with that before but have seen your question before...
[Legend Android Development] Knight77:
Sorry but even with this method I cannot find any sense widget, and I'm sure they are installed...

how can I solve the problem?

EDIT -> I found the problem: I was using Laucherpro. The question is now... is there any way to use Sense widgets with laucher pro?

Thanks!
[Legend Android Development] stegg:
BlaY0 , have you an idea to how we can get the wake-on-trackpad working on 2.2 sense roms?

it's silly, i know, but i can't live without it now! :D
[Legend Android Development] TeCH-Guruz:
Thank I think it is working now here is my log

I//system/xbin/sysinit( 65): BlaY0's custom WWE ROM for HTC Legend

I//system/xbin/sysinit( 65): Setting hostname...

I//system/xbin/sysinit( 65): Loading modules...

I//system/xbin/sysinit( 65): Initiating data2ext mode...

I//system/xbin/sysinit( 65): Waiting for SD card to settle...

I//system/xbin/sysinit( 65): Executing file system check...

I//system/xbin/sysinit( 65): data: Deleted inode 31310 has zero dtime. FIXED.

I//system/xbin/sysinit( 65): data: Deleted inode 31402 has zero dtime. FIXED.

I//system/xbin/sysinit( 65): data: Deleted inode 31587 has zero dtime. FIXED.

I//system/xbin/sysinit( 65): data: 799/125184 files (0.8non-contiguous), 26060/125075 blocks

I//system/xbin/sysinit( 65): data: 799/125184 files (0.8non-contiguous), 26060/125075 blocks

I//system/xbin/sysinit( 65): Mounting /dev/block/mmcblk0p2 to /data...

I//system/xbin/sysinit( 65): EXT partition /dev/block/mmcblk0p2 mounted on /data...

I//system/xbin/sysinit( 65): Data2ext enabled...

I//system/xbin/sysinit( 65): Setting read-write /system overlay...

I//system/xbin/sysinit( 65): Found ext[23] partition mounted to /data, will use it...

I//system/xbin/sysinit( 65): Checking for kernel aufs support...

I//system/xbin/sysinit( 65): No aufs driver detected, trying to load aufs module...

I//system/xbin/sysinit( 65): Module aufs loaded...

I//system/xbin/sysinit( 65): Overlay set...

I/logwrapper( 65): /system/xbin/sysinit terminated by exit(0)

I/DEBUG ( 132): debuggerd: Dec 1 2010 16:36:04

D/AK8973 ( 140): AK8973 daemon 1.3.4 Start

D/AK8973 ( 140): (Library version : 1.2.1.620)
[Legend Android Development] loscassapalle:
i spent lot of time searching wherever, but i didn't find anything...i should try to ask to some cm dev...
[Legend Android Development] TheGrammarFreak:
No. Launcher Pro Plus has some sense-like widgets, and there are things like beautiful widgets.

EDIT:

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

@BlaY0, data2ext is certainly interesting. It's just a shame that it lags so often. I read about multiple partitions (just forget about the noobs for now) and using ext4 instead, would it be possible to try this? Apparently it's more stable and has fewer lags. Link
[Legend Android Development] JonasDroid:
It runs quite nicely but there's something in my logcat I'd like to mention:

--------- beginning of /dev/log/main

I/pthread ( 65): ## thread 65 is creating thread @system/core/adb/sysdeps.h:411

I/pthread ( 65): ## thread 66 is created success

I/pthread ( 65): ## thread 65 is creating thread @system/core/adb/sysdeps.h:411

I/pthread ( 65): ## thread 67 is created success

I/pthread ( 65): ## thread 65 is creating thread @system/core/adb/sysdeps.h:411

I/pthread ( 65): ## thread 68 is created success

I//system/xbin/sysinit( 64): BlaY0's custom WWE ROM for HTC Legend

I/pthread ( 65): ## thread 65 is creating thread @system/core/adb/sysdeps.h:411

I/pthread ( 65): ## thread 84 is created success

I/pthread ( 65): ## thread 65 is creating thread @system/core/adb/sysdeps.h:411

I/pthread ( 65): ## thread 85 is created success

I//system/xbin/sysinit( 64): Initiating data2ext mode...

I//system/xbin/sysinit( 64): Waiting for SD card to settle...

I//system/xbin/sysinit( 64): Executing file system check...

I//system/xbin/sysinit( 64): /dev/block/mmcblk0p2: Unattached inode 179201

I//system/xbin/sysinit( 64): /dev/block/mmcblk0p2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

I//system/xbin/sysinit( 64):	(i.e., without -a or -p options)

I//system/xbin/sysinit( 64): Partition check failed, manual intervention required, reverting to normal mode...

I//system/xbin/sysinit( 64): run-parts: /data/local/init.d/01data2ext exited with code 1

I//system/xbin/sysinit( 64): Setting hostname...

I//system/xbin/sysinit( 64): Loading modules...

I//system/xbin/sysinit( 64): Initiating data2ext mode...

I//system/xbin/sysinit( 64): Waiting for SD card to settle...

I//system/xbin/sysinit( 64): Executing file system check...

I//system/xbin/sysinit( 64): /dev/block/mmcblk0p2: Unattached inode 179201

I//system/xbin/sysinit( 64): /dev/block/mmcblk0p2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

I//system/xbin/sysinit( 64):	(i.e., without -a or -p options)

I//system/xbin/sysinit( 64): /dev/block/mmcblk0p2: Unattached inode 179201

I//system/xbin/sysinit( 64): /dev/block/mmcblk0p2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

I//system/xbin/sysinit( 64):	(i.e., without -a or -p options)

I//system/xbin/sysinit( 64): Partition check failed, manual intervention required, reverting to normal mode...

I//system/xbin/sysinit( 64): run-parts: /data/local/init.d/40data2ext exited with code 1

I/logwrapper( 64): /system/xbin/sysinit terminated by exit(0)

/dev/block/mmcblk0p2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

That's what worry's me :p

I've followed the toturial you posted a while back (added a swap partition dno if that's nececary) but I couldn't change the block size, and it looks like something else has gone wrong too.

a quick google search comes up with some quite complicated stuff, and since I don't have any linux knowledge,...
[Legend Android Development] Daihogo:
Great and fast ROM ;-)

But i have a problem, im from germany and need a qwertz htc keyboard.

How could i fix this? :confused:
[Legend Android Development] Snowtoad23:
Which method will work?

If I put new bootanimation.zip in /system/media/bootscreen/ and remove old one from system/customize/resource

or

Use Kitchen to enable custom boot animation, put new one in data/local folder?

Thanks!

EDIT:

I see in \system\customize\CID there is a default.xml file which has

<BootConfiguration>
<BootAnimation animation="/system/customize/resource/bootanimation.zip" />
</BootConfiguration>

Which I could edit to get new one working. But there's 11 different HTC_xxx.xml files with basically the same stuff in it as default.xml.. which will I need to edit to get it to work?

Also are there language files somewhere I could delete to save space, since I'll never be using anything other than English?
[Legend Android Development] Kot_Ik:
I've make a wipe, so there is no /data/local directory. At rom boot i see message in logcat "mkdir failed for -p. Read-only fle system". This message is produced by sysinit script (tolbox mkdir -p). So there is no /data/local/init.d directory, only /data/local/init.d file whith last init.d script text in it.

What can i do for this issue? Busybox mkdir applet works well, and can create smth like /data/local/a/b without existent /data/local/a.
[Legend Android Development] ogo2:
mcc: 284

mnc: 01
[Legend Android Development] ogo2:
Yep, very soon will be updated. :)

Just need to sleep some hours first... :D
[Legend Android Development] andrekua:
This is the one that I encounter earlier.

What I did was boot into Clockwork Recovery, Partition and mount /data. Then I can adb shell touch /data/local/ without error.

I did flash the zip earlier without running the command and run the command on my 2nd reboot
[Legend Android Development] Bricolo_fr:
thanks for the explanations :)

is there a way to put the dalvik cacke back to /cache, for those who don't use data2ext? (would there be any drawback to this?)
[Legend Android Development] Kot_Ik:
my mistake. post deleted, sorry
[Legend Android Development] lessirey:
^ +1

I badly need some space freed from the internal storage, i got only damn slow micro sdhc cards in my locality so really wont dare to try data2ext till i get my hands on some damn good sd cards.
[Legend Android Development] TheGrammarFreak:
I have a class 6 SD card, and I still get horrendous lags sometimes.
[Legend Android Development] TeCH-Guruz:
I am using class 6 and so far the only time I had any lag is when I am installing from the market.

I don't see the problem with internal storage neither I have over 300mb left.
[Legend Android Development] TheGrammarFreak:
Hmm... Mine is not good. Sometimes it's fine, but at the moment it's unusable
[Legend Android Development] Bricolo_fr:
:)

anyway, I'm not really familiar with the data2ext concept (neither am I with the whole android filesystem) but it seems a bit odd to me that using the sd card is faster than using the internal storage

did htc really put such a cheap and slow internal storage, slower than going through an mmc controller and a sd card? :eek:
[Legend Android Development] joq3:
I understand what to do, but not how to do it.

Using filemanagers like Astro or ES I can edit modules file, but not save it. It's read only. And should I only add "ipv6" to the text-file?

How can I do this with only read-access?
[Legend Android Development] BlaY0:
Lots of questions... you guys should consider reading some Linux for noobs tutorial.

Nothing is really complicated. You just need to fsck your ext partition. While in normal mode just go into adb shell and execute "e2fsck /dev/block/mmcblk0p2"

You need to edit one that has your CIDs' name in its filename.

Langugage files (translations) are inside framework files. I wouldn't recomend you tweak those if you don't know where or what...

If there's a file /data/local/init.d, then a directory /data/local/init.d can not be created. That's a fact. You have to remove init.d file and only then you could create a dir with a same name.

There are "M-Tel Internet GPRS" and "M-Tel MMS" APNs defined in the HTC's framework configuration, so they should be configured upon fresh start.

Back? What do you mean by back? There's no back because dalvik-cache has never beed in /cache. At least not in any stock HTC ROM. I said I use it for framework dex files which take aprox. 20 MB.

Why would HTC put extra fast NAND chips into their device? And yes, SD card can be faster if it is of higher class and partitioned and formatted the right way.

You could do that via adb. Or just change permission of that file via adb and then you will be able to edit it via Astro:

adb shell chmod 666 /data/local/modules
[Legend Android Development] Bricolo_fr:
back as "back the way you used to do it when you used /cache for framework dex files"

Using 20MB of this 40MB partition is already nice, since it spares 20MB of the /data partition for those that don't use data2ext :)

ok for the SD card. I just did find this odd, that the external card through an extra controller was faster than the internal storage
[Legend Android Development] andrekua:
Can anyone double confirm this bug?

If you launch the keyboard in portrait in browser and then rotate it to landscape, it will have a bar (sizes changes on each tries and color is either white or black) on the top of the keyboard which block the view of the text box or whatever that you are viewing. I have reboot and still same problem.

Tap the text box in portrait mode and rotate to landscape. Its there 50% of the time. When its not there, I just had to close the keyboard, tap somewhere else to clear the cursor, tap onto the text box again, and there it is.
[Legend Android Development] TheGrammarFreak:
You went for an answering spree there BlaY0, nice. Did you give any thought to using 2 ext4 partitions for data2ext?
[Legend Android Development] BlaY0:
Why two ext4 partitions? I already said weeks ago when I was testing that the more complicate the setup, the more trouble you gonna have.

Database performance is definitely the best when on ext2. If I put that on ext4 even without journaling, it crawls like hell.

The best performance I got was ext2 image on aligned fat32 partition. Second best was setup that is used right now in test2... it is plain and simple ext2 with 4kB block on second partition. This setup is by far the least complicated. Third would be for example ext4 writeback on second partition with ext2 image on it for sqlite (Mdj is using this one). And fourth aligned fat32 on second partition and two images on it... one ext4 for general purpose files and one ext2 for data (sqlite).

More complicated setups pose a serious problem on shutdown/reboot because you can't posibly unmount all partitions the way they should be unmounted. Even bigger mess is done by overlay.

You can try by yourself converting ext2 partition to ext4 and test that setup. Don't forget to load ext4 modules (see 1st post) and editing data2ext script replacing "-t ext2" with "-t auto".

And I strongly suggest not to use overlay simultaneously with data2ext while in test phase till I figure it out how to safely unmount everything on shutdown/reboot.
[Legend Android Development] ogo2:
Desocialized version is updated. You can check it here:

http://xdaforums.com/showpost.php?p=9759943&postcount=107

:)

@BlaY0: I edited my old post, there is no need to change the link in the 1st post, exept that this build is based on B0.2.
[Legend Android Development] TeCH-Guruz:
B 0.2 is running fine for me very fast the only problem I have is battery drain 100%-0 in 8 hours 4 hours on 4 hours standby @ 768mHzand @ 35% battery setcpu pulls back the overclocking to stock 600mHz.

Maybe I should have mentioned I am charging via usb on my pc.

2nd battery cycle via usb
[Legend Android Development] BlaY0:
Weird. I have here 1.5 days and 30% left with extensive use of Wi-Fi.

PS: I edited 1st post adding some notes...
[Legend Android Development] r3ptil3:
rom edit q

hi there blay0 n ogo2

love the work u both r putting into this rom

@ ogo

im using ur ROM, n i use handcent sms, and dialerone

how would i go about removing the stock messenger app and the dialer app n make my legend uses the two apps above instead? is it safe to do so?

everytime i get an sms, both handcent and the stock messenger bring the message up and i cant seem to hide the notifications from the stock messenger

or am i just missing some setting somewhere where i can make the stock messenger app stop bringing up the notifications? i tried looking in the settings for the stock messenger and disabled everything and still no luck

even better, are you able to make a change to the rom to do this? haha

cheers mate! =)
[Legend Android Development] TeCH-Guruz:
I have read somewhere that usb charge discharges faster than a proper charge.
[Legend Android Development] loscassapalle:
i read about ghosts, but i still don't believe LOL
[Legend Android Development] Dr.Romca:
Hi BlaY0!

Can you help with the data2ext?

this is my logcat:

I//system/xbin/sysinit( 65): Initiating data2ext mode...
I//system/xbin/sysinit( 65): Waiting for SD card to settle...
I//system/xbin/sysinit( 65): Executing file system check...
I//system/xbin/sysinit( 65): e2fsck: not found
I//system/xbin/sysinit( 65): e2fsck: not found
I//system/xbin/sysinit( 65): Partition check failed, manual intervention requi
red, reverting to normal mode...

I created the partition by PAragon Partition Manager (not much options there)

formated as Ext2 (size 768MB)

Do you have any idea what's wrong? As a windows user I don't have much options with ext partitions...

Much appreciated!
[Legend Android Development] TeCH-Guruz:
Lol true but I am going to do 2 charge cycles of usb an 2 of mains charger and see if there is any differece.
[Legend Android Development] BlaY0:
Yes I have, you should too... you have lost e2fsck somehow or you are not using B 0.2 ;)

Better by definition is charging via USB coz you charge with lower current. But it also lasts longer to charge that way.
[Legend Android Development] waterpolo:
Which XML files did you edit?

I want to make a more clean ROM by deleting more apps which I don't use.
[Legend Android Development] Dr.Romca:
Damn, sorry a windows user here ;-) I really have no idea what e2fsxk is. But, I'm using B.01 and I kile it that way for now, so the question is, is there a way of using your data2sd with B0.1 ? THnak you!
[Legend Android Development] TheGrammarFreak:
Ye, but it's not worth the effort. Use 0.2, it's better ;) You can't use data2ext with 0.1 as the scripts relies on e2fsk, which 0.1 doesn't have.

echo "Executing file system check..."
if e2fsck -pf $EXTPART || e2fsck -pf $EXTPART; then
echo "Mounting ${EXTPART} to /data..."

e2fsck is a linux app for checking filesystems.
[Legend Android Development] snakehult:
Start stock mess

Press menu choose settings then untick notification.
[Legend Android Development] Julius.Nkemdiche:
Hey!

BlaY0 your rom is wicked btw. I've removed a couple of HTC widgets and their apps, annoyingly however I'm left with a few dud widget entries in my widget add menu which obviously don't work. How can I remove these entries from the menu?

Thanks for your help.
[Legend Android Development] Julius.Nkemdiche:
I too am having this problem with my battery and I charge via the mains.
[Legend Android Development] Julius.Nkemdiche:
May I ask how you have 300mb + internal storage? After I move dalvik I'm left with 175mb straight after installing BlaY0's Rom fresh.
[Legend Android Development] TeCH-Guruz:
You can ask but I really don't know. I have installed a few apps now and have 290mb will upload a screens once I'm on my pc. Could it have anything to do with your hoot version? Mine is 1.01
[Legend Android Development] xennr3:
with data2ext enabled i also had 330+ mb auf free internal space...

but for now i switched back to normal 0.2 with out data2ext or a2sd
[Legend Android Development] Snowtoad23:
From what I know the CID is a massive number while these ones are just three. How do I find out which one is relevant?

Also same with the MNS files..

Cheers
[Legend Android Development] TeCH-Guruz:
Grab terminal emulator and type

getprop

That will give you your cid
[Legend Android Development] Snowtoad23:
[ro.cid] ?

I get VODAP021 which doesn't relate to any of the HTC_XXX.xml files in \system\customize\CID....
[Legend Android Development] TeCH-Guruz:
Yes that is your cid not sure bout the xml files but min is HTC_001 which I am guessing would be a relevant xml
[Legend Android Development] TheGrammarFreak:
There will be some XML files somewhere, not sure where/what they are though
[Legend Android Development] Snowtoad23:
I removed some widgets through Android kitchen, just deleted apks, and I don't see them listed on widget menu. I think they're only added when the widget apk is installed.

So you reckon if I edit HTC_001.xml it will work for changing the bootscreen? What are all the others for?
[Legend Android Development] TeCH-Guruz:
Really not sure what I ment was as my cid is HTC_001 for my fone I would edit HTC_001.xml I am guessing that you have debranded your phone with a goldcard and I am unsure which .xml would be best for you to edit.

I suppose you could always try editing 001 see if it works if not try 002 ect ect until you have found the correct 1. I know that isnt exactly te quickest way but thats all I can think of and a bit of trial and error never hurt no 1 ;)
[Legend Android Development] TheGrammarFreak:
Trial and error hurt Chainfire, he completely bricked his Galaxy Tab
[Legend Android Development] BlaY0:
No. If your CID is VODAP021 and you have no VODAP021.xml in /system/customize/CID, then default.xml is used.

Sent from my HTC Legend
[Legend Android Development] Julius.Nkemdiche:
I just cleared the cache for HTC Sense and those broken widgets went.
[Legend Android Development] whitetigerdk:
Will host on own server shortly..
[Legend Android Development] BlaY0:
Thanx m8 ;)
[Legend Android Development] grlayouts:
I would host but don't have the file
[Legend Android Development] loscassapalle:
installed, so first of all...tnx :)

i've 2 questions:

when you'll release an update, there is a way to don't miss every setting, homescreens or installed apps?

there is a way to install that kind of "widget" that CM have when you scroll down the notification bar?