[GUIDE][TUT][WINDOWS/LINUX] How To Extract Nexus Factory Images [EASY METHOD]

Search This thread

ZawZaw

Inactive Recognized Developer
Jul 10, 2016
1,827
3,047
Pyay, Myanmar.
zawzaww.github.io

nexus_factory_images.jpg


HOW TO EXTRACT FACTORY IMAGES

Hello...Friends,
I want to present my new guide for Nexus and Pixel Users. This is how to extract Google's Nexus and Pixel Factory Images.
I hope you will love it.


INTRODUCTION
Here is how to extract factory image( system.img ). Some people want to get any apk from factory images. This guide is useful and need for beginner, and I aimed for Google Nexus and Pixel android beginner users.

THANKS YOU


REQUIREMENT
• Computer ( Windows OS or Linux OS )
• SystemImage Extractor Tool ( Windows )
• Image Extractor Tool ( Linux )


HOW TO SETUP TOOLS
This is very easy method.

For Windows OS :
• Download Tool Zip
• Extract File
• Move to Desktop or Home
• Go to Tool's Folder
• Run batch File

For Linux OS :
• Download Tool Zip
• Extract File
• Move to Desktop or Home
• Go to Tool's Folder
• Right Click
• Click Open Terminal


DOWNLOAD

Image Extractor Tool ( Windows )

Image Extractor Tool ( Linux )


THANKS & CREDITS
@xda-developers
@xpirt
@matrixex
Thanks You All Sir Developers for Your Tools.
 
Last edited:

ZawZaw

Inactive Recognized Developer
Jul 10, 2016
1,827
3,047
Pyay, Myanmar.
zawzaww.github.io
HOW TO EXTRACT ON WINDOWS

• Download SystemImage Extractor Tool Zip

• Extract Zip and Move to Home or Desktop

• Go to Tool's Folder

• Copy your "system.img" and Paste to Tool's Folder.

• Run as batch File

• Choose No.3 and Enter
Screenshot_1.png


• Enter
Screenshot_2.png


• Extraction Time
Screenshot_3.png


• Enter and Done
Screenshot_4.png


• Finally, You can see on your Tool location's system folder
Screenshot_5.png
 
Last edited:

ZawZaw

Inactive Recognized Developer
Jul 10, 2016
1,827
3,047
Pyay, Myanmar.
zawzaww.github.io
HOW TO EXTRACT ON LINUX

• Dowanload Image Extractor Tool Zip

• Extract Zip and Move to Desktop or Home.

• Go to Tool's Folder Location

• Copy your "system.img' and paste to Tool's Location Folder

• Right Click and Open Terminal.

• Enter this
HTML:
mkdir sys

• Enter this
HTML:
./simg2img system.img sys.raw

• Enter this
HTML:
sudo mount -t ext4 -o loop sys.raw sys/

• Enter this
2048MB is the depend on your "system.img" disk size.
HTML:
sudo ./make_ext4fs -s -l 2048M -a system new.img sys/

• Finish

• Finally, You can seen system files on sys Folder.
Screenshot_from_2017_02_25_00_18_45.png
 
Last edited:

LazerL0rd

Senior Member
Nov 2, 2016
1,363
1,157
Aberdeen, United Kingdom
www.thezest.dev
HOW TO EXTRACT ON WINDOWS

• Download SystemImage Extractor Tool Zip

• Extract Zip and Move to Home or Desktop

• Go to Tool's Folder

• Copy your "system.img" and Paste to Tool's Folder.

• Run as batch File

• Choose No.3 and Enter


• Enter


• Extraction Time


• Enter and Done


• Finally, You can see on your Tool location's system folder


• Enter


• Extraction Time


• Enter and Done


• Finally, You can see on your Tool location's system folder

If on Windows 10, bash could be used to do it the Linux way ;).
 

yan_saputra

Senior Member
Dev whether this method could also change BOOTLOGO reviews for review (NO BOOT ANIMATION)? I Want One change the original default BOOTLOGO see ... Since I newbie / very beginner ... Thanks in advance ... ?

(Sorry bad for English).
 

xdagee

Senior Member
Sep 4, 2012
1,809
1,650
Accra
xdagee.github.io
Google Pixel 7
Brilliant work

I spent some time over the weekend to dig deep into your guide, works as expected but for repacking modified system.new.dat.
This has been some challenges for Windows users especially after unpacking a system.new.dat file. I did some test on Windows with LineageOS and it ended up to be not successful. I ended up in an issue like "file_contexts not found please copy it to current" meanwhile the file is already in the folder. I don't if anyone also faced the same issue and how it was by-passed because I tried several time & same issue. pls kindly look at that, thank you.
 
  • Like
Reactions: ZawZaw

ZawZaw

Inactive Recognized Developer
Jul 10, 2016
1,827
3,047
Pyay, Myanmar.
zawzaww.github.io
i spent some time over the weekend to dig deep into your guide, works as expected but for repacking modified system.new.dat.
This has been some challenges for windows users especially after unpacking a system.new.dat file. I did some test on windows with lineageos and it ended up to be not successful. I ended up in an issue like "file_contexts not found please copy it to current" meanwhile the file is already in the folder. I don't if anyone also faced the same issue and how it was by-passed because i tried several time & same issue. Pls kindly look at that, thank you.
Thanks you very much. :D
 
Last edited:

arktay

Senior Member
Aug 21, 2012
319
170
Napoli
Getting "Exception EListError in module Imgextractor.exe at 000164F6. List index out of bounds (655360)" when extracting pixel 2 factory image on Windows :c
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23

    nexus_factory_images.jpg


    HOW TO EXTRACT FACTORY IMAGES

    Hello...Friends,
    I want to present my new guide for Nexus and Pixel Users. This is how to extract Google's Nexus and Pixel Factory Images.
    I hope you will love it.


    INTRODUCTION
    Here is how to extract factory image( system.img ). Some people want to get any apk from factory images. This guide is useful and need for beginner, and I aimed for Google Nexus and Pixel android beginner users.

    THANKS YOU


    REQUIREMENT
    • Computer ( Windows OS or Linux OS )
    • SystemImage Extractor Tool ( Windows )
    • Image Extractor Tool ( Linux )


    HOW TO SETUP TOOLS
    This is very easy method.

    For Windows OS :
    • Download Tool Zip
    • Extract File
    • Move to Desktop or Home
    • Go to Tool's Folder
    • Run batch File

    For Linux OS :
    • Download Tool Zip
    • Extract File
    • Move to Desktop or Home
    • Go to Tool's Folder
    • Right Click
    • Click Open Terminal


    DOWNLOAD

    Image Extractor Tool ( Windows )

    Image Extractor Tool ( Linux )


    THANKS & CREDITS
    @xda-developers
    @xpirt
    @matrixex
    Thanks You All Sir Developers for Your Tools.
    6
    HOW TO EXTRACT ON WINDOWS

    • Download SystemImage Extractor Tool Zip

    • Extract Zip and Move to Home or Desktop

    • Go to Tool's Folder

    • Copy your "system.img" and Paste to Tool's Folder.

    • Run as batch File

    • Choose No.3 and Enter
    Screenshot_1.png


    • Enter
    Screenshot_2.png


    • Extraction Time
    Screenshot_3.png


    • Enter and Done
    Screenshot_4.png


    • Finally, You can see on your Tool location's system folder
    Screenshot_5.png
    4
    HOW TO EXTRACT ON LINUX

    • Dowanload Image Extractor Tool Zip

    • Extract Zip and Move to Desktop or Home.

    • Go to Tool's Folder Location

    • Copy your "system.img' and paste to Tool's Location Folder

    • Right Click and Open Terminal.

    • Enter this
    HTML:
    mkdir sys

    • Enter this
    HTML:
    ./simg2img system.img sys.raw

    • Enter this
    HTML:
    sudo mount -t ext4 -o loop sys.raw sys/

    • Enter this
    2048MB is the depend on your "system.img" disk size.
    HTML:
    sudo ./make_ext4fs -s -l 2048M -a system new.img sys/

    • Finish

    • Finally, You can seen system files on sys Folder.
    Screenshot_from_2017_02_25_00_18_45.png
    2
    Have a nice day all of my friends. :highfive:
    Thanks You

    •••
    1
    Brilliant work

    I spent some time over the weekend to dig deep into your guide, works as expected but for repacking modified system.new.dat.
    This has been some challenges for Windows users especially after unpacking a system.new.dat file. I did some test on Windows with LineageOS and it ended up to be not successful. I ended up in an issue like "file_contexts not found please copy it to current" meanwhile the file is already in the folder. I don't if anyone also faced the same issue and how it was by-passed because I tried several time & same issue. pls kindly look at that, thank you.