(사진 출처 : LG 공식 홈페이지)
ADB를 이용하여 LG V30 기본 어플 제거하기 (2018. 1. 19 실행 확인)
필요 준비물
1. ADB & Fastboot 프로그램.
2. LG 모바일 드라이버 혹은 삼성 모바일 드라이버.
3. 구글 플레이 스토어 앱 'App inspector'.
진행과정
1. ADB를 다운로드 한 후 설치한다.
1.1 설치시 Y/N 버튼이 나오면 모두 Y 버튼을 눌러 설치한다.
2. LG 모바일 드라이버를 다운로드 한 후 설치한다.
3. V30 모바일 기기 혹은 다른 모바일 기기의
옵션 → 소프트웨어 정보 → 개발자 옵션 열릴 때까지 빌드번호 누르기 → 개발자 옵션 → USB 디버깅 허용
4. 탐색기 최상위 드라이브가 아닌 아무 폴더로 들어가서
4.1 ' 마우스 우클릭 + SHIFT ' → '여기에 Powershell 열기' 를 순서대로 클릭
혹은
4.2 윈도우 10 이상일 경우 'Windows 검색' → Powershell 검색 후 실행
5. 미리 설치 해두었던 App inspector 를 열어 '설치 되어있는 프로그램 확인' 후 '패키지 명'을 확인한다.
6. 아래를 순서대로 입력한다. (필요한 과정을 취사선택해서 활용)
6.1 앱 추출
adb devices (이 후 '모바일명 device' 가 나와야 한다.)
adb shell pm list packages -f 를 입력 후 추출을 원하는 앱 주소를 확인한다.
(App inspector → source dir로 확인가능)
'package: /system/~~.apk' 또는
'package: /data/~~.apk' 빨간색 부분까지만 주소를 복사한다.
예시) /data/app/com.android.chrome-2--HXybSc8ZBDz9adUbjUA==/base.apk
adb pull /system or data/~~.apk
앱 추출을 하게 되면, 탐색기를 켜고 Powershell을 열었던 폴더 안에 어플이 추출이 된다.
기본 어플의 경우 이름이 같은 어플이 있을 수도 있어서, 어플의 이름을 바꾸진 말고 폴더 별로 따로 관리한다.
예시) adb pull /data/app/com.android.vending-nq2s3l5aqJ76neeZZUfWEg==/base.apk
6.2 앱 설치
adb devices (이 후 '모바일명 device' 가 나와야 한다.)
adb install -r ~~.apk
앱 설치를 할 때엔, 탐색기를 켜고 Powershell을 열었던 폴더 안에 설치할 어플이 있어야 한다.
예시) adb install -r base.apk
6.3 앱 제거
adb devices (이 후 '모바일명 device' 가 나와야 한다.)
adb shell pm list packages (설치된 패키지의 목록을 보여준다. App indicator로 대체.)
adb shell pm uninstall -k --user 0 패키지명 (package: ← 이거 뒷 부분 부터 입력해야 함.)
예시)
adb shell pm uninstall -k --user 0 com.facebook.appmanager
adb shell pm uninstall -k --user 0 com.facebook.system
adb shell pm uninstall -k --user 0 com.android.chrome
adb shell pm uninstall -k --user 0 com.android.vending
adb shell pm uninstall -k --user 0 com.google.android.youtube
adb shell pm uninstall -k --user 0 com.google.vr.vrcore
adb shell pm uninstall -k --user 0 com.google.android.gm
adb shell pm uninstall -k --user 0 com.google.android.youtube
adb shell pm uninstall -k --user 0 com.google.android.music
adb shell pm uninstall -k --user 0 com.google.android.videos
adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox
adb shell pm uninstall -k --user 0 com.google.android.marvin.talkback
adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon
adb shell pm uninstall -k --user 0 com.google.android.apps.maps
adb shell pm uninstall -k --user 0 com.google.android.apps.docs.editors.slides
adb shell pm uninstall -k --user 0 com.google.android.apps.docs.editors.sheets
adb shell pm uninstall -k --user 0 com.google.android.apps.docs.editors.docs
adb shell pm uninstall -k --user 0 com.kt.android.showtouch
adb shell pm uninstall -k --user 0 com.ktpns.pa
adb shell pm uninstall -k --user 0 com.skt.skaf.A000Z00040
adb shell pm uninstall -k --user 0 com.lge.lgworld
adb shell pm uninstall -k --user 0 com.lge.qhelp
adb shell pm uninstall -k --user 0 com.lge.wallpaper.lightwave
adb shell pm uninstall -k --user 0 com.lge.twophone
adb shell pm uninstall -k --user 0 com.lge.vrplayer
adb shell pm uninstall -k --user 0 com.lge.gallery.vr.wallpaper
adb shell pm uninstall -k --user 0 com.lge.tdmb
adb shell pm uninstall -k --user 0 com.lge.theme.highcontrast
* 위 어플들을 복구 하기 위해서는 공장 초기화를 하면 됨.
6.4 앱 복원 ( 출처 : https://www.clien.net/service/board/lecture/11116786 )
아래 파일을 모두 다운로드 받은 뒤, Powershell을 열 폴더에 넣고, 아래와 같이 순서대로 입력합니다.
마시멜로, 누가 버전 (android 6.0, 7.0 버전)
오레오 버전 (android 8.0)
adb push atool /data/local/tmp
adb push atool.jar /data/local/tmp
adb shell "chmod 755 /data/local/tmp/atool"
adb shell "/data/local/tmp/atool pm install-existing-package --user 0 패키지명"
7. Success가 나오면 모바일 디버깅을 해제하고, 디바이스를 재시작 한다.
참조
https://android.gadgethacks.com/how-to/remove-bloatware-your-lg-v30-no-root-needed-0180884/
https://www.clien.net/service/board/lecture/11116786
https://www.clien.net/service/board/lecture/11092791