I Need Help With This Specific Apk - LG Optimus 4X HD

Everyone, Peace Be Upon You;
I need to make the TaskManagerbin.apk for LG P880 invisible on the launcher;
I used apktool to modify the AndroidManifest.xml and deleted the line:
<category android:name="android.intent.category.LAUNCHER"/>
I tried all the ways of compiling with signing and without signing even thought all of them were a success but the apk failed to install even after putting it every time in system/app the result was the same;
I would be grateful if some one could spare some time and do it;
And please test it in order to save time;
Your early reply is appreciated;
Many Thanks in Advance
P.S: I would really appreciate if you could re-odex the apk as well if that is possible.

Related

Can't install AudioManager Widget

I tried installing a modded com.smartandroidapps.audiowidget.apk (AudioManager Widget) that had different colors. I find the default to be very ugly with any theme.
It didn't work, and now I'm not able to install the Market version of the widget. If I try to install the backed-up original apk on my sd card, I get "AudioManager could not be installed on this phone."
If I try to install from the Market, I get "Incompatible update".
What can I do to fix it?
PS: I have Navigation, which means I have the different build.prop's in place. Could that be contributing to my problem?
hey
im assuming tha you resigned the apk if not theres your problem
otherwise its the xml file in the apk these might need to be changed if you majorly change the apk
if none of them then its definatly brokey
hope i helped
jshields said:
hey
im assuming tha you resigned the apk if not theres your problem
otherwise its the xml file in the apk these might need to be changed if you majorly change the apk
if none of them then its definatly brokey
hope i helped
Click to expand...
Click to collapse
I just took the apk from a thread in XDA's theme resource subforum, some thread with a lot of edited apk's.
My problem is less of the modded apk than it is my phone not installing the normal AudioManagerWidget.
its more than likely mismatched keys like jsheilds said, which is why it wont install from the market
you need to delete it first before you install it
B-man007 said:
its more than likely mismatched keys like jsheilds said, which is why it wont install from the market
you need to delete it first before you install it
Click to expand...
Click to collapse
I've uninstalled/deleted it any way I can already.
rm /system/sd/app/com.smartandroidapps.audiowidget.apk
rm /system/sd/app-private/com.smartandroidapps.audiowidget.apk
rm /system/app/com.smartandroidapps.audiowidget.apk
I've even searched with SU FBS and didn't find anything. Removed all data of it and it still won't install.

Android Market and AOSP

Hello, all,
I have recently taken an interest in developing Android 2.1 ROMs. So far, my work on 2.1 has been going well, except I cannot seem to get Android Market to install. I have tried re-signing the apk file, but the result is the same.
Can someone help me out on this? This has probably been answered before, but I cannot find anything truly relevant to this question. Any help is greatly appreciated.
someone needs to close this thread before this flame war gets any bigger
tekgek said:
Hello, all,
I have recently taken an interest in developing Android 2.1 ROMs. So far, my work on 2.1 has been going well, except I cannot seem to get Android Market to install. I have tried re-signing the apk file, but the result is the same.
Can someone help me out on this? This has probably been answered before, but I cannot find anything truly relevant to this question. Any help is greatly appreciated.
Click to expand...
Click to collapse
Have you tried just pushing with adb? By development do you mean cooking or compiling your own?
Please be respectful of others ...
I taken the time to cleanup this thread and move to Q&A where it should have been. If someone has an answer post a reply; plans to respond using trolling tactics are ill-advised.
If the thread goes OT again, a moderator will be forced to close it and likely remove it ... would be nice if it didn't have to come to that.
Regards,
I am building this directly from AOSP, from scratch. Thanks to the mod for cleaning up the flame war, by the way
Oh, from AOSP. How are you adding them in? AOSP does NOT include the Google Apps by default, I'm not expert in ROM building but I am sure there are some .libs needed (I know GTalk requires some) and possibly need the other Google Apps as well.
And this is why I love this place . What you said about libraries and what carz12 said about adb helped a lot.
Here is what I knew:
AOSP does not include the Google Apps, including the market. The market is somewhat difficult to install to an aosp build, and I think needs to be resigned with another RSA key.
What the forum helped me figure out:
The advice about trying the adb shell gave me some help. When I tried to push the market app to the phone, I got this:
./adb install alpha-1-signed/system/app/Vending.apk
898 KB/s (1274068 bytes in 1.384s)
pkg: /data/local/tmp/Vending.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Click to expand...
Click to collapse
This tells me that I am missing some libraries. But I'm also missing some other stuff. I'll recompile from source, install the libraries, and report back after I flash this to the phone. Until then, if anyone thinks any of my conclusions are wrong, please tell me so I don't waste my time, or yours.
EDIT: For all of you who are currently viewing this thread, how many of you would like a very fast (possibly faster than OpenEclair), stable, no-frills Android 2.1 ROM? I would like your opinions, because this will give me a good idea of how many people would be interested in this kind of thing.
Tekgek
tekgek said:
And this is why I love this place . What you said about libraries and what carz12 said about adb helped a lot.
Here is what I knew:
AOSP does not include the Google Apps, including the market. The market is somewhat difficult to install to an aosp build, and I think needs to be resigned with another RSA key.
What the forum helped me figure out:
The advice about trying the adb shell gave me some help. When I tried to push the market app to the phone, I got this:
This tells me that I am missing some libraries. But I'm also missing some other stuff. I'll recompile from source, install the libraries, and report back after I flash this to the phone. Until then, if anyone thinks any of my conclusions are wrong, please tell me so I don't waste my time, or yours.
Tekgek
Click to expand...
Click to collapse
It's good to know that you are missing libraries
Your best bet is to compile your rom, and then compare it to a rom that already has the google apps included (WesGarner build, CSDI, etc...) and see what libs are missing from yours, add them in and then try again
I was having the same problem too. I am gonna try this too.
And ya besides the libraries, the aosp build doesn't include some of the framework files and permission files too, like the framework files relating to gtalk and google maps should be added as well to the system/framework folder and the permission files in system/etc/permissions relating to gtalk and maps should be added as well.
I tried with all the missing libraries but with no luck...there must be some other files tooo. Gonna continue on Thursday.
Did you try resigning the apk file?
Not really. I am gonna try that too. Got coll tomorrow so may be later tomorrow. By the way did you got the video working?? I tried pushing some libraries from supereclair. But not workin till date. it works in his build though.
College is more important than android, imho. whenever you get the chance .
I hope to get video working in the future, but not right now. My primary computer (the core i7 rig I use for all my computer work) needed an OS reinstall, so I have made no progress since my post on ADB. My fist priority is to get the basics working, then I'll work on the other issues, like video playback and the camera. However, as of right now, I am re-downloading the source, and hopefully building it in the very near future, expect an update tomorrow, and maybe even a finished product (keep in mind that this is ALPHA, so don't expect anything wonderful).
Alright, I got it... mostly. The market appears installed, now all I need to do is make it not crash. Whenever I select the market app, I get a white screen, and then the home screen. I'm also getting a force close on the gapps process. What am I doing wrong
How did you got market show up???
The gapps framework file is also missin in the /system/framework folder in AOSP build.
Did you tried pushing the missing file?
I downloaded openeclair, pulled all the apps that had the word google in them, resigned the the market with another key, integrated them into a rom package, flashed, and voila, the market appears. I also added in a couple framework files, but I think I'm still missing something. Do you know what the name of the file is? I'm not sure what or where it is.
tekgek said:
I downloaded openeclair, pulled all the apps that had the word google in them, resigned the the market with another key, integrated them into a rom package, flashed, and voila, the market appears. I also added in a couple framework files, but I think I'm still missing something. Do you know what the name of the file is? I'm not sure what or where it is.
Click to expand...
Click to collapse
ya its com.google.android.gtalkservice.jar
okay, added it in, still getting a force close on the gapps. Where to go now???
As i mentioned earlier there are some files missing in system/etc/permissions. Did u tried pushing those files.
All permission files are in place, all gapps are resigned. The framework is in place. The setup wizard i also resigned, which now crashes. If anyone has any suggestions please post them. I am at my wit's end here.

Change Icon (signing .apk w/ubuntu)

Ok guys please help me. I am fairly new to linux so all of the commands and script dont click with me as it will in a few more months so please be thorough if you can.
I have been searching and trying different things for almost 3 days now and Im just going to ask for help before giving up.
For now im trying to get familiar with further hacking for modifying apk's and roms but I am having a terrible time getting the correct information on how to resign an apk to make it installable on an android phone.
In order to keep this simple lets assume this is what Im trying to do.
(im using ubuntu, and every tuturial I see is for win or mac. I have seen 1 (http://forum.xda-developers.com/showthread.php?p=3271434) for ubuntu but it seems that it either does not apply to me or is simply over my head at the time with my limited ubuntu knowlege).
Im wanting to take avp.apk and change the icon. I replace the ya.png with a properly sized png named ya.png. I then have tried both ways of either deleting the meta-inf file (do I need to do this?)
And then after that I am stuck. I have tried some different autosign and testsign and different tools but Im obvousially typing something wrong or just not getting something right because it simply does not work with me.
Can someone please help me or tell you what to do or point me to a youtube vid? I keep coming up with the same threads and videos at this point and none of them seem to apply to me (for win/mac).
It seems like what Im trying to do should be simple enough. So please show me what Im being dumb about.

[Q] Having trouble signing widgetlocker apk

So trying to mod com.teslacoilsw.widgetlocker-1.apk, but having a couple of issues with getting it to sign. Realized I needed to or else widgetlocker disappears on reboot. Before describing my problem, a quick question.
Question: Pushing the modified apk won't solve this issue, right? The apk needs to be signed.
From what I've read, I figure I still need to sign the apk. I've tried using APKManager (in which it says adb is not recognized) and a script posted by st0kes, but both to no avail.
Attached are screenshots hopefully highlighting my problem. Any help would be much appreciated.

How to Recompile APKs the right way?

Dear forum readers, geeks & developers,
I have been trying to seek for that one thread that could solve my issue which the title said it all. I have followed many guides & use multiple different tools, both on device & PC but to no success. Most of the threads would just say; "recompile after finished editing whatever you want". But that's definitely not the proper way. Some guides there were hints of keeping/replacing the Manifest.xml & META-INF folder, yes I kept it somewhere else & replace it just before I want to recompile, no it didn't work too.
One of the guides said decompile the APK, copy the *_src folder somewhere else & recompile it back right away, edit the copied _src folder & edit whatever you want. After editing, open/view the recompiled APK as zip & drag/drop the files you edited, yes it was recompiled successfully but when I apply it to the device it FC right away & were unable to boot up although I wiped Dalvik and Art Cache. One more example was, instead of replacing the edited files, this guide replaced the META-INF & Manifest.xml. The problem was I can't even get it to recompile successfully.
Something could be really wrong with me, my PC or my device, if only some generous kind soul would spare some knowledge to help this poor soul I would appreciate it very much, thank you for whoever spared the time for reading this, I hope my noobness made your day.
Cheers all,
- Merry Xmas &
A Happy New Year
DaRdamnDoG said:
Dear forum readers, geeks & developers,
I have been trying to seek for that one thread that could solve my issue which the title said it all. I have followed many guides & use multiple different tools, both on device & PC but to no success. Most of the threads would just say; "recompile after finished editing whatever you want". But that's definitely not the proper way. Some guides there were hints of keeping/replacing the Manifest.xml & META-INF folder, yes I kept it somewhere else & replace it just before I want to recompile, no it didn't work too.
One of the guides said decompile the APK, copy the *_src folder somewhere else & recompile it back right away, edit the copied _src folder & edit whatever you want. After editing, open/view the recompiled APK as zip & drag/drop the files you edited, yes it was recompiled successfully but when I apply it to the device it FC right away & were unable to boot up although I wiped Dalvik and Art Cache. One more example was, instead of replacing the edited files, this guide replaced the META-INF & Manifest.xml. The problem was I can't even get it to recompile successfully.
Something could be really wrong with me, my PC or my device, if only some generous kind soul would spare some knowledge to help this poor soul I would appreciate it very much, thank you for whoever spared the time for reading this, I hope my noobness made your day.
Cheers all,
- Merry Xmas &
A Happy New Year
Click to expand...
Click to collapse
Are you still having issues with this? If so can I suggest using my decompiling tool Tickle My Android? The link's in my signature.
Yes, I'm advertising my work but I also think it could help so..
Ticklefish said:
Are you still having issues with this? If so can I suggest using my decompiling tool Tickle My Android? The link's in my signature.
Yes, I'm advertising my work but I also think it could help so..
Click to expand...
Click to collapse
Well, you're back in business! I was letting you finished off your "Xmas & new year's off" with your 3 sons. I was trying to venture into Linux, hoping it would be more convenient to get tools & because it's free! However, I was wrong. 2 weeks later I am still installing/testing out different distributions. I have kinda abandoned my device most of the time now, unless you fix Toad & deodex my rom i wont be motivated to do anything
P/S: Im not even bothered of you advertising. Google is the main advertiser here, the main mastermind of Android.
The guides & tutorials needs a spring clean too.
DaRdamnDoG said:
Well, you're back in business! I was letting you finished off your "Xmas & new year's off" with your 3 sons. I was trying to venture into Linux, hoping it would be more convenient to get tools & because it's free! However, I was wrong. 2 weeks later I am still installing/testing out different distributions. I have kinda abandoned my device most of the time now, unless you fix Toad & deodex my rom i wont be motivated to do anything
P/S: Im not even bothered of you advertising. Google is the main advertiser here, the main mastermind of Android.
The guides & tutorials needs a spring clean too.
Click to expand...
Click to collapse
Things are still really busy at work so I'm not back to normal right now. But I'm trying to get as much done here as I can.
I don't know enough about Linux really - I just don't have the time or a free PC to play with so I can work it out. Which is a shame as it'd be great for modifying Android.
I did reply to your post on the TOAD thread though. You said about moving apps away and I asked for more clarity about what you were moving and how.

Categories

Resources