Hey all,
I'm trying to unpack, edit and repack an apk file that I copied from my phone, but when I copy it to my desktop it is locked. I've tried changing the permissions before transferring and after transferring, but no luck either way.
Any ideas?
Thanks in advance
Related
Hello, i need to edit an existing file under the windows DIR.
I can edit the file in Total Commander but can't re-save the file.
I have copied the file on to my laptop, edited the file again but not able to force the file back into the windows DIR.
Anyone know how to do this?
Thanks
MBP
No one able to help me out?
I guess you are trying to overwrite an HTC ROM File. To do that you need to unlock the ROM somehow....
Good day,
I have some corrupted files when trying to unrar a .rar file within the tab and now i couldn't delete the file as it keep reappearing even after deleted. The .rar works fine in pc and I'm able to extract the files from it. Possibly due to the files are not in English.
I tried mounting it as USB to PC and the file won't appear in Window's even thou with hidden file options on.
Any ways for me to force delete a file in GT 10.1 like how we did in windows using cmd?
Thanks
anyone?? Bump
Guys I need HELP here...
My Go To Documents Files Folders become .exe
and because of that, i can't view, add, nor delete any files
when i clicked it, it opens in a new tab and no files on it
Is there anyway to make it a normal folder again?
else im thinking to reset the phone, but the phone is rooted and flashed to run ICS
is it ok to reset my phone? am i going to flash it again? etc...
Thanks in advance
i use file explore apps like astro or root explorer, long press on said file, rename it just like you would on a computer. from a ".exe" to what ever the format is supposed to be. it works for me.
bzmotoninja83 said:
i use file explore apps like astro or root explorer, long press on said file, rename it just like you would on a computer. from a ".exe" to what ever the format is supposed to be. it works for me.
Click to expand...
Click to collapse
I searched on app store and found ese file explorer
Installed it and successfully run it
BUT the rename thing doesn't seems to work
I renamed a .exe file sample download.exe
A long hold press, then rename, the rename was good but
the file type is still a file not folder,
And I don't have any idea on how to change the file type
Does ese explorer app doesn't do the work?
Should I try your suggested app?
Or no Choice just to reset my phone?
Thanks for the quick reply
btw guys, i fixed my .exe problem, by doing a factory reset,
but for those guys who have the same problem and don;t want to do factory reset
replies and solutions for this problem is still welcome
Removed
I have a rooted Galaxy M Style phone with stock Gingerbread 2.3.4 firmware. I am trying to customize my stock camera app, but am not sure what I'm doing wrong. I plan to replace the autofocus_ok.ogg with a different tune from my phone. I checked the properties of the autofocus_ok.ogg and saw it's a mono, 44100hz, and 96 bitrate file. The tune that I have has the same properties. So this is what I have done so far:
I backed up camera.apk to /system/app/camera.apk.bak and the camera.odex to /system/app/camera.odex.bak. I left a copy of camera.odex in /system/data. I copied the camera.apk to my memory card and placed the file on my computer. I renamed the file to a .rar. I then deleted the autofocus_ok.ogg and placed the tune that I wanted in that directory. Then I renamed it to autofocus_ok.ogg. I renamed the file back to .apk and transferred the file back to the memory card, then over to /system/app. The camera app will not install/not showing up on my phone. I am transferring the files through root explorer on my phone.
I worked with the original apk file again with apktool. I was able to decompile and replaced and renamed the files that I needed again. I compiled the file and transferred the file to /system/app again, but the apk will still not install. I checked the complied apk file and noticed that the file didn't have the META-INF folder, so I copied that over to. Tried to install it again by copying the file to /system/app, but it still won't show up on my phone. Is there anyway for me to change the autofocus_ok.ogg without a custom rom?
Thanks.
ImAhNoBoDy said:
I have a rooted Galaxy M Style phone with stock Gingerbread 2.3.4 firmware. I am trying to customize my stock camera app, but am not sure what I'm doing wrong. I plan to replace the autofocus_ok.ogg with a different tune from my phone. I checked the properties of the autofocus_ok.ogg and saw it's a mono, 44100hz, and 96 bitrate file. The tune that I have has the same properties. So this is what I have done so far:
I backed up camera.apk to /system/app/camera.apk.bak and the camera.odex to /system/app/camera.odex.bak. I left a copy of camera.odex in /system/data. I copied the camera.apk to my memory card and placed the file on my computer. I renamed the file to a .rar. I then deleted the autofocus_ok.ogg and placed the tune that I wanted in that directory. Then I renamed it to autofocus_ok.ogg. I renamed the file back to .apk and transferred the file back to the memory card, then over to /system/app. The camera app will not install/not showing up on my phone. I am transferring the files through root explorer on my phone.
I worked with the original apk file again with apktool. I was able to decompile and replaced and renamed the files that I needed again. I compiled the file and transferred the file to /system/app again, but the apk will still not install. I checked the complied apk file and noticed that the file didn't have the META-INF folder, so I copied that over to. Tried to install it again by copying the file to /system/app, but it still won't show up on my phone. Is there anyway for me to change the autofocus_ok.ogg without a custom rom?
Thanks.
Click to expand...
Click to collapse
erm... is the permissions set correctly rw-r--r-- ?
MoonBlade said:
erm... is the permissions set correctly rw-r--r-- ?
Click to expand...
Click to collapse
Yup, permissions were set correctly like rw-r--r--. Owner is root:root. Those are the permission that I set on the apk file like they were on the original file. I just realized that the compiled apk's from apktools doesn't show up on my phone. The apk that I created by opening up winrar and just replacing the .ogg files do show up, but I get the error "The application Camera (process com.sec.android.app.camera) has stopped unexpectedly. Please try again."
Anything else I can try or a thread to refer to?
ImAhNoBoDy said:
Yup, permissions were set correctly like rw-r--r--. Owner is root:root. Those are the permission that I set on the apk file like they were on the original file. I just realized that the compiled apk's from apktools doesn't show up on my phone. The apk that I created by opening up winrar and just replacing the .ogg files do show up, but I get the error "The application Camera (process com.sec.android.app.camera) has stopped unexpectedly. Please try again."
Anything else I can try or a thread to refer to?
Click to expand...
Click to collapse
why dont you try to push the modified apk manually using root explorer or so instead of pushing via adb ..
after decompiling apk and modifying it, compile it into some folder and then copy it into you sd card then use root explorer and manually push(copy) the apk into system/app .. give proper permissions and then reboot your phone..
Here are some guides to use apktool
http://forum.xda-developers.com/showthread.php?t=1891686
http://forum.xda-developers.com/showthread.php?t=1989533
MoonBlade said:
why dont you try to push the modified apk manually using root explorer or so instead of pushing via adb ..
after decompiling apk and modifying it, compile it into some folder and then copy it into you sd card then use root explorer and manually push(copy) the apk into system/app .. give proper permissions and then reboot your phone..
Here are some guides to use apktool
http://forum.xda-developers.com/showthread.php?t=1891686
http://forum.xda-developers.com/showthread.php?t=1989533
Click to expand...
Click to collapse
I have been pushing the modified apk through root explorer all this time. I don't even have adb install, haha. The procedure you explained have been the way I have been doing it the whole time, lol. I read the threads you posted and the procedure is the same as I've been doing it, except for the second thread. I can't grab the apktool from 4shared because I don't have an account. I am using the latest apktool 1.5.2. Also, I didn't understand what PulseDroid was talking when he said "We are NOT done just yet, we cannot use the new apk's... we have to take what we did and add it back to the original apk file to keep proper signature use something like 7zip, take the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into Original apk". So I'm suppose to replace the resources.arcs and the .ogg files that I created from the new apk to the old apk? I didn't mess with any xml file.
Anyways, is there anything else I can try?
EDIT: ........I feel so embarrassed. I checked out this thread http://forum.xda-developers.com/showthread.php?t=2378177 and saw this post "Drag your replacement files into WinRAR and (here's the important part) in the Compression Method drop-down choose "Store"." All this time I have been compressing the file as "Normal" in Winrar, instead of "Store".
All in all, I did not need apktool at all. I used the original apk and opened it up in Winrar. I deleted the files that I wanted to replaced and put in the files that I wanted. Each time I put something in the file in Winrar I get a prompt for compression and instead of "Normal" compression just use "Store". It was that simple.
This helped me, thank you!
Could anybody help a newbe to disable the annoying startup sound I got after system update? Does deleting the sound file help? If so what is it called and how to access it?
katjah said:
Could anybody help a newbe to disable the annoying startup sound I got after system update? Does deleting the sound file help? If so what is it called and how to access it?
Click to expand...
Click to collapse
The sound file bootanim.mp3 is inside the tablet's bootanimation.zip file. To stop the sound file from playing, you will need to either modify the existing bootanimation.zip file or replace it with a bootanimation.zip file that does not include a sound file. Also, if you turn down the tablet's volume before powering off the tablet, the sound will be muted when the tablet is powered on.
I have encrypted my tablet so I get the startup sound twice. By muting the volume I get rid of the last one but not the first. I found the bootanim.zip file with a root explorer but was not able to modify it anyway. I tried to delete or rename the zip file and the mp3 file without success. Do you guys use any specific tool to do that? Do I have to root my tablet in order to do that?
katjah said:
I have encrypted my tablet so I get the startup sound twice. By muting the volume I get rid of the last one but not the first. I found the bootanim.zip file with a root explorer but was not able to modify it anyway. I tried to delete or rename the zip file and the mp3 file without success. Do you guys use any specific tool to do that? Do I have to root my tablet in order to do that?
Click to expand...
Click to collapse
Yes, you will need root access to be able to modify the bootanimation.zip file. You can learn how to work with boot animation files and what tools you will need by searching XDA Developer forums and the Internet for tutorials like THIS ONE and THIS ONE.
Cat McGowan said:
Yes, you will need root access to be able to modify the bootanimation.zip file. You can learn how to work with boot animation files and what tools you will need by searching XDA Developer forums and the Internet for tutorials like THIS ONE and THIS ONE.
Click to expand...
Click to collapse
Thanks for your help. Will try that.