![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,191
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Onyx Boox Kon-Tiki 2 (Nova3 platform) - apps
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:
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! |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,191
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,316
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
|
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 |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,836
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
Uninstall is more drastic.
Just use: Code:
# pm disable <package> 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 To check what you did: Code:
# pm list packages -d 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 Last edited by Renate; 08-08-2021 at 10:15 AM. |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,191
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
@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. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,836
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
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. Last edited by Renate; 08-10-2021 at 07:59 AM. |
![]() |
![]() |
![]() |
#7 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 122
Karma: 43580
Join Date: Apr 2016
Device: KPW3, Kobo Clara HD, Onyx Boox Nova 2
|
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
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,836
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
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).
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,191
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
@Galunid @Renate
Thank you very much! I was exactly looking for options to backup partitions |
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,191
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
So far I found that there is an option to boot into EDL 9008 mode:
https://blog.tho.ms/hacks/2021/03/27...-note-air.html It works only if I can reach adb. I found instructions on how to enable adb from recovery: https://gist.github.com/varhub/7b955...fde2300fcfd0bd However, 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? |
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,836
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
|
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,191
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
@Renate
Thank you so much ![]() |
![]() |
![]() |
![]() |
#13 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,191
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
"pm disable <package>" doesn't work for me, it says. for example for org.chromium.chrome (Neo Browser):
Code:
255|Kon_Tiki2:/ $ pm disable "org.chromium.chrome" Security exception: Shell cannot change component state for org.chromium.chrome/null to 2 java.lang.SecurityException: Shell cannot change component state for org.chromium.chrome/null to 2 at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:21367) at com.android.server.pm.PackageManagerService.setApplicationEnabledSetting(PackageManagerService.java:21252) at com.android.server.pm.PackageManagerShellCommand.runSetEnabledSetting(PackageManagerShellCommand.java:1826) at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:212) at android.os.ShellCommand.exec(ShellCommand.java:104) at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21833) at android.os.Binder.shellCommand(Binder.java:881) at android.os.Binder.onTransact(Binder.java:765) at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4860) at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4048) at android.os.Binder.execTransactInternal(Binder.java:1021) at android.os.Binder.execTransact(Binder.java:994) Am I doing something wrong? I executed this command after "adb shell". I also have AFWall+ blocking everything, maybe that's the problem? adb connection is via USB |
![]() |
![]() |
![]() |
#14 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,836
Karma: 12000001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
|
![]() |
![]() |
![]() |
#15 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,191
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Oh, thanks!
I missed the Magisk notification when com.android.shell asked for permission. (Also I failed to notice "#" in your code suggestion). |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kon-tiki | mirage | Onyx Boox | 1 | 01-21-2021 10:30 PM |
Onyx Boox is releasing Note3 & Nova3 in China | winstonma | Onyx Boox | 23 | 10-20-2020 10:49 PM |
Apps for onyx boox | Narwhall85 | Onyx Boox | 0 | 05-08-2020 02:51 AM |
Removing Google apps on the Onyx Boox Note | Dav_25 | Onyx Boox | 4 | 04-29-2019 05:22 AM |
Readability/instapaper-like apps on onyx boox M92? | Acryde | Onyx Boox | 2 | 04-26-2012 10:05 AM |