OK, this is a weird problem Ixe2x80x99m encountering with an Android system Ixe2x80x99ve been using without problems for several years nowxe2x80xa6 and Ixe2x80x99m practically out of ideas on how to potentially fix it.
Letxe2x80x99s start at the beginning to describe the problem and what Ixe2x80x99ve been trying for the past 12 hours.
I woke up to my device this morning seeing that a recently installed app (via Google Play store) had crashed, and obviously a truckload of other apps and services also showed a hickup too.
I decided to simply uninstall it and reboot my phone (clearing the Dalvik cache while I was at it to avoid any hickups). The system booted as usual, but I noticed the app I just uninstalled is still there. Tried again, same result.
Knowing I have a 5-day old TWRP backup, I decided to restore that to get back to my old system state. Done, wiped Dalvik cache and rebooted. No success, the old system (with the app that shouldnxe2x80x99t be there) boots up. So, that TWRP backup wasnxe2x80x99t a solution.
Crying a silent tear, I decided to whipe all partitions via TWRP and simply reflash the ROM from scratch. Rebootedxe2x80xa6 and to my surprise the old system showed up (incl. wallpaper, settings, and that one weird app et al.)
Not wanting to give up, I even tried to install another ROM. TWRP confirms this succeeds. But rebooting again ignores every system change and boots that darn old OS (incl. settings and apps xe2x80x93 which shouldnxe2x80x99t exist due to a factory reset.)
Getting a bit upset by all this I said to myself xe2x80x93 OK, Ixe2x80x99ll wipe all partitions and reboot. Having no OS the device should not boot at all, confirming I got rid of whatever messed up my device. Booted into TWRP, whiped ALL partitions listed (including the external SD). I confirmed this worked by using the TWRP file manager to check on the contents of every partition available. They are all empty. I was convinced this was going to work and my device would hickup due to a missing OS. So, I rebootedxe2x80xa6 and whoops, the device again boots into the system (with that app, the old wallpaper, etc.) Logic says this canxe2x80x99t be xe2x80x93 since all partitions are empty.
Long story short: I meanwhile tried about every trick in my bag to get rid of the old OS, but no matter what I do xe2x80x93 I canxe2x80x99t. Whiping, flashing, etc. doesnxe2x80x99t seem to change the fact the phone happily boots into an OS that xe2x80x93 according to the TWRP file manager xe2x80x93 doesnxe2x80x99t exist.
Now, Ixe2x80x99m out of ideas on how to fix it. Itxe2x80x99s almost as if Ixe2x80x99m fighting some "hidden/stealth" partition which gets booted into. As said: this even happens when I whipe all partitions (
Internal Storage +
Micro SD card) followed by a
Format Data) and then reboot.
Meanwhile, Ixe2x80x99m starting to suspect the last app I installed via the Google Play store might have been malware. But that shouldnxe2x80x99t result in a bootable OS after a complete device whipe.
- Can it nevertheless be that my Android device boots into a "stealth" partition? If, how can I get rid of it when I canxe2x80x99t see it via TWRP?
- Is there any way to hard-format and repartition the internal SDs and recreate the partitions besides TWRPxe2x80x99s functionality? (In case therexe2x80x99s some problem with one of the partitions, which TWRP doesnxe2x80x99t actually whipe.)
- Or (which would really make my day) has anyone ever experienced something alike and has a solution which might help me fix this by getting rid of the old OS which the device seems to detect who-knows-where and happily boots up?
Since a comment asked for some version details et al:
- Device is a Samsung GT-P3100, aka
- TWRP 3.2.1-0
Rom that is (letxe2x80x99s just call it) xe2x80x9cnon-killablexe2x80x9d is SlimKat. To be more specific
Looking at things again and again it seems TWRP fails to correctly whipe one or more partitions (System, Data), even though there is not a single error message or warning when doing so.
I also tried erasing all partitions as well as the internal storage and flash
lineage-13.0-20180211-nightly-espresso3g-signed, which results in an error 7 (rebooting the same darn xe2x80x9cnon-killablexe2x80x9d SlimKat).
Same goes for trying to erase all partitions as well as the internal storage and flash
Slim_espresso3g-6.0.1-20180414-1959, which results in an error 7 (rebooting the same darn xe2x80x9cnon-killablexe2x80x9d SlimKat).
Also, it might be helpful to know I have another espresso3g device available, which doesnxe2x80x99t show any similar problems. On that other device, I can flash, whipe, backup, recover, and consequently successfully boot into the related ROM as expected.
Therefore, Ixe2x80x99m suspecting therexe2x80x99s something wrong with one or more partitions, which also prevents TWRP from correctly formatting in contrast to its claims. Even using the TWRP terminal and being crazy enough to try
rm -rf /data/* and
rm -rf /system/* seemed to work at first glimpse. Yet, the partition contents simply shows up on reboot as if nothing happened. Another indicator it might be some partition hickup is that xe2x80x93 any change to any setting or even starting any app in the booting xe2x80x9cnon-killablexe2x80x9d SlimKat results in the whole OS collapsing piece by piece until the device reboots into recovery.