首页 > 其他分享 >adb卸载LG G7 ThinQ预装应用

adb卸载LG G7 ThinQ预装应用

时间:2024-09-12 15:52:40浏览次数:3  
标签:G7 LG shell 预装 包名 google adb ACTIVITY com

 电脑adb连接手机

adb devices

adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
LMG710TMdddefdd8        device

查看要卸载应用的包名

手机中打开对应的应用且只保留其在运行

adb shell  dumpsys activity top | findstr ACTIVITY

adb shell  dumpsys activity top | findstr ACTIVITY
  ACTIVITY com.lge.launcher3/.LauncherExtension 44cd79b pid=23471
  ACTIVITY com.google.android.apps.maps/com.google.android.maps.MapsActivity 1954812 pid=25983

adb强制停止与指定包名关联的所有应用程序进程

adb shell am force-stop 包名

adb shell am force-stop com.google.android.apps.maps

通过ADB在Android设备上卸载指定的应用程序,并且尝试删除其数据和缓存目录

adb shell pm uninstall -k --user 0 包名

adb shell pm uninstall -k --user 0 com.google.android.apps.maps
Success

卸载完后重启手机,若无法正常进入系统恢复出厂设置

adb reboot

硬格模式(恢复出厂设置、进入[TWRP模式)‌:

按住音量下键+电源键不放,8秒左右强制重启,手机开机有LG G7白字放开电源键2秒再按回去不放,进入硬格模式,或者叫恢复工厂模式。如果你的机器装有TWRP,手机会进入TWRP模式。

标签:G7,LG,shell,预装,包名,google,adb,ACTIVITY,com
From: https://blog.csdn.net/xuejianqichi/article/details/142177040

相关文章

  • AdaBoost算法(AdbBoost Algorithm)—有监督学习方法、非概率模型、判别模型、非线性模型
    定义输入:训练数据集T={(x1......
  • Study Plan For Algorithms - Part28
    1.跳跃游戏题目链接:https://leetcode.cn/problems/jump-game/给定一个非负整数数组nums,你最初位于数组的第一个下标。数组中的每个元素代表你在该位置可以跳跃的最大长度。判断你是否能够到达最后一个下标,如果可以,返回true;否则,返回false。classSolution:defca......
  • Study Plan For Algorithms - Part29
    1.在排序数组中查找数字统计一个数字在排序数组中出现的次数。方法一:defsearch(nums,target):returnhelper(nums,target)-helper(nums,target-1)defhelper(nums,target):i=0j=len(nums)-1whilei<=j:m=(i+j)//......
  • 2024.9.10 LGJ Round
    C有\(n\)个点,一开始\(s\)点是白色,其余黑色,你可以花费\(p_i\)的代价使\(i\)点的颜色变成\(a_i\)点的颜色。若第\(i\)个点为白色,那么会有\(w_i\)的代价,问贡献减去代价最大是多少。\(n\le5000\)。不难发现这是一个外向基环树的形式。如果\(s\)不在环上,就是一个树......
  • LG AI 研究中心开源 EXAONEPath:通过285M Patch级预训练模型变革组织病理学图像分析,实
    基于LGAIResearch在AI语言模型方面的显著成就,特别是推出EXAONE3.0之后,EXAONEPath的开发代表了另一个重要的里程碑。这标志着EXAONE在数字病理学这一关键医学诊断领域的一次重大转型,通过解决全幻灯片图像(WSI)在病理学中的复杂挑战以及提高病理图像处理效率,EXAONEPath广泛应用......
  • COMP2230/COMP6230 Algorithms
    TheUniversityofNewcastle,AustraliaSchoolofInformationandPhysicalSciencesCOMP2230/COMP6230AlgorithmsAssignment1Marks100Weight15%IndividualSubmissionviaCanvas1LearningOutcomesThisassignmentwillrequirestudentsto:Applyspecific......
  • COMP3506/7505  Algorithms and Data Structures
    Assignment Two – 25%Algorithms and Data Structures – COMP3506/7505 – Semester 2, 2024Due: 3pm on Friday October 18th (week 12)SummaryThe main objective ofthis assignment is to extend your knowledge from assignment one ......
  • comp10002 Foundations of Algorithms
    SchoolofComputing andInformationSystemscomp10002 Foundations of AlgorithmsSemester 2,2024Assignment 1LearningOutcomesIn this assignment you will demonstrate your understanding of arrays,  strings, functions, and the typedeffac......
  • Study Plan For Algorithms - Part26
    1.礼物的最大价值在一个m*n的棋盘的每一格都放有一个礼物,每个礼物都有一定的价值(价值大于0)。你可以从棋盘的左上角开始拿格子里的礼物,并每次向右或者向下移动一格、直到到达棋盘的右下角。给定一个棋盘及其上面的礼物的价值,请计算你最多能拿到多少价值的礼物?方法一:de......
  • Study Plan For Algorithms - Part27
    1.最长不含重复字符的子字符串请从字符串中找出一个最长的不包含重复字符的子字符串,计算该最长子字符串的长度。方法一:deflengthOfLongestSubstring(s):n=len(s)max_len=0start=0char_index={}forendinrange(n):ifs[en......