General [STOCK][DN2103][EU] Incremental update packages & Boot images

Search This thread

dev-DaT

Senior Member
Mar 6, 2013
398
166
OnePlus One
Redmi K20 Pro
Hi All,

Below you can find a couple of incremental update packages that you can use for updating from various versions of your device.

Incremental update packages​

These can be installed using TWRP by following this tutorial.



edit: up-to-date until update A19

Boot images​

These can sometimes be required when updating to a newer version.


VBMETA​

VBMeta must be flashed after every incremental update.




Thanks to @HofaTheRipper in the telegram channel for providing most of these package / images.
 
Last edited:

HofaTheRipper

Senior Member
Apr 26, 2014
262
220
38
St. Veit an der Glan
Hi All,

Below you can find a couple of incremental update packages that you can use for updating from various versions of your device.

Incremental update packages​

These can be installed using TWRP by following this tutorial.



Boot images​

These can sometimes be required when updating to a newer version.


VBMETA​

VBMeta must be flashed after every incremental update.




Not all have been uploaded yet, WIP.

Thanks to @HofaTheRipper in the telegram channel for providing most of these package / images.
Send me pm if you have new packages that need to be added.
Update A16 to A17 EU and boot stock A17 EU:
 

Attachments

  • DN2103_stock_boot_A17.img
    32 MB · Views: 121
  • DN2103_update_A16_to_A17.zip
    208.2 MB · Views: 84

CoinsClassic

Member
Nov 17, 2017
37
29
Patched boot image myself using imgpatchtools. Used A19 from you and applied the boot.img.p patch from OTA zip.
 

Attachments

  • magisk_patched_A20.img
    32 MB · Views: 48
  • stock_A20.img
    32 MB · Views: 64
  • Like
Reactions: krugm0f0

ivoh95

Senior Member
Mar 14, 2012
185
43
For anyone who needs. Here is the C.01 image for DN2103, stock and patched with magisk, you can read and write these with MTKclient as fastboot is removed in C.01. You may need to rename it to .bin
 

Attachments

  • magisk_patched-25100_TuhmG.img
    32 MB · Views: 36
  • boot_C01.bin
    32 MB · Views: 27
For anyone who needs. Here is the C.01 image for DN2103, stock and patched with magisk, you can read and write these with MTKclient as fastboot is removed in C.01. You may need to rename it to .bin
Hi,any chance of full install instructions as I've lost the ability to access fastboot/ bootloader I'm not sure how to flash A12 stock EU version.A y detailed help would be much appreciated.Thanks
 

ruh01

Senior Member
Jun 24, 2007
322
65
Bucuresti
A full OTA from Android 11 to Android 12, for DN2103 EU version, is possible to post? Thank you
 
Last edited:

ivoh95

Senior Member
Mar 14, 2012
185
43
Hi,any chance of full install instructions as I've lost the ability to access fastboot/ bootloader I'm not sure how to flash A12 stock EU version.A y detailed help would be much appreciated.Thanks
Why do you need fastboot? If root is all you want then flash those with MTKclient and BROM mode. Otherwise look in the forums there is instructions to downgrade from 11-12.

I'm actually wondering if we flash the right partitions from 11 while running 12 if it will brick or if it will reenable fastboot. Maybe someone brave can try
 

ruh01

Senior Member
Jun 24, 2007
322
65
Bucuresti
"quote
/data/OTA-package/update.zip

Assuming you've downloaded the update via the OTA settings tab, the update.zip will be at this location and can be transferred to your PC or flashed using TWRP as-is from the above location. "
 

CoinsClassic

Member
Nov 17, 2017
37
29
@Maddinx
stock boot.img for A21 update with June Patch 2022.

Patched myself using this tool: https://github.com/erfanoabdi/imgpatchtools/releases/download/0.3/IMG_Patch_Tools_0.3.zip

$ ./ApplyPatch stock_A20_boot.img new_A21_boot.img 73f2f272c090ffa378b9662d00985bf81cff02ea 33554432 31016eca2954bf998f0fe961642ab6d025264f29 boot.img.p

Syntax is:
- ./ApplyPatch
- existing boot.img name (e. g. A20 from here)
- new boot.img name
- SHA hash of new boot.img file (to be created)
- filesize
- SHA hash of previous boot.img file
- patch file

The hashes and the filesize are located in the updater-script file under META-INF\com\google\android\

1657565807227.png


1657565593654.png


(Love letter to my future self in case I forget how to patch it myself :p)
 

Attachments

  • boot_A21_DN2103.img
    32 MB · Views: 26
  • magisk_patched_A21_boot.img
    32 MB · Views: 22
  • Like
Reactions: roldev

roldev

Senior Member
Mar 16, 2018
71
21
Xiaomi Mi 8 Lite
OnePlus Nord 2 5G
@Maddinx
stock boot.img for A21 update with June Patch 2022.

Patched myself using this tool: https://github.com/erfanoabdi/imgpatchtools/releases/download/0.3/IMG_Patch_Tools_0.3.zip

$ ./ApplyPatch stock_A20_boot.img new_A21_boot.img 73f2f272c090ffa378b9662d00985bf81cff02ea 33554432 31016eca2954bf998f0fe961642ab6d025264f29 boot.img.p

Syntax is:
- ./ApplyPatch
- existing boot.img name (e. g. A20 from here)
- new boot.img name
- SHA hash of new boot.img file (to be created)
- filesize
- SHA hash of previous boot.img file
- patch file

The hashes and the filesize are located in the updater-script file under META-INF\com\google\android\

View attachment 5657295


View attachment 5657291

(Love letter to my future self in case I forget how to patch it myself :p)

Where to find update script A20 to A21?
You patched only the boot.img. Is this enough? Idk, since never received this A21 update.

Please elaborate how to update from A20 to A21 on rooted with magisk_patched_A20.img to A21 update with magisk_patched_A21.img

Thank you!
 

CoinsClassic

Member
Nov 17, 2017
37
29
Where to find update script A20 to A21?
You patched only the boot.img. Is this enough? Idk, since never received this A21 update.

Please elaborate how to update from A20 to A21 on rooted with magisk_patched_A20.img to A21 update with magisk_patched_A21.img

Thank you!
update-script file is located under META-INF\com\google\android\ in the incremental OTA zip file. (To get the link of the OTA update file, I used https://github.com/Akilesh-T/OTALink )

Patching just the boot.img works perfectly for me. root access and no limitations.

So far I've used the described patching method like this:

1. Patch boot.img as described above (create A21 from A20 img file)
2. Patch created boot.img with Magisk
3. Uninstall Magisk (Restore boot Image)
4. Install incr. OTA
5. After OTA installation, boot to fastboot
6. Flash magisk patched boot.img
7. fastboot reboot
Done.
 
Last edited:
  • Like
Reactions: roldev

roldev

Senior Member
Mar 16, 2018
71
21
Xiaomi Mi 8 Lite
OnePlus Nord 2 5G
update-script file is located under META-INF\com\google\android\ in the incremental OTA zip file. (To get the link of the OTA update file, I used https://github.com/Akilesh-T/OTALink )

Patching just the boot.img works perfectly for me. root access and no limitations.

So far I've used the described patching method like this:

1. Patch boot.img as described above (create A21 from A20 img file)
2. Patch created boot.img with Magisk
3. Uninstall Magisk (Restore boot Image)
4. Install incr. OTA
5. After OTA installation, boot to fastboot
6. Flash magisk patched boot.img
7. fastboot reboot
Done.

Thank you very much.

I try to figure how to do the step 4. Need offline install, because: 1) if try with TWRP end with bootloop, 2) the system updater wants to push me C.01 straight from A20. 3) for now want to keep the latest 11.3

Maybe using imgpatchtools can do update from my PC. Any idea?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    @Maddinx
    stock boot.img for A21 update with June Patch 2022.

    Patched myself using this tool: https://github.com/erfanoabdi/imgpatchtools/releases/download/0.3/IMG_Patch_Tools_0.3.zip

    $ ./ApplyPatch stock_A20_boot.img new_A21_boot.img 73f2f272c090ffa378b9662d00985bf81cff02ea 33554432 31016eca2954bf998f0fe961642ab6d025264f29 boot.img.p

    Syntax is:
    - ./ApplyPatch
    - existing boot.img name (e. g. A20 from here)
    - new boot.img name
    - SHA hash of new boot.img file (to be created)
    - filesize
    - SHA hash of previous boot.img file
    - patch file

    The hashes and the filesize are located in the updater-script file under META-INF\com\google\android\

    1657565807227.png


    1657565593654.png


    (Love letter to my future self in case I forget how to patch it myself :p)
    1
    Where to find update script A20 to A21?
    You patched only the boot.img. Is this enough? Idk, since never received this A21 update.

    Please elaborate how to update from A20 to A21 on rooted with magisk_patched_A20.img to A21 update with magisk_patched_A21.img

    Thank you!
    update-script file is located under META-INF\com\google\android\ in the incremental OTA zip file. (To get the link of the OTA update file, I used https://github.com/Akilesh-T/OTALink )

    Patching just the boot.img works perfectly for me. root access and no limitations.

    So far I've used the described patching method like this:

    1. Patch boot.img as described above (create A21 from A20 img file)
    2. Patch created boot.img with Magisk
    3. Uninstall Magisk (Restore boot Image)
    4. Install incr. OTA
    5. After OTA installation, boot to fastboot
    6. Flash magisk patched boot.img
    7. fastboot reboot
    Done.
  • 7
    Update A17 to A19 EU and boot stock A19 EU:
    5
    Hi All,

    Below you can find a couple of incremental update packages that you can use for updating from various versions of your device.

    Incremental update packages​

    These can be installed using TWRP by following this tutorial.



    Boot images​

    These can sometimes be required when updating to a newer version.


    VBMETA​

    VBMeta must be flashed after every incremental update.




    Not all have been uploaded yet, WIP.

    Thanks to @HofaTheRipper in the telegram channel for providing most of these package / images.
    Send me pm if you have new packages that need to be added.
    Update A16 to A17 EU and boot stock A17 EU:
    3
    Hi All,

    Below you can find a couple of incremental update packages that you can use for updating from various versions of your device.

    Incremental update packages​

    These can be installed using TWRP by following this tutorial.



    edit: up-to-date until update A19

    Boot images​

    These can sometimes be required when updating to a newer version.


    VBMETA​

    VBMeta must be flashed after every incremental update.




    Thanks to @HofaTheRipper in the telegram channel for providing most of these package / images.
    1
    How did you extract stock boot img for the device?
    TWRP
    1
    Patched boot image myself using imgpatchtools. Used A19 from you and applied the boot.img.p patch from OTA zip.