yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] sutt2m:
Yes also tried... GApps still failed... Before I even get to reboot...

---------- Post added at 08:42 PM ---------- Previous post was at 08:40 PM ----------

Any chance you could send me the link I can find gaps 5.1 but not 5.1.1...thank you
[Xperia Z1 Original Android Development] Klaus N.:
On which rom have you been before installing this one? Your device has to be on the latest stock one (14.6.A.1.236), when you do the installation procedure. And you have to install afwall+ after installing the rom and GApps after booting into system; before you do that, you'll have no internet access... (read the op ;)). You can download afwall+ from F-Droid.
[Xperia Z1 Original Android Development] Klaus N.:
5.1 means 5.1.x, they work. I've installed this rom with open gapps 5.1 (arm, 5.1, pico).

If you have already installed the rom, do the following:

- factory reset

- wipe system

- wipe data

- wipe cache

- wipe dalvik

... and then tap "install" inside twrp. Then choose the rom and add as the 2nd zip the gapps package > swipe to flash > reboot > install Afwall+, open Afwall+ and there tap in the top onto the 3 stripes with the "x" and change it to "Block selected", then push the 3 dots in the right of the top and enable the firewall. Now it has to work!

Kind regards to Wales :D
[Xperia Z1 Original Android Development] optimumpro:
In case you guys are interested, I have recently compiled KernelAdiutor with ads disabled and Afwall with all features enabled. I plan to update these once a month for my Jaguar N. To install, you will have to delete your current ones, as the signatures are different. You can also check Jaguar N for Lenovo Zuk Z2 and perhaps, if you move to that device, you can use the rom :) :

https://xdaforums.com/devdb/project/dl/?id=24167

Unzip the file and install as normal apps. Don't flash...
[Xperia Z1 Original Android Development] sutt2m:
Thanks for your reply it's very helpful! Could you be kind enough to send me the links to the files i need not gapps the fire wall afwall+ or do i find it in the playstore ...Thank you...

---------- Post added at 01:05 PM ---------- Previous post was at 12:54 PM ----------

I found afwall+on the play store: https://play.google.com/store/apps/details?id=dev.ukanth.ufirewall

There are paid versions to...

---------- Post added at 01:09 PM ---------- Previous post was at 01:05 PM ----------

That's great I'll install asap... Looking forward to the update...:victory:
[Xperia Z1 Original Android Development] optimumpro:
I am afraid March was the final release. As I have already mentioned, I have upgraded my PC to the next Linux version and although the rom builds, it no longer boots. Apparently OpenJdk 8 doesn't play well with Lollipop. No one is using JDK7 anymore although, I sideloaded it from another site, still the rom refuses to boot. It complains about something related to compiler, which means Java, not a particular build mistake. At least Honami users got the March release. Z1c-Z3 didn't get it, because of upgrade. Sorry, but it looks like the March release would mark the end of Jaguar for LP...
[Xperia Z1 Original Android Development] sutt2m:
That's a shame !.... Do you have any links for stable N ROMs or TFT files, I'd be very great full... Thank you :)
[Xperia Z1 Original Android Development] optimumpro:
As soon as Sony AOSP "dream team" and 'king' Jerplea make the camera at least slightly better than ones in feature phones (which means NEVER), Honami could have N. I am done with Sony. And I mean any of their product. Never again...
[Xperia Z1 Original Android Development] sutt2m:
I feel unhappy not getting N to but i have tested beta versions of N on my Z3 and they were okay.. I'm looking for a stable version of N android 7.1 ROM to flash basically!...

If anyone knows​ of a project could you post the link please... Thank you.
[Xperia Z1 Original Android Development] gauravbhakuni90:
Hi [MENTION=5075064]optimumpro[/MENTION] i flashed March update of the jaguar rom. And before rebooting I flashed latest gapps for lollipop.

But the rom apparently got stuck at xperia boot logo. I checked it after half an hour later and it was still at bootlogo.

Thanks.
[Xperia Z1 Original Android Development] optimumpro:
You are doing something wrong. The latest release was downloaded 630 times. Did you wipe data, if you came from another rom? Remember, Xposed no longer works...
[Xperia Z1 Original Android Development] gauravbhakuni90:
I wiped clean everything even internal storage. As I told you I flashed only the rom and the gapps for lollipop from open gapps that's it.

P. S. I have C6902 and I didn't flash modem zip. Is this maybe because of that??
[Xperia Z1 Original Android Development] sutt2m:
Double check the Md5 matches each file if possible...
[Xperia Z1 Original Android Development] optimumpro:
Why don't you try to flash the rom again, then without rebooting flash c6902 modem from here:

https://xdaforums.com/devdb/project/dl/?id=18911, then Gapps and then reboot. If that doesn't help, then do the same without Gapps and reboot. If you boot ok, then you need to use another Gapps package...
[Xperia Z1 Original Android Development] gauravbhakuni90:
This time first I will flash only rom and modem zip and will see what happens.
[Xperia Z1 Original Android Development] BlackSoulxxx:
[MENTION=5075064]optimumpro[/MENTION] can you give us the kernel source of March release? seems like the Feb one u give us is a bit old and doesnt correctly working and up-to-date.

Also flashing OpenGapps 5.1 arm pico zip made this ROM bootloop. no wonder why. flashing it right after flashed rom and still loop...
[Xperia Z1 Original Android Development] aleratoa:
Hi there, I wonder how I can get the black UI on it. I flashed the dirty cow kernel, the latest ROM and gapps, but I'm still having the white background. I already rolled back back to my previous ROM, dstriker sp008, no black UI or framework. I've searched a lot with no success with dark UI on LP.

Really smooth ROM, thank you for the great work you've done!
[Xperia Z1 Original Android Development] optimumpro:
AOSP roms have no ram issues. On this rom you will have 1.2gb free ram on boot.. See attached, and I didn't reboot the phone for this shot...
[Xperia Z1 Original Android Development] Gawis:
Thanks a lot for confirming!

I was planning on waiting for the official Sony update but since this isn't AOSP the RAM issues will probably still be there..

Is there a list of known issues with AOSP?

Important for me are:

- calling

- GPS

- camera

- no crashes caused by RAM :)
[Xperia Z1 Original Android Development] optimumpro:
None of the listed above... :)
[Xperia Z1 Original Android Development] Gawis:
thanks a lot for your feedback optimumpro!

I plan on setting everything up this weekend but need to gather all info as it's spread out througout the forum :)

So far it seems I have to do following steps in following order:

- backup all files of phone as downgrade will wipe it

- downgrade to 4.2.2

- root with Easy Root Tool

http://xdaforums.com/showthread.php?t=2784900

- backup DRM keys (TA)

- unlock bootloader

- install recovery

http://xdaforums.com/xperia-z1/general/rec-twrp-2-8-6-0-z1-honami-t3074845

- flash this ROM from recovery

I hope I didn't miss any steps and that all goes well :)
[Xperia Z1 Original Android Development] optimumpro:
I think all you need is your drm keys backed up. Unlock bootloader, put the phone in fastboot and flash kernel from this rom: fastboot flash boot boot.img. Just make sure you don't have any old recovery in fota. Then flash the rom and reboot. Certainly no downgrade to 4.2, as your camera won't work.
[Xperia Z1 Original Android Development] optimumpro:
In security menu.

Sounds as your battery is going... I bet you can't play a streaming video for more than 20 min. In kernel, use inteliplug instead of mp decision; in interactive governor settings set timer_rate to 34000. Give the phone 1-2 days and don't put a load on it while on charger. Smartphones, unlike laptops, take voltage from battery only, so, when you charge and stress the phone, you are killing both the battery and cpu.
[Xperia Z1 Original Android Development] Gawis:
Thanks for the explanation.

This is driving me crazy.. I've been searching in loops for about 2 hours and still don't have all the needed info :(

I'm currently on the stock 5.0.2 version unrooted.

To backup DRM keys I need to root but there doesn't seem to be a good way to root Lollipop.. There only seems to be King Root which seems to have issues with several apps, cannot be removed and wipes recovery.

Perhaps I can downgrade to some lower version like 4.4 and root that.

I understand that this is beyond the scope of this thread but would really appreciate some advice as I just can't seem to find the correct info..

I really want to flash a Jaguar on my Honami :)
[Xperia Z1 Original Android Development] optimumpro:
Well. Whatever problems you might have with King Root, it will be irrelevant once your bootloader is unlocked, as you can then flash any kernel with built in TWRP and then wipe all partitions: system/cache/data/internalsd. After that there will be no remnants of king root.

You can also downgrade to kitkat and root there. It just takes longer...

Just make sure that your battery is at least 85% charged, otherwise, you'll get into the sea of troubles.
[Xperia Z1 Original Android Development] Gawis:
I just got this ROM running on my phone after doing following steps:

- downgrade to 4.4.4

- root with Easy Root Tool

- backup TA

- unlock bootloader

- flash CM boot.img

- reboot into recovery and flash this ROM

everything works fine except I cannot reboot into recovery anymore..

Not through advanced reboot menu nor through pressing the volume button upon boot.

It stays stuck at the Sony logo, I can turn it off by pressing power button and volume up for a few seconds.

Fastboot and normal boot work fine though.

Not sure what is wrong.

After downgrading I first flashed this recovery with fastboot:

http://xdaforums.com/xperia-z1/general/rec-twrp-2-8-6-0-z1-honami-t3074845

but couldn't get into recovery..

I then flashed your boot.img that I extracted from the ROM but also couldn't get into recovery.

I then found this link for CM:

https://wiki.cyanogenmod.org/w/Install_CM_for_honami

and flashed their boot.img which allowed me to boot into recovery and flash your ROM.

I assume your ROM flashed over its own boot.img but not sure why I no longer can go into recovery..

Your ROM looks really promising! Almost no apps installed and 1.3GB free RAM on boot!
[Xperia Z1 Original Android Development] optimumpro:
My instructions in the OP and to you were clear: make sure you don't have anything in Fota. Go to fastboot and clean recovery: fastboot erase recovery. And you will have the latest TWRP.
[Xperia Z1 Original Android Development] matcho13579:
Is there an option to erase FOTA recovery without using PC?
[Xperia Z1 Original Android Development] optimumpro:
Yes, there are a few apps and also you can do it in terminal - "dd if" et all, but you need to know exactly the numeric name of fota partition, so I wouldn't go there...
[Xperia Z1 Original Android Development] optimumpro:
Rom Updated

New release is up. Major changes: Wakelock Blocker and Traffic Indicators are included. Also included is the latest build of AfWall. See OP for download and description.
[Xperia Z1 Original Android Development] madalone:
Awesome! Do we need a clean install or flashing over previous build?
[Xperia Z1 Original Android Development] matcho13579:
I dirty flashed over the previous build and everything is good, but if you face any problems, just go for the clean install
[Xperia Z1 Original Android Development] Gawis:
I'm sorry, I misunderstood.

Through all the topics I didn't read anything about Fota so I didn't think this would apply to my case, but obviously I was wrong..

fastboot erase recovery did the trick.

Thanks again for your help!

The ROM itself is very quick and smooth.

When I really press it with Tasker, Tasker reports low memory (which it gets from the system) but I don't notice it when using the wrong.

What a relief compared to stock!

A few things I noticed while using the buitl from the 18e:

- when configuring an Exchange account with built-in e-mail client I always get an FC popup

- sometimes the screen won't activate when pressing the power button, pressing it multiple times does wake the screen

- the camera hardware button doesn't work but from what I've read in other topics this is normal for AOSP ROMS

- camera on 20M pixel is 4:3 but I think that is normal for AOSP ROMS

I assume flashing the built from 27 will not wipe anything?
[Xperia Z1 Original Android Development] optimumpro:
Disable ambient display and no, flashing dirty shouldn't touch your data, but the preferred way is to backup everything in twrp, then flash clean wiping everything and restoring data partition with twrp.
[Xperia Z1 Original Android Development] optimumpro:
In principle you can, but TWRP has pulled f2fs support from its recent release. Plus f2fs isn't stable yet.

By the way, thanks for your donation...
[Xperia Z1 Original Android Development] optimumpro:
I was going to tell you not to do it, because if it didn't work on a prior release, it wouldn't on this one. Forget it for a while, it is not stable yet and may never be...
[Xperia Z1 Original Android Development] MOO82SE:
Hello, I'm downloading this for a friend cause I want to mod his Z1 for him. Probably a stupid question but is there no gapps needed for this rom?
[Xperia Z1 Original Android Development] Gawis:
If you need the Play Store etc. you need to flash Gapps..
[Xperia Z1 Original Android Development] MOO82SE:
Cool thanks for your reply mate
[Xperia Z1 Original Android Development] Scr@tchy:
Rom won´t boot

hi,

i install your rom and it boot. After restoring my data from RR 5.5.6 Rom the Jaguar Rom hangs in bootscreen. After 20 minutes i restart the Phone. Can the rom handle data from RR 5.5.6 Rom?

Thanks
[Xperia Z1 Original Android Development] optimumpro:
It is absolutely not designed to have data partition from another rom. Period. The only data you can use is from a prior version of this rom...

Edit: restoring Titanium made back up is OK, provided you are NOT restoring apps that sit in system...
[Xperia Z1 Original Android Development] HarpingOn:
Can I use my 4.4.4 dual recovery twrp to flash this? Or do I have to move to a 5.X ROM first? Will be doing a full wipe.
[Xperia Z1 Original Android Development] optimumpro:
Qucom's time service is disabled for security reasons: otherwise, your phone connects to some servers using cell channel on early boot. Set your time/date to sync with your carrier and you'll have the correct time (the difference is a few seconds). When you make a backup with TWRP, click on name and you can set whatever name/date for your backup.
[Xperia Z1 Original Android Development] HarpingOn:
Hello

I started using this ROM and find it very good.

I wanted to turn on device encryption so I selected that.

It didn't force me to set a PIN or passcode or pattern.

It rebooted and went through the encryption process, and now in the privacy section it says 'Encrypted'.

No passcode is requested on boot (how could it), but is my device encrypted now? With what key?

Hoping I don't have to start again from scratch with the ROM :(

If I can't fix this (i.e. enable passcode on boot) will a factory reset from within Android return the device to an unencrypted (but empty) state?

Edit:

I set a PIN and 'Require PIN on Boot' and it seemed to work.

So apparently you can turn on encryption without a pattern or pin set, who knew?

Anyway. Seems to work.
[Xperia Z1 Original Android Development] optimumpro:
If you don't setup pin/patter/password, encryption would go on with a default password, which is very long (it is in sources), but it is not very secure. If I were you, I would redo everything and do encryption over adb. You can set separate long password for boot and encryption and another (short) pin for screen security.

To start anew, go to TWRP, and when prompted to enter password, pick cancel, then once in a regular screen wipe system, then everything and reflash the rom (keep in mind, your internal sd card will be wiped too, so back those file before doing everything). Then head to security discussion thread and get my guide how to encrypt via and have separate passwords via adb...
[Xperia Z1 Original Android Development] HarpingOn:
Hello once more.

Is there a way to get the camera button to launch a camera app, and to take the photo also?

I couldn't find anything in xposed that would enable this

Thanks
[Xperia Z1 Original Android Development] optimumpro:
No custom rom including RR has a fully working hardware camera button. The only one that has a limited support, i.e. you can start camera, focus it, but no shutter triggering is DirtyUnicorns, and even they have removed that from sources, because they don't support Sony phones. So, if you want camera button, stock rom is the only option.
[Xperia Z1 Original Android Development] Gawis:
I tested CM12.1 a few days ago for the button functionality.

It started the camera and I was able to take a picture with it.

I did need to enable the button in the Buttons menu of Settings.

I switched back to this ROM but it would be cool if the hardware button functionality was present.
[Xperia Z1 Original Android Development] optimumpro:
The last time I checked, when you press camera button, you have lights on, focusing, but no actual picture taken: you can go to Gallery and see there is no picture. And there is no recent new commits on this. Also, when you look at cm chatting in older commits, they talk about camera start and focusing, no camera shutter. So, camera button is not fully functional. In addition, this part of Jaguar rom is based on Slimrom, and they have completely remapped hardware buttons; so, even if cm worked fully, implementation would be a major headache not worth the prize...
[Xperia Z1 Original Android Development] Ahki767:
[MENTION=5075064]optimumpro[/MENTION]

Do you think you could add the feature to skip tracks with volume button? it's handy to have that when driving

and does this work with your rom?
[Xperia Z1 Original Android Development] optimumpro:
Skipping tracks is possible (I'll look into it). Open source google services may work if they support lollipop, but it says kitkat only. I think there is another floss gapps project on xda. Search for it.

Generally, get ready for marshmallow: I won't be surprised if all work on lollipop would soon stop in favor of M. Also, get ready for verity (verified) boot. The verity key is already in android source, just not being used yet. It would be like Microsoft efi boot, but I am not sure Google will be as generous as Microsoft was: it forced all manufacturers to have an option to turn it off by a user and it also shared its certificates with Linux community. I don't think Google will be inclined to do the same...
[Xperia Z1 Original Android Development] matcho13579:
So, do you think we can expect Marshmallow for the Z1 soon?
[Xperia Z1 Original Android Development] optimumpro:
Android 6 r1 has already been pushed by Google. Now, it is up to Sony to update their blobs...
[Xperia Z1 Original Android Development] :
sony just confirmed that it wont be releasing M for Z1 think theyll update the blobs..? any way u can build them with what we have currently?
[Xperia Z1 Original Android Development] optimumpro:
He probably meant this announcement from Sony:

http://blogs.sonymobile.com/2015/10/06/sony-xperia-and-android-6-0-marshmallow/

There is no mentioning of our Z1.. But knowing Sony's ingenious advertising technic, I wouldn't be surprised if in a while they will announce with great bang that they have listened to their user community and decided to bring marsh-pillow to Z1. :)
[Xperia Z1 Original Android Development] ggs2:
i have strange issue..

whenever phone boots up , for some seconds it has old old date (08/08/1971!!)

because of this,

many apps start to auto run or refuse to run (like titanium backup start to bakcup immediately ?as soon as phone boots, instead of my set weekly schedule ) or facebook/gmail refuse to work saying system date is incorrect, need to kill them and then start.

anyone with similar issue?

Another issue, selecting power off from power menu does nothing for me :|
[Xperia Z1 Original Android Development] optimumpro:
You need to read in the thread: http://xdaforums.com/showpost.php?p=63098274&postcount=139

Power menu: disable quick boot, don't use gravitybox's boot menu, which will interfere with the native one. Make sure you are not restricting settings app in privacy guard, wakelock blocker or xprivacy (If you use it). I have no problem turning off/rebooting the phone.
[Xperia Z1 Original Android Development] HarpingOn:
For me, often Wi-Fi is showing ! Symbol, even when known "remembered" network is in range. Have to go to Wi-Fi and select network manually
[Xperia Z1 Original Android Development] ggs2:
Disabling quick boot works, yeah, time is sync with network provider, but immediately after booting in the time it syncs time with network provider, titanium backup and other app start. meanwhile phone corrects time. may be we can delay start of those apps
[Xperia Z1 Original Android Development] optimumpro:
You have to disable captive portal: disable the app, then use terminal:

1. su

2. settings put global captive_portal_server 127.0.0.1

3. settings put global captive_portal_detection_enabled 0

Then reboot and delete then setup all your wifi connections again...
[Xperia Z1 Original Android Development] dape16:
I also had a problem with the WiFi icon showing the !-sign sometimes and I had to connect manually.

So I tried your instructions, although the captive portal app could not be disabled (button greyed out). After running the above commands in terminal both WiFi AND mobile connection icons have the !-sign constantly. I tried to wipe Dalvik cache and cache but no difference.
[Xperia Z1 Original Android Development] HarpingOn:
didn't work for me either. I couldn't find a captive portal app at all though, I did the terminal commands.

Where is the captive portal app to be found?
[Xperia Z1 Original Android Development] dape16:
I found mine at Settings -> Apps -> All

It was possible to force close it but not disable it.
[Xperia Z1 Original Android Development] HarpingOn:
Yes, I found it there, thanks. No, I can't disable it either.

Could freeze it with TiBu I suppose
[Xperia Z1 Original Android Development] optimumpro:
You can delete captive portal with any file manager that has root access. The app is either in /system/app/ or /system/priv-app/. Or you can freeze it and then delete in titanium. There is no useful purpose for a user to have this app: all it does is catalogs wifi points you use and sends them to Google and/or possibly routes your wifi traffic thourgh clients2.google.com.
[Xperia Z1 Original Android Development] dape16:
I did freeze and delete the app in Titanium and ran the commands in terminal, but I still have the problem that the after restart or turning WiFi on and off I have to connect manually to my network.

And after I did this I have the !-sign at both WiFi and cellular icon. The connections works fine but the icon does not show LTE/H/E anymore.

I flashed ROM again but no difference.

Any ideas before I clean flash the ROM?

Thanks.
[Xperia Z1 Original Android Development] optimumpro:
If you are using afwall, make sure that lan control in preferences is unticked. After you delete captive portal, delete wifi acess points, disable data and wifi and wipe cache/dalvik in recovery. Turn the phone on and set the firewall. Then run the commands in terminal, then reboot again and enable wifi and data. The problem is once your phone connects to the internet with captive portal, it will always put a ! meaning google is concerned it is not getting data from you...
[Xperia Z1 Original Android Development] dape16:
Thank you very much, this instructions is working 100 %!
[Xperia Z1 Original Android Development] Aaskereija:
Layer Manager doesn't work properly, had to delet it and downloaded the actual version from PlayStore, but it doesn't change anything anyway.