The topic cm6 tips and tricks has a link for the Sprint visual voicemail. When I downloaded it, it came in a. Zip so I figured I should flash it on. But then it said to extract it and install via and or root access.
How do I do that? I'm running cm6nightly.
Pull the .apk file out of the ZIP file. If you open it up and there's no APK, then try renaming it to a .apk then open up a command prompt and use ADB to install.
I just flashed it and it worked fine.
Related
First of all: I'M SORRY FOR ASKING THIS!
But, I'm trying to edit some drawables in the framework-res and in a couple other apk's but my problem is resigning them. I followed this tutorial http://www.androiddevelopment.org/tag/apk/
I changed the .apk to .zip to open it and access the drawables but when I open the .zip file it opens it in another folder, not like winrar or whatever for windows. So after I edit what I need and recompress the file, I can't change it back to .apk. So I try signing the apk as a .zip but the signing tool thinks it's a update.zip and signs it that way.
Basically, is anyone able to successfully resign apk's on a mac? If so, how?
Thanks
make sure you rezip the files inside the folder, then either sign that zip or open the info window (command+i) and rename the extension to apk there.
circa85 said:
make sure you rezip the files inside the folder, then either sign that zip or open the info window (command+i) and rename the extension to apk there.
Click to expand...
Click to collapse
Yeah I just figured out I have to open the info window to rename to .apk. And now the signing goes smoothly.
This thread is a waste, sorry, I'm an idiot.
Actually, I'm still having an issue. Here is an example of what happens:
Say I rename framework-res.zip to framework-res.apk (after editing, and recompressing) and then I use the signing tool to sign framework-res.apk. If I change it back to .zip and decompress it, there are two files in it. There is a folder called "framework-res" and a folder called "META-INF". Nothing else. The AndroidManifest.xml is inside the framework-res folder. This happens with every apk I try to sign
what are u using to sign apk's on mac? I was tryin to get this working long time ago but gave up. them I found the method using automator and it resigns them but idk if it actually wrks. i tried editing stuff resigning and flashing but i got like 770 files unsigned. unless I just didn't know how to resign an update.zip properly..
jroid said:
what are u using to sign apk's on mac? I was tryin to get this working long time ago but gave up. them I found the method using automator and it resigns them but idk if it actually wrks. i tried editing stuff resigning and flashing but i got like 770 files unsigned. unless I just didn't know how to resign an update.zip properly..
Click to expand...
Click to collapse
I'm using the script in the tutorial I posted in the original post
The script just uses the Jarsigner tool. So I'm using Jarsigner to sign my apks
Oh ok. I might have to try this out. Question: what is the proper way of signing an update.zip after u edited framework.Res or. Apks? I'm confused when it comes to that. Must u resign every single file in the. Zip for it to work?
I went as far as rebuilding the apk, but not sure how to resign. I tried to install anyway without signing, but the installer hangs while checking for version and gives network error after some time. I found a http://code.google.com/p/signapk and tried to use it on mac, but seems like it needs to be run on android itself. When I tried to run it on android, I get permission error, though I did a chmod +x as su. Could you give some more details on where to get the tool and use it?
I am having a helluva time getting the .exe to extract. Keeps saying damaged or unknown file format.
RUU_Supersonic_1.32.651.1_Radio_1.39.00.04.26_release_171253
Need it because the regular way to update and unroot is not working for me, and need to just flash from the recovery menu. Any help would be appreciated.
Tried 7zip and winrar
linflas said:
I am having a helluva time getting the .exe to extract. Keeps saying damaged or unknown file format.
RUU_Supersonic_1.32.651.1_Radio_1.39.00.04.26_release_171253
Need it because the regular way to update and unroot is not working for me, and need to just flash from the recovery menu. Any help would be appreciated.
Tried 7zip and winrar
Click to expand...
Click to collapse
try this.
goto your temp folder.
ex. win 7: C:\Users\CYBERxNUKE\AppData\Local\Temp
and make sure all your programs are closed and delete all your temp files.
Run the RUU program, and once its up and running on your screen, go back to your temp folder....
C:\Users\CYBERxNUKE\AppData\Local\Temp
look for a new folder created there.
without closing the RUU, copy the entire folder over to a safe place and exit the RUU.
you should have what you need.
Stock RUU Roms http://bit.ly/c1jNWR
Hello,
I have installed the Froyo official rooted update from nickiberli and I have deleted a lot of APK that I don't need to make the ROM lighter. I have deleted the install_flash_player.apk and install_flash_player.odex and after three hours of configuration of my phone I realized that I can't redownload Flash Player 10.1 form the Market... I have tried to put the install_flash_player.apk in the SD Card and install with ES File Explorer but it say that it can't install the APK. Is there a way to reinstall the APK (with an ADB command?) to make FlashPlayer works correctly without reflashing the ROM with the the two APK and loosing three hours of reconfiguration?
Thanks in advance to the one that can help me
try: adb install -r APKname
otherwise you might be stuck with having to reflash.
oh, and make sure you place the apks in the tools dir
Thanks you but it didn't help, say "Installation Failed" too.
But I have put back the install_flash_player.apk and install_flash_player.odex back in system/app with the command "adb push" in Recovery Mod, restarted the phone and now everything works correctly again.
Sebacestmoi said:
Thanks you but it didn't help, say "Installation Failed" too.
But I have put back the install_flash_player.apk and install_flash_player.odex back in system/app with the command "adb push" in Recovery Mod, restarted the phone and now everything works correctly again.
Click to expand...
Click to collapse
yeah you cant install an odexed .apk, you either need the deodexed version or just push it using adb like you did lol
You obviously ask a question... so please ask the question in the Q&A section, not in the dev section.
hey im not sure if i am the right section but i tried to search but none of the solutions i have found worked please help..
I apologize if i am in the wrong section
dr690n said:
hey im not sure if i am the right section but i tried to search but none of the solutions i have found worked please help..
I apologize if i am in the wrong section
Click to expand...
Click to collapse
1) Download the following file: http://xeno.bemaniso.ws/Launcher2.apk
2) Place file on the root of your SD Card.
3) Reboot into recovery, same method that you use to flash roms.
4) Under Clockwork, select Partitions.
5) Mount System through Clockwork
6) Unplug and Re-Plug in USB Cord to device or else you won't be able to continue.
7) Open a command prompt or whatever you use to use ADB, type adb shell
8) cd /system/app
9) rm ADWLauncher.apk
10) cp /sdcard/Launcher2.apk /system/app/
11) exit
12) Reboot phone normally.
Next time you flash a rom use winrar or 7zip to open the zip (do not unzip or extract it!!!). Go to system/app/adwlauncher.apk and delete it. Then drag and drop whatever launcher you want to use. Flash the new rom and you're done.
KCRic said:
Next time you flash a rom use winrar or 7zip to open the zip (do not unzip or extract it!!!). Go to system/app/adwlauncher.apk and delete it. Then drag and drop whatever launcher you want to use. Flash the new rom and you're done.
Click to expand...
Click to collapse
I thought stuff like that never works. ROM's and any other files such as apk's are usually signed. Therefore any modifications won't work and the package is corrupt unless you re-sign it. At least in my experience.
Hayzie said:
I thought stuff like that never works. ROM's and any other files such as apk's are usually signed. Therefore any modifications won't work and the package is corrupt unless you re-sign it. At least in my experience.
Click to expand...
Click to collapse
Clockwork let us flash unsingned .zip files, there is an option and you choose if you want clockwork to check if the files are singed or not, and as long as you dont screw and move stuff where is not supposed to be your not gonna get an "installaion aborted" message.... i always do that to remove apps i dont use from system/app before i flash the rom and i've never had a problem
but back on topic... yeah you can do what the second post says, or if you dont want launcher2 just install the launcher you want to use from the market or sdcard if you have the apk, set it to deafult home app then go to recovery and do steps 4 to 9 and reboot, adw should be gone.
Once you get everything set up, resigning is simple. Since you don't have to resign with this method though, that task it pointless.
Hayzie said:
I thought stuff like that never works. ROM's and any other files such as apk's are usually signed. Therefore any modifications won't work and the package is corrupt unless you re-sign it. At least in my experience.
Click to expand...
Click to collapse
I've never signed any of my rooms, ever. If you modify everything without unzipping it, using 7zip or the default package manager in ubuntu, there's no need to, regardless of what it is that you're replacing/modifying.
Hayzie said:
I thought stuff like that never works. ROM's and any other files such as apk's are usually signed. Therefore any modifications won't work and the package is corrupt unless you re-sign it. At least in my experience.
Click to expand...
Click to collapse
I just rename whatever I'm replacing it with to ADWLauncher and switch it out before I flash lol.
Ok so i'm just wondering if there is a way to go into an existing bootanimation file and add a wav file into the sequence of the description text file. And also where would you put the wav file in the zip file. Also can you do this without using ADB, not a big fan of it(meaning I don't know how to use it) It should just be as easy as throwing the file in the zip file and writing the new description text code to run it properly. Just I don't know how. please help
What ROM are you on? How did you get your current boot animation onto your phone w/o adb?
I used Ava-froyoZ2, and for the bootanimation i downloaded one put it on the root of my sdcard and then using root explorer i moved that file to /system/customize/resources then pasted it in there. So all i need to know is how to put a wav file in the bootanimation zip file and write the description text so it'll execute that file.
It's not a wave file it's mp3. It is also not part of the bootanomation zip, it is its own file. Search the forums for pushboot and use that. You should learn to use adb because from your questions in here you more than likely will boot loop your phone and have to nand restore just to get out of it. I have fixed bootloops with adb many times and I now only keep a solid backup of my rom once every 2 weeks.
Ok, secondly; With that rom or if it even is the rom, it doesn't allow me to put my phone in debugging. I have ADB blah blah blah just i'm not that good with CMD, but it never recognizes my phone due to that fact of the debugging. When I go into the settings I can check it and uncheck it. So I don't know what that problem could be.