Themes / Apps / Mods [TOOL][NO ROOT] PartitionsBackupper | Nandroid alternative

Search This thread

Raygen

Senior Member
Feb 21, 2014
122
55
Mantova
/*
* Your warranty is... still valid!
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research yourself before asking or use anything on this thread.
* I do not offer private assistance via Telegram or any other social outside XDA.
*/

I've noticed that some users, myself included, are reporting that Nandroid backups made from TWRP are not always reliable for restore the phone to a previous working state from a soft brick / bootloop scenario.

PartitionsBackupper​

That's where this tool come in. It's a simple batch script that uses adb shell and fastboot commands to backup the images of all partitions present in /dev/block with dd. All without root.



Requirements:

  • Unlocked bootloader
  • TWRP recovery
  • ADB & Fastboot drivers + MTK VCOM drivers
  • Tested and built only for the OnePlus Nord 2

Changelog:
  • 1.1
    Bugfixes
  • 1.2
    Code enhancement
  • 1.3
    Added missing partitions
    Code enhancement
  • 1.4
    Added log file generation
    Vbmeta will flash for last
  • 1.5
    Enhanced log generation
    Enhanced vbmeta flashing
  • 1.6
    Bugfixes
    Fixed fastboot/bootloader flash process
  • 1.7
    Code enhancement
    Fixed boot_para flash process
  • 1.8
    Added adb/fastboot flash issues detection
  • 1.8.1
    Added linux version!

Not working:
  • This tool will still not backup the system and my_* partitions. A fix is coming up.
  • This tool WILL NOT backup the userdata partition.
    Because it would backup the entire internal storage along with it.
    I recommend to still do a Nandroid backup with TWRP of just the data partition if you wish to back it up.



DOWNLOAD
↓ attached file ↓
 

Attachments

  • PartitionsBackupper_v1.8.zip
    5.2 KB · Views: 603
Last edited:

Quercy

Member
Oct 2, 2016
32
4
OnePlus Nord 2 5G
Hi Raygen. I tried the PartitionsBackupper app and I don't know what I'm doing wrong but I'm not backing up anything. I run the .bat command under adb commands and I even check that I have access to my smartphone with the adb devices command but nothing. I have the menu I chose option 1 "backup". It even offers me to transfer the backup to PC but the file is empty.
For this application to work do you have to be in fastboot mode? With TWRP ???
Any idea? In the logfile I just have the info 0% backup... Last info I have TWRP but no longer Magisk because fed up with having bootloops with this Nord 2 which does not support Root.
 
Last edited:

Raygen

Senior Member
Feb 21, 2014
122
55
Mantova
Hi Raygen. I tried the PartitionsBackupper app and I don't know what I'm doing wrong but I'm not backing up anything. I run the .bat command under adb commands and I even check that I have access to my smartphone with the adb devices command but nothing. I have the menu I chose option 1 "backup". It even offers me to transfer the backup to PC but the file is empty.
For this application to work do you have to be in fastboot mode? With TWRP ???
Any idea? In the logfile I just have the info 0% backup... Last info I have TWRP but no longer Magisk because fed up with having bootloops with this Nord 2 which does not support Root.
Hello, are you still encountering this issue? If so, can you attach the log file?
 

Neosphaler

New member
May 21, 2022
2
0
Hello !

Got a problem rn with the tool sadly, here's the PBlog
"Logging started...

Main menu
restore
Please put the "PartitionsBackup" folder with all the partition images in the same directory of this script.
exit 1 "

Thanks for your help !

Edit : How stupid, hving the .sh file in the repertory is the problem. Simply delete it if ur on windows and it will work !
 

ankur haloi

New member
May 24, 2022
1
0
i have done the same thing but now when i am trying to boot to system it is showing only android logo ....what to do now pls help me
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    /*
    * Your warranty is... still valid!
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed.
    * Please do some research yourself before asking or use anything on this thread.
    * I do not offer private assistance via Telegram or any other social outside XDA.
    */

    I've noticed that some users, myself included, are reporting that Nandroid backups made from TWRP are not always reliable for restore the phone to a previous working state from a soft brick / bootloop scenario.

    PartitionsBackupper​

    That's where this tool come in. It's a simple batch script that uses adb shell and fastboot commands to backup the images of all partitions present in /dev/block with dd. All without root.



    Requirements:

    • Unlocked bootloader
    • TWRP recovery
    • ADB & Fastboot drivers + MTK VCOM drivers
    • Tested and built only for the OnePlus Nord 2

    Changelog:
    • 1.1
      Bugfixes
    • 1.2
      Code enhancement
    • 1.3
      Added missing partitions
      Code enhancement
    • 1.4
      Added log file generation
      Vbmeta will flash for last
    • 1.5
      Enhanced log generation
      Enhanced vbmeta flashing
    • 1.6
      Bugfixes
      Fixed fastboot/bootloader flash process
    • 1.7
      Code enhancement
      Fixed boot_para flash process
    • 1.8
      Added adb/fastboot flash issues detection
    • 1.8.1
      Added linux version!

    Not working:
    • This tool will still not backup the system and my_* partitions. A fix is coming up.
    • This tool WILL NOT backup the userdata partition.
      Because it would backup the entire internal storage along with it.
      I recommend to still do a Nandroid backup with TWRP of just the data partition if you wish to back it up.



    DOWNLOAD
    ↓ attached file ↓
    1
    That is a really cool tool / script you made! I will test it out as soon as my motherboard (!) is replaced by OnePlus. THANK YOU!
    1
    Just uploaded a new version with better logs.

    Why my CMD screen closes immediately after entering any options? @Raygen
    Try with the new version and paste here what's written in the PBlog.txt file, as said