kernel modules - Xperia Z3 Compact Q&A, Help & Troubleshooting

Good day.
I have a Z3 compact with unlockable bootloader, and that it is not possible to install custom kernel in it.
So i remembered that, a long long time ago , when i had a X10 mini, that it was possible to add governors by copying a .ko file to the phone.
(http://forum.xda-developers.com/showthread.php?t=1281185).
Anyone has any idea if there is similar modules for our phone? (if it is even possible).
It would be nice for phones with locked bootloader, like mine.
Thank you.

Related

Need some help regarding Custom-ROMs and their consequences!

Hello, iam a Xperia-Z (C6603) User for a week or two and am now looking forward to a
Nice and clean custom-Rom without any bloatware which I hate(ultimate music Sony select,sonysocialfoo and Facebook and alike)
and I guess cm11nightly would fulfill my needs, as i would also really love a smartphone without gapps.
FIrst I thought it would basically be a decision between the to be flashed ROM but now
I read about the bravia-engine getting lost forever which would really suck, is this still
State-of-the-art? Or is there an Option to get it back, as far as I know the BE is basically still there but licensed over a key like the mpeg2-codec on the raspberry-Pi isn't there a possibility to back it up and still be able to use it when you revert back to stock for example?
You're in charge now, what do you suggest me? Iam still on 4.2.2 and would like to get everything up-to-date soon. Btw. I would want a Rom that is of the same color as stock 4.2.2 so basically black, a white theme would be hard to look at in dark conditions even when turned down to lowest brightness.
So to sum it up: NO bloatware (must), NO gapps(nicetohave), black theme like 4.2.2(must), still BEngine(nicetohave)
Btw. How's the image-quality with custom-Roms? It shouldn't get worse than it is in 4.2.2 stock if possible!
Thanks! :good::highfive:
luluchambler said:
Hello, iam a Xperia-Z (C6603) User for a week or two and am now looking forward to a
Nice and clean custom-Rom without any bloatware which I hate(ultimate music Sony select,sonysocialfoo and Facebook and alike)
and I guess cm11nightly would fulfill my needs, as i would also really love a smartphone without gapps.
FIrst I thought it would basically be a decision between the to be flashed ROM but now
I read about the bravia-engine getting lost forever which would really suck, is this still
State-of-the-art? Or is there an Option to get it back, as far as I know the BE is basically still there but licensed over a key like the mpeg2-codec on the raspberry-Pi isn't there a possibility to back it up and still be able to use it when you revert back to stock for example?
You're in charge now, what do you suggest me? Iam still on 4.2.2 and would like to get everything up-to-date soon. Btw. I would want a Rom that is of the same color as stock 4.2.2 so basically black, a white theme would be hard to look at in dark conditions even when turned down to lowest brightness.
So to sum it up: NO bloatware (must), NO gapps(nicetohave), black theme like 4.2.2(must), still BEngine(nicetohave)
Btw. How's the image-quality with custom-Roms? It shouldn't get worse than it is in 4.2.2 stock if possible!
Thanks! :good::highfive:
Click to expand...
Click to collapse
I would recommend Cyanogen Mod to most people. Honestly I can't live without the features these days!
Regarding the consequences.. Well there aren't really any.. Kinda.. You may or may not lose your warranty based on how stingy Sony are feeling at the time. Most of the BRICK warnings are just to cover developers if someone does something wrong or if your phone just so happens to die of something completely unrelated while installing the rom.
I would recommend trawling this forum for at least and hour or two just reading the various guides; How to backup your phone, How to unlock the bootloader and, most importantly, how to backup your TA partition.
It's quite a pain free process. It's just better to be aware of what could go wrong, so you are prepared and can easily apply the fix before panicking and messing something up
Good luck and happy trawling!
You only have to learn these things once. Once your rooted, unlocked and running a custom rom updating is easier than sonys
Hi, thank you for your reply.
I just looked up what exactly the "TA-Partition" is and i guess the only thing that was worrying me (loosing Bravia) is not up-to-date anymore
So lets get started, i looked up what i need to backup the "TA-Partition" and if i understood everything its basically having a rooted Xperia-Z and a double-click on a .bat-file?
So i guess the best would to not upgrade any of the shown OTA-Updates by Sony, and root the 4.2.2-Stock ROM that is on the device right now?
As far as i know rooting 4.2.2 isn't really a problem right now, agreed?
So after sucessfully rooting the Sony Xperia-Z its just backing up the "TA-Par tition" with "TA-Backup"-Script?
After that, its unlocking the Boot-loader over the Sony-Website (IMEI, Name, Email....) so that they send you the Unlock-Code, after that you'll have to use fastboot to finally unlock it?
(If i check the Service Menu "Rooting Status": there is nothing behind it, but the bootloader-unlock allowed: says yes, so no problem right?)
After that you most likely are done for the moment, until you decide if it should be CM10.1Stable or CM11Nightly, rig
How's the status of CM11 right now, any known major bugs?
Thank you already for your help :good:
luluchambler said:
Hi, thank you for your reply.
I just looked up what exactly the "TA-Partition" is and i guess the only thing that was worrying me (loosing Bravia) is not up-to-date anymore
So lets get started, i looked up what i need to backup the "TA-Partition" and if i understood everything its basically having a rooted Xperia-Z and a double-click on a .bat-file?
So i guess the best would to not upgrade any of the shown OTA-Updates by Sony, and root the 4.2.2-Stock ROM that is on the device right now?
As far as i know rooting 4.2.2 isn't really a problem right now, agreed?
So after sucessfully rooting the Sony Xperia-Z its just backing up the "TA-Par tition" with "TA-Backup"-Script?
After that, its unlocking the Boot-loader over the Sony-Website (IMEI, Name, Email....) so that they send you the Unlock-Code, after that you'll have to use fastboot to finally unlock it?
(If i check the Service Menu "Rooting Status": there is nothing behind it, but the bootloader-unlock allowed: says yes, so no problem right?)
After that you most likely are done for the moment, until you decide if it should be CM10.1Stable or CM11Nightly, rig
How's the status of CM11 right now, any known major bugs?
Thank you already for your help :good:
Click to expand...
Click to collapse
I've been using Cyanogenmod 11 nighties for months now, no obvious bugs
Some features aren't implemented yet and the occasional feature is broken.. Nothing really integral to the phone though
You've pretty much got the method down! Just ensure you use a root method for your sony firmware version (Android version). It should use some form of "Exploit" to avoid deleting the TA-Partition. Honestly I backed mine up and haven't ever wanted to restore it, the features are more of a gimmick than anything useful
Enjoy
A few more questions! (Iam sorry )
So as far as i can see, my smartphone is running "10.3.1.A.0.244" which is regarding to the post by DooMLord not exploitable.
I therefore have to flash the "10.3.A.0.423"-Kernel-Only so that the previously used exploit works again.
After that i'll have to restore the Kernel that was previously on the Smartphone therefore "10.3.1.A.0.244"
After that root should stay in intact, but what about the TA-Partion? Is it somehow affected by this?
Secound Question, is it crucial to have an micro-sdhc inserted to sucessfully flash CM11 onto the Xperia Z after backing up TA, or is it possible without?
And the Image-Quality (taking Pictures) should be kinda worse on CM11 than it is with Sony's Stock Firmware, is it possible to include(myself) the propritary firmware.blobs for the Camera as we do it with gapps, or will i have to live with the reduced image Quality?
Thanks!

Root Z3C 5.1.1 Stock Rom

Hello i have upgraded my Z3C D5803 from 5.0.2 Slim Rom (twrp and rooted & bootlader unlocked) to 5.1.1 Stock Firmware 23.4.A.0.546 using XPERIFIRM to download and Flashtool to package and flash to the phone.
I have been looking for days but i am unable to find a way to root the stock firmware without having to reflash a custom firmware. I use the ScreenMirroring and Dualshock Support on a daily basis and this is usually taken out of custom roms as Bloatware.
Everything i have tried so far has not worked. Currently it is completely stock, no custom loader, no root (however I do not know if flashing stock rom via Flashtool will relock the bootloader?) Edit: Although from what i have read and understood it is not possible to relock the bootloader (that easily)
I have had many android phones/tablets and rooted/unlocked the majority of them, i just cannot work this one out =[
Thanks for any help
Did u already tried to downgrade , get root and reflashed an prerooted Firmware from here?
GP420 said:
Hello i have upgraded my Z3C D5803 from 5.0.2 Slim Rom (twrp and rooted & bootlader unlocked) to 5.1.1 Stock Firmware 23.4.A.0.546 using XPERIFIRM to download and Flashtool to package and flash to the phone.
I have been looking for days but i am unable to find a way to root the stock firmware without having to reflash a custom firmware. I use the ScreenMirroring and Dualshock Support on a daily basis and this is usually taken out of custom roms as Bloatware.
Everything i have tried so far has not worked. Currently it is completely stock, no custom loader, no root (however I do not know if flashing stock rom via Flashtool will relock the bootloader?) Edit: Although from what i have read and understood it is not possible to relock the bootloader (that easily)
I have had many android phones/tablets and rooted/unlocked the majority of them, i just cannot work this one out =[
Thanks for any help
Click to expand...
Click to collapse
I am exactly in the same position. All I want is my COMPLETELY stock 5.1.1 to have root access, and possibly custom recovery. I don't want it pre-debloated (will remove the apps I want remove with Titanium) I don't want Xposed or anything added to it.I don't want to have to flash-downgrade ROM or worse, install a custom ROM, then reupgrade, and all the palaver.
Just like you I have rooted and CWM'd successfully many phones like Xperia X10, Xperia Mini, Galaxy S1, Galaxy S2 and Fairphone and I have always managed to do it in a fairly straightforward way. Just like you I cannot work this one out. I have spent the best part of my free time in the last week searching the web and this website, to no avail. No one and nowhere is offering a simple way to root & CWM the Z3C on stock 5.1.1. It seems even less likely on a D5833 and even less so on a locked bootloader!
Feeling like giving up on this phone.... :crying:
http://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343
Next time, please do a little (re)seach on your own...
fgaine said:
I am exactly in the same position. All I want is my COMPLETELY stock 5.1.1 to have root access, and possibly custom recovery. I don't want it pre-debloated (will remove the apps I want remove with Titanium) I don't want Xposed or anything added to it.I don't want to have to flash-downgrade ROM or worse, install a custom ROM, then reupgrade, and all the palaver.
Just like you I have rooted and CWM'd successfully many phones like Xperia X10, Xperia Mini, Galaxy S1, Galaxy S2 and Fairphone and I have always managed to do it in a fairly straightforward way. Just like you I cannot work this one out. I have spent the best part of my free time in the last week searching the web and this website, to no avail. No one and nowhere is offering a simple way to root & CWM the Z3C on stock 5.1.1. It seems even less likely on a D5833 and even less so on a locked bootloader!
Feeling like giving up on this phone.... :crying:
Click to expand...
Click to collapse
Problem is, atm u cannot root directly 5.1.1. U have to downgrade.
I have lost function of the camera button by going through all that flash-downgrading, custom recovery, reupgrading etc... I don't want to do that and screw up my phone any further, so I'll wait for a safer and more straightforward process to come up...

C6616 (Canada) 5.1.1 Root Possible?

I bought this phone today, and it was on 4.1 or something - some rom. I came back to XDA the wonderful fairy land to make my dreams come true.
Alas, and as always (6th phone in a row) I am lost. I rooted successfully the 4.1 (I forget what it *actually* was) and that was fine. It worked. I used a DooMLoRD special secret package that he made specifically for us Canadians, I don't know how I found it either as it was buried deep in a different thread. As far as I know the 'perf'(..?) exploit has been patched by Sony.
Seeing how I haven't been around here in about 10 to 16 months, I forgot how everything works. I upgraded my device to the official 5.1.1 expecting to retain my root, and then intended on getting my hands a little dirty in the coming weeks (or at least get a Kernel that seeks to improve battery life)
my bootloader is still locked. I will note, however, that Kingroot, the APK succesfully got me rooted. But that app is weird, and I don't know if I trust it... I also don't know what would happen if I tried to flash a new kernel.
ANYWAY THANKS FOR READING THIS
Search tool is a gift, I have been and will continue to be searching probably way too intensely for a fix or some help.
Cheers to all
k.

Stock based vs aosp rom plus ul bootlaoder question

I have been reading this forum as long as I have had my phone (over 2 years) and I have finally decided it's time to move past the concept rom.
I am unfortunately inexperienced w/ flashing roms on the z3 compact (I last loaded custom roms on my moto defy, but only flashed .sbf files on my razr m) and I just want to clear up a few questions.
I hope that 7.1 will make it to z3 compact in a stable rom eventually, so that is my end goal, but for now i am considering going with one of the stock roms out there (slimm, etc.) First question is about UL bootloader, drm and the camera. If I back up the DRM does that mean i can relock the bootloader, transfer the drm keys back to the phone and the camera will be useable? will i be able to use an aosp if i relock the bootlaoder after flashing the rom? It's unclear if custom roms need ul bootloader all the time or just for install.
Also, custom kernels need ul bootloader to run correct? i cannot load a custom kernel, and custom rom, and then re lock the bootloader?
I love this phone (will probably get a second just in case) and don't see anything out there to replace it. That's why I requesta bit of help from the xda community for this. If there is no xz compact in the works, i'd be happy w/ z3 compact for a while (assuming i can get newer roms plus a working camera)
Thank you
1. The Camera is usable regardless of whether or not you have DRM keys. However, certain features such as noise reduction during the night do not work without DRM keys.
2. "If I back up the DRM does that mean i can relock the bootloader, transfer the drm keys back to the phone and the camera will be useable?" - Yes.
3. You need unlocked bootloader for all AOSP ROMs since the kernel is different.
4. "I cannot load a custom kernel, and custom rom, and then re lock the bootloader?" - Nooo, your phone will just stop booting up. Unless you're fully stock don't bother relocking. There's a "DRM Restoration" patch for unlocked bootloaders anyway http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
When you go back to stock, you'll probably feel how slow and bad it performs compared to Concept haha. I went right back after I flashed stock for a day.
Also, camera on AOSP ROMs have a fish eye effect for now.
Thanks. I wasn't sure if the DRM fix would fix the fisheye problem in AOSP Roms. I guess my best bet is to see what happens now that they've released the concept kernel source? Meaning I'll be on concept for a while longer.
Hopefully there will eventually be a 7.1 ROM stable with for use on my primary phone? I just don't want to lose camera functionality (since it's not that great to begin with)
The thing is people hope hope hope and never actually help with development, so it's a little slow.
Camera is limited to 15 fps for reasons which I think will stay that way and fish eye can be corrected by anyone who can be bothered. Also DRM fix doesn't matter in AOSP since AOSP doesn't use DRM stuff.
And so what if they released kernel source ? There's really not too much to do on it and I don't see any demand for a custom kernel so I haven't released mine here.
You're right. I wish had the know how to help out here. Also, I guess my ignorance is clear to you real devs out there, since I thought that having the kernel source might make it easier for the devs to work with the concept ROM

What's the easiest way if you only want root access, nothing else?

First of all, I have been using custom kernels and later rooting since Pocket PC 2002/Merlin, and I now have bought my first Sony (after just about every other brand of Android phone, no particular reason why I never had a Sony since the SE T68) because it's the only phone I can use with salt water spray on the screen and wet fingers. I do a lot of lobster, crayfish and crab fishing with traps and use an app called Fishing Poins to keep track of my pots and what I get where. Coming from Samsung (S5 was the latest I had) the rooting of a Sony seems rather cumbersome, but I have a few apps that need root access. LIke Air Audio to play music through an Airplay system. DLNA is useless to me, I want to stream the audio that I'm using on the phone directly to the whole house systen.
So can somebody please tell me what I do to get root access on Nougat (which my phone upgraded to before I saw that's what was happening, and no, I'm not big on reading long explanation screens, if it's a new phone and an official upgrade I am used to just doing it before I root on Samsung phones, since I have to unroot to install them later) and nothing else? For now I don't want to use any custom kernels or recovery, if I can avoid it. Just stock, rooted, like I could on my S5 (and Note 2, S4 Active and so on), please!
I did attempt the KingRoot app, but it didn't work. Also I have read a bit about that app that doesn't seem to good (Chinese spy fator app), so I did a full reset after the failed attempt. But if there's something similar that would be the perfect way of doing this. Of course I'm no stranger to ADB, so hooking it up to my pc is not a problem either.
1. Downgrade to any version of stock Marshmallow firmware with Xperifirm and Flashtool. Wipe everything and Exclude nothing (but *.ta - if any). Do not use FSC script! << FSC is now mandatory!
2. Backup your device's TA partition with Universal TA Backup tool.
3. Flash Nougat firmware (again with Xperifirm and Flashtool). Wipe everything and Exclude nothing (but *.ta - if any).
4. Unlock your device's bootloader
5. Follow this instructions to create/flash a custom kernel with root, and also DK.ftf (to fully reactivate sony's drm keys, which is wiped when bootloader is unlocked).
Anyway, try it at your own risk!
Thanks! So that's the method, which of course means deleting everything I've set up on the phone. Is there a chance there may be an easier, less destructive way during the next month or so? I can do without root access for that long.
oh, btw, by "custom kernel" do you mean that it will not be the original setup for the phone? I've been betatesting kernels on many devices, but nowadays I only want a phone that works without any hitches, and I want access to the official updates. That was easy on the Samsung phones, but maybe Sony is more different than I thought?
Oh, btw, maybe it is explained in the long post you directed me to, but I recently had an eye operation, and I would appreciate a shorter answer, before I get to the "how to", which takes me a while to read right now...
NEVER MIND THIS MESSAGE! Now I understand what Xperfirm is...
Also where would be a safe place to download ROMs from? Both the downgrade ROM and the Nougat ROM? I now really wish I hadn't let the thing upgrade before I took the TB backup (I'm still a bit unsure as to why I need that, I don't use any media with any form for DRM, but I guess better safe than sorry).
Mastiff said:
NEVER MIND THIS MESSAGE! Now I understand what Xperfirm is...
Also where would be a safe place to download ROMs from? Both the downgrade ROM and the Nougat ROM? I now really wish I hadn't let the thing upgrade before I took the TB backup (I'm still a bit unsure as to why I need that, I don't use any media with any form for DRM, but I guess better safe than sorry).
Click to expand...
Click to collapse
As far as I know there's no danger to download through Xperifirm, you need TA for guarantee reasons (if your phone need repair, not everywhere but for safety)
THanks, yeah. I have managed to read a bit and found out that Xperifirm downloads from the official Sony servers. Pain in the ass downloading, it breaks the download every couple of minutes. But that's probably Sony's servers, not the program. As for warranty, that's no problem in Norway since we have very strong consumer rights here. If an error can not be prooven to stem from rooting or other software stuff, it will be fixed. If I remember correctly Apple tried really hard to battle with the consumer rights officials about jailbreaking, but they had a very bloody defeat.
Seems like I have a problem. The Telenor Nougat ROM doesn't have a loader, according to Flashtool. Neither do the two other ROMs I have downloaded so far, but I'm trying again with a third, which doesn't have the "customised" moniker. So I hope that has a loader. But how do I upgrade again to Nougat, with the Norwegian version, when the Telenor ROM doesn't have a loader?
Mastiff said:
Seems like I have a problem. The Telenor Nougat ROM doesn't have a loader, according to Flashtool. Neither do the two other ROMs I have downloaded so far, but I'm trying again with a third, which doesn't have the "customised" moniker. So I hope that has a loader. But how do I upgrade again to Nougat, with the Norwegian version, when the Telenor ROM doesn't have a loader?
Click to expand...
Click to collapse
if your phone is locked(Bootloader),fix it using Xperia Companion..that way it upgrades automatically to Nougat.
if not,lock it using Flashtool first.
Well, the message was kind of badly worded, because I need to downgrade first of all. So I'm at the moment trying to get it to MM without messing up the TA partition. So anyway, this thread has been followed by others, I think this can be considered solved since there is only one way to get root on these phones.
What would be the best approach to rooting if you unlock your bootloader before learning about TA backup? I have since downgraded, done TA backup, upgraded, flashed TWRP, flashed SU/Magisk/phhSu, and saw two green checks in Magisk. Tried to continue to get the three checks by installing Sony framework v1 through Magisk and then Andros plus kernel, but got stuck on Sony screen on boot up. So I repeated steps and stopped after I got two checks, however after long use and simple phone restart, I lost root. Please HELP!

Categories

Resources