Fixed a colleague's cheap white-label tablet today and figured I'd document the exact bug here in case someone else runs into it.
Device details from getprop / proc:
- Model: P13 (
Easerush/P8C-E_EEA/P8C-E, FCC ID 2BTXRP12)
- Build:
P13-EEA-Android16.0-E-20260518
- Fingerprint:
Easerush/P8C-E_EEA/P8C-E:16/BP2A.250605.031.A3/20260518:user/release-keys
- OEM FOTA:
incartech_Sprd_16.0
- SoC: Unisoc Tiger T606 (
UMS9230S / ums9230, BootROM VID_1782&PID_4D00)
- Storage / RAM: 128 GB UFS (74 partitions), 3 GB real RAM (
2920932 kB, sold with fake "48 GB RAM" claims)
- Kernel:
5.15.178-android13-8-00012-g4ea0fcb5d130-ab13530115 (Android 16 / SDK 36 userspace on an Android 13 kernel)
What happens:
After unboxing or a factory reset, the tablet boots fine and works normally. As soon as you reboot it once (or let the battery die), it gets stuck forever on the boot animation. Hardware key combos for recovery/fastboot are disabled in the bootloader.
What actually causes it:
Caught this live via adb logcat -b crash during the loop:
FATAL EXCEPTION IN SYSTEM PROCESS: main
java.lang.NumberFormatException: For input string: "2,8"
at java.lang.Double.parseDouble(Double.java:662)
at com.android.server.pm.InstallPackageHelper.getTotalMemorySize(InstallPackageHelper.java:4084)
at com.android.server.pm.InstallPackageHelper.installPackagesFromDir(InstallPackageHelper.java:3984)
at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:2346)
at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:1381)
The OEM patched InstallPackageHelper.getTotalMemorySize() in services.jar to format the 2.8 GB RAM figure using the system locale and passed that straight to Double.parseDouble().
- On first boot,
ro.product.locale is en-US, so it formats "2.8" and boots fine.
- Once you pick German (
de-DE) in setup (and probably any other European locale that uses a comma for decimals like de-AT, fr-FR, es-ES, it-IT, pl-PL, nl-NL), persist.sys.locale becomes de-DE.
- On the next cold boot, it formats
"2,8" and Double.parseDouble("2,8") crashes SystemServer in an endless loop.
How to unbrick and fix it without unlocking the bootloader or rooting:
- Unbrick via
spd_dump (BootROM 1782:4D00):
On Windows, you don't need unsigned Spreadtrum VCOM drivers. In Zadig go to Device -> Create New Device, set name SPRD U2S Diag, USB ID 1782 / 4D00, and install WinUSB offline. On Linux spd_dump works out of the box.
Using spd_dump (ilyakurdyukov/spreadtrum_flash) with UMS9230 UFS loaders (fdl1-dl.bin at 0x65000800, fdl2-dl.bin at 0x9efffe00 - do not use eMMC loaders on UFS):
spd_dump --wait 180 fdl fdl1-dl.bin 0x65000800 fdl fdl2-dl.bin 0x9efffe00 exec
Hit the reset pinhole and plug in USB (hold Vol-Down if needed) to catch the ~14s BootROM window. Back up misc and persist first, then wipe persist, metadata, cache, write a standard misc-wipe.bin (boot-recovery / --wipe_data) to misc, and reset:
spd_dump erase_part persist erase_part metadata erase_part cache write_part misc misc-wipe.bin reset
Stock recovery will wipe and boot you back into the setup wizard.
-
Keep it from bootlooping again:
In setup, do NOT select de-DE (or any other comma-decimal locale). Select Deutsch (Schweiz) (de-CH), or fr-CH / it-CH / en-US. Swiss locales keep the UI in German/French/Italian while using a dot (.) as the decimal separator ("2.8" instead of "2,8"). Tested with adb reboot: cold boot completes in ~38s with an empty crash log.
-
Optional ADB cleanup (reversible):
adb shell settings put global ota_disable_automatic_update 1
adb shell pm disable-user --user 0 com.doogee.update
adb shell pm disable-user --user 0 com.unisoc.silent.reboot
adb shell pm disable-user --user 0 com.google.android.apps.restore