Xperia Z development, all roms, kernels and developing info

krabappel2548

Inactive Recognized Developer
Nov 15, 2011
6,443
16,111
0
Lommel
Hello everyone,

This thread will contain an overview of the development of Xperia Z, but also some general info about the phone :)

Here is the general info:

The Xperia Z is a smartphone from Sony, it's a smartphone which has the following certificates for water-resistant and dust proof, IPX5/7 (Water-resistant) & IP5X (Dust-proof). It is a 7.9" thin phone with a 5" screen.
Some more specs are:
- 2GB Ram
- 16GB Internal storage
- 1.5GHz quadcore Qualcomm APQ8064+MDM9215M
- Launch with Android 4.1 Jellybean, 4.2 Upgrade should come soon after release
- A 5", 1920x1080 pixels, scratch resistant display with Mobile Bravia Engine 2
- 13.1 megapixel camera with Auto focus and Burst Mode
- HDR photo and video
- Full HD 2mp front facing camera
- Bluetooth 4.0
- Wifi Direct, Hotspot and Miracast function
- HDMI with MHL support
- Clearaudio+, 3D surround
- And even more

- For full details look here: Sony Xperia Z official site

 
Last edited:
  • Like
Reactions: jiawei0309

aresbv2000

Senior Member
Mar 18, 2009
785
278
93
33
Brasov
Hi Krab....i know you from Xperia S development forum.Unfortunately i have sold my Xperia S because i was so disappointed by Sony with that phone!But this phone is absolutely awesome...so i wanna try one more time with Sony.But from what i know this phone is gonna be released in march at about 733 $.In your country is released already?If so....what price?Thanks
 

krabappel2548

Inactive Recognized Developer
Nov 15, 2011
6,443
16,111
0
Lommel
Hi Krab....i know you from Xperia S development forum.Unfortunately i have sold my Xperia S because i was so disappointed by Sony with that phone!But this phone is absolutely awesome...so i wanna try one more time with Sony.But from what i know this phone is gonna be released in march at about 733 $.In your country is released already?If so....what price?Thanks
No, not yet released, also march here. And I know you are from XS forums, I recognize your username, you were in my rom thread ;) Just getting this thread ready with some common stuff about developing and Xperia Z to help new/existing users or developers ;)

But we should stop posting of topic now I think.

Sent from my LT26i using xda app-developers app
 
Last edited:

Riyal

Senior Member
Dec 16, 2011
3,010
1,763
243
Iloilo City
Hi krappabel I have been outdated on Xperia devices starting from 2012 so just wanna ask how are the partition layouts on the current Xperia devices? Do they have recovery partitions now? Also is it possible to do unlocking through testpoint method or any 3rd party tools like setool or only through sony's official unlocking site? And how's the OTA updates when used with the official unlocking method? Does it still brick the devices?

Just wanna ask earlier as I am still having doubts buying the Xperia ZL, HTC M7 or HTC Butterfly J.
 
Last edited:

krabappel2548

Inactive Recognized Developer
Nov 15, 2011
6,443
16,111
0
Lommel
Hi krappabel I have been outdated on Xperia devices starting from 2012 so just wanna ask how are the partition layouts on the current Xperia devices? Do they have recovery partitions now? Also is it possible to do unlocking through testpoint method or any 3rd party tools like setool or only through sony's official unlocking site? And how's the OTA updates when used with the official unlocking method? Does it still brick the devices?

Just wanna ask earlier as I am still having doubts buying the Xperia ZL, HTC M7 or HTC Butterfly J.
Unlocking can only be done using the official Sony method. But you can relock your boot loader after flashing a ROM :)

Recovery is still embedded in the kernels, but I don't know why this should be a big problem'. It's not that difficult to include it in a custom kernel.

If you unlock your device it's logical you don't need to take updates the official way in my opinion, upgrading with custom roms or flashtool also isn't difficult at all :)

Feel free to ask more questions :)

Sent from my Transformer Pad TF300T using xda app-developers app
 

alabrand

Member
Dec 22, 2012
18
0
0
Unlocking can only be done using the official Sony method. But you can relock your boot loader after flashing a ROM :)

Recovery is still embedded in the kernels, but I don't know why this should be a big problem'. It's not that difficult to include it in a custom kernel.

If you unlock your device it's logical you don't need to take updates the official way in my opinion, upgrading with custom roms or flashtool also isn't difficult at all :)

Feel free to ask more questions :)

Sent from my Transformer Pad TF300T using xda app-developers app
I'm quite new to rotting and flashing and such and I currently own a Samsung Galaxy S2 but... How difficult could it possibly be to root the upcoming Sony Xperia Z? I know it ain't released but perhaps it is quite easy to do : )
 

krabappel2548

Inactive Recognized Developer
Nov 15, 2011
6,443
16,111
0
Lommel
I'm quite new to rotting and flashing and such and I currently own a Samsung Galaxy S2 but... How difficult could it possibly be to root the upcoming Sony Xperia Z? I know it ain't released but perhaps it is quite easy to do : )
Xperia's are very easy to root :) once an ftf (firmware file) is out I can make a pre-rooted system.img to flash for unlocked bootloaders, so that should be from day one probably ;)

For locked bootloaders I can't tell you right now.

Sent from my LT26i using xda app-developers app
 

alabrand

Member
Dec 22, 2012
18
0
0
Xperia's are very easy to root :) once an ftf (firmware file) is out I can make a pre-rooted system.img to flash for unlocked bootloaders, so that should be from day one probably ;)

For locked bootloaders I can't tell you right now.

Sent from my LT26i using xda app-developers app
Seems pretty different compared to how I rooted my Galaxy S2 xD Here's hoping that a very, very good rom & kernel combo will be available shortly after its release. 'Tis a shame we have to wait at least until March or something for this phone.
 

Riyal

Senior Member
Dec 16, 2011
3,010
1,763
243
Iloilo City
Unlocking can only be done using the official Sony method. But you can relock your boot loader after flashing a ROM :)

Recovery is still embedded in the kernels, but I don't know why this should be a big problem'. It's not that difficult to include it in a custom kernel.

If you unlock your device it's logical you don't need to take updates the official way in my opinion, upgrading with custom roms or flashtool also isn't difficult at all :)

Feel free to ask more questions :)

Sent from my Transformer Pad TF300T using xda app-developers app
Thanks for the answers :D

So whenever I relock my bootloader would I be able to upgrade via OTA still? Thing is I will be buying 2 Xperia ZL. I will be giving the other one to my wife and I'm afraid she might do an OTA when I unlock it.(Or I could just remove the OTA apk instead :p)

Regarding recovery yes I know it's not really a big problem I just got this habit of shifting CM and stock ROMs on the fly on my HTC device and obviously you can't hotswap CM and stock ROMs without a PC if you got an embedded recovery(kernel compatibility issues) so yeah thats my only point on the recovery.

Just an idea though I'm not quite sure yet if this is plausible but I might try this when I get the device. Would it be possible that when recovery is initiated on boot a script is executed to mount ram/tmpfs and copy recovery there and execute it on RAM? So we could flash a new boot.img without a PC?

:D Actually I already tried it on my HTC device and it worked although if you flashed a broken kernel then you wouldn't have any choice but to fastboot a working one. Just sharing my ideas for a way to hotswap kernels :eek:
 
Last edited:

AayushDhuria

Senior Member
Oct 1, 2011
1,032
461
0
Seems pretty different compared to how I rooted my Galaxy S2 xD Here's hoping that a very, very good rom & kernel combo will be available shortly after its release. 'Tis a shame we have to wait at least until March or something for this phone.
Samsung was once known for it's dev friendliness, I've owned HTC, once done, it's all a piece of cake, flash via recovery
;)
Sent from my Galaxy S2 using XDA Premium app!
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,194
39,692
113
Pune
Thanks for the answers :D

So whenever I relock my bootloader would I be able to upgrade via OTA still? Thing is I will be buying 2 Xperia ZL. I will be giving the other one to my wife and I'm afraid she might do an OTA when I unlock it.(Or I could just remove the OTA apk instead :p)

Regarding recovery yes I know it's not really a big problem I just got this habit of shifting CM and stock ROMs on the fly on my HTC device and obviously you can't hotswap CM and stock ROMs without a PC if you got an embedded recovery(kernel compatibility issues) so yeah thats my only point on the recovery.

Just an idea though I'm not quite sure yet if this is plausible but I might try this when I get the device. Would it be possible that when recovery is initiated on boot a script is executed to mount ram/tmpfs and copy recovery there and execute it on RAM? So we could flash a new boot.img without a PC?

:D Actually I already tried it on my HTC device and it worked although if you flashed a broken kernel then you wouldn't have any choice but to fastboot a working one. Just sharing my ideas for a way to hotswap kernels :eek:
you will have direct access to flash to boot partition when device is booted/in recovery.... so u can flash/backup/restore kernels in recovery in most 2012 devices (not sure about the msm7x27 devices)...
 

Riyal

Senior Member
Dec 16, 2011
3,010
1,763
243
Iloilo City
you will have direct access to flash to boot partition when device is booted/in recovery.... so u can flash/backup/restore kernels in recovery in most 2012 devices (not sure about the msm7x27 devices)...
Really? I'm not sure yet with the 2012 devices since my last Xperia device was the Xperia Pro but wouldn't flashing the boot partition overwrite the older one instantly? Then what would happen to the recovery since it's running in the previous boot image's ramdisk? I can't imagine the recovery would still keep running without it's executeable.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone