Skip to content

Problem when trying to pull stockrom.zip #146

Description

@bumblecado021304

I'm having a problem when trying to pull stockrom.zip from my ZenFone Selfie with ../tools/releasetools/ota_target_from_phone -r command.
Here is terminal log:

darkeyes22@darkeyes22-linuxmint-18 ~ $ cd patchrom/Z00T
darkeyes22@darkeyes22-linuxmint-18 ~/patchrom/Z00T $ ../tools/releasetools/ota_target_from_phone -r
Wait for the device to be online...
Copy target file template into current working directory
cp: cannot stat '/tools/target_files_template/*': No such file or directory
Dump bootimage from device

It just stays at "Dump bootimage from device" for 5 minutes. And I checked tools directory and "target_files_template" directory was there, but when I initiate the command, it just doesn't want to detect it. Can anyone help me with that, please?

Activity

  1. leon83 commented on Sep 3, 2017

    @leon83

    Hi there, im not a pro cause i get another error with the patchrom
    But is your phone rooted? And USB Debugging enabled?
    The - r variable is when you are in recovery Mode.
    The -n flag is for normal Mode
    I hope i can you help a Bit
    Greets

  2. bumblecado021304 commented on Sep 3, 2017

    @bumblecado021304
    Author

    My phone is rooted with Magisk and I have USB debugging enabled.
    Tried -n variable too, same error and also it said that zip will not contain boot image

  3. rishabkshk commented on Sep 4, 2017

    @rishabkshk

    TRY recovery mode,(if twrp is available its better).
    Mount every partition using twrp .
    Unmount them all
    connect with the PC
    use the -r variable
    Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions