Related
I've seen a lot of people asking how folks have changed the Windows logo to the HTC one and so on. I am one of those people!
There's a thread over in the Diamond Forum here, http://forum.xda-developers.com/showthread.php?t=437307, that discusses altering the taskbar icons.
I've had a read of that but it doesn't appear to discuss the start button. I've currently got a cab installed that gave me coloured icons on the taskbar but also the 3d MS Office style start button. I like the icons but not that start button.
Is there anyway someone could provide an idiot/noob style guide for altering that icon. I'd love to have the Vista start button on my HD (attached image) but have no idea how to go about it aside from I think it has something to with .dll files.
Can anyone explain this? Anyone? I know there would be a lot of people grateful for it! I've Googled and used the search but just cannot seem to find anything!
I've attached a mock-up of my ideal; I've got the coloured icons, just the start button to go!
I think....
the explanation is to edit the shellres.192.dll file here:
http://forum.xda-developers.com/showpost.php?p=2791169&postcount=3
using the process here?
http://forum.xda-developers.com/showpost.php?p=2791165&postcount=1
No?
EDIT: I am going to try myself this evening with your very nice icon...will let you know how it goes, if you don't beat me to it!
I believe you can do it with Wisbar.
Wisbar is not free.
http://www.lakeridgesoftware.com/
sk806 said:
the explanation is to edit the shellres.192.dll file here:
http://forum.xda-developers.com/showpost.php?p=2791169&postcount=3
using the process here?
http://forum.xda-developers.com/showpost.php?p=2791165&postcount=1
No?
EDIT: I am going to try myself this evening with your very nice icon...will let you know how it goes, if you don't beat me to it!
Click to expand...
Click to collapse
you had a chance at it yet? did it work?
...........
This is the thread I used to alter the Windows logo to a HTC logo among other things in this thread. It's dead easy,
1) Unsign the file using Unsigner linked to in the thread further up (on page 2 of the Unsigner thread there's a .bat file that I found gave a better idea of whether it had worked or not).
2) Open the file in Reshacker and go to Icon on the left hand side and click it to expand it. Go to number 292, click it and it will expand to show 1033. Click 1033 and it should be the start menu icon. Right click on 1033 and select Replace Resource. Select Open File With New Icon and find your new (resized) icon. Double click it and it will show a preview of new and old. Click Replace in the bottom right corner.
3) Save the newly modified file.
4) Sign the modified file using Ssigner linked to in the thread above. CHECK THE TEXT FILE IT CREATES TO MAKE SURE IT SIGNED OK. Don't forget this bit as it will mean a hard reset if you do (as I learnt).
5) If you've not installed SDKCert.cab some time in the past. download it from here, copy it to the phone and install it.
6) Copy the file to the Windows directory on the phone using Resco Explorer or Total Commander.
7) Reboot the phone.
how did you copy shellres.192.dll? it says "Acces denied" even with resco. No chance to renaming also
To get the file in the first place you need a program called ROM Extractor on the phone to get the file from ROM. There are also different varients of the ROM for different locales. There's a description in the link above.
thanks for your efforts but seems a little complicated TotalCommander did the trick, resco seems to have some security check problems
anyway, unsigner doesn't work so i'm stuck
guap said:
anyway, unsigner doesn't work so i'm stuck
Click to expand...
Click to collapse
Try the .bat file in the second page of the Unsigner thread. Copy Unsigner, the .bat file and the file you want to unlock to the same directory and double click the .bat file. Also, because the file is from ROM make sure it's not marked as Read Only when you get it to your PC before unsigning it. If it's from ROM they're usually Read Only for a start.
frostywrath said:
you had a chance at it yet? did it work?
Click to expand...
Click to collapse
Not yet. Just got back from work. I need a different job...
I will try tomorrow. I have been meaning to give this s shot for a while now, and the icon you posted is what I have been looking for.
the bat only automize the process... It doesn't work anyway as it still use UnSigner
Do you have the cab to change the other icons? I had a quick look on the diamond thread but couldn't find the exact ones you have! Thanks.
guap said:
the bat only automize the process... It doesn't work anyway as it still use UnSigner
Click to expand...
Click to collapse
True, but when I tried Unsigner on it's own it didn't give any feedback as to what it was doing (or if it did I missed it) so I changed 150+ icons only to find it hadn't been unsigned and therefore couldn't be resigned. At least with the batch file I can check it's been properly unsigned before making changes.
Does it give you any error messages when you try Unsigner?
unclesomebody said:
Do you have the cab to change the other icons? I had a quick look on the diamond thread but couldn't find the exact ones you have! Thanks.
Click to expand...
Click to collapse
Do you mean me or someone else?
Prof. Yaffle said:
Does it give you any error messages when you try Unsigner?
Click to expand...
Click to collapse
that's the point: no errors from unsigner, but resourcehacker can't open my file (not valid bla bla bla)
In which case I'd say the file hasn't copied across properly from the phone. Reshacker should be able to open the file and allow editing even if it's still signed. I'd try ROM Extractor to copy the file from ROM to elsewhere on the phone and then copy that across to the PC.
unclesomebody said:
Do you have the cab to change the other icons? I had a quick look on the diamond thread but couldn't find the exact ones you have! Thanks.
Click to expand...
Click to collapse
Do you mean this cab?
http://cid-b6b1a627fbae21e5.skydrive.live.com/self.aspx/Public/Colored Top Bar.cab
Don't forget you'll need to install this first:
http://cid-b6b1a627fbae21e5.skydrive.live.com/self.aspx/Public/1SdkCerts.cab
Hope this helps.
Prof. Yaffle said:
In which case I'd say the file hasn't copied across properly from the phone. Reshacker should be able to open the file and allow editing even if it's still signed. I'd try ROM Extractor to copy the file from ROM to elsewhere on the phone and then copy that across to the PC.
Click to expand...
Click to collapse
uhm seems reasonable
but I don't want to extract all my whole rom for a stupid dll... I extracted with total commander, isn't supposed to work this way?
Nope, certain ROM files can't be copied using normal file copy programs. I've found that they try and copy, then say the "File already exists, do you wish to replace?" and then whatever you select you're left with a 0k file with nothing in it. The ROM extractor doesn't copy the whole ROM. When you launch it you get a list of all the ROM files. Double click the one you want to extract, give it a location (\ usually for the root directory of the phone) and a name and click Extract.
Ok, I will try. But how to replace when modified? If I can't even read it, how will I replace it?
So, it seems that more people are taking an interest in making custom frameworks. This isn't really a full tutorial, but I thought it would be helpful to just post some tips on how to go about making your own framework-res.apk, save others a bit of time retreading old ground, since the methods are scattered around the site a bit!
Thanks to wdl1908 for prompting me to do this - should really have done this sooner!
Okay, so basic requirements:
Rooted Gen 8 (Uruk or chulri method)
Original Archos framework-res.apk
zip editor
image editing software
.png's to replace the stock ones with
That's about it! I've been using GIMP on Ubuntu for the image editing, and Phatch for batch resizing, but Photoshop will work just as well on Windows.
Edit: Thanks to wdl1908, have found that Gwenview gives much better results when resizing, compared to Phatch or GIMP. Works on both Ubuntu and KDE.
Use your preferred zip editor to unzip the contents of framework-res.apk to your chosen folder. The main folder of interest is "drawable-mdpi".
The Gen 8's use MDPI resolution images (well, A70 and A101 to at any rate. I think someone mentioned the A32 or A43 used HDPI images). Depending on your .png source, you may need to resize the images. I took my images from themes made for the Desire, which is an HDPI device, so I used GIMP/Phatch to resize them.
In terms of resizing, I compared the size of each new png with the original one, and resized. I know p0rkburn just resizes the images to 66%, but I've had problems with some images not coming out the right size that way. The other thing to watch out for is that not all the images need resizing. Also, some of the textfield and tab_select images are different proportions to their phone equivalents, so again watch out for that.
Once you've replaced the images you want to, they need to be put back into the .apk. I used to copy and paste into the framework-res.apk, but that doesn't work for 9patch files. Also, wdl1908's FrameWorkBuilder makes the compile process so ridiculously easy, there is no reason not to use that instead.
To put the new framework-res.apk on the device, I use this method via ADB wireless, which works fine.
Happy theming!
EDIT: 9patch files
These can be a PITA, until you understand how they work. I used the following two sources to finally crack it :
http://developer.android.com/guide/developing/tools/draw9patch.html
http://forum.xda-developers.com/showthread.php?t=580351
If you are changing 9patch files, you have to decompile and recompile using the FrameWorkBuilder.
I prefer using the draw9patch tool, as it lets you check that the 9patch works as expected.
Spent enough time bashing my head against a brick wall trying to sort out 9patch files, so if I can spare anyone else that, feel free to post/PM..
I'll leave this post here for my recommendations that will be more complex when you need to modify xml files.
In short the procedure is a follows (this needs to be expanded)
unpack the apk to framework-res-UNPACKED dir
decompile the apk to framework-res-DECOMPILED (with apktools)
copy framework-res-MOD to framework-res-DECOMPILED
compile framework-res-COMPILED (with apktools)
unpack the compiled apk to framework-res-COMPILED (with 7za)
remove all the files that are present in framework-res-MOD from the framework-res-UNPACKED dir
remove the file resources.arsc from framework-res-UNPACKED
copy all files from framework-res-UNPACKED to framework-res-COMPILED
zip all files in framework-res-COMPILED to the new framework-res.apk
remove the resources.arsc from that apk file
readd the resources.arsc file without compression to the new apk file
Done
The reason this is so complex is that their are bugs in apktools and the signature needs to be preserved.
FrameWorkBuilder v0.3
README.txt
-------------------------------------------------------------------------------------------------------
Place the script FrameWorkBuilder.sh in a directory and execute.
The script will download all the needed tools.
Place framework-res.apk in the dir framework-res-STOCK
Place mods in framework-res-MOD follow the usual directory structure.
Example:
framework-res-MOD
framework-res-MOD/res
framework-res-MOD/res/drawable-hdpi
framework-res-MOD/res/drawable-mdpi
framework-res-MOD/res/drawable
Execute FrameWorkBuilder.sh to apply the mod.
Modded framework-res.apk will be stored in the directory framework-res-MODDED.
-------------------------------------------------------------------------------------------------------
Changelog
-------------------------------------------------------------------------------------------------------
v0.3 Added xml png duplication check to avoid that animations don't work. .9.png support
v0.2 Added mod checks Added compile failure test
v0.1a BUGFIX cp dirs
v0.1 Initial version
-------------------------------------------------------------------------------------------------------
Have fun modding.
wdl1908 said:
I'll leave this post here for my recommendations that will be more complex when you need to modify xml files.
If you don't mind we'll make it a joined tutorial. I have no time now it's time I got some sleep.
Click to expand...
Click to collapse
I have no idea about editing XML files, but that was the next thing on my "To learn" list. I would be very happy for you to add your knowledge to this thread.
Also, if anyone has info to add/corrections to make, please feel free.
Good stuff, guys. At the very least we can make this a three man party.
The more the merrier!
Guys, can I ask what device you're both using?
fisha21 said:
Guys, can I ask what device you're both using?
Click to expand...
Click to collapse
A101IT with archangel root
A70IT with chulri's root
fisha21 said:
The more the merrier!
Click to expand...
Click to collapse
well, if i can do something, i'm here ;-)
wdl1908 said:
A101IT with archangel root
A70IT with chulri's root
Click to expand...
Click to collapse
Cool, thanks. Also, can I ask how you're viewing the XML files? Every program I've tried won't open them - keep getting error messages about invalid character content.
woti23 said:
well, if i can do something, i'm here ;-)
Click to expand...
Click to collapse
Welcome...
fisha21 said:
Cool, thanks. Also, can I ask how you're viewing the XML files? Every program I've tried won't open them - keep getting error messages about invalid character content.
Click to expand...
Click to collapse
You have to decompile the framework-res.apk with the apktools then all is revealed.
I have an A43it, and I find it to use a mixture of the hdpi and mdpi drawables, it is quite odd how they have it. I am drawing this conclusion because I only changed the hdpi drawables, and some things (status bar pull down for one) stayed original. I am going to work some more on it later today and will update here. My method for pushing to the device uses adb like such:
Code:
adb push framework-res.apk /sdcard/framework-res.apk
adb shell
su
stop
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
chmod 644 /system/framework/framework-res.apk (only needs to be done the first time, as the permissions will adopt those when replacing in the future)
start
This causes the device to do a little soft-reboot (does not perform a proper full shutdown/reboot) that is pretty quick, and avoids any f/c situations you may encounter replacing the file while the system is live.
Edit 2 - ok, I just plain old missed the drawables earlier, they are all in hdpi for the A43. Posting screenshots of what I have put together shortly.
daveid said:
My method for pushing to the device uses adb like such:
Code:
adb push framework-res.apk /sdcard/framework-res.apk
adb shell
su
stop
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
chmod 644 /system/framework/framework-res.apk (only needs to be done the first time, as the permissions will adopt those when replacing in the future)
start
This causes the device to do a little soft-reboot (does not perform a proper full shutdown/reboot) that is pretty quick, and avoids any f/c situations you may encounter replacing the file while the system is live.
Click to expand...
Click to collapse
Great I was looking for that.
wdl1908 said:
[*]compile framework-res-COMPILED (with apktools)
Click to expand...
Click to collapse
Getting stuck on the above step. Have got a folder called framework-res-DECOMPILED. When I try to compile it, the first message I get is:
Code:
w:Could not find sources.
It then runs through the process throwing up multiple error messages, and at the end I am left with an empty Build folder. Any ideas? I read on the Apktool thread that you need to add a classes.dex file to apk that don't already have one?
Thought I'd try your method as my primitive version keeps resulting in faulty apk's the last day or two!
fisha21 said:
Getting stuck on the above step. Have got a folder called framework-res-DECOMPILED. When I try to compile it, the first message I get is:
Code:
w:Could not find sources.
Click to expand...
Click to collapse
No problem there thats only a warning.
fisha21 said:
It then runs through the process throwing up multiple error messages, and at the end I am left with an empty Build folder.
Click to expand...
Click to collapse
What error messages?
fisha21 said:
Any ideas? I read on the Apktool thread that you need to add a classes.dex file to apk that don't already have one?
Click to expand...
Click to collapse
What version of apktools do you have?
never needed any classes.dex in framework-res.apk
fisha21 said:
Thought I'd try your method as my primitive version keeps resulting in faulty apk's the last day or two!
Click to expand...
Click to collapse
I'll try to cleanup my script and post it soon.
I just found out we can have custom boot animations on our gen 8 devices.
search for some bootanimation.zip on the web or go to UOT Kitchen and download one from the kitchen. place it in the directory /data/customization/ and reboot. This works even for the stock firmwares with archangel root.
Enjoy
I've added the first version of my FramWorkBuilder script in the second post.
wdl1908 said:
I've added the first version of my FramWorkBuilder script in the second post.
Click to expand...
Click to collapse
Thanks for the hard work!
Gave it a run through but get the following error messages:
Code:
Applying MOD...cp: cannot stat `/home/sarju/FWB/framework-res-MOD/*': No such file or directory
and
Code:
Copy files from UNPACKED to COMPILED that are not modified...cp: cannot stat `/home/sarju/FWB/WorkSpace/framework-res-UNPACKED/*': No such file or directory
The script is located in the "FWB" folder.
fisha21 said:
Code:
Copy files from UNPACKED to COMPILED that are not modified...cp: cannot stat `/home/sarju/FWB/WorkSpace/framework-res-UNPACKED/*': No such file or directory
The script is located in the "FWB" folder.
Click to expand...
Click to collapse
yeah download the 0.1a version and try again.
wdl1908 said:
yeah download the 0.1a version and try again.
Click to expand...
Click to collapse
Ok, think I'm just being stoopid here. Ran the v0.1a, no error messages BUT
If I use the folder structure "framework-res-MOD>drawable-mdpi", the resulting apk just has the original contents of drawable-mdpi. If I use "framework-res-MOD>res>drawable-mdpi", the resulting pak has an empty drawable-mdpi folder.
fisha21 said:
Ok, think I'm just being stoopid here. Ran the v0.1a, no error messages BUT
If I use the folder structure "framework-res-MOD>drawable-mdpi", the resulting apk just has the original contents of drawable-mdpi. If I use "framework-res-MOD>res>drawable-mdpi", the resulting pak has an empty drawable-mdpi folder.
Click to expand...
Click to collapse
the structure should look like this.
Code:
framework-res-MOD
framework-res-MOD/res
framework-res-MOD/res/drawable-hdpi
framework-res-MOD/res/drawable-ldpi
framework-res-MOD/res/drawable-mdpi
framework-res-MOD/res/drawable
but make sure you remove empty dirs.
I suspect it has to do with empty dirs I'll check that....
Nope tthats not it.
can you zip up the files files-to-remove.txt and log.txt in the WorkSpace dir and post them or via pm if thats possible.
Hey can someone take a look at this updater script and see why it keeps giving me a status 6 error when I try to flash. I made sure it was in UNIX format when usig notepad++ and I tried signing the whole .zip with no prevail. I had to attach as .txt
You made sure to take off the .txt right? Great question huh?
EDIT: Oh and I have no freaking idea.
darkierawr said:
You made sure to take off the .txt right? Great question huh?
EDIT: Oh and I have no freaking idea.
Click to expand...
Click to collapse
Yes I did it just wouldn't let me attach without it. And yeah I cannot for the life of me see why this isn't working... ughhhh!!!!
I can't see nothing either... hopefully someone with more knowledge than me comes along...
Sent from my SPH-D700 using Tapatalk
The_Legendary said:
Hey can someone take a look at this updater script and see why it keeps giving me a status 6 error when I try to flash. I made sure it was in UNIX format when usig notepad++ and I tried signing the whole .zip with no prevail. I had to attach as .txt
Click to expand...
Click to collapse
I just checked it out and, regardless of what you said, it's using Windows-style EOL characters, not UNIX-style EOL characters.
Check out my post that covers this extensively, including how to fix it, in benzyniarz1's [Tool][TLC]UpdatezipCreator topic, which you will probably find to be an interesting tool--especially now that he's fixed it to write UNIX-style EOL characters!
Ok well I kid of figured it out, I got the script running but it was an important chunk I took out. This line
assert(package_extract_file("modem/modem_delta_el30.bin", "/tmp/modem_delta.bin"),
write_firmware_image("/tmp/modem_delta.bin", "modem_delta.bin"),
delete("/tmp/modem_delta.bin"));
Click to expand...
Click to collapse
I also tried adding this line that was in the flashable modem zip
# ---- Flash the modem update ----
Click to expand...
Click to collapse
I tried this after the first line of ui_print and still a no go
# ---- Flash the modem update ----
(tried with and without a ui_print here)
assert(package_extract_file("modem/modem_delta_el30.bin", "/tmp/modem_delta.bin"),
write_firmware_image("/tmp/modem_delta.bin", "modem_delta.bin"),
delete("/tmp/modem_delta.bin"));
Click to expand...
Click to collapse
I tried placing it at the beginning and end but still status 6. I take the line out and POOF!! it magically works. Which is odd sense I got that line from the script in the flashable zip. But it doesn't play nice with any other syntax.
Is this for MTD?
hey guys i want to edit twstatusbar.xml with notepad++ but every time I open the file i just get this weird wording or lettering is something wrong?
Note this also happens with other xml files too!
here is a screenshot:
View attachment 2792773
JT1510365 said:
hey guys i want to edit twstatusbar.xml with notepad++ but every time I open the file i just get this weird wording or lettering is something wrong?
Note this also happens with other xml files too!
here is a screenshot:
View attachment 2792773
Click to expand...
Click to collapse
You have to de-compile the apk first, then you can edit it in plain text; then you must re-compile the apk.
gr8nole said:
You have to de-compile the apk first, then you can edit it in plain text; then you must re-compile the apk.
Click to expand...
Click to collapse
okay i have been having trouble at getting apktool setup on my computer. i have looked at all the guides but still can't get it to work!
would you be so kind as to help me set it up on my computer via this messaging way?
also I want to edit .9 pngs and how would i do that properly?
apktool
also do i need the java sdk for apktool because everytime I download from the java website and try to install it it says that its not a valid file
JT1510365 said:
okay i have been having trouble at getting apktool setup on my computer. i have looked at all the guides but still can't get it to work!
would you be so kind as to help me set it up on my computer via this messaging way?
also I want to edit .9 pngs and how would i do that properly?
Click to expand...
Click to collapse
JT1510365 said:
also do i need the java sdk for apktool because everytime I download from the java website and try to install it it says that its not a valid file
Click to expand...
Click to collapse
Any of the toolkits for de-compiling apks should work fine. I still use a very old one (APK Manager 5.0.2). I just update the apktool, baksmali, and smali jar files when an updated version is released.
You will need java installed, but I don't think you need the entire sdk.
As for editing .9 pngs...you have to make sure that you don't change the 1 pixel border around the outer edge of the image.
now what
gr8nole said:
Any of the toolkits for de-compiling apks should work fine. I still use a very old one (APK Manager 5.0.2). I just update the apktool, baksmali, and smali jar files when an updated version is released.
You will need java installed, but I don't think you need the entire sdk.
As for editing .9 pngs...you have to make sure that you don't change the 1 pixel border around the outer edge of the image.
Click to expand...
Click to collapse
okay where do i go to download the tool and those files like backsmali?
Also I heard you can't decompile systemui.apk unless you put your devices framework-res.apk in the apktool folder, where would that go?
thanks for your help!
JT1510365 said:
okay where do i go to download the tool and those files like backsmali?
Also I heard you can't decompile systemui.apk unless you put your devices framework-res.apk in the apktool folder, where would that go?
thanks for your help!
Click to expand...
Click to collapse
Give this a try...it should work http://forum.xda-developers.com/showthread.php?t=2536073
latest Smali and baksmali here https://bitbucket.org/JesusFreke/smali/downloads
gr8nole said:
Give this a try...it should work http://forum.xda-developers.com/showthread.php?t=2536073
latest Smali and baksmali here https://bitbucket.org/JesusFreke/smali/downloads
Click to expand...
Click to collapse
I downloaded the tool and when i tried to open the tool it just crashed
See LG Gallery Decryptor: https://github.com/kamicater/LG-Gallery-Decryptor
Since I received the second request for help, I'm opening this thread to help if you have trouble with the LG Gallery Decryptor I published last month. Feel free to ask any basic questions about running the python script. It's very rudimentary. It doesn't even accept multiple files, so you have to invoke python once for every single file. Feel free to improve it if you think the effort is worth it.
I'm not sure if "Issues" is the right place to assist on github. But if this thread gets deleted, then I'll have to help there.
Kamicater said:
See LG Gallery Decryptor: https://github.com/kamicater/LG-Gallery-Decryptor
Since I received the second request for help, I'm opening this thread to help if you have trouble with the LG Gallery Decryptor I published last month. Feel free to ask any basic questions about running the python script. It's very rudimentary. It doesn't even accept multiple files, so you have to invoke python once for every single file. Feel free to improve it if you think the effort is worth it.
I'm not sure if "Issues" is the right place to assist on github. But if this thread gets deleted, then I'll have to help there.
Click to expand...
Click to collapse
I have a few questions too. I have limited knowledge in coding. Don't we have to create a link to the directories in the code? Also can this ne be compiled on any python platform such as android? It would help if you could clarify or even do a walk through. Thanks
I never developed something for Android. You'll have to use Android SDK and know Java, as far as I know. Just create two folders "encrypted" and "decrypted" in the same directory as you download the script. If you have trouble, please ask specific questions where you're stuck.
Kamicater said:
I never developed something for Android. You'll have to use Android SDK and know Java, as far as I know. Just create two folders "encrypted" and "decrypted" in the same directory as you download the script. If you have trouble, please ask specific questions where you're stuck.
Click to expand...
Click to collapse
Ok. Have you tested or used the code to decrypt? Which platform did you use? Did you have to replace any codes such as name of file and directory of the encrypted file? Thanks
I ran the code on Windows in Debian WSL successfully to decrypt about 200 files. You should install Python first. I'm copying the guide here for you:
How to use:
Create two folders encrypted and decrypted in the same directory.
Create a file to run the decryption with multiple files:
#!/bin/bash
python decryptlg.py encrypted/20161230_133055.jpg.dm
python decryptlg.py encrypted/20161230_134050.mp4.dm
...
Click to expand...
Click to collapse
I ask you to start using the code (first read how to install Python) and tell me where you're stuck.
Kamicater said:
I ran the code on Windows in Debian WSL successfully to decrypt about 200 files. You should install Python first. I'm copying the guide here for you:
I ask you to start using the code (first read how to install Python) and tell me where you're stuck.
Click to expand...
Click to collapse
Hi,
What do you mean by create file to run the decryption? Which file, how? Do i put the decrypted images in the decrypted folder?
Thanks!
i3arty said:
Hi,
What do you mean by create file to run the decryption? Which file, how? Do i put the decrypted images in the decrypted folder?
Thanks!
Click to expand...
Click to collapse
Apparently it worked somehow, i run the file through git bash, i run the code python decryptlg.py randomname.gif.dm but the decrypted file says it cannot be opened " it appears we do not support this file format"
"it appears we do not support this file format" is not coming from my script. Where is it from?
It shows when i try to open decrypted image as JPG without the DM
Well, it's a gif, not a jpg. Try IrfanView.
Kamicater said:
Well, it's a gif, not a jpg. Try IrfanView.
Click to expand...
Click to collapse
Same thing, it just says unknown file format, empty/damaged file or file not found!
If the decrypted image file is unreadable, the decryption didn't work. Try another gmail address. To verify if the decryption works, open the files with a text editor like notepad. Compare the header of the decrypted image file with another readable image file. A .gif should start with GIF89a. A .jpg should contain JFIF in the very beginning.
Opening jpg in notepad gives me strange text basically like this
Hœárz=Æ`2õÆ;5zÑì–)1žQ
PîÃά4Õ·I#)¾wMÁ”•<¯™Ý£’ìœú¥÷¡”FqA5é|†7µøæ‡gbq´q¥[y™Qät¾ÁC[“Ú„õ ^L3«íÐR:"MÍ?û(¯.6Ö¯4/2^åøÙºµì“ØßÇø.†q]®–íZvXûÌþtªŒ^vŒ¸ˆ¯Vpêî
˜_kÁ~ú55¡³y›HGY¾þ™Aï ëo“x7¿3—íGͤrœM…ÌO'n²qj¢EÈx4¼¼²žUW"Ïeº†
·Eœ_O¢„•í.a:±qÓ²½™‡}øËÙ\r:±Ãn*YDÐb0Rl
;LLßÁT¦•‡Rnf–=¶¸i‹Á
¤áõŠ¢
I fixed it, it was the email i tried different and it worked!
Any idea how to decrypt like 50 images at once ?
Create a .bat file and fill it with all your files like this:
Code:
python decryptlg.py encrypted/20161230_133055.jpg.dm
python decryptlg.py encrypted/20161230_133040.jpg.dm
python decryptlg.py encrypted/20161230_143010.jpg.dm
Then run the .bat file.
Is there way to somehow copy the names of files from the folder into the bat file, as in make it more automatic as copying names one by one of 350+ files will be a bit time-consuming
Code:
dir/b > filelist.txt
Kamicater said:
Code:
dir/b > filelist.txt
Click to expand...
Click to collapse
Hi, sorry im new to programming where do i paste this ?
i3arty said:
Hi, sorry im new to programming where do i paste this ?
Click to expand...
Click to collapse
Ok i did it a bit ghetto way, copies all names of files into word > replaces the unnecessary words with empty and copies all that into bat file
Kamicater said:
See LG Gallery Decryptor: https://github.com/kamicater/LG-Gallery-Decryptor
You you mentioned in the github that it's possible to recover your media even if you don't know your Gmail address. I'm curious how this is possible? I don't see it described anywhere.
Since I received the second request for help, I'm opening this thread to help if you have trouble with the LG Gallery Decryptor I published last month. Feel free to ask any basic questions about running the python script. It's very rudimentary. It doesn't even accept multiple files, so you have to invoke python once for every single file. Feel free to improve it if you think the effort is worth it.
I'm not sure if "Issues" is the right place to assist on github. But if this thread gets deleted, then I'll have to help there.
Click to expand...
Click to collapse