Related
This message was deleted by its author
t4tav said:
Hi all, Just having a small problem here atm.
I have updated to CM 4.1.999 (Or whatever the latest version is) and I followed all the instructions to the point. Now, everything works fine except for the browser. For which I get a forceclose everytime I try to open it :/
Error - (Process com.android.browser)
Any ideas?
( I don't want to re-flash tbh )
Click to expand...
Click to collapse
You can reinstall the browser
pull it from the update.zip and use this command
Code:
adb push Browser.apk /system/app
if the browser.apk is in the same folder as adb.exe
if you give us the logcat data, we may be able to help you better
This message was deleted by its author
This message was deleted by its author
did you run fix_permissions?
if so, that may actually cause that problem. try running the latest fix_permissions in the dev section.
the only time ive personally seen this error was due to the fix_permissions script. however, the problem could be related to something completely different
This message was deleted by its author
well last resort ,.,.,.., reflash!!!!!!!
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.
Hi everyone,
First sorry to post this question here, but the forum doesn't allow to post it in the realted thread, but maybe someone can help.
So, I have a galaxy s plus ( i9001 ) and i installed
[ROM][NEW][22-Mar]►Simplistic Plus◄[2.0] Clean | Simple | Stable | Fast
this rom.
My problem, is that this rom doesn't have Stk.apk (SIM toolkit application), this little program uses OTA installation by the manufacturer, and, well in Hungary anyways, you can buy lottery tickets, highway stickers through it.
I have googled stk.apk, found a couple of ones, tried to simpy install it, it looks like it installs, but in the end it says application isn't installed.
Later I figured out that it's a system app, so I tried adb install it, it either says UNCOMPATIBLE UPDATE, or MISSING CERTIFICATES. When I used adb push /system/app it shows in the app list, but when I try to run it, it freezes, and also causes com.android.phone to stop, and goes into some sort of looping with this, meaning the phone part doesn't work at all.
Same results with copying the stk.apk to /system/app in root explorer, and setting the permissions according to the other programs.
Any suggestions? Thanks in advance
I am using The Galaxy Note GT-N7000 with Cyanogenmod 10.1 along with CM kernel. I was trying to install WeChat from Google Play. It got downloaded successfully but during installation, it failed displaying the following error: Unknown error code during application installation -24
Now I did try to search the solution for it over the net. I found a forum on this website for a fix, but that didn't quite work out. I did reply there too. I just needed your help too for solving this problem.
I tried using Root Explorer to search that data folder in data/data but unfortunately, that is where I was finding problem. I wasn't able to find the particular data folder of WeChat and so I wasn't able to proceed further in the process. Please help me out with this!
Thanks a lot in advance
APK of any Samsung system app refuses to install with the message "App not installed", with the exceptions of Samsung account, Samsung Galaxy Apps, Samsung Notes and Samsung Themes.
Here are some observations:
Create shortcut to .apk file and install immediately after reboot (Did not work)
Toggle "Secure Startup" in Settings and reboot (Did not work, it worked on the S8 and S7 devices)
Installing via ADB (Failed with the following error):
HTML:
Failed to install app.apk: Failure [INSTALL_FAILED_BY_BUILDTYPE_BY_SECURITY_POLICY]
Changing the version code of the .apk file with APK Editor (Did not work, causes "App not installed. The package conflicts with an existing package by the same name" error, which is different from the "App not installed" error initially)
For a screenshot of the "App not installed" error, please look at this post by @Teknick.
Searching this error on Google returns few useful results, so this definitely needs more attention. I highly suspect this is a Samsung security policy that is preventing the install. Is there any workaround? (except rooting, of course) I wouldn't be asking this if the Samsung apps could update themselves. Right now, every Samsung app insists that "The latest version is already installed" in the About section when there's a clearly a 2-month-later newer version available. And, no, these .apk files are NOT from the S8 Oreo beta.
Seriously, no one?
It's forbidden to bump your thread in less than 24 hours.
No one is sitting here just waiting to answer your questions.
And why open a new thread, there is already one, and you even posted in it.
Sent from my Galaxy Note8 using XDA Labs
If you are going to lecture people on the forum rules, I suggest you go back and read them yourself.
I'll make it easy and highlight a section for you real quick:
2.3 Flaming / Lack of respect: XDA is about sharing and this does not involve virtual yelling (flaming) or rudeness. Flaming or posting with a lack of respect is unacceptable. Treat new members in the manner in which you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instructions when you can, showing them respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.Also, if you can point out the 24 hour rule, I'd appreciate it, because the only part I found on bumping threads is this:
You can add updates to your thread (ie new features for an app., etc), BUT only update if you are posting relevant to the topic and NOT with the sole purpose of getting the thread to the top of the page (known as "bumping") otherwise it will be considered as spam.
Dejan Sathanas said:
It's forbidden to bump your thread in less than 24 hours.
No one is sitting here just waiting to answer your questions.
And why open a new thread, there is already one, and you even posted in it.
Sent from my Galaxy Note8 using XDA Labs
Click to expand...
Click to collapse
Nowhere in the forum rules does this appear. If you don't have anything that is helpful/adds to the discussion, why post this? I started this thread because I believe this issue needs more attention like I said before, as well as providing more information for others who might have this problem as well (and might be searching for answers here).
You can install some of them after you got new official update <security/policy update>,
The signature is different for different model, even same app like device maintenance, you cannot install the apk file from phone s8,s8+
For some independent app like samsung account, samsung themes, you can upgrade with installing the apk from the website you mentioned.
If you have 3rd party recovery installed, you can do your flashable file, then update via recovery, that's the way I'm doing usually.
hinnn said:
You can install some of them after you got new official update <security/policy update>,
The signature is different for different model, even same app like device maintenance, you cannot install the apk file from phone s8,s8+
For some independent app like samsung account, samsung themes, you can upgrade with installing the apk from the website you mentioned.
If you have 3rd party recovery installed, you can do your flashable file, then update via recovery, that's the way I'm doing usually.
Click to expand...
Click to collapse
Hi hinnn,
Thanks for the reply! I really appreciate your info. However, I have a few clarifications:
So Samsung indeed has a security check on the system APKs now to make sure it matches the device? Is the "About" section of the system apps correct after all? I'm on the latest AQI1 firmware with August 2017 security patch, and security policy has "already been updated to the latest version". Could you clarify which update you are referring to? Lastly, what is an "independent app" that you mentioned, and which apps are "independent"? Sorry if I ask too much, I came from installing these system APKs on S7 edge, I do not know about the latest mechanisms in S8 & Note 8.
Edit: I tried installing the latest Air Command APK, which also failed with the same error. But as far as I know, S8 has no S-Pen so no Air Command, correct? This should be for Note 8 yet it didn't install
100055 said:
Hi hinnn,
Thanks for the reply! I really appreciate your info. However, I have a few clarifications:
So Samsung indeed has a security check on the system APKs now to make sure it matches the device? Is the "About" section of the system apps correct after all? I'm on the latest AQI1 firmware with August 2017 security patch, and security policy has "already been updated to the latest version". Could you clarify which update you are referring to? Lastly, what is an "independent app" that you mentioned, and which apps are "independent"? Sorry if I ask too much, I came from installing these system APKs on S7 edge, I do not know about the latest mechanisms in S8 & Note 8.
Edit: I tried installing the latest Air Command APK, which also failed with the same error. But as far as I know, S8 has no S-Pen so no Air Command, correct? This should be for Note 8 yet it didn't install
Click to expand...
Click to collapse
Actually, SAMSUNG didn't push through the security policy in that way, usually, we need update to next version like AQI2 or AQJ1, then you can install some of them, otherwise you will get the message saying signature conflict
An existing package by the same name with a conflicting signature is already installed
For "independent app", like standalone app, samsung themes, galaxy apps, samsung account which isn't running with any particular framework , not too much.
P.S. I'm not a professional guy, probably my explainable doesn't make sense, or not correct, just for your information.
Cheers
I have the exact same problem and I didn't find any solution yet. And like you I come from the S7 Edge and I used to update my apps like this. So if someone has any suggestion I take it.
hinnn said:
Actually, SAMSUNG didn't push through the security policy in that way, usually, we need update to next version like AQI2 or AQJ1, then you can install some of them, otherwise you will get the message saying signature conflict
An existing package by the same name with a conflicting signature is already installed
For "independent app", like standalone app, samsung themes, galaxy apps, samsung account which isn't running with any particular framework , not too much.
P.S. I'm not a professional guy, probably my explainable doesn't make sense, or not correct, just for your information.
Cheers
Click to expand...
Click to collapse
Thanks for the clarifications! After some more observations, it seems that any APK released after 26 September 2017 will not install on Samsung devices running Nougat 7.1.1 (except the 4 mentioned in the first post). However, I do not get the "An existing package by the same name with a conflicting signature is already installed" error, I get "App not installed" error instead as shown by the screenshot.
However, changing the version code and re-signing the APK with APK Editor app will produce "An existing package by the same name with a conflicting signature is already installed" error that you mentioned when attempting to install (which is different from the original error)
As for the "framework" concept, could you elaborate a little further? The "Secure Startup" exploit works on all Samsung devices that were not originally on Nougat, but were later updated to Nougat 7.0. (It might work on the S8 and S8+ too, although I'm not sure about that).
@100055
No problem with this as this problem is solved temp only
for example
there are certain apps which are not stable and yes 1 or 2 are stable out of 98% unstable apps as i tried all apps and saw it was unstable and caused lots of problem
from adb
put the following command and install the apk
adb install -l -r C:\Users\anand\Desktop\soundalive.apk
[use red highlighted command line only. green highlighted line is for reference only]
the app will install but if you reboot your device the update of the apk will be lost and more over the previous app update officially done by Samsung will be wiped you have to reinstall the update from the galaxy app store again
if you dont reboot then its fine being using the app of updated one for example i needed only soundalive.apk till today.. so i update it and wont reboot my device so i enjoy the updated sound quality of it
Amit.A said:
@100055
No problem with this as this problem is solved temp only
for example
there are certain apps which are not stable and yes 1 or 2 are stable out of 98% unstable apps as i tried all apps and saw it was unstable and caused lots of problem
from adb
put the following command and install the apk
adb install -l -r C:\Users\anand\Desktop\soundalive.apk
[use red highlighted command line only. green highlighted line is for reference only]
the app will install but if you reboot your device the update of the apk will be lost and more over the previous app update officially done by Samsung will be wiped you have to reinstall the update from the galaxy app store again
if you dont reboot then its fine being using the app of updated one for example i needed only soundalive.apk till today.. so i update it and wont reboot my device so i enjoy the updated sound quality of it
Click to expand...
Click to collapse
Thanks for the solution, it indeed works! But why doesn't the update stay through a reboot though? And why does adding the option -l work?
Thread closed.
Please continue the discussion >>> HERE <<<
Thanks,
Wood Man
Forum Moderator