Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,583 Members 38,426 Now Online
XDA Developers Android and Mobile Development Forum

Adb/fastboot

Tip us?
 
Bill Idol
Old
#1  
Bill Idol's Avatar
Senior Member - OP
Thanks Meter 48
Posts: 550
Join Date: Aug 2007
Location: San Francisco
Default Adb/fastboot

Hello, I just recently got my z1s C6916 and I'm trying to root via jcase method. Now in order to do the commands in adb doesn't my phone have to be in fastboot mode? If it does, how can I get into fastboot? I've tried holding down the volume down button while pressing the power button but no luck. My phone is easily recognized in adb and I have USB debugging on but after I run all the commands it just tells me that it cannot execute. So that is why I am wondering if I have to be in fastboot mode in order for the commands to work.
Sent from my C6916 using Xparent Cyan Tapatalk 2
Bill Idol
1st. device: Sony Xperia Z1S C6916 (I like this waterproof stuff)
Root: Not yet, trying desperately
Bootloader: Locked down tighter than what ever can be locked down tight!!!
2nd device: Moto X Developer Edition
Root: Yes
Bootloader: Unlocked
Recovery: TWRP
ROM: Stock/ Hacked Up and Modded
Past Devices: htc G1/ htc Nexus One/ Moto Droid/ Moto Droid X/ htc Thunderbolt/ Samsung Galaxy Nexus/ Samsung Galaxy Note 2
 
gregbradley
Old
#2  
gregbradley's Avatar
Forum Moderator
Thanks Meter 3,968
Posts: 9,328
Join Date: Mar 2011
Location: Manchester
No,

It has to be turned on and connected to the PC

Type
adb devices

to check your PC is recognising the adb device

How to get root on Xperia Z1 with KitKat 4.4.2, 4.4.3 & 4.4.4

If you are unsure, then read this.
If you are still unsure, watch this.
 

My contributions.
If I have seen further it is by standing on the shoulders of giants. Sir Isaac Newton

[X10] | [NEO] | [Xperia T/TX] |
[Xperia Z1]
You are free to share my work, but please provide the correct credits and a link to my original thread.


 
Bill Idol
Old
(Last edited by Bill Idol; 23rd August 2014 at 07:36 PM.)
#3  
Bill Idol's Avatar
Senior Member - OP
Thanks Meter 48
Posts: 550
Join Date: Aug 2007
Location: San Francisco
ok I did it without fastboot and ran all the commands but keep getting cannot execute for the last command


C:\Users\TEMP\Downloads\xperia root>adb devices
List of devices attached
CB5A1Z18JC device


C:\Users\TEMP\Downloads\xperia root>adb push pwn /data/local/tmp/pwn
5056 KB/s (574722 bytes in 0.111s)

C:\Users\TEMP\Downloads\xperia root>adb shell chmod 755 /data/local/tmp/pwn

C:\Users\TEMP\Downloads\xperia root>adb shell /data/local/tmp/pwn
/system/bin/sh: /data/local/tmp/pwn: can't execute: Is a directory

C:\Users\TEMP\Downloads\xperia root>
Bill Idol
1st. device: Sony Xperia Z1S C6916 (I like this waterproof stuff)
Root: Not yet, trying desperately
Bootloader: Locked down tighter than what ever can be locked down tight!!!
2nd device: Moto X Developer Edition
Root: Yes
Bootloader: Unlocked
Recovery: TWRP
ROM: Stock/ Hacked Up and Modded
Past Devices: htc G1/ htc Nexus One/ Moto Droid/ Moto Droid X/ htc Thunderbolt/ Samsung Galaxy Nexus/ Samsung Galaxy Note 2
 
gregbradley
Old
#4  
gregbradley's Avatar
Forum Moderator
Thanks Meter 3,968
Posts: 9,328
Join Date: Mar 2011
Location: Manchester
You may have to allow unkown sources.
Not sure as I have a Z1

How to get root on Xperia Z1 with KitKat 4.4.2, 4.4.3 & 4.4.4

If you are unsure, then read this.
If you are still unsure, watch this.
 

My contributions.
If I have seen further it is by standing on the shoulders of giants. Sir Isaac Newton

[X10] | [NEO] | [Xperia T/TX] |
[Xperia Z1]
You are free to share my work, but please provide the correct credits and a link to my original thread.


 
Bill Idol
Old
#5  
Bill Idol's Avatar
Senior Member - OP
Thanks Meter 48
Posts: 550
Join Date: Aug 2007
Location: San Francisco
yeah I have unknown sources allowed. I wonder if I have to turn off my fire wall to do this? Well thanks for your help brudda, really do appreciate it.
Bill Idol
1st. device: Sony Xperia Z1S C6916 (I like this waterproof stuff)
Root: Not yet, trying desperately
Bootloader: Locked down tighter than what ever can be locked down tight!!!
2nd device: Moto X Developer Edition
Root: Yes
Bootloader: Unlocked
Recovery: TWRP
ROM: Stock/ Hacked Up and Modded
Past Devices: htc G1/ htc Nexus One/ Moto Droid/ Moto Droid X/ htc Thunderbolt/ Samsung Galaxy Nexus/ Samsung Galaxy Note 2
 
smart8bits
Old
#6  
Junior Member
Thanks Meter 8
Posts: 27
Join Date: Dec 2013
Quote:
Originally Posted by Bill Idol View Post
ok I did it without fastboot and ran all the commands but keep getting cannot execute for the last command


C:\Users\TEMP\Downloads\xperia root>adb devices
List of devices attached
CB5A1Z18JC device


C:\Users\TEMP\Downloads\xperia root>adb push pwn /data/local/tmp/pwn
5056 KB/s (574722 bytes in 0.111s)

C:\Users\TEMP\Downloads\xperia root>adb shell chmod 755 /data/local/tmp/pwn

C:\Users\TEMP\Downloads\xperia root>adb shell /data/local/tmp/pwn
/system/bin/sh: /data/local/tmp/pwn: can't execute: Is a directory

C:\Users\TEMP\Downloads\xperia root>
maybe your adressing was wrong or something like that! because it say you try to execute a directory! Do some search about this command. it maybe help you.
 
Bill Idol
Old
#7  
Bill Idol's Avatar
Senior Member - OP
Thanks Meter 48
Posts: 550
Join Date: Aug 2007
Location: San Francisco
Quote:
Originally Posted by smart8bits View Post
maybe your adressing was wrong or something like that! because it say you try to execute a directory! Do some search about this command. it maybe help you.
Thanks brudda, will do.

Sent from my C6916 using Xparent Cyan Tapatalk 2
Bill Idol
1st. device: Sony Xperia Z1S C6916 (I like this waterproof stuff)
Root: Not yet, trying desperately
Bootloader: Locked down tighter than what ever can be locked down tight!!!
2nd device: Moto X Developer Edition
Root: Yes
Bootloader: Unlocked
Recovery: TWRP
ROM: Stock/ Hacked Up and Modded
Past Devices: htc G1/ htc Nexus One/ Moto Droid/ Moto Droid X/ htc Thunderbolt/ Samsung Galaxy Nexus/ Samsung Galaxy Note 2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes