[SLOT A/B devices] Universal A/B-cloner

Change the name? (in order of seriousness)

  • Unify A/B

    Votes: 3 50.0%
  • AB come back! (any kinda fool could see!)

    Votes: 1 16.7%
  • A/B-Harmony

    Votes: 0 0.0%
  • Abony and iBory

    Votes: 0 0.0%
  • nah fam, ab-cloner is straight, dawg. u do u.

    Votes: 2 33.3%
  • AB-Clonser "Add an S in there, trust me"-topjohnwu

    Votes: 0 0.0%

  • Total voters
    6
Search This thread

Ae3NerdGod

Senior Member
Apr 27, 2014
210
209
I DO NOT TAKE RESPONSIBILITY FOR YOUR DEVICE BREAKING

THIS /WILL/ COPY YOUR BOOTLOADER FROM ONE SLOT TO ANOTHER

IF YOU DO THAT WITH A BOOTLOADER THAT IS OLDER THAN THE SLOT YOURE OVERWRITING YOUR DEVICE MIGHT BRICK


Ok, thats over with


INFO:
This is just a simple script, in a simple ZIP, designed to clone all the devices ACTIVE slots in /dev/block/bootdevice/by-name to the INACTIVE ones
it does nothing more, nothing less.
For me, this solved some issues with lineage and custom roms on my device and keeps my mild ocd... well.. mild.

This will not touch any partition with the word logo in it (lowercase only for now, oops)

BASIC HOW-TO:
0) have basic knowledge of how android works, dont be stupid
1) flash rom
2) run AB-Cloner-test
3) If the test runs normal rename it to AB-Cloner.zip ( remove the word "test" from the zip name)
4) run AB-Cloner
5) ???
6) profit!

Tested devices:
  • Successful tests:
    • Motorola Z² Force
    • (report your success below)
  • Unsuccessful tests:
    • PLEASE report below, so no one else endangers their phones


Known Bugs/Issues:
  • currently the word test must be lowercase in the filename, if any letter is not lowercase in the word test IT WILL RUN THE ACTUAL COMMANDS. this will be fixed in RC2/Normal releases
  • You tell me ?

TODO:
  • add VOL key detection to cancel zip/ make choices
  • update detection: figure out which slot is newer, flash that one to older
  • aroma? probably not tho
  • You tell me?
  • C+ slots? if theres a device that needs it

Pictures:

UDsjzIX.png

dnpTLuA.png

dnpTLuA.png

XPYkg28.png



Download:
 

Attachments

  • AB-Cloner-RC1-test.zip
    3.3 KB · Views: 195
Last edited:
  • Like
Reactions: Szynkars

PoochyX

Senior Member
Oct 23, 2016
2,176
424
I DO NOT TAKE RESPONSIBILITY FOR YOUR DEVICE BREAKING



THIS /WILL/ COPY YOUR BOOTLOADER FROM ONE SLOT TO ANOTHER



IF YOU DO THAT WITH A BOOTLOADER THAT IS OLDER THAN THE SLOT YOURE OVERWRITING YOUR DEVICE MIGHT BRICK




Ok, thats over with



This is just a simple script, in a simple ZIP, designed to clone all the devices ACTIVE slots in /dev/block/bootdevice/by-name to the INACTIVE ones

it does nothing more, nothing less



for me, this solved some issues with lineage and custom roms on my device





BASIC HOW-TO

0) have basic knowledge of how android works, dont be stupid

1) flash rom

2) run AB-Cloner-test

3) If the test runs normal Rname it to AB-Cloner ( remove the word test from the zip name)

4) run AB-Cloner

5) ???

6) profit!



Known Bugs/Issues:

- currently the word test must be lowercase in the filename, if any letter is not lowercase in the word test IT WILL RUN THE ACTUAL COMMANDS. this will be fixed in RC2/Normal releases

- You tell me ?



TODO:

- add VOL key detection to cancel zip/ make choices

- update detection: figure out which slot is newer, flash that one to older

- aroma? probably not tho

- You tell me?

- C+ slots? if theres a device that needs it



Download:

RC1: here (GDrive)
This is good work

([emoji3590]09-09-18[emoji3590])
 
  • Like
Reactions: Ae3NerdGod

flug32

Member
Feb 20, 2011
46
26
FYI I just ran this on my G7 Power (Ocean) and it seemed to work just fine. I had a good Resurrection Remix install on Slot A (active) and some weird borked stuff on Slot B.

I loaded and ran the .zip via adb sideload, it copied everything over, and it all seems to work just fine now, and identical on both slots.

FYI when running it this way (adb sideload) the name included "-test" but there was no test. It just ran--luckily it seemed to work OK.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I DO NOT TAKE RESPONSIBILITY FOR YOUR DEVICE BREAKING

    THIS /WILL/ COPY YOUR BOOTLOADER FROM ONE SLOT TO ANOTHER

    IF YOU DO THAT WITH A BOOTLOADER THAT IS OLDER THAN THE SLOT YOURE OVERWRITING YOUR DEVICE MIGHT BRICK


    Ok, thats over with


    INFO:
    This is just a simple script, in a simple ZIP, designed to clone all the devices ACTIVE slots in /dev/block/bootdevice/by-name to the INACTIVE ones
    it does nothing more, nothing less.
    For me, this solved some issues with lineage and custom roms on my device and keeps my mild ocd... well.. mild.

    This will not touch any partition with the word logo in it (lowercase only for now, oops)

    BASIC HOW-TO:
    0) have basic knowledge of how android works, dont be stupid
    1) flash rom
    2) run AB-Cloner-test
    3) If the test runs normal rename it to AB-Cloner.zip ( remove the word "test" from the zip name)
    4) run AB-Cloner
    5) ???
    6) profit!

    Tested devices:
    • Successful tests:
      • Motorola Z² Force
      • (report your success below)
    • Unsuccessful tests:
      • PLEASE report below, so no one else endangers their phones


    Known Bugs/Issues:
    • currently the word test must be lowercase in the filename, if any letter is not lowercase in the word test IT WILL RUN THE ACTUAL COMMANDS. this will be fixed in RC2/Normal releases
    • You tell me ?

    TODO:
    • add VOL key detection to cancel zip/ make choices
    • update detection: figure out which slot is newer, flash that one to older
    • aroma? probably not tho
    • You tell me?
    • C+ slots? if theres a device that needs it

    Pictures:

    UDsjzIX.png

    dnpTLuA.png

    dnpTLuA.png

    XPYkg28.png



    Download:
    1
    I DO NOT TAKE RESPONSIBILITY FOR YOUR DEVICE BREAKING



    THIS /WILL/ COPY YOUR BOOTLOADER FROM ONE SLOT TO ANOTHER



    IF YOU DO THAT WITH A BOOTLOADER THAT IS OLDER THAN THE SLOT YOURE OVERWRITING YOUR DEVICE MIGHT BRICK




    Ok, thats over with



    This is just a simple script, in a simple ZIP, designed to clone all the devices ACTIVE slots in /dev/block/bootdevice/by-name to the INACTIVE ones

    it does nothing more, nothing less



    for me, this solved some issues with lineage and custom roms on my device





    BASIC HOW-TO

    0) have basic knowledge of how android works, dont be stupid

    1) flash rom

    2) run AB-Cloner-test

    3) If the test runs normal Rname it to AB-Cloner ( remove the word test from the zip name)

    4) run AB-Cloner

    5) ???

    6) profit!



    Known Bugs/Issues:

    - currently the word test must be lowercase in the filename, if any letter is not lowercase in the word test IT WILL RUN THE ACTUAL COMMANDS. this will be fixed in RC2/Normal releases

    - You tell me ?



    TODO:

    - add VOL key detection to cancel zip/ make choices

    - update detection: figure out which slot is newer, flash that one to older

    - aroma? probably not tho

    - You tell me?

    - C+ slots? if theres a device that needs it



    Download:

    RC1: here (GDrive)
    This is good work

    ([emoji3590]09-09-18[emoji3590])