Related
*** New Tool Added: 04-06-2017 ***Warning: 'extremely powerful and dangerous tool'
This tool is designed to execute commands as root + system_server && install_recovery. While this example shows how to disable packages please be aware that a typo will be executed on the system as a command.
General Notice:
This package disabler is Android 6.01 64 bit and it isn't Samsung specific.
This tool is currently limited to only two contexts and therefore may not currently be able to disable "some??" packages.. Please let me know if that is true and I will attempt to find the correct context to disable the problem package.
Please note
This tool is part of a root kit I'm designing but since it's purpose was never a package disabler it isn't likely to receive updates. If you have an issue and you're waiting for a correction it's gonna be some wait unless you pm me. (i'm trying to learn forums, best thing to do is PM me to make me aware of your post here)
Information Updates:
You can disable every AT&T app on the device for a net gain on battery performance for your device. But if you disable some of the security logging and Android proper packages you will start seeing a net loss on batter performance. I was at < 1% over night before I got crazy.. Now I'm back to 6% battery lost in 6 to 8 hours of screen off time.
(obviously a tool that can disable a package can enable it also so keep careful track of your cmd_list.txt files)
Instructions
Don't brick your phone... just kidding see in depth instructions on my github
sources, no binaries
April 12 2017 sources have been majorly overhauled, binaries are beta beta.. however, package disabling power not increased
--Android 5.11 r2 64-bit binary toolbox and applypatch 'till' now added. ubuntu + ndk needed to make run5
https://github.com/droidvoider/CVE-2016-5195_GreyhatRootProject_Root_Console
BINARIES - NO SOURCES -instructions for disabling packages are in the zips
Linux
https://drive.google.com/open?id=0B-fnF5v-xg6OYmdreVNJOGlLWUE
Windows (i didn't test that batch file.. edit the batch file it's just a "batch" of commands)
https://drive.google.com/open?id=0B-fnF5v-xg6OYmdreVNJOGlLWUE
Scope:
dirtycow 5195 is patched November 2016.. If you are running Android 6.01 you may be able to flash the October 2016 kernel to your phone to bypass the patch
1. First make sure you have the AP file from your firmware.. (specifically boot.img and recovery.img which are included in the AP file)
2. Backup your device.
3. Use Odin to flash PJ1 boot.img / recovery.img to your phone
https://drive.google.com/open?id=0B-fnF5v-xg6OR1VWRTItWFVOTVE
4. Constantly check your phone, if it is getting hot or losing a lot of battery fast you need to stop... restore it and forget this
5. as long as it's all good see the instructions included with the tool
OLD PROCESS BELOW
************************************************************ UPDATE: 02/21/2017 ************************************************************************
This exploit is powerful and from what I can tell you don't need to use adb at all to make it work. Create an archive of the app with your tool, I listed what I used below. Install from archive. "app crashes". There are 3 updaters that I kill: com.sec.fwservice + com.sec.android.soagent + com.ws.dm. Any apps I can disable in App Manger I disable normally instead. For example if you begin disabling Google play it will allow you to fully disable it. This was the biggest thing that made my batter life better. You can use the adb commands, script and etc also if you want to do anything and everything to avoid additional updates. Hopefully I'm right because I am done with updating.
**** Warning **** Disabling the wrong thing this way can cause the phone to crash so hard you need to flash firmware to restore it. Make sure you have backed up and that you have your firmware ready. Also be warned that in my experience devices can suddenly crash & need repair from doing this type of stuff!!
tESted on firmware N920AUCS4CPK1 Android 6.01 w/Nov. Sec. Patch
Overview of the process
Our goal is to completely remove most AT&T from the application manager list and have AT&T software show up as a regular app, not a hidden system app. I am unsure if we need to have a fresh flash and how far you need to go in order to achieve our intended goal. I am fairly confident we need only change system settings to off for AT&T + Knox that and then fire this script. If that is not enough please see page two. I would very much appreciate feedback so I can edit this.
===> REMINDER <===
Backup all your contacts, text messages, downloaded files and also individually back any apps there are important to you. Also have a look at your /sdcard/ to see what's there. Do a full backup on the entire phone just in case you forgot anything.
*** Prepare to have to flash/wipe data to get this to work as I've only truly tested this after a recent flash personally!!! ***
This walk through utilizes the following technologies you will need to Google
You need the platform-tools from Android Studio SDK it comes with adb. (You can probably google platform-tools directory and download it)
(path environment needs to be set in the script or just fully qualify the location of adb which is what I do) <change to match your path>
I assume you understand how to download a file, open command prompt, cd to the directory it's download to and edit the path to your platform-tools inside the batch file
I also assume you can figure out the Samsung USB driver for Windows and test that you can adb shell to your device.
I assume you can get into Download mode and flash your firmware with Odin / Windows using a usb cable.
Steps to brick your perfectly good working AT&T Note 5 phone
Denial of permission and general rearrangement of system apps Version .0008 beta
Fresh after a flash please block the signal on your phone if possible. I always block signal!!!
1.) Turn on developer options then confirm that you have OEM unlock on(like it matters), USB Debugging On and default Verify Apps via USB remains off
2) Kill all AT&T running processes DEVELOPER OPTIONS | RUNNING SERVICES (get Smart Limits, Protect app, ATT yahoo mail, anything ATT)
every opportunity)
2A) Package disabler is awesome leave it running if you have it we don't need anything special for adb, besides adb.
3) Plug your phone into your PC via usb and get it connected.. (adb devices "unauthorized means you didn't say ok on phone in time unplug/replug try again")
3a) adb shell should log you into the phone and exit should get you back out (we don't want to be in the shell just testing the connection)
4.)Turn off "can make system changes" for AT&T apps. Application Manger | More | Change System Settings | More | Show System Apps -- Turn off anything AT&T (I also kill anything I can knox, samsung)
5) Fire this script on your phone (obviously you will have it connected to your pc, allowed the connection on your phone screen)
Basic commands I'm using, I prioritize com.ws.dm and then I run the commands on the rest of AT&T:
<This small snippet is a linux bash shell while the attached script is a Windows example>
#NOTE TO LINUX USERS: take the rest of the script from the windows batch and convert it to bash
#!/bin/bash
/opt/Android/Sdk/platform-tools/adb devices
/opt/Android/Sdk/platform-tools/adb wait-for-device
/opt/Android/Sdk/platform-tools/adb shell am kill-all
/opt/Android/Sdk/platform-tools/adb shell pm clear com.ws.dm
/opt/Android/Sdk/platform-tools/adb shell pm reset-permissions com.ws.dm
/opt/Android/Sdk/platform-tools/adb shell am set-inactive com.ws.dm true
/opt/Android/Sdk/platform-tools/adb shell pm revoke com.ws.dm android.permission.CHANGE_CONFIGURATION
/opt/Android/Sdk/platform-tools/adb shell pm revoke com.ws.dm android.permission.WRITE_SECURE_SETTINGS
/opt/Android/Sdk/platform-tools/adb shell pm revoke com.ws.dm android.permission.BATTERY_STATS
/opt/Android/Sdk/platform-tools/adb shell pm revoke com.ws.dm android.permission.INTERACT_ACROSS_USERS
/opt/Android/Sdk/platform-tools/adb shell pm revoke com.ws.dm android.permission.SET_PROCESS_LIMIT
/opt/Android/Sdk/platform-tools/adb shell am kill-all
/opt/Android/Sdk/platform-tools/adb shell am kill com.ws.dm
/opt/Android/Sdk/platform-tools/adb shell pm clear com.ws.dm
Note: I always did this right after a flash so I'm hoping that's not necessary
(I know I misused reset-permissions but it accepts it, laugh)
In the attached photo notice that I can "Show" system apps but AT&T Software Update is already shown (i.e. not a system app) For me I have no other att apps even if I show system apps!, they're installed tho)
**** Warning **** Disabling the wrong thing this way can cause the phone to crash so hard you need to flash firmware to restore it. Make sure you have backed up and that you have your firmware ready. Also be warned that in my experience devices can suddenly crash & need repair from doing this type of stuff!!
Stern Warning: You need your current matching firmware before doing this!! You can make a copy of your own firmware following directions on this forum. The info about your firmware is in SYSTEM | ABOUT
tESted on firmware N920AUCS4CPK1 Android 6.01 w/Nov. Sec. Patch
Overview of the process
We are going to do a various pronged assault using App Archiving / Restoring with a Google Play app as well as attacking a select set of permissions as well as clearing app data through adb using a batch or shell script from your computer. In some case I am able to also install the apk using adb shell pm install -rts which tags it as a test package. But I'm unclear how I achieved that so this is a work in progress.
(For the install -rts trick this is only after freshly flashing so it's been a little hard to remember to test it. Let me know if you stuble upon the process order again)
===> REMINDER <===
Backup all your contacts, text messages, downloaded files and also individually back any apps there are important to you. Also have a look at your /sdcard/ to see what's there. Do a full backup on the entire phone just in case you forgot anything.
*** Prepare to have to flash/wipe data to get this to work as I've only truly tested this after a recent flash personally!!! ***
This walk through utilizes the following technologies you will need to Google
You need the platform-tools from Android Studio SDK it comes with adb. (You can probably google platform-tools directory and download it)
(path environment needs to be set in the script or just fully qualify the location of adb which is what I do) <change to match your path>
I assume you understand how to download a file, open command prompt, cd to the directory it's download to and edit the path to your platform-tools inside the batch file
I also assume you can figure out the Samsung USB driver for Windows and test that you can adb shell to your device.
I assume you can get into Download mode and flash your firmware with Odin / Windows using a usb cable.
Steps to brick your perfectly good working AT&T Note 5 phone
Denial of permission and general rearrangement of system apps Version .0008 beta
Fresh after a flash please block the signal on your phone if possible. I always block signal!!!
1.) Turn on developer options then confirm that you have OEM unlock on(like it matters), USB Debugging On and default Verify Apps via USB remains off
2) Kill all AT&T running processes DEVELOPER OPTIONS | RUNNING SERVICES (get Smart Limits, Protect app, ATT yahoo mail, anything ATT)
every opportunity)
2A) Package disabler is awesome leave it running if you have it we don't need anything special for adb, besides adb.
3) Plug your phone into your PC via usb and get it connected.. (adb devices "unauthorized means you didn't say ok on phone in time unplug/replug try again")
3a) adb shell should log you into the phone and exit should get you back out (we don't want to be in the shell just testing the connection)
4.)Turn off "can make system changes" for AT&T apps. Application Manger | More | Change System Settings | More | Show System Apps -- Turn off anything AT&T (I also kill anything I can knox, samsung)
5) Backup/Restore the AT&T apps from a "backup tool", I used System App 2 let us know if others work "or excel".
Use an app archive tool such as System Panel 2 | apps | Archive to archive the AT&T apps then install them from that archive. You can do this to any you see!
(don't uninstall the app but feel free to install it repeatedly. e.g. install = uninstall as system app but uninstall = reinstall as system app
5 a) --- if doing step 8 you need a the com.ws.dm.apk copied to your computer so you can fire the install -rts on it
6) Repeat step 4
7) Fire the script from the first post on your phone (obviously you will have it connected to your pc, allowed the connection on your phone screen)
Basic commands I'm using, I prioritize com.ws.dm and then I run the commands on the rest of AT&T: (While it's running install/uninstall with the archive tool)
<This small snippet is a linux bash shell while the attached script is a Windows example
#NOTE TO LINUX USERS: take the rest of the script from the windows batch i think if you use linux you don't need step by step
#!/bin/bash
/opt/Android/Sdk/platform-tools/adb devices
/opt/Android/Sdk/platform-tools/adb wait-for-device
/opt/Android/Sdk/platform-tools/adb shell am kill-all
/opt/Android/Sdk/platform-tools/adb shell pm clear com.ws.dm
/opt/Android/Sdk/platform-tools/adb shell pm reset-permissions com.ws.dm
/opt/Android/Sdk/platform-tools/adb shell am set-inactive com.ws.dm true
/opt/Android/Sdk/platform-tools/adb shell pm revoke com.ws.dm android.permission.CHANGE_CONFIGURATION
/opt/Android/Sdk/platform-tools/adb shell pm revoke com.ws.dm android.permission.WRITE_SECURE_SETTINGS
/opt/Android/Sdk/platform-tools/adb shell pm revoke com.ws.dm android.permission.BATTERY_STATS
/opt/Android/Sdk/platform-tools/adb shell pm revoke com.ws.dm android.permission.INTERACT_ACROSS_USERS
/opt/Android/Sdk/platform-tools/adb shell pm revoke com.ws.dm android.permission.SET_PROCESS_LIMIT
/opt/Android/Sdk/platform-tools/adb shell am kill-all
/opt/Android/Sdk/platform-tools/adb shell am kill com.ws.dm
/opt/Android/Sdk/platform-tools/adb shell pm clear com.ws.dm
Note: I always did this right after a flash so I'm hoping that's not necessary
(I know I misused reset-permissions but it accepts it and I like it that way. Don't end process through your app archive tool it wakes up com.ws.dm)
Steps that may not work quite yet:
Note) I need to add to the how to for this to not say Invalid_URI bla bla but the way I do it is by flashing an invalid modem file, that's not acceptable since I don't think it's necessary yet:
8) issue the command adb shell pm install -rts com.ws.dm.apk.
8 a) refire the above snippet that is just an example for linux it is my knock out punch for after, but this step should fail if you make it work let me know please
**** Warning **** Disabling the wrong thing this way can cause the phone to crash so hard you need to flash firmware to restore it. Make sure you have backed up and that you have your firmware ready. Also be warned that in my experience devices can suddenly crash & need repair from doing this type of stuff!!
************************************************************ UPDATE: 02/21/2017 ************************************************************************
This exploit is powerful and from what I can tell you don't need to use adb at all to make it work. Create an archive of the app with your tool, I listed what I used above. Install from archive. "app crashes". There are 3 updaters that I kill: com.sec.fwservice + com.sec.android.soagent + com.ws.dm. Any apps I can disable in App Manger I disable normally instead. For example if you begin disabling Google play it will allow you to fully disable it. This was the biggest thing that made my batter life better. You can use the adb commands, script and etc also if you want to do anything and everything to avoid additional updates. Hopefully I'm right because I am done with updating.
Notice: 02-15-2017
It's reversible if you didn't realize this (tested in PK1 by me and one other). If you used the subtle approach just go into your backup app then uninstall. Only the extra installation is removed then the app will heal itself. If you used harsh method adb shell pm uninstall com.ws.dm = att updater. (do for all apps you miss dearly)
Package Disabler not working? OOPS, KLMSAgent is necessary use the above method to reverse our actions on com.samsung.klmsagent
Attached photos show that the AT&T Software updater is gone. I achieved that with a harsher script if I am going to release this method I want a more assured way then wrong modem file and 8 windows open at once.
I have to ask, if you see a snippet representing an efuse in the code, why not remove it and all references to it? If possible to do so, you'd be the first to crack an AT&T (and this would likely work for Verizon as well) GN5?
Edit - Also, the January sec. patch is beginning to roll out to users. I just got it today and I am usually behind most.
Update 02/21/2017 regarding efuse. I'v studied the binaries and processes hard and it is my belief the efuse will never trip if you aren't altering files on the system. We aren't doing that here and after weeks of testing my bit is still 0x0
**** Warning **** Disabling the wrong thing this way can cause the phone to crash so hard you need to flash firmware to restore it. Make sure you have backed up and that you have your firmware ready. Also be warned that in my experience devices can suddenly crash & need repair from doing this type of stuff!!
ajaxburger said:
I have to ask, if you see a snippet representing an efuse in the code, why not remove it and all references to it? If possible to do so, you'd be the first to crack an AT&T (and this would likely work for Verizon as well) GN5?
Edit - Also, the January sec. patch is beginning to roll out to users. I just got it today and I am usually behind most.
Click to expand...
Click to collapse
It's in the bootloader and they are friggin smart programmers and I am not that smart, yet. Probably ever.
I know you guys are on later firmware than me by now but I had to get off the marry go round at PK1. I had listed a work around to taking updates in Novemember but it was iffy at best. This is the first almost safe way I found, and now it's too late. That's the problem with the Note 5 we can't get back to a common point so we can all work toward freedom together.
edit: removed idea about flashing cm.bin, it's almost killing download mode.. we need to swim away little fishes
There is a new tool for disabling apps I posted on the first post
UPDATE 2 - 1/23/2021 - EMUI 11
UPDATE 1 - 9/17/2019
Hi all, got my EVR-TL00 from Aliexpress (Shenzhen JTWX Store) about a week ago. I was apprehensive initially, but after a few minor tweaks, including using Huawei default launcher (Drawer Home screen style + gestures) and uninstalling some apps... its a keeper!! I like it a lot! Here is how;
Requirements - adb, time (about a couple hours )
Do not uninstall Huawei Default launcher! give it a try, it's actually ok.... Here is my experience, I uninstalled it (via ADB) and installed Nova instead, I lost EMUI gestures and Nova is not optimized for full screen (hides notch with black bar... urgh!). I had to Factory reset phone to get Default launcher back.
Factory reset the phone (how to below) ... I should have done this as soon as I received the phone!!.. so Do it!
Follow below steps
1. Factory reset phone via Settings > Reset > Reset phone. (NOT Reset all settings) FYI Using hard keys (Vol up + down + power) did not work.
2. Uninstall all uninstallable Chinese bloatware. Settings > Apps > Apps (Uninstalled all uninstallable Chinese apps. UPDATE - 1/23/2021- you will need to click the 3 dots on top right click 'Show system processes' to unhide some apps)
3. Update google play store via Huawei app store UPDATE 9/17/2019: Playstore is no longer available in Huawei app store, download from APK mirror
3. Download google play store from APK mirror.
4. Add google accounts.
5. Install google apps from google play store
6. Give google apps necessary permissions.
7. Install latest patched google phone beta from here.
8. To enable "Ok google" and google feeds (replace HiBoard) on right swipe from home screen UPDATE 9/17/2019: Google feed no longer works even after removing HiBoard
Remove rest of unwanted Huawei apps using adb
- If you don't know what adb is read this.
- install adb (packaged with Android platform-tools) from here.
- Turn on USB debugging; Settings > System > About phone > Android Version (tap several times till you see 'You are now a developer') > Back to previous menu (System) > Developer options > USB debugging (enable) (login to Huawei ID, obtain ID if you don't have one)
- Connect phone to computer via USB and select File transfer option, If phone is not connecting to PC then you may need the Huawei drivers, install HiSuite (I immediately uninstalled it, the drivers did not uninstall.)
- FYI if the "adb devices" command still keeps returning nothing even after successful connection to PC, it is because USB debugging keeps turning off, to fix this turn on USB debugging when phone is connected; Connect phone via USB > select File transfer option > re-enable USB debugging (Settings > System > Developer options > USB debugging > pop should appear, ALLOW fingerprint.
- verify "adb devices" on cmd returns your device.
- Using adb remove bloatware as follows,
> adb devices [you should see your device connected]
Type the below commands, you should see "success" if uninstall was successful
adb shell pm uninstall -k --user 0 com.huawei.intelligent
adb shell pm uninstall -k --user 0 com.huawei.search
adb shell pm uninstall -k --user 0 com.huawei.vassistant
[Instructions below to list the apk's and if you want, download it to your PC for backup, incase things dont go as you expected and need to reinstall]
[FYI: you can type "adb shell" <PRESS ENTER> which will take you to the shell prompt "HWEVR : / $" then type the command "pm uninstall -k --user 0 <package>" to uninstall]
8. Enable Google Feeds on right swipe from home page: Home screen and wallpaper > Home screeen settings > Google feed (enable) [UPDATE 1/23/21 - No Longer works]
9. Restart to enable Google feeds when you right swipe at home screen. [UPDATE 1/23/21 - No Longer works]
10. Install Android Pie (Pixel) font... its beautiful.. find it here
UPDATED- 1/23/2021 - Old way to enable Google font no longer works
Download, unzip, place the .hwt file in Huawei/Themes on your internal card.
Go to Me in the theme app, select my text. And you will see it. Apply, done!
Go to Settings > Home screen & wallpaper > Themes > scroll to bottom to find Product Sans > Select > APPLY
Fix fonts Settings > Home screen & wallpaper > Icons > Select EMUI 11 default fonts > APPLY
------ other things I uninstalled with no impact --------
adb shell pm uninstall -k --user 0 com.huawei.wallet
adb shell pm uninstall -k --user 0 com.huawei.hidisk
adb shell pm uninstall -k --user 0 com.huawei.android.findmyphone
adb shell pm uninstall -k --user 0 com.huawei.phoneservice
adb shell pm uninstall -k --user 0 com.baidu.input_huawei
adb shell pm uninstall -k --user 0 com.android.calendar
adb shell pm uninstall -k --user 0 com.huawei.browser
adb shell pm uninstall -k --user 0 com.android.contacts
adb shell pm uninstall -k --user 0 com.huawei.himovie
How to list apks via adb... and download from phone to you PC just incase
// list all the packages plus the system path
adb shell pm list packages -f
// if you want the results in a file eg "huaweiapks.txt" instead of scrolling on screen do the following
adb shell pm list packages -f > huaweiapks.txt
// download the apk using "adb pull" from phone to your PC. USE THE PATH NAME for example
adb pull /system/priv-app/HwPhoneService/HwPhoneService.apk
// rename apk if necessary
Backup your phone to your PC
> adb backup -apk -all
additional OPTIONS
-f (specify to file to backup to. If no -f option is supplied then the data is written to "backup.ab" in the current directory.)
-apk | -noapk (enable/disable backup of the .apks themselves in the archive; the default is noapk.)
-shared | -noshared (enable/disable backup of the device's shared storage / SD card contents; the default is noshared.)
-all (means to back up all installed applications. This will include SD-Card backup)
-system | -nosystem (toggles whether -all automatically includes system applications; the default is to include system apps)
To restore
> adb restore C:\path\to\backup.ab
ohthree said:
Hi all, got my EVR-TL00 from Aliexpress (Shenzhen JTWX Store) about a week ago. I was apprehensive initially, but after a few minor tweaks, including using Huawei default launcher (Drawer Home screen style + gestures) and uninstalling some apps... its a keeper!! I like it a lot! Here is how;
Requirements - adb, time (about a couple hours )
Do not uninstall Huawei Default launcher! ... I uninstalled it (via ADB) and installed Nova instead, lost EMUI gestures and its not optimized for full screen (hides notch with black bar), so to get default launcher back had to..
Factory reset the phone ... I should have done this in the first place!.. so Do it!
Follow below steps
1. Factory reset via Settings > Reset > Reset phone. (NOT Reset all settings) FYI Using hard keys (Vol up + down + power) did not work.
2. Uninstall all uninstallable Chinese bloatware
3. Update google play store via Huawei app store
4. Add google accounts.
5. Install google apps from google play store
6. Give google apps necessary permissions.
7. Install google phone latest patched beta from here.
8. To enable "Ok google" and google feeds (replace HiBoard) on right swipe from home screen, remove unwanted apps using adb (for drivers install HiSuite... then immediately uninstall if you don't need it)
- Turn on USB debugging; Settings > System > About phone > Android Version (You are now a developer) > Back to previous (System) > Developer options > USB debugging (enable) (login to Huawei ID, obtain ID if you don't have one)
- FYI USB debugging kept turning off making "adb devices" always returned a blank, to fix this; Connect USB > select File transfer option > re-enable USB debugging (Settings > System > Developer options > USB debugging > pop should appear, ALLOW fingerprint.
- install adb (packaged with Android platform-tools) from here.
- Using cmd, use following commands to remove bloatware
> adb devices [you should see your device connected]
> adb shell
[takes you to another prompt with # type below commands if ok should see response "success"]
# pm uninstall -k --user 0 com.huawei.intelligent (hiboard)
# pm uninstall -k --user 0 com.huawei.search (hiSearch)
# pm uninstall -k --user 0 com.huawei.vassistant
8. Enable Google Feeds on right swipe from home page: Home screen and wallpaper > Home screeen settings > Google feed (enable)
9. Restart to enable Google feeds when you right swipe at home screen.
--------------- other things I uninstalled with no impact --------------------
# pm uninstall -k --user 0 com.huawei.wallet
# pm uninstall -k --user 0 com.huawei.hidisk
# pm uninstall -k --user 0 com.huawei.android.findmyphone
# pm uninstall -k --user 0 com.huawei.phoneservice
# pm uninstall -k --user 0 com.baidu.input_huawei
Screen shots
Click to expand...
Click to collapse
I have a TL version too, does your Google backup working? Mine shows waiting for backup for app data, sms and call history.
hattrickho said:
I have a TL version too, does your Google backup working? Mine shows waiting for backup for app data, sms and call history.
Click to expand...
Click to collapse
Same for me also... "waiting for backup"
Cannot get them to uninstall, can see device, adb running. When I type in adb shell it goes to
127 | HWEVR : / $
Type in command(s), but nothing happens?
shollywood said:
Cannot get them to uninstall, can see device, adb running. When I type in adb shell it goes to
127 | HWEVR : / $
Type in command(s), but nothing happens?
Click to expand...
Click to collapse
Your'e doing it right. If you type in adb shell then you'll get that. Then you just have to type in pm uninstall -k --user 0 xxxxxxx, you don't have to type in adb shell again.
ohthree said:
Same for me also... "waiting for backup"
Click to expand...
Click to collapse
that suck! not sure does the AL00 model has the same problem, I should have do some research before purchase this phone from aliexpress. I should have get the al00 version or pay a little more for a L29.
hopefully this TL00 can be root like AL00 .
ajsmsg78 said:
Your'e doing it right. If you type in adb shell then you'll get that. Then you just have to type in pm uninstall -k --user 0 xxxxxxx, you don't have to type in adb shell again.
Click to expand...
Click to collapse
Figured it out thanks for the help.
Sorry for the confusion... let me edit the #
ohthree said:
Hi all, got my EVR-TL00 from Aliexpress (Shenzhen JTWX Store) about a week ago. I was apprehensive initially, but after a few minor tweaks, including using Huawei default launcher (Drawer Home screen style + gestures) and uninstalling some apps... its a keeper!! I like it a lot! Here is how;
Requirements - adb, time (about a couple hours )
Do not uninstall Huawei Default launcher! give it a try, it's actually ok.... Here is my experience, I uninstalled it (via ADB) and installed Nova instead, I lost EMUI gestures and Nova is not optimized for full screen (hides notch with black bar... urgh!). I had to Factory reset phone to get Default launcher back.
Factory reset the phone ... I should have done this as soon as I received the phone!!.. so Do it!
Follow below steps
1. Factory reset phone via Settings > Reset > Reset phone. (NOT Reset all settings) FYI Using hard keys (Vol up + down + power) did not work.
2. Uninstall all uninstallable Chinese bloatware
3. Update google play store via Huawei app store
4. Add google accounts.
5. Install google apps from google play store
6. Give google apps necessary permissions.
7. Install latest patched google phone beta from here.
8. To enable "Ok google" and google feeds (replace HiBoard) on right swipe from home screen, remove unwanted apps using adb
- If you don't know what adb is read this.
- install adb (packaged with Android platform-tools) from here.
- Turn on USB debugging; Settings > System > About phone > Android Version (You are now a developer) > Back to previous (System) > Developer options > USB debugging (enable) (login to Huawei ID, obtain ID if you don't have one)
- Connect phone to computer via USB and select File transfer option, If phone is not connecting to PC then you may need the Huawei drivers, install HiSuite (I immediately uninstalled it, the drivers did not uninstall.)
- FYI if the "adb devices" command still keeps returning nothing even after successful connection to PC, it is because USB debugging keeps turning off, to fix this turn on USB debugging when phone is connected; Connect phone via USB > select File transfer option > re-enable USB debugging (Settings > System > Developer options > USB debugging > pop should appear, ALLOW fingerprint.
- verify "adb devices" on cmd returns your device.
- Using adb remove bloatware as follows,
> adb devices [you should see your device connected]
> adb shell
[takes you to another prompt with $ type below commands should see "success" if uninstall was successful ]
pm uninstall -k --user 0 com.huawei.intelligent
pm uninstall -k --user 0 com.huawei.search
pm uninstall -k --user 0 com.huawei.vassistant
[Instructions below to list the apk's and if you want, download it to your PC for backup, incase things dont go as you expected and need to reinstall]
[FYI: you can type directly "adb shell pm uninstall -k --user 0 com.huawei.intelligent" if you dont what to go into the shell prompt HWEVR : / $]
8. Enable Google Feeds on right swipe from home page: Home screen and wallpaper > Home screeen settings > Google feed (enable)
9. Restart to enable Google feeds when you right swipe at home screen.
------ other things I uninstalled with no impact --------
pm uninstall -k --user 0 com.huawei.wallet
pm uninstall -k --user 0 com.huawei.hidisk
pm uninstall -k --user 0 com.huawei.android.findmyphone
pm uninstall -k --user 0 com.huawei.phoneservice
pm uninstall -k --user 0 com.baidu.input_huawei
pm uninstall -k --user 0 com.huawei.browser
Screen shots
How to list apks via adb... and download from phone to you PC just incase
// list all the packages plus the system path
adb shell pm list packages -f
// download the apk using "adb pull" from phone to your PC. USE THE PATH NAME for example
adb pull /system/priv-app/HwPhoneService/HwPhoneService.apk
// rename apk if necessary
Click to expand...
Click to collapse
thanks for the detailed guideline, i have ordered from the same seller on Ali Express lets see what model# do i get. its scheduled for delivery by tomorrow.
after receiving the phone first thing i am going to do is perform factory reset and install playstore etc.
can you please give me a list of apps which i can remove to get rid of all Chinese bloatware.
does "ok google" working in sleep mode? or i have to wake up the phone. thanks
phablet_fan said:
thanks for the detailed guideline, i have ordered from the same seller on Ali Express lets see what model# do i get. its scheduled for delivery by tomorrow.
after receiving the phone first thing i am going to do is perform factory reset and install playstore etc.
can you please give me a list of apps which i can remove to get rid of all Chinese bloatware.
does "ok google" working in sleep mode? or i have to wake up the phone. thanks
Click to expand...
Click to collapse
I uninstalled all apps with Chinese names, I did not make a list. If it's uninstallable, it was going!... Just long press > uninstall. Then did the above.
Ok Google does not work on sleep mode yet, but I know Google is listening, because there is an almost permanent notification by the phone manager app alert "Google is using the microphone"
phablet_fan said:
thanks for the detailed guideline, i have ordered from the same seller on Ali Express lets see what model# do i get. its scheduled for delivery by tomorrow.
after receiving the phone first thing i am going to do is perform factory reset and install playstore etc.
can you please give me a list of apps which i can remove to get rid of all Chinese bloatware.
does "ok google" working in sleep mode? or i have to wake up the phone. thanks
Click to expand...
Click to collapse
if u order 6gb ram 128 , u will get TL, if you order 8gb 256, u will get AL .
@ohthree
Thanks for this great post.
I didn't know about the Google Phone app plus im happy to have a Google feed now and some Huawei bloat removed.
If you remove any more Huwaei system apps that don't break anything keep us posted.
Cheers
This version, tl00 (6/128) work on widevine L1 or L3? Can I play 1080p or HDR on Netflix?? Thanks
gazdaman. said:
@ohthree
Thanks for this great post.
I didn't know about the Google Phone app plus im happy to have a Google feed now and some Huawei bloat removed.
If you remove any more Huwaei system apps that don't break anything keep us posted.
Cheers
Click to expand...
Click to collapse
I removed com.huawei.himovie also.
Stiehler said:
This version, tl00 (6/128) work on widevine L1 or L3? Can I play 1080p or HDR on Netflix?? Thanks
Click to expand...
Click to collapse
L1.
Nertflix works in 1080p
ohthree said:
L1.
Nertflix works in 1080p
Click to expand...
Click to collapse
Hoooow? The Chinese come with L3, all reviews I read/saw said that... Can you post a pic of the DRMinfo? I'm really confused now
Stiehler said:
Hoooow? The Chinese come with L3, all reviews I read/saw said that... Can you post a pic of the DRMinfo? I'm really confused now
Click to expand...
Click to collapse
Netflix has just updated and it's full hd hdr ,, Chinese model I'm on
stestesteste said:
Netflix has just updated and it's full hd hdr ,, Chinese model I'm on
Click to expand...
Click to collapse
Its nice read that... Hahaha. Updated from the Google play?
Stiehler said:
Its nice read that... Hahaha. Updated from the Google play?
Click to expand...
Click to collapse
Yes Google play
stestesteste said:
Yes Google play
Click to expand...
Click to collapse
Oh, that's good. Someone can confirm this?
Hello, can I kindly ask for link to stock gallery3d apk 'cause after debloating by uninstall command in adb I removed it. I don't wanna do factory reset. Reinstalling command is not working but it's obvious since it is not disabled.
I did it myself. For everyone who don't know how to reinstall app after uninstalling it with adb.
Go to adb again. Type adb shell after that you need to enable deleted package typing pm enable com.coloros.gallery3d after that you need to install package typing package install-existing com.coloros.gallery3d (or pm install-existing com.coloros.gallery3d - I forgot what exactly I type). After that everything is working.
Were you able to uninstall game center and app market safely?
Hi,
I was wondering how I can stop my phone from updating to one UI 3.0? I forgot to disable automatic updates and so it downloaded the update and is saying I will be forced to install in 3 hours...are there certain services in adb I can disable? I tried wiping the cache partition thinking the update might be there, but when I rebooted the message was still there. Please help if you can, thank you.
If it's a carrier phone using a package blocker or ADB to disable the update apk -might- get it.
It's a good question.
I'm curious to see what others with more knowledge about this have to say.
On my AT&T 10+ it only updates on wifi unless you are near... an update tower, if so then bam!
It's important to keep the carrier's autoupdate apk disabled at all times. The carrier can also disable it on their end if you bug them enough.
The phone is unlocked(xac).
I tried installed adb but it didn't work(installed the sdk) but for some reason the platform tools folder would not show up. Going to factory reset and try disabling auto update from the start.
I succesfully disabled software updates using ADB. This is the full recipe I used:
- Conected phone via USB to PC (Windows 7 64 bits). Waited a while for drivers to install.
- Installed "minimal_adb_fastboot_v1.4.3_setup.exe" (from XDA-Developers).
- Enabled USB DEBUG under "Config / Developer Options" on phone.
- Connected phone to PC via USB.
- Opened a Command Prompt under the folder "C:\Program Files (x86)\Minimal ADB and Fastboot"
- Typed ADB SHELL, and the phone´s shell opened.
- Then I used the following commands:
to find packages:
pm list packages | grep soagent
pm list packages | grep wssyncmldm
to disable packages (USE THESE):
pm disable-user --user 0 com.sec.android.soagent
pm disable-user --user 0 com.wssyncmldm
to reenable later (IF YOU CHANGE YOUR MIND):
pm enable --user 0 com.sec.android.soagent
pm enable --user 0 com.wssyncmldm
By the way: after freezing update to Android 11 UI 3.0 for a week, I changed my mind and enabled it. Immediately downloaded the upgrade to 11 and installed. So far so good: not a single issue. I was worried for the "scoped storage" introduced by Android 11, but it was not a problem. I was able to read and write my SD Card as usual, use my "ES File Explorer" as usual, etc, etc. And I can also confirm that battery autonomy is at least the same as with Android 10.
Regards,
Pablo.
paggps said:
I succesfully disabled software updates using ADB. This is the full recipe I used:
- Conected phone via USB to PC (Windows 7 64 bits). Waited a while for drivers to install.
- Installed "minimal_adb_fastboot_v1.4.3_setup.exe" (from XDA-Developers).
- Enabled USB DEBUG under "Config / Developer Options" on phone.
- Connected phone to PC via USB.
- Opened a Command Prompt under the folder "C:\Program Files (x86)\Minimal ADB and Fastboot"
- Typed ADB SHELL, and the phone´s shell opened.
- Then I used the following commands:
to find packages:
pm list packages | grep soagent
pm list packages | grep wssyncmldm
to disable packages (USE THESE):
pm disable-user --user 0 com.sec.android.soagent
pm disable-user --user 0 com.wssyncmldm
to reenable later (IF YOU CHANGE YOUR MIND):
pm enable --user 0 com.sec.android.soagent
pm enable --user 0 com.wssyncmldm
By the way: after freezing update to Android 11 UI 3.0 for a week, I changed my mind and enabled it. Immediately downloaded the upgrade to 11 and installed. So far so good: not a single issue. I was worried for the "scoped storage" introduced by Android 11, but it was not a problem. I was able to read and write my SD Card as usual, use my "ES File Explorer" as usual, etc, etc. And I can also confirm that battery autonomy is at least the same as with Android 10.
Regards,
Pablo.
Click to expand...
Click to collapse
Hello. Thanks for the help. Does the phone have to be in a certain mode in order to use these commands? Like download mode or something? Because I installed adb fastboot and the terminal window came up just as you described. But when I try typing in "ADB SHELL", I get ":adb :shell unknown command SHELL" What am I doing wrong?
Edit: nevermind I figured it out. For anyone else struggling with getting adb to run, I had to run "adb devices" first and then it said "daemon not running" before starting the service and then I saw my phones serial number pop up. After that I was able to run the "adb shell" command and the prompt changed to "d2q: /$" there I put in the services listed by paggps and the auto update service was disabled instantly and the annoying update notification was gone!
Thanks you very much paggps! Maybe Android 11 is good, but I really like having system access to my android folder and some of the other changes just aren't to my taste. I'll probably update in time though once it's more stable. Thanks again! Have a great day!
It appears that there is no ‘wssyncmldm’ package on my Samsung A50 (Model: SM-A505U). Does anyone no of any equivalent commands to those shown above in post #5 by user ‘paggps’ that might disable the system updates on my device? I’m trying to stop the system updates because the system/security updates also update the boot loader version and I’d like to try and root this device some day.
a50:/ $ pm list packages | grep soagent
package:com.sec.android.soagent
a50:/ $ pm list packages | grep wssyncmldm
a50:/ $ *** So it appears that there is no 'wssyncmldm' package ***
a50:/ $ pm disable-user --user 0 com.sec.android.soagent
Package com.sec.android.soagent new state: disabled-user
a50:/ $ pm disable-user --user 0 com.wssyncmldm
Exception occurred while executing 'disable-user':
java.lang.IllegalArgumentException: Unknown package: com.wssyncmldm
at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:25552)
...
...
a50:/ $
Also here’s what I’ve already tried so far on my Samsung A50 (Model: SM-A505U) device using the User Interface Settings options that I thought might help some users on certain devices with certain system software versions to try and disable the system software updates:
To Enable the Developer Options:
Settings
About Phone
Software Information
Tap on 'Build number' quickly 7 times to Enable 'Developer Options' section of Settings
Enter your screen lock pattern or password
To Enable 'USB debugging' option which will allow ADB to connect to the device:
Settings
Developer Options
Debugging Section
USB debugging ENABLE
And to attempt to disable System Software updates via the User Interface (UI):
Settings
Developer Options
Auto update system DISABLE
Settings
Biometrics and Security
Scroll all the way to the bottom and Select ‘Other security settings’
Security policy updates DISABLE
Thanks for any help or suggestions.
tech_dude said:
It appears that there is no ‘wssyncmldm’ package on my Samsung A50 (Model: SM-A505U). Does anyone no of any equivalent commands to those shown above in post #5 by user ‘paggps’ that might disable the system updates on my device? I’m trying to stop the system updates because the system/security updates also update the boot loader version and I’d like to try and root this device some day.
a50:/ $ pm list packages | grep soagent
package:com.sec.android.soagent
a50:/ $ pm list packages | grep wssyncmldm
a50:/ $ *** So it appears that there is no 'wssyncmldm' package ***
a50:/ $ pm disable-user --user 0 com.sec.android.soagent
Package com.sec.android.soagent new state: disabled-user
a50:/ $ pm disable-user --user 0 com.wssyncmldm
Exception occurred while executing 'disable-user':
java.lang.IllegalArgumentException: Unknown package: com.wssyncmldm
at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:25552)
...
...
a50:/ $
Also here’s what I’ve already tried so far on my Samsung A50 (Model: SM-A505U) device using the User Interface Settings options that I thought might help some users on certain devices with certain system software versions to try and disable the system software updates:
To Enable the Developer Options:
Settings
About Phone
Software Information
Tap on Build number quickly 7 times
Enter your screen lock pattern or password
And to attempt to disable System Software updates:
Settings
Developer Options
Auto update system DISABLE
Settings
Biometrics and Security
Scroll all the way to the bottom and Select ‘Other security settings’
Security policy updates DISABLE
Thanks for any help or suggestions.
Click to expand...
Click to collapse
Try a search of the apps, "update".
It can have other names.
Or load Package Disabler as it will show there.
These are all the ones on my N10+/Android 10:
com.wssyncmldm
com.sec.android.systemupdate
com.sec.android.soagent
handled it thanks to these commands for my Samsung Galaxy S10E:
pm enable --user 0 com.sec.android.soagent
pm enable --user 0 com.wssyncmldm
thanks!
paggps said:
to find packages:
pm list packages | grep soagent
pm list packages | grep wssyncmldm
to disable packages (USE THESE):
pm disable-user --user 0 com.sec.android.soagent
pm disable-user --user 0 com.wssyncmldm
Click to expand...
Click to collapse
I just performed these steps on my and my-wife's S10+ phones (currently A11 January update). The second step caused the update in the notification bar to disappear. I only just did it, so maybe we'll get an update in the next few days, but it looks like this worked for me, thanks!
schwinn8 said:
I just performed these steps on my and my-wife's S10+ phones (currently A11 January update). The second step caused the update in the notification bar to disappear. I only just did it, so maybe we'll get an update in the next few days, but it looks like this worked for me, thanks!
Click to expand...
Click to collapse
It's DOA
Yay, a nasty app.
I put 6.2-7.7 -ns6277/3027 prerooted rom and magisk 20.4 on my rooted stick with twrp and in adb with computer took the 3 commanded updates and disable them and in magisk it says checking for updates and so does my stick when I go into about my stick in settings there it says checking for updates is it alright it hasn't updated I went into system bin and deleted ewriter and efuse-check.sh cause stick had them I would like to stay on 6.2-7.7 if could is there a way to fix checking for updates if can't I will do what you all suggest.
You may just ignore the 'magisk update' and if you like you can disable the update check in the magisk settings.
Thanks for getting back to me just don't want Amazon to update or take over and get root and twrp off my stick is there anything I can do to make sure they can never update my stick or ever get into it with their apps and take over
Budman333 said:
is there anything I can do to make sure they can never update my stick
Click to expand...
Click to collapse
This works fine:
Code:
adb shell
su
pm clear com.amazon.device.software.ota
pm disable com.amazon.device.software.ota
pm disable com.amazon.device.software.ota.override
pm disable com.amazon.tv.forcedotaupdater.v2
exit
exit
Thank you so much for helping me out with my questions just makes me feel more at ease