reompile apk - Defy General

hi! is there any way to change a file in an apk? read somewhere that apks are just zips, and i really can see the files in it, but when i rezip it and rename it to apk, the phone wouldnt install it (it starts, but i get the message 'application not installed'). btw i need this to change the menu background color in go launcher from white to black, so if you know any other solution to this, i would be grateful if you posted it! thx!
sent from my cm7.1 defy...

use this tool..
http://forum.xda-developers.com/showthread.php?t=1227179

still getting the "application not installed" message, whatever i do. help pls? :S

I guess this happens because not all apps are opensource. Can you mention which app are you trying to mod?

Maybe u din sign it...
Sent from my MB525 using xda premium

tried to mod go launcher ex, and as it turns out, the problem was i didnt sign it. thx for the help guys!

Related

[Q] can anyone help?

Ok guys heres the deal. I have a droid inc. i rooted it couple months ago and ill never look back. i have got pretty good at installing roms. however when it come to "flashing" custom mods and themes im lost. i am trying to put a black themed market on my phone. i have downloaded several zip files that say they have it. i know all about astro and all that. i have tried renaming it update.zip and installing it through clockwork. and i have read forums that have talked about removing certain files for it to work. i have put certain roms on my phone just because of the themes for them that contain the "black market" but cant get them to work either. both using clockwork and metamoph. it always says missing or corrupt file. I hope that there is someone out there that is willing to spend lil time with me to get this figured out. thanx guys. btw i am currently on Remption revolution rom but have many others.
BDogg718 said:
Ok guys heres the deal. I have a droid inc. i rooted it couple months ago and ill never look back. i have got pretty good at installing roms. however when it come to "flashing" custom mods and themes im lost. i am trying to put a black themed market on my phone. i have downloaded several zip files that say they have it. i know all about astro and all that. i have tried renaming it update.zip and installing it through clockwork. and i have read forums that have talked about removing certain files for it to work. i have put certain roms on my phone just because of the themes for them that contain the "black market" but cant get them to work either. both using clockwork and metamoph. it always says missing or corrupt file. I hope that there is someone out there that is willing to spend lil time with me to get this figured out. thanx guys. btw i am currently on Remption revolution rom but have many others.
Click to expand...
Click to collapse
I know that one thing you need to figure out is when the ROM was built did he build it with drawable-hdpi named drawable-hdpi-v4 or just drawable-hdpi ? you can check by unzipping the framework-res.apk. I have noticed that if the rom does not have the drawable-hdpi-v4 and the Vending.apk does then it will not install. I have had to decompile the market that I like and recompile it to remove the -v4 for the SR 4.1 Rom. What market are you wanting? http://forum.xda-developers.com/showthread.php?t=1042506 is a nice black market.
ok im not quite sure what ya mean. i checked the link ya sent. heres one for ya. when it says 3.Ensure that you have deleted every trace of the market from data/app.
where do i find that? i appreciate your help
BDogg718 said:
ok im not quite sure what ya mean. i checked the link ya sent. heres one for ya. when it says 3.Ensure that you have deleted every trace of the market from data/app.
where do i find that? i appreciate your help
Click to expand...
Click to collapse
Get root explorer a very good app. Then go into data/app and see if you have the vending in there. If you do then delete it. I will download your ROM and check the directory name. Also check out this link. http://forum.xda-developers.com/showthread.php?t=957331 there is a nice black on there.
Ok I just checked your ROM and it does have the -v4 at the end of it so the last link I just posted pick the black marketplace and flash it and it should work.
ok cool.trying it now. will be back in couple min. thanx for all your help so far. let me ask ya....when u say flash it what ya mean? rename it to update and apply update in clockwork? or just mount it to card and install from sd in clockwork?
BDogg718 said:
ok cool.trying it now. will be back in couple min. thanx for all your help so far. let me ask ya....when u say flash it what ya mean? rename it to update and apply update in clockwork? or just mount it to card and install from sd in clockwork?
Click to expand...
Click to collapse
Just copy it to your SD card and install it via CWM or Rom Manager.
i just tried installing it right through clockwork and it said it installed but no black market. gonna try the second method of deleting the vending and updater files.
it wont let me delete the right file w file explorer or astro. do they have to pro versions to do that? is there a way to get to them via the computer? cant find em
BDogg718 said:
it wont let me delete the right file w file explorer or astro. do they have to pro versions to do that? is there a way to get to them via the computer? cant find em
Click to expand...
Click to collapse
Well I bet the issue is...when you installed the ROM it did not have 2.3.6 of the market so it did a update...I had that same problem and followed all the instructions to get it replaced and it did not work. I ended up reinstalling the ROM then flashing the new marketplace imediatly to fix it.
You could replace the vending.apk from the ROM and replace is with the market you downloaded and then reflash the ROM.
ok cool im gonna try that now
does it matter that it is a zip file and not a apk file?
where do i find the vending file? cant find it in the rom
i cant believe this is so hard. lol
BDogg718 said:
where do i find the vending file? cant find it in the rom
Click to expand...
Click to collapse
Use winrar and right click on the zip file select open with and then select winrar. Click on the system/app then you will see vending.apk then goto the new vending and drag and drop it into the winrar window and select yes it will overright the one that is there now. You must unzip the new marketplace until you have the vending.apk file. Do not add the .zip into the ROM.
Ok when you use root explorer, you need to click the box at the very top that says "mount r/w". Otherwise it is a read only file. The file you are looking to delete can be found by navigating through the following folders. system, then app.
To flash a black or other color market, usually you must first flash a stock market.zip through clockwork. Then reboot the phone, and open the market once to make sure it flashed correctly. Reboot into clockwork again, and flash you black market zip. Start your phone again and check to see that you have the correct market that you want.
If you have any problems with these instructions let me know and I can explain in more detail or step by step.
*It's IncREDible*
BDogg718 said:
i cant believe this is so hard. lol
Click to expand...
Click to collapse
Ok so download http://dl.dropbox.com/u/10654714/Redemptive_rEVOlution_2.3_Final.zip I changed the vending.apk to the black market from one of the links I gave you. Reflash this like you were a brand new ROM. See if that fixes it.
thanks for all the help guys. i reall appreciate it. im gonna try both ways now. will get back in couple min. its cool to have people here willing to help dumbasses like me. lol thanx again.
awesome it worked. kinda get how you did it. couple more questions if ya dont mind. 1. i really like the rom "gingerbread-inc-deck-1.2x" cant remember where i got it. so i tried to find the vending file in it and its not there? any ideas? i found the right folder but nothing. think u be willing to help? 2. how do i go about putting custom notification bars on? u know with the cool battery and signal icons. any links to any of them? i know ur prolly a busy person so any help u can give and have gave me is very appreciated.

[App] Fix S-Voice Network Error W/ Download Link (Root Explorer Fix)

USE AT OWN RISK
Download S-Voice - not modded apk
download and install like you would any other app
Fix S-Voice Network Error
After installing the S Voice app, use a root explorer app to edit your build.prop
Change...
ro.product.model= ( your Phone )
To
ro.product.model=GT-I9300
and also change
ro.product.device=GT-I9300
HowTo Manually Edit your build.prop File.
Open Root Explorer
Scroll down to your /system directory and tap on it.
At the top of the screen tap the button that says 'Mount R/W' (it will change to 'Mount R/O')
Long press on your build.prop file and select 'Open In Text Editor'.
Your build.prop file is now fully editable, please pay attention to what you are changing!
Make Changes
Hit back twice, Root Explorer will ask you to save it. Tap 'yes'.
Reboot
Root Explorer (File Manager) - Android Apps on Google Play
It works but what about everything you want it to do locks up? Set alarm..lock up. Maps, lock up. Lol does anything work?
sent from Transformer Prime cranking it out with WSG customs.
Scuddster said:
It works but what about everything you want it to do locks up? Set alarm..lock up. Maps, lock up. Lol does anything work?
sent from Transformer Prime cranking it out with WSG customs.
Click to expand...
Click to collapse
From what JC tested on Venum Ice, that's kind of what it only does... Lol
Sent from my SPH-D710 using xda premium
i used the command navigate to (Location)
and it worked
i believe the alarm part does not work cause it depends on the clock from gs3
you should try the modded apk then cause not having any of those issues with that apk.
but u have to force install that apk file by coping it to system and changing permissions
that is to hard for some people
Es file explorer, super manager are easy to use not hard at all
if you want to post the file link to the other apk and detailed instructions i will add it to op
is the link in the OP the modded apk?
no
changed post to reflect not modded apk
htls said:
changed post to reflect not modded apk
Click to expand...
Click to collapse
thats what im saying.. when modded apk is posted id try that. i had it but uninstalled already and didnt back it up. but it is good to have two options.. if its too hard to set permissions they can take your route .. i personally only used it to check weather lol.. and i did ask this:
Sent from my SPH-D710 using XDA
Beware anyone changing their build.prop. Some apps wont run like mobile odin and some other apps may not install, just saying. AND WHATS UP Rob. I hope you and your family are well man!!!
Sent from my SPH-D710
Will this work on gb, blazer 4.1?
your stupid fix ****ed up my phone. i rebooted it and now it only goes past the "boot" screen and goes black and that's it. it wont boot at all... just great! :0/.
draconx said:
your stupid fix ****ed up my phone. i rebooted it and now it only goes past the "boot" screen and goes black and that's it. it wont boot at all... just great! :0/.
Click to expand...
Click to collapse
You do know every thing we do in here is at your own risk. You could of said hey I am running blah blah blah rom and did the fix but it wont let my phone boot up. So that others reading this would know that there are even more risks... Jus' Sayin'
Hope you get back up and running
wow .. it works ... thanks buddy .. last day i installed SVoice but frustrated bcz it didnt work .. now it works ..
playya said:
You do know every thing we do in here is at your own risk. You could of said hey I am running blah blah blah rom and did the fix but it wont let my phone boot up. So that others reading this would know that there are even more risks... Jus' Sayin'
Hope you get back up and running
Click to expand...
Click to collapse
your right, i apologize, I'm on CM9 alpha 4. epic 4g touch. and i did this "fix" and it wouldn't let me boot my phone so i had to re insatll the CM9 rom through odin to get it to boot again.
try it out if you guys want but make sure you have odin and whatever rom your currently on.
draconx said:
your stupid fix ****ed up my phone. i rebooted it and now it only goes past the "boot" screen and goes black and that's it. it wont boot at all... just great! :0/.
Click to expand...
Click to collapse
Hahaha couldn't help but laugh. Playya is right OPs are not responsible for what happens to your phone.
Should I revert back to the old build.prop before flashing a different rom?
Edit: So I did some reading and figured it out. Sometimes it's better to look for the answer on ur own. Ignorance is not bliss!

1.29.751.12, Just want to do the menu button mod.

Hey guys i just got this phone today, i turned it on and got an update right away, the 1.29.751.12 one. But im just wondering, whats the best way i could stay on stock and remove that pesky menu button to get full screen apps, it would be preferred if i could somehow stay on stock and just get it, any help would be appreciated.
I am willing to unlock the bootloader/root if need be, and i know how to do that, im just wondering whats the best way to go about this while keeping things as stock as possible as they are now?
thanks so much for any help.
You can remove the menu button by modifying every apps androidmanifest.xml one at a time. You don't need root. Download astro from play store and backup your apps using it. Transfer them to your pc. Download apktool and decompile the apk-files using it. There are plenty of tutorials on how to do it. Then open the androidmanifest.xml and search for targetsdkversion or if you can't find it use the minsdkversion instead. Change the value to 14. Then recompile the apk file using apktool. You need to sign and zipalign the file before use. I prefer a tool called signare for this. Then just enjoy your menu buttonless apps. This worked for about 80% if apps I tried. Remember to use this for only the apps in which the menu button doesn't have an action or there is an in app menu button.
Sent from my HTC One X using XDA
Never seen 1.29.xxx.12 before, only .7 and .11.
Weird there's another thread in Q&A about a .12 update, but he's version number don't match yours.
Edit: 1.29.751.12 seems to be a old update.
http://forum.xda-developers.com/showthread.php?t=1667400&page=2
Sent from my HTC One X using xda premium

[Q] [Request] [Theme] CM9 ICS Status Bar Icons

I'm kinda new to the whole android stuff, but I managed to get around to rooting my KF. I flashed a CM9 ICS rom and wanted to change the status bar icons, like the battery, home, back.. ect, but can't figure out how, I tried using uotkitchen but it was little help. Wondering if anyone could help me figure this out?
you dont need any tools find a rom with the right icons you want.
dont extract zip, just double click to open and navigate to.
/system/app/systemUI.apk/res/drawable-mdpi
scroll to back, menu.png etc.
open both files (your rom and the new rom) and drag and drop from one to another. if it asks you to update select yes.
this way there is no need to decompile/ recompile etc
sent from my new non bricked kindle
While I was waiting for a reply I found this forum but lost the link, but it kindle helped me out, I used zipthemer and I would flash the zip and walah! It wasn't try that simple tho, if you wanted help I could help you make a status bar.
As you see In the picture I changed the back, home, recent apps, and menu buttons as well as the battery, I had to rename the files Individually tho for the icons on the battery icon ( took forever!!) But I Could help you make one, just ask what you'd like o n it. I could do it for you?
If you give me ur email I could sent you a flashable .zip of the status bar you want?
Sent from my Kindle Fire using xda app-developers app
lovejoy777 said:
you dont need any tools find a rom with the right icons you want.
dont extract zip, just double click to open and navigate to.
/system/app/systemUI.apk/res/drawable-mdpi
scroll to back, menu.png etc.
open both files (your rom and the new rom) and drag and drop from one to another. if it asks you to update select yes.
this way there is no need to decompile/ recompile etc
sent from my new non bricked kindle
Click to expand...
Click to collapse
I was just looking at trying this myself and I dont see that exact folder in res/. Is it different for GB and ICS roms perhaps?
EDIT
Just realized this isnt in the forum I thought I was searching. I was trying to do this on my HTC sensation. Explains a lot really.

[Q] HELP! How to install UCCW zips !!!

I have uccw installed and dont want to deal with making something myself but how do i open the zips people create through the app? it says look for uzip on the app and it wont let me open up these downloaded zips. Im sorry this is probably so dumb to ask but i need a straightforward answer i keep searching and trying and nothing works. I tried downloading a clock zip for example renaming it uzip, searching for it in the app and it just gives me a white square. please please please help thanks i suck

Categories

Resources