yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] motiteitel:
Problem

Hello,

After choosing a file, the app is stuck on 'opening'

seems like it isnt getting the exit code from java.exe or something.

any ideas why?

thank you!

2011-10-18 22:11:02,040 DEBUG APK_Edit.Program - Setting form properties:
2011-10-18 22:11:02,211 DEBUG Android.Utils - Starting ExtractResources(Assembly CallingAssembly)
2011-10-18 22:11:02,211 DEBUG Android.Utils - Extracting resources from assembly: ApkTool, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2011-10-18 22:11:02,211 DEBUG Android.Utils - Extracting resources to: C:\Users\Moti\AppData\Roaming\Android
2011-10-18 22:11:02,211 DEBUG Android.Utils - Extracting resources to: C:\Users\Moti\AppData\Roaming\Android
2011-10-18 22:11:02,211 DEBUG Android.Utils - Starting ExtractResources(Assembly CallingAssembly)
2011-10-18 22:11:02,211 DEBUG Android.Utils - Extracting resources from assembly: SignApk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2011-10-18 22:11:02,211 DEBUG Android.Utils - Extracting resources to: C:\Users\Moti\AppData\Roaming\Android
2011-10-18 22:11:02,211 DEBUG Android.Utils - Extracting resources to: C:\Users\Moti\AppData\Roaming\Android
2011-10-18 22:11:02,258 DEBUG APK_Edit.Program - Apk file: D:\Desire\QL\HtcQuickLaunchWidget.apk
2011-10-18 22:11:02,258 DEBUG APK_Edit.Program - Apk backup file: D:\Desire\QL\HtcQuickLaunchWidget.apk
2011-10-18 22:11:02,258 DEBUG APK_Edit.Program - Java executable: C:\Program Files\Java\jre6\bin\java.exe
2011-10-18 22:11:02,258 DEBUG APK_Edit.Program - Temp folder: C:\Users\Moti\AppData\Local\Temp\HtcQuickLaunchWidget
2011-10-18 22:11:02,258 DEBUG APK_Edit.Program - Opening form frmMain()
2011-10-18 22:11:02,274 DEBUG APK_Edit.frmMain - Updating UI with packageInfo values
2011-10-18 22:11:02,274 DEBUG APK_Edit.frmMain - Updating UI with saved settings
2011-10-18 22:11:02,274 DEBUG APK_Edit.frmMain - Enabeling logging engine
2011-10-18 22:11:02,289 DEBUG APK_Edit.frmMain - Decompile started
2011-10-18 22:11:02,289 DEBUG APK_Edit.frmMain - Starting ApkTool version: 1.3.2
2011-10-18 22:11:02,289 DEBUG Android.ApkTool - Starting DecompileApk(D:\Desire\QL\HtcQuickLaunchWidget.apk)...
2011-10-18 22:11:02,289 DEBUG Android.ApkTool - Wait for resources
2011-10-18 22:11:02,289 DEBUG Android.ApkTool - Resources extracted...
2011-10-18 22:11:02,289 DEBUG Android.ApkTool - Cleanup temp path...
2011-10-18 22:11:02,289 DEBUG Android.ApkTool - Starting actual decompile...
2011-10-18 22:11:02,289 DEBUG Android.Utils - Running command: C:\Program Files\Java\jre6\bin\java.exe -jar "C:\Users\Moti\AppData\Roaming\Android\apktool 1.3.2.jar" d -f "D:\Desire\QL\HtcQuickLaunchWidget.apk" "C:\Users\Moti\AppData\Local\Temp\HtcQuickLaunchWidget"
2011-10-18 22:11:02,289 DEBUG Android.Utils - Working directory: C:\Users\Moti\AppData\Roaming\Android
2011-10-18 22:11:02,289 DEBUG Android.Utils - Wait for exit: True
[Android Software/Hacking General [Developers Only]] longlong240:
I have the same problem with you...

Still waiting for the next update...:(
[Android Software/Hacking General [Developers Only]] mredmond2012:
Market Apps?

Will doing this work for Market apps? As in, will I still be able to view/update the app from the Market? And will the icon/name change remain in place after updating?
[Android Software/Hacking General [Developers Only]] Mr.Wrong:
This is a great idea and love it.
[Android Software/Hacking General [Developers Only]] Vortran:
That's all it does for me, too.. just sits at 'opening...' I want to change the icon for Dolphin HD browser from green to blue so it matches the rest of my Cyanogenmod theme.

I too love the idea of this!
[Android Software/Hacking General [Developers Only]] Papaconstantopoulos:
APK Editor

I'm horribly annoyed by the tendency of android apps to create a folder somewhere in my phone's internal memory and dump various files into it. How viable of a solution would it be to use an apk editor such as this one to relocate the directories allocated by my apps into a more civilized set of folders? If possible, would this be impossibly tedious or relatively easy?

Please excuse me if i posted on the wrong thread or violated some forum etiquette i wasn't aware of, this is my first post on XDA.
[Android Software/Hacking General [Developers Only]] krzych:
First one rather. Google took care of that user cannot argue with anything, even permission given to the app. Apps are creating folders usually by machine-code, not just package installed and messing with the code strings is stupid, but possible in some cases. I think you will quickly undrestand that directories are the least problematic. Just forget you had a SD card, dedicate it for the phone and look inside only when you have not enough space. And yes, thread you choose isn't best choice here, but we'll live somehow with this ;).
[Android Software/Hacking General [Developers Only]] memine:
IMO it's up to you how much the issue bothers you. I've changed icons and minor stuff but when an update for the app comes you have to uninstall and tweak again. Otherwise you get the signing code error.

I delete the extra folders once in a while and once in a while search for config files if they exist but otherwise live with it. TB for instance always creates a new data folder rather than using the Android data folder. Even XDA app makes it's own download folder rather than just using the one I point it to.

I have also noted that saving to SD rather than internal can sometimes have different results...
[Android Software/Hacking General [Developers Only]] mredmond2012:
So will changing the app icons using this tool not work for Market apps then? As in, will I still be able to view/update the app from the Market? And will the icon/name change remain in place after updating? Or do you have to uninstall, reinstall from the market, and reset the icon every time you want to update?
[Android Software/Hacking General [Developers Only]] anarchist9027:
I have the same problem, mine also sits at opening
[Android Software/Hacking General [Developers Only]] uswin:
Icon revert to default apk once create a shortcut

Hi guys,

first of all, this is a very great application. Really appreciated for this.

However i found an issue

I manage to change icon,string. and manage to install it to my device

The icon has changed just like what i want, in manage application, in device application menu.

But the issue is, the icon will revert to it's default icon (original apk icon) if I create a shortcut by long click and drag the icon to Device home menu.

Anyone ever had this issue before ? and any possible solution that you guys might think of ?

Thank you very much :)
[Android Software/Hacking General [Developers Only]] machhho:
@ Anoniem100

can you please edit the name of this apk from WalkmanGrey to Music, because it's not working for me using APK Edit v0.4e , it keeps saying : saving file forever

http://www.mediafire.com/?aj0cu5i4rrn31d2

thanks in advance
[Android Software/Hacking General [Developers Only]] zionlin:
I have beamreader but it only opens the Root of the phone. However, my pdf files are in the SD card that I have inserted in the phone. How can I use your program to make sure that it goes to SD card and displays the folders in SD card? I really appreciate your response.

Your program is wonderful in renaming an application.
[Android Software/Hacking General [Developers Only]] nishanty13:
Great app !!

Working great !
[Android Software/Hacking General [Developers Only]] m0d hipp¥:
Anoniem100,

Major props on this application. I'm sorry to hear about your hard drive crashing, but if you wouldn't mind I'd like to exchange some words with you if you have some time.

I have been so fond of this program, I would like to potentially help out in recovering the tool. I'm not entirely sure, but based on some debugging, it looks like you programmed this in Visual C#.

Now, I'm not too familiar with that language, but I have been dabbing with Win32 API in c & c++ and I have debugging & reverse engineering knowledge.

Also on another note, if you still have your old HDD available we can try to see if we can still retrieve any of your files. My previous line of work included data recovery.

Let me know if you're interested.
[Android Software/Hacking General [Developers Only]] r2ras:
useful feature

wud u add su permisions requestfor any app is this possible at all?
[Android Software/Hacking General [Developers Only]] idegeram:
APK Edit v.0.4e is not able to modify some APK... ??

Hi author, contributors, and friends...

I have try APK Edit v.0.3 and v.0.4e, and have successfully modify some android applications' name/icon. However I have never success to change the icon/name of AutoCAD WS or Pixlr-o-matic app. I want to change the app name to be better spelled/looked -> AutoCad and Pixlr Omatic :):D

Error was occurred during decompilation. Somebody know, what causes this. :rolleyes:

If you feel challenged, please try to change AutoCAD WS app or Pixlr-o-mattic app' icon/name.

Thanks in advance! :cool:
[Android Software/Hacking General [Developers Only]] Jaki.b:
thanks , worked , but why when i want to publish it on android market , saying :

Market does not accept apks signed with certificates issued by Android team. Create a new certificate that is valid for at least 50 years.
[Android Software/Hacking General [Developers Only]] Jaki.b:
also i have thats problem

Sorry! The application Messages (process com.android.mms) has stopped unexpectedly. Please try again. Force close.

i tried it on android emulator and samsung galaxy s
[Android Software/Hacking General [Developers Only]] frogger1970:
.NET Error when trying to read an apk

Hallo,

i get an .NET Error when i try to read the apk from "Live Holdem Pro" (Poker).

Other apk's are working. Attached you'll find the logs and other informations about the problem. Please can you you help me.

regards

Kalle
[Android Software/Hacking General [Developers Only]] robba16296:
Hi, thanks for the tool but when I try to edit my browser.apk (from the zip of my rom) it keeps saying "Opening..." for a while (see picture)

After that the program dissapears, am I doing something wrong??

added the log also
[Android Software/Hacking General [Developers Only]] shay2nak:
Good thing I found this.

My problem is I have 2.3.7 CM7 and using ROM Manager, I changed the battery icon and it screwed it all up and am trying to go back to the original battery icon. Even if I backed up the icons it wouldn't have written everything as it was. (because of 1%,10 and 20% icons). Apparently it doesn't clean all the battery pngs before it rewrites the new ones. I should have backed up the entire ROM.

I can use this to edit framework-res.apk or can I overwrite the existing one with the stock CM7 framework and reboot the phone?

thanks!
[Android Software/Hacking General [Developers Only]] Flash-007:
I can't edit these files (hxxp://sourceforge.net/projects/crengine/files/CoolReader3/cr3-3.0.55/) - I receive an error message (MS .NET Framework exception).
[Android Software/Hacking General [Developers Only]] tiredhiker:
Will Not Open

I downloaed your APK Edit and installed the two other programs first. Extracted the Zip into its own folder but when I tried to hit the EXE file to install your program it will not do anything. How do I get the APK Edit program to open? Thanks

---------- Post added at 07:12 AM ---------- Previous post was at 07:03 AM ----------

OOPS.... Got it now. I expected it to install like a normal program. Got it now. Thanks. For the rest of the newbies after you install the other program that lets the APKEdit work click the EXE file after you open the zip and then it will ask what apk file to open. Then you will see the program open. Confusing at first. The Program APKEdit is questionable but thats how I learned to make websites. Taking apart great websites and seeing how they work.
[Android Software/Hacking General [Developers Only]] Dblfstr:
Easier way.

Right click on any .apk.

Click "properties".

Beside "Open with" click "change.

Navigate to APK Edit and select it.

Now when you double click on an apk it will open in APK Edit by default.
[Android Software/Hacking General [Developers Only]] jinavs:
Dude! Can u jus give a quick tutorial about how to renamme apps? and can i rename system apps with this?
[Android Software/Hacking General [Developers Only]] jinavs:
Same here! i'm too stuck over there! Nothing furth! er is happening! :( Please help
[Android Software/Hacking General [Developers Only]] jaan103:
I have the same problem. It seems to be related to Java.

Log file says

- Starting actual decompile...

...

- Wait for exit: True

but the exit signal never comes.

However the directory

...\AppData\Local\Temp\ApkPackage

is created and decompiled files appear in the directory.

Java exit is just not reaching the APKedit??

Maybe Java version?
[Android Software/Hacking General [Developers Only]] bunshred:
Y u only windows????!
[Android Software/Hacking General [Developers Only]] shay2nak:
found the solution...I had an older CM7 ROM backup on my phone and from clockwork recovery did an advancded restore and only restored "system." worked like a charm. :D
[Android Software/Hacking General [Developers Only]] xdaco:
+1 . please port it on linux..
[Android Software/Hacking General [Developers Only]] mmghazal:
Are you loser?

Are you a loser??? why u gave up rewriting & updating this great app !!!!!
[Android Software/Hacking General [Developers Only]] maniacscorpio:
i am not able to edit apk receiving this error-- pic attached
[Android Software/Hacking General [Developers Only]] Benz-Driver:
Thanks for the great program!! :)

Butr one question:how to change the icon in "drawable"? It only changes the high res icon in "drawable-hdpi". But my phone (230x480 display resolution) uses the low res icon in "drawable".

Any change to get this fixed? :confused:
[Android Software/Hacking General [Developers Only]] Dblfstr:
Place the appropriate sized icon.png into the drawable folder.
[Android Software/Hacking General [Developers Only]] WingManello:
i have the same problem on win xp with all frameworks :(
[Android Software/Hacking General [Developers Only]] Anoniem100:
New version... almost....

Guys, working on a new version!

Follow / contribute at: https://github.com/WouterSpaans/APK-Edit
[Android Software/Hacking General [Developers Only]] Anoniem100:
Yes I'm a loser, what's wrong with that ;)
[Android Software/Hacking General [Developers Only]] kalawe:
Hi,

Sorry iam newbie:

How to use this great apps ? Is this for windows ? is there any EXE ?

I dont know how to compile.

Thanks
[Android Software/Hacking General [Developers Only]] Dblfstr:
Yes n00b. This is for windows, there is an exe. Well, there should be, that is what i downloaded.

Kidding. Its easy though. Once you have downloaded it, and extracted the exe. right click on any .apk, go to properties, go to 'open with...' and then navigate to APKedit and select.

Now when you double click on an .apk it will open in APKedit.
[Android Software/Hacking General [Developers Only]] kalawe:
Thank you Dblfstr :). thank too for : Anoniem100.

I know my problem now :D

I was read at the 1st page is : DOWNLOAD SOURCE

I thought is SOURCE ONLY, and i was click the SOURCE link, not DOWNLOAD link. :D
[Android Software/Hacking General [Developers Only]] Dblfstr:
No problem, legitimate questions deserve legitimate answers.
[Android Software/Hacking General [Developers Only]] bsinclair:
Trying to edit an ebook reader app name (it is in chinese). I can open the apk, edit the name but when trying to save, it never finishes. :(
[Android Software/Hacking General [Developers Only]] Bartas18:
where is version for linux:(?
[Android Software/Hacking General [Developers Only]] Anoniem100:
I tried to make one, but run into a technical problem, after some frustration i decided to shelve the idea for later.

Now we are on the subject, any java developers who can help me with some issue?

It has to do with running a dependent jar file without including it in my own jar....

Linux source code can be found at: https://github.com/WouterSpaans/APK-Edit--Java-

brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
at APKEdit.compileAPK(APKEdit.java:337)
at APKEdit.access$17(APKEdit.java:333)
at APKEdit$5.doInBackground(APKEdit.java:370)
at javax.swing.SwingWorker$1.call(SwingWorker.java:291)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at javax.swing.SwingWorker.run(SwingWorker.java:330)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:55)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:38)
at brut.androlib.res.util.ExtFile.getDirectory(ExtFile.java:55)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 14 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:131)
at java.util.zip.ZipFile.<init>(ZipFile.java:148)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:53)
... 17 more
[Android Software/Hacking General [Developers Only]] Anoniem100:
In progress... https://github.com/WouterSpaans/APK-Edit--Java-
[Android Software/Hacking General [Developers Only]] cuongcanthi:
Thank you, good apk
[Android Software/Hacking General [Developers Only]] nickpma:
Hey, very very nice tool!

Only one question...it works on my second laptop, but on this laptop when I open the exe and click on the apk it keeps saying opening...

I check the log and I guess everything is ok, the seem as on the working laptop. I also reinstalled Android SDK and Java, but still not working.

Got any ideas on what it might be?

---------- Post added at 10:28 AM ---------- Previous post was at 10:09 AM ----------

My log file also says this:

2012-03-25 12:05:30,225 DEBUG Android.Utils - Wait for exit: True

Still, for some reason it keeps saying opening...

Tried to reinstall Java, no luck.

You figured something out already?
[Android Software/Hacking General [Developers Only]] hazelkid:
Thank you very much. It's a good tool.

apktool 1.4.3 released with several improvements over 1.3.2 used here. Looking forward to an update :)
[Android Software/Hacking General [Developers Only]] b33zu:
Error message??

Can someone help me with this error please? I get this simply by opening an apk file in the program. Thanks
[Android Software/Hacking General [Developers Only]] Marciful26:
This is great, thanks!

Icon changing works fine for me, but i get error when i try to push the app to my phone. So I copied the apk from the dist folder but it said "Application is not installed." What can be the problem? :confused:
[Android Software/Hacking General [Developers Only]] technohowl:
looks great.. thanks for the tool
[Android Software/Hacking General [Developers Only]] nba1341:
Does anyone know what to do when it just says opening?

Noticed about 5 posts of people with this problem but no one ever suggested a solution.

Same problem here did you ever find a solution?
[Android Software/Hacking General [Developers Only]] M3TALLICA:
I'm having little problem.

It says opening, seems the program is stuck.
[Android Software/Hacking General [Developers Only]] Gspin96:
I downloaded the java source, which is written to be good for linux, but i don't know how to compile it :p

Could someone tell me how to?

Trying to compile the .java files one by one (javac <filename>.java) gives errors. So, i'm sure i'm doing that wrong :rolleyes:
[Android Software/Hacking General [Developers Only]] susdiehl:
I´ve got this error too, BUT i have a SOLUTION :D

Ok, first open a APK which you could edit and open without a error - Try a few APK´s.

When you have it open go to Settings and change ApkToolVersion from 1.3.2 to

1.3.1.

That´s all :D

Now close the Programm and reopen it. When you now open the APK which got an error before you will see it works without an error.

I don´t know where the different is between 1.3.1 and 1.3.2 but it solves the problem.

Cheers ;)

Edit: Hm, New Problem - I could decompilate the APK, change some Things, but when i try to Apply the changes an error occured......

So this is not really a Solution - Sorry :-(
[Android Software/Hacking General [Developers Only]] TreviSyn:
Not work for me, when i try to open an apk, program shows always "opening" and nothing appears...

Win 7 64 prof.
[Android Software/Hacking General [Developers Only]] Aktivehate:
Thanks, works very easily! Just a nice little tool!
[Android Software/Hacking General [Developers Only]] BigMani:
Hi

I tried version 0.4 which was also crashing with this NULL exception. but when I click on continue, I'm able to see the three tabs (but readonly).

So I downloaded the new 0.0.5 version which is able to open the apk. but it is only to let me change the name and icon, and nothing more.

What happened? Thanks.
[Android Software/Hacking General [Developers Only]] CHFAKA2000:
APK Editor

Hello,

I'am intresting in to know all about the android phones, but i also know that XDA also work together with HTC and Google so you are never sure. but send me a mail and we can make some progress. i will donate if this you mane is good.

Best Regards

Charl.
[Android Software/Hacking General [Developers Only]] Ringetone:
Video

Someone got the energy to make a short video showing how to make this work?
[Android Software/Hacking General [Developers Only]] dionysos77:
Dear developer and users

I'm using.a galaxy note.

On note double tapping on home button set to run voicetogo.APK which I don't use. So I searched to change behaviour of double tapping.

I found homemyhome application of a great developer again in here xda. But the app is not working on my note as lt works on s2.

So I decided to find a work around

I thought that if I copy i.e. camera.apk out of /system/apps change the name to VoiceToGo.apk and put it back to /system/apps directory and run it once manually.

Then after installation, double tapping will call new voicetogo which is actually camera app.

is that worth trying to night?
[Android Software/Hacking General [Developers Only]] Dblfstr:
Simply renaming the apk will not accomplish your goal. No matter what you name the apk, it will still be camera.apk to your system.

The app (homemyhome) should work on a galaxy note, provided you have a stock ROM. Other launchers/lock screens may cause the app to not function properly.
[Android Software/Hacking General [Developers Only]] dionysos77:
I tried many configurations

Go launcher ex + magic locker

Go launcher ex + go locker

Go launcher ex + standart locker

I don't like and can't use TW launcher of samsung.

And none of above configs allowed me to use homemthome properly.

I don't want to be able to "change" double home tap action. I just want to open camera app to run after double tap on home key.

Any suggestion to do that without homemyhome.
[Android Software/Hacking General [Developers Only]] Dblfstr:
I'm no too familiar with the Note, but i would think it should be changeable. Somewhere there is some button mapping going on and telling the system what to do when you double tap the home button.

I would suggest asking int the Note forums, or requesting a dev there to look into it.
[Android Software/Hacking General [Developers Only]] dionysos77:
Thanks a lot. I will ask there