6

How to Downgrade Android Version in Samsung Devices if Device is in Higher Biner...

 1 year ago
source link: https://forum.xda-developers.com/t/how-to-downgrade-android-version-in-samsung-devices-if-device-is-in-higher-binery.4561665/#post-88697327
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How to Downgrade Android Version in Samsung Devices if Device is in Higher Binery​
* Your warranty is now void. * I am not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels. * You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers

Note :-​

Samsung binery is impossible to downagrade.

This method will do install old stock as a custom rom (signature removed stock rom). So this method only can downgarde android version.

This method cannot downgrade modem or radio or bootlooder such as (aboot,lk,non-holes) like critical images. if you try that it will dead your device

Not Tested in All Devices. So I Don't know this method is working for all samsung devices. Proofs are at the end. You Have to try and tell

What you need​

  • Latest binery of stock rom that you need to downgrade​

  • Bootloader Unlocked Device​

  • Lz4 Unpacker​

  • Simg2img.exe​

  • Android Image kitchen​

  • Odin​

  • 7zip​

  • Windows Computer

If you have super.img device shipped with Android 10 or Android 10+

You must have unlocked bootloader​

If your device cannot use magisk this method will not work for you. (A20s user cannot do this) ​

1. Unlock your device bootloader​

2. Download the Latest binery of stock rom that you need to downgrade (samfw)​

3. Extract the whole Ap.....tar.md5​

Get all boot.img.lz4 recovery.img.lz4 super.img .lz4(vendor.img.ext4.lz4 and system.img.ext4.lz4)​

Screenshot 2023-03-05 125217.png

4. Convert .lz4 to img​

Grag and drop lz4 file to lz4.exe​

5. Then Patched the boot.img with magisk and unpack and repack recovery.img using android image kitchen (aik)​

6. Then paste simg2img.exe to where converted super.img located.​

Screenshot 2023-03-05 125314.png

7. Then open cmd from there and type simg2img super.img super.raw​

then you will get a super.raw​

Screenshot 2023-03-05 125618.png
Screenshot 2023-03-05 125705.png

8. Open HXD and grag and drop super.raw to hxd​

9. Then CTRL+F and search all the U number of the firmware you downloded​

According to me it is U4​

Screenshot 2023-03-05 125827.png

9. Then Find a phases like this and fill all phases with zero bytes (there should be more than one)​

Screenshot 2023-03-05 125932.png
Screenshot 2023-03-05 130031.png
Screenshot 2023-03-05 130109.png

10. Then Save it and remove the super.raw.bak​

11. Then Rename the super.raw to super.img and make tar with 7zip including patched boot.img recovery.img and super.img​

12. Flash it and Format data​

Patched vbmeta is not essential due to magisk patched boot.img​

If you Have System.img and Vendor.img Device Shipped with Android 7 8 9​

1.Do all the steps untill number 6​

2.Then convert system.img.ext4 and vendor.img.ext4 to raw by open cmd then, simg2img.exe system.ext4.img.raw and same to vendor​

3.Open both System.ext4.img.raw form Hxd and Countinue with step 9​

4.Then save Both vendor and system and delete the .bak files​

5.Then rename system.img.ext4.raw to system.img.exe4 and vendor.img.ext4.raw to vendor.img.ext4​

6.Then Convert to Lz4 by open cmd and lz4 -1 system.img.ext4​

7.Then Make tar using Magisk patched boot.img and repacked recovery.img and system.img.ext4.lz4 and vendor.img.ext4.lz4​

8. Flash and wipe Data​

Patched vbmeta is not essential due to magisk patched boot.img​

Proof Tested Devices,

Samsung Galaxy M01 (Qualcomm)
Downgrade Android 12 to android 10 (u4 to u3)
Screenshot 2023-03-05 183456.png



Samsung Galaxy A71 Qualcomm
Android 13 to Android 10 (U8 to U3)
Screenshot 2023-03-05 183703.png

Updates

  • Some users said they cannot flash super.img in a51 and s20 exyons version. May be this method will not work for exyons. I dont know that need to test more
  • Downgrade success for s20 fe 5g qcom using this method
  • Still not tested on MTK

Video Tutorial

Remove Signature from Super or System/Vendor

Downloads

Hxd

This method also can use for update android version without upgrading binery version.​

Last edited: Mar 7, 2023

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK