Camera problem (again) - PDA2, XDA IIi, 2020i General

A few months ago there was a number of threads about the problems with the HTC Alpine camera, and someone found that there was a fundamental hardware fault which causes alternate lines in the picture to be swapped, thus the appalling quality of the pictures.
I also recall someone posting a small program (or a link to it) which would take an afflicted BMP file and correct this problem, but despite searching the forum I have failed to find it.
Would anyone be so kind as to remind me where to find this program, or is there another solution to this fault?
Thanks in advance.

http://forum.xda-developers.com/viewtopic.php?t=38007
:lol:

smcaul said:
http://forum.xda-developers.com/viewtopic.php?t=38007
Click to expand...
Click to collapse
Thanks, I tried one of the ROM images kindly provided, but the problem with the line-swapping on the pictures is still there.
In deperation I spent ages searching my very disorganised PC for that little program I found on xdadevelopers which swaps alternate lines and thus restores the pictures to the glory that HTC's abysmal engineering deprives them of.
Eventually I found it. It is called BMPChop.exe. It is a command line program to run on a PC, which swaps alternate lines then compresses the BMP file into JPEG, with the chosen compression level. The pictures look so much better once this has been done!
If anyone is interested, I can post it on this forum again (which is where I originally got it from).
But going back to the supposed camera-fixed ROM images, what has been changed other than removing the o2 camera patch? Has the ROM's author added his own patch to fix the line-swapping problem? It's just that I didn't find any improvement when using this ROM.
cheers

I would be interested to try the programme if you could post it on the forum, thanks.

Here it is:

many thanks. 8)

To be honest I can't see a difference between the 2. I took a picture with just a plain BMP file, converted it using the BMPChop and compared it with the new file and couldn't see a difference.
What command line are you supposed to use?

I used "BMPChop filename.bmp /100". The /100 sets highest JPEG quality. I have tried lower values but there is an obvious loss of quality.
The improvement in picture quality after running this program should be quite obvious, especially on diagonal edges and other line details, such as spectacle frames, which look jagged in the original images, especially if you zoom in a bit.

Related

Images in Opera 9.5

Can someone explain what is going on with images in Opera 9.5?
In 8.65 images were downloaded in native format: zoom in and you could see all the detail; download and you would have the original image in all its glory.
In Opera 9.5 all I get is blocky, condensed images: zoom in and all I see is a mass of coloured blocks with no detail; downloading images is useless.
The worst part of this is that I can't read the xda forum properly (I can't decipher images posted of rom benchmarks and the like.)
Why is this, and how can it be corrected?
First off.. you couldn't have posted in the opera 9.5 thread?
anyways, are u using the latest build? i was browsing xda-devs for a good hour last night before going to bed with opera 9.5 and it worked flawlessly.. the word wrap feature made reading through posts a breeze!
what internet connection are u on and how many other apps do you have open?
I did originally post this in an Opera thread but it just got lost amongst the general exitement, without receiving any response. I am grateful that you have taken the time to look at it.
Don't get me wrong; this is an excellent app port. It runs very smoothly and is great to look at. Kudos to the devs.
I just assumed that there must be something in the settings that controls the rendering of images, as i get images that have greatly reduced detail downloaded. This happens regardless of my connection type and available system resources.
Maybe its a quirk of the Presto system. Does no-one else experience this? (it is not immediately apparent only shows up when you either 'save as' an image or when you zoom right in.
i too get this problem.
when first installing the app all pictures seem fine.
after using it a few times, id say maybe five or six or maybe after a soft reset that this starts happening.
I too have noticed that Opera does some kind of image processing that degrades the image quality. Even when I go directly to the image URL I often can't zoom to a true 100percent. On some occasions images are completely pixelated and undecipherable. Not all the images on a page will degrade the same amount, either. This is one of my pet peeves about the new Opera, I hope it is a bug and we find a fix in the near future.

Problems with modifed Startup-GIF´s

Hello everybody,
this is my first post in this forum and my english is very bad, because i am an bavarian noob I take my german text to the google-translator an this is the result:
I have tried to change my startup screens what has failed miserably. I have the original files with the trail version of Ulead Gif Animator processed and pushed to the Hero. The results you can see here. I have the orig. and modifed attached files. Can anyone of you tell what went wrong?
Thx,
the bavarian opallabtb
I noticed whilst browsing the Hero file system (in root somewhere) that there are a number of config files for boot and on my Orange Hero, an Orange startup animation.
No idea how you do it (rooted & text editor maybe), but you will probably have to edit these
thank you joemax for your quick answer.
There is only one xml file in the folder /system/media. It calls boot_animation.xml
I didnt touch this file. The names of the modifed files are the same as the original ones. Is it possible that the Ulead gif animator change anything in the gif file (transparent background, etc)?
greets
Sorry, I have no idea then. My depth of knowledge at this point is very poor
Can the Hero actually play the gig animation you copied across ?
I use ASTRO to browse my Hero, it plays and views images, video and gif files. Try to see if its actually playable 1st.
Sorry but thats all I can think could be causing it.
I bet you crapped yourself when you first saw that messed up boot screen
I've had a look at the gif files you're using and they differ from the originals. The ones you made, each frame has different background properties. If you look at each frame in the original, they're all 320*480 with a background colour index of 199; they all have a black (transparent) background of 320*480.
But the modified gifs have frames which don't have the same sized and colour index backgrounds, and this is the only thing I can see that would cause the problem. When you view them in windows picture viewer, they show up fine; I think it's something to do with the transparency and the fact that the first frame IS the right size and colour but the rest are not.
In fact now that I look at your video again I'm certain this is the case. I know how to fix this, what program did you use to modify the frames?
Edit: Okay maybe I should read posts better, you used Ulead Gif Animator. If you can send me the individual images of each frame I could put this together for you in a way I'm sure will work
Hi,
thank you for your support!
Switchbitch said:
I bet you crapped yourself when you first saw that messed up boot screen
Click to expand...
Click to collapse
lol, yes it was. I thought I would have an expensive paperweight
I dont know how to do this:
Switchbitch said:
If you can send me the individual images of each frame I could put this together for you in a way I'm sure will work
Click to expand...
Click to collapse
Can you take the Frames/Pics or whatever you want from the "modifed.zip" package?
Thank you!

[BOOTSCREEN REQUEST] - Stargate "Puddle" Effect

What I would like to see for a bootscreen on the Hero is an animation of a Stargate locking in the seventh chevron then the splash coming out to encompass the entire screen. As it recedes back to the gate it leaves the word "ANDROID" in the event horizon overlaying the puddle effect then have four little green android characters with P-90s run through the gate before the animation ends.
Any takers on creating this? I don't know enough about creating video and effects to even get started on something like this.
Dude u read my mind...that would be awesome.. massive stargate fan here..lol
Intresting..... i will follow this thread
I'd be willing to toss out $20 (maybe more if it's a really high quality job) if there are any experienced graphics designers out there who could make this happen.
if anyone knows how to do it it is tristan202...
Does this help????
Woops,... 2 mins,... Cant use .rar,.... try again,....
OK,... here goes again.
I was previously advised (by Tristan202 at http://forum.xda-developers.com/showthread.php?t=645244) that the Hero 1st plays one gif just once, then loops another... So.. Each ZIP file contains 2 gifs,... one of the "puddle" in action,... one of just the outro,...
All are 320x180 resolution,...
Latency setting on BEST was set to 50ms...
Latency setting on MED was set to 75ms...
Latency setting on LOW was set to 100ms...
Now need to find an simple method to apply them. I'll leave it to you guys to do the research for me aswel. Get cracking and let me know,....
Peace
Shizzle,..... I've just re-read the 1st post,.... And realised what I've supplied isn't quite what you wanted!!!!!
But it is better than a poke in the eye with a sharp stick.
Its just the "puddle" taken as it is, no custom characters and stuff.
Sorry,...
Found this,... But still dont know where the hell to begin!!!!!
ddotpatel said:
Shizzle,..... I've just re-read the 1st post,.... And realised what I've supplied isn't quite what you wanted!!!!!
But it is better than a poke in the eye with a sharp stick.
Its just the "puddle" taken as it is, no custom characters and stuff.
Sorry,...
Click to expand...
Click to collapse
You are correct, it certainly does beat a poke in the eye with a sharp stick! So you found these animations or did you make them yourself? The geek in my is wondering which episode(s) they were taken from
navalynt said:
You are correct, it certainly does beat a poke in the eye with a sharp stick! So you found these animations or did you make them yourself? The geek in my is wondering which episode(s) they were taken from
Click to expand...
Click to collapse
S01 Ep04 !!! Haha.
Yeah I made them, using "Video-AVI to GIF Converter". Didn't take long at all.
Unfortunately I can't open ZIP files at work, so I can't see exactly what you've posted, but if it's what I'm thinking that's still sweet.
Once I get home (and figure out how to switch out boot screens) I'll probably be using this , thanks ddot!
Ogre840 said:
Unfortunately I can't open ZIP files at work, so I can't see exactly what you've posted, but if it's what I'm thinking that's still sweet.
Once I get home (and figure out how to switch out boot screens) I'll probably be using this , thanks ddot!
Click to expand...
Click to collapse
No worries,.. I'll have a look for more instructions tmorrow if i get time,...
Guys check this out,...
[KITCHEN][MARCH 25 '10] HTC Android Basic Kitchen, v0.25 - for Beginners! [PC / MAC]
I haven't given it a try myself yet though.
I had a go at this and I'll show you how far I got (see attached update.zip for flashing through recovery rom).
I'm new to making bootscreens, but I studied a few I downloaded and learned how to sign an update zip. (Can't seem to generate my own pem/pk8 key files, when trying to apply the zip signed with my key it keeps saying that the files are unsigned, but the testkey files included with the signapk zip I grabbed work fine to sign). Also I didn't use zipalign, haven't worked out how yet, or is that only done on APK files?
Anyway, I noticed when I used GIF files that use pixel cropping (leaving out unchanged pixels in subsequent frames) the image gets all distorted, like a TV broadcast signal problem. So the resulting GIF files are larger than the originals, as each frame is a full frame.
However there is still a problem with some frames in the first GIF, still some distortions, although nowhere near as bad as on my first try with cropped frames... Also I don't really like the way the 2nd GIF loops as you can clearly see when it jumps from last frame, to first frame...
phaelox said:
I had a go at this and I'll show you how far I got.....
Click to expand...
Click to collapse
Wahey,... Its good to know some-one is having a play.
Unfortunately all of ...
phaelox said:
(Can't seem to generate my own pem/pk8 key files, when trying to apply the zip signed with my key it keeps saying that the files are unsigned, but the testkey files included with the signapk zip I grabbed work fine to sign). Also I didn't use zipalign, haven't worked out how yet, or is that only done on APK files?
Click to expand...
Click to collapse
... doesn't mean a thing to me so I cant give any input whatsoever.
phaelox said:
However there is still a problem with some frames in the first GIF, still some distortions, although nowhere near as bad as on my first try with cropped frames... Also I don't really like the way the 2nd GIF loops as you can clearly see when it jumps from last frame, to first frame...
Click to expand...
Click to collapse
I am planning on trying to teach myself and make some more tonight using Photoshop instead of the automated software I used last time,.... But what Id like to know is,... As it is,... Does it play landscape, stretched across the whole screen?.... If it does then the issue is just the resolution (as I sized it to play in in the middle of the screen in portrait mode) and in theory should be easy enough to resolve (once I know how to use Photoshop that is).... Let me know please.
Thanks.
No, it shows portrait, vertically centered (so 150px high black bars above and below the animation). You wouldn't hold your phone sideways while booting, so it seemed awkward to rotate the files 90degrees.
Basically the only problem is the "glitching" in the first GIF. I'll have another go at that one later. I think it's to do with palette compression.
Also, I used your 'BEST' zip, so I'll see about quality/size difference with the other ones.
phaelox said:
No, it shows portrait, vertically centered (so 150px high black bars above and below the animation). You wouldn't hold your phone sideways while booting, so it seemed awkward to rotate the files 90degrees.
Basically the only problem is the "glitching" in the first GIF. I'll have another go at that one later. I think it's to do with palette compression.
Also, I used your 'BEST' zip, so I'll see about quality/size difference with the other ones.
Click to expand...
Click to collapse
When you say "glitching",... do you mean it doesn't play smooth yeah,... a bit jerky?
If that is what you mean then yeah, the other ones might play smoother. This might be because there are so many frames in the BEST one. The lower quality ones have less frames so can be processed faster.
Even if I just open them on my lappy in internet explorer, the best quality one doesn't play as nice as the lower one.
So the update.zip that you create,... Does that just put the files in the right place and tell the phone what files to open up when booting? Or do you have to add the black bars, tell it to play landscape or portrait, make it play only once/not loop etc,....
That's something I'd like to be able to do too.
ddotpatel said:
When you say "glitching",... do you mean it doesn't play smooth yeah,... a bit jerky?
Click to expand...
Click to collapse
No, I mean it glitches like a bad tv signal. I don't really know how to describe it. You can however safely flash the update.zip I posted to see what I mean. You can always flash back a stock bootscreen (with or without sound); I've attached them to this post (grabbed these off of xda myself a while ago).
ddotpatel said:
So the update.zip that you create,... Does that just put the files in the right place and tell the phone what files to open up when booting? Or do you have to add the black bars, tell it to play landscape or portrait, make it play only once/not loop etc,....
That's something I'd like to be able to do too.
Click to expand...
Click to collapse
Just unzip my zip file and peruse the files. That will tell you a great deal. You can delete the following three files, as they are created by the signing process:
META-INF\CERT.RSA
META-INF\CERT.SF
META-INF\MANIFEST.MF
This file contains the command to copy the files to the SYSTEM: volume on your device:
META-INF\com\google\android\update-script
And this file tells Android how and which files to display:
system\media\bootscreen\boot_animation.xml
There's 3 bootconfigs in that file, but the top and bottom one are commented out (could've deleted them, but oh well). So the middle bootconfig is the one to play around with. The ScreenX and ScreenY values are offsets from top left corner of screen in portrait mode. And useAudio tells android to play or not play the mp3 file (none included in my zip).
EDIT: The black "bars" are there, because as specified in the xml, it uses a GIF file that's 320x480, fully black, and the other 2 gifs are smaller, displayed on top of that black background.
If you wanted to have this animation play in landscape mode, you just need to physically rotate the GIF files 90 degrees right (or left) and resize the animation to make it fit the screen. If you make it 480px wide, then it would be 270px high, so that'd leave 320-270=50px of blackness. Vertically centering the animation would mean a ScreenX value of 25 and a ScreenY value of 0. Or leave both at zero to have the animation stay at the top of the screen in landscape mode. That way you have one black bar, at the bottom, 50px high. Make sense I hope?
One more thing: the update-script and xml file need to be saved in UNIX ASCII format. Use a text editor like UltraEdit (shareware) or Notepad++ (opensource freeware) if you're on Windows.

Pure's Default Registry Settings

Hello everyone. I've got the HTC Pure from AT&T. I was reading through some other posts about registry tweaks to improve the performance of the camera, unlock picture modes, increase photo quality, etc. All of the tweaks seemed relatively harmless to the phone, and the only risk was to the camera if something didn't work.
Well something did not work, but I'm not sure what it was. Some of the tweaks worked fine (like unlocking Sport and Burst photo modes). However, now whenever I take a regular picture with the camera the phone freezes when it displays the picture I just took. The only thing I can do at that point is press the "end/hang up" button to return to the main Today screen in TF3D. But then when I return to the camera app it won't load, and the picture I just took was not saved either. If I run the cleanRAM app, the results show between 1-2megs freed up, then the camera app responds again, but still the same end result.
I've reviewed all the settings in HKLM>Software>HTC>Camera and everything there and in those subfolders appears normal. But I don't remember what the settings were originally. I'm hoping if I return the camera registry settings to their default values this problem will be fixed.
Does anyone have a list of the default HTC camera registry settings? Also, what are the other registry keys that affect the camera besides the folder where I've been looking?
By the way, I did post this same question in the "Windows Mobile General" section, but a senior member suggested I post it here instead. I'm relatively new to this site and didn't realize a specific section existed for the Pure/TD2.
There are multiple keys throughout the registry that affect the camera.
You may need to do a hatrd reset to get it back.
I'm trying to avoid that. I was hoping that someone had a stock rom and could export the registry for me to compare, or at least the sections affecting the camera.
If someone out there (who has NOT modified the registry sections for the camera) could just share the info that would be great.
eldavar said:
I'm trying to avoid that. I was hoping that someone had a stock rom and could export the registry for me to compare, or at least the sections affecting the camera.
If someone out there (who has NOT modified the registry sections for the camera) could just share the info that would be great.
Click to expand...
Click to collapse
i wish i could help you because i had a at&t pure too, but i'm already change the values of the registry and i don't have any idea wich could be the originals.
by the way, i have tried to change the values of the size of the pictures taken in modes busrt and sports, and screwed my camera jajaja
i don't remember the values of the keys that i've changed, so i just put a more logical number and my camera worked again!!!
excuse my english
hugulugu said:
i wish i could help you because i had a at&t pure too, but i'm already change the values of the registry and i don't have any idea wich could be the originals.
by the way, i have tried to change the values of the size of the pictures taken in modes busrt and sports, and screwed my camera jajaja
i don't remember the values of the keys that i've changed, so i just put a more logical number and my camera worked again!!!
excuse my english
Click to expand...
Click to collapse
well, my phone is not working fine, so i have do a hard reset and now i have the original values of the registry, so if i could help you, just tell me what values you need.
hugulugu said:
well, my phone is not working fine, so i have do a hard reset and now i have the original values of the registry, so if i could help you, just tell me what values you need.
Click to expand...
Click to collapse
That would be amazing and really helpful! If it's not too much trouble, after your hard reset, just export the entire registry so we'll always have it as a reference going forward for anyone who needs original values.
Ok, so I finally broke down and did a hard reset on my Pure. It's a pain in the butt, but there was no other way to fix the little irritating glitches that I was having.
After the hard reset, the VERY FIRST thing I did was install PHM Registry Editor and export a backup of the entire registry. I also created a separate backup of the camera settings in HKLM>Software>HTC>Camera, because that was where I think the problem was coming from.
However, PHM creates .rbk files, not .reg files, and I don't know how to view them. It's all a jumbled mess when viewed with Notepad. There is no option to change the exported backups to .reg files either. But anyway, at least I've got a backup file of the entire registry if I need to reference it later - I'll just have to find a way to actually view these files or change them to .reg's.

[Q] How to upload the home screen pictures ?

I saved the home screen pictures. How to upload these pictures, same with these?
Thanks~~
Anyone help ????
Click manage attachments on the additional info section.
Same as you attached the other two images
I mean ... I saved the screenshot pictures. I want to display the Picture (included home screen and phone ), not only home screen picture.
I hope you can get my meaning, my english is poor...
I think what the OP is asking is how would somebody go about creating an image that includes the physical phone; not just a screen grab of what is displayed on the phone. In the images he attached as examples you are seeing the whole device, not just a screen grab.
I've often wondered how people go about this myself. I guess you just find a decent hi-res shot of the phone and Photoshop a screen cap onto it, then 'shop the outcome onto a nice background?
DirkGently1 said:
I think what the OP is asking is how would somebody go about creating an image that includes the physical phone; not just a screen grab of what is displayed on the phone. In the images he attached as examples you are seeing the whole device, not just a screen grab.
I've often wondered how people go about this myself. I guess you just find a decent hi-res shot of the phone and Photoshop a screen cap onto it, then 'shop the outcome onto a nice background?
Click to expand...
Click to collapse
Yes!!! you get my meaning!
However, I am disappointed. I think some website will help me to create the image if I provided the screenshot and select my phone model.
eatingking said:
Yes!!! you get my meaning!
However, I am disappointed. I think some website will help me to create the image if I provided the screenshot and select my phone model.
Click to expand...
Click to collapse
If it were me i would just find a nice picture of the phone, resize the screen capture to fit the screen area on that picture and paste it on, and then paste the resulting image onto a background. Using a drop shadow around the phone image would give a sense of depth to the whole thing, making it look like the phone was above the background.
There's probably better ways of doing it but i'm just a n00b in these matters.
Ah i see. Yeah these are all achieved in photoshop and to be honest are simple to create.
If you are feeling a bit daring you could also create the phone though with the below a base guide for creating the whole image (i know the tutorial is on the ipoop but it'll serve its purpose as an example i suppose );
http://10steps.sg/tutorials/photoshop/create-an-iphone-from-scratch-in-photoshop/

Categories

Resources