Hovatek
  • Private Support
  • Blog
  • Home
Login Register Ask Question Hello There, Guest!
Login
Username:
Password: Lost Password?
 

OR

       

Hovatek is hiring: Application is open to residents of Lagos, Nigeria only! Click Here To Apply
Telegram Channel: Join the discussions @ t.me/Hovatek


  1. Hovatek Forum
  2. MOBILE PHONES HELP SECTION
  3. Android
 
Thread Rating:
  • 2 Vote(s) - 3 Average

Thread Modes

[Tutorial] How to mount ext4 images (system, userdata & vendor) in windows

X3non
Hovatek Representative
Posts: 18,432
Threads: 550
Joined: Jul 2014
Reputation: 326
#1

24-02-2019, 09:29 AM


This step-by-step guide will explain how to mount ext4 images in windows. This will come in handy when trying to retrieve files from a userdata.img

Requirements

  • Download and install latest Linux Reader
  • EXT4 image you intend to mount ; verify if the image is really an EXT4 filesystem image using this guide
  • Download sgs2toext4 to convert sparse image to EXT4 (requires JRE)
  • Download and install Java Runtime Environment


Steps on how to mount ext4 images (system, userdata & vendor) in windows


Follow the steps below to mount ext4 images (system, userdata & vendor) in windows

See the video below or @ https://youtu.be/su2c3cEG_Eg

  1. Launch DiskInternals Linux Reader tool

    [Image: How-to-mount-ext4-images-system-userdata...dows-1.jpg]

  2. Click Drives at the top left hand corner

    [Image: How-to-mount-ext4-images-system-userdata...dows-2.jpg]

  3. Click 'Mount Image'

    [Image: How-to-mount-ext4-images-system-userdata...dows-3.jpg]

  4. Tick 'Raw Disk Images' then click Next

    [Image: How-to-mount-ext4-images-system-userdata...dows-4.jpg]

  5. In the new window, navigate to the location and select the image(s) you want to mount then click Open

    [Image: How-to-mount-ext4-images-system-userdata...dows-5.jpg]

  6. The mounted images will be highlighted in red

    [Image: How-to-mount-ext4-images-system-userdata...dows-6.jpg]

  7. To extract a file from within the mounted image. Lets say a file from within userdata.img , double click the mounted image to open it
  8. Media files are usually stored in \Media\0\ folder within userdata.img (it might be different on your phone)
  9. Navigate to the location of the files or folder you wish to extract then right click on the file / folder then click Save

    [Image: How-to-mount-ext4-images-system-userdata...dows-7.jpg]

  10. Tick 'Save Files' then click Next

    [Image: How-to-mount-ext4-images-system-userdata...dows-8.jpg]

  11. Click Browse...

    [Image: How-to-mount-ext4-images-system-userdata...dows-9.jpg]

  12. Navigate to and select the folder location you wish to extract the file(s) to then click OK

    [Image: How-to-mount-ext4-images-system-userdata...ows-10.jpg]

  13. Click Next

    [Image: How-to-mount-ext4-images-system-userdata...ows-11.jpg]

  14. Click Next

    [Image: How-to-mount-ext4-images-system-userdata...ows-12.jpg]

  15. Click Finish

    [Image: How-to-mount-ext4-images-system-userdata...ows-13.jpg]


Important Notice
  • Credits to DiskInternals for Linux Reader tool
  • You can convert sparse image to EXT4 image by dragging the image onto sgs2toext4 windows
  • There's no guarantees that this guide will work for you as expected as images might not be in ext4 format or they might be encrypted (from devices with encrypted data) or corrupted during or before backup


Video Transcript
Quote:A good number of our members have been asking how to retrieve data from a userdata backup
The data includes pictures, music, videos and all what not
So in this video tutorial, i'm going to be showing how to mount an EXT4 image in windows
EXT4 images can include system, userdata and vendor
So, we're going to be using Disk Internals Linux Reader
Now before we begin, lets check if this images we have here are all in EXT4 format
So, we have a guide on how to check the file system of an image
This is the tutorial guide, you can visit the link or search the forum
So, we can see file system of system.img is in EXT4 format
Userdata is also in EXT4 format But vendor isn't
So we're going to convert vendor to an EXT4 format image
For this, we're going to be using sgs2toext4 file
We'll open this
Now, we'll drag vendor image onto the tool
So, down here you can see its converting
Now once it's done converting you'll see it will start reading 0 B/s
we can now close this tool
This is our EXT4 image
Now lets confirm if this image is really EXT4 format
So here we can see this is an EXT4 image
So we have our images all in EXT4 format now
Now to mount EXT4 images in windows, we're going to use Disk Internals Linux Reader
So i'll launch the tool
On the interface, click on Drives
click mount image tick Raw Disk Images then click Next
Navigate to the location of the images we wish to mount
So i want to mount all three of this
So here we go, this is system, this is vendor and this is userdata
So we can double click to open and check what is inside
But for the purpose of this tutorial, let me go over to userdata
Now in userdata to retrieve your files, you'll goto data that's once you open it, you'll goto media folder
in media folder, you'll goto 0 (zero). zero should normally be your internal storage
So here we can see some of my old files
In this case i want to retrieve
this is what i want to retrieve
so i'll right click
click save
save files
click Next
Now select the directory, the folder where you want to save the file or folders or whatever you've chosen
you can click browse, i want to save them on my desktop
then click OK
click Next
click Next again
Once it's done, you'll see completing the export wizard
click Finish
So we can now close the tool and here's our file




Attached Files
.zip sgs2toext4.zip Size: 20.04 KB  Downloads: 334
(This post was last modified: 05-10-2019, 02:07 AM by X3non.)
Find
Reply
abdulahi1229
Junior Member
*
Posts: 20
Threads: 6
Joined: May 2019
Reputation: 0
#2

14-06-2019, 05:34 PM
my backup is not in .img format its .backup
Find
Reply
X3non
Hovatek Representative
Posts: 18,432
Threads: 550
Joined: Jul 2014
Reputation: 326
#3

15-06-2019, 10:02 AM
(14-06-2019, 05:34 PM)abdulahi1229 Wrote:  my backup is not in .img format its .backup

whatever the file extension is, you're to verify first the FS if its EXT4 or not (check the requirements section)
and if your backup is numerous e.g userdata1.backup userdata2.backup etc then you're to concatenate the files into one single file using cat command 
Code:
cat userdata.backup1 userdata.backup2 userdata.backup3 > userdata_full.backup

PS: when replying, stick to your thread @ https://forum.hovatek.com/thread-28249.html , you can refer to a different thread from your thread
(This post was last modified: 15-06-2019, 10:04 AM by X3non.)
Find
Reply
marquelito
Newbie
Posts: 1
Threads: 0
Joined: Feb 2020
Reputation: 0
#4

16-02-2020, 10:09 PM
hey
when using cygwin to detect file system of the output sgs2toext4 img i get:
Code:
$ file system.img.ext4.img
system.img.ext4.img: data

this method including other using svaimgunpack don't work on new firmwares. i'm trying on Z Flip Firmware, and tryed too on note 10 firmware.
please i would be greatful if you could help

thanks
Find
Reply
X3non
Hovatek Representative
Posts: 18,432
Threads: 550
Joined: Jul 2014
Reputation: 326
#5

16-02-2020, 11:35 PM
(16-02-2020, 10:09 PM)marquelito Wrote:  hey
when using cygwin to detect file system of the output sgs2toext4 img i get:
Code:
$ file system.img.ext4.img
system.img.ext4.img: data

this method including other using svaimgunpack don't work on new firmwares. i'm trying on Z Flip Firmware, and tryed too on note 10 firmware.
please i would be greatful if you could help

thanks

this guide is meant for only EXT4 filesystem. the image you have isn't ext4, infact it literally has no filesystem considering it's detected as data. You can't mount "data"
Find
Reply
SGANDHI20
Newbie
Posts: 1
Threads: 0
Joined: Oct 2020
Reputation: 0
#6

03-10-2020, 03:54 PM
What if i only have userdata.img ?? i lost system.img and vendor.img can i still get my data back from uderdata.img?
Find
Reply
X3non
Hovatek Representative
Posts: 18,432
Threads: 550
Joined: Jul 2014
Reputation: 326
#7

05-10-2020, 09:41 AM
(03-10-2020, 03:54 PM)SGANDHI20 Wrote:  What if i only have userdata.img ?? i lost system.img and vendor.img can i still get my data back from uderdata.img?

yes, so long as the userdata.img isn't encrypted or corrupt
Find
Reply
« Next Oldest | Next Newest »

Share

Share Tweet Share Share Pin


Possibly Related Threads…
Thread / Author Replies Views Last Post
Userdata backup
Akki_bt07
14
379
Last Post by X3non
16-01-2021, 11:15 AM
Backing up userdata.img via DD too large!
najnaj
22
6,323
Last Post by HemanthJabalpuri
19-12-2020, 04:56 AM
Recover Userdata
Akki_bt07
4
404
Last Post by Akki_bt07
18-12-2020, 10:35 AM
how to to split Android 8 rom and recover userdata partion of both Android 7 & 8
tonero41
5
1,045
Last Post by X3non
24-06-2020, 10:38 AM
Userdata.img partition recovery
Oni Precious
8
913
Last Post by X3non
21-05-2020, 10:27 AM

  • View a Printable Version


Users browsing this thread: 1 Guest(s)
  1. Hovatek Forum
  2. MOBILE PHONES HELP SECTION
  3. Android

About

The Hovatek Forum is a free Tech. Support Forum. We provide solutions to all your device related problems and questions. We'll love to have you participate in discussions here whether you're a Newbie or Experienced.

         

Forum Team

Powered By MyBB. Crafted by EreeCorp.




Linear Mode
Threaded Mode