yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] Ænimal:
That totally defeats the purpose of any firewall, and I wouldn't recommend this setup.
[Xperia Z1 Compact Original Android Development] optimumpro:
You should only allow apps you want to connect to the internet. Others shouldn't and if they do, they leak your info and waste battery...
[Xperia Z1 Compact Original Android Development] broky:
yes,i totally agree with that,i just start the opposite path-let all apps free and then close them down one by one-,cause i don t know before which apps need to be allowed to connect to internet:o.

if i knew before what apps to white list,i would do it this way.

Afwall is certainly a useful tool,i consider it for a standard app to have in everyrom i try:)

and since i m posting i want to ask some thing a long time ..

do we have a call setting for microphone suppresion or enhance other persons voice,as we have in stock rom?

i never seen a choice for these in AOSP,CM,SLIM etc.

are those features deactivated or activated here:confused:
[Xperia Z1 Compact Original Android Development] Marv42:
I didn't get gapps running, tried differnt versions. OpenGapps Nano, Micro no error during flashing, but no connection to Googleaccount and Stock, Full error during flashing.
[Xperia Z1 Compact Original Android Development] DrtiBarta:
Hi, could you please help me? I cant flash the newest version from 19.6.. I didnt know how to get twrp working so i flashed the recovery from january from z1 forum. The recovery is working Fine but when flashing the new version of jaguar it says that my device is honami. What should i do? Thanks
[Xperia Z1 Compact Original Android Development] alf-endy:
Same here... I tried OpenGapps and PAGapps - no connection to account :(
[Xperia Z1 Compact Original Android Development] optimumpro:
Guys. It's common sense: if you use afwall's white list, then by default any app, including new ones, gets no internet. You have to specifically tick it to allow. If you switch to black list, then everything is allowed including newly installed apps. So, you tick to restrict. And don't forget, when you switch between lists, you need to clear the previous one. Otherwise, it will be a mess...
[Xperia Z1 Compact Original Android Development] DrtiBarta:
Im sorry but i dont think that answers my question. :(
[Xperia Z1 Compact Original Android Development] optimumpro:
You shouldn't be flashing recoveries for other devices. Use TWRP fot Amami...
[Xperia Z1 Compact Original Android Development] alf-endy:
Ahh , that's something else ... There is no problem now with Google accounts ... But why at every reboot wasted time and date ?
[Xperia Z1 Compact Original Android Development] optimumpro:
As mentioned before, qualcomm's time service is disabled due to connecting to some uknown servers over cell emergency channel. Set time/zone to get automatically from your carrier and you will be getting the correct time.
[Xperia Z1 Compact Original Android Development] yjosipy:
Hi,I have an issiue with USSD code so i have an prepaid network and every time i write a code to see my credit it hangs on notification "USSD code running".
[Xperia Z1 Compact Original Android Development] NeoAqr:
is camera capable of manual controls and RAW capture?
[Xperia Z1 Compact Original Android Development] Marv42:
Randomly reboots and Whatsappcamera didn't work.
[Xperia Z1 Compact Original Android Development] optimumpro:
There are only 2 reasons you would have random reboots: you set kernel voltages too low or you use a different kernel. If it is the first, then in KernelAdiutor untick apply on boot in voltages and reboot the phone. If the second, change back to the original kernel...

I don't support what's app and other garbage, but in no way this has anything to do with the rom...
[Xperia Z1 Compact Original Android Development] Marv42:
I didn't change anything. Thanks for your helpful hints, it seems this rom is nothing foe me,

Have a nice day
[Xperia Z1 Compact Original Android Development] Ænimal:
Awesome ROM, nothing to complain about, really.

Please keep it up wit some luvin for amami :good::)
[Xperia Z1 Compact Original Android Development] levone1:
Just getting around to trying this ROM - not sure if you still want to know, but this works - http://xdaforums.com/slimroms/general/gapps-official-slim-gapps-trds-slimkat-t2792842
[Xperia Z1 Compact Original Android Development] levone1:
Anybody else experiencing Layers not working? I'm familiar with Layers and use it quite a bit. Everything seems to check out - root, busybox, mount system rw - and when I apply a theme, it appears to go normally, ('installing layers' followed by reboot prompt), but nothing changes.
[Xperia Z1 Compact Original Android Development] levone1:
Update - Navigate theme worked to change soft keys, but still nothing working for any other themes. Tried about 12 so far.
[Xperia Z1 Compact Original Android Development] Ænimal:
Layers are working, only the app isn't responding as it should. Just uninstall the app and create this folder: /system/vendor/overlay and copy the theme-apks here, make sure that permissions are set to 644, reboot, enjoy..
[Xperia Z1 Compact Original Android Development] levone1:
Thanks. Didn't even think to check there. Turns out all of my layers are there, but with wrong permissions. Easy fix...
[Xperia Z1 Compact Original Android Development] magusberlin:
Be on LP, have route and TWRP in Recovery Partition

I have Jaguar ROM running now for a week, no crashes, great work, especially for me as a privacy concerned user.

Seems that I have still many settings to tweak to get optimum privacy&battery performance.

I was lurking on this thread for quite a while now

For me as a noob it took ages to understand how to install TWRP in recovery partition

just want to share how I succeded

1. to get a recovery partition, it seems only Sony's emma can install a StockRom containing a recovery partition. The thing is, if you download emma from the sony-developer website, it wont work, even with disabled firewall and antivirus.

What worked for me:

(I cant post links here so you have to google it)

Instead of downloading the outdated emma-version from developer.sonymobile

you have to download the emma version software.sonymobile.com/emma, but copy the "customization.ini" from emma by developer.sonymobile into the program directory

perhaps that may help other noobs here
[Xperia Z1 Compact Original Android Development] levone1:
Two days now, and very impressed. Until this ROM, I was anti-lollipop, except for pure, stock-based ROMs. I thought there were no custom lp ROMs that were worthwhile, besides testing. Somehow you pulled it off - great battery, great camera, smooth and stable, no reboots or freezes, no sudden battery drops... Thanks
[Xperia Z1 Compact Original Android Development] levone1:
Modded framework for Z4 cam port if anyone wants. Need to disable hw overlays for manual or superior auto to work. Also, AR effect stopped working after Play Store update, but worked initially, (maybe just a cache issue or something. I'll try to figure it out.

Edit - uninstalled update, and returned to older version, and AR effect works now
[Xperia Z1 Compact Original Android Development] optimumpro:
Rom updated

New release with finally working camera button: yes it focuses, takes pictures and video recordings. Also many new features. See OP for download and description...
[Xperia Z1 Compact Original Android Development] optimumpro:
I'd be careful messing with framework.jar, unless you are modding the file from Jaguar. Otherwise, you will certainly lose some of the features such as wakelock blocker, call recording, black list, or any other: you name them...
[Xperia Z1 Compact Original Android Development] levone1:
Thanks for heads up. By now, I certainty know to have backups first, so I went ahead and gave it a shot. Seems like everything OK, but I haven't tested everything. Anyway, seems like I'll be updating now...
[Xperia Z1 Compact Original Android Development] Ænimal:
Unfortunately the july update is bootlooping on me. I tried to clean flash, dirty flash, re-downloaded the ROM and tried again but to no avail. The ROM doesn't boot past the (dimmed) Sony logo, and the fact that it was dimmed seemed promising, as stated in the changelog from op. Anybody else experiencing this? Anyway, thanks [MENTION=5075064]optimumpro[/MENTION] for your efforts, keep it up!

EDIT: The problem doesn't seem to be kernel related since I successfully flashed the July kernel on the previews build and this combination boots fine..
[Xperia Z1 Compact Original Android Development] NeoAqr:
I like turtles
[Xperia Z1 Compact Original Android Development] DrtiBarta:
Im also stuck on Sony logo.
[Xperia Z1 Compact Original Android Development] optimumpro:
That's the problem of not having the device. Did you flash dirty or clean? Could you try June kernel with July rom? And while you boot, do adb shell, then adb logcat on computer and post the output.
[Xperia Z1 Compact Original Android Development] Ænimal:
I clean flashed and also tried the kernel from the previous build and it still bootloops.

Unfortunately I don't have a computer at hand right now, so maybe [MENTION=7216753]DrtiBarta[/MENTION] could take the logcat.

Thanks
[Xperia Z1 Compact Original Android Development] optimumpro:
I have removed July release. I'll see what I can do...
[Xperia Z1 Compact Original Android Development] DrtiBarta:
Im sorry im also away from comp right now.
[Xperia Z1 Compact Original Android Development] levone1:
If I can get the download I'll try dirty flash over backup.
[Xperia Z1 Compact Original Android Development] optimumpro:
If it doesn't boot on clean flash, that means there is a problem with the build. I have an idea: it is probably related to the switch from an older webview v39, which was part of android LP 5.1.1 source, but no longer is. I switched to prebuilt webivew and there were no problems with Z1. However, the same sources produce a problem for Z1c. I will look at this and try to do a clean build. But because I have no device, it is impossible to debug the problem...
[Xperia Z1 Compact Original Android Development] optimumpro:
Guys. Before I start building from zero, try one more thing. I have included a wrong bootanimation.zip, which is 4 times larger than the usual one and that "little" error could be the reason the rom does not boot. So, try this:

Flash the rom (could be dirty); then without rebooting delete /system/media/bootanimation.zip in TWRP and then reboot. To delete you need to first go to mount and mount system; then go to advanced/file manager, pick /system/media/bootanimation.zip and delete it. Once the rom is booted, you can install whatever bootanimation you want...
[Xperia Z1 Compact Original Android Development] levone1:
Download removed...
[Xperia Z1 Compact Original Android Development] optimumpro:
Yeah. That file is gone via make clean, but quite a few people downloaded it before removal. They can try it...
[Xperia Z1 Compact Original Android Development] Ænimal:
Nope, didn't work.. Checked again if bootanimation was deleted correctly.
[Xperia Z1 Compact Original Android Development] optimumpro:
Ok. I am going to build from scratch...
[Xperia Z1 Compact Original Android Development] optimumpro:
New build is posted. See OP for Download.

Make sure you back up your current rom...
[Xperia Z1 Compact Original Android Development] levone1:
Dirty flash over previous version. So far everything good, except Gplay svcs fc. Going to reflash gapps see if fixed.
[Xperia Z1 Compact Original Android Development] optimumpro:
You do know you must reflash Gapps on every update? Also, don't update Superuser, higher versions are for MM and they cause Gapps to f/c. Also, update webivew (the link in the OP): unzip and install as a normal app...
[Xperia Z1 Compact Original Android Development] levone1:
Re-flashed and everything good. Thanks
[Xperia Z1 Compact Original Android Development] Ænimal:
Thanks a ton! Apart from some display glitches while scrolling everything's running great.

EDIT: The glitches have gone, maybe dalvik related(?), because I changed my Lcd density (just didn't happen on previous builds)
[Xperia Z1 Compact Original Android Development] magusberlin:
thanks a lot for this built- works perfect.

I am using this ROM since two weeks now. However I have the feeling that battery-life compared to my previous stock-based ROM is shorter.

I am using nano-gapps.

I do agree that Whatsapp&Co is crap, but I need to use some of the crap to stay in contact with all my third-world friends, who do not use Signal&Co.

I might have not adjusted "wakelock blocker", "KernelAdiutor" and "AFwall" well enough.

AFwall is somehow self explaining, I am whitlisting only the apps that I really need.

Adjusted Kernel Adiutor like described in post #6, but am unsure if I understood all instructions, especially: "You will also have cpu and gpu overclocked to 2457 and 600 respectively. Also voltage changing is in kernel."

(sorry, i am still not allowed to post links here)

What did you guys adjust to maximize battery-life?
[Xperia Z1 Compact Original Android Development] levone1:
Getting random reboots on clean install. Usually when updating apps on Play Store, and twicevwhen waking up screen after sleep. I don't understand much about CPU/voltage, etc... Have any ideas?
[Xperia Z1 Compact Original Android Development] DrtiBarta:
I also get these reboots. Mostly when i have my phone locked in the pocket or Just locked.
[Xperia Z1 Compact Original Android Development] munjeni:
Posible causes for random reboots!! :

1. improper owerclocking implementation (probably first one which cause that), and one more important thing about improper overclocking is increase of the SAR value which can be dangerous for your health. http://blogs.sonymobile.com/about-us/sustainability/health-and-safety/sar/

2. not recomended using toolchains which is higher that 4.8, all these new toolchains is not in google three with reason (posible mem leaks)! I had that mem leaks 3 years ago when I was very active in development, and it was memleaks caused by improper tool chains (it was linaro. For linaro you need to modify android source to "match" linaro toolchain. The same thing is with any toolchain out of android source! You must optimise android source in order to use non standard android toolchain! You can't just use an toolchain and compile, it will probably work but buggy.). After switched to the google toolchain no more memleaks/random reboots... beter idea is use of google stable toolchain wich is optimised for android source. Just to share my experience with you, nothing more.
[Xperia Z1 Compact Original Android Development] optimumpro:
Kernel with extra features is a powerful thing, but if you don't know what you are doing, you will make the rom unstable or cause reboots.

Reboot after waking is an indication of too much undervolting. You should never adjust those more than 50 mv in any direction. Contrary to popular beliefs, undervoltage does not produce battery savings and overvoltage does not increase performance. Display glitches could be related to thermo throttling cpu and gpu, as after new install and first reboot, your phone is warmer than normal. Generally, don't mess with kernel adiutor, unless you learn about kernel tweaking and NOT from "recognized" themers, who post kernel guides on xda. In kernel settings, make sure to set a 30 second apply delay to have time to reverse your changes. Otherwise, the phone may reboot again and you will have to reinstall the rom.

Other reasons for reboots: make sure you are not restricting any element of your beloved Gapps. Look inside the gapp zip folder and make sure each of them is white-listed in afwall. The same applies to facebook/what's up category. Those apps tend to stay in touch with "home" 24/7 (and it is not your home). Another reason: due to multiple Google security patches and a huge jump from webview v39 to 50s, some of the apps need to be updated, especially gapps, but unfortunately, gapps for LP are no longer maintained.

Be careful with Wakeblocking, as improper settings can render the phone inoperable.

Bad layers may cause instability, especially if you mistakenly apply more than one to the same app. There could be 100s of other reasons and without logcat, it is impossible to say.

This rom has a long history, and only one time in November 2015, kernel caused random reboots introduced by an author's commit, which was quickly reversed.

Now, Jaguar for both Z1 and Z1c has been rebuilt from scratch, so, any rom's fault should be reproducable on both devices.
[Xperia Z1 Compact Original Android Development] levone1:
Thanks for reply. In my case, I have not adjusted anything kernel-wise. Fresh install with everything default. Afwall is set to blacklist mode, with nothing checked. Maybe there's some kernel settings I can tweak, (maybe undervolted by default?)... Thanks

---------- Post added at 09:26 AM ---------- Previous post was at 09:23 AM ----------

Always glad for your insight munjeni. I have all settings at kernel default. Do you suggest I lower CPU max, or any other thoughts?
[Xperia Z1 Compact Original Android Development] optimumpro:
The overclocking was done almost a year ago and before that it was successfully used for a few years by others.

Sar, I think is related more to radio/baseband, which has its own kernel. Plus, one can restrict android kernel frequencies to their liking in kernel adiutor.

Toolchain: actually, in this particular build, I have returned to Google 4.8 chain, although, I subsequently rebuilt using HyperTool 5.3, but that one hasn't been posted yet. (I will adjust the OP accordingly).

One more word: don't update supersu to above v2.65: those are for MM and not compatible with LP.
[Xperia Z1 Compact Original Android Development] optimumpro:
Regarding voltages: your CPU, although it is the same cpu as in other Z1c, has different variants, which require different voltage tables (980mv for one variant and 1100 for another on the same frequency), so you can't really share your settings. For those who have reboots on wake, try to adjust lower 3 frequencies by +(20-15-10).

If you think the reboots are related to kernel, you can use the one from the previous build (get it from the zip and flash in fastboot: fastboot flash boot boot.img).

If you look at Z1 Jaguar thread, you will see no complains of reboots. Some have Google related apps f/c due to various issues, such as updating to Supersu, which is no longer good for LP or newer webview v51-52, which requires updated Gapps...

Also remember, when kernel is updated, which is the case in this build, and you were on a previous release, Kernel Adiutor likes to reset to default, so, you have to check that if you want to restore the values you had on the previous build...
[Xperia Z1 Compact Original Android Development] Ænimal:
Mmh, random reboots here, as well. Gonna try raising voltages as suggested..
[Xperia Z1 Compact Original Android Development] munjeni:
We don't know anything about undocumented and closed source qcom propietary baseband things! On net we can see/speak only assumptions about that! There is nothing confirmed and no body know what is inside that, only assumptions!

About sar I think whole things (cpu...etc) produces electromagnetic things... and enginers limited frequencies/voltages with reason! I don't see any other logical reason. Me, don't like touching board frequencies/voltages, never liked that, just my opinion.
[Xperia Z1 Compact Original Android Development] optimumpro:
I agree on basebands (closed source etc.), but SAR is related to waves emitted by radios, which are much more powerful than even wifi or bluetooth. Emissions by cpus are not included in SAR, because they are 100/1000 times weaker.

Again, to those who have reboots: use kernel from the previous build and see if this makes any difference. I have none, nor do any of Xperia Z1 users and they have the same rom...
[Xperia Z1 Compact Original Android Development] optimumpro:
I have just posted a kernel that should fix random reboots:

Download: http://xdaforums.com/devdb/project/dl/?id=19387

Unzip and flash in fastboot : fastboot flash boot boot.img
[Xperia Z1 Compact Original Android Development] munjeni:
Agree with you, but I want to say thing related to overclocking, more for undervolting which you doing on these kernels! We don't know whats happening when we touch volts on main boars. E.g. maybe radio gets some more volts which cause more sar... thats what I wanted to say. Enginers limited that freq/voltage and I am prety sure its limited with reason.

In any way lets back to topic, forget this sar, sorry!
[Xperia Z1 Compact Original Android Development] Ænimal:
Thanks, haven't had a single reboot since.
[Xperia Z1 Compact Original Android Development] DrtiBarta:
Can i flash that boot.img with twrp? Thanks
[Xperia Z1 Compact Original Android Development] Ænimal:
Yep, just choose 'install img' and boot partition, of course.
[Xperia Z1 Compact Original Android Development] optimumpro:
Later today I am going to post a build with HyperTool Chain 5.4, the version that combines SaberMod, X and Uber. I have used this build on Z1 and in my view, the rom is snappier and I have noticed no issues, but you'll be able to check for yourself: Google 4.8 vs HyperTool. One more thing, in this build I used a fstack protection-strong flag, which guards against overflows, the main culprit in all kinds of exploits. See here for more details: https://outflux.net/blog/archives/2014/01/27/fstack-protector-strong/

This feature is simply not available in 4.8 chains...

In addition, the users of LP 5.1.1 should not think that they are prevented from having features available in MM, as I take changes directly from Android Gerrit Master Branch: https://android-review.googlesource.com/#/q/status:merged

About 80% of the changes are compatible with LP. So, with every build, in addition to monthly security patches, you have the latest Android changes...
[Xperia Z1 Compact Original Android Development] optimumpro:
HyperTool Build is Posted

New build is posted. See OP for Download. No need to flash kernel afterwards...
[Xperia Z1 Compact Original Android Development] Ænimal:
Just flashed the zip and rom's running smoothly..
[Xperia Z1 Compact Original Android Development] optimumpro:
It says everywhere no need to flash kernel...
[Xperia Z1 Compact Original Android Development] Ænimal:
I know ;) just overread the crucial 'no' and edited my post while you were replying I guess.

Thanks for the rom, never had anything like it on this good ol' device..
[Xperia Z1 Compact Original Android Development] magusberlin:
thx for the update, works so far without any issues. i agree, this last built seems to run smoother.

sorry for Offtopic: @ optimumpro: would you be able to port your built to fairphone2 ?

Seems to me a sustainable basis with its modular hardware.

I would be willing to crowd fund a phone so you can work on it.

ride on
[Xperia Z1 Compact Original Android Development] optimumpro:
Unlikely. There is nothing yet for fairphone and their released sources do not contain much description/documentation. In fact, you have to get 80 gigs of data first to get a feel, instead of browsing the source online. Plus, it is a phone with very limited appeal.
[Xperia Z1 Compact Original Android Development] [GER]Roxxor:
Hi!

Your ROM looks really promising! Sadly encrypting the device does not work. It is the same for me on CM 12.1.

Here are some logs: http://www.file-upload.net/download-11786240/Logs.zip.html

One file shows some related errors(the smaller one). I hope I fetched it correctly!

(Somehow I cant attach files here on xda O.o)
[Xperia Z1 Compact Original Android Development] optimumpro:
The log shows that the data partition overlaps the space for cryptfooter. Have you formatted your phone for f2fs perhaps? Or any other non-standard way? Did you do a fresh install meaning you actually formatted data partition?

Can anyone report a successful encryption on the latest release. The numbers for Z1c partition were taken from CM trees. So, if no one can encrypt, it is CM problem, which could be looked at and fixed...