Search This thread

deadmanspeaks

Member
Mar 2, 2021
32
0
Hello,
So my phone was stuck in bootloop and thus, I created a backup in my SD card. The files are shown as 13 files of 2GB size each with an extension ".backup" Anyone has any idea on how to combine these files and access the data inside on PC. The data is very important. Thank you!
 

sd_shadow

Recognized Contributor
  • Sep 21, 2011
    17,519
    1
    8,138
    South Dakota
    goo.gl
    Moto X4
    Moto G7 Power
    Hello,
    So my phone was stuck in bootloop and thus, I created a backup in my SD card. The files are shown as 13 files of 2GB size each with an extension ".backup" Anyone has any idea on how to combine these files and access the data inside on PC. The data is very important. Thank you!
    Crosspost from https://forum.xda-developers.com/t/moto-e4-plus-restart-loop.4241427/
    I've had numerous Moto devices and have never seen any backup options in stock recovery., so I haven't any idea what format these are using.
     

    aIecxs

    Senior Member
  • Feb 17, 2016
    1,062
    329
    readback stock recovery from SP Flash Tool and flash TWRP. also readback metadata partition (crypto footer). do not unlock bootloader because encryption is bonded to bootloader state. if you are lucky TWRP will work on locked bootloader. TWRP will decrypt your data so you can backup everything
     

    deadmanspeaks

    Member
    Mar 2, 2021
    32
    0
    readback stock recovery from SP Flash Tool and flash TWRP. also readback metadata partition (crypto footer). do not unlock bootloader because encryption is bonded to bootloader state. if you are lucky TWRP will work on locked bootloader. TWRP will decrypt your data so you can backup everything
    How to do this? USB debugging and OEM are not ON in my phone. I saw some tutorial on YouTube, but it requires USB debugging.

    Can't I use those userdata_*****.backup files?
     

    aIecxs

    Senior Member
  • Feb 17, 2016
    1,062
    329
    wait, you did factory reset already? in that case crypto footer is reset too. backup is encrypted and therefore useless unless crypto-footer is restored.

    you said you restored backup, are you sure? does the phone boot into lock screen like before and is pattern still the same?
     
    • Like
    Reactions: sd_shadow

    deadmanspeaks

    Member
    Mar 2, 2021
    32
    0
    wait, you did factory reset already? in that case crypto footer is reset too. backup is encrypted and therefore useless unless crypto-footer is restored.

    you said you restored backup, are you sure? does the phone boot into lock screen like before and is pattern still the same?
    Yes, the password is still the same. It's like the phone is again in the same condition with the same issue of boot loop.

    I saw some tutorial on SP flash tool and what I did was:
    1. Downloaded the SP flash tool
    2. Downloaded TWRP recovery specific to my phone
    3. Opened flash tool, went to download, clicked on scatter loading, selected the file and then clicked on download and connected my switched off device to the PC via USB
    But, nothing happened after that.
    My phone started charging, but nothing else happened.
    I thought drivers weren't installed, so I went Driver Autoinstaller folders (there were 2 of them) and clicked on Driver Install, but it showed me this
    Driver.JPG

    Then I clicked on finish and it showed this
    Driver 2.JPG

    When I went to the second folder, it showed me this
    Driver 3.JPG



    Is it because of this, that my device is not detected by this flash tool, and if yes, what can I do?
     

    aIecxs

    Senior Member
  • Feb 17, 2016
    1,062
    329
    Yes it's driver issue. Disable driver signature enforcement and reboot. open device manager, connect phone and immediately select yellow triangle. install inf manually with let me pick option

    you should not flash TWRP without a backup of stock recovery. Do a readback first. Also it is important the scatter file is matching your current partition layout. therefore you should analyze the result. if you are able to extract ramdisk with AIK then you have successfully dumped stock recovery (and can proceed with next step flashing twrp)
     
    Last edited:

    deadmanspeaks

    Member
    Mar 2, 2021
    32
    0
    Yes it's driver issue. Disable driver signature enforcement and reboot. open device manager, connect phone and immediately select yellow triangle. install inf manually with let me pick option

    you should not flash TWRP without a backup of stock recovery. Do a readback first. Also it is important the scatter file is matching your current partition layout. therefore you should analyze the result. if you are able to extract ramdisk with osm0sis' AIK then you have successfully dumped stock recovery (and can proceed with next step flashing twrp)
    Understood before the readback thing. What is readback? I saw the tab in flash tools, but didn't get what it was? Can you please tell how to do that? (sorry for irritating, as I said I am a noob 😅)
    And how to analyse the result part? I didn't get the "extract ramdisk with osmosis AIK"
    Is there any tutorial video that you know of, if yes, kindly send the link please coz I don't understand these terms.
    And thanks a ton for this!!!
     

    aIecxs

    Senior Member
  • Feb 17, 2016
    1,062
    329
    on readback tab delete all entries. add one entry for EMMC_USER. give meaningful file name recovery.img. enter length and start address in hex (refer to scatter file). start readback and connect phone.

    Disable Antivirus program and download AIK. copy recovery.img into AIK directory and execute unpackimg.bat. enable Antivirus when done
     

    deadmanspeaks

    Member
    Mar 2, 2021
    32
    0
    on readback tab delete all entries. add one entry for EMMC_USER. give meaningful file name recovery.img. enter length and start address in hex (refer to scatter file). start readback and connect phone.

    Disable Antivirus program and download AIK. copy recovery.img into AIK directory and execute unpackimg.bat. enable Antivirus when done
    Okay, thank a ton!
    I'll do all of this and get back to you.
     

    deadmanspeaks

    Member
    Mar 2, 2021
    32
    0
    on readback tab delete all entries. add one entry for EMMC_USER. give meaningful file name recovery.img. enter length and start address in hex (refer to scatter file). start readback and connect phone.

    Disable Antivirus program and download AIK. copy recovery.img into AIK directory and execute unpackimg.bat. enable Antivirus when done
    So, what length and start address am I supposed to enter in hex?
    EMMC.JPG



    And you shared the link AIK, in that there are so many options, which one do I have to select?
     

    Attachments

    • MT6752_Android_scatter.txt
      8.8 KB · Views: 3
    Last edited:

    aIecxs

    Senior Member
  • Feb 17, 2016
    1,062
    329
    So, what length and start address am I supposed to enter in hex?
    refer to scatter file

    nicklaus.jpg

    check your model name owens (XT1774 XT1775 XT1776) or nicklaus (XT1771 XT1772 XT1773)

    download scatter file matching to your device model
    https://motostockrom.com/motorola-moto-e4-plus-xt1770
    https://motostockrom.com/motorola-moto-e4-plus-xt1771-dual-sim
    https://motostockrom.com/motorola-moto-e4-plus-xt1772
    https://motostockrom.com/motorola-moto-e4-plus-xt1773
    https://motostockrom.com/motorola-moto-e4-plus-xt1775

    And you shared the link AIK, in that there are so many options, which one do I have to select?
    Android.Image.Kitchen.v3.7-Win32.zip

    Code:
    S_BROM_CMD_STARTCMD_FAIL (2005)
    [BROM] can not pass bootrom start command! Possibly target power up too early.
    What can I do now?
    pretty much self explaining.

    why flash boot.img? are you sure that scatter matches your partition layout (you will erase wrong area if not)!?
     
    Last edited:
    • Like
    Reactions: sd_shadow

    deadmanspeaks

    Member
    Mar 2, 2021
    32
    0
    refer to scatter file

    View attachment 5281905
    check your model name owens (XT1774 XT1775 XT1776) or nicklaus (XT1771 XT1772 XT1773)

    download scatter file matching to your device model
    https://motostockrom.com/motorola-moto-e4-plus-xt1770
    https://motostockrom.com/motorola-moto-e4-plus-xt1771-dual-sim
    https://motostockrom.com/motorola-moto-e4-plus-xt1772
    https://motostockrom.com/motorola-moto-e4-plus-xt1773
    https://motostockrom.com/motorola-moto-e4-plus-xt1775


    Android.Image.Kitchen.v3.7-Win32.zip

    Code:
    S_BROM_CMD_STARTCMD_FAIL (2005)
    [BROM] can not pass bootrom start command! Possibly target power up too early.

    pretty much self explaining.

    why flash boot.img? are you sure that scatter matches your partition layout (you will erase wrong area if not)!?
    Thanks a lot here it is written nma26.42-169/300 and my phone is xt1770. The link you gave shows the file can't be downloaded, can you please give any other link. I googled the same, it gave me NMA26.42-169 INDIA something but those files are paid :(
     
    Last edited:

    aIecxs

    Senior Member
  • Feb 17, 2016
    1,062
    329
    tested all links. must be something about your country. you should get something like
    Couldn't preview file. You may be offline or with limited connectivity.
    click on -> Download
    Google Drive can't scan this file for viruses
    click on -> Download anyway
     

    Attachments

    • MT6737M_Android_scatter.txt
      12.4 KB · Views: 7

    deadmanspeaks

    Member
    Mar 2, 2021
    32
    0
    tested all links. must be something about your country. you should get something like
    Couldn't preview file. You may be offline or with limited connectivity.
    click on -> Download
    Google Drive can't scan this file for viruses
    click on -> Download anyway
    Yes, I did that, after that only it shows this.

    I am about to cry, it's been 14 months trying to get those files. Every time, I get too close and then bam! back to square one. Can't access those userdata***.backup files, can't access the phone, as soon as it starts, it gets stuck in a reboot loop, can't flash TWRP because not able to download the file. You have no idea how painful this is. Still thanks a lot, you helped me a lot, but I guess it's a lost cause now. Earlier lost the person, now lost the memories. Thanks anyways :)
     
    Last edited:

    Top Liked Posts

    • There are no posts matching your filters.
    • 2
      again, please don't use wrong scatter file, you will seriously brick your device. use that one from post #18 for nicklaus (see attachment). do a readback of stock recovery first. unpack ramdisk with AIK. this way you know if scatter file matches. only then, flash TWRP. power off device completely and make sure preloader drivers installed (should look like this in device manager)

      after successful flashing, press and keep hold Volume Up Button while disconnecting + reconnecting usb cable to PC, keep holding until you see TWRP logo

      (in case TWRP does not boot you should see something like red state - failed boot. in that case TWRP is a dead end, and your only chance left is modifying boot.img to get adb access. at this point it might necessary to flash stock recovery backup from readback back to device)
      1
      wait, you did factory reset already? in that case crypto footer is reset too. backup is encrypted and therefore useless unless crypto-footer is restored.

      you said you restored backup, are you sure? does the phone boot into lock screen like before and is pattern still the same?
      1
      So, what length and start address am I supposed to enter in hex?
      refer to scatter file

      nicklaus.jpg

      check your model name owens (XT1774 XT1775 XT1776) or nicklaus (XT1771 XT1772 XT1773)

      download scatter file matching to your device model
      https://motostockrom.com/motorola-moto-e4-plus-xt1770
      https://motostockrom.com/motorola-moto-e4-plus-xt1771-dual-sim
      https://motostockrom.com/motorola-moto-e4-plus-xt1772
      https://motostockrom.com/motorola-moto-e4-plus-xt1773
      https://motostockrom.com/motorola-moto-e4-plus-xt1775

      And you shared the link AIK, in that there are so many options, which one do I have to select?
      Android.Image.Kitchen.v3.7-Win32.zip

      Code:
      S_BROM_CMD_STARTCMD_FAIL (2005)
      [BROM] can not pass bootrom start command! Possibly target power up too early.
      What can I do now?
      pretty much self explaining.

      why flash boot.img? are you sure that scatter matches your partition layout (you will erase wrong area if not)!?
      1
      That's why you must disable Antivirus
      1
      good, you got preloader working now! :)

      that error is different. looks like flashing is forbidden because of signature mismatch.

      read back boot + recovery first. use the files from device only (NMA26.42-169).

      after readback: try to flash that files back to device as it is. this is just to figure out if the problem is with partition signature, or with SP Flash Tool secure boot Download Agent (auth_sv5.auth file may required)
    • 2
      again, please don't use wrong scatter file, you will seriously brick your device. use that one from post #18 for nicklaus (see attachment). do a readback of stock recovery first. unpack ramdisk with AIK. this way you know if scatter file matches. only then, flash TWRP. power off device completely and make sure preloader drivers installed (should look like this in device manager)

      after successful flashing, press and keep hold Volume Up Button while disconnecting + reconnecting usb cable to PC, keep holding until you see TWRP logo

      (in case TWRP does not boot you should see something like red state - failed boot. in that case TWRP is a dead end, and your only chance left is modifying boot.img to get adb access. at this point it might necessary to flash stock recovery backup from readback back to device)
      1
      wait, you did factory reset already? in that case crypto footer is reset too. backup is encrypted and therefore useless unless crypto-footer is restored.

      you said you restored backup, are you sure? does the phone boot into lock screen like before and is pattern still the same?
      1
      So, what length and start address am I supposed to enter in hex?
      refer to scatter file

      nicklaus.jpg

      check your model name owens (XT1774 XT1775 XT1776) or nicklaus (XT1771 XT1772 XT1773)

      download scatter file matching to your device model
      https://motostockrom.com/motorola-moto-e4-plus-xt1770
      https://motostockrom.com/motorola-moto-e4-plus-xt1771-dual-sim
      https://motostockrom.com/motorola-moto-e4-plus-xt1772
      https://motostockrom.com/motorola-moto-e4-plus-xt1773
      https://motostockrom.com/motorola-moto-e4-plus-xt1775

      And you shared the link AIK, in that there are so many options, which one do I have to select?
      Android.Image.Kitchen.v3.7-Win32.zip

      Code:
      S_BROM_CMD_STARTCMD_FAIL (2005)
      [BROM] can not pass bootrom start command! Possibly target power up too early.
      What can I do now?
      pretty much self explaining.

      why flash boot.img? are you sure that scatter matches your partition layout (you will erase wrong area if not)!?
      1
      That's why you must disable Antivirus
      1
      good, you got preloader working now! :)

      that error is different. looks like flashing is forbidden because of signature mismatch.

      read back boot + recovery first. use the files from device only (NMA26.42-169).

      after readback: try to flash that files back to device as it is. this is just to figure out if the problem is with partition signature, or with SP Flash Tool secure boot Download Agent (auth_sv5.auth file may required)
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone