[Q] OLD compiled APKs are not working! - Android Q&A, Help & Troubleshooting

Hi everyone
I'm having a little problem here. From months, I edited and compiled some SystemUI APKs and those APKs were fully working, but now I'm trying to use those old APKs and they are not working!! As usual, I've put the SystemUI.apk in /system/app, I've given the right permissions (RW-R-R) and rebooted the phone. The status bar has vanished!!! The strange thing is that those APKs were working before.
The APKs were not signed before, but they were working without signing them.
Okay. Can anybody help me?

People, I'm here! Kindly, can anyone help me?!

Related

framework-res.apk - signed with?

Hi - I need to mod arrays.xml in Values.xml - the autobrightness functionality in 2.2.2 UK retail is a joke.
What is framework-res.apk signed with? Can I get away with platform signing and pushing via ADB? Like I normally do...
PS: I tried the modded apk signed with TestKeys, but got shed loads of FCs on many of the Google Framework apps and services... had to reinstall 2.2.2 via MSU. On a cheery note, in between FCs, the autobrightness worked well!
I pushed the modded framework via ADB, btw.
Any idea welcomed.
Probably the odex nature of the ROM?
Sent from my MB525 using XDA App
In my opinion the problem has nothing to do with the way you signed the framework-res. If the signature check fails all you get is a bootloop.
FYI usually i sign the framework-res with test keys, even when i made heavy mods i had no troubles.
Maybe something wrong in the arrays.xml file?
Thanks, I have modded the xml many times before without issue. I seem to remember that pushing via ADB didn't work before, so maybe I will do it as an update.zip. I am also wondering about permissions. Will explore.
PS: Any view on the fact that /framework is odexed? I note that the apk is 1.2MB smaller when built....!

[Q] Force Close when decompile&compile CM7 Contacts.apk CMParts

I want to change locales and images in system apk of CM 7.2.0 on my LG-P500. It is Contacts.apk and CMParts.apk. Decompiling and compiling passed without errors. Everything is ok! But!
When i put on phone already changed Contacts.apk upon transition to a tab of a dialer I receive an (android.process.acore Force Close!) And
When i put on phone already changed CMParts.apk upon transition to Interface/Notification Power Widget/Widget Buttons/Brightness modes I receive an (android.process.acore Force Close!).
Help me please...! I don't know that I do not so. Thanks!
(Sorry for my English)
Did you sign the apk?
I know that some people claim you don't need to sign system apps, but there are times when signing it is the only way to make it work.
Also, did you decompile and recompile with the appropriate framework-res.apk installed (the one from the rom you are using)?
Yes. I put signed and not signed apks. All the same too most. And when I try to decompile with dependences APK Manager writes that this application not the dependent.
TroyxRUS said:
Yes. I put signed and not signed apks. All the same too most. And when I try to decompile with dependences APK Manager writes that this application not the dependent.
Click to expand...
Click to collapse
Have you tried running a logcat to see what the issues are? That's what I always do when I get errors. Usually the logcat will tell you the error in a detailed enough manner that you can go back and fix the code.
Is this by any chance a stock rom? Because if its a stock rom, I've heard of people having issues sticking modified apks into a stock rom.
I have the same problem and would like very very much to know how to solve that ...
thanks
How to install framework?
Press Thanks on getting Helped by me

[Q] Recent Apps borked

Hey guys.
I tried my hand at some modding last night and was able to de/recompile with no problems and get the mods to work, but I noticed this morning that my Recent Apps menu isn't showing anything.
The things that I edited were Rosie.apk and SystemUI.apk.
I followed some of the mods in the Dev section, and didn't do anything that other than what was told to do.
I attached a screenshot. If anyone could help that'd be great!
same problem here buy I havent done anything but flash a ROM (OMJ's) flash the hotspot hack, and mod for the battery gauge.
OK, I have traced it down to the 1x/3x mod on the systemUI file, but I don't understand why it's doing what its doing.
Do you have to include the AndroidManifest.xml file when you copy everything from apktool into the Modded apk?
I'm also including the classes.dex and resources.arsc from the build/apk.
Any advice would be greatly appreciated!
no clue but over here (http://forum.xda-developers.com/showthread.php?t=1681063) it talks about the same issue. This is also where I got the mod that I flashed. He is working on a fix from the sounds of it
From looking at it, his mods include the 1x/3x, which would leave me to believe that this mod is either not being implemented properly, or it doesn't work.
I checked the 1x/3x Mod forum, but the OP closed it down right after he posted it...

Decompiling and compiling Spareparts.apk

Hello people, i have a few problems compiling some .apk's
I want only to hide the spareparts from my launcher, and to put a entry on settings.apk...
So far so good, i followed the knowed steps, but when i made a clean install, like put the apk in the rom, i got FC. But if i do a patch for it, it works very well.
I want to make it like a system apk, and i dont want to install through a patch.
Can you help me to find the error?
I only changed the "AndroidManifest.xml" to hide it from the launcher.
If you have any idea please help me
Thanks
yes i want to how to

[Q] something about odex

After I merged apk with odex, i started to work a bit on the new apk; and then I tried to seperate odex from the new apk via dexopt-wrapper and adb shell. However, after the separation, both or either part failed working, does anyone have a clue on this, or i am doing something wrong? thanks guys!

Categories

Resources