Possible way of Regaining Root - Motorola Atrix HD
http://forum.xda-developers.com/showthread.php?t=1911261
Please use the thread above at your own risk
This thread may help possibly restore root after the OTA update, I personally used it to restore my root, along with the help of Matt Goff.
I am a NOOB and will help were I can with questions, Good luck
fullpozzy said:
http://forum.xda-developers.com/showthread.php?t=1911261
Please use the thread above at your own risk
This thread may help possibly restore root after the OTA update, I personally used it to restore my root, along with the help of Matt Goff.
I am a NOOB and will help were I can with questions, Good luck
Click to expand...
Click to collapse
Did you use the same steps on the OP of that thread? I can't get root on the phone, Root Checker fails but I still can get root on the ADB shell.
mcastilloy2k said:
Did you use the same steps on the OP of that thread? I can't get root on the phone, Root Checker fails but I still can get root on the ADB shell.
Click to expand...
Click to collapse
No, I had Superuser.apk and busybox still on the phone so all i had to do was bring over his SU binary file. If you read more into the thread people talk about just moving the SU file over via busybox. Also when i got my new su file onto the phone it kept giving me permission not granted while using apps that required root access and I had to do a factory reset to correct the problem.
Hopefully you are using Voodoo rootkeeper and have a protected copy of your su file. If you are then if something goes wrong while trying to move in the new su file, you will still be able to access root using your backup file.
To access the voodoo protected SU file, read post 47 linked below, he expalins it real well
http://forum.xda-developers.com/showpost.php?p=32482968&postcount=47
it worked!!!!
now i have root on jb 4.1.1
Glad it helped.
Ok so I've backed up my SU using Voodoo prior to the OTA but for some reason Im one of the unlucky ones who still didn't manage to keep root.
I've tried the link you posted and tired ADB and looks like I can get to the root backup from there somehow (the # pops up). But I still cant get it to work on my phone.
I'd appreciate any help/steps on ADB to get back my root. Here's my ADB log if that helps:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Ahmad>cd desktop
C:\Users\Ahmad\Desktop>cd adb shell
The system cannot find the path specified.
C:\Users\Ahmad\Desktop>cd adb
C:\Users\Ahmad\Desktop\ADB>adb shell
[email protected]:/ $ su
su
/system/bin/sh: su: not found
127|[email protected]:/ $ cd system
cd system
[email protected]:/system $ ./su-backup; su
./su-backup; su
/system/bin/sh: ./su-backup: not found
/system/bin/sh: su: not found
127|[email protected]:/system $ cd /system/usr/we-need-root
cd /system/usr/we-need-root
[email protected]:/system/usr/we-need-root $ ./su-backup; su
./su-backup; su
[email protected]:/system/usr/we-need-root # ls -l /system/usr/we-need-root
ls -l /system/usr/we-need-root
-rwsr-sr-x root root 380532 2012-12-15 21:46 su-backup
[email protected]:/system/usr/we-need-root #
C:\Users\Ahmad\Desktop\ADB>adb shell
[email protected]:/ $ ln -s /system/xbin/su /system/bin/su
ln -s /system/xbin/su /system/bin/su
link failed File exists
255|[email protected]:/ $ cd system
cd system
[email protected]:/system $ ./su-backup; su
./su-backup; su
/system/bin/sh: ./su-backup: not found
/system/bin/sh: su: not found
127|[email protected]:/system $ cd /system/usr/we-need-root
cd /system/usr/we-need-root
[email protected]:/system/usr/we-need-root $ ./su-backup; su
./su-backup; su
[email protected]:/system/usr/we-need-root # mount -o remount,rw /system
mount -o remount,rw /system
[email protected]:/system/usr/we-need-root # dd if=/data/local/tmp/Superuser.apk of=/s
ystem/app/Superuser.apk
p/Superuser.apk of=/system/app/Superuser.apk <
/data/local/tmp/Superuser.apk: cannot open for read: No such file or directory
1|[email protected]:/system/usr/we-need-root # chmod 644 /system/app/Superuser.apk
chmod 644 /system/app/Superuser.apk
[email protected]:/system/usr/we-need-root # chmod 6755 /system/xbin/su
chmod 6755 /system/xbin/su
Unable to chmod /system/xbin/su: No such file or directory
10|[email protected]:/system/usr/we-need-root # busybox cp /system/xbin/su /system/bin
/su
/xbin/su /system/bin/su <
cp: can't stat '/system/xbin/su': No such file or directory
1|[email protected]:/system/usr/we-need-root # ln -s /system/xbin/su /system/bin/su
ln -s /system/xbin/su /system/bin/su
link failed File exists
255|[email protected]:/system/usr/we-need-root # mount -o remount,ro /system
mount -o remount,ro /system
[email protected]:/system/usr/we-need-root # exit
exit
/system/bin/sh: su: not found
127|[email protected]:/system/usr/we-need-root $ exit
exit
C:\Users\Ahmad\Desktop\ADB>adb reboot
C:\Users\Ahmad\Desktop\ADB>adb push C:\Users\Ahmad\Desktop\newroot\busybox /data
/local/tmp
3744 KB/s (1085140 bytes in 0.283s)
C:\Users\Ahmad\Desktop\ADB>adb push C:\Users\Ahmad\Desktop\newroot\Superuser.apk
/data/local/tmp
3585 KB/s (1468798 bytes in 0.400s)
C:\Users\Ahmad\Desktop\ADB>adb shell
[email protected]:/ $ cd /system/usr/we-need-root
cd /system/usr/we-need-root
[email protected]:/system/usr/we-need-root $ ./su-backup; su
./su-backup; su
[email protected]:/system/usr/we-need-root # mount -o remount,rw /system
mount -o remount,rw /system
[email protected]:/system/usr/we-need-root # dd if=/data/local/tmp/busybox of=/system/
xbin/busybox
p/busybox of=/system/xbin/busybox <
2119+1 records in
2119+1 records out
1085140 bytes transferred in 0.107 secs (10141495 bytes/sec)
[email protected]:/system/usr/we-need-root # dd if=/data/local/tmp/Superuser.apk of=/s
ystem/app/Superuser.apk
p/Superuser.apk of=/system/app/Superuser.apk <
2868+1 records in
2868+1 records out
1468798 bytes transferred in 0.100 secs (14687980 bytes/sec)
[email protected]:/system/usr/we-need-root # chmod 755 /system/xbin/busybox
chmod 755 /system/xbin/busybox
[email protected]:/system/usr/we-need-root # chmod 644 /system/app/Superuser.apk
chmod 644 /system/app/Superuser.apk
[email protected]:/system/usr/we-need-root # chmod 6755 /system/xbin/su
chmod 6755 /system/xbin/su
Unable to chmod /system/xbin/su: No such file or directory
10|[email protected]:/system/usr/we-need-root # busybox cp /system/xbin/su /system/bin
/su
/xbin/su /system/bin/su <
cp: can't stat '/system/xbin/su': No such file or directory
1|[email protected]:/system/usr/we-need-root # ln -s /system/xbin/su /system/bin/su
ln -s /system/xbin/su /system/bin/su
link failed File exists
255|[email protected]:/system/usr/we-need-root # mount -o remount,ro /system
mount -o remount,ro /system
[email protected]:/system/usr/we-need-root # exit
exit
/system/bin/sh: su: not found
127|[email protected]:/system/usr/we-need-root $ exit
exit
C:\Users\Ahmad\Desktop\ADB>adb reboot
C:\Users\Ahmad\Desktop\ADB>
Click to expand...
Click to collapse
Nevermind, got my root back guys!
Kept messing around with adb somehow, then rebooted then restored via the voodoo app and it surprisingly worked!!
Thanks OP for all the links
Sent from my MB886 using Tapatalk 2
This method works for me!
I lost the root after OTA to 4.1.1. However, I try this method and it actually let me retain my root! During the process I thought it might fail but after reboot, the root is back!! Thanks really much!!!
help with su?
So I had root before the update but didn't do the voodoo backup. I've checked and I have the following but when I su, I don't get the # prompt, I don't get a error but I can't mount the file system. Am I SOL or is there any chance of getting root back?
lrwxrwxrwx root root 2012-12-14 21:29 su -> /system/xbin/su
-rwxr-xr-x root shell 22364 2012-12-14 21:29 su
[email protected]:/system/bin $ su
[email protected]:/system/bin $
robertatl said:
So I had root before the update but didn't do the voodoo backup. I've checked and I have the following but when I su, I don't get the # prompt, I don't get a error but I can't mount the file system. Am I SOL or is there any chance of getting root back?
lrwxrwxrwx root root 2012-12-14 21:29 su -> /system/xbin/su
-rwxr-xr-x root shell 22364 2012-12-14 21:29 su
[email protected]:/system/bin $ su
[email protected]:/system/bin $
Click to expand...
Click to collapse
Try my little batch... but its meant for voodoo OTA rootkeeper people who lost root.
http://dl.dropbox.com/u/15093625/RestoreRoot.zip
mattlgroff said:
Try my little batch... but its meant for voodoo OTA rootkeeper people who lost root.
http://dl.dropbox.com/u/15093625/RestoreRoot.zip
Click to expand...
Click to collapse
Thanks, I tried but since I can't get a real "root" prompt, it fails on the mount command.
mattlgroff said:
Try my little batch... but its meant for voodoo OTA rootkeeper people who lost root.
http://dl.dropbox.com/u/15093625/RestoreRoot.zip
Click to expand...
Click to collapse
It said unable to SU rebooting...it came back and i was set!!!!
it works!!!
funds will be heading your way on payday!
my so far unsucessful attemt to regain root after jellybean update
anyone know if this can be rooted? and how to do it? i tried the batch several times. no go . but thanks anyway.
[email protected]:/ $ ls -l /system/bin
ls -l /system/bin
-rwxr-xr-x root shell 22288 2012-11-18 22:24 ATFWD-daemon
-rwxr-xr-x root shell 13604 2012-11-18 22:24 CifsMount
-rwxr-xr-x root shell 43208 2012-11-18 22:24 RescueServer
-rwxr-xr-x root shell 9772 2012-11-18 22:24 RescueStarter
lrwxrwxrwx root root 2012-12-15 05:42 [ -> /system/bin/motobox
-rwxr-xr-x root shell 9396 2008-08-01 08:00 acdbtest
-rwxr-xr-x root shell 191 2012-06-23 03:49 am
-rwxr-xr-x root shell 56971 2012-11-18 22:24 ap_gain.bin
-rwxr-xr-x root shell 27910 2012-06-23 03:49 ap_gain_mmul.bin
-rwxr-xr-x root shell 939 2012-06-23 03:49 apanic_annotate.sh
-rwxr-xr-x root shell 18524 2012-11-18 22:24 aplogd
-rwxr-xr-x root shell 9500 2012-11-18 22:24 app_process
-rwxr-xr-x root shell 49452 2012-11-18 22:24 applypatch
-rwxr-xr-x root shell 9508 2008-08-01 08:00 atrace
-rwxr-xr-x root shell 21792 2012-11-18 22:24 batch
-rwxr-xr-x root shell 17712 2012-11-18 22:24 batt_health
-rwxr-xr-x root shell 5108 2012-11-18 22:24 bluetoothd
-rwxr-xr-x root shell 199 2012-06-23 03:49 bmgr
-rwxr-xr-x root shell 29980 2012-11-18 22:24 bootanimation
-rwxr-xr-x root shell 34396 2012-11-18 22:24 bridgemgrd
-rwxr-xr-x root shell 9592 2012-11-18 22:24 btnvtool
-rwxr-xr-x root shell 156 2012-06-23 03:49 bu
-rwxr-xr-x root shell 9448 2012-11-18 22:24 bug2go-bugreport
-rwxr-xr-x root shell 2100 2008-08-01 08:00 bug2go-bugreport-oem
-rwxr-xr-x root shell 5352 2012-11-18 22:24 bugreport
-rwxr-xr-x root root 863436 2012-12-15 03:24 busybox
lrwxr-xr-x root shell 2012-06-23 04:02 cat -> toolbox
-rwxr-xr-x root shell 51472 2012-11-18 22:24 charge_only_mode
lrwxr-xr-x root shell 2012-06-23 04:02 chmod -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 chown -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 cmp -> toolbox
-rwxr-xr-x root shell 505904 2012-11-18 22:24 cnd
-rwxr-xr-x root shell 207 2008-08-01 08:00 content
lrwxr-xr-x root shell 2012-06-23 04:02 cp -> motobox
-rwxr-xr-x root shell 62756 2012-11-18 22:24 curl
-rwxr-xr-x root shell 5352 2012-11-18 22:24 dalvikvm
lrwxr-xr-x root shell 2012-06-23 04:02 date -> toolbox
-rwxr-xr-x root shell 132440 2012-11-18 22:24 dbus-daemon
-rwxr-xr-x root shell 38536 2012-11-18 22:24 dbvc_atvc_property_set
lrwxr-xr-x root shell 2012-06-23 04:02 dd -> toolbox
-rwxr-xr-x root shell 21736 2012-11-18 22:24 debuggerd
-rwxr-xr-x root shell 9396 2012-11-18 22:24 dexopt
lrwxr-xr-x root shell 2012-06-23 04:02 df -> toolbox
-rwxr-xr-x root shell 62884 2012-11-18 22:24 dhcpcd
-rwxr-xr-x root shell 9608 2012-11-18 22:24 diag_mdlog
-rwxr-xr-x root shell 9560 2008-08-01 08:00 diag_mdlog-getlogs
-rwxr-xr-x root shell 5304 2012-11-18 22:24 diag_mdlog-wrap
-rwxr-xr-x root shell 9668 2012-11-18 22:24 diag_uart_log
-rwxr-xr-x root shell 412364 2012-11-18 22:24 dlnasrv
lrwxr-xr-x root shell 2012-06-23 04:02 dmesg -> toolbox
-rwxr-xr-x root shell 105816 2012-11-18 22:24 dnsmasq
lrwxrwxrwx root root 2012-12-15 03:24 dpkg -> /system/bin/busyb
ox
-rwxr-xr-x root shell 5424 2012-11-18 22:24 drmdiagapp
-rwxr-xr-x root shell 50460 2012-11-18 22:24 drmserver
-rwxr-xr-x root shell 58792 2012-11-18 22:24 ds_fmc_appd
-rwxr-xr-x root shell 42280 2012-11-18 22:24 dumpstate
-rwxr-xr-x root shell 9448 2012-11-18 22:24 dumpsys
-rwxr-xr-x root shell 30116 2012-11-18 22:24 dun-server
-rwxr-xr-x root shell 122500 2012-11-18 22:24 e2fsck
-rwxr-xr-x root shell 91780 2012-11-18 22:24 enc_mgt_tool
-rwxr-xr-x root shell 5304 2008-08-01 08:00 fips_loader
-rwxr-xr-x root shell 13652 2012-11-18 22:24 fmconfig
-rwxr-xr-x root shell 26148 2012-11-18 22:24 fsck_msdos
-rwxr-xr-x root shell 46568 2012-11-18 22:24 ftmdaemon
-rwxr-xr-x root shell 13544 2012-11-18 22:24 ftmipcd
lrwxr-xr-x root shell 2012-06-23 04:02 getconfig -> motobox
lrwxr-xr-x root shell 2012-06-23 04:02 getevent -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 getprop -> toolbox
-rwxr-xr-x root shell 5304 2012-11-18 22:24 graphicsd
-rwxr-xr-x root root 0 2012-12-15 05:43 gzip
-rwxr-xr-x root shell 124964 2012-11-18 22:24 hci_qcomm_init
-rwxr-xr-x root shell 27220 2012-11-18 22:24 hciattach
lrwxr-xr-x root shell 2012-06-23 04:02 hd -> toolbox
-rwxr-xr-x root shell 281968 2012-11-18 22:24 hostapd
-rwxr-xr-x root shell 26076 2012-11-18 22:24 hostapd_cli
lrwxr-xr-x root shell 2012-06-23 04:02 id -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 ifconfig -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 iftop -> toolbox
-rwxr-xr-x root shell 194 2012-06-23 03:49 ime
lrwxrwxrwx root root 2012-12-15 03:24 inotifyd -> /system/bin/b
usybox
-rwxr-xr-x root shell 201 2012-06-23 03:49 input
lrwxr-xr-x root shell 2012-06-23 04:02 insmod -> toolbox
-rwxr-xr-x root shell 22012 2012-11-18 22:24 installd
lrwxr-xr-x root shell 2012-06-23 04:02 ioctl -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 ionice -> toolbox
-rwxr-xr-x root root 0 2012-12-15 05:43 ip
-rwxr-xr-x root shell 187372 2012-11-18 22:24 ip6tables
-rwxr-x--- root system 196260 2012-11-18 22:24 iptables
-rwxr-xr-x root shell 14232 2012-11-18 22:24 keystore
lrwxr-xr-x root shell 2012-06-23 04:02 kill -> toolbox
-rwxr-xr-x root shell 79908 2012-11-18 22:24 linker
lrwxr-xr-x root shell 2012-06-23 04:02 ln -> toolbox
-rwxr-xr-x root shell 38360 2008-08-01 08:00 location-mq
lrwxr-xr-x root shell 2012-06-23 04:02 log -> toolbox
-rwxr-xr-x root shell 13600 2012-11-18 22:24 logcat
-rwxr-xr-x root shell 9520 2012-11-18 22:24 logwrapper
lrwxr-xr-x root shell 2012-06-23 04:02 ls -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 lsmod -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 lsof -> toolbox
-rwxr-xr-x root shell 10500 2012-11-18 22:24 make_ext4fs
lrwxr-xr-x root shell 2012-06-23 04:02 masterclear -> motobox
lrwxrwxrwx root root 2012-11-18 22:26 md5 -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 md5sum -> motobox
-rwxr-xr-x root shell 259452 2008-08-01 08:00 mdnsd
-rwxr-xr-x root shell 5300 2012-11-18 22:24 mediaserver
lrwxr-xr-x root shell 2012-06-23 04:02 mkdir -> toolbox
-rwxr-xr-x root shell 153344 2012-11-18 22:24 mksh
lrwxr-xr-x root shell 2012-06-23 04:02 mkswap -> motobox
-rwxr-xr-x root shell 30236 2012-11-18 22:24 mm-adec-omxaac-test
-rwxr-xr-x root shell 25864 2008-08-01 08:00 mm-adec-omxwma-test
-rwxr-xr-x root shell 17676 2012-11-18 22:24 mm-aenc-omxaac-test
-rwxr-xr-x root shell 17672 2012-11-18 22:24 mm-aenc-omxamr-test
-rwxr-xr-x root shell 17864 2012-11-18 22:24 mm-aenc-omxevrc-test
-rwxr-xr-x root shell 17864 2012-11-18 22:24 mm-aenc-omxqcelp13-test
-rwxr-xr-x root shell 5304 2008-08-01 08:00 mm-audio-alsa-test
-rwxr-xr-x root shell 21756 2008-08-01 08:00 mm-jpeg-dec-test
-rwxr-xr-x root shell 21804 2008-08-01 08:00 mm-jpeg-enc-test
-rwxr-xr-x root shell 25852 2008-08-01 08:00 mm-mpo-dec-test
-rwxr-xr-x root shell 17724 2012-11-18 22:24 mm-pp-daemon
-rwxr-xr-x root shell 5352 2012-11-18 22:24 mm-qcamera-daemon
-rwxr-xr-x root shell 63856 2008-08-01 08:00 mm-qcamera-test
-rwxr-xr-x root shell 14492 2008-08-01 08:00 mm-qcamera-testsuite-clie
nt
-rwxr-xr-x root shell 34108 2012-11-18 22:24 mm-vdec-omx-test
-rwxr-xr-x root shell 34088 2012-11-18 22:24 mm-venc-omx-test720p
-rwxr-xr-x root shell 13496 2012-11-18 22:24 mm-video-driver-test
-rwxr-xr-x root shell 13496 2012-11-18 22:24 mm-video-encdrv-test
-rwxr-xr-x root shell 9508 2012-11-18 22:24 modemlog
-rwxr-xr-x root shell 217 2012-06-23 03:49 monkey
-rwxr-xr-x root shell 5352 2012-11-18 22:24 mot_boot_mode
-rwxr-xr-x root shell 38384 2012-11-18 22:24 motobox
lrwxr-xr-x root shell 2012-06-23 04:02 mount -> toolbox
-rwxr-xr-x root shell 1881 2012-06-23 03:49 mount_ext4.sh
-rwxr-xr-x root shell 9456 2012-11-18 22:24 mountpds
-rwxr-xr-x root shell 22292 2012-11-18 22:24 mpdecision
-rwxr-xr-x root shell 17856 2012-11-18 22:24 mtpd
lrwxr-xr-x root shell 2012-06-23 04:02 mv -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 nandread -> toolbox
-rwxr-xr-x root shell 5304 2012-11-18 22:24 ndc
-rwxr-s--- root inet 5484 2012-11-18 22:24 netcfg
-rwxr-xr-x root shell 91700 2012-11-18 22:24 netd
-rwxr-xr-x root shell 117276 2012-11-18 22:24 netmgrd
lrwxr-xr-x root shell 2012-06-23 04:02 netstat -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 newfs_msdos -> toolbox
-rwxr-xr-x root shell 5304 2012-11-18 22:24 nl_listener
lrwxr-xr-x root shell 2012-06-23 04:02 notify -> toolbox
-rwxr-xr-x root shell 18188 2012-11-18 22:24 pand
-rwxr-xr-x root root 0 2012-12-15 05:43 ping
-rwxr-xr-x root shell 62356 2012-11-18 22:24 playreadytest
-rwxr-xr-x root shell 191 2012-06-23 03:49 pm
-rwxr-xr-x root shell 17748 2012-11-18 22:24 port-bridge
-rwxr-xr-x root shell 141868 2012-11-18 22:24 pppd
lrwxr-xr-x root shell 2012-06-23 04:02 printenv -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 ps -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 ptf -> motobox
-rwxr-xr-x root shell 21896 2012-11-18 22:24 ptt_socket_app
-rwxr-xr-x root shell 1667 2012-06-23 03:49 qcookie
-rwxr-xr-x root shell 12928 2012-11-18 22:24 qdumpd
-rwxr-xr-x root shell 22072 2012-11-18 22:24 qmi_motext_hook
-rwxr-xr-x root shell 106932 2012-11-18 22:24 qmiproxy
-rwxr-xr-x root shell 48244 2012-11-18 22:24 qmuxd
-rwxr-xr-x root shell 30112 2008-08-01 08:00 qosmgr
-rwxr-xr-x root shell 9504 2008-08-01 08:00 qrngd
-rwxr-xr-x root shell 5356 2008-08-01 08:00 qrngtest
-rwxr-xr-x root shell 13492 2012-11-18 22:24 qseecom_sample_client
-rwxr-xr-x root shell 5396 2012-11-18 22:24 qseecomd
-rwxr-xr-x root shell 71448 2012-11-18 22:24 quipc_igsn
-rwxr-xr-x root shell 180656 2012-11-18 22:24 quipc_main
-rwxr-xr-x root shell 166808 2012-11-18 22:24 racoon
-rwxr-xr-x root shell 30036 2012-11-18 22:24 radish
lrwxr-xr-x root shell 2012-06-23 04:02 reboot -> toolbox
-rwxr-xr-x root shell 5300 2012-11-18 22:24 recover_userdata
lrwxr-xr-x root shell 2012-06-23 04:02 renice -> toolbox
-rwxr-xr-x root shell 188 2008-08-01 08:00 requestsync
-rwxr-xr-x root shell 25832 2012-11-18 22:24 resize2fs
-rwxr-xr-x root shell 9520 2012-11-18 22:24 rild
lrwxr-xr-x root shell 2012-06-23 04:02 rm -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 rmdir -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 rmmod -> toolbox
-rwxr-xr-x root shell 19352 2012-11-18 22:24 rmt_storage
lrwxr-xr-x root shell 2012-06-23 04:02 route -> toolbox
-rwsr-s--- root shell 9448 2012-11-18 22:24 run-as
-rwxr-xr-x root shell 25884 2008-08-01 08:00 sapd
-rwxr-xr-x root shell 5304 2012-11-18 22:24 schedtest
lrwxr-xr-x root shell 2012-06-23 04:02 schedtop -> toolbox
-rwxr-xr-x root shell 9396 2012-11-18 22:24 screencap
-rwxr-xr-x root shell 34168 2012-11-18 22:24 screenshot
-rwxr-xr-x root shell 13600 2012-11-18 22:24 sdcard
-rwxr-xr-x root shell 45952 2012-11-18 22:24 sdptool
lrwxr-xr-x root shell 2012-06-23 04:02 sendevent -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 sendevent2 -> toolbox
-rwxr-xr-x root shell 182816 2012-11-18 22:24 sensors.qcom
-rwxr-xr-x root shell 5352 2012-11-18 22:24 sensorservice
-rwxr-xr-x root shell 13544 2012-11-18 22:24 service
-rwxr-xr-x root shell 9608 2012-11-18 22:24 servicemanager
lrwxr-xr-x root shell 2012-06-23 04:02 setconfig -> motobox
lrwxr-xr-x root shell 2012-06-23 04:02 setconsole -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 setprop -> toolbox
-rwxr-xr-x root shell 5352 2012-11-18 22:24 setup_fs
lrwxr-xr-x root shell 2012-06-23 04:02 sh -> mksh
lrwxr-xr-x root shell 2012-06-23 04:02 sleep -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 smd -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 start -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 stop -> toolbox
-rwxr-xr-x root shell 5352 2012-11-18 22:24 surfaceflinger
-rwxr-xr-x root shell 192 2012-06-23 03:49 svc
lrwxr-xr-x root shell 2012-06-23 04:02 swapoff -> motobox
lrwxr-xr-x root shell 2012-06-23 04:02 swapon -> motobox
lrwxr-xr-x root shell 2012-06-23 04:02 sync -> toolbox
-rwxr-xr-x root shell 5300 2012-11-18 22:24 system_server
-rwxr-x--- root system 67096 2012-11-18 22:24 tc
-rwxr-xr-x root shell 375372 2012-11-18 22:24 tcmd
-rwxr-xr-x root shell 30096 2012-11-18 22:24 tcmdhelp
lrwxr-xr-x root shell 2012-06-23 04:02 test -> motobox
-rwxr-xr-x root shell 13988 2008-08-01 08:00 test_gemini
-rwxr-xr-x root shell 34604 2012-11-18 22:24 thermald
-rwxr-xr-x root shell 17752 2012-11-18 22:24 time_daemon
-rwxr-xr-x root shell 5304 2012-11-18 22:24 timedexec
-rwxr-xr-x root shell 104964 2012-11-18 22:24 toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 top -> toolbox
lrwxr-xr-x root shell 2012-06-23 04:02 touch -> toolbox
-rwxr-xr-x root shell 3391 2008-08-01 08:00 uiautomator
lrwxr-xr-x root shell 2012-06-23 04:02 umount -> toolbox
lrwxrwxrwx root root 2012-12-15 03:24 uncompress -> /system/bin
/busybox
lrwxr-xr-x root shell 2012-06-23 04:02 uptime -> toolbox
-rwxr-xr-x root shell 34188 2008-08-01 08:00 v4l2-qcamera-app
-rwxr-xr-x root shell 5304 2012-11-18 22:24 vdc
lrwxr-xr-x root shell 2012-06-23 04:02 vmstat -> toolbox
-rwxr-xr-x root shell 87596 2012-11-18 22:24 vold
-rwxr-xr-x root shell 25892 2012-11-18 22:24 vpnclientpm
lrwxr-xr-x root shell 2012-06-23 04:02 watchprops -> toolbox
-rwxr-xr-x root shell 9448 2008-08-01 08:00 wdsdaemon
-rwxr-xr-x root shell 17720 2012-11-18 22:24 whisperd
lrwxr-xr-x root shell 2012-06-23 04:02 wipe -> toolbox
lrwxrwxrwx root root 2012-11-18 22:26 wiperiface -> wiperiface_
v02
-rwxr-xr-x root shell 9572 2012-11-18 22:24 wiperiface_v02
-rwxr-xr-x root shell 642528 2012-11-18 22:24 wpa_supplicant
-rwxr-xr-x root shell 407648 2008-08-01 08:00 xtwifi-client
-rwxr-xr-x root shell 75284 2008-08-01 08:00 xtwifi-inet-agent
[email protected]:/ $ cd /system/usr/we-need-root
cd /system/usr/we-need-root
[email protected]:/system/usr/we-need-root $ ls -l /system/usr/we-need-root/su-backup
e-need-root/su-backup <
-rwsr-sr-x root root 22364 2012-12-15 02:30 su-backup
[email protected]:/system/usr/we-need-root $ ./su-backup; su
./su-backup; su
[email protected]:/system/usr/we-need-root # mount -o remount,rw /system
mount -o remount,rw /system
[email protected]:/system/usr/we-need-root #
[email protected]:/system/usr/we-need-root # \
C:\Users\Ashraf Sharif\Desktop\adt-bundle-windows-x86_64\adt-bundle-windows\sdk\
platform-tools>su
'su' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Ashraf Sharif\Desktop\adt-bundle-windows-x86_64\adt-bundle-windows\sdk\
platform-tools>adb shell
adb server is out of date. killing...
* daemon started successfully *
[email protected]:/ $ u
su
/system/bin/sh: su: not found
127|[email protected]:/ $ su
su
/system/bin/sh: su: not found
127|[email protected]:/ $
C:\Users\Ashraf Sharif\Desktop\adt-bundle-windows-x86_64\adt-bundle-windows\sdk\
platform-tools>
"Have drivers installed, phone connected, and USB Debugging enabled in Develope
r Options."
/system/bin/sh: su: not found
failed to copy 'su' to '/system/bin//su': Permission denied
failed to copy 'Superuser.apk' to '/system/app//Superuser.apk': Permission denie
d
/system/bin/sh: su: not found
Unable to chmod /system/bin/su: No such file or directory
Unable to chmod /system/bin/su: No such file or directory
"Rebooting..."
'ping' is not recognized as an internal or external command,
operable program or batch file.
uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1009
(mount),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt)
,3003(inet),3006(net_bw_stats)
If the above id shows 0 then you are rooted. Press any key to exit.
mattlgroff said:
Try my little batch... but its meant for voodoo OTA rootkeeper people who lost root.
http://dl.dropbox.com/u/15093625/RestoreRoot.zip
Click to expand...
Click to collapse
I don't know what I'm doing wrong, I can't restore the root. Already tried all the methods, I can get root access from adb but the phone keeps telling me that I don't have root.
mcastilloy2k said:
I don't know what I'm doing wrong, I can't restore the root. Already tried all the methods, I can get root access from adb but the phone keeps telling me that I don't have root.
Click to expand...
Click to collapse
I started off with the single post (47th post) that is quoted on the first page of this thread. Then, in the part of that post that says (do what needs to be done), or something to that effect, I did all the steps from the OP of the quoted thread. That worked for me. If that didn't work for you, I've no idea. Did you reboot your phone?
Sent from my MB886
mattlgroff said:
Try my little batch... but its meant for voodoo OTA rootkeeper people who lost root.
http://dl.dropbox.com/u/15093625/RestoreRoot.zip
Click to expand...
Click to collapse
I felt compelled to comment on this... I have been furious for the last few week about losing root, and further screwing myself in the process.
While trying to fix via adb about 2 weeks ago I replaced the su binary with an old version and then rebooted, but didn't realize it was an old version until it was too late... I no longer had su via adb.
I just ran your batch, it did indicate failure, but I now have root again after reboot. THANK YOU!!!!!!!!!!!
nictabor said:
I felt compelled to comment on this... I have been furious for the last few week about losing root, and further screwing myself in the process.
While trying to fix via adb about 2 weeks ago I replaced the su binary with an old version and then rebooted, but didn't realize it was an old version until it was too late... I no longer had su via adb.
I just ran your batch, it did indicate failure, but I now have root again after reboot. THANK YOU!!!!!!!!!!!
Click to expand...
Click to collapse
Exactly the same thing happened to me!
For a minute, I thought I died....and then I was like WOOOT!!! ROOT"!!
Thanks mattlgroff!!!
Sent from my Atrix HD using xda premium
Related
[Solved] Changes to /system don't stick?
How can I change files in the /system partition on a rooted HTC One? 1. Mount /system as read-write 2. Rename a file and confirm that it has changed 3. Remount /system as read only The changes I made in step 2 have been forgotten. How can I get around this? C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>adb shell [email protected]:/ $ su su [email protected]:/ # cd system cd system/app 1|[email protected]:/system/app # ls -l GM* ls -l GM* -rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk -rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex [email protected]:/system/app # mv GMS_Maps.apk GMS_Maps.apk.old 255|[email protected]:/system/app # mount -o rw,remount /system mount -o rw,remount /system [email protected]:/system/app # mv GMS_Maps.apk GMS_Maps.apk.old mv GMS_Maps.apk GMS_Maps.apk.old [email protected]:/system/app # ls -l GM* ls -l GM* -rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk.old -rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex [email protected]:/system/app # mount -o ro,remount /system mount -o ro,remount /system [email protected]:/system/app # ls -l GMS* ls -l GMS* -rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk -rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex [email protected]:/system/app #
fullshred said: How can I change files in the /system partition on a rooted HTC One? 1. Mount /system as read-write 2. Rename a file and confirm that it has changed 3. Remount /system as read only The changes I made in step 2 have been forgotten. How can I get around this? C:\Program Files (x86)\HTC\HTC Sync Manager\HTC Sync>adb shell [email protected]:/ $ su su [email protected]:/ # cd system cd system/app 1|[email protected]:/system/app # ls -l GM* ls -l GM* -rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk -rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex [email protected]:/system/app # mv GMS_Maps.apk GMS_Maps.apk.old 255|[email protected]:/system/app # mount -o rw,remount /system mount -o rw,remount /system [email protected]:/system/app # mv GMS_Maps.apk GMS_Maps.apk.old mv GMS_Maps.apk GMS_Maps.apk.old [email protected]:/system/app # ls -l GM* ls -l GM* -rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk.old -rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex [email protected]:/system/app # mount -o ro,remount /system mount -o ro,remount /system [email protected]:/system/app # ls -l GMS* ls -l GMS* -rw-r--r-- root root 5215731 2014-01-17 11:15 GMS_Maps.apk -rw-r--r-- root root 6884656 2008-08-01 22:00 GMS_Maps.odex [email protected]:/system/app # Click to expand... Click to collapse you need an unsecured kernel (ie kernel with write protection disabled)
nkk71 said: you need an unsecured kernel (ie kernel with write protection disabled) Click to expand... Click to collapse So I should flash over the top of the stock ROM with something like Revolution HD?
fullshred said: So I should flash over the top of the stock ROM with something like Revolution HD? Click to expand... Click to collapse you can just flash a kernel (such as bulletproof, elementalx, teamseven) compatible with your ROM version!! and you'd still be on stock ROM, but with unsecured kernel, which will allow the changes.
nkk71 said: you can just flash a kernel (such as bulletproof, elementalx, teamseven) compatible with your ROM version!! and you'd still be on stock ROM, but with unsecured kernel, which will allow the changes. Click to expand... Click to collapse I installed BulletProof. It worked! Google Maps 6.14.4 is back for good... bliss!! Thank you so much!
fullshred said: I installed BulletProof. It worked! Google Maps 6.14.4 is back for good... bliss!! Thank you so much! Click to expand... Click to collapse no problem could you also edit main thread title to include [SOLVED], thanks [go to first post, click EDIT, click GO ADVANCED (at the bottom of the edit window) then you can change main thread title.]
Manual root mounted system.img
Hello. I have system.img 5.0.2 for Lenovo S60. Bootloader is secured. system.img: Linux rev 1.0 ext4 filesystem data, UUID=57f8f4bc-abf4-655f-bf67-946fc0f9f25b (extents) (large files) I'm trying to install manually su binary in mounted system image and then flash it with QPST. SELinux is enabled. I prepared script like this: #!/bin/sh SYSPAT=sys # echo "Placing files" # mkdir $SYSPAT/bin/.ext chown 0:0 $SYSPAT/bin/.ext chmod 0777 $SYSPAT/bin/.ext cp su $SYSPAT/bin/.ext/.su chown 0:0 $SYSPAT/bin/.ext/.su chmod 0755 $SYSPAT/bin/.ext/.su cp su $SYSPAT/xbin/su chown 0:0 $SYSPAT/xbin/su chmod 0755 $SYSPAT/xbin/su cp su $SYSPAT/xbin/daemonsu chown 0:0 $SYSPAT/xbin/daemonsu chmod 0755 $SYSPAT/xbin/daemonsu cp su $SYSPAT/xbin/sugote chown 0:0 $SYSPAT/xbin/sugote chmod 0755 $SYSPAT/xbin/sugote cp $SYSPAT/bin/sh $SYSPAT/xbin/sugote-mksh chown 0:0 $SYSPAT/xbin/sugote-mksh chmod 0755 $SYSPAT/xbin/sugote-mksh cp supolicy $SYSPAT/xbin/supolicy chown 0:0 $SYSPAT/xbin/supolicy chmod 0755 $SYSPAT/xbin/supolicy SYSTEMLIB=$SYSPAT/lib64 cp libsupol.so $SYSTEMLIB chown 0:0 $SYSTEMLIB/libsupol.so chmod 0755 $SYSTEMLIB/libsupol.so #mkdir $SYSPAT/app/SuperSU #chown 0:0 $SYSPAT/app/SuperSU #chmod 0755 $SYSPAT/app/SuperSU rm -rf $SYSPAT/app/SuperSU #install it manually cp -f $SYSPAT/bin/app_process64 $SYSPAT/bin/app_process64_original cat su > $SYSPAT/bin/app_process64 cp -f $SYSPAT/bin/app_process64_original $SYSPAT/bin/app_process_init chown 0:2000 $SYSPAT/bin/app_process_init chmod 0755 $SYSPAT/bin/app_process_init cat $SYSPAT/bin/app_process64_original > $SYSPAT/bin/app_process64 cp -f 99SuperSUDaemon $SYSPAT/etc/init.d/99SuperSUDaemon chown 0:0 $SYSPAT/etc/init.d/99SuperSUDaemon chmod 0755 $SYSPAT/etc/init.d/99SuperSUDaemon cat init.qcom.post_boot.sh > $SYSPAT/etc/init.qcom.post_boot.sh echo 1 > $SYSPAT/etc/.installed_su_daemon chown 0:0 $SYSPAT/etc/.installed_su_daemon chmod 0644 $SYSPAT/etc/.installed_su_daemon # echo "Done!" # # #because ping has root permissions and correct sleinux context # cat su > $SYSPAT/bin/ping When i'm creating new file the SeLinuxContext is ?: Code: -rwxr-xr-x. 1 root 2000 u:object_r:system_file:s0 9696 lip 16 11:55 antradio_app -rwxr-xr-x. 1 root 2000 u:object_r:system_file:s0 89632 lip 16 11:55 btconfig -rwxr-xr-x. 1 root 2000 u:object_r:system_file:s0 34352 lip 16 11:55 bttool -rwxr-xr-x 1 root root ? 100272 wrz 2 14:38 daemonsu -rwxr-xr-x. 1 root 2000 u:object_r:system_file:s0 59748 lip 16 11:55 dexdump -rwxr-xr-x 1 root root ? 100272 wrz 2 14:38 su -rwxr-xr-x 1 root root ? 100272 wrz 2 14:38 sugote -rwxr-xr-x 1 root root ? 285016 wrz 2 14:38 sugote-mksh -rwxr-xr-x 1 root root ? 30168 wrz 2 14:38 supolicy -rwxr-xr-x. 1 root root u:object_r:system_file:s0 1223776 lip 16 11:55 tcpdump But when i do like that: Code: cat su > $SYSPAT/bin/ping cat init.qcom.post_boot.sh > $SYSPAT/etc/init.qcom.post_boot.sh permissions left untouched for example: -rwxr-xr-x. 1 root root ubject_r:system_file:s0 42824 lip 16 11:54 sys/bin/ping But hen i try to run it: Code: sh ping ping: syntax error: 'go~! I've tried to add: /system/xbin/daemonsu --auto-daemon on the end of: /etc/init.qcom.post_boot.sh HiJacking of the bin/app_process64 cause that phone won't play bootanimation and does not start launcher but i can see internal memory MTP Device. SuperSU apk still warn: There is no SU binary installed and SuperSu cannot install it.
i have same problem with a cheap chinese **** (MTK based 4.4.2) I'v been readed the raw system.img with spt. Mounted it under linux copy the files like this (and of course checked in the supersu install script) and after rewrite the system, every files in the right place but i get the error: "You need manual reinstall the su" or something like that Any idea? ---------- Post added at 09:52 PM ---------- Previous post was at 09:47 PM ---------- ok, my fault sorry here is the tutorial http://su.chainfire.eu/#embed
[Release] Xposed for ZE500KL/ZE500KG [Updated-Again]
Thanks to @miau9202 I just finished an automated script for installing Xposed Framework on ZE500KL and on ZE500KG Prerequisite: >Root >BusyBox Installed >ADB driver installed(old method only, but you'll have them from root) >USB debugging activated in 'Developer Settings' (old method only) NEW METHOD Right now, the best way to flash xposed now is to download and install the TWRP recovery from HERE and then reboot in to it and flash the official xposed zip you can find HERE (It's important to download the sdk21-arm64 version, so check twice) OLD METHOD How To: >Connect your phone while switched on to your pc >Run "InstallXposedInstaller.bat" first (Optional: you can download it yourself and install by hand, this is just to make thing faster) >Run "InstallXposedFramework.bat" second -You need to press a button after each passage, to proceed. This is done for debugging purpose, so that if you have an error you have the possibility to copy it -NOTE: the error "WARNING: linker: could not load library "libsigchain.so" from LD_PRELOAD for "gz ip"; caused by library "libsigchain.so" not found" is NORMAL, you can simply ignore it and proceed Your phone will reboot and after a while (it coul require even 10 minutes), it should appear the "Android Upgrade" pop-up. Wait for him to complete and then you are ready to go! Download: Official Version - for .118 Unofficial Shakalaca Version - for .156 Manual Procedure: If you prefer (or need) to manually insert the commands, here you a re a copy-paste friendly transcription: adb shell su mount -o remount,rw / mount -o remount,rw /system mkdir /system/tmp mkdir /sdcard/tmp2 exit adb push assets/xposed-sdk21-arm64 /sdcard/tmp2 adb shell su cp -r /sdcard/tmp2/* /system/tmp/ chmod -R 777 /system/tmp chmod 777 /system/tmp/flash-script.sh ./system/tmp/flash-script.sh rm -rd /sdcard/tmp2 rm -rd /system/tmp exit adb reboot Click to expand... Click to collapse Tested Modules: Code: Snapprefs - NOT Working (Bootloop) XInternalSD - NOT Working (Bootloop) BootManager - Working Intelli3g - Working PowerNap - Working VolumeSteps+ - Working YoutubeAdaway - Working Disclaimer: This tool could stuck your phone in a bootloop. I'm not responsible nor accountable for any possible damage, loss of data or any problem could appear on your phone. Use this tool at your own risk Update: 15/11/2015 - Updated guide and binary for last asus update (12.8.5.156), thanks to @shakalaca, @rajlko, @96DANGER96 and @berkobra 13/02/2016 - Updated with the TWRP method
Need Xposed for ZE500KG Some body can help me to send link Xposed for ZE500KG. Thanks..
cannyvio said: Some body can help me to send link Xposed for ZE500KG. Thanks.. Click to expand... Click to collapse Since root procedure is the same and the phones are very look-alike. I suppose that the same package sould work even on ZE500KG Give it a try and report here the result
Thanks for the effort, I'll try this.
I have this error running your script: tmp-mksh: ./flash-script.sh: not found so tried manually, but encountered an error when starting the install script, here the entire log: Code: C:\Users\luca.bosso\Desktop\Xposed ZE500KL>adb shell [email protected]_Z00E_1:/ $ su -c mount -o remount,rw / su -c mount -o remount,rw / [email protected]_Z00E_1:/ $ su -c mount -o remount,rw /system su -c mount -o remount,rw /system [email protected]_Z00E_1:/ $ su -c mkdir /system/tmp su -c mkdir /system/tmp mkdir failed for /system/tmp, File exists 255|[email protected]_Z00E_1:/ $ su -c mkdir /sdcard/tmp2 su -c mkdir /sdcard/tmp2 mkdir failed for /sdcard/tmp2, File exists 255|[email protected]_Z00E_1:/ $ su -c chmod 777 /system/tmp su -c chmod 777 /system/tmp [email protected]_Z00E_1:/ $ exit exit C:\Users\luca.bosso\Desktop\Xposed ZE500KL>adb push assets/xposed-sdk21-arm64 / dcard/tmp2 push: assets/xposed-sdk21-arm64/META-INF/com/google/android/updater-script -> / dcard/tmp2/META-INF/com/google/android/updater-script push: assets/xposed-sdk21-arm64/META-INF/com/google/android/update-binary -> /s card/tmp2/META-INF/com/google/android/update-binary push: assets/xposed-sdk21-arm64/META-INF/com/google/android/flash-script.sh -> sdcard/tmp2/META-INF/com/google/android/flash-script.sh push: assets/xposed-sdk21-arm64/META-INF/MANIFEST.MF -> /sdcard/tmp2/META-INF/M NIFEST.MF push: assets/xposed-sdk21-arm64/META-INF/CERT.SF -> /sdcard/tmp2/META-INF/CERT. F push: assets/xposed-sdk21-arm64/META-INF/CERT.RSA -> /sdcard/tmp2/META-INF/CERT RSA push: assets/xposed-sdk21-arm64/system/bin/patchoat -> /sdcard/tmp2/system/bin/ atchoat push: assets/xposed-sdk21-arm64/system/bin/oatdump -> /sdcard/tmp2/system/bin/o tdump push: assets/xposed-sdk21-arm64/system/bin/dex2oat -> /sdcard/tmp2/system/bin/d x2oat push: assets/xposed-sdk21-arm64/system/bin/app_process64_xposed -> /sdcard/tmp2 system/bin/app_process64_xposed push: assets/xposed-sdk21-arm64/system/bin/app_process32_xposed -> /sdcard/tmp2 system/bin/app_process32_xposed push: assets/xposed-sdk21-arm64/system/framework/XposedBridge.jar -> /sdcard/tm 2/system/framework/XposedBridge.jar push: assets/xposed-sdk21-arm64/system/lib/libxposed_art.so -> /sdcard/tmp2/sys em/lib/libxposed_art.so push: assets/xposed-sdk21-arm64/system/lib/libsigchain.so -> /sdcard/tmp2/syste /lib/libsigchain.so push: assets/xposed-sdk21-arm64/system/lib/libart.so -> /sdcard/tmp2/system/lib libart.so push: assets/xposed-sdk21-arm64/system/lib/libart-compiler.so -> /sdcard/tmp2/s stem/lib/libart-compiler.so push: assets/xposed-sdk21-arm64/system/lib64/libxposed_art.so -> /sdcard/tmp2/s stem/lib64/libxposed_art.so push: assets/xposed-sdk21-arm64/system/lib64/libsigchain.so -> /sdcard/tmp2/sys em/lib64/libsigchain.so push: assets/xposed-sdk21-arm64/system/lib64/libart.so -> /sdcard/tmp2/system/l b64/libart.so push: assets/xposed-sdk21-arm64/system/lib64/libart-disassembler.so -> /sdcard/ mp2/system/lib64/libart-disassembler.so push: assets/xposed-sdk21-arm64/system/xposed.prop -> /sdcard/tmp2/system/xpose .prop push: assets/xposed-sdk21-arm64/flash-script.sh -> /sdcard/tmp2/flash-script.sh 22 files pushed. 0 files skipped. 5543 KB/s (12807304 bytes in 2.256s) C:\Users\luca.bosso\Desktop\Xposed ZE500KL>adb shell [email protected]_Z00E_1:/ $ su -c cp -r /sdcard/tmp2/* /system/tmp/ su -c cp -r /sdcard/tmp2/* /system/tmp/ [email protected]_Z00E_1:/ $ su -c ./flash-script.sh su -c ./flash-script.sh tmp-mksh: ./flash-script.sh: not found 127|[email protected]_Z00E_1:/ $ dir dir /system/bin/sh: dir: not found 127|[email protected]_Z00E_1:/ $ ls -la ls -la drwxrwxr-x system system 2015-01-01 01:01 ADF drwxrwxr-x system system 1970-01-01 01:00 APD drwxr-xr-x root system 2015-10-28 09:55 Removable drwxr-xr-x root root 1970-02-14 02:30 acct drwxrwxrwx root root 2015-10-27 17:30 asdf drwxrwxr-x system system 1970-01-01 01:00 asusfw drwxr-xr-x root root 1970-01-01 01:00 bin drwxrwx--- system cache 2015-10-27 15:05 cache lrwxrwxrwx root root 1970-01-01 01:00 charger -> /sbin/healthd dr-x------ root root 1970-02-14 02:30 config lrwxrwxrwx root root 1970-02-14 02:30 d -> /sys/kernel/debug drwxrwx--x system system 2015-10-21 17:25 data -rw-r--r-- root root 363 1970-01-01 01:00 default.prop drwxr-xr-x root root 2015-10-28 09:55 dev lrwxrwxrwx root root 1970-02-14 02:30 etc -> /system/etc drwxrwxrwx shell shell 1970-01-01 05:04 factory -rw-r--r-- root root 36566 1970-01-01 01:00 file_contexts dr-xr-x--- system system 1970-01-01 01:00 firmware -rw-r----- root root 922 1970-01-01 01:00 fstab.goldfish -rw-r----- root root 1063 1970-01-01 01:00 fstab.qcom -rwxr-x--- root root 408616 1970-01-01 01:00 init -rwxr-x--- root root 3058 1970-01-01 01:00 init.asus.debugtool.rc -rwxr-x--- root root 15324 1970-01-01 01:00 init.asus.rc -rwxr-x--- root root 1577 1970-01-01 01:00 init.asus.thermald.rc -rwxr-x--- root root 13380 1970-01-01 01:00 init.asus.usb.rc -rwxr-x--- root root 3265 1970-01-01 01:00 init.class_main.sh -rwxr-x--- root root 1178 1970-01-01 01:00 init.environ.rc -rwxr-x--- root root 2836 1970-01-01 01:00 init.goldfish.rc -rwxr-x--- root root 1730 1970-01-01 01:00 init.mdm.sh -rwxr-x--- root root 7054 1970-01-01 01:00 init.qcom.class_core.sh -rwxr-x--- root root 6920 1970-01-01 01:00 init.qcom.early_boot.sh -rwxr-x--- root root 12878 1970-01-01 01:00 init.qcom.factory.sh -rwxr-x--- root root 31160 1970-01-01 01:00 init.qcom.rc -rwxr-x--- root root 6987 1970-01-01 01:00 init.qcom.sh -rwxr-x--- root root 2965 1970-01-01 01:00 init.qcom.syspart_fixup. h -rwxr-x--- root root 60593 1970-01-01 01:00 init.qcom.usb.rc -rwxr-x--- root root 10516 1970-01-01 01:00 init.qcom.usb.sh -rwxr-x--- root root 24085 1970-01-01 01:00 init.rc -rwxr-x--- root root 7223 1970-01-01 01:00 init.target.rc -rwxr-x--- root root 1927 1970-01-01 01:00 init.trace.rc -rwxr-x--- root root 3910 1970-01-01 01:00 init.usb.rc -rwxr-x--- root root 301 1970-01-01 01:00 init.zygote32.rc -rwxr-x--- root root 531 1970-01-01 01:00 init.zygote64_32.rc drwxrwxr-x root system 1970-02-14 02:30 mnt drwxrwx--x system system 1970-01-01 01:00 persist dr-xr-xr-x root root 1970-01-01 01:00 proc -rw-r--r-- root root 2832 1970-01-01 01:00 property_contexts drwxr-xr-x root root 1970-01-01 01:00 res drwx------ root root 2015-09-15 07:03 root drwxr-x--- root root 1970-01-01 01:00 sbin lrwxrwxrwx root root 1970-02-14 02:30 sdcard -> /storage/emula ed/legacy -rw-r--r-- root root 746 1970-01-01 01:00 seapp_contexts -rw-r--r-- root root 76 1970-01-01 01:00 selinux_version -rw-r--r-- root root 187085 1970-01-01 01:00 sepolicy -rw-r--r-- root root 10475 1970-01-01 01:00 service_contexts drwxr-x--x root sdcard_r 1970-02-14 02:30 storage dr-xr-xr-x root root 1970-02-14 02:30 sys drwxr-xr-x root root 2015-10-28 09:56 system drwxr-xr-x root root 2015-10-28 09:55 tmp-mksh lrwxrwxrwx root root 1970-02-14 02:30 tombstones -> /data/tomb tones -rw-r--r-- root root 323 1970-01-01 01:00 ueventd.goldfish.rc -rw-r--r-- root root 11724 1970-01-01 01:00 ueventd.qcom.rc -rw-r--r-- root root 4546 1970-01-01 01:00 ueventd.rc lrwxrwxrwx root root 1970-02-14 02:30 vendor -> /system/vendor -rw-r--r-- root root 524 1970-01-01 01:00 verity_key [email protected]_Z00E_1:/ $ ls -la tmp-mksh ls -la tmp-mksh -rwxr-xr-x root root 285016 2015-10-28 09:55 tmp-mksh [email protected]_Z00E_1:/ $ ls -la system/tmp ls -la system/tmp drwxrwx--- root root 2015-10-28 09:57 META-INF -rw------- root root 5602 2015-10-28 10:05 flash-script.sh drwxrwx--- root root 2015-10-28 09:57 system [email protected]_Z00E_1:/ $ cp system/tmp/flash-script.sh tmp-mksh cp system/tmp/flash-script.sh tmp-mksh cp: system/tmp/flash-script.sh: Permission denied 1|[email protected]_Z00E_1:/ $ cd system/tmp cd system/tmp [email protected]_Z00E_1:/system/tmp $ su -c ./flash-script.sh su -c ./flash-script.sh tmp-mksh: ./flash-script.sh: can't execute: Permission denied 126|[email protected]_Z00E_1:/system/tmp $ su -c ./flash-script.sh su -c ./flash-script.sh tmp-mksh: ./flash-script.sh: can't execute: Permission denied 126|[email protected]_Z00E_1:/system/tmp $ su su [email protected]_Z00E_1:/system/tmp # ./flash-script.sh ./flash-script.sh tmp-mksh: ./flash-script.sh: can't execute: Permission denied 126|[email protected]_Z00E_1:/system/tmp # C:\Users\luca.bosso\Desktop\Xposed ZE500KL>adb shell [email protected]_Z00E_1:/ $ su -c ./flash-script.sh su -c ./flash-script.sh tmp-mksh: ./flash-script.sh: not found 127|[email protected]_Z00E_1:/ $ chmod 777 tmp-mksh chmod 777 tmp-mksh Unable to chmod tmp-mksh: Read-only file system 10|[email protected]_Z00E_1:/ $ su su [email protected]_Z00E_1:/ # mount -o remount,rw /tmp-mksh mount -o remount,rw /tmp-mksh Usage: mount [-r] [-w] [-o options] [-t type] device directory 1|[email protected]_Z00E_1:/ # mount -o remount,rw / mount -o remount,rw / [email protected]_Z00E_1:/ # su -c mount -o remount,rw / su -c mount -o remount,rw / [email protected]_Z00E_1:/ # su -c mount -o remount,rw /tmp-mksh su -c mount -o remount,rw /tmp-mksh Usage: mount [-r] [-w] [-o options] [-t type] device directory 1|[email protected]_Z00E_1:/ # shell shell tmp-mksh: shell: not found 127|[email protected]_Z00E_1:/ # su -c mount -o remount,rw /tmp-mksh su -c mount -o remount,rw /tmp-mksh Usage: mount [-r] [-w] [-o options] [-t type] device directory 1|[email protected]_Z00E_1:/ # su -c mount -o remount,rw /tmp-mksh su -c mount -o remount,rw /tmp-mksh Usage: mount [-r] [-w] [-o options] [-t type] device directory 1|[email protected]_Z00E_1:/ # su -c mount -o remount,rw /system su -c mount -o remount,rw /system [email protected]_Z00E_1:/ # su -c mount -o remount,rw / su -c mount -o remount,rw / [email protected]_Z00E_1:/ # chmod 777 tmp-mksh chmod 777 tmp-mksh [email protected]_Z00E_1:/ # su -c ./flash-script.sh su -c ./flash-script.sh tmp-mksh: ./flash-script.sh: not found 127|[email protected]_Z00E_1:/ # su -c cp system/tmp/flash-script.sh /tmp-mksh su -c cp system/tmp/flash-script.sh /tmp-mksh [email protected]_Z00E_1:/ # su -c ./flash-script.sh su -c ./flash-script.sh tmp-mksh: ./flash-script.sh: not found 127|[email protected]_Z00E_1:/ # ls -la /tmp-mksh ls -la /tmp-mksh -rw------- root root 5602 2015-10-28 10:16 flash-script.sh -rwxr-xr-x root root 285016 2015-10-28 09:55 tmp-mksh [email protected]_Z00E_1:/ # shell shell tmp-mksh: shell: not found 127|[email protected]_Z00E_1:/ # cd tmp-mksh cd tmp-mksh [email protected]_Z00E_1:/tmp-mksh # ./flash-script.sh ./flash-script.sh tmp-mksh: ./flash-script.sh: can't execute: Permission denied 126|[email protected]_Z00E_1:/tmp-mksh # chmod 777 flash-script.sh chmod 777 flash-script.sh [email protected]_Z00E_1:/tmp-mksh # ./flash-script.sh ./flash-script.sh ****************************** Xposed framework installer zip ****************************** - Mounting /system and /vendor read-write - Checking environment ./flash-script.sh[113]: head: not found ./flash-script.sh[113]: sed: not found ./flash-script.sh[115]: cut: not found ./flash-script.sh[115]: head: not found ./flash-script.sh[115]: sed: not found ./flash-script.sh[116]: cut: not found ./flash-script.sh[116]: sed: not found ./flash-script.sh[116]: head: not found ./flash-script.sh[117]: head: not found ./flash-script.sh[117]: sed: not found ./flash-script.sh[119]: head: not found ./flash-script.sh[119]: sed: not found ./flash-script.sh[120]: sed: not found ./flash-script.sh[120]: head: not found ./flash-script.sh[121]: sed: not found ./flash-script.sh[121]: head: not found ./flash-script.sh[122]: head: not found ./flash-script.sh[122]: sed: not found Xposed version: ! Wrong platform: arm ! This file is for: ! Please download the correct package ! for your platform/ROM! 1|[email protected]_Z00E_1:/tmp-mksh # ./flash-script.sh
Xposed ZE500KG Jhyrachy said: Since root procedure is the same and the phones are very look-alike. I suppose that the same package sould work even on ZE500KG Give it a try and report here the result Click to expand... Click to collapse I already installed xposed on ZE500KG but still can not because framework didn't active in xposed when i installed error "tmp-mksh: ./flash-script.sh: not found Thanks.
cannyvio said: I already installed xposed on ZE500KG but still can not because framework didn't active in xposed when i installed error "tmp-mksh: ./flash-script.sh: not found Thanks. Click to expand... Click to collapse Had the same problem, I successfully installed xposed but I'm also having problem with tmp-mksh: ./flash-script.sh: not found.... We hope we'll have update to fix this. Thank you and God bless
96DANGER96 said: I have this error running your script: tmp-mksh: ./flash-script.sh: not found so tried manually, but encountered an error when starting the install script, here the entire log: Code: C:\Users\*************\Desktop\Xposed ZE500KL>adb shell [email protected]_Z00E_1:/ $ su -c mount -o remount,rw / su -c mount -o remount,rw / [email protected]_Z00E_1:/ $ su -c mount -o remount,rw /system su -c mount -o remount,rw /system [email protected]_Z00E_1:/ $ su -c mkdir /system/tmp su -c mkdir /system/tmp mkdir failed for /system/tmp, File exists 255|[email protected]_Z00E_1:/ $ su -c mkdir /sdcard/tmp2 su -c mkdir /sdcard/tmp2 mkdir failed for /sdcard/tmp2, File exists 255|[email protected]_Z00E_1:/ $ su -c chmod 777 /system/tmp su -c chmod 777 /system/tmp [email protected]_Z00E_1:/ $ exit exit C:\Users\***********\Desktop\Xposed ZE500KL>adb push assets/xposed-sdk21-arm64 / dcard/tmp2 push: assets/xposed-sdk21-arm64/META-INF/com/google/android/updater-script -> / dcard/tmp2/META-INF/com/google/android/updater-script push: assets/xposed-sdk21-arm64/META-INF/com/google/android/update-binary -> /s card/tmp2/META-INF/com/google/android/update-binary push: assets/xposed-sdk21-arm64/META-INF/com/google/android/flash-script.sh -> sdcard/tmp2/META-INF/com/google/android/flash-script.sh push: assets/xposed-sdk21-arm64/META-INF/MANIFEST.MF -> /sdcard/tmp2/META-INF/M NIFEST.MF push: assets/xposed-sdk21-arm64/META-INF/CERT.SF -> /sdcard/tmp2/META-INF/CERT. F push: assets/xposed-sdk21-arm64/META-INF/CERT.RSA -> /sdcard/tmp2/META-INF/CERT RSA push: assets/xposed-sdk21-arm64/system/bin/patchoat -> /sdcard/tmp2/system/bin/ atchoat push: assets/xposed-sdk21-arm64/system/bin/oatdump -> /sdcard/tmp2/system/bin/o tdump push: assets/xposed-sdk21-arm64/system/bin/dex2oat -> /sdcard/tmp2/system/bin/d x2oat push: assets/xposed-sdk21-arm64/system/bin/app_process64_xposed -> /sdcard/tmp2 system/bin/app_process64_xposed push: assets/xposed-sdk21-arm64/system/bin/app_process32_xposed -> /sdcard/tmp2 system/bin/app_process32_xposed push: assets/xposed-sdk21-arm64/system/framework/XposedBridge.jar -> /sdcard/tm 2/system/framework/XposedBridge.jar push: assets/xposed-sdk21-arm64/system/lib/libxposed_art.so -> /sdcard/tmp2/sys em/lib/libxposed_art.so push: assets/xposed-sdk21-arm64/system/lib/libsigchain.so -> /sdcard/tmp2/syste /lib/libsigchain.so push: assets/xposed-sdk21-arm64/system/lib/libart.so -> /sdcard/tmp2/system/lib libart.so push: assets/xposed-sdk21-arm64/system/lib/libart-compiler.so -> /sdcard/tmp2/s stem/lib/libart-compiler.so push: assets/xposed-sdk21-arm64/system/lib64/libxposed_art.so -> /sdcard/tmp2/s stem/lib64/libxposed_art.so push: assets/xposed-sdk21-arm64/system/lib64/libsigchain.so -> /sdcard/tmp2/sys em/lib64/libsigchain.so push: assets/xposed-sdk21-arm64/system/lib64/libart.so -> /sdcard/tmp2/system/l b64/libart.so push: assets/xposed-sdk21-arm64/system/lib64/libart-disassembler.so -> /sdcard/ mp2/system/lib64/libart-disassembler.so push: assets/xposed-sdk21-arm64/system/xposed.prop -> /sdcard/tmp2/system/xpose .prop push: assets/xposed-sdk21-arm64/flash-script.sh -> /sdcard/tmp2/flash-script.sh 22 files pushed. 0 files skipped. 5543 KB/s (12807304 bytes in 2.256s) C:\Users\**************\Desktop\Xposed ZE500KL>adb shell [email protected]_Z00E_1:/ $ su -c cp -r /sdcard/tmp2/* /system/tmp/ su -c cp -r /sdcard/tmp2/* /system/tmp/ [email protected]_Z00E_1:/ $ su -c ./flash-script.sh su -c ./flash-script.sh tmp-mksh: ./flash-script.sh: not found 127|[email protected]_Z00E_1:/ $ dir dir /system/bin/sh: dir: not found 127|[email protected]_Z00E_1:/ $ ls -la ls -la drwxrwxr-x system system 2015-01-01 01:01 ADF drwxrwxr-x system system 1970-01-01 01:00 APD drwxr-xr-x root system 2015-10-28 09:55 Removable drwxr-xr-x root root 1970-02-14 02:30 acct drwxrwxrwx root root 2015-10-27 17:30 asdf drwxrwxr-x system system 1970-01-01 01:00 asusfw drwxr-xr-x root root 1970-01-01 01:00 bin drwxrwx--- system cache 2015-10-27 15:05 cache lrwxrwxrwx root root 1970-01-01 01:00 charger -> /sbin/healthd dr-x------ root root 1970-02-14 02:30 config lrwxrwxrwx root root 1970-02-14 02:30 d -> /sys/kernel/debug drwxrwx--x system system 2015-10-21 17:25 data -rw-r--r-- root root 363 1970-01-01 01:00 default.prop drwxr-xr-x root root 2015-10-28 09:55 dev lrwxrwxrwx root root 1970-02-14 02:30 etc -> /system/etc drwxrwxrwx shell shell 1970-01-01 05:04 factory -rw-r--r-- root root 36566 1970-01-01 01:00 file_contexts dr-xr-x--- system system 1970-01-01 01:00 firmware -rw-r----- root root 922 1970-01-01 01:00 fstab.goldfish -rw-r----- root root 1063 1970-01-01 01:00 fstab.qcom -rwxr-x--- root root 408616 1970-01-01 01:00 init -rwxr-x--- root root 3058 1970-01-01 01:00 init.asus.debugtool.rc -rwxr-x--- root root 15324 1970-01-01 01:00 init.asus.rc -rwxr-x--- root root 1577 1970-01-01 01:00 init.asus.thermald.rc -rwxr-x--- root root 13380 1970-01-01 01:00 init.asus.usb.rc -rwxr-x--- root root 3265 1970-01-01 01:00 init.class_main.sh -rwxr-x--- root root 1178 1970-01-01 01:00 init.environ.rc -rwxr-x--- root root 2836 1970-01-01 01:00 init.goldfish.rc -rwxr-x--- root root 1730 1970-01-01 01:00 init.mdm.sh -rwxr-x--- root root 7054 1970-01-01 01:00 init.qcom.class_core.sh -rwxr-x--- root root 6920 1970-01-01 01:00 init.qcom.early_boot.sh -rwxr-x--- root root 12878 1970-01-01 01:00 init.qcom.factory.sh -rwxr-x--- root root 31160 1970-01-01 01:00 init.qcom.rc -rwxr-x--- root root 6987 1970-01-01 01:00 init.qcom.sh -rwxr-x--- root root 2965 1970-01-01 01:00 init.qcom.syspart_fixup. h -rwxr-x--- root root 60593 1970-01-01 01:00 init.qcom.usb.rc -rwxr-x--- root root 10516 1970-01-01 01:00 init.qcom.usb.sh -rwxr-x--- root root 24085 1970-01-01 01:00 init.rc -rwxr-x--- root root 7223 1970-01-01 01:00 init.target.rc -rwxr-x--- root root 1927 1970-01-01 01:00 init.trace.rc -rwxr-x--- root root 3910 1970-01-01 01:00 init.usb.rc -rwxr-x--- root root 301 1970-01-01 01:00 init.zygote32.rc -rwxr-x--- root root 531 1970-01-01 01:00 init.zygote64_32.rc drwxrwxr-x root system 1970-02-14 02:30 mnt drwxrwx--x system system 1970-01-01 01:00 persist dr-xr-xr-x root root 1970-01-01 01:00 proc -rw-r--r-- root root 2832 1970-01-01 01:00 property_contexts drwxr-xr-x root root 1970-01-01 01:00 res drwx------ root root 2015-09-15 07:03 root drwxr-x--- root root 1970-01-01 01:00 sbin lrwxrwxrwx root root 1970-02-14 02:30 sdcard -> /storage/emula ed/legacy -rw-r--r-- root root 746 1970-01-01 01:00 seapp_contexts -rw-r--r-- root root 76 1970-01-01 01:00 selinux_version -rw-r--r-- root root 187085 1970-01-01 01:00 sepolicy -rw-r--r-- root root 10475 1970-01-01 01:00 service_contexts drwxr-x--x root sdcard_r 1970-02-14 02:30 storage dr-xr-xr-x root root 1970-02-14 02:30 sys drwxr-xr-x root root 2015-10-28 09:56 system drwxr-xr-x root root 2015-10-28 09:55 tmp-mksh lrwxrwxrwx root root 1970-02-14 02:30 tombstones -> /data/tomb tones -rw-r--r-- root root 323 1970-01-01 01:00 ueventd.goldfish.rc -rw-r--r-- root root 11724 1970-01-01 01:00 ueventd.qcom.rc -rw-r--r-- root root 4546 1970-01-01 01:00 ueventd.rc lrwxrwxrwx root root 1970-02-14 02:30 vendor -> /system/vendor -rw-r--r-- root root 524 1970-01-01 01:00 verity_key [email protected]_Z00E_1:/ $ ls -la tmp-mksh ls -la tmp-mksh -rwxr-xr-x root root 285016 2015-10-28 09:55 tmp-mksh [email protected]_Z00E_1:/ $ ls -la system/tmp ls -la system/tmp drwxrwx--- root root 2015-10-28 09:57 META-INF -rw------- root root 5602 2015-10-28 10:05 flash-script.sh drwxrwx--- root root 2015-10-28 09:57 system [email protected]_Z00E_1:/ $ cp system/tmp/flash-script.sh tmp-mksh cp system/tmp/flash-script.sh tmp-mksh cp: system/tmp/flash-script.sh: Permission denied 1|[email protected]_Z00E_1:/ $ cd system/tmp cd system/tmp [email protected]_Z00E_1:/system/tmp $ su -c ./flash-script.sh su -c ./flash-script.sh tmp-mksh: ./flash-script.sh: can't execute: Permission denied 126|[email protected]_Z00E_1:/system/tmp $ su -c ./flash-script.sh su -c ./flash-script.sh tmp-mksh: ./flash-script.sh: can't execute: Permission denied 126|[email protected]_Z00E_1:/system/tmp $ su su [email protected]_Z00E_1:/system/tmp # ./flash-script.sh ./flash-script.sh tmp-mksh: ./flash-script.sh: can't execute: Permission denied 126|[email protected]_Z00E_1:/system/tmp # C:\Users\**********\Desktop\Xposed ZE500KL>adb shell [email protected]_Z00E_1:/ $ su -c ./flash-script.sh su -c ./flash-script.sh tmp-mksh: ./flash-script.sh: not found 127|[email protected]_Z00E_1:/ $ chmod 777 tmp-mksh chmod 777 tmp-mksh Unable to chmod tmp-mksh: Read-only file system 10|[email protected]_Z00E_1:/ $ su su [email protected]_Z00E_1:/ # mount -o remount,rw /tmp-mksh mount -o remount,rw /tmp-mksh Usage: mount [-r] [-w] [-o options] [-t type] device directory 1|[email protected]_Z00E_1:/ # mount -o remount,rw / mount -o remount,rw / [email protected]_Z00E_1:/ # su -c mount -o remount,rw / su -c mount -o remount,rw / [email protected]_Z00E_1:/ # su -c mount -o remount,rw /tmp-mksh su -c mount -o remount,rw /tmp-mksh Usage: mount [-r] [-w] [-o options] [-t type] device directory 1|[email protected]_Z00E_1:/ # shell shell tmp-mksh: shell: not found 127|[email protected]_Z00E_1:/ # su -c mount -o remount,rw /tmp-mksh su -c mount -o remount,rw /tmp-mksh Usage: mount [-r] [-w] [-o options] [-t type] device directory 1|[email protected]_Z00E_1:/ # su -c mount -o remount,rw /tmp-mksh su -c mount -o remount,rw /tmp-mksh Usage: mount [-r] [-w] [-o options] [-t type] device directory 1|[email protected]_Z00E_1:/ # su -c mount -o remount,rw /system su -c mount -o remount,rw /system [email protected]_Z00E_1:/ # su -c mount -o remount,rw / su -c mount -o remount,rw / [email protected]_Z00E_1:/ # chmod 777 tmp-mksh chmod 777 tmp-mksh [email protected]_Z00E_1:/ # su -c ./flash-script.sh su -c ./flash-script.sh tmp-mksh: ./flash-script.sh: not found 127|[email protected]_Z00E_1:/ # su -c cp system/tmp/flash-script.sh /tmp-mksh su -c cp system/tmp/flash-script.sh /tmp-mksh [email protected]_Z00E_1:/ # su -c ./flash-script.sh su -c ./flash-script.sh tmp-mksh: ./flash-script.sh: not found 127|[email protected]_Z00E_1:/ # ls -la /tmp-mksh ls -la /tmp-mksh -rw------- root root 5602 2015-10-28 10:16 flash-script.sh -rwxr-xr-x root root 285016 2015-10-28 09:55 tmp-mksh [email protected]_Z00E_1:/ # shell shell tmp-mksh: shell: not found 127|[email protected]_Z00E_1:/ # cd tmp-mksh cd tmp-mksh [email protected]_Z00E_1:/tmp-mksh # ./flash-script.sh ./flash-script.sh tmp-mksh: ./flash-script.sh: can't execute: Permission denied 126|[email protected]_Z00E_1:/tmp-mksh # chmod 777 flash-script.sh chmod 777 flash-script.sh [email protected]_Z00E_1:/tmp-mksh # ./flash-script.sh ./flash-script.sh ****************************** Xposed framework installer zip ****************************** - Mounting /system and /vendor read-write - Checking environment ./flash-script.sh[113]: head: not found ./flash-script.sh[113]: sed: not found ./flash-script.sh[115]: cut: not found ./flash-script.sh[115]: head: not found ./flash-script.sh[115]: sed: not found ./flash-script.sh[116]: cut: not found ./flash-script.sh[116]: sed: not found ./flash-script.sh[116]: head: not found ./flash-script.sh[117]: head: not found ./flash-script.sh[117]: sed: not found ./flash-script.sh[119]: head: not found ./flash-script.sh[119]: sed: not found ./flash-script.sh[120]: sed: not found ./flash-script.sh[120]: head: not found ./flash-script.sh[121]: sed: not found ./flash-script.sh[121]: head: not found ./flash-script.sh[122]: head: not found ./flash-script.sh[122]: sed: not found Xposed version: ! Wrong platform: arm ! This file is for: ! Please download the correct package ! for your platform/ROM! 1|[email protected]_Z00E_1:/tmp-mksh # ./flash-script.sh Click to expand... Click to collapse SOLVED! Code: C:\Users\********\Desktop\Xposed ZE500KL>adb shell [email protected]_Z00E_1:/ $ su -c mount -o remount,rw / su -c mount -o remount,rw / [email protected]_Z00E_1:/ $ su su [email protected]_Z00E_1:/ # mount -o remount,rw /system mount -o remount,rw /system [email protected]_Z00E_1:/ # mkdir /system/tmp mkdir /system/tmp mkdir failed for /system/tmp, File exists 255|[email protected]_Z00E_1:/ # mkdir /sdcard/tmp2 mkdir /sdcard/tmp2 mkdir failed for /sdcard/tmp2, File exists 255|[email protected]_Z00E_1:/ # ls -la /sdcard/tmp2 ls -la /sdcard/tmp2 drwxrwx--- root sdcard_r 2015-10-28 11:04 META-INF -rw-rw---- root sdcard_r 5602 2015-10-28 11:04 flash-script.sh drwxrwx--- root sdcard_r 2015-10-28 11:04 system [email protected]_Z00E_1:/ # ls -la system/tmp ls -la system/tmp drwxrwx--- root root 2015-10-28 11:01 META-INF -rwxrwxrwx root root 5602 2015-10-28 11:04 flash-script.sh drwxrwx--- root root 2015-10-28 11:01 system [email protected]_Z00E_1:/ # chmod 777 system/tmp/flash-script.sh chmod 777 system/tmp/flash-script.sh [email protected]_Z00E_1:/ # cd system/tmp cd system/tmp [email protected]_Z00E_1:/system/tmp # ./flash-script.sh ./flash-script.sh ****************************** Xposed framework installer zip ****************************** - Mounting /system and /vendor read-write - Checking environment Xposed version: 75 - Placing files WARNING: linker: could not load library "libsigchain.so" from LD_PRELOAD for "gz ip"; caused by library "libsigchain.so" not found WARNING: linker: could not load library "libsigchain.so" from LD_PRELOAD for "ch own"; caused by library "libsigchain.so" not found WARNING: linker: could not load library "libsigchain.so" from LD_PRELOAD for "ch mod"; caused by library "libsigchain.so" not found WARNING: linker: could not load library "libsigchain.so" from LD_PRELOAD for "cp "; caused by library "libsigchain.so" not found - Done [email protected]_Z00E_1:/system/tmp # reboot reboot To fix your problems you can try this, it worked for me, download this file and place it in the Jyrachy's Xposed ZE500KL folder (with "InstallXposedFramework" and "InstallXposedInstaller" files) File: https://drive.google.com/file/d/0B7qd8mpcLFB2UGoxS1MwZExJOVk/view?usp=sharing then after opening it write these commands in the shell Code: su mount -o remount,rw / mount -o remount,rw /system chmod 777 system/tmp/flash-script.sh cd system/tmp ./flash-script.sh reboot
Click Here! It's my way to install it. Thank you miau9202 and Jhyrarchy!
I'll update my tool. but is strange worked onnmine at first try XD
Ok, i noticed one serious problem Don't install Snapprefs with xposed. I did it, and when i wanted to reboot, some error appeared. So i click on soft reboot, and... android doesn't want to start I'm flashing now my phone, and i hope it will boot
Ok, added a list of working and not working modules. Also fixed the problem, i just added a recursive chmod to the /system/tmp folder before launching the script
96DANGER96 said: SOLVED! Code: C:\Users\********\Desktop\Xposed ZE500KL>adb shell [email protected]_Z00E_1:/ $ su -c mount -o remount,rw / su -c mount -o remount,rw / [email protected]_Z00E_1:/ $ su su [email protected]_Z00E_1:/ # mount -o remount,rw /system mount -o remount,rw /system [email protected]_Z00E_1:/ # mkdir /system/tmp mkdir /system/tmp mkdir failed for /system/tmp, File exists 255|[email protected]_Z00E_1:/ # mkdir /sdcard/tmp2 mkdir /sdcard/tmp2 mkdir failed for /sdcard/tmp2, File exists 255|[email protected]_Z00E_1:/ # ls -la /sdcard/tmp2 ls -la /sdcard/tmp2 drwxrwx--- root sdcard_r 2015-10-28 11:04 META-INF -rw-rw---- root sdcard_r 5602 2015-10-28 11:04 flash-script.sh drwxrwx--- root sdcard_r 2015-10-28 11:04 system [email protected]_Z00E_1:/ # ls -la system/tmp ls -la system/tmp drwxrwx--- root root 2015-10-28 11:01 META-INF -rwxrwxrwx root root 5602 2015-10-28 11:04 flash-script.sh drwxrwx--- root root 2015-10-28 11:01 system [email protected]_Z00E_1:/ # chmod 777 system/tmp/flash-script.sh chmod 777 system/tmp/flash-script.sh [email protected]_Z00E_1:/ # cd system/tmp cd system/tmp [email protected]_Z00E_1:/system/tmp # ./flash-script.sh ./flash-script.sh ****************************** Xposed framework installer zip ****************************** - Mounting /system and /vendor read-write - Checking environment Xposed version: 75 - Placing files WARNING: linker: could not load library "libsigchain.so" from LD_PRELOAD for "gz ip"; caused by library "libsigchain.so" not found WARNING: linker: could not load library "libsigchain.so" from LD_PRELOAD for "ch own"; caused by library "libsigchain.so" not found WARNING: linker: could not load library "libsigchain.so" from LD_PRELOAD for "ch mod"; caused by library "libsigchain.so" not found WARNING: linker: could not load library "libsigchain.so" from LD_PRELOAD for "cp "; caused by library "libsigchain.so" not found - Done [email protected]_Z00E_1:/system/tmp # reboot reboot To fix your problems you can try this, it worked for me, download this file and place it in the Jyrachy's Xposed ZE500KL folder (with "InstallXposedFramework" and "InstallXposedInstaller" files) File: https://drive.google.com/file/d/0B7qd8mpcLFB2UGoxS1MwZExJOVk/view?usp=sharing then after opening it write these commands in the shell Code: su mount -o remount,rw / mount -o remount,rw /system chmod 777 system/tmp/flash-script.sh cd system/tmp ./flash-script.sh reboot Click to expand... Click to collapse How come when I type the commands, the output is just a copy of what I just typed? ---------- Post added at 01:52 AM ---------- Previous post was at 01:15 AM ---------- bohenian said: How come when I type the commands, the output is just a copy of what I just typed? Click to expand... Click to collapse nevermind, I just figured it. Thanks again!
can you tell us as well what you've done ? thx
is this possible for ZE550KL? thanks
Added to index, thanks for your work!
is it safe for ze500kg? and how about gravitybox module does it working well?
cpuz99 said: is it safe for ze500kg? and how about gravitybox module does it working well? Click to expand... Click to collapse I couldn't get gravity box to works 100%. I never tried personally on ZE500KG, but someone else said it works.
Why not work with a Stock Rom 1:13?
Mandrakerj said: Why not work with a Stock Rom 1:13? Click to expand... Click to collapse what do you mean? I'm on stock and it worked
How to complete superuser install
I installed twrp on my htc desire 510. When I was exiting twrp, I get a windows asking if I wanted to install superuser. I tapped yes. from adb shell, I typed su. I got Code: mac $ ./adb shell [email protected]_a11chl:/ $ [email protected]_a11chl:/ $ [email protected]_a11chl:/ $ su 1|[email protected]_a11chl:/ $ su takes a noticeable time to run, but I am not getting the #. Android 4.4.2 htc sense version 6.0 software version 1.49.652.3 I got this from freedompop. I'm hoping to reduce the bloat and backup with ti. I looked around: Code: [email protected]_a11chl:/system $ cd xbin [email protected]_a11chl:/system/xbin $ ls -l -rwxr-xr-x root shell 447976 2014-12-05 11:57 alljoyn-daemon -rwxr-xr-x root root 75364 2016-09-28 23:39 daemonsu -rwxr-xr-x root shell 67952 2014-12-05 11:57 dexdump -rwxr-xr-x root shell 46380 2014-12-05 11:57 dexus -rwxr--r-- root shell 17680 2014-12-05 11:57 nc -rwxr-xr-x root root 75364 2016-09-28 23:39 su -rwxr-xr-x root root 75364 2016-09-28 23:39 sugote -rwxr-xr-x root root 157424 2016-09-28 23:39 sugote-mksh -rwxr-xr-x root root 29972 2016-09-28 23:39 supolicy [email protected]_a11chl:/system/xbin $ ./su 1|[email protected]_a11chl:/system/xbin $ Robert ps. I'm still new to all this.
rccharles said: I installed twrp on my htc desire 510. When I was exiting twrp, I get a windows asking if I wanted to install superuser. I tapped yes. from adb shell, I typed su. I got Code: mac $ ./adb shell [email protected]_a11chl:/ $ [email protected]_a11chl:/ $ [email protected]_a11chl:/ $ su 1|[email protected]_a11chl:/ $ su takes a noticeable time to run, but I am not getting the #. Android 4.4.2 htc sense version 6.0 software version 1.49.652.3 I got this from freedompop. I'm hoping to reduce the bloat and backup with ti. I looked around: Code: [email protected]_a11chl:/system $ cd xbin [email protected]_a11chl:/system/xbin $ ls -l -rwxr-xr-x root shell 447976 2014-12-05 11:57 alljoyn-daemon -rwxr-xr-x root root 75364 2016-09-28 23:39 daemonsu -rwxr-xr-x root shell 67952 2014-12-05 11:57 dexdump -rwxr-xr-x root shell 46380 2014-12-05 11:57 dexus -rwxr--r-- root shell 17680 2014-12-05 11:57 nc -rwxr-xr-x root root 75364 2016-09-28 23:39 su -rwxr-xr-x root root 75364 2016-09-28 23:39 sugote -rwxr-xr-x root root 157424 2016-09-28 23:39 sugote-mksh -rwxr-xr-x root root 29972 2016-09-28 23:39 supolicy [email protected]_a11chl:/system/xbin $ ./su 1|[email protected]_a11chl:/system/xbin $ Robert ps. I'm still new to all this. Click to expand... Click to collapse Do you have a superuser app installed on the phone? If you do, when you type adb shell and enter su afterwards the phone will prompt you to grant superuser rights to the shell. If you don't have this kind of app it's probable that the system is not giving the shell superuser rights and the $ stays. If you have the app and all goes well but you still get the $ sign try re-rooting your phone or try a new method.
ln -s command
I had trouble getting the ln command to work the original location of busybox. I copied busybox to /. So I create the bb link. I invoke bb. I get an error? Why isn't the busybox command run in this case? Code: [email protected]_a11chl:/ # ln -s busybox bb 127|[email protected]_a11chl:/ # ./bb bb: applet not found [email protected]_a11chl:/ # ls -l drwxr-xr-x root root 2016-10-01 00:29 acct lrwxrwxrwx root root 2016-10-01 14:35 bb -> busybox -rwx------ root root 619476 2016-10-01 14:35 busybox ... clipped ... here is what I had before trying to simplify Code: [email protected]_a11chl:/ # ls -l bb lrwxrwxrwx root root 2016-10-01 14:28 bb -> /data/data/com.jrummy.app.managerfree/files/busybox [email protected]_a11chl:/ # ./bb bb: applet not found