Its prosible to convert from qmg and pio apk to png apk - Galaxy Note 4 Themes and Apps

Hi i dont have note 4 but problem started with the note 4 so i want to ask
1 why samsung uses qmg and pio and no png?
2 its posible to convert from qmg and pio apk to png apk?

look here :https://forum.xda-developers.com/note-4/themes-apps/tool-converter-qmg-png-t2916486

Well mate. In order:
1. First Samsung started to use the .Qmg and .Pio because of the reason Size/Quality, I mean, for example. A Qmg for an Icon, have 700Kb of Size, but the same, in Png, have 1Mb of Size. The same happens with Pio format.
2. Well, there exist an Apk Conversor, developed by @xperiacle. And edited by @Ale95 and his team to enable multiple format conversion compatibility. It is called Qmg2Png, and you can find it here https://forum.xda-developers.com/galaxy-s4/themes-apps/app-qmg2png-tool-t3360303 , but: You need to have a phone wich can read Qmg/Pio Image format, if you don't have it, it won't work

Well mate. In order:
1. First Samsung started to use the .Qmg and .Pio because of the reason Size/Quality, I mean, for example. A Qmg for an Icon, have 700Kb of Size, but the same, in Png, have 1Mb of Size. The same happens with Pio format.
2. Well, there exist an Apk Conversor, developed by @xperiacle. And edited by @Ale95 and his team to enable multiple format conversion compatibility. It is called Qmg2Png, and you can find it here https://forum.xda-developers.com/gal...-tool-t3360303 , but: You need to have a phone wich can read Qmg/Pio Image format, if you don't have it, it won't work
Click to expand...
Click to collapse
I nead pc tool becose my devaice is not roted

I nead pc tool becose my devaice is not roted
Click to expand...
Click to collapse
Well like you said Apk, I answer to you with what you need . But if you need Pc convertor you should use that, but its very complicated to not advanced users: https://forum.xda-developers.com/note-4/themes-apps/tool-converter-qmg-png-t2916486

Related

[Q] 2.1 Bootanimation

Has anyone figured out how to change the boot animation?
It seems it's stored in /system/media/bootanimation.zip
I tried replacing the .PNG images inside the archive and that didn't work, although I might have messed up something. I'm just glad to be rid of that dreadful SE color splash until someone else finds a solution.
finished playing with this a little while ago... when you replace the files you must use no compression, ie store. i've attached one with the android robot waving (cropped from nexus) simple, but at least the splash is gone
toreador514 said:
finished playing with this a little while ago... when you replace the files you must use no compression, ie store. i've attached one with the android robot waving (cropped from nexus) simple, but at least the splash is gone
Click to expand...
Click to collapse
Thanks for this! Looks so sweet!!
strange... I replaced one frame to see if it changed and saw nothing ( i put a big red X across one image ). I did use no compression ( kept the zip open in winrar and saved )
will try again!
morning_wood said:
strange... I replaced one frame to see if it changed and saw nothing ( i put a big red X across one image ). I did use no compression ( kept the zip open in winrar and saved )
will try again!
Click to expand...
Click to collapse
i finally found it for sure...from the zip above extract them all put your images in an then add in a zip file all of them again but you have to rename it as bootanimation.zip and you have to choose at winrar compression method store...its final and you can put anything you want...
Thank you for helping me sort this out.
Here's GLa’DOS "Android Scribble" animation for the x10 mini.
Apparently anim2 lasts a couple of seconds, and anim3 last the longest.
I lost my first x10 mini, so I added a name and telephone number for my animation after posting (and a lock screen for the phone).
if anyone want me to make any anime feel free...
here is my first one and of course greek...
http://i47.photobucket.com/albums/f172/enormous101/Untitled.gif
http://i47.photobucket.com/albums/f172/enormous101/Untitled1.gif
http://www.mediafire.com/?abm54nd13pocn1d
Noice one peeps.
Simplified it a bit down to one folder now though.
Got mine working now (needs 24bit png)
Sent from my E10i using XDA App
Hi Guys.
I've been trying to change the bootanimation, but as
I'm a little slow to understand, I have no doubt
to decompress it and stuff.
Who can explain me the luxuries of details please?
It would be a great help ...
FreddyStark said:
Hi Guys.
I've been trying to change the bootanimation, but as
I'm a little slow to understand, I have no doubt
to decompress it and stuff.
Who can explain me the luxuries of details please?
It would be a great help ...
Click to expand...
Click to collapse
1 root your phone
2 download rootexplorer(<---and install it) & any bootanimation.zip you want
3 open rootexplorer and go to your sdcard hold down your finger and choose copy
4 then go to system/media
5 at the upper of your root explorer its a button that says mount r/w make it says by pushing it mount r/o
6 push the button paste and then when it says ovewrite push yes
7 reboot and you r ready!!!!
if i make it a single file you will not have the option when the first animation is over the second to be anime it will be a still picture if you want that just leave one image in the second folder..because it have 2 phases of animation..!!!!(if you remember first when the colours where mixing and then the still image with sony ericsson logo and letters)
I've been trying to edit the desc.txt file so I can have a little more flexibility but even if I save it without making any changes it stops working.
After a look around the interwebs someone mentioned saving in the UNIX format, so I used Notepad ++ in UNIX and tried editing/saving in that but there's still problems, sometimes it doesn't work at all and sometimes it only shows the first folder.
Also, are there any limitations as to framerate and how many files can go in the part0/part1 folders (revision of enormous101's bootanimation.zip).
Finally, is it ok to add a part2?
do not use compression - use Winrar and select "store"
Mitchio said:
I've been trying to edit the desc.txt file so I can have a little more flexibility but even if I save it without making any changes it stops working.
After a look around the interwebs someone mentioned saving in the UNIX format, so I used Notepad ++ in UNIX and tried editing/saving in that but there's still problems, sometimes it doesn't work at all and sometimes it only shows the first folder.
Also, are there any limitations as to framerate and how many files can go in the part0/part1 folders (revision of enormous101's bootanimation.zip).
Finally, is it ok to add a part2?
Click to expand...
Click to collapse
as i mentioned part 2 is when the bootanimation of sony ericsson stays frozen you can add anything you want and its safe to play with part two.. no limitation except your internal storage!!!!what exactly are you trying to do with desc?may i help you?if you find my preview posts at the first page you will find to download the bootanimation.zip with two parts so unzip it and when you add your images zip it with winrar at store compression mode...
morning_wood said:
do not use compression - use Winrar and select "store"
Click to expand...
Click to collapse
Already doing that.
Maybe a stupid idea, but... has anyone tried to use transparent images?
I want to watch the kernel booting
edit: Forget this.
Nice thread!
I was wondering about the desc.txt file. I am using the Rogers 2.1 firmware and I want to remove the Rogers screen that shows up just before desktop loads. The PNG file for the Rogers screen is located in Anim5 and I was wondering if I just removed the entry for anim5 in the desc file, would that do the trick? I've already moved the original bootanimation.zip file onto my computer so it is backed up but I was just wondering if this would work. I am using a X10 but it seems like the file system is the same which is why I'm asking here. Any help would be appreciated!
hope helped
JDwan said:
Nice thread!
I was wondering about the desc.txt file. I am using the Rogers 2.1 firmware and I want to remove the Rogers screen that shows up just before desktop loads. The PNG file for the Rogers screen is located in Anim5 and I was wondering if I just removed the entry for anim5 in the desc file, would that do the trick? I've already moved the original bootanimation.zip file onto my computer so it is backed up but I was just wondering if this would work. I am using a X10 but it seems like the file system is the same which is why I'm asking here. Any help would be appreciated!
Click to expand...
Click to collapse
if you dont know how to change desc.txt then dont...unzip the bootanimation.zip change the images inside anim5 folder and then zip it but at compression mode use ''store'' instead of everything else and just put it in your phone...i cant change your desc.txt and make it into two folders because i dont own x10...
enormous101 said:
if you dont know how to change desc.txt then dont...unzip the bootanimation.zip change the images inside anim5 folder and then zip it but at compression mode use ''store'' instead of everything else and just put it in your phone...i cant change your desc.txt and make it into two folders because i dont own x10...
Click to expand...
Click to collapse
Thanks for your response! From what I've been reading, it seems that if I remove the entry for anim5 in the desc.txt, that it won't load that animation. It just seems easier to do this than to replace the image in that folder. Though the problem would then be making changes to a UNIX based txt file using a Windows OS and then the phone not recognizing the desc.txt file based on it being in the wrong format.
Anyway, I suppose I could just copy over the last image in anim4 and replace the one in anim5 with that and that would be the easier solution (as per your suggestion).
Here is the thread I was reading where it describes the desc.txt file and how to modify your boot animation.
http://www.droidforums.net/forum/droid-hacks/33932-bootanimation-zip-file-explained.html

bootanimation cyanogen mod + nexus1 + android pissing on apple, all in one!

I made (ported) a bootanimation. [MY FIRST CONTRIBUTION TO XDA SINCE I JOINED]
mixture of nexus 1(without the htc logo appearing)
+ a cyanogen 3d animation(which I got from nexus 1 themes and apps section)
+ android pissing on apple. ALL IN ONE!
http://db.tt/gMFnd2e
actually I made it for myself but thought of sharing it.
To port a animation which you like (to make is difficult than port)-
1. unzip 'bootanimation.zip' or any other name which you want to port.
2. you see 1 or 2 or more folders + a .txt file.
2. batch resize all png images in all those folders to 240*400 using 'Fast Stone Photo Resizer'.. no need to change anything else. (they would be of different resolution as they are made for different phone.)
3. edit using 'notepad++' the 'desc.txt' file and change the resolution value typed there to 240 400.
4. the folders and .txt file are ready.
5. archive these files using '7zip'
archive format- zip
compression level- store
don't change anything else and zip it.
6. YOUR BOOTANIMATION IS PORTED.
To apply custom bootanimation-
1. rename the zip to bootanimation.zip
2. move using root explorer to /data/local/ or /system/media/ either of them only, don't move to both!
3. remove 'playlogo' from /system/bin/
4. EVERYTHING DONE!! JUST REBOOT AND ENJOY!! :
WARNING- ITS THE SIMPLEST EXPLANATION EVEN A NOOB CAN UNDERSTAND BUT EVEN THEN IF ANYTHING GOES WRONG I AM NOT RESPONSIBLE. BACKUP 'playlogo' IN CASE YOU WANT TO REVERT TO ORIGINAL BOOTANIMATION AND REVERSE FOLLOW THE GUIDE.
ROOTED PHONE NEEDED.
this is just ported by me, made by different people. The guide I wrote was googled from different sources and I tried the simplest way for myself and thus for the post.
Good work !
1. use Fast Stone Photo Resizer for resizing the .png files
2. notepad++ for editing desc.txt file, not the windows notepad.
3. 7zip, not winzip/winrar/anything else.
this is all I needed to port bootanimation.
Mod edit : remove the same
dont ask for the thanks button it is to be given by the member of his own free will & not to be asked for
Edit: solved. post delete.
I have
1.uploaded the file over xda.
2. added a download link for non xda members.
If you want to mix animations as I have done, maintain the animation sequence by renaming the files in sequence you want to play your animation, in those 2 folders.
You can better unzip my animation and check what I have done about mixing different animations and it's sequence.
Reserved.......
Hey i already made a thread on this long time ago
http://forum.xda-developers.com/showthread.php?t=1024665
But I didn't steal your stuff. And I ported and mixed 3 animations into one for my personal use, just sharing the animation and ' how to do it'.
cdesai said:
Hey i already made a thread on this long time ago
http://forum.xda-developers.com/showthread.php?t=1024665
Click to expand...
Click to collapse
dabhirahul said:
But I didn't steal your stuff. And I ported and mixed 3 animations into one for my personal use, just sharing the animation and ' how to do it'.
Click to expand...
Click to collapse
Chill dude
Was just telling
Can I link these bootanim in my thread with credits?
cdesai said:
Can I link these bootanim in my thread with credits?
Click to expand...
Click to collapse
Ya Sure..
Thanks
Ported? when I want to use boot animation from other device(galaxy tab.animation 800x600), I only coppy animation in system/media, and this work awersome.. I think, that resize is only waste of time...IMHO
I used irfanview to batch resize and windows notepad to edit the file.
Ziped the files with winrar.
It works great! Thanks for the infos!
Glebko said:
Ported? when I want to use boot animation from other device(galaxy tab.animation 800x600), I only coppy animation in system/media, and this work awersome.. I think, that resize is only waste of time...IMHO
Click to expand...
Click to collapse
No not just ported, I edited them to add the android pissing on apple in place of that htc logo + there is a bit of cm7. I mean I edited that 'nexus one bootanimation'
LarryMetal said:
I used irfanview to batch resize and windows notepad to edit the file.
Ziped the files with winrar.
It works great! Thanks for the infos!
Click to expand...
Click to collapse
Ya irfanview is a nice 'open source' alternative.
I used 7zip because I love 'open source', anyway that 'compression - store' is important.
But I read somewhere that windows notepad adds 'something' which I don't know, to the text file making it difficult or unreadable for android, result-black boot screen, again I am not sure. never tried it.
Notepad++ does no such thing.
So I recommended it.
very very cool boot animation.. thanks a lot!!
would be more enjoyable if that pissing scene could last a bit longer!!
neo1691 said:
very very cool boot animation.. thanks a lot!!
would be more enjoyable if that pissing scene could last a bit longer!!
Click to expand...
Click to collapse
Hi
Actually the frame rate is bit high,18/s
Maybe reducing it to 15 or 16 would be fine.
Also, in the original pissing animation, pissing scene loops and so lasts longer. Here it plays only once.
adding new pictures for pissing scene is possible but it would be a painful job, renaming and all those stuff again!
dabhirahul said:
Hi
Actually the frame rate is bit high,18/s
Maybe reducing it to 15 or 16 would be fine.
Also, in the original pissing animation, pissing scene loops and so lasts longer. Here it plays only once.
adding new pictures for pissing scene is possible but it would be a painful job, renaming and all those stuff again!
Click to expand...
Click to collapse
well that explains everything!!
Awesome, great work!

[Q] How to create theme for custom rom ?

After reading from articles , now more or less I got some idea on how to create a theme for a custom rom , but still there's something I don't know .
1) First , I extract files from a rom using 7zip . Then , I extract out the content of framework-res.apk and make some modifies / changes to those .png files . So , after completed those modifies , I just open archieve on the original framework-res.apk , drag and drop the one I modified to replace the original one ? After that , how do I pack it in .zip file that can be updated in open recovery ? .xml file shouldn't be modified right ?
2) What if I do this , I get a theme.zip made for the rom , and then I extract the contents of the theme.zip using 7zip , then again I modify the .png files and after completed , I packed it again by open archieve on the original theme.zip , drag and drop the one I modified to replace the original one ? Does this works ?
3) What if I modify other system apps such as calender.apk ? Using the same method , extract , modify , drag and drop , replace , then again how do I pack it in .zip file that can be updated in open recovery ? Is there any "bond" between those system apps and framework-res.apk ? Can I just modify anyone of both ? Or I have to modify both system apps and framework-res.apk to get it works ?
Thanks
nikctsh said:
After reading from articles , now more or less I got some idea on how to create a theme for a custom rom , but still there's something I don't know .
1) First , I extract files from a rom using 7zip . Then , I extract out the content of framework-res.apk and make some modifies / changes to those .png files . So , after completed those modifies , I just open archieve on the original framework-res.apk , drag and drop the one I modified to replace the original one ? After that , how do I pack it in .zip file that can be updated in open recovery ? .xml file shouldn't be modified right ?
2) What if I do this , I get a theme.zip made for the rom , and then I extract the contents of the theme.zip using 7zip , then again I modify the .png files and after completed , I packed it again by open archieve on the original theme.zip , drag and drop the one I modified to replace the original one ? Does this works ?
3) What if I modify other system apps such as calender.apk ? Using the same method , extract , modify , drag and drop , replace , then again how do I pack it in .zip file that can be updated in open recovery ? Is there any "bond" between those system apps and framework-res.apk ? Can I just modify anyone of both ? Or I have to modify both system apps and framework-res.apk to get it works ?
Thanks
Click to expand...
Click to collapse
Here's what I know so far. I'm still trying to learn as much as I can:
1) If you are making a theme by trying to replace pngs in an existing framework-res.apk file, you can do this: open the apk file within your zip program, and edit the apk there (so you'll have two zip windows open. Once the apk is updated, close the most recent zip window. The first zip window should recognize that you've updated the apk file, and ask you to update the first zip window.
I've been playing around with this: http://forum.xda-developers.com/showthread.php?t=1432152
What it allows you to do is modify the files in Windows Explorer (or whatever file explorer you're using), and then let the script do the rest of the work for you. The actions it can do are: decompile apk, recompile apk, sign apk, created update.zip.
The xml files need to be edited if you want to achieve certain effects. For example, in the Gingerbread theme there are some edits that have to be made to a few xml files in order to achieve white text on black backgrounds on the popup menus. The nice thing about the framework flasher link from above is that it 'compiles' the files (meaning it will check if the .9.pngs are correct, and if your xml files point to correct assets), so you can go about doing xml edits and stuff without fear of bootlooping.
2) Yes, this should work.
3) If the updater script is a generic script (that is, it moves everything from the /system folder to /system, and /data to /data), then you can create directories in the update.zip that refer to whatever apk you want to replace, with the same structure as in Android. The cool thing about Metamorph, from what I gather, is that you can create folder structures with just the assets you want to replace, rather than the entire apk. This means that if you want to replace just a few images in Phone.apk, for example, you create a directory in the Metamorph script under /system/app/Phone/res/drawable-hdpi and add the images you want to replace in there. I think that's the way I want to create my themes from now on, I just need to figure out how to do it correctly
I tried the framework flasher , after located the framework-res.apk and run RunMe , it shows echo is off , the log process shows 'java' is not recognized as an internal or external command,
operable program or batch file.
Do you have Java installed?
Mioze7Ae said:
Do you have Java installed?
Click to expand...
Click to collapse
No , I have no Java installed . Tried to install before but couldn't get the right version .
Java
I've yet to find one all inclusive theming reference. Just a lot of searching & reading & trial & error. This might be a good place to get started.
Edit: You'll also want to get the Android SDK
3rdstring said:
Java
I've yet to find one all inclusive theming reference. Just a lot of searching & reading & trial & error. This might be a good place to get started.
Edit: You'll also want to get the Android SDK
Click to expand...
Click to collapse
BTW , since I'm still too new to theming , I'm thinking of making my first step by changing the colour of a completed theme . This is what I'm currently doing : I extracted the files content of your DarkFroyo.zip and then extracted it's framework-res.apk . ( IT'S YOUR THEME , CAN YOU GIVE ME THE PERMISSION TO DO THIS ? ) I'm changing the original orange colour of all those icon to light pink using photoshop , then replace the original one . The files type are .png . Also , I changed the battery status icon and status bar background . However , I haven't touch those .xml files , I just leave it there . So after I complete , do I just flash it right away in my phone or I need to doing something like "sign" ? As for now , I don't have any idea about "sign" .
nikctsh said:
BTW , since I'm still too new to theming , I'm thinking of making my first step by changing the colour of a completed theme . This is what I'm currently doing : I extracted the files content of your DarkFroyo.zip and then extracted it's framework-res.apk . ( IT'S YOUR THEME , CAN YOU GIVE ME THE PERMISSION TO DO THIS ? ) I'm changing the original orange colour of all those icon to light pink using photoshop , then replace the original one . The files type are .png . Also , I changed the battery status icon and status bar background . However , I haven't touch those .xml files , I just leave it there . So after I complete , do I just flash it right away in my phone or I need to doing something like "sign" ? As for now , I don't have any idea about "sign" .
Click to expand...
Click to collapse
Changing the color in Photoshop is fine for normal ".png"s but ".9.png"s are special, they have a 1 pixel border with guides that define how they are stretched to fill a space (& are only visible is a decompiled state). Just editing a .9.png in Photoshop might break the .9 patch. Since you are trying to modify my theme it might also be wise to grab the "undo.zip" so if (when) something you try bootloops the phone you can flash the undo to get back to stock. I know had numerous bootloops when I was first starting out (still do occasionally).
3rdstring said:
Changing the color in Photoshop is fine for normal ".png"s but ".9.png"s are special, they have a 1 pixel border with guides that define how they are stretched to fill a space (& are only visible is a decompiled state). Just editing a .9.png in Photoshop might break the .9 patch. Since you are trying to modify my theme it might also be wise to grab the "undo.zip" so if (when) something you try bootloops the phone you can flash the undo to get back to stock. I know had numerous bootloops when I was first starting out (still do occasionally).
Click to expand...
Click to collapse
Hey 3rdstring. I noticed you release a new version of your theme for the ODEXED version of CM6. For APKs that have ODEX files (such as Phone), are you deodexing them using apktool, then reodexing them? A brief pointer would be nice!
molohov said:
Hey 3rdstring. I noticed you release a new version of your theme for the ODEXED version of CM6. For APKs that have ODEX files (such as Phone), are you deodexing them using apktool, then reodexing them? A brief pointer would be nice!
Click to expand...
Click to collapse
No the only thing I'm changing in any of the odexed apks are images. I use a Metamorph file with ZipThemer to build the update.zip (& undo) after I've decompiled / recomfiled framework-res for the white menu text & 10% battery increments.
3rdstring said:
No the only thing I'm changing in any of the odexed apks are images. I use a Metamorph file with ZipThemer to build the update.zip (& undo) after I've decompiled / recomfiled framework-res for the white menu text & 10% battery increments.
Click to expand...
Click to collapse
The reason I ask is b/c I tried pushing a modified Phone.apk to CM6, but it didn't pick up any of the changes I added (images only). It made me think that the assets were already prebuilt in the odex file, so changing the apk wouldn't do anything unless the odex file was changed too.
I also tried applying a metamorph script on top of the odex ROM, but it caused a lot of fcs. I think it's b/c of the ODEXing too.
EDIT: My bad. Phone.apk is the calling screen, Contacts.apk is the dialer + contacts. DOH!!!
My edits are pushed correctly

How can I change the BootScreen and LoadingScreen?

Hey Guys,
I want to change my BootScreen & LoadingScreen, but I don't know, how.
Could you tell me how I can edit them?
The SplashScreen is already changed (SplashScreen changer from wph)
ChrisX930 said:
Hey Guys,
I want to change my BootScreen & LoadingScreen, but I don't know, how.
Could you tell me how I can edit them?
The SplashScreen is already changed (SplashScreen changer from wph)
Click to expand...
Click to collapse
Don't know what do you mean by "splashscreen changer" but if you are talking about WP7.X - Splash screen consists of specially compressed bmp file in XIP - oemlogo.bm_ and the same but not compressed file in OEM - mo_logo.bmp, Also it's possible to use third file - also regular bmp called mologo.bmp. Changing regular bmp is easy - just to copy them to \Windows of your phone. Compressed bmp should be cooked in. If you change only uncompressed files - you get first stock bootlogo, than custom one on boot - this sucks.
Loading screen is a png resource inside shellFrame.dll. If you want to change it - the correct way is to create custom mui - shellFrame.dll.XXXX.mui (XXXX - your default booting lang) with only modified windowsphone logo and copy it into \Windows of your phone.
Reboot is required to see your attempts working.
AndrewSh said:
Don't know what do you mean by "splashscreen changer" but if you are talking about WP7.X - Splash screen consists of specially compressed bmp file in XIP - oemlogo.bm_ and the same but not compressed file in OEM - mo_logo.bmp, Also it's possible to use third file - also regular bmp called mologo.bmp. Changing regular bmp is easy - just to copy them to \Windows of your phone. Compressed bmp should be cooked in. If you change only uncompressed files - you get first stock bootlogo, than custom one on boot - this sucks.
Loading screen is a png resource inside shellFrame.dll. If you want to change it - the correct way is to create custom mui - shellFrame.dll.XXXX.mui (XXXX - your default booting lang) with only modified windowsphone logo and copy it into \Windows of your phone.
Reboot is required to see your attempts working.
Click to expand...
Click to collapse
Heya, thank you for this info,
I changed "mo_logo.bmp" (I already change mologo.png with windowsphonehacker.com/articles/experimental_splash_changer-04-25-12 )
I can see the "HTC-Logo", but I want to replace it with my picture.
I can't find "shellFrame.dll" on my phone.
ChrisX930 said:
I can see the "HTC-Logo", but I want to replace it with my picture.
Click to expand...
Click to collapse
I told you - it's in XIP. That means - it should be cooked in while building the rom image. Do you know how to cook custom roms? If not - than it's nothing to discuss - you won't be able to change logo completely. Only the second part of it's appearance.
ChrisX930 said:
I can't find "shellFrame.dll" on my phone.
Click to expand...
Click to collapse
It's in Windows folder of the phone and it's hidden. You will hardly be able to copy it even if you see it.
So - you should get this file from ready-to-cook build uploaded in developer's thread and modify it with any resource editor.

Possible solution for converting .pkm to .png???

The new Galaxy s5 in some apk files there are some new files with extention .pkm instead of .png ...
So i was wondering if there is a tool for Windows to convert .pkm files to .png files and vise versa...
Cause if we can not convert the pkm files to pngs, how we will make Themes??????
In a little research i made in the internet i found out that .pkm files are also image files but with smaller size than pngs...
So if all companies switch to that pkm files we must find a way to continue Theming right??? So if anyone knows a solution please report here...
Thanks ....
You had me wondering about it too so I looked it up.
http://en.m.wikipedia.org/wiki/GrafX2
Didn't see a download in there but it has a name an description of an application that edits it.
Sent from my SM-N900T using Tapatalk 2
Best program to work is Photoshop... So I think we must find a quick way to convert pngs to pkm and vise versa...
Thanks for the infos...
Sent using Mixed Theme from omegadroid.co
Download Mali compression tool here: http://malideveloper.arm.com/develo...t-creation/mali-gpu-texture-compression-tool/
Then when install is done, go to <mali install folder>/bin
Then:
Code:
etcpack <input.pkm> <outputdir> -ext PNG
<input.pkm> is your pkm file to unpack and <outputdir> is your folder where the unpacked png will go
Warning:some pkm can't to be unpacked, it seems alpha channel pictures is not supported (i'm maybe wrong)
Thanks Mate... Will try it...
Sent using Mixed Theme from omegadroid.co
slink_59 said:
Download Mali compression tool here: http://malideveloper.arm.com/develo...t-creation/mali-gpu-texture-compression-tool/
Then when install is done, go to <mali install folder>/bin
Then:
Code:
etcpack <input.pkm> <outputdir> -ext PNG
<input.pkm> is your pkm file to unpack and <outputdir> is your folder where the unpacked png will go
Warning:some pkm can't to be unpacked, it seems alpha channel pictures is not supported (i'm maybe wrong)
Click to expand...
Click to collapse
Ok i tried it but when i save the .pkm files as .png files, it doesn't keep trasparency (it puts black background)... So it's impossible to work with these pngs... Also there is no batch proccess of converting the pkm files... This is also a big problem for Themers... Imagine that in every Theme of mine i change thousands of the icons... So it will take me years to convert one by one the .pkm files...
So we need a tool that can make batch convertion of the .pkm files, WITHOUT loosing transparency, to png files... And then when we finish editing/changing the png files created, to batch convert them again in pkm files, to replace the original ones...
Only if there is such a solution we will be able to theme the new pkm files...
it is really absurd I'm looking for a solution too... please advice in case of news
kalagas said:
Ok i tried it but when i save the .pkm files as .png files, it doesn't keep trasparency (it puts black background)... So it's impossible to work with these pngs... Also there is no batch proccess of converting the pkm files... This is also a big problem for Themers... Imagine that in every Theme of mine i change thousands of the icons... So it will take me years to convert one by one the .pkm files...
So we need a tool that can make batch convertion of the .pkm files, WITHOUT loosing transparency, to png files... And then when we finish editing/changing the png files created, to batch convert them again in pkm files, to replace the original ones...
Only if there is such a solution we will be able to theme the new pkm files...
Click to expand...
Click to collapse
It isn't difficult to make a batch file at least for those using linux.
The problem here is how to conver pkm alpha files
titooo7 said:
It isn't difficult to make a batch file at least for those using linux.
The problem here is how to conver pkm alpha files
Click to expand...
Click to collapse
Also we need a batch file for converting the changed pngs back to pkm...
Sent using Mixed Theme from omegadroid.co
kalagas said:
Also we need a batch file for converting the changed pngs back to pkm...
Sent using Mixed Theme from omegadroid.co
Click to expand...
Click to collapse
Why you want to convert files from png to pkm?
kalagas said:
Also we need a batch file for converting the changed pngs back to pkm...
Sent using Mixed Theme from omegadroid.co
Click to expand...
Click to collapse
The Main App of Mali Texture Compression Tool (GUI app) can do it easily
titooo7 said:
Why you want to convert files from png to pkm?
Click to expand...
Click to collapse
if I leave them in png then, while flashing my themes (i use VRTheme engine) the pkms won't be replaced (if I don't have changed pkms inside my flashing zip) and you will see no UI changes..
slink_59 said:
The Main App of Mali Texture Compression Tool (GUI app) can do it easily
Click to expand...
Click to collapse
Then we need only a batch pkm to png converter...
Sent using Mixed Theme from omegadroid.co
kalagas said:
if I leave them in png then, while flashing my themes (i use VRTheme engine) the pkms won't be replaced (if I don't have changed pkms inside my flashing zip) and you will see no UI changes..
Then we need only a batch pkm to png converter...
Sent using Mixed Theme from omegadroid.co
Click to expand...
Click to collapse
If you need a batch file to convert from .pkm to png I can make one for you in less than 5 minutes.
But probably more than half of the pkm files won't be converted because what we actually need is some software that let us convert any kind of pkm files to png.
For now me and some friends can convert some pkm files but not all of them...
titooo7 said:
If you need a batch file to convert from .pkm to png I can make one for you in less than 5 minutes.
But probably more than half of the pkm files won't be converted because what we actually need is some software that let us convert any kind of pkm files to png.
For now me and some friends can convert some pkm files but not all of them...
Click to expand...
Click to collapse
indeed... can't understand why they changed to pkm files... our life was just good with pngs... lol..
Sent using Mixed Theme from omegadroid.co
kalagas said:
The new Galaxy s5 in some apk files there are some new files with extention .pkm instead of .png ...
So i was wondering if there is a tool for Windows to convert .pkm files to .png files and vise versa...Thanks ....
Click to expand...
Click to collapse
The AndroidSDK command line tool works for encoding and decoding your own images but doesn't decode a lot of the existing Android .pkm images. The error returned is bad header PKM Header.
Those same existing images won't decode with the Mali Tool either. (conversely, any png images I encode to .pkm will decode properly)
Trying to figure out why some existing ones won't decode using either approach. Gonna try updating the SDK stuff when I get to my office tomorrow to see if it helps.
Be nice if someone has/gets a solution. :good:
mikeymopar said:
The AndroidSDK command line tool works for encoding and decoding your own images but doesn't decode a lot of the existing Android .pkm images. The error returned is bad header PKM Header.
Those same existing images won't decode with the Mali Tool either. (conversely, any png images I encode to .pkm will decode properly)
Trying to figure out why some existing ones won't decode using either approach. Gonna try updating the SDK stuff when I get to my office tomorrow to see if it helps.
Be nice if someone has/gets a solution. :good:
Click to expand...
Click to collapse
Yeah. If you open a "good" pkm (the ones that can be converted) and a "bad" ones with an hexadecimal editor you will see that the bad ones have IPT0 in the header. So that's the reason why we can't convert it. It looks like it's not a conventional pkm file or at least not the pkm file we would expect :/
Sent from my GT-N7100 using Tapatalk
cbucz24 said:
You had me wondering about it too so I looked it up.
http://en.m.wikipedia.org/wiki/GrafX2
Didn't see a download in there but it has a name an description of an application that edits it.
Sent from my SM-N900T using Tapatalk 2
Click to expand...
Click to collapse
The Google Code page for it (containing .pkm wiki and grafx2 downloads) is found here
Sent from my GT-I8730 using Tapatalk
FYI - the grafx2 program referenced above ^^^ doesn't load the problem pkm images either :silly:
ANyone knows if will delete the .pkm files inside the apks and put .png files with the same names as the .pkm files had, will do the job???
Or it's neccesary the icon files to be pkm?
Cause if the apks using pkm files, will recognize png files with same name, it's easier. The only problem is that we will not know the dimentions of pkm files...
kalagas said:
ANyone knows if will delete the .pkm files inside the apks and put .png files with the same names as the .pkm files had, will do the job???
Or it's neccesary the icon files to be pkm?
Cause if the apks using pkm files, will recognize png files with same name, it's easier. The only problem is that we will not know the dimentions of pkm files...
Click to expand...
Click to collapse
We can know the dimensions of the pngs to create, open the pkm in a hexadecimal editor like notepad++, see the header:
8 Columns of 4 Numbers each
-The Third Column is the width size in hexadecimal
-The Fourth Column is the height size hexadecimal
Example :
Here the width is 60 so 0x60(Hexadecimal) = 96 (décimal)
Here the height is also 60 so 0x60(Hexadecimal) = 96 (décimal)
The PNG should be a 96x96 icon (or picture)
Hoping i could be clear :fingers-crossed:

Categories

Resources