Error installing Launcher extracted from the ROM of an android gamebox - Android Q&A, Help & Troubleshooting

Hello
First of all I want to say that I use BLISS OS x86 7.1.2 system on the mini pc Alfawise X5
then extract a LAUNCHER.apk from the GEMBOX F500 device at this link: https://forum.xda-developers.com/showthread.php?t=2692843&page=69
but I can not install it because I have the error "app not installed the package conflicts with an existing package". The problem is that this launcher has never been installed on my device, this error occurs with other applications that were made exclusively for satelite android receivers of my country, already tried to install and the same error occurs, but they were never installed on my device, someone knows the can I do to install LAUNCHERf500.apk ??????
Sorry for my english I'm using google translate, thanks for the attention !!

Decompile the apk and change its package name in the Android manifest
Or
Use an app cloner that might be able to do it for you
However doing this may cause problems eg some features may not work or app may force close
You can also find out what the package name is & try uninstalling it via adb so you can install the apk with the same package name
Also Iv no idea why you have posted this in the mx player xda section as it's nothing to do with it so I'll get it moved

TheFixItMan said:
Decompile the apk and change its package name in the Android manifest
Or
Use an app cloner that might be able to do it for you
However doing this may cause problems eg some features may not work or app may force close
You can also find out what the package name is & try uninstalling it via adb so you can install the apk with the same package name
Also Iv no idea why you have posted this in the mx player xda section as it's nothing to do with it so I'll get it moved
Click to expand...
Click to collapse
I already did this but did not install apk
I already cloned, and changed the package name.
is there a lock, or a way of knowing that apk is being installed on hardware other than GEMBOX F500 ???
Can I change the application to install on my device?
or changing Build.prop ??
Sorry for posting in the wrong place, I'm not familiar with the site

dividafox said:
I already did this but did not install apk
I already cloned, and changed the package name.
is there a lock, or a way of knowing that apk is being installed on hardware other than GEMBOX F500 ???
Can I change the application to install on my device?
or changing Build.prop ??
Sorry for posting in the wrong place, I'm not familiar with the site
Click to expand...
Click to collapse
Since it's a launcher I assume you are rooted and placing the apk in system/priv-app (system/app if pre lollipop) and giving it the correct permissions then restarting the device
Some launchers are only designed to work on certain devices & would require porting to work on others
Anyway - best to actually post in your device forum or the general if your device does not have its own forum
Iv asked the mods to move this as it has nothing to do with mx player

Related

[Q] My droid does not support any file format?!?!

Hi,
I am using a Samsung Galaxy 3 with android 2.2 and I want to install some application what is downloadad from many different sources.
I have red many questions about this issue but could not find a solution to solve it.
So now here is my problem:
1. I copy the choosen .apk file on my SD card.
2. I have downloaded ASTRO file manager.
3. I have ticked the option installing non-android applications.
4. I want to open the apk file from there but when I click on app installer I onyle get a blank screen and under the details I receive the following error message:
Could not open xy.apk as APK file.
I am really going mad now I have reading forums for ages.
Please help!!!
Thanks
In the meantime I have also copied some music files on my mobile, these are all MP3, works fine on my comp however when I wanted to play it on my mobile with several music players it said the file format is not supported...
Something is really messed up here...
The phone used to have 2.1 and I made the update manually but after the update I am having these kind of problems...
Re-flash stock
Re-Flash stock rom through ODIN
This might solve it.
I think you are a little bit late.
Sent from my MI 2 using xda app-developers app
Try using an Apk installer off the market.
You can find many different apk installers off the market. Try Easy Installer or Apk Installer.
Agreed. This thread was long dead. His main issue is that he was using a clone device. Not a real S3
Wayne Tech S-III

[Q] How do you rename the package of a published android app?

Hi guys,
I am been working a on an an android app called Inomail that is available on the android market. I have done an overhaul changing the background colours, buttons to blue and green neon colours, change all icons and change text such app name plus other strings elsewhere.
Everthing work fine and I am certain it will be popular download if published.
I have been using APK Manger and Eclipse and Java decompilers to convert smali to java codes.
I successfully signed with a private key and it worked but this the obvious problem renaming the package when changing it crashes. I done everthing including refactoring and renaming in Eclipse, also renamed all the package name to all sub packages but to no avail.
If rename tthe package name back to original name it works but changing it crashes.
Now I have done some search on here there also a code to the package name which the reason for it to crash and the best way it to use a rooted device which I have and install the app.
So my 2 questions would anyone know where is the folder on smartphone would I find the file or code and second question have anyone manage to rename package published app on the market and how please?
Your help greatly appreciated.
rename of installed android app
Darkfunnyguy said:
Hi guys,
I am been working a on an an android app called Inomail that is available on the android market. I have done an overhaul changing the background colours, buttons to blue and green neon colours, change all icons and change text such app name plus other strings elsewhere.
Everthing work fine and I am certain it will be popular download if published.
I have been using APK Manger and Eclipse and Java decompilers to convert smali to java codes.
I successfully signed with a private key and it worked but this the obvious problem renaming the package when changing it crashes. I done everthing including refactoring and renaming in Eclipse, also renamed all the package name to all sub packages but to no avail.
If rename tthe package name back to original name it works but changing it crashes.
Now I have done some search on here there also a code to the package name which the reason for it to crash and the best way it to use a rooted device which I have and install the app.
So my 2 questions would anyone know where is the folder on smartphone would I find the file or code and second question have anyone manage to rename package published app on the market and how please?
Your help greatly appreciated.
Click to expand...
Click to collapse
pls, help how to change my android app label name and logo ?

Help with deodexing a touchwiz app

Hello! I am trying to make the stock Samsung file manager work as a normal apk so I can use it on any ROM. Now from what I scouted around the internet I learned that I need to deodex the apk so it doesn't need the the framework dependencies anymore. I did that, but the problem is like this: I pulled the file manager from the stock 4.1.2 and I'm trying to make it work on 4.2.2. My first question is, is it possible to make it work on other Android versions (ofc higher then the one it came from). If yes can anyone point out what I'm doing wrong as I am a total noob with Android development?
I used Universal Deodexer v4 and there you can choose the Android version. I tried both 4.1 and 4.2 but theres no difference, although the app is deodexed successfully. The actual problem I stumbled across on, is that I push the apk in /system/app, fix permissions and reboot but it doesn't show up in apps manager or app drawer at all.
C'mon, really nobody tried porting that good looking and simplistic file manager?
Breaksense said:
C'mon, really nobody tried porting that good looking and simplistic file manager?
Click to expand...
Click to collapse
I'd be willing to bet that it's because the Samsung application needs Touchwiz framework to correctly function. Here is code I used to launch an app which didn't show up in my app drawer (enter it in Terminal Emulator):
Code:
am start -n com.cyanogenmod.settings.device/.DeviceSettings [enter]
Obviously you need to change the 'com.cyanogenmod.settings.device' and 'DeviceSettings' to your specific application. I still doubt it will work.
The other thing to try is to open it using Titanium Backup, although its possible that Titanium won't recognise it as being installed. Give both a go. In saying that, I doubt the app will work without Touchwiz behind it.

[Q] Possible to install modified app (from system/app) as normal app?

Hi,
I modified "SamsungCamera2" from my Note 3 and would like to install it now on my Note 3. My phone is not rooted and doing so would currently trip the knox counter (I don´t want that).
If I try to install the apk I get the message "application not installed".
Is it somehow possible to convert the apk so that I can install it as a "normal app"?
Best wishes,
Klaus
oclock said:
Hi,
I modified "SamsungCamera2" from my Note 3 and would like to install it now on my Note 3. My phone is not rooted and doing so would currently trip the knox counter (I don´t want that).
If I try to install the apk I get the message "application not installed".
Is it somehow possible to convert the apk so that I can install it as a "normal app"?
Best wishes,
Klaus
Click to expand...
Click to collapse
no root no party, however i think that its possible to root the phone over knox without count
to install system apk you can do in 3 ways
1.install normally by a file manager as normal apk but in this way you can only install ORIGINAL APK like official update NO MOD
2.copying the apk and maybe the odex in /system/app NEED ROOT
3.using clockworkmod NEED ROOT,or maybe using the stock samsung recovery need a flashable zip of your app
enjoy
AXD96 said:
no root no party, however i think that its possible to root the phone over knox without count
to install system apk you can do in 3 ways
1.install normally by a file manager as normal apk but in this way you can only install ORIGINAL APK like official update NO MOD
2.copying the apk and maybe the odex in /system/app NEED ROOT
3.using clockworkmod NEED ROOT,or maybe using the stock samsung recovery need a flashable zip of your app
enjoy
Click to expand...
Click to collapse
Thank you for your answer.
With my current firmware there is no known method to get root without knox=0x1.
If I develop my own app I can install it without problems. So, what exactly makes apps from system/app different?
How does Android know that I did not implement this App by myself?
Is there a way to further modify the app so that it looks like I implemented it by myself and install it then?
oclock said:
Thank you for your answer.
But if I develop my own app I can install it without problems.
So, what exactly makes apps from system/app different?
How does Android know that I did not implement this App by myself?
Is there a way to further modify the app so that it looks like I implemented it by myself and install it then?
Click to expand...
Click to collapse
Android expects applications installed by opening the APK to be signed.
It's quite easy to sign them with a generic certificate: but when apps are updated both the old (in /system) and the new version must be signed with the same one.
(Extreme problems lead to extreme solutions: if you need Samsung service, flash a bad bootloader so that's permanently bricked and doesn't even get to Odin...)
Ryccardo said:
Android expects applications installed by opening the APK to be signed.
It's quite easy to sign them with a generic certificate: but when apps are updated both the old (in /system) and the new version must be signed with the same one.
Click to expand...
Click to collapse
Thank you for the explanation and thank you for the hint
But how does Android know that I am trying to Update an already existing app? Is it just because of the class names of the MainActivity? Is it possible to refactor the app, so that it looks like a brand new app?
oclock said:
Thank you for the explanation and thank you for the hint
But how does Android know that I am trying to Update an already existing app? Is it just because of the class names of the MainActivity? Is it possible to refactor the app, so that it looks like a brand new app?
Click to expand...
Click to collapse
I believe, but have never tried, that it goes by the package ID
Ryccardo said:
I believe, but have never tried, that it goes by the package ID
Click to expand...
Click to collapse
It seems to be the correct way. However, something seems to be odd:
I the log I get the following:
12-29 23:47:03.981: E/AndroidRuntime(27444): java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.cameraoc/com.sec.android.app.camera.Camera}: java.lang.SecurityException: Requires SET_ANIMATION_SCALE permission
However, this permission is set in the AndroidManifest.xml file:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sec.android.app.cameraoc">
<uses-permission android:name="android.permission.CAMERA"/>
[...]
<uses-permission android:name="android.permission.SET_ANIMATION_SCALE"/>
[...]
Do you have any ideas why this permission isn´t recognized?
oclock said:
Thank you for your answer.
With my current firmware there is no known method to get root without knox=0x1.
If I develop my own app I can install it without problems. So, what exactly makes apps from system/app different?
How does Android know that I did not implement this App by myself?
Is there a way to further modify the app so that it looks like I implemented it by myself and install it then?
Click to expand...
Click to collapse
dont said me thanks, just click the thanks button on the left of message
no you can't
every APK has got a signature when you modify an apk or the mali code the signature became invalid so you cant install that apk anymore until you sign again the apk
if the signature is different you cant install system apk when you has already installed an app with the same packace address
else if the signature is the same (only the author of the app has got the original key of signature) you can install it
there is a critical bug in android until 4.2.2 version, the MASTERKEY BUG
google fix it in android 4.3
i got root with this bug using cydia impactor
with this bug/exploit you was able to modify system partition bypassing signature protection and then get root so you was able to have full access to your phone
---------- Post added at 01:16 PM ---------- Previous post was at 01:12 PM ----------
oclock said:
It seems to be the correct way. However, something seems to be odd:
I the log I get the following:
12-29 23:47:03.981: E/AndroidRuntime(27444): java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.cameraoc/com.sec.android.app.camera.Camera}: java.lang.SecurityException: Requires SET_ANIMATION_SCALE permission
However, this permission is set in the AndroidManifest.xml file:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sec.android.app.cameraoc">
<uses-permission android:name="android.permission.CAMERA"/>
[...]
<uses-permission android:name="android.permission.SET_ANIMATION_SCALE"/>
[...]
Click to expand...
Click to collapse
where did you find the log?
AXD96 said:
dont said me thanks, just click the thanks button on the left of message
no you can't
every APK has got a signature when you modify an apk or the mali code the signature became invalid so you cant install that apk anymore until you sign again the apk
if the signature is different you cant install system apk when you has already installed an app with the same packace address
else if the signature is the same (only the author of the app has got the original key of signature) you can install it
Click to expand...
Click to collapse
OK. This was already made clear some posts above. My new question was: Can I change the signature to install it as a "new" app.
I tried it out by myself. I modified the manifest file to change the android package name from "com.sec.android.app.camera" to "com.sec.android.app.cameraoc". The java package is unchanged.
With this modification i could install the app without any problems, but I get a permission exception, when I try to execute the App:
12-29 23:47:03.981: E/AndroidRuntime(27444): java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.cameraoc/com.sec.android.app.camera.Camera}: java.lang.SecurityException: Requires SET_ANIMATION_SCALE permission
However, this permission is set in the AndroidManifest.xml file:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sec.android.app.cameraoc">
<uses-permission android:name="android.permission.CAMERA"/>
[...]
<uses-permission android:name="android.permission.SET_ANIMATION_SCA LE"/>
[...]
So, i do not understand why I get this Exception. Do you have any ideas?
Klaus
I got the exact same issue when modding the S5's camera apk. The trick is to open your original apk with an archive manager and only replace the classes.dex and resources.arsc. I then copied the apk to /system/app/ and after a reboot I could successfully launch the camera.
More details about hacking system apk's can be found here: https://code.google.com/p/android-apktool/wiki/FAQ (My recompiled apk Force Closes (FCs). What gives?)

Google music app work around

So i liked the google music app because it worked with my sony smartwatch3 but i got a new phone and it had a newer version of the app that didn't work with it. Ive been trying to change the package name of the older apk so i can install two of the same app on my phone. Problem is I have no previous experience and and im having a lot of trouble doing it. Can someone help me by either guiding me or doing it for me, id really appreciate that. Here is the app i want to modify. (PS I know i can unistall the google app if i root my device but that seems like a lot of trouble and it voids the warranty of my device).
You can't install an app with same package name ( here: com.google.android.music ) twice. An app's package name is hardcoded in its APK's AndroidManifest.xml file.
jwoegerbauer said:
You can't install an app with same package name ( here: com.google.android.music ) twice. An app's package name is hardcoded in its APK's AndroidManifest.xml file.
Click to expand...
Click to collapse
I know that but is there any way to modify the apk?
Unpack the APK - it's merely a .ZIP-file
Make the changes you want
Repack to APK
Sign the APK

Categories

Resources