Hovatek Forum MOBILE Android spflash can't backup userdata any more
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


spflash can't backup userdata any more

spflash can't backup userdata any more

ranran
ranran
ranran
Enthusiastic Member
9
06-09-2018, 08:14 AM
#1



Hello,

I always used sp flash for backup of mediatek devices.
Yet, with recent mediatek devices, seems that the backup stopped working any more... Sad
I think it is related to userdata partition size which got bigger. It is 12G.
and surpringly in scatter file it is only 0x40000000. (therefore I backed from spflash with 0x40000000 size)

Maybe if I backup the real size (12G !) and then also change the scatter file size to 0x348580000, it will start working ??

I don't have recovery, so I am not familiar with other options to backup userdata.

Thank you very much!
ranran
This post was last modified: 06-09-2018, 08:21 AM by ranran.
EMMANUS
EMMANUS
EMMANUS
Senior Member
1,677
06-09-2018, 08:36 AM
#2
Which version of sp ft are you making use of?
What phone are you trying to backup?
Does the backup read at all or does it just fail?
ranran
ranran
ranran
Enthusiastic Member
9
06-09-2018, 09:34 AM
#3
(06-09-2018, 08:36 AM)EMMANUS Which version of sp ft are you making use of?
What phone are you trying to backup?
Does the backup read at all or does it just fail?

Hi,

I use sp flash v5.1524
the phone is LEMFO lem6 (yet, I had the same issue with KW98).
The backup read and write works, but then after boot it hangs.

I don't have TWRP for lem6, so not sure how to backup data partitions.
I really need help on this, is there alternative to backup data ?

Thank you!!!!!!!!!!!!
ranran
EMMANUS
EMMANUS
EMMANUS
Senior Member
1,677
06-09-2018, 09:40 AM
#4
LEMFO lem6 as in the watch?
ranran
ranran
ranran
Enthusiastic Member
9
06-09-2018, 09:53 AM
#5



Yes,

lemfo lem6 smart watch.

I need any method to back up userdata.

Thanks for any idea!!!!
ranran
ranran
ranran
ranran
Enthusiastic Member
9
06-09-2018, 09:57 AM
#6
you can also find the scatter file here:
https://pastebin.com/raw/PfVP6tyJ

But actuall size is 12.9G, not 1G (0x40000000):

shell@w650_wgl:/ # cat /proc/emmc
partno:    start_sect   nr_sects  partition_name
emmc_p1: 00000400 00001800 "proinfo"
emmc_p2: 00001c00 00002800 "nvram"
emmc_p3: 00004400 00005000 "protect1"
emmc_p4: 00009400 00005000 "protect2"
emmc_p5: 0000e400 00000200 "seccfg"
emmc_p6: 0000e600 00000300 "lk"
emmc_p7: 0000e900 00008000 "boot"
emmc_p8: 00016900 00008000 "recovery"
emmc_p9: 0001e900 00000400 "para"
emmc_p10: 0001ed00 00004000 "logo"
emmc_p11: 00022d00 00005000 "expdb"
emmc_p12: 00027d00 00000800 "frp"
emmc_p13: 00028500 00010000 "nvdata"
emmc_p14: 00038500 00013b00 "metadata"
emmc_p15: 0004c000 00001000 "oemkeystore"
emmc_p16: 0004d000 00003000 "secro"
emmc_p17: 00050000 00004000 "keystore"
emmc_p18: 00054000 00200000 "system"
emmc_p19: 00254000 00080000 "cache"
emmc_p20: 002d4000 01a42c00 "userdata"
emmc_p21: 01d16c00 00008000 "flashinfo"
shell@w650_wgl:/ # df
Filesystem               Size     Used     Free   Blksize
/dev                   485.8M    64.0K   485.7M   4096
/sys/fs/cgroup         485.8M    12.0K   485.8M   4096
/mnt/asec              485.8M     0.0K   485.8M   4096
/mnt/obb               485.8M     0.0K   485.8M   4096
/storage/emulated      485.8M     0.0K   485.8M   4096
/system                991.9M   766.4M   225.5M   4096
/data                   12.9G   505.2M    12.4G   4096
/cache                 248.0M   160.0K   247.8M   4096
/protect_f               5.8M    56.0K     5.8M   4096
/protect_s               5.8M    52.0K     5.8M   4096
/nvdata                 27.5M   920.0K    26.6M   4096
/mnt/cd-rom              1.2M     1.2M     0.0K   2048
/sbin                  485.8M   500.0K   485.3M   4096
/sbin/.core/mirror/system   991.9M   766.4M   225.5M   4096
/sbin/.core/mirror/bin    12.9G   505.2M    12.4G   4096
/sbin/.core/img         59.0M    60.0K    58.9M   4096
/mnt/shell/emulated     12.9G   505.2M    12.4G   4096
/sbin/.core/db-0/magisk.db    12.9G   505.2M    12.4G   4096

I also tried to readback the actually size 12.9G, then change scatter file to have 12.9G for system.img, but on doing download I get
"PMT changef for the ROM; it must be downloaded"

Thanks,
ranran
This post was last modified: 06-09-2018, 10:02 AM by ranran.
ranran
ranran
ranran
Enthusiastic Member
9
06-09-2018, 12:42 PM
#7
Hi,

In readback this is what I entered for userdata:
user
start: 0x5a800000
length: 0x40000000


As you can see it's the same as written in scatter, yet there is no boot.
Please help, any alternative would help.

Thank you,
ranran
EMMANUS
EMMANUS
EMMANUS
Senior Member
1,677
06-09-2018, 02:06 PM
#8
What error does it give?
Is the watch on or off?
ranran
ranran
ranran
Enthusiastic Member
9
06-09-2018, 02:59 PM
#9
(06-09-2018, 02:06 PM)EMMANUS What error does it give?
Is the watch on or off?

It just keep waiting forever...
As if the userdata partition is corrupted.
I saw another person in this forum with same failure, but no resolve is given:
https://www.hovatek.com/forum/thread-10404.html


Thank you for any idea,
ranran
X3non
X3non
X3non
Recognized Contributor
22,062
06-09-2018, 05:24 PM
#10



(06-09-2018, 02:59 PM)ranran It just keep waiting forever...
As if the userdata partition is corrupted.
I saw another person in this forum with same failure, but no resolve is given:
https://www.hovatek.com/forum/thread-10404.html


Thank you for any idea,
ranran

that scatter file you're using doesn't seem like it was generated for your watch cause most of the info from the scatter file differ from the info you got from adb. 

since it runs mt6580, you could try dumping firmware in scatter file format using miracle box at https://www.hovatek.com/forum/thread-13347.html OR better still use wwr at https://www.hovatek.com/forum/thread-21970.html so you'll get a scatter file compatible with SP flash tool
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram