[Win] Android recovery emulator - emulate zip installations

Search This thread

Ricky Divjakovski

Recognized Developer / Inactive RC
Feb 4, 2013
5,287
7,685
28
Sydney
Android Recovery Emulator

ARE.png

The android recovery emulator is a utility that allows you to emulate the android recovery.
Most options are supported and you can flash zips and roms with this, wipe data/factory reset, clear cache etc, this is basically a virtual device.

Download here

REVIEW:
Like, Share and subscribe for more programming tutorials!

Supported syntax -
(#) comments
(ui_print) printing
(package_extract_file) extracting files
(package_extract_directory) extracting directories
(block_image_update) updating blocks
(run_program) execution
(delete) deleting
(delete_recurive) recursive deleting
(abort) aborting installation
(format) formatting
(mount) mounting
(set_perm) setting permissions
(set_perm_recursive) setting permissions recursively
(set_metadata) setting metadata
(set_metadata_recursive) setting metadata recursively
(symlink) symlinking
(show_progress) showing progress

Supported error output -
Checks for non existing files
Checks for non existing directories
Outputs possible errors for files or directories not embedded in zip
etc.

Remember to say thanks.

XDA:DevDB Information
Android Recovery Emulator, Tool/Utility for all devices (see above for details)

Contributors
Ricky Divjakovski

Version Information
Status: Stable
Current Stable Version: V1.0.0.0
Stable Release Date: 2017-04-16

Created 2017-04-16
Last Updated 2017-04-18
 

Ricky Divjakovski

Recognized Developer / Inactive RC
Feb 4, 2013
5,287
7,685
28
Sydney
Okay... I could use something like this but, just 2 questions.

1) Will the results from the Emulator also reflect those results from a TWRP Recovery?

2) For the CWM that this Emulator is based upon, are the results based upon for the last known release version or for all release versions?

Thanks!

The GUI is merely a theme, based on latest recoveries
 

Beasty244

Member
Sep 4, 2016
41
4
Beecher City
So could this be used to flash ROMs onto an unrootable device? Not "unrootable", but USB debugging doesn't work on it so I can't root it but there are ROMs for it
 

afaneh92

Account currently disabled
Jul 31, 2012
3,909
5,296
Great work as alawys.

I have idea on my mind several months ago!
Can you make twrp theme emulator so we can test themes on the run.
Or you can make this open source so I can make it my self.
 

ranf

Senior Member
May 21, 2012
251
122
BTW: works starts in Ubuntu 16.04 with mono.
But if these created subdirs with backslashes will really work? IDK
 
Last edited:

logosA

Inactive Recognized Contributor
Nov 17, 2013
3,434
3,298
Heraklion Crete
VERY GOOD , but it doesn't ''like'' magisk :)
could this be fixed or bypassed somehow, so be able to continue flashing and reach to the end ?
 

Attachments

  • rrEMUL2.png
    rrEMUL2.png
    243.5 KB · Views: 446

Ricky Divjakovski

Recognized Developer / Inactive RC
Feb 4, 2013
5,287
7,685
28
Sydney
Great work as alawys.

I have idea on my mind several months ago!
Can you make twrp theme emulator so we can test themes on the run.
Or you can make this open source so I can make it my self.

Im going to add TWRP option in next version :)

Very nice. If the ability to emulate aroma installers could be added it would be really cool.

im already on it :)
will take about a week to properly implement

@Ricky Divjakovski , does this support the legacy environment? Like using update-binary? Shell?

at the moment it only checks if the script exists via "run_program" and parsing the first arguement to the program that then checks if the file exists, if it doesnt it throws a possible error, shell support will eventually be added, but for now the basics

BTW: works starts in Ubuntu 16.04 with mono.
But if these created subdirs with backslashes will really work? IDK

i will be compiling this for linux aswell when i get some free time
 

logosA

Inactive Recognized Contributor
Nov 17, 2013
3,434
3,298
Heraklion Crete
thats because theres a second zip file inside your zip, thats not supported yes

yes, saw that happened , flashed rom successfully but second zip (magisk) inside the rom made that error appears.

---------- Post added at 10:48 AM ---------- Previous post was at 10:45 AM ----------

seperate zip file? i will add the functionallity for that next build

almost all the latest roms in Samsung galaxy Note 2 these days, include magisk as default root method.
This is a second zip inside the rom zip, which as I understood creates that error
 
  • Like
Reactions: iykeDROID™

Ricky Divjakovski

Recognized Developer / Inactive RC
Feb 4, 2013
5,287
7,685
28
Sydney
yes, saw that happened , flashed rom successfully but second zip (magisk) inside the rom made that error appears.

---------- Post added at 10:48 AM ---------- Previous post was at 10:45 AM ----------



almost all the latest roms in Samsung galaxy Note 2 these days, include magisk as default root method.
This is a second zip inside the rom zip, which as I understood creates that error

im working on a fix for that now so maybe tonight or tommorow when i get free time i will release
 

Top Liked Posts

  • There are no posts matching your filters.
  • 53
    Android Recovery Emulator

    ARE.png

    The android recovery emulator is a utility that allows you to emulate the android recovery.
    Most options are supported and you can flash zips and roms with this, wipe data/factory reset, clear cache etc, this is basically a virtual device.

    Download here

    REVIEW:
    Like, Share and subscribe for more programming tutorials!

    Supported syntax -
    (#) comments
    (ui_print) printing
    (package_extract_file) extracting files
    (package_extract_directory) extracting directories
    (block_image_update) updating blocks
    (run_program) execution
    (delete) deleting
    (delete_recurive) recursive deleting
    (abort) aborting installation
    (format) formatting
    (mount) mounting
    (set_perm) setting permissions
    (set_perm_recursive) setting permissions recursively
    (set_metadata) setting metadata
    (set_metadata_recursive) setting metadata recursively
    (symlink) symlinking
    (show_progress) showing progress

    Supported error output -
    Checks for non existing files
    Checks for non existing directories
    Outputs possible errors for files or directories not embedded in zip
    etc.

    Remember to say thanks.

    XDA:DevDB Information
    Android Recovery Emulator, Tool/Utility for all devices (see above for details)

    Contributors
    Ricky Divjakovski

    Version Information
    Status: Stable
    Current Stable Version: V1.0.0.0
    Stable Release Date: 2017-04-16

    Created 2017-04-16
    Last Updated 2017-04-18
    6
    Okay... I could use something like this but, just 2 questions.

    1) Will the results from the Emulator also reflect those results from a TWRP Recovery?

    2) For the CWM that this Emulator is based upon, are the results based upon for the last known release version or for all release versions?

    Thanks!

    The GUI is merely a theme, based on latest recoveries
    3
    So could this be used to flash ROMs onto an unrootable device? Not "unrootable", but USB debugging doesn't work on it so I can't root it but there are ROMs for it

    No this is just an emulator, it doesn't do anything to a real device
    3
    A video review has been published.

    Remember to follow me on youtube for programming tutorials, guides and reviews!
    3
    Great work as alawys.

    I have idea on my mind several months ago!
    Can you make twrp theme emulator so we can test themes on the run.
    Or you can make this open source so I can make it my self.

    Im going to add TWRP option in next version :)

    Very nice. If the ability to emulate aroma installers could be added it would be really cool.

    im already on it :)
    will take about a week to properly implement

    @Ricky Divjakovski , does this support the legacy environment? Like using update-binary? Shell?

    at the moment it only checks if the script exists via "run_program" and parsing the first arguement to the program that then checks if the file exists, if it doesnt it throws a possible error, shell support will eventually be added, but for now the basics

    BTW: works starts in Ubuntu 16.04 with mono.
    But if these created subdirs with backslashes will really work? IDK

    i will be compiling this for linux aswell when i get some free time