[Q] what is the .jpg format used in htc firmwares ? - HTC One X

Hello there ...
I didn't found any information about the special .jpg files format used by htc for some images.
I imagine that these files are using an alpha channel ... but Photoshop is unable to read them. Any soft to convert these specials .jpg to .png ?
See attached example.
Thanks !

not sure if this will work but used it with m10 editor to change images in a rom.
http://pixlr.com/editor/
allows you to save images as .png after editing

exocetdj said:
not sure if this will work but used it with m10 editor to change images in a rom.
http://pixlr.com/editor/
allows you to save images as .png after editing
Click to expand...
Click to collapse
thanks, but the image was converted in png as it was in jpg format ... no conversion, no special jpg format detection ...
very strange this format !

Related

PowerOnOff Animation

Lets start again with these Pictures *.img
Header
compress LZ
Okidoki... seems compressed.
Now I found in bada SDK files.
Original BMP files from little bada...
Check out:
PowerOnOff.ini
AnimationType=bmp
Then also PowerOnFlash=power_on.swf
Maybe we find working solution.
Theory:
1.
Find way to decompress or compress to make valid *.img.
2.
Change *.img into something else accepted from handset...
*.bmp
*.swf
Maybe QMG is possible, like in Themes?
*** who knows...
3.
Do nothing... wait...
Best Regards
I think it's more power_on.swf than img files.
If possible if I find someone who works on flash, will try second possibility.
Sorry,能用中文解释下吗?thanks
What we know about *.img
Resolution is 480 x 800 Pixel (S8500/S8530).
"Level 1"
Find *.img with 1 Color...
I found black.
Then I replaced all files by same black Image...
"Level 2"
I need second Color... I think I know where to find... I think it will be white...
Best Regards
So I have now 2 Colors. Black and white, both are 480 x 800 Pixel.
If you compare both files you see around 391 Differences... hmm most Value:
F8/F0
Please. I wish to find more 1 Color *.img files.
Maybe then users with more brain can find algo, or Tool exists to create these Pictures...
Best Regards
I think I know what it could be... maybe.
TIFF compressed Bitmap *.tif ... LZW Compression.
Maybe some Header changes...
Edit...
Several Compressions for TIFF exists... depend on Grafik Tool...
PowerOnOff.ini is 3 times in Wave... if different depend on Branding:
\Registry\
\Settings\Default\Registry
\SystemFS\Settings\PreConfiguration\Default\Registry
All 3 files are not writeprotected. You could:
(A) Delete PowerOnOff.ini
Silence + no Animation
(B) Edit PowerOnOff.ini with other path to folder... maybe:
PowerOnAniImage0=/Mount/Mmc/PowerOnOff/Image/poweron_00.img
instead writeprotected folder
PowerOnAniImage0=/SystemFS/PowerOnOff/Image/poweron_00.img
Best Regards
Edited again.
Tested, yes it works.
I've changed path to Memory Card. Now I can play faster...
Very simple.
1.
Copy PowerOnOff folder to card.
Attention, if you choose subfolder, my path is only for Root... check exact folder or edit PowerOnOff.ini again.
2.
Copy my example to folder:
\Registry\
Nice how do you extract the bmp files?
Edit: look this video you will love
http://www.youtube.com/watch?v=Er9fhJWNL70
http://www.megaupload.com/?d=Y65D7LR1
Here are 3 different Animations:
DREI
T-Mobile
PRT Poland
In combination with my modified PowerOnOff.ini you can easily switch between them.
@ lasentenza
Nice how do you extract the bmp files?
Click to expand...
Click to collapse
BMP files taken from Language packs from bada SDK...
*.img but in this time Images and ready for open with WinImage...
Best Regards
... ... Friends IMG to edit the files and use them in the device I found this program that uses the QT ... thank by psycoy
http://www.4shared.com/file/weq4iPSk/Alcis_IMg_editor.html
@ psycoy
Please, can you upload 1 selfmade *.img as example?
I'm not smart enough to use your Tool.
*.img not open
And if I import an *.bmp and save... the result is not the same like valid *.img.
Please enlight my little brain.
Thanx in advance.
Best Regards
I've reduced PowerOnOff.ini to only poweron_00.img and poweroff_00.img.
So I can faster Brute force...
And I see better result...
Attention!
Once I made an mistake in PowerOnOff.ini and result was Bootcycle.
So please only try at your own risk.
Best Regards
Thanks a lot adfree, you find 3 animation boot
Just try it changes from bada animation
You are making great job
http://www.megaupload.com/?d=T5YF5620
I've "fixed" T-Mobile Animation, as they "forgot" 4 Pics from bada Animation...
Maybe this was the reason, why second folder only used.
I've added Orange Poland Animation...
So I have 5 Animations (second T-Mobile not included).
Maybe someone know more Animations?
Eplus?
O2?
There are many Operator... i hope.
S8530 also possible, as same Resolution.
Best Regards
Edit 1.
Found more Animation(s)
Found third Color... Now I have black, white and red.
But red is complete different and double in size... strange...
New attempt.
Created 480x800 black and white Pic and converted into QMG (Theme).
As I thought Idle_Background.qmg converted into IdleWallpaper.cbm could help.
But, QMG is to small... only 1 KB
CBM is tooo big... 1,5 MB
My black or white *.img only 51 KB...
Best Regards
adfree this is cool. I've been wanting to get to the bottom of the .IMG file mystery for awhile now.
The Alci's IMG Editor program is a mod tool for the GTA San Andreas game. I tried opening a .IMG file and it didn't work for me either. It's possible theres no connection with the QMG .IMG files at all. I'm not sure what the QT reference is in relation to.
Found 2 new Animations from American Firmware:
Entel and ViVo
Found 4. color... blue
OemBmPreShutdown: Inform the power off to CP side
Click to expand...
Click to collapse
Hmmmm... maybe Algo is in amss.bin.
CP could mean Call Processor...
Maybe this is Qualcomm Compression...
Best Regards
hi adfree
can you please give me instructions on how to use these animations???
i've stune, samsung wave , no sd card
is it possible without the card???
thanks in advance
ok i understood what i needed
i changed the 3 ini files with \Media\Poweronoff and added the files in the phone's internal memory
so yes i did it without a memory card and used t-mobile files
now i want vodafone's files because my network is vodafone
can someone upload them for me????
please do something for small wave phones
i.e wave s5250 etc thanx~
luciferps said:
please do something for small wave phones
i.e wave s5250 etc thanx~
Click to expand...
Click to collapse
sure i will do anything you want just i can't use trix as it is not working on my laptop
also i donot have a wave s5250 to do some expermints on it
sorry man if i can i will

[Q] Change the wallpaper when you call

wallpaper when you call?
I can change the course of the photos to contacts, but I just want to do it without the background
I change. I have all the system files, but I like what I've found this format, jpg and png images
M gone I got one of your i could help
http://attachments.xda-developers.com/attachment.php?attachmentid=814329&stc=1&d=1323728165
2 most possible place for that :
1- in rc1 as a .rbm file
Rsrc_S8500_Open_Europe_Common\System\Rsrc\Bmp\Black\VoiceCall.rbm
2- in ffs
sorry i couldn't find it
Why do you want to change it???
It look so nice
I know these are relative stuff
Anyway....look in RC1 file only in rbm files or wait for Ho1od until he make them viewable
Best Regards
mylove90 said:
Why do you want to change it???
It look so nice
I know these are relative stuff
Anyway....look in RC1 file only in rbm files or wait for Ho1od until he make them viewable
Best Regards
Click to expand...
Click to collapse
Hope we find design in rbm !!!

[Q] How to edit (HSMenuItem).rbm

Well, I just found where all the icons are stored. It's HSMenuItem.rbm in the RSRC1 file (folder RSRC/BMP/Black). If we could edit this, we could finally add helpful Java applications with the right (or selfmade!) icons.
Now, we can open and view rbm files in Wave Remaker, but is there also any way to edit them?
http://forum.xda-developers.com/showpost.php?p=27474504&postcount=119
Try to find Pics of same Format... maybe you can replace them.
At the moment no new Pics possible...
Best Regards
adfree said:
http://forum.xda-developers.com/showpost.php?p=27474504&postcount=119
Try to find Pics of same Format... maybe you can replace them.
At the moment no new Pics possible...
Best Regards
Click to expand...
Click to collapse
So, you already tried replacing? I noticed, same resolution, bpp, metod and mode don't necesarily mean same file size - so these files might be compressed. I then took a look at them using a hex editor and saw repeating structures inside which shouldn't be there in a compressed file. Duh...
Is Wave Remakers source code available? Cause, if it is, we could learn how these pictures are read.
http://forum.xda-developers.com/showpost.php?p=27236146&postcount=609
I have finished the routine QM_WCodec_1st_encode
Click to expand...
Click to collapse
ho1od is working on Compression Algo. :good:
Best Regards

[Q] Converting readable .xml to human unreadable android .xml

Hi!
I have not found any answers from Google so I'm going to post it here and those who can answer Thank You!
I can't recompile some apps that is secured or something like that..
I have modified Dolphin browser Beta's xml files to support Flash player on Jelly Bean but I can't make .xml files to human unreadable like how them are in the app packages.
Code:
/res/xml/webcontent_prefences.xml
default value from ON-DEMaND to true
deleted: dolphin:entries="@array/pref_plugin_state_choices" dolphin:entryValues="@array/pref_plugin_state_values"
/res/xml/browser_prefences.xml
added: <mobi.mgeek.preference.FlashPlayerPreference dolphin:key="plugin_state" dolphin:title="@string/pref_content_plugins" dolphin:defaultValue="true" dolphin:background="@drawable/settings_bg_middle_bk" />
Please help me if you know how to do that..
I have tried to compile another apk with those files but then it will fail compiling the APK and I have no idea what to do and how to do!
hmmmm... i am not programmer that makes applications , but as far as i know , XML files in APK is only for layout or resources , am i correct ?
if you wanna make your browser support flash , seems it doesn't have anything to do with XML files.
and usually , shouldn't you decompile the APK files first , and then modify , and recompile after all ???
in any case , it should be APK/XML human unreadable files ----(decompile)---> human readable and modify ---(recompile)---> unreadable again.
I'm not exactly sure what the command is but I believe aapt (from the Android SDK) is your best bet. Either that or something like APKTool or FJ-APKTools so that you can just 'decompile' it and replace whatever files you need (human-readable XML that is) and then repackage/'compile' it all up again.
Unlawful said:
I'm not exactly sure what the command is but I believe aapt (from the Android SDK) is your best bet. Either that or something like APKTool or FJ-APKTools so that you can just 'decompile' it and replace whatever files you need (human-readable XML that is) and then repackage/'compile' it all up again.
Click to expand...
Click to collapse
I have used APKtool and FJ-APKtools and no luck with those, so that's why I need to do it manually somehow..
I read from internet that somehow can do something to .xml file via aapt but I don't think it could be able to convert the .xml to human unreadable .xml

[Q] Creation of TWRP Themes for N7100

Hi
I love this recovery and I'd like to create some themes. Does a "how-to" guide already exist or can someone tell me how to create this?
I extracted the ui.zip of a TWRP Theme. I had a images folder with png, a fonts folder with .dat files and a ui.xml file.
Concerning png files I just have to modify them via Photoshop for example (same size of course) but what about .dat files and ui.xml?
Thank you.

Categories

Resources