yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] jubeh:
hence the backporting. We can use that code as a template to rotate a series of images (I know C++ but only as far as standard output is concerned, I'm studying the graphics parts of it, but it's going to take me a while)
[G1 Android Development] punkmanj:
Just a thought but doesnt the hero call bootanimations the same as droid? Maybe try to rip hero rom drivers for 1.5 and port that to 1.6?

I really have know idea about scripting/deving just trying to throw in some outside eyes from a no0b.. sometimes having someone that doesnt know what he is talking about makes sense lol.
[G1 Android Development] maxisma:
Nice find jubeh!

I hope we'll going to make it :)
[G1 Android Development] jorobochi:
There ist little howto that can help for this Project

http://labs.beatcraft.com/en/index.php?Software%2FAndroid%2Fbc9%2Fuserland%281%2F2%29
[G1 Android Development] jubeh:
Ok, here's my current understanding of the situation:

looking at the code for the 1.6 bootanimation, I'm seeing that what it does is; 1. determine the current frame that the background png is at, 2. make the alpha blend calculation and draw a frame out of it, then it repeats for the next frame and keeps on going while some property for android.start is not yet true.

If I'm understanding right, this animation binary already has the ability to handle pngs without requiring the libraries in 2.0, so libskia is possibly needed for something else.

for the 2.0 bootanimation, it looks like it first extracts the zipped files, then loads them to an array, and then does plain old animation (draw frame> clear frame, draw next frame) under the same condition as the previoius (while android.start is not true).

I'll give a second (or third, or fourth, or fifth) look at both version to see what they have in common, it might indicate how to draw the png to framebuffer, then it's just a matter of loading whatever we want into the array and making a slideshow out of them.
[G1 Android Development] djengizz:
It looks like there might also be a dependency on libbinder.so.

At least after pushing libskia.so that's the next error i am getting. Not sure what that has to do with the animation itself cause from my understanding this is a library for interprocess communication.
[G1 Android Development] tdurd3n1:
just a thought i had about this, but the blur has a animated boot, and it is running 1.5 right? it doesnt seem to work on shafty's rom but it did work in drizzy's...
[G1 Android Development] mohsinkhan47:
I was looking to cyan's framework and found the jpg and the png java files. I am pretty that just by changing the name from png to gif, it won't work because the png files are compiled diferently. So no you can't just rename it. You have to probably create a gif java class identifying the boot amination to be in gif.
[G1 Android Development] jroid:
me and djengizz have gotten the droid's bootanimation to boot up on jubeh's eclair rom. looks like eclair natively supports bootanimations. what i'd like to see get done is apng support for android in aosp.
[G1 Android Development] diaztradeinc:
Would you mind sharing how it was done, I would love to see the droid animation on my G1.
[G1 Android Development] jroid:
simply take the bootanimation.zip from the cdma droid dump in /media and adb push to /media on the G1. reboot and voila. u also can add it to the rom before flashing, sign it, then flash. This works ONLY on any eclair rom, NOT donut.

also would like to point out that the droid's animation takes some time to complete, as it has around 100 png's.. which then causes the G1 screen to timeout. my logical explanation is the G1 has already started the launcher.apk and is ready to go, but since the animation is still going, all it does is time out the screen (u can turn it on again by simple menu press ) so it seems that the droid takes longer to boot since it has such a long bootanimation. and not to mention, it looks hot ;)
[G1 Android Development] mohsinkhan47:
Can u give me the source for the 2.0 version so I can edit the 1.6 version
[G1 Android Development] jubeh:
It's been merged into master for about a week now, here's where it's all happening:

http://android.git.kernel.org/?p=pl...c;hb=9df3331836144c494524d56ca3248916e02b0d3a

and here's the whole source for the binary:

http://android.git.kernel.org/?p=pl...3;hb=9df3331836144c494524d56ca3248916e02b0d3a

---edit---

I must say, copy/paste won't work. You might as well pull the bootanimation from a 2.0 bin and toss it into a 1.6. What we want to do here is examine the procedure for creating the bootanimation in 2.0 and try to make it work with what we have available in 1.6.
[G1 Android Development] jesterdroid:
Eclair Boot Animations

hey JesterDroid here... so. i been playing with the eclair/droid animation. and have been trying to figure out how to change it to something else. not having any luck. does someone know what the image properties are to properly display each frame? as far as i can tell the image is 256x256 and also reports horizontal/vertical dpi=0 <---very strange also a bit depth of 24. now i edited a series of images to see if i can get it to work but to no avail. every image was set to these properties i found. dpi was actually 1 since photoshop did not allow 0 after i saved the image windows properties on the file did in fact show h/v dpi as 0. but even making sure the properties matched with the working images, when you boot it skips all the images i edited and goes to the ones i did not. do you think maybe the images have some kinda file hashes? is there a default template of settings i should use to format these images to work in the animation? i think this would be helpfull for this thread if we're to make custom animations within eclair. i will continue to pull my hair out in the mean time. if i happen to stumble across a solution i will let you all know.

Jester:D
[G1 Android Development] Fnorder:
Yes, you want to remove the bitmaps/metadata from assetmanager like in 2.0. I was actually making a suggestion with my last line, as I don't think raw console messages would show once surfaceflinger starts, if /system/bin/bootanim is stubbed out. With the Skia lib one can render dynamic text, so in theory bootanimation can check for /sdcard/.kmsg and poll/print kmsg instead of showing a logo.

Unfortunately I lack time to poke at something written in a language I don't use often - or reply to posts :P I almost ported 2.0's bootanimation, unfortunately the EGL library contains functions not present in 1.6, which depend on functions that are also missing. One would need to stick them (subtractSelf among other things) in BootAnimation.[ch].

If someone wants I can upload my build environment which contains the 1.6 bootanimation, toolchain, and all the required libs/headers. I also ported the cylon animation however to test it I'd need to alter whatever contains 'mAssets, "images/cylon_(left|right|dot).png"', so I have not tested it.

Meanwhile I'll work on pseudo-console output, which will probably be done after 2.0 is officially out :P
[G1 Android Development] bastards:
linux bootsplash already supports mng.
[G1 Android Development] zaliman:
can we get some real console output
[HTC Excalibur] waldozorro:
:confused: i got this error(unknow sim status error 131068) help me please
[HTC Excalibur] stylez:
Update your original post rather than starting another, respect the forum rules no double posts.

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

Thread closed.
[Off-topic] telegraph0000:
Just though I'd throw this question out...as big wigs believe that making even one coy is illegal and that if we wanted a copy that we should just buy a second dvs...what say you? Have you converted a movie to your phone? If so, do you believe that you are breaking a law as technically it is a "copy"?
[Off-topic] orb3000:
On my opinion making a copy is not illegal as long as you are not selling that copy.

If it´s only for backup proposes I think it´s ok.
[Off-topic] the-equinoxe:
Totally depends on the country you are in.

In some it is allowed (if you own the original), in some it is allowed providing you don't break any protection (!), and in some it is totally forbidden.

Regards,

EqX
[Off-topic] janneman22:
I'm the same with orb3000....
[Off-topic] DaveTheTytnIIGuy:
At least in the US, it's completely okay to make a backup copy as long as you don't give it to friends, put it on the internet, use it, etc. But IMHO, it should be legal to copy it to as many devices and computers that you have as long as

you're

using it, and not giving it to others. I have a movie on my phone, and honestly, I don't think that anybody's going to care, considering I paid for the original movie, and most people don't even do that.
[Windows Mobile Apps and Games] kane159:
here’s some screen shot on my QVGA Trinity :D

for more information please push me

:D

any bug pleasr report ;)
[Windows Mobile Apps and Games] dr_tracker:
I was missing a Calc in the cooked rom installed in my Hermes. Just installed yours, everything working fine in WM 6.5. Just one note, in your site it states that there are 2 versions, one for main memory another for Storage card. I installed the Card version but the installer asked for the location anyway, selected the card just in case.

Thanks for this fine piece of code.
[Windows Mobile Apps and Games] stylez:
Thankyou, the copy button is a good addition as the older QVGA's didn't have, will cook in later :)
[Windows Mobile Apps and Games] TheRem:
i really need that COPY function.

thanks kane159! :)
[Windows Mobile Apps and Games] SOHKis:
nice, thanks kane!
[Windows Mobile Apps and Games] TurboX2:
Im using version 1.0 (build 1917.2025) and i have a copy button...

is there any difference between the two versions?
[Windows Mobile Apps and Games] Mr. Makk:
great work.
[Windows Mobile Apps and Games] venuva:
thanx frnd..
[Shift General] rpawly:
http://xdaforums.com/showthread.php?p=4909630#post4909630
[Hero CDMA General] lorsoblu:
Hello everyone,

(Note, I did do a nandroid backup before I did ANYTHING, right after rooting)

I was having some issues with Modaco 1.0 when it was first put out, and like everyone else, got trapped in a reboot loop. Once I saw that the fix was repartitioning to FAT32, I did so, re-flashed the ROM, and I was back in. All was good.

But when 1.1 came out, I really wanted to restore to my backup to start fresh with the new ROM, but it did not work out. When I tried to do so in the recovery console, I got this error - Error: "nandroid-mobile.sh restore" from console! -

What am I supposed to do with that? I went ahead and went through with 1.1, but I am worried I accidentally closed my backdoor at some point. I noticed I lost some things from the basic ROM (such as the default wallpapers, and I had issues with Google Maps), and I am just generally worried something is fishy in there.

Any suggestions?
[Hero CDMA General] thecodemonk:
Your Nandroid backup was on that SDcard...I don't suppose you saved it before formatting it?
[Hero CDMA General] chuckhriczko:
nah. The happens sometimes. Could be your nandroid backup got corrupted or you are low on battery power. Two most common causes. I would make sure the nandroid backup is on the sd card. if so, simply try plugging it in to a power supply. Let us know if you get it working.
[Hero CDMA General] lorsoblu:
All right... I did not want to admit it but I believe what you said is probably true, and I either corrupted or simply deleted the nandroid backup during all the flashing and repartitioning. I am not seeing it at all when I mount the SD card. It crossed my mind a little too late that I should have pulled it off the card.

What are my options here? On the one hand, it is working fine for now. I had just got the Hero earlier that day (did an exchange due to dead pixels and network issues), so it was not like I lost anything important. Is there an easy way for me to go all the way back, such as flashing the original ROM to the phone, and essentially starting over, like I just opened the box and turned the phone on? That way I can do it right from the very beginning. I just worry that in all my partitioning things got scrambled, and I am not seeing the repercussions from it yet, other than Google Maps.
[Hero CDMA General] johnsongrantr:
ftp://xda:xda@ftp.xda-developers.co...U_Hero_C_Sprint_1.29.651.1_signed_release.exe

if at first you try and fail.... try try agian
[Hero CDMA General] lorsoblu:
Thanks for the link.

Is there some process to this? I mean, I understand the whole update.zip concept of flashing the ROM, but would I also need to do a complete wipe of the SD card to achieve the fresh start I am looking for? Should I partition it at only FAT32, or go ahead and setup the ext2 partition before flashing the original ROM?
[Hero CDMA General] johnsongrantr:
convert sd card to "SDPART:fat32 only" from custom recovery

et the official RUU wipe your phone

enable USB debugging in settings>applications

reroot your phone using asroot exploit

make any partition changes you want

do a nandroid backup

do a nandroid restore to verify it works

backup on your workstation /sdcard/nandroid

DO NOT TOUCH YOUR SD PARTITION TYPE AT THIS POINT

get to modding in confidence
[Hero CDMA General] lorsoblu:
All right, I am having issues already, from the very beginning.

The RUU ROM .exe will not recognize the HTC Hero. It throws an error 170 at the step where it is trying to pull information from the phone. I think this has something to do with ADB, and the fact the computer did not have the SDK on it. (I originally set up the root with my Mac.)

So, where do I go? I have a Boot Camp partition and another computer both running Windows 7, but my attempts to put the SDK on those computers and then have the phone drivers properly recognized failed on both, and the .exe still cannot complete. Is there something I am missing here, or can I somehow do this on the Mac side? I'll take anything!

Edit: Just cause I can see someone asking, yes, I tried to do this on both of my Windows 7 computers, not the Mac. I recognized that the .exe would not run on OSX pretty quickly. :p
[Hero CDMA General] johnsongrantr:
can you put your phone into fastboot (power+vol down) and get to the point where windows basically sees your phone

what you are looking for is when you type adb devices it shows your hero

fastboot might not work because it's a seperate program but try custom recovery main menu.... enable usb.... or something to that extent

I appologize I don't have my main computer in front of me so I can't tell you EXACTLY where to go

once I do, I'll find which one to hit.... it does work though because I had to do the same thing with my godly preaching of backups :blush:

it's one of the recovery areas though i promise

fastboot will see the hero as the same device as adb will in fastboot

adb will see the hero as recovery device in custom recovery

attempt both of these I'm certain one of these work

if absolutely all else fails.... after you "install" sprint ruu search your computer for rom.zip it should be in your START>RUN>%TEMP% in here somewhere

rename rom.zip it to HERCIMG.ZIP and put it at root of your sd card and boot into hboot and it should automatically find it and press action to flash it
[Hero CDMA General] lorsoblu:
I'll give some of that a shot. I can confirm that adb devices was not showing the hero connected cause I tested that, so I have a feeling correcting that is my primary concern. What happened when I connected the Hero the first time was that it applied the drivers, but it could not find the ADB one, even after I added the SDK. So if anyone knows what that means (Windows 7 doesn't really give you an easy way to point and say, "Hey, I know what you are looking for, it's right here!" apparently, at least I haven't found it) it would be appreciated.
[Hero CDMA General] johnsongrantr:
go to htc's website and get htc sync under support>sprint hero it has the drivers built in.... should fix driver issue
[Hero CDMA General] lorsoblu:
Hey, that did the trick! Currently flashing with the official ROM right now. Thanks for all the help! FINALLY, I will get to do this right! :)
[Hero CDMA General] johnsongrantr:
glad to be of assistance
[Hero CDMA General] lorsoblu:
Actually, I do have one more question.

Following your instructions back on page 1, wouldn't I want to make the nandroid backup BEFORE repartition to fat32+ext2, so I could recover it all the way back to the standard ROM without partition alterations? Or is it necessary for me to repartition before creating a backup?
[Hero CDMA General] johnsongrantr:
you'd think so.... but from my own experience if you do a backup on a partititon then convert it... it screws with the backup and you can't recover from it.... just in case... do 2 backups.... store the normal fat32 nandroid backup on your workstation (the entire nanddroid folder) and copy it back to sd after you convert it to fat32+ext2 .... you'll see what I'm talking about....

I don't quite understand why it does that... but for me I was only successful in recovering from a partition that I made a backup to not copied to (if that makes any sence)

also if you don't want to experiement yet... just leave it fat32... you can always change it later after you see it working (sorta confidence builder before tinkering)
[Hero CDMA General] thecodemonk:
Think about it this way, you do a nandroid backup...it places it on the sdcard.

Then you go and change the format of the sd card (potentially blowing away or corrupting any data on it, including the nandroid backup you just made).

Thus why it's better to do it afterwards (besides, nandroid doesn't back up your sd card, just your phone's OS and such)
[Hero CDMA General] 28028:
solved for me

i had that problem its cuz the back up is brocken get anthoer copy of it if u hav 1 then restore it again it worked for me:D
[Hero CDMA Themes and Apps] jonnythan:
Taking some advice I saw on the BAW forum one step further, I deleted the entire /data/boot-cache directory (after doing a nandroid backup of course).

Took about 3-4 extra minutes to boot up, presumably to recreate the contents of the directory, but now all of my apps are showing the correct version, correct icon, and correct name. Haven't run into any issues yet.
[Hero CDMA Themes and Apps] gilroykilroy:
I didn't want to suggest this just in case something else would mess up. If you have a lot of bad apps this is perhaps faster than deleting each one.
[Hero CDMA Themes and Apps] jonnythan:
Hey there you are! Hah.

I did have a lot of bad apps and had some trouble finding the proper directories for a few. I had just done a backup so I thought I'd give it a try.

I also figured this was the perfect place to suggest it for people to try - around here people are smart enough to do real backups before they start deleting things ;)
[Hero CDMA Themes and Apps] goku14238:
Is this with just rooting the phone or after you install the custom rom?
[Hero CDMA Themes and Apps] jonnythan:
I haven't touched the custom ROM yet. You do need to root the phone to do this, and it must be done from a shell.
[Hero CDMA Themes and Apps] gilroykilroy:
Just rooting the phone.
[Hero CDMA Themes and Apps] Negrito:
So this fixes the issue of my chompSMS thinking its name is "com.p1.chomps..."??
[Hero CDMA Themes and Apps] jonnythan:
It should, yes. I had a bunch of apps misnamed in that way (EasyMoney, Spades, a few others) and it fixed them.

One of them, Buka Lite, reverted back, though.
[Hero CDMA Themes and Apps] mercado79:
I tried this out and all the programs I'd been having issues with were fixed. I rebooted. Still fixed.

But then I installed three updates and after reboot, the same issue came back again. There must be another cache store somewhere...maybe Android Market related, or at least the Android package manager. Either way, I guess some more digging is in order.
[Hero CDMA Themes and Apps] jonnythan:
I think there's just a bug with the way the phone handles the cache. Did the versions go back to what they were before you deleted the cache, or what they were after you deleted the cache and before you updated the apps?
[Hero CDMA Themes and Apps] mercado79:
Looks like the versions didn't revert. Last night, I used aTrackDog to send myself a list of all my apps. I can't remember the three that I updated today, but the two I do remember, Flixster Movies and Handcent did not revert.

Lastnight:

Movies,2.0.1

Handcent Sms,2.9.12

Now:

Movies,2.1.0

Handcent Sms,2.9.13
[Hero CDMA Themes and Apps] mercado79:
Well, I decided to remove Dolphin browser since I noticed it kept opening up and running in the background (active, at least that's what Taskiller says). Of course, the next reboot caused all the icons to get messed up again.

So, I thought to look for other cache directories. Does anyone think that deleting /data/dalvik-cache in addition to the /data/boot-cache directory might help? Is it safe to try it out? I'm assuming it'll just get repopulated automatically.
[Hero CDMA Themes and Apps] gilroykilroy:
After you install any updates you will have to continue to remove the /data/boot-cache version until HTC/Sprint fixes the bug.
[Hero CDMA Themes and Apps] Negrito:
Would uninstalling the original, then installing the newest version alleviate the issue? As opposed to just update the app...
[Hero CDMA Themes and Apps] jonnythan:
Nope. I even tried uninstalling, rebooting twice, then installing again. Reverted on next boot.
[Hero CDMA Themes and Apps] Negrito:
Damn. It sounded good in theory. :p
[Hero CDMA Themes and Apps] tstack77:
I had this issue with Google Sky Maps and it worked to let me back in. What was displaying after a day or so renamed itself to 'End User License Agreement' and wouldn't let me get past the EULA screen, only offering the option to force close.

The only caveat is that now Sky Maps is still named 'End User License Agreement', but it at least let's me in.

Odd
[Hero CDMA Themes and Apps] mercado79:
I tried removing both boot-cache and dalvik-cache. Didn't make any difference...eventually, the errors return if/when you update or install an app.
[Hero CDMA Themes and Apps] blankd3ckskat3r:
this must be a bug with the hero. i had the Moment and no apps renamed themselves at all. reset after reset the apps were fine. i reset my hero once and it messes up the apps
[Hero CDMA Themes and Apps] gqukyo:
Doh! Doesn't seem like there's any easy perm fix in sight... hope it doesn't happen w/ 2.0 and Sense...
[Hero CDMA Themes and Apps] r0ck0:
Its not an android issue its an HTC android issue. I bet its gonna be awhile before sprint users see an update for the Hero because of the Sensui integration. The moment could get an update quicker since its just android and hardware.

So does clearing the cache fix it at least until you install/update an app?
[Hero CDMA Themes and Apps] goku14238:
how do you remove them? I cant find a command that will let me do it.. rmdir says that it cant cuz directory is full
[Hero CDMA Themes and Apps] thecodemonk:
If you're trying to remove a directory, it's "rm -r" (stands for remove recursive).

Just be careful with that command...it doesn't ask for confirmation and you can really fubar things if you remove the wrong thing. :)
[Hero CDMA Themes and Apps] Treefallingquietly:
Does this issue go away with the custome ROM's? I don't care how 'cool' Sense is. if it has underlying bugs like, oh, I don't know...SMS draining the battery or retarded app management, I wouldn't want it on my phone anyway.

Bring on MoDaCo!
[Hero CDMA Themes and Apps] jirafabo:
I saw another thread that said to use the command of

"rm -rf /data/boot-cache"

instead of

"rm -r /data/boot-cache"

which is better? with f, or without?
[Hero CDMA Themes and Apps] jonnythan:
Same effect. -f forces deletion of everything.
[Hero CDMA Themes and Apps] 5tr4t4:
Force

I don't think there is a "-f" option in the Android rm binary. On standard *nix the "-f" means "force". In other words, "don't ask me if I'm sure (y/n) I want to delete the file, just DO it".

"-r" is needed to delete folders and their contents/subcontents, "recursive" removal as thecodemonk said.