[Q] APK manager help - General Questions and Answers

Hey i am trying to use apk manager 4.9 but it says adb cannot be found. Im thinking this is because its been moved from tools to platform-tools. Is there anyway to make it look in there instead or is there a different solution?
Ive tried a lot of different ways to sign the apps but I cant get the app to install after i do it.
Thanks.

Copy the contents of platform-tools to tools.

worked up till a point
thanks that works. although once i get the app installed it closes (says it has stopped working).. have you had success modding apps? all i changed was one image slightly and saved it as the exact same name ect.

edit: im a retard. ignore this post

Related

Custom Themed ADW.Launcher

Ok, here's my situation: I made a custom themed, modified version of ADW.Launcher 1.0.1, as I have with previous versions. They will not install via a file browser & package manager on the phone or using adb. The only way I've gotten them to install is by flashing it to /system/app/, but that makes future updates impossible unless I restore my phone to an earlier state.
My question: How can I simply make this install or how can I theme an application already installed to /data/app/? I suppose signing it myself could work, but I'd have to learn how to do that.
Thanks!
you need to resign the apk. You may need to delete META-INF
http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=473580
This has me very frustrated. I use Linux, not Windows. The link you gave me doesn't help. I cannot figure out how to do this, and it's ticking me off. I shouldn't have to spend hours trying to do this.
I used the following link and successfully created a signed apk, but it still won't install.
http://forum.xda-developers.com/showthread.php?t=538020
xvenom89 said:
This has me very frustrated. I use Linux, not Windows. The link you gave me doesn't help. I cannot figure out how to do this, and it's ticking me off. I shouldn't have to spend hours trying to do this.
I used the following link and successfully created a signed apk, but it still won't install.
http://forum.xda-developers.com/showthread.php?t=538020
Click to expand...
Click to collapse
I don't see why you're getting ticked off... I'm only trying to help you and you didn't even specify what os you were using.
Did you delete meta-inf before resigning? You'll also need to unistall adw before reinstalling.
If all else fails, upload the apk and I'll resign it for you
xvenom89 said:
This has me very frustrated. I use Linux, not Windows. The link you gave me doesn't help. I cannot figure out how to do this, and it's ticking me off. I shouldn't have to spend hours trying to do this.
I used the following link and successfully created a signed apk, but it still won't install.
http://forum.xda-developers.com/showthread.php?t=538020
Click to expand...
Click to collapse
Dude relax he just spent time trying to help you where no one else even bothered
Sent from my Incredible
No guys, you've got it all wrong; I'm not ticked at any of you, but at my own failure. I'm not sure why it won't work. Yes, I deleted the META-INF folder before signing it and got an output file containing a new META-INF, but the errors persisted. Having someone else do it for me would be nice, but it won't help much since I'll have to do it after every update. Thanks a lot for your offer, though.
I'll just keep trying..

Apk porting (specifically motoblur)

I want to play around with Android and see if I can port apks.
I was always curious about motoblur and I want to try it (I have the droidx motoblur). I tried installing BlurHome.apk on an Evo using adb and logcat and it says I am missing the "xyz library" so I look in the framework and found the xyz.jar fill and pushed it to my phone. Then I did a dalvik wipe and a reboot. When I watch the reboot on logcat I see it says it is loading the "xyz.jar" file but when I try and install the apk again, it tells me it can't find "xyz library"
I used apktool to decrypt it and look at the manifest and found a library use tag telling me the xyz.jar is needed. I also see a bunch of permissions pulled from apks I do no hqve installed. Do I need to worry about those too. I know the program with crash when trying to access them, but right now I just want to get it installed to see if it will work.
Sorry I called the library xyz, I'm trying this on my phone.
Any help pointing mie to an article, guide or tutorial about porting or frameworks would be appreciated. I'll end up putting something nice together if I ever figure it out to make it easier for others to figure this out too, or at least understand what is going on when they install a ported apk.
I think I'm on the right path here. I just opened the com.motorola.blur.library.utilities.jar file from the framework (the one that it said didn't exist), copied all the code to the BlurHome.apk and rebuilt it. It installed, but didnt appear in the phone or the app drawer. Then I pushed it to the system/app folder and it force closes on start up! (yay in the right direction)
I wish I could just use the framework.jar's but not sure how to get those to work. There are a few things referenced in the com.motorola.blur.library.utilities.jar that are in other com.motorola.blur.*.jar's so i need to go digging and try to inject those aswell.
Did you have any luck?
Sounds promising how is it going?
trimeijer said:
I think I'm on the right path here. I just opened the com.motorola.blur.library.utilities.jar file from the framework (the one that it said didn't exist), copied all the code to the BlurHome.apk and rebuilt it. It installed, but didnt appear in the phone or the app drawer. Then I pushed it to the system/app folder and it force closes on start up! (yay in the right direction)
I wish I could just use the framework.jar's but not sure how to get those to work. There are a few things referenced in the com.motorola.blur.library.utilities.jar that are in other com.motorola.blur.*.jar's so i need to go digging and try to inject those aswell.
Click to expand...
Click to collapse
Hi, how have you and others been getting on? I'm on that trail myself...either some apps won't appear after installing, or force close.
Gee. I've never seen someone seek out MotoBlur before. If you get this working, I'd like to try it myself, just to see what all the fuss is about.

Who wants Netflix? I got it!

I downloaded the netflix.apk that has been floating around, and with a few tweaks to my build.prop, I was able to get it to work on the galaxyXT ROM.
You have two choices, either download the attached build.prop file and stick in into your /system/ directory... or make the modifications yourself. FYI, please make a backup of the original build.prop before you mangle it.
I changed three lines in my build.prop. Just find these lines in your build.prop and change them to this:
ro.product.model=HTC Vision
ro.product.manufacturer=HTC
ro.build.fingerprint=tmobile/htc_vision/vision/vision:2.2.1/FRF91/277427:user/release-keys
Reboot, and that worked for me! If you have different experiences, please be sure to post them here.
FYI, If you make the changes yourself, make sure they are exact, case and everything. Use Notepad++.
Enjoy!
how/where do you access the /system/ directory? I looked on my SD card but cannot find.
thx
c_urbanek said:
how/where do you access the /system/ directory? I looked on my SD card but cannot find.
thx
Click to expand...
Click to collapse
Not on your sd card.
It is in the /system/ Use Root Explorer or something like it.
It's in the phones internal memory, not on your sdcard. You would either need a file explorer with root access (e.g. Root Explorer) or you need to push it with adb.
tried using root explorer & it says the system files are read only...
Nevermind, clicked the R/W button & it allowed...
I'll try Netflix now after a reboot.
At the top of window while in root explorer you'll see a MOUNT R/W button, you need to toggle on read / write access.
Wow! Works Beautifully!
Wow! Works Beautifully! Thank YOU!
Work on Dexter's 1.3 too!
Sorry for the ignorance but what is it?
Streaming movie/TV service. Not everybody has it, but its a big deal for Android phones to FINALLY get it since iphone and Windows 7 phones have had it for a while.
I'm not sure, but there are several apk XDA of netflix, and other folders, I can not understand yet. Apk is installed, replace the buildprop and that would be enough? You may be able to give us the link to the apk please because in my market does not appear.
For the payment of subscription must be from the website or can be within the application?
The truth was unaware of this application, it looks very interesting. Thanks for sharing.
can someone share here the apk..tq
This is where I downloaded it from
3rdstring said:
This is where I downloaded it from
Click to expand...
Click to collapse
Thanks for posting that. I couldn't remember where in the forums I had found it.
Hey I'm running stock 2.1 rooted on the xt720. I swapped out the build.prop you supplied in the .zip and installed numerous versions of the netflix clients to see if any would work. The apps installed fine but when I tried to open them (every single one) just opened to a black screen, then it force closed with a bunch of Japanese lettering. Any suggestions? Thanks.
donovanx3 said:
Hey I'm running stock 2.1 rooted on the xt720. I swapped out the build.prop you supplied in the .zip and installed numerous versions of the netflix clients to see if any would work. The apps installed fine but when I tried to open them (every single one) just opened to a black screen, then it force closed with a bunch of Japanese lettering. Any suggestions? Thanks.
Click to expand...
Click to collapse
Unfortunately
"Latest version: 1.2.0 build 819145-1.2.0-102 (for Android version 2.2 and higher)"
I got Netflix installed and everything seems to work. But when I hit play, it starts to load and says that I don't have a Netflix ready device. I have Dexter Froyo v1.3 on XT720. Anyone have this problem?
see 1st post in this thread....
ErnFuggit said:
I got Netflix installed and everything seems to work. But when I hit play, it starts to load and says that I don't have a Netflix ready device. I have Dexter Froyo v1.3 on XT720. Anyone have this problem?
Click to expand...
Click to collapse
once you install the apk, you need to do the hack rev explained in the 1st post.
New APK
Has anyone tried the new "stock" Netflix apk with the XT720?
I running the 1.20 APK, haven't seen an apk for the 1.21 yet, though I haven't gone looking yet either.

Froyo ICS Keyboard Install via Recovery Problems

Hi there, before I begin, if you're gonna rage about Froyo, it's because I'm using an old testing device, and it's smoothest, most operable version is Froyo, it's the old Galaxy i7500.
Now, I'm having this strange problem that I just can't figure out, and I'm hoping that the bright minds here at XDA can help me with this.
As the topic name suggests, I'm trying to install an ICS keyboard into this Froyo ROM I'm currently running on this phone. If I install the keyboard normally, either via pushing it through ADB install or running the APK in my phone, the keyboard runs perfectly.
The strange part is though, that whenever I try to install the keyboard through recovery, by putting it either in the system/app folder, or data/app folder, my phone gives me an error which says the Keyboard has crashed, and this keeps happening, rendering me unable to use the keyboard at all.
I've tried updating the libjni_latinime.so file in libs to the one in the APK, but that doesn't seem to do it either.
Can someone help shed some insight into this for me? Thanks.
EDIT: A quick debug of this, shows me that the error seems to appear even if I did an ADB push of the apk into the system folder, or normal app folder for that matter.
It only seems to work if installed, either using ADB or in Phone, rather than copied into folders. Any insight into this?

[Q] Unable to install GApps on Maxell C8 with ICS

Hi all,
I'd like to politely ask for your help with adding Google Play to my friend's tablet which unfortunately doesn't provide this app in factory setting.
First of all I'd like to mention that I've searched here before (and other sources over the internet as well) and found many threads with similar issues. Still I was unable to get everything working because of some problems that I'm not able to solve as I'm still just a user... Unfortunately it seems that each device is unique and requires a little different stuff to reach the goal.
So here's some basic information about the device:
Maxell Maxtab C8
Android 4.0.4
Kernel version: 3.0.8+
Here's what I was able to do so far:
Successfully rooted the device
Successfully set -rw to /system (using the "Mount /system (-rw / -ro)" app
I've tried many various Google Play installers including:
Android Market_install_files.zip
PlayStore_v4.6.17.apk found somewhere here in the forums
And about 5 more other without any success. Result is that Google Play is there but it doesn't work - I mean the icon has been added, Gmail account has been "assigned" to it during its first run and then every time I try to run Google Play there occurs an error saying that "Google Play stopped working" and it simply won't run. I also tried the simple solution with "Android-Market_install_files" package (4 apps) - as I found out it's the official way how to use Google Play on devices where it's not preinstalled. Still it didn't work as well - again ended up with the same error (stopped working). But there is maybe some kind of problem with the installation because two of four .apk files included in the "Android Market_install_files.zip" package cannot be installed as the device tells me that this app cannot be installed because of the conflicting signature (I found more about this here: http://stackoverflow.com/questions/...g-package-by-the-same-name-with-a-conflicting). I'm using files signed by Google. Advices are to firstly uninstall the original apps and then install these but I'm not able to uninstall as I can't find them. Guess these are some kind of system apps and I'm not sure where to find them exactly. Still no luck even using Root Explorer. These apps are called "OneTimeInitializer-signed.apk" and "GoogleServicesFramework-signed.apk". I think maybe Google Play from this package could work but the problem is caused by the device which doesn't overwrite the original apps (because of the signature).
Currently I've also found GApps Manager (http://forum.xda-developers.com/showthread.php?t=2589167) - I think this might work but I'm not able to test it at all. Simply I can't find how to get this Maxell tablet into recovery mode to find the "install from zip file" option.
Interesting is that there is no "Phonesky.apk" file in the device's memory...
Sorry for my post being soooo long but I'd like to provide as many additional information as possible.
Could you please give me advice how to install GApps on Maxell Maxtab C8 device or any other solution?
This could look easy for many of you but I'm working on it over two weeks now and I'm really clueless, even more when there are users confirming that Google Play works with this device. So I hope you're be so glad to help. Any help will be highly appreciated! Thanks!
With kind regards
PJ
Some info, since you have root, you can simply move .apk to your /system/app folder.
Also you had stated there is a conflicting issue with the same type of signature, this is because there is already an existing file of the same source.
To uninstall this .apk it usually located in the following folder(s).
- /system/app
And
- /system/priv-app
Just select and delete it. Reboot the device. And move your new files into /system/app and reboot. Make sure you also move Ann app called "Google Play Services.apk or GP will not start
Great things come in small packages.
Re:
Hi krishneelg3,
many thanks for your answer. Your advice looked really easy and reasonable but it didn't work.
I deleted all required .apk files from /system/app. Maxell tablet doesn't have /system/priv-app folder. Then I copied all the GApps files to corresponding folders in the tablet (/system/app, /system/etc, /system/framework, /system/lib). Then the setup wizard started but when I tried to confirm the setup guide touching the green Android icon it did nothing. After restarting the tablet I didn't see the setup wizard app any more. Tried about 5 times in a row from the beginning (copied the original files from the backup back to tablet, then replace them with the new ones from GApps) and always ended up with the same result.
There's also META-INF folder included in the GApps package. It seems to contain some certificates but I'm not sure what to do with it or where to copy these files. Could this be causing the problem?
Thank you very much.
PJ
I would like to tell you that, the GApps package is supposed to flashed via recovery.
The META INFO contains scripts to install and also certs
So if you have a custom recovery available for your device flash the custom recovery img and if you already have it then just flash it via recovery.
Sorry for the delay... I didn't manage how to switch the device to recovery mode. I tried many solutions reported to work for this device but they didn't for me. Some tested, some not because apparently my knowledge is user-level. To be honest after over 3 weeks trying I gave up.
But thanks for your effort.
Regards
PJ

Categories

Resources