Hi!
I recently bought Onyx Boox Kon-Tiki 2 and obtained Magisk root.
I wanted to remove most of the ONyx apps, because I would like to avoid those phoning home and tracking my activity like what books I am reading.
Can you please suggest me what apps can be deleted/frozen without harsh consequences (like bootloop)?
Here is the output from "adb shell" - "pm list packages -f" sorted alphabetically:
Spoiler Warning below
Code
/product/overlay/AccentColorBlack/AccentColorBlackOverlay.apk=com.android.theme.color.black
/product/overlay/AccentColorCinnamon/AccentColorCinnamonOverlay.apk=com.android.theme.color.cinnamon
/product/overlay/AccentColorGreen/AccentColorGreenOverlay.apk=com.android.theme.color.green
/product/overlay/AccentColorOcean/AccentColorOceanOverlay.apk=com.android.theme.color.ocean
/product/overlay/AccentColorOrchid/AccentColorOrchidOverlay.apk=com.android.theme.color.orchid
/product/overlay/AccentColorPurple/AccentColorPurpleOverlay.apk=com.android.theme.color.purple
/product/overlay/AccentColorSpace/AccentColorSpaceOverlay.apk=com.android.theme.color.space
/product/overlay/DisplayCutoutEmulationCorner/DisplayCutoutEmulationCornerOverlay.apk=com.android.internal.display.cutout.emulation.corner
/product/overlay/DisplayCutoutEmulationDouble/DisplayCutoutEmulationDoubleOverlay.apk=com.android.internal.display.cutout.emulation.double
/product/overlay/DisplayCutoutEmulationTall/DisplayCutoutEmulationTallOverlay.apk=com.android.internal.display.cutout.emulation.tall
/product/overlay/FontNotoSerifSource/FontNotoSerifSourceOverlay.apk=com.android.theme.font.notoserifsource
/product/overlay/IconPackCircularAndroid/IconPackCircularAndroidOverlay.apk=com.android.theme.icon_pack.circular.android
/product/overlay/IconPackCircularLauncher/IconPackCircularLauncherOverlay.apk=com.android.theme.icon_pack.circular.launcher
/product/overlay/IconPackCircularSettings/IconPackCircularSettingsOverlay.apk=com.android.theme.icon_pack.circular.settings
/product/overlay/IconPackCircularSystemUI/IconPackCircularSystemUIOverlay.apk=com.android.theme.icon_pack.circular.systemui
/product/overlay/IconPackCircularThemePicker/IconPackCircularThemePickerOverlay.apk=com.android.theme.icon_pack.circular.themepicker
/product/overlay/IconPackFilledAndroid/IconPackFilledAndroidOverlay.apk=com.android.theme.icon_pack.filled.android
/product/overlay/IconPackFilledLauncher/IconPackFilledLauncherOverlay.apk=com.android.theme.icon_pack.filled.launcher
/product/overlay/IconPackFilledSettings/IconPackFilledSettingsOverlay.apk=com.android.theme.icon_pack.filled.settings
/product/overlay/IconPackFilledSystemUI/IconPackFilledSystemUIOverlay.apk=com.android.theme.icon_pack.filled.systemui
/product/overlay/IconPackFilledThemePicker/IconPackFilledThemePickerOverlay.apk=com.android.theme.icon_pack.filled.themepicker
/product/overlay/IconPackRoundedAndroid/IconPackRoundedAndroidOverlay.apk=com.android.theme.icon_pack.rounded.android
/product/overlay/IconPackRoundedLauncher/IconPackRoundedLauncherOverlay.apk=com.android.theme.icon_pack.rounded.launcher
/product/overlay/IconPackRoundedSettings/IconPackRoundedSettingsOverlay.apk=com.android.theme.icon_pack.rounded.settings
/product/overlay/IconPackRoundedSystemUI/IconPackRoundedSystemUIOverlay.apk=com.android.theme.icon_pack.rounded.systemui
/product/overlay/IconShapeRoundedRect/IconShapeRoundedRectOverlay.apk=com.android.theme.icon.roundedrect
/product/overlay/IconShapeSquare/IconShapeSquareOverlay.apk=com.android.theme.icon.square
/product/overlay/IconShapeSquircle/IconShapeSquircleOverlay.apk=com.android.theme.icon.squircle
/product/overlay/IconShapeTeardrop/IconShapeTeardropOverlay.apk=com.android.theme.icon.teardrop
/product/overlay/NavigationBarMode2Button/NavigationBarMode2ButtonOverlay.apk=com.android.internal.systemui.navbar.twobutton
/product/overlay/NavigationBarMode3Button/NavigationBarMode3ButtonOverlay.apk=com.android.internal.systemui.navbar.threebutton
/product/overlay/NavigationBarModeGestural/NavigationBarModeGesturalOverlay.apk=com.android.internal.systemui.navbar.gestural
/product/overlay/NavigationBarModeGesturalExtraWideBack/NavigationBarModeGesturalOverlayExtraWideBack.apk=com.android.internal.systemui.navbar.gestural_extra_wide_back
/product/overlay/NavigationBarModeGesturalNarrowBack/NavigationBarModeGesturalOverlayNarrowBack.apk=com.android.internal.systemui.navbar.gestural_narrow_back
/product/overlay/NavigationBarModeGesturalWideBack/NavigationBarModeGesturalOverlayWideBack.apk=com.android.internal.systemui.navbar.gestural_wide_back
/system/app/AlReaderXPro/AlReaderXPro.apk=com.neverland.alreaderpro
/system/app/AntHalService/AntHalService.apk=com.dsi.ant.server
/system/app/BATestApp/BATestApp.apk=org.codeaurora.bluetooth.batestapp
/system/app/BasicDreams/BasicDreams.apk=com.android.dreams.basic
/system/app/Bluetooth/Bluetooth.apk=com.android.bluetooth
/system/app/BluetoothExt/BluetoothExt.apk=org.codeaurora.bluetooth
/system/app/BluetoothMidiService/BluetoothMidiService.apk=com.android.bluetoothmidiservice
/system/app/BookmarkProvider/BookmarkProvider.apk=com.android.bookmarkprovider
/system/app/BuiltInPrintService/BuiltInPrintService.apk=com.android.bips
/system/app/CertInstaller/CertInstaller.apk=com.android.certinstaller
/system/app/Clock-release/Clock-release.apk=com.simplemobiletools.clock
/system/app/CompanionDeviceManager/CompanionDeviceManager.apk=com.android.companiondevicemanager
/system/app/CtsShimPrebuilt/CtsShimPrebuilt.apk=com.android.cts.ctsshim
/system/app/EasterEgg/EasterEgg.apk=com.android.egg
/system/app/ExtShared/ExtShared.apk=android.ext.shared
/system/app/Gallery-release/Gallery-release.apk=com.simplemobiletools.gallery
/system/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk=com.google.android.syncadapters.calendar
/system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk=com.google.android.syncadapters.contacts
/system/app/HTMLViewer/HTMLViewer.apk=com.android.htmlviewer
/system/app/KeyChain/KeyChain.apk=com.android.keychain
/system/app/LiveWallpapersPicker/LiveWallpapersPicker.apk=com.android.wallpaper.livepicker
/system/app/Music-release/Music-release.apk=com.simplemobiletools.musicplayer
/system/app/NeoBrowser/NeoBrowser.apk=org.chromium.chrome
/system/app/OnyxIME-release/OnyxIME-release.apk=com.onyx.pinyinime
/system/app/OsuLogin/OsuLogin.apk=com.android.hotspot2
/system/app/PacProcessor/PacProcessor.apk=com.android.pacprocessor
/system/app/PlatformCaptivePortalLogin/PlatformCaptivePortalLogin.apk=com.android.captiveportallogin
/system/app/PrintRecommendationService/PrintRecommendationService.apk=com.android.printservice.recommendation
/system/app/PrintSpooler/PrintSpooler.apk=com.android.printspooler
/system/app/ProductionTest-release/ProductionTest-release.apk=com.onyx.android.production.test
/system/app/Protips/Protips.apk=com.android.protips
/system/app/SecureElement/SecureElement.apk=com.android.se
/system/app/Stk/Stk.apk=com.android.stk
/system/app/Traceur/Traceur.apk=com.android.traceur
/system/app/TsCalibration/TsCalibration.apk=com.onyx.android.tscalibration
/system/app/VoiceRecorder-release/VoiceRecorder-release.apk=com.simplemobiletools.voicerecorder
/system/app/WAPPushManager/WAPPushManager.apk=com.android.smspush
/system/app/WallpaperBackup/WallpaperBackup.apk=com.android.wallpaperbackup
/system/app/app-market-release/app-market-release.apk=com.onyx.appmarket
/system/app/calculator-release/calculator-release.apk=com.onyx.calculator
/system/app/dict-release/dict-release.apk=com.onyx.dict
/system/app/floatingbutton-release/floatingbutton-release.apk=com.onyx.floatingbutton
/system/app/kmail-release/kmail-release.apk=com.onyx.mail
/system/app/knote2-release/knote2-release.apk=com.onyx.android.note
/system/app/kreader2-release/kreader2-release.apk=com.onyx.kreader
/system/framework/framework-res.apk=android
/system/priv-app/BackupRestoreConfirmation/BackupRestoreConfirmation.apk=com.android.backupconfirm
/system/priv-app/BlockedNumberProvider/BlockedNumberProvider.apk=com.android.providers.blockednumber
/system/priv-app/CalendarProvider/CalendarProvider.apk=com.android.providers.calendar
/system/priv-app/CellBroadcastReceiver/CellBroadcastReceiver.apk=com.android.cellbroadcastreceiver
/system/priv-app/ContactsProvider/ContactsProvider.apk=com.android.providers.contacts
/system/priv-app/CtsShimPrivPrebuilt/CtsShimPrivPrebuilt.apk=com.android.cts.priv.ctsshim
/system/priv-app/DocumentsUI/DocumentsUI.apk=com.android.documentsui
/system/priv-app/DownloadProvider/DownloadProvider.apk=com.android.providers.downloads
/system/priv-app/DownloadProviderUi/DownloadProviderUi.apk=com.android.providers.downloads.ui
/system/priv-app/DynamicSystemInstallationService/DynamicSystemInstallationService.apk=com.android.dynsystem
/system/priv-app/ExtServices/ExtServices.apk=android.ext.services
/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk=com.android.externalstorage
/system/priv-app/FusedLocation/FusedLocation.apk=com.android.location.fused
/system/priv-app/GmsCoreSetupPrebuilt/GmsCoreSetupPrebuilt.apk=com.google.android.gms.setup
/system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk=com.google.android.partnersetup
/system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk=com.google.android.gsf
/system/priv-app/GoogleTTS/GoogleTTS.apk=com.google.android.tts
/system/priv-app/InProcessNetworkStack/InProcessNetworkStack.apk=com.android.networkstack.inprocess
/system/priv-app/InputDevices/InputDevices.apk=com.android.inputdevices
/system/priv-app/LocalTransport/LocalTransport.apk=com.android.localtransport
/system/priv-app/ManagedProvisioning/ManagedProvisioning.apk=com.android.managedprovisioning
/system/priv-app/MediaProvider/MediaProvider.apk=com.android.providers.media
/system/priv-app/MtpDocumentsProvider/MtpDocumentsProvider.apk=com.android.mtp
/system/priv-app/OnyxOtaService/OnyxOtaService.apk=com.onyx.android.onyxotaservice
/system/priv-app/PackageInstaller/PackageInstaller.apk=com.android.packageinstaller
/system/priv-app/PermissionController/PermissionController.apk=com.android.permissioncontroller
/system/priv-app/Phonesky/Phonesky.apk=com.android.vending
/system/priv-app/PlatformNetworkPermissionConfig/PlatformNetworkPermissionConfig.apk=com.android.networkstack.permissionconfig
/system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk=com.google.android.gms
/system/priv-app/ProxyHandler/ProxyHandler.apk=com.android.proxyhandler
/system/priv-app/SettingsProvider/SettingsProvider.apk=com.android.providers.settings
/system/priv-app/SharedStorageBackup/SharedStorageBackup.apk=com.android.sharedstoragebackup
/system/priv-app/Shell/Shell.apk=com.android.shell
/system/priv-app/StatementService/StatementService.apk=com.android.statementservice
/system/priv-app/SystemUIWithLegacyRecents/SystemUIWithLegacyRecents.apk=com.android.systemui
/system/priv-app/TelephonyProvider/TelephonyProvider.apk=com.android.providers.telephony
/system/priv-app/UserDictionaryProvider/UserDictionaryProvider.apk=com.android.providers.userdictionary
/system/priv-app/VpnDialogs/VpnDialogs.apk=com.android.vpndialogs
/system/priv-app/WfdService/WfdService.apk=com.qualcomm.wfd.service
/system/priv-app/com.qualcomm.location/com.qualcomm.location.apk=com.qualcomm.location
/system/priv-app/kcb-release/kcb-release.apk=com.onyx
/system/priv-app/xtra_t_app/xtra_t_app.apk=com.qualcomm.location.XT
/system/product/app/ConfURIDialer/ConfURIDialer.apk=com.qti.confuridialer
/system/product/app/Email/Email.apk=com.android.email
/system/product/app/ModuleMetadata/ModuleMetadata.apk=com.android.modulemetadata
/system/product/app/PhotoTable/PhotoTable.apk=com.android.dreams.phototable
/system/product/app/PowerOffAlarm/PowerOffAlarm.apk=com.qualcomm.qti.poweroffalarm
/system/product/app/QuickSearchBox/QuickSearchBox.apk=com.android.quicksearchbox
/system/product/app/colorservice/colorservice.apk=com.qti.service.colorservice
/system/product/app/com.qualcomm.qti.services.secureui/com.qualcomm.qti.services.secureui.apk=com.qualcomm.qti.services.secureui
/system/product/app/imssettings/imssettings.apk=com.qualcomm.qti.ims
/system/product/app/uceShimService/uceShimService.apk=com.qualcomm.qti.uceShimService
/system/product/app/webview/webview.apk=com.google.android.webview
/system/product/priv-app/OneTimeInitializer/OneTimeInitializer.apk=com.android.onetimeinitializer
/system/product/priv-app/Provision/Provision.apk=com.android.provision
/system/product/priv-app/Settings/Settings.apk=com.android.settings
/system/product/priv-app/SettingsIntelligence/SettingsIntelligence.apk=com.android.settings.intelligence
/system/product/priv-app/StorageManager/StorageManager.apk=com.android.storagemanager
/system/product/priv-app/ims/ims.apk=org.codeaurora.ims
/system/product/priv-app/seccamservice/seccamservice.apk=com.qualcomm.qti.seccamservice
/vendor/app/CACertService/CACertService.apk=vendor.qti.hardware.cacert.server
/vendor/app/IWlanService/IWlanService.apk=vendor.qti.iwlan
/vendor/app/TimeService/TimeService.apk=com.qualcomm.timeservice
/vendor/app/TrustZoneAccessService/TrustZoneAccessService.apk=com.qualcomm.qti.qms.service.trustzoneaccess
/vendor/overlay/OptInAppOverlay/OptInAppOverlay.apk=com.qualcomm.qti.optinoverlay
As an alternative I am going to try AFWall+ alongw with Adguard, but I am not sure I will be able to prevent all suspicous traffic to Onyx servers.
Thanks!
Also, is there a way to backup and be able to restore the /system partition?
I wanted to manually check the apps one by one, but if something goes wrong (like it once did when I removed 15 apps at once xD), I have to recover stock boot.img and apply current update.upx and start over.
Since it is not easy to repurpose the disk space on /system partition for any other use I would suggest the safe way:
Code
adb shell pm uninstall --user 0 org.package.name
This command should prune all /data/data/org.package.name files and remove the app from your launcher/list of installed apps. It does that without affecting the /system partition or any of the overlays used by vendors/oem, so it is safe to uninstall apps as long as your device has a working recovery mode that lets you do a factory reset.
Uninstall is more drastic.
Just use:
Code
Because you can undo that in a second with enable.
For me, this does 90% of what I need done:
Code
pm disable com.android.email
pm disable com.android.launcher
pm disable com.android.printspooler
pm disable com.android.vending
pm disable com.google.android.gms
pm disable com.google.android.gsf
pm disable com.onyx
pm disable com.onyx.android.ksync
pm disable com.onyx.android.onyxotaservice
pm disable com.onyx.floatingbutton
pm disable com.onyx.kreader
pm disable com.onyx.mail
Take your pick what to remove.
To check what you did:
Code
Removing com.onyx will change where your sleep images are:
Code
/data/local/assets/images/shutdown.png
/data/local/assets/images/standby-1.png
/data/local/assets/images/standby-2.png
/data/local/assets/images/standby-3.png
@pazos @Renate
Thank you very much for your detailed responses!
com.onyx is the package named "Android shell" working as launcher right?
So I will need to use another launcher in order to be able to finish boot? I remember those dreadful days with Nook Simple Touch when I used wrong launcher and it couldn't finish booting (and I mistakenly thought it was a boot loop).
How about the lock screen? Is it provided by Onyx?
I try Nova launcher and it works very good. I noticed that the widget for Clock app does not update once put on the home screen. Maybe I should replace it with stock Android clock, because obviously at least the icon of this Clock app was changed to e-ink one by Onyx.
Yes, you will need a launcher.
Since I use my Poke3 offline and only for reading and music my launcher does not have to be that sophisticated.
Edit: Now you know why I was awarded the prestigious "Most Amazing Freaking Icon Designer" award five years in a row.
You can use dd to create image of the partition, google for how to dump android partitions. You need to be careful with dumping /system, so that you don't accidentally run out of space. I dumped all partitions on my Nova2, except the storage one
You can also use EDL mode (which is a bit more complicated) to directly dump a partition without making a copy to /sdcard or something (which could run into space problems).
@Galunid @Renate
Thank you very much!
I was exactly looking for options to backup partitions
So far I found that there is an option to boot into EDL 9008 mode:
https://blog.tho.ms/hacks/2021/03/27/hacking-onyx-boox-note-air.htmlIt works only if I can reach adb.
I found instructions on how to enable adb from recovery:
https://gist.github.com/varhub/7b9555cdd1e5ad785ffde2300fcfd0bdHowever, if I understood correctly, Magisk replaces the recovery. So it turns out I cannot enter recovery with rooted boot.img? Or am I missing something?