Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,460 Members 40,492 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 107
Posts: 522
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
Senior Member
Thanks Meter 667
Posts: 1,625
Join Date: Oct 2012
Location: Yaizu
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
Devices:
Sony Xperia Z2

Roms:
Envi-Rom Z2/S
The Following User Says Thank You to Envious_Data For This Useful Post: [ Click to Expand ]
 
husky69
Old
#3  
Senior Member - OP
Thanks Meter 107
Posts: 522
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
Senior Member
Thanks Meter 667
Posts: 1,625
Join Date: Oct 2012
Location: Yaizu
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
Devices:
Sony Xperia Z2

Roms:
Envi-Rom Z2/S
 
blueether
Old
#5  
blueether's Avatar
Senior Member
Thanks Meter 939
Posts: 2,323
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
The Following User Says Thank You to blueether For This Useful Post: [ Click to Expand ]
 
Envious_Data
Old
#6  
Envious_Data's Avatar
Senior Member
Thanks Meter 667
Posts: 1,625
Join Date: Oct 2012
Location: Yaizu
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
Devices:
Sony Xperia Z2

Roms:
Envi-Rom Z2/S
Tags
linux, root, xperia z1
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Shane Francis to Talk Android, Robotics, and Vision at XDA:DevCon 2014

Our international xda:devcon 14in Manchester, UK on the weekend of … more

LG G Watch Tool is a Toolkit all Owners Need

The LG G Watch is one of the first two devices hitting the market rocking the highly anticipated … more

Benchmark Your CPU Performance with Mini CPU Integer Script

When it comes to device testing, there are two types of people on XDA. The first … more

Rid Yourself of Charging Annoyances with No Wake on Charge Xposed Module

Almost every OEM has skinned and otherwise modifiedAndroid to suit … more