Problem rooting with XiaoMiTool V2 - Xiaomi Mi Mix 2 Questions & Answers

Hello everyone,
I tried to root my Mi Mix 2 with XiaoMiTool V2 but I have got a problem during the step of pushing file magisk_20.4.zip.
In the log, I can see :
[10:07:04][PSTA ][70c729f4] Start process (781): "C:\Xiaomi\XiaomiTool2\res\tools\adb.exe" "-s" "ebf1f094" "push" "C:\Xiaomi\XiaomiTool2\res\tmp\magisk_20.4.zip" "/sdcard/magisk_20.4.zip"
[10:07:05][PROC ][55e63029] Process (781) output: adb: error: failed to copy 'C:\Xiaomi\XiaomiTool2\res\tmp\magisk_20.4.zip' to '/sdcard/magisk_20.4.zip': remote couldn't create file: No such file or directory
[10:07:05][PROC ][55e63029] Process (781) output: C:\Xiaomi\XiaomiTool2\res\tmp\magisk_20.4.zip: 1 file pushed, 0 skipped. 48.9 MB/s (5942417 bytes in 0.116s)
[10:07:05][INFO ][70c729f4] Process (781) ended with exit code: 1, output len: 268
[10:07:05][ERROR ][70c729f4] Task error: exception: Failed to push file to the device: adb: error: failed to copy 'C:\Xiaomi\XiaomiTool2\res\tmp\magisk_20.4.zip' to '/sdcard/magisk_20.4.zip': remote couldn't create file: No such file or directory : AdbPushTask -> status: RUNNING
Can you help me ??
Thanks by advance !

Do you know an other way to root it easily ?
Thanks by advance.

Related

[Q] Loop devices

Hello world,
i'm trying to install backtrack 5 on my Galaxy Nexus. I downloaded the backtrack 5 arm version, copied all files in /sdcard/BT5 and then got this:
Code:
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
[email protected]:/ # cd sdcard
[email protected]:/sdcard # cd BT5
[email protected]:/sdcard/BT5 # sh bootbt
Loop device exists
ioctl LOOP_SET_FD failed: Device or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
bootbt[23]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory
bootbt[24]: can't create /data/local/mnt/etc/hosts: No such file or directory
chroot: can't execute '/bin/bash': No such file or directory
Shutting down BackTrack ARM For Xoom
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: Invalid argument
1|[email protected]:/sdcard/BT5 #
I'm running android 4.1.1 stock rom with root and franco.kernel milestone 5 3.0.41 (the last stable)
What can i do? Thanks for help
Is it This guide you followed?
Herman76 said:
Is it This guide you followed?
Click to expand...
Click to collapse
No i followed a video from youtube. And others. But i simply download the backtrack arm version here: http://www.backtrack-linux.org/ then copied all the files and running with "sh bootby".
However i install cyanogen mod 10 and now it works for a bit. Now, after reinstalling all apps and use the phone a bit, i get again the loop devices error.
Why?

[Q] Backtrack 5 install isn't working?

So I have done all the steps to installing Backtrack 5 on my SM-T210 correctly, but when i try to boot it up using "bootbt" i get an error like this:
"[email protected]:/ $
130|[email protected]:/ $ cd /storage/extSdCard/BT5
[email protected]:/storage/extSdCard/BT5 $ su
[email protected]:/storage/extSdCard/BT5 # sh bootbt
Loop device exists
open backing file failed: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
bootbt[23]: can't create /data/local/mnt/etc/resolv.conf: No such file or directory
bootbt[24]: can't create /data/local/mnt/etc/hosts: No such file or directory
chroot: can't execute '/bin/bash': No such file or directory
Shutting down BackTrack ARM For Xoom
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
failed: Invalid argument
1|[email protected]:/storage/extSdCard/BT5 #"
any suggestions? Im new to android.
http://forum.xda-developers.com/showthread.php?t=1074723
This thread covers installing backtrack on the Xoom tablet. Also implies it can be installed on other devices. Last activity in the thread was in 2012 but there still may be some helpful information.
sent from a buggy xda app by some miracle

[Q] Error Rooting

I keep getting this error everytime i try to root. Any suggestions on what to do?
[*] Waiting for device...(Connect your LGOG via USB in Charge Only Mode)
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[*] Device found.
Beginning Root Process
----------------------------------------
Now change from Charge Only to MTP
No need to disconnect USB
Press Enter after making the change.
Press any key to continue . . .
-----------------------------------------
adbd cannot run as root in production builds
error: device not found
If uid=0(root), gid=0(root) is displayed
Press Enter to Continue
Press any key to continue . . .
-------------------------------------------
3809 KB/s (1085140 bytes in 0.278s)
mount: permission denied (are you root?)
cp: can't create '/system/xbin/busybox': Read-only file system
failed to copy 'su' to '/system/xbin/su': Read-only file system
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
Unable to chown /system/xbin/su: No such file or directory
lucien90 said:
I keep getting this error everytime i try to root. Any suggestions on what to do?
[*] Waiting for device...(Connect your LGOG via USB in Charge Only Mode)
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[*] Device found.
Beginning Root Process
----------------------------------------
Now change from Charge Only to MTP
No need to disconnect USB
Press Enter after making the change.
Press any key to continue . . .
-----------------------------------------
adbd cannot run as root in production builds
error: device not found
If uid=0(root), gid=0(root) is displayed
Press Enter to Continue
Press any key to continue . . .
-------------------------------------------
3809 KB/s (1085140 bytes in 0.278s)
mount: permission denied (are you root?)
cp: can't create '/system/xbin/busybox': Read-only file system
failed to copy 'su' to '/system/xbin/su': Read-only file system
failed to copy 'Superuser.apk' to '/system/app/Superuser.apk': Read-only file sy
stem
Unable to chown /system/xbin/su: No such file or directory
Click to expand...
Click to collapse
i had that, you might want to try another rooting method. I hear towelroot works with our g pro and it's pretty easy to use.

Installing dualrecovery

Hello,
I downgraded my lolipop to kitkat then rooted and I want to instal dualrecovery. I don't know exactly what to do with it. I want to install xposed + lolipop thats why I'm needing recovery. BTW. Sorry for my english
Please look at the log:
=============================================
Getting device and ROM info
=============================================
Device model is D5503
Firmware is 14.4.A.0.108
Android version is 4.4.4
=============================================
Step2 : Sending the recovery files.
=============================================
adb: error: cannot stat '..\tmp\dr.prop': No such file or directory
adb: error: cannot stat '..\system\bin\chargemon': No such file or directory
adb: error: cannot stat '..\system\bin\mr': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\dualrecovery.sh': No such file or directory
adb: error: cannot stat '..\tmp\NDRUtils.apk': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\rickiller.sh': No such file or directory
adb: error: cannot stat '..\tmp\byeselinux.ko': No such file or directory
adb: error: cannot stat 'byeselinux\byeselinux.sh': No such file or directory
adb: error: cannot stat '..\tmp\wp_mod.ko': No such file or directory
adb: error: cannot stat 'byeselinux\sysrw.sh': No such file or directory
adb: error: cannot stat '..\tmp\modulecrcpatch': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\busybox': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\recovery.twrp.cpio.lzma': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\recovery.philz.cpio.lzma': No such file or directory
adb: error: cannot stat '..\tmp\installrecovery.sh': No such file or directory
=============================================
Step3 : Setup of dual recovery.
=============================================
Unable to open /data/local/tmp/recovery/install.sh: No such file or directory
Unable to open /data/local/tmp/recovery/busybox: No such file or directory
Look at your device and grant supersu access!
Press any key to continue AFTER granting root access.
sh: /data/local/tmp/recovery/busybox: not found
Press any key to continue . . .
sh: /data/local/tmp/recovery/install.sh: not found
=============================================
Installation FAILED!
Please copy and paste the contents of this
window to the DevDB thread for troubleshooting!
=============================================
PMMD123 said:
Hello,
I downgraded my lolipop to kitkat then rooted and I want to instal dualrecovery. I don't know exactly what to do with it. I want to install xposed + lolipop thats why I'm needing recovery. BTW. Sorry for my english
Please look at the log:
=============================================
Getting device and ROM info
=============================================
Device model is D5503
Firmware is 14.4.A.0.108
Android version is 4.4.4
=============================================
Step2 : Sending the recovery files.
=============================================
adb: error: cannot stat '..\tmp\dr.prop': No such file or directory
adb: error: cannot stat '..\system\bin\chargemon': No such file or directory
adb: error: cannot stat '..\system\bin\mr': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\dualrecovery.sh': No such file or directory
adb: error: cannot stat '..\tmp\NDRUtils.apk': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\rickiller.sh': No such file or directory
adb: error: cannot stat '..\tmp\byeselinux.ko': No such file or directory
adb: error: cannot stat 'byeselinux\byeselinux.sh': No such file or directory
adb: error: cannot stat '..\tmp\wp_mod.ko': No such file or directory
adb: error: cannot stat 'byeselinux\sysrw.sh': No such file or directory
adb: error: cannot stat '..\tmp\modulecrcpatch': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\busybox': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\recovery.twrp.cpio.lzma': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\recovery.philz.cpio.lzma': No such file or directory
adb: error: cannot stat '..\tmp\installrecovery.sh': No such file or directory
=============================================
Step3 : Setup of dual recovery.
=============================================
Unable to open /data/local/tmp/recovery/install.sh: No such file or directory
Unable to open /data/local/tmp/recovery/busybox: No such file or directory
Look at your device and grant supersu access!
Press any key to continue AFTER granting root access.
sh: /data/local/tmp/recovery/busybox: not found
Press any key to continue . . .
sh: /data/local/tmp/recovery/install.sh: not found
=============================================
Installation FAILED!
Please copy and paste the contents of this
window to the DevDB thread for troubleshooting!
=============================================
Click to expand...
Click to collapse
I've never seen that error message,but my first guess would probably be wrong menu choice. When you first open the dual recovery bat file, you get a prompt to enter #1, 2, 3, or 4. Double check and make sure you pick right. Also make sure you downloaded the right file.
Im sure that I have right file and I press 1. Personally I think thats a problem connected with windows 10 :/
PMMD123 said:
Im sure that I have right file and I press 1. Personally I think thats a problem connected with windows 10 :/
Click to expand...
Click to collapse
Maybe first root your device with kingoroot then choose number 2
I'll try but error for example error: "adb: error: cannot stat '..\tmp\dr.prop': No such file or directory" means that installer can't find the right path to file right?
EDIT:
As I expected... After reflashing, rooting with Kingo ROOT + SuperUser
=============================================
Getting device and ROM info
=============================================
Device model is D5503
Firmware is 14.4.A.0.108
Android version is 4.4.4
=============================================
Step2 : Sending the recovery files.
=============================================
adb: error: cannot stat '..\tmp\dr.prop': No such file or directory
adb: error: cannot stat '..\system\bin\chargemon': No such file or directory
adb: error: cannot stat '..\system\bin\mr': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\dualrecovery.sh': No such file or directory
adb: error: cannot stat '..\tmp\NDRUtils.apk': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\rickiller.sh': No such file or directory
adb: error: cannot stat '..\tmp\byeselinux.ko': No such file or directory
adb: error: cannot stat 'byeselinux\byeselinux.sh': No such file or directory
adb: error: cannot stat '..\tmp\wp_mod.ko': No such file or directory
adb: error: cannot stat 'byeselinux\sysrw.sh': No such file or directory
adb: error: cannot stat '..\tmp\modulecrcpatch': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\busybox': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\recovery.twrp.cpio.lzma': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\recovery.philz.cpio.lzma': No such file or directory
adb: error: cannot stat '..\tmp\installrecovery.sh': No such file or directory
=============================================
Step3 : Setup of dual recovery.
=============================================
Unable to open /data/local/tmp/recovery/install.sh: No such file or directory
Unable to open /data/local/tmp/recovery/busybox: No such file or directory
tmp-mksh: /data/local/tmp/recovery/install.sh: not found
=============================================
Installation FAILED!
Please copy and paste the contents of this
window to the DevDB thread for troubleshooting!
=============================================
PMMD123 said:
I'll try but error for example error: "adb: error: cannot stat '..\tmp\dr.prop': No such file or directory" means that installer can't find the right path to file right?
EDIT:
As I expected... After reflashing, rooting with Kingo ROOT + SuperUser
=============================================
Getting device and ROM info
=============================================
Device model is D5503
Firmware is 14.4.A.0.108
Android version is 4.4.4
=============================================
Step2 : Sending the recovery files.
=============================================
adb: error: cannot stat '..\tmp\dr.prop': No such file or directory
adb: error: cannot stat '..\system\bin\chargemon': No such file or directory
adb: error: cannot stat '..\system\bin\mr': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\dualrecovery.sh': No such file or directory
adb: error: cannot stat '..\tmp\NDRUtils.apk': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\rickiller.sh': No such file or directory
adb: error: cannot stat '..\tmp\byeselinux.ko': No such file or directory
adb: error: cannot stat 'byeselinux\byeselinux.sh': No such file or directory
adb: error: cannot stat '..\tmp\wp_mod.ko': No such file or directory
adb: error: cannot stat 'byeselinux\sysrw.sh': No such file or directory
adb: error: cannot stat '..\tmp\modulecrcpatch': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\busybox': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\recovery.twrp.cpio.lzma': No such file or directory
adb: error: cannot stat '..\system\.XZDualRecovery\xbin\recovery.philz.cpio.lzma': No such file or directory
adb: error: cannot stat '..\tmp\installrecovery.sh': No such file or directory
=============================================
Step3 : Setup of dual recovery.
=============================================
Unable to open /data/local/tmp/recovery/install.sh: No such file or directory
Unable to open /data/local/tmp/recovery/busybox: No such file or directory
tmp-mksh: /data/local/tmp/recovery/install.sh: not found
=============================================
Installation FAILED!
Please copy and paste the contents of this
window to the DevDB thread for troubleshooting!
=============================================
Click to expand...
Click to collapse
You might be right about the Windows 10 thing... Did you do this --
Please copy and paste the contents of this
window to the DevDB thread for troubleshooting!
Thats a good idea coz I couldn't do that yesterday because of being a new member now I've permission thank you! I hope it will help
Problem solved

Xperia Z Recovery Installation can't find needed files

Hello. Sorry for my (german) English.
After hours and hours testing I must ask the forum.
I have rootet some phones yet, but with the Sony Xperia Z 6603 I don't know what to do anymore.
I followed this help:
techbeasts.com/install-cwmtwrp-recovery-root-xperia-z-107a0228-firmware/
Sorry, I'm not allowed to format a extern link.
(Some things seems to has changed since the help was written. The links to EasyRootTool goes to One Click Root Tool, and in others helps the needed SDK is now Android Studio whith maybe other Filestructures, so I read)
I have (under windows 10)
1. Downgrade to .283 Firmware and rooted
The problem is at point
f: Download latest installer for Xperia Z (Z-lockeddualrecovery2.8.xx-RELEASE.installer.zip)
I have downloaded a Package XZDualRecovery-2.8-RELEASE. Hope that that is the right one.
A help tells me, that I should start a install.bat from that folder. This file is in the folder /src/ of the recovery-package.
I start the install.bat from there. At this point I don't know which option I should choose, because in the help bevor there was no word about SuperSU or other.
Code:
1. Installation on ROM rooted with SuperSU
2. Installation on ROM rooted with SuperUser
3. Installation on an unrooted (Lollipop 5.0) ROM using rootkitXperia
4. Install ADB drivers to windows
I press "1" for luck and get the answers at the bottom of this post.
Ergo: I have no recovery installed. "NDR Utils" says:
Code:
Unable to read XZDR.prop
[NUT]'s XZDualRecovery is required'
The problem seems, that I don't know where to put the files from the recovery.
I tested something with
- starting the Android Studio before starting install.bat
(because I think that the adb-driver where activated with the studio)
- copying the Recovery-Folders to the Folder
...\AppData\Local\Android\Sdk\platform-tools
- copying the files that the install.bat needs (dr.prop and others) from the Folder
...\platform-tools\includes\builder\ to the platform-tools-Folder
but always the install.bat says that it can't find needed Files.
So how can I solve the problem? Whats my mistake?
Which files do I have to copy to which folder?
Firewall and Virusscan are offline and I have Admin-Rights.
RootChecker on the phone says that I have rooted. SuperSU has access.
SDK-platform-tools is in the windows System-Path.
Thanks from webazubi
Code:
* server not running *
* daemon not running. starting it now at tcp:5037 *
* daemon started successfully *
=============================================
Waiting for Device, connect USB cable now...
=============================================
Device found!
=============================================
Getting ro.build.product
=============================================
Device model is C6603
Firmware is 10.5.1.A.0.283
=============================================
Step2 : Sending the recovery files.
=============================================
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
=============================================
Waiting for Device, connect USB cable now...
=============================================
Device found!
=============================================
Getting ro.build.product
=============================================
Device model is C6603
Firmware is 10.5.1.A.0.283
=============================================
Step2 : Sending the recovery files.
=============================================
cannot stat 'dr.prop': No such file or directory
cannot stat 'chargemon.sh': No such file or directory
cannot stat 'mr.sh': No such file or directory
cannot stat 'dualrecovery.sh': No such file or directory
1894 KB/s (65965 bytes in 0.034s)
cannot stat 'rickiller.sh': No such file or directory
2479 KB/s (29204 bytes in 0.011s)
91 KB/s (699 bytes in 0.007s)
2171 KB/s (34473 bytes in 0.015s)
260 KB/s (1202 bytes in 0.004s)
2058 KB/s (96956 bytes in 0.045s)
2133 KB/s (657704 bytes in 0.301s)
cannot stat 'recovery.twrp.cpio.lzma': No such file or directory
cannot stat 'recovery.philz.cpio.lzma': No such file or directory
cannot stat 'installrecovery.sh': No such file or directory
=============================================
Step3 : Setup of dual recovery.
=============================================
Unable to open /data/local/tmp/recovery/install.sh: No such file or directory
Look at your device and grant supersu access!
Press any key to continue AFTER granting root access.
-rwxr-xr-x 1 shell shell 657704 Nov 9 2014 /data/local/tmp/recovery/busybox
Drücken Sie eine beliebige Taste . . .
tmp-mksh: /data/local/tmp/recovery/install.sh: not found
=============================================
Installation finished. Enjoy the recoveries!
=============================================

Categories

Resources