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

[Q] Howto gain root with Linux?

Tip us?
 
husky69
Old
#1  
Senior Member - OP
Thanks Meter 108
Posts: 533
Join Date: Oct 2011
Question [Q] Howto gain root with Linux?

Hi,
I'm looking forward to getting my Z1 tomorrow, and being used to having root on my device (ever since I jailbroke my iPhone 3GS) I'd like to get it here as well.

After a bit of reading I got the impression it's rather difficult compared to my previous phone - at least when I'm not having access to a windows computer.
So far I found that Flashtool will be able to unlock my bootloader - but will that be enough to flash SuperSU.zip in order to gain root?

Or is there some other way I overlooked so far? Please help an Xperia noob to make the first steps safely

I appreciate all advice, links, ...

Device: Sony Xperia Z1 (C6903 aka honami)
Recovery: TWRP v2.6.3.0
ROM: SlimKat latest weekly (Android 4.4, CAF stuff included)
Modem: 8974-AAAAANAZQ-10270047-39
Kernel: 3.4.0PIMPED+-gf79222f-dirty

Previous phones: HTC Incredible S (vivo), Samsung Galaxy S3 LTE (i9305)
 
Envious_Data
Old
(Last edited by Envious_Data; 7th March 2014 at 06:58 PM.)
#2  
Envious_Data's Avatar
Recognized Contributor
Thanks Meter 870
Posts: 2,195
Join Date: Oct 2012
Location: Imagination

 
DONATE TO ME
Unlocking your bootloader alone then thats a no,
next you need to flash a custom kernel that contains a recovery
(sony xperias dont have a recovery partition)

once that is done use the recovery menu to flash a superuser or superSu zip

then you are rooted,

take note that custom kernels can only be flashed with a unlocked bootloader (UBL For short)

and also note that there are tools to root but depend on exploits and firmware version

This method of rooting is garenteed because this method doesnt depend on fw version or avaliblw exploits

some misc info
Flashable zips simply execute a script when flashed (often copying files (superuser or supersu copy the app and the SU binary to your system)

yes you need flashtool (not Emma not from sony either)

if you want me to guide you through then just reply

Sent from my C6903 using XDA Premium 4 mobile app


Hi there

"Music Makes me forget the traumas that plague my mind. Music is the cure to a normaly unfixable problem"
-Nozomi Yamauchi

http://envious.host-my-rom.eu/
Credits to zantekk for the WebSpace


Deviant Art page
http://enviousdata.deviantart.com/
The Following User Says Thank You to Envious_Data For This Useful Post: [ Click to Expand ]
 
husky69
Old
#3  
Senior Member - OP
Thanks Meter 108
Posts: 533
Join Date: Oct 2011
Hi,
great to hear, and thank you for that warm welcome to help me become familiar with the device
OK, so Flashtool needs to detect the device, then I can use it to unlock the device. I noticed DooMkernel to be rather extensive in its features, so I think I'll give that one a go.
Does unlocking the bootloader void guarantee? Or flashing a custom kernel or ROM?

What the heck is Emma?

Device: Sony Xperia Z1 (C6903 aka honami)
Recovery: TWRP v2.6.3.0
ROM: SlimKat latest weekly (Android 4.4, CAF stuff included)
Modem: 8974-AAAAANAZQ-10270047-39
Kernel: 3.4.0PIMPED+-gf79222f-dirty

Previous phones: HTC Incredible S (vivo), Samsung Galaxy S3 LTE (i9305)
 
Envious_Data
Old
#4  
Envious_Data's Avatar
Recognized Contributor
Thanks Meter 870
Posts: 2,195
Join Date: Oct 2012
Location: Imagination

 
DONATE TO ME
Quote:
Originally Posted by husky69 View Post
Hi,
great to hear, and thank you for that warm welcome to help me become familiar with the device
OK, so Flashtool needs to detect the device, then I can use it to unlock the device. I noticed DooMkernel to be rather extensive in its features, so I think I'll give that one a go.
Does unlocking the bootloader void guarantee? Or flashing a custom kernel or ROM?

What the heck is Emma?
Yes any sort of modifying will void your garentee or warrenty

and yes
download flashtool (i think links can be found on Doomlords posts)
plug in your Device
click on Bootloader unlock
and folow what it tells you

(to get your iemi code you can type *#06#* in the dialer or go to settings then about then status (it may be there)

and emma is Sony's useless flashtool (to me and you)
(you want the flashtool devloped by bin4ry , doomlord and someone else (cant spell their name)

also side note

i recomend DoomKernel,
DoomLord is a master in Xperia Devices and is very good at coding, his kernels are allways the safest to run

also some other notes make sure his kernel fw version is the same as on your z1 and also make sure that the drivers are installed for your z1

googling can help you here

Sent from my C6903 using XDA Premium 4 mobile app


Hi there

"Music Makes me forget the traumas that plague my mind. Music is the cure to a normaly unfixable problem"
-Nozomi Yamauchi

http://envious.host-my-rom.eu/
Credits to zantekk for the WebSpace


Deviant Art page
http://enviousdata.deviantart.com/
 
blueether
Old
#5  
blueether's Avatar
Senior Member
Thanks Meter 1,168
Posts: 2,670
Join Date: Jan 2011
Location: Te Awamutu, New Zealand

 
DONATE TO ME
Just note that doing it this way will lose your TApartition and drm keys. Have a read about these then decide if this is the route you want to take.

Sent from my Xperia Z Ultra using Tapatalk
Charles
Alcatel One Touch "easy" -> Nokia 1110i -> Alcatel ame-408 -> Motorola Razr v3 -> Huawei u8100 -> Sony Xperia Z-Ultra

ROM:- Carbon
Kernel:- Pimped Kernel

Thankyou to all those that have donated to me over 2014.
The Following User Says Thank You to blueether For This Useful Post: [ Click to Expand ]
 
Envious_Data
Old
#6  
Envious_Data's Avatar
Recognized Contributor
Thanks Meter 870
Posts: 2,195
Join Date: Oct 2012
Location: Imagination

 
DONATE TO ME
Quote:
Originally Posted by blueether View Post
Just note that doing it this way will lose your TApartition and drm keys. Have a read about these then decide if this is the route you want to take.

Sent from my Xperia Z Ultra using Tapatalk
thanks for posting

i knew i was forgetting something


For OP
notes:
TA partition contains DRM keys

bravia engine and x-reality depend on your (unique) drm keys

also if your not on 4.3 it will break your camera (if you unlock your bootloader)

you can relock and restore your drm keys if you back them up

Sent from my C6903 using XDA Premium 4 mobile app


Hi there

"Music Makes me forget the traumas that plague my mind. Music is the cure to a normaly unfixable problem"
-Nozomi Yamauchi

http://envious.host-my-rom.eu/
Credits to zantekk for the WebSpace


Deviant Art page
http://enviousdata.deviantart.com/
Tags
linux, root, xperia z1
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Android M Mentions Spotted in Android Code Review

While we are still waiting for Android L to be officially released, the first mentions of … more

Create a Simple Custom Launcher from Scratch

When you are starting your journey intoany sort of development, it’s never easy at the … more

MediaTek Continues Steps Towards Being Developer-Friendly

Not too long ago MediaTek was very closed off towards the mobile developer … more