4mobiles.net
TRENDING
  • 10 years history of Android
  • How to setup eSIM on iPhone
  • How to add work profile on Android
  • News
  • Reviews
    In 2022 hackers received from Google $12 million in bounties

    In 2022 hackers received from Google $12 million in bounties

    Exploring top features of Android 12

    Exploring top features of Android 12

    Foldable and rollable phones – are they worth it?

    Foldable and rollable phones – are they worth it?

    Latest Leica smartphone – so unique that it’s available in a limited edition and only in Japan

    Latest Leica smartphone – so unique that it’s available in a limited edition and only in Japan

    OPPO smartphones evolution

    OPPO smartphones evolution

    OPPO revealed first rollable Android phone

    OPPO revealed first rollable Android phone

    All the things you should know about iPhone 12 & iPhone 12 Pro

    All the things you should know about iPhone 12 & iPhone 12 Pro

    LG Wing

    LG “Wing” – smartphone with rotatable display

  • Tutorials
    • Samsung
      • Galaxy S3 I9300
      • Galaxy S4 I9500
      • Galaxy S4 I9505
      • Galaxy S5 SM-G900
      • Gear S
      • Galaxy Alpha SM-G850
      • Galaxy A3 A300
      • Galaxy A5 A500
      • Galaxy A7 A700
      • Galaxy Note 3 Neo N7505
      • Galaxy Note 3 N9005
      • Galaxy Note 5 SM-N920
      • Galaxy Note 7 N930
      • Galaxy Tab A 9.7
      • Galaxy S6 SM-G920F
      • Galaxy S6 Edge SM-G925F
      • Galaxy J5 J500
      • Galaxy J7 J700
      • Galaxy S7 SM-G930
      • Galaxy S7 Edge SM-G935
      • Galaxy S8 SM-G950
      • Galaxy S8 Plus SM-G955
    • Huawei
      • P8
      • P8 Lite
      • P9 Lite
    • Xiaomi
      • Mi5
      • Mi5 Plus
    • OnePlus
      • OnePlus 3
    • iPhone
    • Other
      • Sony
      • HTC
      • LG
      • Nexus
      • Meizu
      • BlackBerry 10
      • Letv
      • Uhans
  • Apps
    • Communication
    • Education
    • Finance
    • GPS
    • Photo & Video
    • Music & Audio
    • Personalization
    • Sports
    • Tools
    • Weather
  • Games
    • Action
    • Adventure
    • Arcade
    • Casino
    • Horror
    • Puzzle
    • Racing
    • Shooter
    • Sports
  • Android OS
  • iOS
No Result
View All Result
SUBSCRIBE
  • News
  • Reviews
    In 2022 hackers received from Google $12 million in bounties

    In 2022 hackers received from Google $12 million in bounties

    Exploring top features of Android 12

    Exploring top features of Android 12

    Foldable and rollable phones – are they worth it?

    Foldable and rollable phones – are they worth it?

    Latest Leica smartphone – so unique that it’s available in a limited edition and only in Japan

    Latest Leica smartphone – so unique that it’s available in a limited edition and only in Japan

    OPPO smartphones evolution

    OPPO smartphones evolution

    OPPO revealed first rollable Android phone

    OPPO revealed first rollable Android phone

    All the things you should know about iPhone 12 & iPhone 12 Pro

    All the things you should know about iPhone 12 & iPhone 12 Pro

    LG Wing

    LG “Wing” – smartphone with rotatable display

  • Tutorials
    • Samsung
      • Galaxy S3 I9300
      • Galaxy S4 I9500
      • Galaxy S4 I9505
      • Galaxy S5 SM-G900
      • Gear S
      • Galaxy Alpha SM-G850
      • Galaxy A3 A300
      • Galaxy A5 A500
      • Galaxy A7 A700
      • Galaxy Note 3 Neo N7505
      • Galaxy Note 3 N9005
      • Galaxy Note 5 SM-N920
      • Galaxy Note 7 N930
      • Galaxy Tab A 9.7
      • Galaxy S6 SM-G920F
      • Galaxy S6 Edge SM-G925F
      • Galaxy J5 J500
      • Galaxy J7 J700
      • Galaxy S7 SM-G930
      • Galaxy S7 Edge SM-G935
      • Galaxy S8 SM-G950
      • Galaxy S8 Plus SM-G955
    • Huawei
      • P8
      • P8 Lite
      • P9 Lite
    • Xiaomi
      • Mi5
      • Mi5 Plus
    • OnePlus
      • OnePlus 3
    • iPhone
    • Other
      • Sony
      • HTC
      • LG
      • Nexus
      • Meizu
      • BlackBerry 10
      • Letv
      • Uhans
  • Apps
    • Communication
    • Education
    • Finance
    • GPS
    • Photo & Video
    • Music & Audio
    • Personalization
    • Sports
    • Tools
    • Weather
  • Games
    • Action
    • Adventure
    • Arcade
    • Casino
    • Horror
    • Puzzle
    • Racing
    • Shooter
    • Sports
  • Android OS
  • iOS
No Result
View All Result
4mobiles.net
No Result
View All Result

Pull and push files on Android using the ADB commands

January 29, 2020
in News, Tutorials
57
0
Home News
0
SHARES
647
VIEWS
Share on FacebookShare on TwitterShare on Linkedin

An advanced Android user already know how to retrieve files from the device, flash ROMs, flash recoveries, restore backups if the device is bricked and so on. These operations usually cost a lot of time, especially when you can’t find necessary tutorial, tool or solution.

Case No. 1:
Your Android device have internal memory only and there’s no microSD card support. You made a mistake by placing custom ROM zip file in to internal memory “data” or any other software related folder and it was erased during “wipe data” or “format system” process which you selected from recovery menu. Android device gets stuck on boot screen and all you can do is to turn it off and get back to recovery.

Case No. 2:
You have a backup file in internal memory, but your devise is bricked so you don’t want to loose it by choosing “wipe data”. Which in some cases you must do if you want to recover your device. Or maybe there’s a very valuable files, photos or any other data stuck inside in non booting Android.

There are other cases too. In these situations all you must know is how to do one most important operation – push and pull files from the Android device.

Prerequisites:
• Device should have at least 60% charge left on the battery.
• ADB and Fastboot drivers must be installed on PC.

Tutorial:
1. Turn off Android device and boot into fastboot mode.
2. Connect your device to PC using USB cable.
3. Open a command window in the ADB and Fastboot drivers folder: hold shift key and right clicking on the mouse in the empty space of the folder, then choose Open command window here
4. Type fastboot devices to check if your device is connected properly. If everything ok, you should get the device number:
fastboot devices
5. To pull any file from your device, you need to know its location. Once you know the location of the file, enter the following command to pull the file:

adb pull <path-of-the-file>

 

For example, let’s pull the Settings.apk which is located in the /System/app/ folder on device:

adb pull /system/app/Settings.apk

 

6. File will be pulled and saved in the ADB and Fastboot drivers folder itself. You can see the transfer rate in the command prompt.
ADB pull
7. Pulling any file from device is easy but pushing files to the device needs permissions, especially when you push files in to System partitions. So you might get this error:ADB mount error
8. You need to mount the file system as Read-Write rather than Read-only. Execute the following commands by hitting enter after each to mount the system writable:

adb shell
su
mount -o remount,rw /system

 

9. Device might prompt for root permissions, then you need to type su to grant them. You’ll get the following output if everything is ok:ADB mount writable
10. Once you done making changes, you must get back to the original Read-Only settings.

mount -o remount,ro /system

 

11. Type the following command to push a file to the device:

adb push <source-path> <target-path>


For example:

adb push Settings.apk /system/apps/

 

12. You’ll get the similar command prompt output if the file is pushed correctly to your device:ADB pushNow you know how to push and pull files using the ADB commands and unbrick your Android device.

Tags: adb fastboot commands to push filescmd commands to pull files from devicehow to flash custom rom on bricked Android devicehow to push files using adb commandspush and pull files in fastboot mode
Previous Post

Galaxy S7 & Galaxy S7 Edge review

Next Post

LG G5

Next Post
LG G5

LG G5

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Privacy Policy
  • About
  • Contact

4mobiles.net covers the latest smartphone news and reviews, providing tutorials for advanced Android and iOS users.

No Result
View All Result
  • News
  • Reviews
  • Tutorials
    • Samsung
      • Galaxy S3 I9300
      • Galaxy S4 I9500
      • Galaxy S4 I9505
      • Galaxy S5 SM-G900
      • Gear S
      • Galaxy Alpha SM-G850
      • Galaxy A3 A300
      • Galaxy A5 A500
      • Galaxy A7 A700
      • Galaxy Note 3 Neo N7505
      • Galaxy Note 3 N9005
      • Galaxy Note 5 SM-N920
      • Galaxy Note 7 N930
      • Galaxy Tab A 9.7
      • Galaxy S6 SM-G920F
      • Galaxy S6 Edge SM-G925F
      • Galaxy J5 J500
      • Galaxy J7 J700
      • Galaxy S7 SM-G930
      • Galaxy S7 Edge SM-G935
      • Galaxy S8 SM-G950
      • Galaxy S8 Plus SM-G955
    • Huawei
      • P8
      • P8 Lite
      • P9 Lite
    • Xiaomi
      • Mi5
      • Mi5 Plus
    • OnePlus
      • OnePlus 3
    • iPhone
    • Other
      • Sony
      • HTC
      • LG
      • Nexus
      • Meizu
      • BlackBerry 10
      • Letv
      • Uhans
  • Apps
    • Communication
    • Education
    • Finance
    • GPS
    • Photo & Video
    • Music & Audio
    • Personalization
    • Sports
    • Tools
    • Weather
  • Games
    • Action
    • Adventure
    • Arcade
    • Casino
    • Horror
    • Puzzle
    • Racing
    • Shooter
    • Sports
  • Android OS
  • iOS

4mobiles.net was developed with passion and perfection to create one better place for every smartphone lover to stay.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
error: Content is protected !!