Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when trying to pull stockrom.zip #146

Open
kometh0616 opened this issue Sep 3, 2017 · 3 comments
Open

Problem when trying to pull stockrom.zip #146

kometh0616 opened this issue Sep 3, 2017 · 3 comments

Comments

@kometh0616
Copy link

kometh0616 commented Sep 3, 2017

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?

@leon83
Copy link

leon83 commented Sep 3, 2017

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

@kometh0616
Copy link
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

@rishabkshk
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants