patchrom icon indicating copy to clipboard operation
patchrom copied to clipboard

Problem when trying to pull stockrom.zip

Open bumblecado021304 opened this issue 8 years ago • 3 comments

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?

bumblecado021304 avatar Sep 03 '17 05:09 bumblecado021304

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

leon83 avatar Sep 03 '17 08:09 leon83

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

bumblecado021304 avatar Sep 03 '17 10:09 bumblecado021304

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.

rishabkshk avatar Sep 04 '17 13:09 rishabkshk