[Q] Force install an app? - XPERIA X10 Q&A, Help & Troubleshooting

Recently I installed the Eternity 2 build003a Rom and it removed the Backup and Restore app. The problem is my most recent (and most important backup) is saved with that app. I tried reinstalling the app with root explorer, package installer, ADB shell but it won't let me install it. With the package installer it keeps saying "Application not installed!" and with the ADB shell it gives me this error:
C:\Android\Tools>adb install -r Backupandrestore.apk
486 KB/s (2386714 bytes in 4.794s)
pkg: /data/local/tmp/Backupandrestore.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
I downloaded the APK from the Sony website so it should be compatible. I would like to know is there a way of forcefully installing an app? If not is there any other apps out there that can use the stock backup and restore app files to restore the phones data?

if u had the apk file, try using side loaded to install it. google search :
Android Central Sideload Wonder Machine 1.0
after u successfully implemented the sideload machine, thick the Update existing app

xcxa23 said:
if u had the apk file, try using side loaded to install it. google search :
Android Central Sideload Wonder Machine 1.0
after u successfully implemented the sideload machine, thick the Update existing app
Click to expand...
Click to collapse
Just tried the AC Sideloader and it gives me the same error as the ADB shell (Not compatible)

JohnDoeJD said:
Recently I installed the Eternity 2 build003a Rom and it removed the Backup and Restore app. The problem is my most recent (and most important backup) is saved with that app. I tried reinstalling the app with root explorer, package installer, ADB shell but it won't let me install it. With the package installer it keeps saying "Application not installed!" and with the ADB shell it gives me this error:
C:\Android\Tools>adb install -r Backupandrestore.apk
486 KB/s (2386714 bytes in 4.794s)
pkg: /data/local/tmp/Backupandrestore.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
I downloaded the APK from the Sony website so it should be compatible. I would like to know is there a way of forcefully installing an app? If not is there any other apps out there that can use the stock backup and restore app files to restore the phones data?
Click to expand...
Click to collapse
Check post 2 on the Eternity thread unless you have already that is
http://forum.xda-developers.com/showthread.php?t=865580

Related

[Q] Google Voice uninstall

so i just flashed KaosFroyo v37 on my Eris, i'm not new to swapping ROMs and have been playing with KaosFroyo from the beginning. but for some reason now the uninstall button on the market app is greyed out, and in the application browser it fails to uninstall (astro).
i need to install the 0.3 version. how do i get rid of the newer version? thanks in advance.
You can't install any pre-installed apps using the market, astro, or anything else really.
Do you have adb setup? You'll want to do:
Code:
adb shell
mount -o rw,remount dev/block/mtdblock3 /system
cd /system/app
Hit enter
Then...
Code:
ls <-- lists all installed applications in the /system/app folder
Find google voice's apk (probably named something like Voice.apk, or GoogleVoice.apk, then type
Code:
rm GoogleVoice.apk (or whatever the name of the apk is)
Also, I think the app root explorer on the market (~$3.00) can do it for you as well, without all the hassle.
If you want to install your version of it using adb, then get the apk on your computer (somewhere easily accessible like the root of your hard drive) and do this.
Code:
adb install c:/(apkname).apk
Titanium Backup will also uninstall just about anything.
Thanks for the tips... i forgot about titanium backup, if that doesn't work then i'll try adb... I have to get the sdk and drivers installed after a wipe anyways.
Sent from my FroyoEris using Tapatalk

[Q] Can't access /data/app in ADB

So I installed auto wipe then backed up and tested the app. It sure works... But then I realized that since I made the backup AFTER installing. Every time I restore it wipes. So I tried putting it into recovery and loaded up ADB but whenever I try to access /data/app to uninstall the APK I get this.
Code:
/sbin/sh: cd: can't cd to app
Any help is appreciated.
Oh and yes I am root and I'm running CWM 4.0.0.2

I Lost SuperSU after update

Hi,
accidentally I lost superuser access at all after update process.
Executing the following way:
Tried to replace SuperSU 1.00 with SuperSU 1.04 but installation failed, so I opened old SuperSU app and chosen "Cleanup and prepare for update to newer version"
It asked to reboot, update and reboot again
I rebooted, installed SuperSU 1.04 and rebooted again, but now I can't start the app at all. It says "SU Binary not installed and SuperSU can't be installed. This is a problem." Then closes
Please help how to get SuperSU back to full operation. Thanks!
bflmpsvz said:
Hi,
accidentally I lost superuser access at all after update process.
Executing the following way:
Tried to replace SuperSU 1.00 with SuperSU 1.04 but installation failed, so I opened old SuperSU app and chosen "Cleanup and prepare for update to newer version"
It asked to reboot, update and reboot again
I rebooted, installed SuperSU 1.04 and rebooted again, but now I can't start the app at all. It says "SU Binary not installed and SuperSU can't be installed. This is a problem." Then closes
Please help how to get SuperSU back to full operation. Thanks!
Click to expand...
Click to collapse
Download super user from play store and uninstall the supersu,now install super su back from playstore and delete the superuser....
Tell me if it works....
Sent from my xperia sola using xda premium
MUHAMMAD KHALIL said:
Download super user from play store and uninstall the supersu,now install super su back from playstore and delete the superuser....
Tell me if it works....
Click to expand...
Click to collapse
This is not working. Installed Superuser from GP, installed SuperSU 1.04 -> went fine
Reboot
Running Superuser, it opens but says nothing
Running SuperSU, it aborts with same error
If I run any app requiring root access, it fails.
Now I'm stuck here
Uninstalled Superuser
Uninstalled SuperSU
Fully unrooted using Root_with_Restore_by_Bin4ry_v18 (x)
Reboot
Rooted back using Root_with_Restore_by_Bin4ry_v18 (normal mode) -> Script finished successfull but no Superuser app
Therefore I install Superuser manually from GP again (success), still no root access
The log:
Code:
= Script by Bin4ry (thanks to Goroh_kun and tkymgr for the idea) =
= Idea for Tablet S from Fi01_IS01 =
= (18.12.2012) v17 =
======================================================================
Device type:
1) Normal
2) Special (for example: Sony Tablet S, Medion Lifetab)
x) Unroot
Make a choice: 1
Checking if i should run in Normal Mode or special Sony Mode
Please connect your device with USB-Debugging enabled now
Waiting for device to shop up, if nothing happens please check if Windows ADB-drivers are installed correctly!
1646 KB/s (210390 bytes in 0.124s)
remote object '/system/bin/ric' does not exist
.
Found Sony Backup-Restore.apk
LT26,LT22 etc. mode enabled!
.
Pushing busybox....
838 KB/s (1085140 bytes in 1.263s)
Pushing su binary ....
2878 KB/s (91980 bytes in 0.031s)
Pushing Superuser app
2971 KB/s (996704 bytes in 0.327s)
Making busybox runable ...
.
Pushing fake Backup
2307 KB/s (73728 bytes in 0.031s)
Extracting fakebackup on device ...
Watch now your device. Select the backup named RootMe and restore it!
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.sonyericsson.vendor.backuprestore/.ui.BackupActivity }
If all is successful i will tell you, if not this shell will run forever.
Running ......
Good, it worked! Now we are rebooting soon, please be patient!
Waiting for device to come up again....
Going to copy files to it's place
mount: permission denied (are you root?)
You can close all open command-prompts now!
After reboot all is done! Have fun!
Bin4ry
Try to unroot using flashtool (there is an option under one of the menus) and then root the way you did using Bin4ry's tool
Sent from my LT22i using Tapatalk 2
I was impatient so I flashed clean stock ROM .75
The prob with Root_with_Restore_by_Bin4ry_v18 is that it still couldnot make root on clean ROM, only Root_with_Restore_by_Bin4ry-XP did (on old kernel). What ROMs actually is Bin4ry v18 supporting?
Now on SuperSU Pro 1.04 already :good: but was pain
For the next time, how to update properly SuperSU without struggling this hassle?
Several more questions:
If I have both SuperSU and Superuser can those both coexist or better to uninstall Superuser?
Can I update SuperSU Pro by SuperSU ? Why is SuperSU Pro only half a size of SuperSU (not Pro)?
And finally can I safely restore Titanium Backup system data from 6.1.1.B.1.54 on .75?

[Q] re-installing google play store?

I was uninstalling bloatware from my samsung galaxy victory after rooting, and in the process, accidentally deleted the play store. I re-downloaded the latest .apk for the play store, installed it, and when I open it, it crashes and says "unfortunately, google play store has stopped". I looked up tp see if there were any solutions, and many sources said to gp to settings>app. management>google play>force stop, clear data, clear cache. that didnt work. I tried installing older play store apk's, all giving the same error. any other possible solutions?
I think perhaps you deleted the odex as well..
Press Thanks if you like my Work/Advice
did you install the apk to /system or to /data?
the playstore apk belongs into /system/app not /data/app
whats the odex? and hiw do I change the installation directory?
-new to android & rooting so I still havent looked up all the terminology so sorry-
I dont think it has to do with odex files.
change the installation directory als follows:
first uninstall the market app and copy the market apk to your sdcard.
I'll use the filename "market.apk" to refer to it in this description
Then use "adb shell" or some on device console emulator and issue the following commands:
1. "su" become root
2. "mount -o remount,rw /system" to remount /system read-write
3. "cp /mnt/sdcard/market.apk /system/app" to copy the market apk into the right system folder if it fails try "/sdcard/market.apk" instead of "/mnt/sdcard/market.apk"
4. "reboot"
After your reboot you should see an android message stating to update some system files or so.
If your device is fully booted, try to use your market app. It should work now.
Hope this helps...

Can someone upload the stock "downloads" application?

After debloating i was stupid and removed the official "downloads" application so the miui updater keeps stopping. Could someone upload an apk for it? Using the latest miui with android 10.
Or if anyone knows what application that can cause the crash (i know it's something i removed) please do tell. Thanks!
Although there is no detailed information about the problem, my guess is that he can see the apk work at the following link.
https://www.apkmirror.com/apk/xiaomi-inc/system-app-updater/system-app-updater-9-6-25-463-release/
I tried that one. But it says "app not installed" when i try to install it.
Here is The log:
java.lang.RuntimeException: Unable to create service com.android.updater.UpdateService: java.lang.SecurityException: Failed to find provider downloads for user 0; expected to find a valid ContentProvider for this authority
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3999)
at android.app.ActivityThread.access$1600(ActivityThread.java:220)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1899)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7520)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: java.lang.SecurityException: Failed to find provider downloads for user 0; expected to find a valid ContentProvider for this authority
at android.os.Parcel.createException(Parcel.java:2074)
at android.os.Parcel.readException(Parcel.java:2042)
at android.os.Parcel.readException(Parcel.java:1990)
at android.content.IContentService$Stub$Proxy.registerContentObserver(IContentService.java:1359)
at android.content.ContentResolver.registerContentObserver(ContentResolver.java:2279)
at android.content.ContentResolver.registerContentObserver(ContentResolver.java:2267)
at com.android.updater.E.<init>(SourceFile:22)
at com.android.updater.Updater2.a(SourceFile:20)
at com.android.updater.Updater2.<init>(SourceFile:22)
at com.android.updater.UpdateService.onCreate(SourceFile:4)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3987)
... 8 more
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.content.ContentService.registerContentObserver(ContentService.java:344)
at android.content.IContentService$Stub.onTransact(IContentService.java:524)
at android.os.Binder.execTransactInternal(Binder.java:1021)
at android.os.Binder.execTransact(Binder.java:994)
psrkallez06 said:
After debloating i was stupid and removed the official "downloads" application so the miui updater keeps stopping.
Click to expand...
Click to collapse
How did you debloat? Really removing (rm -rf) or just deactivating? (pm uninstall --user 0)
To revert the pm uninstall command, you can do the following:
Code:
adb shell cmd package install-existing <name of package>
If nothing works you just have to flash system new, so just download fastboot ROM, extract it and run
Code:
fastboot flash system system.img
and you can restart.
rolex0815 said:
How did you debloat? Really removing (rm -rf) or just deactivating? (pm uninstall --user 0)
To revert the pm uninstall command, you can do the following:
Code:
adb shell cmd package install-existing <name of package>
If nothing works you just have to flash system new, so just download fastboot ROM, extract it and run
Code:
fastboot flash system system.img
and you can restart.
Click to expand...
Click to collapse
Thanks for your answer. No i used the "debloat" magisk module using this thread: https://forum.xda-developers.com/poco-f1/how-to/miui-10-debloat-systemless-tested-t3839641
But i also removed some stuff on my own which prolly made the problem appear.
psrkallez06 said:
Thanks for your answer. No i used the "debloat" magisk module using this thread: https://forum.xda-developers.com/poco-f1/how-to/miui-10-debloat-systemless-tested-t3839641
But i also removed some stuff on my own which prolly made the problem appear.
Click to expand...
Click to collapse
Did u try it?
Read from here if something breaks
If it breaks the system or causes boot-loop which shouldn't be the case as I'm using the same device and thoroughly tested it on 8.9.11, Don't worry! It's damn easy to reinstall all of them in one click by TWRP.
Did you download the Magisk Mount script which I asked to earlier ? If yes, just flash it with TWRP and the magisk will be mounted and accessible in TWRP file explorer. If you didn't download the script earlier, Just adb sideload it in recovery.
After mounting the Magisk in TWRP > Click on Advanced and go to file explorer.
Then delete the app folder of the system app you've uninstalled in /Magisk/terminal_debloater/system/app (/sbin/.core/img/terminal_debloater/system/app) or /Magisk/terminal_debloater/system/priv-app (/sbin/.core/img/terminal_debloater/system/priv-app) then that should undo it.
I got it when i read that thread. I think all ur apps which had debloated still on ur phone (they just were disable). Maybe im wrong (i dont think so xD) but u just try. Good luck.
try this :
1 download termux app & run
2 type su & enter
3 type debloat & enter
4 choose the option
hope can help u !

Categories

Resources