yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Original Android Development] sashpta:
Okay I did some research now:

Can someone pls tell me if i am right with the following ? ^^

So according to the 'Jaguar Post' https://xdaforums.com/z3/...icial-t3482840 these are all the steps i need to do and ofc backup first.:

'Instructions:

1. Be on LP at least, have TWRP, unlocked bootloader and root

2. In TWRP, wipe data/factory reset, then wipe System/Data/Cache/Dalvik

3. Flash the rom

4. Reboot, install Afwall and Kernel Adiutor as normal apps; activate Afwall to have Internet

5. Enjoy the rom, say thank you, donate or do both'

1. Downgrade to LP:

I found this post, well it is german so maybe u wont understand ^^

So they say the first step is to download and install 'Xperifim' on my PC. In that program I can download my firmware (LP)

Then I need to install 'Flashtool' and do some steps in there.

2.TWRP:

For TWRP I found this one. But they say I need to have an 'unlocked bootloader'. So we have to do step 3 first.

But I also found that post for TWRP. Which one is better now? Or which one should i follow? The first or 2nd ?

3.Unlocked Bootloader:

They say I have to check my mobile, I did and it allows to unlock bootloader. So that should be find (I hope it'll also say 'yes' when I am back on LP)

4. Root:

I've been talking to someone and he said I don't need to root my device since the ROM is prerooted anyways and I wipe everything. So rooting it won't be needed. Is that true?

Well whatever it seems like rooting won't cost much time so it won't be a problem if I need to do it.

------------------------------------------------------------------------------------------------------------------------------------------------

So are the instructions I found all 'good' and trustworthy?

And how long do all these steps normally take?

Thx for ur help again
[Xperia Z3 Original Android Development] optimumpro:
My instructions say: be at least on LP. If you are higher, you don't need to downgrade. And you don't need root to unlock your bootloader. However, you do need root if you want to backup your TA partition, which you will need if you ever want to relock your Z3. The reason you need TA partition is that you are going to loose a bit of camera quality and on Z3, you will have an infamous eyefish effect. This only affects Z3. So, if I were you, I would root my stock, backup TA partition and then unlock bootloader...
[Xperia Z3 Original Android Development] sashpta:
oh thx

then i missunderstood the downgrade thing, my bad^^

What does TA stand for ?

And are the other sites that i found to follow ur instructions good ?
[Xperia Z3 Original Android Development] Nekser1208:
How to connect dualshock 4?

Rom is fantastic and I'm looking forward ruts update (best for android Nougat). ;)
[Xperia Z3 Original Android Development] optimumpro:
Google it

Just search XDA for 'Xperia backup TA partition'
[Xperia Z3 Original Android Development] sashpta:
Oke i found some stuff to that

but the other question is, how do i root my device with android 6? can't find anything about it :/
[Xperia Z3 Original Android Development] nailyk:
Sorry I always miss the /mention, don't know why.

I check the file you point into 3.4 and it is correct for screen init. Problem should be elsewhere.
[Xperia Z3 Original Android Development] dachau:
Hello folks! Just wanted to ask if the camera quality is as good as on stock ROM and supports 20 MP?

And is the LP Stamina feature included?
[Xperia Z3 Original Android Development] blackhawk_LA:
No and no. Aosp roms like this one are completely different from stock, so camera qualtiy is not as good (and it has the fisheye effect) and also stamina is an exclusive feature of Sony roms.
[Xperia Z3 Original Android Development] optimumpro:
@ blackhawk_LA

You might try to disable Ambient settings in Display. Or if it is disabled, enable it and in advanced settings try to play with brightness level. This might help with your screen flickering...
[Xperia Z3 Original Android Development] blackhawk_LA:
Thanks, I've tried and if I set a higher brightness (from 30% and on, more or less) the flickering dissapears. But my eyes are a bit delicate and in the night it hurts me a bit. I may wait to stable Nougat, since the flickering is not present.
[Xperia Z3 Original Android Development] optimumpro:
I gave it one more try: here is a kernel with a possible fix. Unzip and flash it in fastboot: fastboot flash boot boot.img
[Xperia Z3 Original Android Development] blackhawk_LA:
I'm sorry to tell you but the issue is still present. Actually, I'd say it is more noticeable. Also, I had a small line of something like "interferences" (like the effect of turning off an old TV,I don't know the word in english) at the bottom of the screen.

And I've tried again Lyneage and I was wrong, the issue also is there. Maybe I didn't notice when I installed it a few weeks ago. [MENTION=6979267]nailyk[/MENTION]

I've attached logs, in case they are useful. I'm sorry for not being able of help too much, but I have a very important exam and veeeery little time.

https://drive.google.com/file/d/0B1r3IiDMSm40YzZIRHBEX05KdE0/view?usp=drivesdk

https://drive.google.com/file/d/0B1r3IiDMSm40dml4d21JOEJYdTA/view?usp=drivesdk
[Xperia Z3 Original Android Development] nailyk:
The interference you saw on the bottom of the screen was the original flickering issue. Init mode of the panel and of the display HAL where not in accordance. (see my video into cm-12.1 thread). I think with this new kernel it is the same for you now.

About your backlight flickering issue I have some idea to solve. To prevent you flashing a full rom each time I would work on recoveries. Can you confirm, please, this issue is present in recovery too (if you are ok it will be easier for me with this one. 2016-12-23 should be fine, 2016-10-17 version should have both bugs).

Also with an upgraded bootloader (2nd version) you should be able to fastboot boot instead of fastboot flash, keeping your device untouched.

One more request: if you agree, please open a dedicated thread where we can experiment, report, etc... instead of posting into multiples rom thread which is confusing for me :)

Thanks in advance. and good luck for your exams.
[Xperia Z3 Original Android Development] blackhawk_LA:
OK, I will open a new thread with all the info I can provide, when I have time. Thank you!

Edited: I'll be out for a few weeks, I've decided that I should not spend more time "playing" with the phone until February. Then I'll open the thread and help as much as possible. Greetings!
[Xperia Z3 Original Android Development] leors:
can you some the rom screen?

EDIT: sorry for my post, I now saw that it was the first post
[Xperia Z3 Original Android Development] optimumpro:
I think flickering is not a software issue, but rather a problem with Auo displays.

By the way, you don't need a new bootloader to fastboot boot: could be easily done on older ones. I give no credit to Sony for so called "new" bootloader: it provides absolutely no benefits (confusion and awkwardness only). It makes no difference whether you have recovery in Fota or on a separate Recovery partition...
[Xperia Z3 Original Android Development] optimumpro:
New Release

Rom updated. See post #3 for download and description...
[Xperia Z3 Original Android Development] HDSteff:
Hi optimumpro,

Thanks for your hard work and your interesting ROM!

I installed the ROM today and recognized the same interference on the bottom like [MENTION=6979267]nailyk[/MENTION] did. Interesting is the fact, that this interference starts right after power on the device but isn't there when I'm starting into recovery mode. Maybe it came with one of the last updates? For me it's the first time I use your ROM.

I don't have these interferences with other roms by now.

All the best
[Xperia Z3 Original Android Development] optimumpro:
That may be related to my attempts to fix flickering on Auo display, which you probably have, because this does not happen on other displays. I am going to revert the changes. I will repost the entire rom, because I have made changes in other parts that require a new kernel. The new release will include a fully working NFC-HCE (for Android Pay).
[Xperia Z3 Original Android Development] optimumpro:
New release is up in post #3. It includes a fully working NFC-HCE for Android Pay (you'll have to delete Supersu and su binary for Safety Net to work)...
[Xperia Z3 Original Android Development] kakobr:
Does anyone else have issues with bootloop when installing Xposed?
[Xperia Z3 Original Android Development] gsausalito:
Hey!

Unable to download the recovery attached.

Thanks for your time!
[Xperia Z3 Original Android Development] optimumpro:
https://xdaforums.com/attachment.php?attachmentid=3986294&d=1483219852

Sometimes, XDA has a problem downloading/uploading...
[Xperia Z3 Original Android Development] louis.budbeer:
Hi,

thx for the great work!

The Recovery is still not downloadable.
[Xperia Z3 Original Android Development] optimumpro:
The file was corrupted and XDA is having a problem with upload/download. I have posted the updated recovery on another site. See post #3 for download link.
[Xperia Z3 Original Android Development] optimumpro:
Preview of February Release Features

Here is what's coming in February release: https://xdaforums.com/showpost.php?p=70853484&postcount=1137
[Xperia Z3 Original Android Development] randa-76:
Xposed?

Thanks for this ROM and for all your efforts

One question: Will it be possible to install xposed on next release? It is not possible currently (bootloop)
[Xperia Z3 Original Android Development] mathorv:
Guys (users) Is it the only relatively stable non stock rom for Z3?
[Xperia Z3 Original Android Development] blackhawk_LA:
It's completely stable, and very very fast. Only a few users have an issue with backlight flickering, and camera quality is worse than stock, but it's not possible to improve. It's acceptable though.
[Xperia Z3 Original Android Development] mathorv:
Camera still with square distortion?

Do you use it as a daily driver?

What about battery life compared to Stock final MM?

Do you use Magsik along with it?

best source about ROM:

https://xdaforums.com/xperia-z1/orig-development/rom-aosp-jaguar-lp-5-1-1-r13-official-t3188925
[Xperia Z3 Original Android Development] blackhawk_LA:
Yes, the eyefish effect is still there. I use it as a daily driver along with ExistenZ. Battery life for me is as good as EXistenz. And I don't use magisk.
[Xperia Z3 Original Android Development] optimumpro:
Rom Updated

February release is here. See post #3 for download and description: quite a few new features...
[Xperia Z3 Original Android Development] optimumpro:
If you can point me to specific commits, patch or device tree, I will do it...

Edit: Never mind. I have found it. I'll see what I can do...
[Xperia Z3 Original Android Development] xz123:
Dear optimumpro,

would you consider putting the source for the whole ROM on GitHub? Unless I'm missing something there's only the kernel on GitHub, and the repo hasn't been active for a few months.

That would be great, because, well, I'm a curious person ;)

Plus, I'd like to start learning more about the inner workings of Android/ROMs, and would thus be very interested in looking at this specific ROM as well – I'm on a relatively hardened Arch Linux ( e.g. compiling a grsec kernel myself, samhain/yule ids, etc.) and will start working for a company focusing on penetration testing in March, so naturally I'd love to look "under the hood" of Jaguar, too, if possible.

--

Also once more: Thanks a ton for this ROM, it's probably the smoothest, most bull****-free ROM I've ever used!
[Xperia Z3 Original Android Development] kakobr:
Xposed still not working, maybe not a problem in this ROM...
[Xperia Z3 Original Android Development] mathorv:
This rom is 40% Nougat and has all the possible security patches, xposed is not likely to work with this rom since it uses exploit like techniques to load unless optimumpro will intentionally allow it to work, it will require his effort and time and is not that beneficial, maybe Magisk will work, not sure about it, search all 5 Jaguar ROM threads for xposed and Magisk.
[Xperia Z3 Original Android Development] optimumpro:
Just for you: Jaguar for Z3 Dual posted. See the main thread. :)
[Xperia Z3 Original Android Development] xz123:
Seems like NFC is missing from the February release – apps using NFC complain there's no NFC hardware available, and I can't find the NFC option in the device settings anymore as well.

Does anyone else have this problem, too?
[Xperia Z3 Original Android Development] optimumpro:
Can anyone confirm this?
[Xperia Z3 Original Android Development] blackhawk_LA:
I can confirm too. Clean install with pico opengapps.
[Xperia Z3 Original Android Development] optimumpro:
Have no idea why. I have checked device tree line by line. NFC works fine on Z1. Will look further...

What you might do is to try to fastboot kernel from January release and see if it helps...
[Xperia Z3 Original Android Development] xz123:
Thanks for your efforts – if there's anything I can do to pinpoint what's causing it I'll try to help.

Just in case: The last version I can confirm it working was the one with the with the colored line on the bottom of the screen, as I hadn't flashed the fixed one that came soon after yet – so it might've been caused earlier than in the previous version.
[Xperia Z3 Original Android Development] xz123:
So, for some reason my battery started to drain way quicker than before in the last few days, and taking a look at logcat output I found out that it was filled (less than 4 minutes created 185204 lines of output..) with NFC-related issues. No idea if that's what's causing the battery drain, though it might be helpful with the missing NFC, so: here are 1000 lines:

https://paste.ee/p/KnRbD

Those should be representative enough, for it seems to be the same over and over again.

/edit

Couldn't spot anything NFC-related in dmesg, by the way.
[Xperia Z3 Original Android Development] optimumpro:
Thanks for the logcat. In February release, I have implemented NFC_HCE_F features which are required by the latest google safety net, which I don't use :) . Apparently, the chips in Z1-Z3 don't support the feature. I have googled the issue and although the chips PN544 in Z1 and PN547 in Z2-Z3 may support HCE_F, they require firmware update, which neither Qualcomm nor Sony nor Broadcom would do for older devices. So, I would have to revert the changes...
[Xperia Z3 Original Android Development] optimumpro:
Development update

See post #2 for development update...
[Xperia Z3 Original Android Development] xz123:
Luckily I have no intention of using safety net anyway.. :)

About ZUK: well, it's sad to "see you go", but it is understandable – I'm still amazed that Sony supposedly wants to support OpenSource, but still there's no way to get a properly working camera on AOSP after quite a long time, for example.

I just hope you'll keep updating Jaguar until I can afford to switch to another phone, too ;)
[Xperia Z3 Original Android Development] optimumpro:
Sony doesn't want to support open source. In my view, their open source development team is there for PR purposes. They go to different presentation events and mainly talk BS. I remember their big "puff" about "Open Source Camera." I called BS on that on day 1. First of all, in that "open source" app they used dumbed down blobs where if you want to know if your camera works, you have to point the phone at the light bulb, otherwise, you would have a dark screen. Second of all, those dumbed down blobs were and are still closed source. In other words, Sony wouldn't even open source their dumbed down blobs, so that other developers could work to improve them.... . And by the way, no one is requiring an OEM to have open sources or an open source team, especially one that mainly creates bugs. All that is needed to be friendly to developers is to have proper hardware blobs. Don't want to share your proprietary secrets? Don't, just provide proper binaries/blobs (closed source).

If you look at Sony AOSP team history, you'll see that they have never ever created anything stable for any version of Android. Their camera never worked and they made sure that no one could use proper camera blobs on custom roms. Had it not been for CM using Xperia Z1's JB camera blobs with camera wrapper, there would have been no camera on Z1-Z3. But Sony didn't like the fact that CM was using their JB camera blobs, so starting with Kitkat, they made blobs DRM protected, meaning they couldn't be used on custom roms. No other OEM does that. Only Sony. Note, that their explanation is: patents, intellectual property etc. But, DRM features don't protect intellectual property from reverse engineering, they just prevent the use of those blobs. Another BS. It is absurd that Sony proper blobs cannot be used on their own devices...

Another BS is their "unified" kernel. What it does actually is unifies bugs and vulnerabilities for all devices. It is ridiculous to the point of no longer being funny: as soon as Sony's AOSP team comes close to something remotely being stable, they get an order from the "headquarters" to move to another branch and they start all over again combining new bugs with the old ones. I think that when Sony bought Ericsson's Mobile division, they promised Swedish government not to fire the old Ericsson team in exchange for an approval. :) . I have recently looked at a few commits on SonyXperiadev github: they are implementing kernel features that were available in Linux kernel in 1995. "Great job!!!"

Sony simply doesn't want anyone to use custom roms. Period. The rest is propaganda... and it doesn't work for Sony. Just look at their sales numbers. Their mobile division has never turned any profit...
[Xperia Z3 Original Android Development] blackhawk_LA:
Sad to see you go, and I agree, I wouldn't go for a Sony device again.

Thank you and good luck with your new phone!
[Xperia Z3 Original Android Development] optimumpro:
I'll try to keep updating Jaguar as long as I can...
[Xperia Z3 Original Android Development] xz123:
Yeah, that's been my non-dev impression as well, which is sad indeed.

Let's just hope ZUK Mobile doesn't get any ideas from Lenovo's practices with regards to their Superfish adware and the BIOS level persistence methods they employed…

/edit

Oh, and thanks for the thorough explanation of Sony's camera behaviour – I hadn't known many of those details.
[Xperia Z3 Original Android Development] optimumpro:
Yeah. They are both the same and only known to work on Windows, but you can't fight closed source bootloaders and basebands. However, my approach is: if there is a back door there (which I am sure there are), then if I live in the West, I'd rather have a Chinese back door and someone who lives under Chinese control, should settle for West designed back doors... :)
[Xperia Z3 Original Android Development] mathorv:
Cam on Lineage for Z3 is fixed!

https://xdaforums.com/showpost.php?p=71103144&postcount=326
[Xperia Z3 Original Android Development] Dobsgw:
Just installed ROM. Fancied a change to AOSP and initial experience is positive.

No mobile data so flashed baseband 61 from stock global .291 MM. After fiddling with the mobile data settings it works now. Including that here for those that find it useful.

BaseBand 61 .291 stock MM

Then going to try and get encryption working.

I fastbooted recovery to the FOTAKernel Partition and on boot I get a purple light and press vol button to get to recovery. Is that right?

Camera is acceptable considering Sony derpness so nice job :)

Maybe slightly slower charging than usual? Not major though and battery seems good.
[Xperia Z3 Original Android Development] blackhawk_LA:
To go into fotarecovery I think you have to switch off the phone, and then press vol- and power
[Xperia Z3 Original Android Development] Dobsgw:
I hope so because right now I cant decrypt data with TWRP so im completely stuck on this ROM...

I hope flashtool can wipe /data

Kernel is bugging out lol. No matter what I set in Kernel Adiuter it is changing frequencies and locking up all the time...

Edit: nope just goes to a black screen with that recovery.img
[Xperia Z3 Original Android Development] blackhawk_LA:
Strange. I always use fotarecovery and it's always available with vol- and power, no matter what rom I've installed (including jaguar)

Maybe try fastboot erase recovery and then fastboot flash recovery fota...?

PS: I'm using this https://xdaforums.com/showthread.php?t=3028846 but never tried with encryption.
[Xperia Z3 Original Android Development] Dobsgw:
I'll remember that next time.

I just used flashtool to restore an ftf to wipe data and then resorted my backup

Jaguar looks fun but i couldn't get it working right :p
[Xperia Z3 Original Android Development] blackhawk_LA:
Jaguar is fun, fast and secure. Really a good Rom. But I'm right now having a look at Nougat progress
[Xperia Z3 Original Android Development] optimumpro:
There is a bit of a delay, because one of March security patches is causing build errors...

Nougat progress: Naylik and others are doing a great job, but unfortunately, thanks to Sony, by the time they get results in terms of working ril etc., there will be another version of Android and they'll have to start from scratch...
[Xperia Z3 Original Android Development] optimumpro:
As I mentioned before, Jaguar, unlike other Android roms, has 256 bit encryption. So, you need TWRP be able to deal with that. For that I have posted TWRP for Jaguar. So, why not use it? :)
[Xperia Z3 Original Android Development] Dobsgw:
I was using it.

I fastbooted it to the FOTA / recovery partition.

I do read the OPs don't worry ;)

When rebooting i was able to access twrp by pressing the down volume key.

I assumed this was the one you supplied as no other method would boot it and obviously with a clean install no other twrp should have been on my device.

Twrp failed to decrypt.

Not sure what went wrong there.

Can you add instructions to the OP on getting the TWRP supplied installed?

The rest of the ROM seems solid to me apart from the strange behaviour of the kernel. I found my phone running quite hot and settings wouldn't stick in kernel adiutor. Frequencies were rising above my set maximums etc.

System otherwise was awesome :)
[Xperia Z3 Original Android Development] optimumpro:
It really doesn't matter whether you put fota or recovery there. So, the universal command is

fastboot flash recovery recovery.img

or whatever the actual recovery name is.

TWRP decryption: TWRP keeps logs of any failures at /tmp directory, but on reboot it disappears. So, when you try to decrypt and it fails, press cancel and then make sure system is mounted. Then go to advanced/file manager and copy that log from /tmp to your SD card. Then post it here...
[Xperia Z3 Original Android Development] Dobsgw:
Hmm okay well that's how I had installed it.

I read through nialyks thread for his recovery and checked the commands (not used his recovery just using thread for reference) then used yours.

I'm back to stock based and don't have time to try again for a while.

Thanks for the response though so i know for the future. Im keen on buffing up security with all the crap going on ATM
[Xperia Z3 Original Android Development] optimumpro:
You are not using my recovery. It is Naylik's recovery for MM. No other recovery, except for included in post #3, could work with this rom. Install mine and provide the logcat from there.
[Xperia Z3 Original Android Development] some-me:
To get sure, I re-installed the one that is linked on the release from feb 9th, id=23078,

“recoveryZ3.img“ with md5 c296015745d05e7adee655c64e4eaee3 - the issue stays, what makes me think

that somehow I still have Naylik’s recovery.

Do I need to run something beside the 'fastboot flash recover <name-of-recovery>' to overwrite other recoveries? If not, could you please check that you uploaded the right version? :)

--

Edith told me I need more coffee before posting.