install unintalled system app with adb - Android Q&A, Help & Troubleshooting

Hello friends
I uninstalled the com.android.documentsui package with adb a few days ago
And I really got into trouble
How can I reinstall it?
I have to say that I found the apk file on the Internet, but when I use
Code:
pm install --user 0 android.documentsui-7.0.apk
, I get this error:
Code:
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.android.documentsui signatures do not match the previously installed version; ignoring!]
Can anyone help me? Or say goodbye to document?

ciger7 said:
Can anyone help me? Or say goodbye to document?
Click to expand...
Click to collapse
I'm not an expert so I don't know if this will help, but Occam's Razor says that you can switch OUT of adb to install & uninstall, and then, after you get out of this locked-up situation, you can try adb again later.
You didn't mention so I need to ask a basic debugging question:
QUESTION:
Did you try to uninstall directly from the phone (without using adb) and then try to install directly on the phone (again, without adb)?
If so, do you get any errors and if so, are they the same or different than what you get using adb?

GalaxyA325G said:
I'm not an expert so I don't know if this will help, but Occam's Razor says that you can switch OUT of adb to install & uninstall, and then, after you get out of this locked-up situation, you can try adb again later.
You didn't mention so I need to ask a basic debugging question:
QUESTION:
Did you try to uninstall directly from the phone (without using adb) and then try to install directly on the phone (again, without adb)?
If so, do you get any errors and if so, are they the same or different than what you get using adb?
Click to expand...
Click to collapse
In answer to your question:
Document software is a system software and can not be deleted or disabled by the user. I deleted it with adb.
In response to your second question:
I could not install it normally and with the phone and encountered this error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Since I completely deleted this program from the device, I do not understand the reason for this error!

ciger7 said:
Hello friends
I uninstalled the com.android.documentsui package with adb a few days ago
And I really got into trouble
How can I reinstall it?
I have to say that I found the apk file on the Internet, but when I use
Code:
pm install --user 0 android.documentsui-7.0.apk
, I get this error:
Code:
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.android.documentsui signatures do not match the previously installed version; ignoring!]
Can anyone help me? Or say goodbye to document?
Click to expand...
Click to collapse
When you uninstall any sys app from adb, still apk will be there.
I guess you may have use adb command like
Code:
pm uninstall --user 0 package.name
In that case simply do this
Code:
pm install --user 0 package.name
replace package name with one you want.
In case you have used command hide instead of uninstall, use
Code:
pm unhide --user 0 package.name

Thanks, I will try this
Make your solution look right
But I think in order for the apk file to remain, I have to use -k (keep data), which I did not use. It is true?

dr.ketan said:
When you uninstall any sys app from adb, still apk will be there.
I guess you may have use adb command like
Code:
pm uninstall --user 0 package.name
In that case simply do this
Code:
pm install --user 0 package.name
replace package name with one you want.
In case you have used command hide instead of uninstall, use
Code:
pm unhide --user 0 package.name
Click to expand...
Click to collapse
I tested your code and wrote:
Code:
pm install --user 0 com.android.documentsui
And I got this error:
Code:
Error: failed to write; com.android.documentsui (No such file or directory)
I can not understand what is the problem!
Do you know how to solve it?

Related

How to change nvidia tv launcher

you need with App inspector and SquareHome 2 - Launcher, install apps open square home and configure to your liking when you finish reboot nvidia tv.Connect pc to adb and put adb shell and intro,open app inspector look for de app launcher nvidia and in the terminal put this command "pm uninstall -k --user 0 com.google.android.leanbacklauncher" and reboot,If you want to uninstall more add de app with App Inspector repeat the steps.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
https://forum.xda-developers.com/shield-tv/themes-apps/alternate-launcher-root-marshmallow-t3359076
A whole thread and many user coments and Ideas in case you missed this thread its been around a while but ty for posting this to help others. It has more info on replacing the default launcher, and many questions and answers.
Lordsolo said:
you need with App inspector and SquareHome 2 - Launcher, install apps open square home and configure to your liking when you finish reboot nvidia tv.Connect pc to adb and put adb shell and intro,open app inspector look for de app launcher nvidia and in the terminal put this command "pm uninstall -k --user 0 com.google.android.leanbacklauncher" and reboot,If you want to uninstall more add de app with App Inspector repeat the steps.View attachment 4257077
Click to expand...
Click to collapse
My way:
1. Install replacement launcher - HALauncher is probably the best.
2. Start HALauncher and set it up as default launcher
3. Connect (unrooted or rooted) Shield TV to PC via male-to-male USB.
4. Open CMD
5. Type: adb shell
6. Type: pm uninstall -k --user 0 name of package
(where name of package is Android TV launcher package. I already uninstalled it and dont know the name but you can open Settings / Apps / and scroll to Android TV launcher and check package name. Its just below version name and starts with com.google...
7. Message "Success.." pops up.
8. Reboot.
End of story...
clarification
my english is very bad, I was just trying to help
Lordsolo said:
my english is very bad, I was just trying to help
Click to expand...
Click to collapse
It was nice of you to post the info for people as well. I only refered people to the other thread because it has step by step information on how to set up adb etc, and how to do it for anyone that might need the full information. Its good information though because the other commands that worked in marshmallow as we have seen do not work in nougat so new info is always good.
Not many to choose from... If you're into SPMC/Kodi you could set it as a default launcher and use a tile as a shortcut to Android apps. I mostly watch movies, TV shows and sports so I think this setup is a quite handy.
I tried HALauncher and it's a good substitute, but nothing to get excited about.
I really like tv top launcher, and have been using it since the first time I got an android tv box.
why not use homeswitcher (root) in the atv playstore - works perfect. i use spmc as luancher
On Anroid TV 8 Oreo the package name of the launcher changed from com.google.android.leanbacklauncher to com.google.android.tvlauncher
So after updating shield to android 8 Oreo you need the following adb command to disable the Android TV Launcher:
pm uninstall -k --user 0 com.google.android.tvlauncher
Cool that this command still works
sweetnothings said:
On Anroid TV 8 Oreo the package name of the launcher changed from com.google.android.leanbacklauncher to com.google.android.tvlauncher
So after updating shield to android 8 Oreo you need the following adb command to disable the Android TV Launcher:
pm uninstall -k --user 0 com.google.android.tvlauncher
Cool that this command still works
Click to expand...
Click to collapse
Worked great on an un-rooted 7.2.1 Shield TV (2017 16GB)
adb shell
darcy:/ $ pm uninstall -k --user 0 com.google.android.tvlauncher
Success
darcy:/ $
Click to expand...
Click to collapse
For Oreo these commands work to remove both native launchers if you have removed the original launcher prior the first command here isn't necessary or will come back with a failure but thats just because its already uninstalled Make sure you have a functional launcher before removing the original ones.
adb shell
pm uninstall -k --user 0 com.google.android.leanbacklauncher
and
pm uninstall -k --user 0 com.google.android.tvlauncher

[SOLVED] Reinstall EMUI launcher to system

In order to get the oreo mulitasking, i have uninstalled the EMUI launcher by ADB command :
Code:
adb shell pm uninstall -k --user 0 com.huawei.android.launcher
Is there any way to reinstall the launcher to system?
Ways to solve:
1. Change the Huawei app gallery to China and search "華為桌面”, it will be installed as system app.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The first way is to perform a full reset of the phone. Not ideal.
I saw mention in another thread a while back that it can be downloaded from the Chinese version of the Huawei app store if you change your location and search for it in Chinese.
If you're rooted you could use ADB to push the APK.
I think they're your only options. It would have been better to disable it rather than uninstall as you could enable it again.
can someone who has uninstalled the launcher do a quick check for me?
please install the newest pixe launcher or 1 of the newest pie launchers and set the navbar to the keys (no gestures), give the new launcher all permissens that it wants and reboot.
i would like to know if the new nav gestures and recents overview will kick in and work
If you have kept a copy (apk) before uninstalling it, you could just install it back.
Here is how you can extract it:
Code:
adb shell pm path com.huawei.android.launcher -- show the path to the APK
adb shell cp /path/to/apk/from/above /storage/emulated/0/Download/base.apk -- copy it to Download folder on device
adb pull /storage/emulated/0/Download/base.apk -- copy it to PC
Is it possible to copy base.apk from any custom ROM and install it?
henexekrar said:
If you have kept a copy (apk) before uninstalling it, you could just install it back.
Here is how you can extract it:
Click to expand...
Click to collapse
hoe where you planning on pushing it back?
demon2112 said:
hoe where you planning on pushing it back?
Click to expand...
Click to collapse
Not sure what you mean. You could install it the same way as any other APKs.
henexekrar said:
Not sure what you mean. You could install it the same way as any other APKs.
Click to expand...
Click to collapse
you are right hahah
henexekrar said:
Not sure what you mean. You could install it the same way as any other APKs.
Click to expand...
Click to collapse
Unsuccessful. Can't install .apk [emoji849]
Отправлено с моего LYA-L29 через Tapatalk
Li-Pol said:
Unsuccessful. Can't install .apk [emoji849]
Отправлено с моего LYA-L29 через Tapatalk
Click to expand...
Click to collapse
Then I have no clue, works on chinese rom. But that's also meaningless on chinese rom since app store has it..
henexekrar said:
If you have kept a copy (apk) before uninstalling it, you could just install it back.
Here is how you can extract it:
Code:
adb shell pm path com.huawei.android.launcher -- show the path to the APK
adb shell cp /path/to/apk/from/above /storage/emulated/0/Download/base.apk -- copy it to Download folder on device
adb pull /storage/emulated/0/Download/base.apk -- copy it to PC
Click to expand...
Click to collapse
I did extract the APK before I uninstalled it, but I can install the APK afterwards..
I can only conclude that launcher app is installed differently on international rom vs chinese rom, unfortunatrly I dont have a chance to get my hands on an international rom to see how that's like.
Guys, you can always try to change the country to china on Hisuite and search for the launcher is Chinese - it is mentioned in another post and see if you can get it installed.
Sent from my LYA-L29 using Tapatalk
kinli1234 said:
In order to get the oreo mulitasking, i have uninstalled the EMUI launcher by ADB command :
Code:
adb shell pm uninstall -k --user 0 com.huawei.android.launcher
Is there any way to reinstall the launcher to system?
Click to expand...
Click to collapse
Found this on another thread - in an adb shell type the following:
cmd package install-existing <package-name>
Just tried it with powergenie and it works. Give it a go if you still need to.
Grondah said:
Found this on another thread - in an adb shell type the following:
cmd package install-existing <package-name>
Just tried it with powergenie and it works. Give it a go if you still need to.
Click to expand...
Click to collapse
Confirmed, works! :good:
Grondah said:
Found this on another thread - in an adb shell type the following:
cmd package install-existing <package-name>
Just tried it with powergenie and it works. Give it a go if you still need to.
Click to expand...
Click to collapse
I need to reinstall the emui launcher on my Al00 where i removed it with adb. Can you tell me the exact package name for my version and if I have any chance to restore it? I am not rooted btw
afico said:
I need to reinstall the emui launcher on my Al00 where i removed it with adb. Can you tell me the exact package name for my version and if I have any chance to restore it? I am not rooted btw
Click to expand...
Click to collapse
The EMUI launcher is called com.huawei.android.launcher and you should be able to fine.
it works!!! great!
now it owuld be nice to rmoeve yellow pages and chianese huawei video
Install Application Inspector then you can get the package names for everything.
install: adb shell pm install-existing com.huawei.android.launcher

Delete failure via ADB

Hello everyone,
I spent a couple of hours searching on the forum before asking this question. Maybe I am not searching the right thing but I just received a new company phone. It is a Samsung Galaxy S10e. My previous one was an S7.
The company has this Intelligent Hub app installed with admin rights that doesn't allow me to turn off the location services. It drains the battery fast when the services are enabled especially that most of my work is being done in a weak signal or no signal area. (Placing the phone in airplane mode doesn't work since it's admin controlled.
I tried to uninstall the app via adb but I get this DELETE_FAILED_DEVICE_POLICY_MANAGER. The package name is com.airwatch.androidagent
Can anyone please let me know if there's a way to uninstall this package by bypassing the admin rights?
Thank you!
what command you use on ADB to uninstall it
ineedroot69 said:
what command you use on ADB to uninstall it
Click to expand...
Click to collapse
pm uninstall -k --user 0 'com.airwatch.androidagent'
google say you're receiving DELETE_FAILED_DEVICE_POLICY_MANAGER because the application you are tying to uninstall is a "device manager application" . device manager are application that helps you locate, and if needed, remotely lock or wipe your Android device if stolen so you just need to remove ”Intelligent Hub" being a device manager usually that can easily be change by going on phone settings
ineedroot69 said:
google say you're receiving DELETE_FAILED_DEVICE_POLICY_MANAGER because the application you are tying to uninstall is a "device manager application" . device manager are application that helps you locate, and if needed, remotely lock or wipe your Android device if stolen so you just need to remove ”Intelligent Hub" being a device manager usually that can easily be change by going on phone settings
Click to expand...
Click to collapse
Yes, but the problem is that it is control by an admin. I do not have rights to deactivate, force stop, uninstall. Those buttons are grayed out for me
How do I revoke admin to an app via dm command
what do you means grayed out? just go to Setting and find "Device Manager/Administrator" (you can find it by typing it on Setting searchbar or manually looking for it) and just uncheck Intelligent Hub on it
I am trying to figure this out also. I have a company phone that IT is the ADMIN on Pixel5. I tried to uninstall the
I tried to uninstall the app via adb com.airwatch.androidagent but get this error DELETE_FAILED_DEVICE_POLICY_MANAGER.
I have same problem. Even as su I get for
pm uninstall -k --user 0 com.samsung.android.kgclient
Failure [DELETE_FAILED_DEVICE_POLICY_MANAGER]
If I look into settings/app/special access/device administrative apps (maybe mistranslated) - there is just my NOVA Launcher listed.
What the hell is the policy manager?
starbright_ said:
I have same problem. Even as su I get for
pm uninstall -k --user 0 com.samsung.android.kgclient
Failure [DELETE_FAILED_DEVICE_POLICY_MANAGER]
If I look into settings/app/special access/device administrative apps ((maybe mistranslated) - there is just my NOVA Launcher listed.
Click to expand...
Click to collapse
i disable my launcher as device administrator... Xiaomi launcher is great but i don't trust it as Device Administrator it my sell my info to China
look it don't even have description it just say "Launcher"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yeah, what I want to tell is that I don't know what Policy Manager is (who let me fail uninstalling that package), and that there is no app is a device manager. Sorry for confusion.
I didn't allow Nova Launcher to be Admin. And this is the only left app in the list. But this becomes OT here
-
Having this error DELETE FAILED OWNER BLOCKED? if its tied to the Samsung knox deployment. how to remove it?

Stratos 3 stuck on SetupWizard

Hello,
First off, sorry if I make any english mistakes as it's not my native language.
I'm running into some issues with my Stratos 3. It was running fine until now, stock firmware and nothing modified since I got it. The first issue was during the OTA update (4.2.5.0) which didn't completed. Just the /!\ sign at the end and the watch rebooted to normal.
It could just end there but I just wanted to update and followed the Gearbest "solutions" to update failures which seemed to be logical at first ... "Sign out of Amazfit App and log in again. When you open Amazfit app, app will connect with watch and update automatically." That's what I did, and the problems started ... Now the watch is stuck in some kind of bug, the screen keeps displaying this. Whatever I do, the watch come back to this error. I can't access any menu.
Photo :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So what I already tried :
- Reboot the watch => same
- Installed ADB drivers, plugged it then factory reset (adb reboot wipe) => same
- If I just reboot it in MCU mode (adb reboot MCU), the watch works fine but it seems there isn't anything more I can do in it.
What I'm considering at this point is just doing a clean install (I was reading the stock firmware topic : https://forum.xda-developers.com/smartwatch/amazfit/fw-tool-stock-global-international-t4031153 ), but I'm not sure if it's the right direction. Just wanted to get some insight before doing something wrong.
Thank you very much for your help.
I continued digging into this issue. Found out it is a "common" error on Android systems (Hamazfit OS is based on Android).
What is pointed on most topics is a permission issue. Seems like when permissions are fixed, the problem is solved.
If this is the right direction to follow, the question remains on how to adapt it for this OS as the packages and the permissions may be different.
The main topic I found was on android.stackexchange (can't link with a new account for now).
Interesting part here :
I noticed when clicking report that the issue was a permissions issue.
using adb shell dumpsys package com.google.android.setupwizard you will see two lists related to permissions, one requested permissions, and one install permissions.
Comparing these lists, there were 8 items requested, but not installed. I fixed this using:
pm grant com.google.android.setupwizard android.permission.CALL_PHONE
pm grant com.google.android.setupwizard android.permission.GET_ACCOUNTS
pm grant com.google.android.setupwizard android.permission.PROCESS_OUTGOING_CALLS
pm grant com.google.android.setupwizard android.permission.READ_CONTACTS
pm grant com.google.android.setupwizard android.permission.READ_PHONE_STATE
pm grant com.google.android.setupwizard android.permission.WRITE_CONTACTS
pm grant com.google.android.setupwizard android.permission.READ_OWNER_DATA
pm grant com.google.android.setupwizard android.permission.WRITE_OWNER_DATA
Note that the last two items gave an error message: Bad argument: java.lang.IllegalArgumentException: Unknown permission: android.permission.READ_OWNER_DATA. But ignoring those, now my phone worked again.
I'm no expert in this, I'll take any advices or recommendations.
EDIT : Just did the dumpsys on the watch. There is only the "grantedPermissions" at the end. No list of RequestedPermissions ...
C:\adb>adb shell dumpsys package com.huami.watch.setupwizard
Activity Resolver Table:
Non-Data Actions:
android.intent.action.MAIN:
6b57ee6 com.huami.watch.setupwizard/.InitialLanguageActivity
Key Set Manager:
[com.huami.watch.setupwizard]
Signing KeySets: 1
Packages:
Package [com.huami.watch.setupwizard] (33d54c27):
userId=10023 gids=[3002, 3001]
pkg=Package{3afe11f8 com.huami.watch.setupwizard}
codePath=/system/app/SetupWizard
resourcePath=/system/app/SetupWizard
legacyNativeLibraryDir=/system/app/SetupWizard/lib
primaryCpuAbi=null
secondaryCpuAbi=null
versionCode=22 targetSdk=23
versionName=5.1-55
splits=[base]
applicationInfo=ApplicationInfo{1c2f7ed4 com.huami.watch.setupwizard}
flags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
dataDir=/data/data/com.huami.watch.setupwizard
supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]
timeStamp=2020-01-25 01:55:45
firstInstallTime=2020-01-25 01:55:45
lastUpdateTime=2020-01-25 01:55:45
signatures=PackageSignatures{24d5c87d [1fcaa372]}
permissionsFixed=false haveGids=true installStatus=1
pkgFlags=[ SYSTEM HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
User 0: installed=true hidden=false stopped=false notLaunched=false enabled=0
grantedPermissions:
android.permission.WRITE_SETTINGS
com.huami.watch.permission.READ_USER_SETTINGS
com.huami.watch.permission.WRITE_USER_SETTINGS
android.permission.DEVICE_POWER
android.permission.BLUETOOTH
android.permission.BLUETOOTH_ADMIN
android.permission.WRITE_SECURE_SETTINGS
android.permission.CHANGE_CONFIGURATION
android.permission.VIBRATE
android.permission.WAKE_LOCK
Litle update here, in case some people end here :
After some days, I asked to the seller (Amazfit Official Store on Aliexpress) for support. We talked a bit about the issue but we obviously couldn't find a solution. They offered me to send back the watch and replace it.
I was going to send it back until I checked the price for my local post office to send it in Hong Kong (about 55€/60$ for this tiny package ... ). So I deciced to take the risk and proceed to flash the watch myself.
First, unlocked the bootloader then followed the post for the stock FW installer (https://forum.xda-developers.com/smartwatch/amazfit/fw-tool-stock-global-international-t4031153)
And ... It worked ! :good: Now my watch is working correctly. I could link it to my phone again and my data were saved locally on my phone, so I didn't lose that either.
So I may have lost my warantly but at least, now I know how expensive this would be
In any case, I don't think I could do anything else after all the search I did.
What firmware version are you using to fix the problem?

[Energy400] infected files cannot be placed in quarantine

Kaspersky detects trojans, but is unable to neutralize them. Would you have a solution to propose me? In attachment you have a screenshot.
The full references are:
Model: Energizer Energy400
Android version: 4.4.2
Kernel version: 3.4.67
Build number: APLS.KK1.MP7.V1
Custom build version: Energy400_FR_4.4_B047_HW1_8GB_V03_201604130900
Hardware version: V1.0
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To get rid off of Trojans/Virusses do a Factory Reset.
jwoegerbauer said:
To get rid off of Trojans/Virusses do a Factory Reset.
Click to expand...
Click to collapse
The factory reset didn't work, there are still trojans in the filesystem (I did Vol Up + Power On, then selected factory reset)
Any other idea than the factory reset? The infected files seem to be deep in the filesystem.
Also, I tried to towelroot the device but it didn't work
thomasbb said:
Any other idea than the factory reset? The infected files seem to be deep in the filesystem.
Also, I tried to towelroot the device but it didn't work
Click to expand...
Click to collapse
Re-flash Stock ROM.
jwoegerbauer said:
Re-flash Stock ROM.
Click to expand...
Click to collapse
Here is what I found:
Flashtool: https://www.getdroidtips.com/flash-stock-firmware-using-sp-flash-tool/
Energy500 firmware: http://www.mediafire.com/file/14igk2ma27qa385/Energizer_Energy_S500_MT6735M_V005_20161219.zip/file
My phone is an Energy400, would it be ok (no way to find an Energy400 firmware...)? My computer runs under Linux but I guess it works the same: run Flashtool, burn the "scatter" file, and this is it?
jwoegerbauer said:
Re-flash Stock ROM.
Click to expand...
Click to collapse
Also, I tried this: https://www.droidthunder.com/unlock-bootloader/
but the terminal is frost saying: < waiting for any device >
All the commands worked until fastboot oem unlock and fastboot flashing unlock though
Re-flashing phone's Stock ROM is done by means of ADB:
Code:
adb devices
adb reboot sideload
adb sideload <STOCK-ROM-ZIP-FILE>
jwoegerbauer said:
Re-flashing phone's Stock ROM is done by means of ADB:
Code:
adb devices
adb reboot sideload
adb sideload <STOCK-ROM-ZIP-FILE>
Click to expand...
Click to collapse
In my case, it gives:
Code:
adb devices
adb reboot sideload
adb sideload Energizer_Energy_S500_MT6735M_V005_20161219.zip
then? Tomorrow I'll try, if it's not the right file to be used, please stop me before that time.
thomasbb said:
In my case, it gives:
Code:
adb devices
adb reboot sideload
adb sideload Energizer_Energy_S500_MT6735M_V005_20161219.zip
then? Tomorrow I'll try, if it's not the right file to be used, please stop me before that time.
Click to expand...
Click to collapse
It's not an update.zip and not for your device.
Try disabling them... maybe it's possible.
CXZa said:
Try disabling them... maybe it's possible.
Click to expand...
Click to collapse
How could I root my device to try to remove the trojans with adb? Thank you for your time though
Regarding the firmware, I asked one to Energizer and they answered they're dealing with my request
thomasbb said:
How could I root my device to try to remove the trojans with adb? Thank you for your time though
Regarding the firmware, I asked one to Energizer and they answered they're dealing with my request
Click to expand...
Click to collapse
For disabling you don't need root.
adb shell pm disable-user --user 0 <package_name>
@thomasbb
try this
App Freezer for Android - APK Download
Download App Freezer apk 1.0.6 for Android. Freeze unwanted app or package on Android (Samsung, Sony, Xiaomi, Huawei, etc)
apkpure.com
what is more convenient than individually disabling packages via ADB, IMO
CXZa said:
For disabling you don't need root.
adb shell pm disable-user --user 0 <package_name>
Click to expand...
Click to collapse
ADB says:
Code:
~/Android/Sdk/platform-tools > ./adb shell pm disable-user --user 0 /system/app/DeskClock.apk
java.lang.IllegalArgumentException: Unknown component: /system/app/DeskClock.apk
at android.os.Parcel.readException(Parcel.java:1476)
at android.os.Parcel.readException(Parcel.java:1426)
at android.content.pm.IPackageManager$Stub$Proxy.setComponentEnabledSetting(IPackageManager.java:2963)
at com.android.commands.pm.Pm.runSetEnabledSetting(Pm.java:1271)
at com.android.commands.pm.Pm.run(Pm.java:141)
at com.android.commands.pm.Pm.main(Pm.java:79)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243)
at dalvik.system.NativeStart.main(Native Method)
jwoegerbauer said:
@thomasbb
try this
App Freezer for Android - APK Download
Download App Freezer apk 1.0.6 for Android. Freeze unwanted app or package on Android (Samsung, Sony, Xiaomi, Huawei, etc)
apkpure.com
what is more convenient than individually disabling packages via ADB, IMO
Click to expand...
Click to collapse
The application is installed. As soon the ads start to pour, I'll track down the apps that just reinstalled and freeze them. Thank you for you help

Categories

Resources