[Q] Did something happen to 7-zip? - Android Q&A, Help & Troubleshooting

As most of us know, 7-zip is an extremely helpful tool for modders. We can just open a ROM archive and drag our mods into it. I didn't have an Android device for a while (maybe 6 months) and during that time I built a new computer. I installed Windows 7 64-bit like I have in the past, installed all of my programs, and installed the 64-bit version of 7-zip. But, for whatever reason, even if I enable "integrate 7-Zip to shell context menu" it never shows up in the context menu. Furthermore, I can only "open with" 7-zip File Manager and when I try to drag something into an archive, I get an error:
Uploaded with ImageShack.us
I can't figure out why 7-Zip isn't functioning the way it used to. Did the software change or something?
UPDATE: I used a program to edit things like context menus, desktop shortcut icons, start menu hacks, etc. and it screwed things up. If I find the name of the program I'll put it here unless this thread gets deleted.

jmattp said:
As most of us know, 7-zip is an extremely helpful tool for modders. We can just open a ROM archive and drag our mods into it. I didn't have an Android device for a while (maybe 6 months) and during that time I built a new computer. I installed Windows 7 64-bit like I have in the past, installed all of my programs, and installed the 64-bit version of 7-zip. But, for whatever reason, even if I enable "integrate 7-Zip to shell context menu" it never shows up in the context menu. Furthermore, I can only "open with" 7-zip File Manager and when I try to drag something into an archive, I get an error:
Uploaded with ImageShack.us
I can't figure out why 7-Zip isn't functioning the way it used to. Did the software change or something?
Click to expand...
Click to collapse
Run 7zip file manager as admin then enable the context menu.
The error you are getting is because the creator of the file chose to create two files with the same name but different case. As you might know Windows treat them the same. 7zip is apparently doing the same. Try another zip file?
Sent from my U8860 using xda app-developers app

trekker99 said:
Run 7zip file manager as admin then enable the context menu.
Click to expand...
Click to collapse
Thanks, but I tried this already. I even stated in my post that I tried this.
The error you are getting is because the creator of the file chose to create two files with the same name but different case. As you might know Windows treat them the same. 7zip is apparently doing the same. Try another zip file?
Click to expand...
Click to collapse
I tried three different zip files. Unfortunately, it still happens.

Related

[Q/Help] How do I mod sms handling?

I got a problem with the way sms's are handled by HTC Sense(Its the HTC Desire).
I receive a sms from work on a daily basis, and thy contain a "/" (Slash as in "WorkPlaceName A/S") in the "from/sender" field instead of a phone number.
The problem is that the phone receives it, but discards it again because of the slash.
All sense based ROM's I've tried have all had this problem, but the non-sense froyo(2.2) ROM's are fine.
Now I want to change the behavior my self, but I don't know where to look.
I was thinking the kernel or somewhere in the ROM?
But I'm not sure.
I'll appreciate any help.
Anyone can help on this?
Does anyone know how would know?
Have you tried using Handcent instead of the HTC app? Since HTC's apps are not open source, it might not be easy to modify them although you could try 'APK Manager'.
Also, I recommend reading this if you want to understand how apps interact with the OS in Android - http://developer.android.com/guide/topics/fundamentals.html
gnarlyc said:
Have you tried using Handcent instead of the HTC app? Since HTC's apps are not open source, it might not be easy to modify them although you could try 'APK Manager'.
Also, I recommend reading this if you want to understand how apps interact with the OS in Android - http://developer.android.com/guide/topics/fundamentals.html
Click to expand...
Click to collapse
Yes i did try Handcent, but as far as I can see the problem runs deeper then that.
I tried almost all sms apps on the marked, and the sms's keeps getting deleted.
if there is any way to change it, you could most probably find it by decompiling the apks associated with the sms system.. Unfortunately I have no idea what file it would be, however you can convert the Android compiled XMLs with AXMLPrinter2.jar file, and edit the settings to get it to do what you want (though there is a better and more efficient way to do this.. I cant remember what the program is called to do it..)
You can get AXMLPrinter2.jar from here: Download
You have to have the java jre (java runtime environment), and here is the syntax:
1. rename the apk to a .zip file
2. extract the files to a folder
3. 1 by 1 go to the files you want and type (for example)
java -jar AXMLPrinter2.jar Rosie.xml > Rosie.txt
Like I said there is a better way. There is a program out there that will do the hard work on multiple files for you, however I can't remember the program name.
hexskrew said:
if there is any way to change it, you could most probably find it by decompiling the apks associated with the sms system.. Unfortunately I have no idea what file it would be, however you can convert the Android compiled XMLs with AXMLPrinter2.jar file, and edit the settings to get it to do what you want (though there is a better and more efficient way to do this.. I cant remember what the program is called to do it..)
You can get AXMLPrinter2.jar from here: Download
You have to have the java jre (java runtime environment), and here is the syntax:
1. rename the apk to a .zip file
2. extract the files to a folder
3. 1 by 1 go to the files you want and type (for example)
java -jar AXMLPrinter2.jar Rosie.xml > Rosie.txt
Like I said there is a better way. There is a program out there that will do the hard work on multiple files for you, however I can't remember the program name.
Click to expand...
Click to collapse
APK Manager?
hexskrew said:
if there is any way to change it, you could most probably find it by decompiling the apks associated with the sms system.. Unfortunately I have no idea what file it would be, however you can convert the Android compiled XMLs with AXMLPrinter2.jar file, and edit the settings to get it to do what you want (though there is a better and more efficient way to do this.. I cant remember what the program is called to do it..)
You can get AXMLPrinter2.jar from here: Download
You have to have the java jre (java runtime environment), and here is the syntax:
1. rename the apk to a .zip file
2. extract the files to a folder
3. 1 by 1 go to the files you want and type (for example)
java -jar AXMLPrinter2.jar Rosie.xml > Rosie.txt
Like I said there is a better way. There is a program out there that will do the hard work on multiple files for you, however I can't remember the program name.
Click to expand...
Click to collapse
Thanks I'll try that.
But do you know the name of the HTC SMS apk?
I can only find MMS and mail.
Anyway I'll have a look at the MMS apk.

[Q] Editing an APK, any APK.

EDIT: Figured it out.
Care to share?
Yeah, will be nice if you could share this information with others
aitorTheRed said:
Yeah, will be nice if you could share this information with others
Click to expand...
Click to collapse
Man, I hate it when people do that...
1. Search for APK Manager in XDA and install it on your PC
2. Download and Install the Android SDK kit on your PC
3. Follow the instructions for APK Manager and place the APK file in the modding folder
4. Open APK Manager and select Decompile APK (Your APK file will be placed in a separate folder for you to work on)
5. Change what you want to change in the APK
6. Recompile the APK and sign it (unless it's a system file like framework, those are not signed)
A lot more is involved in modding an APK file and you really should know something about how the files inside the APK work before you go changing things, but in a nutshell, that's the basics.
Hope that helps!
What I have learned.
I had a specific question, but here is what I can tell you.
1. Setup APK Manager, it saves a lot of command line typing.
2. Pretty much always use option 9 and 11, never 1 or 3.
3. If you are simply changing graphics and not smali or XML files, don't use this, open it in 7zip and drag the files. Decompiling changes the image darkness sometimes.
4. Unless you are working on your own apk file, always say yes to 'is it a system apk', when it asks you to keep existing files, say yes. Delete from the 'keep' folder what you edited.
5. If you edit XLM files, delete resources.arsc from the file, this is where they all get compiled to.
6. You can use this for jar files, just rename to apk then back to jar when finished.
7. If you get an error try using option 20 to increase the memory to 1024.
8. If you edit jar files, delete classes.dex in the 'keep' folder when compiling.
9. Treat all files as signed system files (as noted above) and you will be much safer. If the file has a signature on it, this will save it.
Thanks for the info
Is there anything that can install system files. They won't install with ap manager so does it have to be pushed?
Sent from my Desire HD using XDA Premium App

[Q] Odin closes as soon as I launch it

I DL'ed ODIN 1.85 to flash CWM to my tab but as soon as I open it with 7z it closes right away. I've tried it on my toshiba netbook as well as my new HP laptop and I get the same result.
Am I missing something?
sidenote: I'm pretty familar with ODIN as I use it with my captivate (and that version opens fine on my netbook). I just can't get this to stay open
Bump.
Nothing??
Why do you open odin with 7z?
- unzip the folder & run as Administrator
open & run programs like that from 7zip is like playing with fire
I had the same issue. I unzipped the folder and madr sure all the files stay in the same folder. This should fix it.
it might have an error in korean, it might be missing the ini file if this comes up. launch with the ini in the same folder and it should be ok
It worked on my laptop you may need to uninstall the old version/drivers and reinstall.
media_11 said:
I had the same issue. I unzipped the folder and madr sure all the files stay in the same folder. This should fix it.
Click to expand...
Click to collapse
you helped me so much.
I downloaded it 8 times

[Q] apk filetype not being recognized by APK OneClick

First off I will say this is the greatest tool I have ever came across and I am thankful for anyone that had hand in its production. The tool of course is here http://forum.xda-developers.com/showthread.php?t=873466 and it has been working great for me. But earlier today I used winrar to open a com apk file and edit a specific txt file however I accidentally didn't un-click the "use as default program" box and now right-clicking and apk file will not display the decompile option or install to phone option any longer. I figured since the default program had been changed it was not being recognized by one click apk any longer so I deleted the default program for the apk file type in the registry and uninstalled then re installed the shellext for APK_OneClick however the right-click apk options still will not show. I can recompile folders to APKs but nothing else. Any help with this issue is greatly appreciated and thanks in advanced it is driving me crazy.
I am assuming my problem is fro the whole winrar accident as the icon provided with OneClick no longer is displayed for apk files either I just can't solve the issue.
I have tried open file with whe right clicking apks and it will allow me to select the decompile file in the APK_OneClick folder manully but then after recompiling the disarm folder back into an APK it fails to install to the phone via USB and after moving it to the phone it has a parsing error. Any help on how to fix the right click problem or at least fix my parsing issue would be much appreciated. Thank you all!
JoshMan619 said:
First off I will say this is the greatest tool I have ever came across and I am thankful for anyone that had hand in its production. The tool of course is here http://forum.xda-developers.com/showthread.php?t=873466 and it has been working great for me. But earlier today I used winrar to open a com apk file and edit a specific txt file however I accidentally didn't un-click the "use as default program" box and now right-clicking and apk file will not display the decompile option or install to phone option any longer. I figured since the default program had been changed it was not being recognized by one click apk any longer so I deleted the default program for the apk file type in the registry and uninstalled then re installed the shellext for APK_OneClick however the right-click apk options still will not show. I can recompile folders to APKs but nothing else. Any help with this issue is greatly appreciated and thanks in advanced it is driving me crazy.
I am assuming my problem is fro the whole winrar accident as the icon provided with OneClick no longer is displayed for apk files either I just can't solve the issue.
I have tried open file with whe right clicking apks and it will allow me to select the decompile file in the APK_OneClick folder manully but then after recompiling the disarm folder back into an APK it fails to install to the phone via USB and after moving it to the phone it has a parsing error. Any help on how to fix the right click problem or at least fix my parsing issue would be much appreciated. Thank you all!
Click to expand...
Click to collapse
I got same problem with you
elhar said:
I got same problem with you
Click to expand...
Click to collapse
have you happened to find any help yet?

Question one+-latest do it all tool

i found this on a gsm forum thought id share it here
32.33 MB file on MEGA
mega.nz
I have this... its not worked for me so far
This is a windows .bat file that is "protected" and is written to work with Android 11 and half the functions are not the same with the Android 12 ColorOS base version. If the author would have shared it with the .bat file in plain text, someone might have updated it and left his credit and not just stole his work and renamed it.
Not everyone embraces open source ideals.
Yes this work with os11 not for os12
All you have to do is run the exe, then browse to where it extracts the contents to. IE:
c:\Users\<username>\appdata\local\temp
....
the.real.p3y0t3 said:
All you have to do is run the exe, then browse to where it extracts the contents to. IE:
c:\Users\<username>\appdata\local\temp
....
Click to expand...
Click to collapse
You have not dealt with well written .bat file obfuscation. I have the .bat file, but it has been run through a tool that converts the editable ASCII into expressions and different encoded base (x) that are more work to resolve than to re-write the batch file.
Challenge: Make this working executable .bat file plain ascii again.
Your story, tell it like you believe it ;-)
Honestly though, why not look for your self? Ive already done it with this "tool". Not obfuscated at all. If yer having problems finding the files, run the EXE, choose one menu option, go to yer temp DIR and sort the contents by date modified, and with the FILES listed first, scroll down to where it starts listing directories. It will be the first one listed. Have fun!
\\'eird dunno why it didnt attach the file to the previous post. I should have made clear that the file you seek was located in the tmp directory thats created under the parent directory... You seemed to know what you were talking about, so I assumed little to no hand-holding would be needed...
Its worth mentioning that all of these bat2exe tools use the same (or nearly the same..) method for urm ehhh "obfuscation"; IE: upon running the app, it inflates the files to your appdata\local\temp directory. Sometimes the "app" will be password protected, and wont unpack the exe until the correct password is entered. For myself its force of habit to go check my temp dir after running any of these style tool things... And you should too!

Categories

Resources