yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] Stronger1101:
I frequently use any VPN and I try to use psiphon pro and when I start the app, it immediately restarts the device. :(
[Xperia Z1 Compact Original Android Development] WhB/K:
Thanks

Hello optimumpro,

It is not nice to hear that your phone is broken. We must say thanks for your work on this project.

It would be very nice if this would not die so fast and it will delivered with some updates. However, I also realize that it is a difficult task and now you have other interests.

I think we have to say thanks for this ROM - in my opinion one of the best for the z1c.
[Xperia Z1 Compact Original Android Development] optimumpro:
Before starting a VPN app, you have to allow it the internet in Afwall. But, if the app restarts the phone, that's a poorly made app.

Anyway, for those who don't like Afwall, as I mentioned before: all you need to do is delete /system/etc/crashdod.sh with a root file manager. Then you can delete Afwall and restart...
[Xperia Z1 Compact Original Android Development] Stronger1101:
I doubt that it is the application because when I use it in other ROMs this does not happen to me, anyway thanks for your great collaboration, I will try to do what you indicated.

Thanks.
[Xperia Z1 Compact Original Android Development] jaswinprakash:
[MENTION=5075064]optimumpro[/MENTION] copy paste text not working.. Plz help...
[Xperia Z1 Compact Original Android Development] optimumpro:
Settings/Security enable clipboard access at the bottom.
[Xperia Z1 Compact Original Android Development] optimumpro:
Other roms have CaptivePortal, which logs your every wifi login. It is possible that Gapps or other apps that rely on Gapps crash without captive portal and its spying ability. Spying on you is the only function of captive portal...
[Xperia Z1 Compact Original Android Development] jaswinprakash:
[MENTION=5075064]optimumpro[/MENTION] games are superfast on this rom.

. But i cant install asphalt 8 mod it shows app not installed

also downloaded gmail from play store but it shows unfortunately app closed. Any idea?

Is there any mod to activate stereo speaker on this rom??

and how to enable volte?

also Google play services force closing..
[Xperia Z1 Compact Original Android Development] jho55:
"But i cant install asphalt 8 mod it shows app not installed" - I think this issue is too special for investigating

"also downloaded gmail from play store but it shows unfortunately app closed. Any idea?" Others also complained. I guess it is hard to fix.

"Is there any mod to activate stereo speaker on this rom??" - maybe ask in the sony apps and theme section.

"and how to enable volte?" - No idea

"also Google play services force closing" - which gapps are you using? Try opengapps, ARM, 5.1.1, pico.
[Xperia Z1 Compact Original Android Development] jaswinprakash:
Opengapps pico is the one iam using
[Xperia Z1 Compact Original Android Development] optimumpro:
Volte will never work on Z1-Z3 with custom roms, because, again, thanks to Sony bs, the modem files on stock are in a different format, i.e., unlike other OEMs, Sony blobs for stock are different from those they publish for custom roms. In addition, most likely Z1/Z1c don't even have volte modem, but even if they did (like Z3), the modem selector app does not work with blobs for custom roms. So, as long as you are on Z1/Z1c, you will never have volte.

I recently had Alphalt Nitro without any problems. Are you sure you were trying to install a legit version?

Gmail: try an older version: 6.x. Newer versions are for MM and N and Google doesn't care about LP compatibility anymore.

Gapps: use Pico, as someone suggested...
[Xperia Z1 Compact Original Android Development] Talkrabb:
Copy and paste does not work for me. What are the settings to enable it?
[Xperia Z1 Compact Original Android Development] levone1:
https://xdaforums.com/showpost.php?p=71296285&postcount=486
[Xperia Z1 Compact Original Android Development] magusberlin:
Hey guys

can somebody help me to troubleshoot?

i am in nigeria, bought a local sim with LTE data/voice plan.

cannot get my phone to use data.(at home everything worked great)

randomly(?) get an exclamation mark at both wifi and mobile.

after toggling flightmode , iptables are applied and i get sloow data for a while, then again exclamation mark.

Also toggling cellular data helps for a while (5minutes)

I have afwall set to block selected and deselected almost everything, only two apps blocked.

the simcard dealer shows on his phone data works fine.

what options do i have?

any hint appreciated

best from las gidas, city of fools

m
[Xperia Z1 Compact Original Android Development] -totonio-:
Hi, I'm experiencing some strange issues, I came from a stock LP 5.1, and I'm using real recovery to flash.

The wifi 5ghz band doesn't work, before (like 30 minutes) it was working so it isn't an HW problem, and when I try to take a photo directly from whatsapp the display blinks.

By the way the rom is awesome
[Xperia Z1 Compact Original Android Development] 2alex:
Thanks for your awesome rom I just recently discovered it coming from an older Kai Rom as I did not really like to have an very old "Android security patch level" anymore on the one hand but not keen on Android 6 or 7 buggy roms. Normally "Android security patch level" is as old as the Android version of the rom so officially for the Z1C Android 5.1.1 so we are talking 2015.

Only smaller downside for me so far in this rom is Gmail force closes even when following the Gapps install directly after Rom w/o reboot instructions. Installing AFWall and enabling mainly all, uninstalling AFWall, uninstalling/reinstalling Gmail, Gmail sync on/off, account remove/add. Gmail Clear data + cache. Finally switched over to K9 mail app which is great app since ever but of course missing the Gmail app category sorting.

In general it would be great to be able to "just" flash "Android security patches" also into older Roms like you did it. Sorry I am no developer at all is this something which is in general possible or needs to be done always as a complete rom?

Looking forward to more security patches coming as I still think Z1C is a great hardware device (replaced my battery once) while Sony suckz, fully agree with you ;)

So Zuk 2 pro (need LTE B20) is on my potential new devices list but really hate no microSD card slot to be honest.
[Xperia Z1 Compact Original Android Development] stephen king:
Hey I am a fan of your Rom too.

But i got some problems with wifi. I am using 2 different routers at home (different versions from avm fritz box). I can connect with both and the connection works but after some minutes the connection gets a problem "authentication problem". The only solution to fix the wifi is to delet the profile and reconnect. But this connetion will also only work for about 5 minutes....

I am comming from stock kitkat, and had no problems with wifi before. I installed stock 5.1.1 befor I switched to your rom but I didn't used it so I don't know if this problems is a general lollipop problem or a specific problem with your rom. An other problem I got is that the battery lasts barley a day (with kitkat the battery lastet about 2 days)

Maybe you or somebody else has solutions for this problems.

Because otherwise I need either to go back to kitkat or buy a new phone :/.
[Xperia Z1 Compact Original Android Development] levone1:
Was reported a few posts back. Op doesn't know what problem is, since he hasn't experienced it, but you're not the only one. For me, it only does it when I lose the connection for some reason, then I have to toggle WiFi to get it back.
[Xperia Z1 Compact Original Android Development] mkdmc:
Hi

https://arstechnica.com/security/20...stalkers-is-hard-android-is-failing-miserably

Does jaguar randomize Mac address safty?

+ I hope to see new version of jaguar soon:D
[Xperia Z1 Compact Original Android Development] WhB/K:
Hy Optimumpro,

I saw,that the Rom of the Z1 is updated.Is it possible for you to build a marchupdate for the Z1 compact?

This will be wonderful :)
[Xperia Z1 Compact Original Android Development] optimumpro:
I have upgraded my PC to a newer LInux with new dependencies and unfortunately, Jaguar, although, builds fine, bootloops on Xperia Z3c (the only Xperia I have in my house). I am looking into the issue, but it is not easy, as logcat is not helpful at all. It just complains of random fatal signal. It could be a tool chain or Java version and I can't find open jdk 7, as it is not used anymore...
[Xperia Z1 Compact Original Android Development] vildevilde:
I just installed this rom on a spare z1c, and I have searched but I am not able to find afwall or kernel auditor that shall be installed after first boot? Where do I find this apps?
[Xperia Z1 Compact Original Android Development] levone1:
From post #3...

(BTW - I think op said something about how latest release works without afwall, since some people had a hard time with it... [MENTION=5075064]optimumpro[/MENTION] confirm?)
[Xperia Z1 Compact Original Android Development] vildevilde:
Ok, I was redading this on first post

so I have looked on the filesystem on the phone and in the rom zip-file after Afwall, but it's not included then?

I have to investigate more but I don't get out on Internet.

Edit: Installed Afwall and now I have wifi.
[Xperia Z1 Compact Original Android Development] optimumpro:
You can install Afwall and KernelAdiutor either from this thread or from F-droid. Keep in mind that Kernel Adiutor from Google store or author's github has ads. Mine and F-droid's don't.

Also, if someone doesn't care about all apps freely connecting to the internet and leaking data, you can delete /system/etc/crashdod.sh with root file manager (and reboot) or delete the same from rom zip before flashing. After that, you won't need Afwall to have the internet.
[Xperia Z1 Compact Original Android Development] vildevilde:
Thank you for your rom and answer optimumpro. The reason for testing this rom is the security so I like to have control over the apps connections.

What would be nice to see is what apps that I need to give access in Afwall to make phone work as i shall do.
[Xperia Z1 Compact Original Android Development] jho55:
Just check the log of AFWall and allow everything you need. Especially the Android system stuff.
[Xperia Z1 Compact Original Android Development] 2alex:
AFWall works great for me with either blacklist or uninstall. But GAPPS I completely fail after trying everything incl. also Libemoji.zip. After several attempts incl. clean installs I have given up as none working GAPPS is a showstopper for me. Back on new KAIrom which works great incl. battery life and superb camera. But of course less secure. Hopefully GAPPS issue gets solved some day than I am definitely back in. So far all the best...
[Xperia Z1 Compact Original Android Development] vildevilde:
I used latest open_gapps-arm-5.1-pico, installed after rom installation before reboot. Works for me.
[Xperia Z1 Compact Original Android Development] 2alex:
Thanks I did the same not working. Once I start adding my Google account and start using Gmail which I installed via play store the issues begin. It has to do with syncing. Gmail constantly closes...
[Xperia Z1 Compact Original Android Development] jho55:
optimumpro said, that he had no problems with wifi. But after every rom update you should remove and add wifi settings again.

For me I have to enable wifi twice to get it running.
[Xperia Z1 Compact Original Android Development] Ænimal:
Is there anybody capable of and willing to maintain this ROM with security patches? Would be greatly appreciated.
[Xperia Z1 Compact Original Android Development] jho55:
I think that optimuspro wanted to add security patches but the rom for z1c was not compiling on his new linux machine. And he is working now on another rom so I guess it has low priority now.
[Xperia Z1 Compact Original Android Development] GNUDroid:
yes, let's hope that someone continue!

sorry the rest is a little bit oftopic:

somehow i feel android N will never get stable (drain, camera) for our device anymore.

hmmm, how long can one run a phone without any security updates.... 1/2 year, until many exploits are in the wild? does anyone knows a website for statistics on phone-specific malware and botnet attacks?

(by the way i'm wondering why people pay much attention on their pc, but running on the same time a phone with stock rom which is 2 years outdated. ;) )

does anyone know continuous updated list on xda recommendations (amount of active dev's / activity of community / quality) of especially SMALL phones? for me the z1c is almost to large. (loved the s4 mini + old iphones from dimensions)
[Xperia Z1 Compact Original Android Development] jho55:
As you can see in the other threads it will never be good. But for me a patched lollipop like jaguar is totally enough.

Just look into statistics how much people are using Nougat or Marshmallow. Maybe 20%. I would say that if you have a phone with security level 01/2017 you belong to the top 10%.

The z1c is too large? Puh, my next phone will be larger. Just a little bit more.
[Xperia Z1 Compact Original Android Development] GNUDroid:
ok. the problem of lowering maximum cpu frequency via gui's like performancecontol or kernelaudiutor is known. e.g. non sticking values.

but is there any file where one can manually place a hard-limit in mhz?
[Xperia Z1 Compact Original Android Development] -totonio-:
I found the "reason" for the whatsapp camera issue, it happens when I reboot my phone, when I shutdown and then power on this doesn't happen (IDK why, and if it is a possible thing)

For the wifi it depends by the channel used, by the way on the stock ROM this doesn't happen :angel:
[Xperia Z1 Compact Original Android Development] levone1:
Don't know if anyone has tried to use munjeni's TA mount tool on this rom, but it doesn't work, (something to do with file naming in the kernel maybe? - https://xdaforums.com/showpost.php?p=72314942&postcount=1447), so I modified the patch-things script so it will work. Also, modded framework jar to work with Z4 camera port.

Munjeni tool - https://xdaforums.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893

Modified patch-things sh file, (replace in 'scripts' folder of TA tool) - https://mega.nz/#!V9MXyahA!oYOGarplbKtvb45gsd0cVMESX2sG6MdF0XogzP019oA

Z4 cam port - https://xdaforums.com/crossdevice-dev/sony-themes-apps/port-xperia-z4-framework-sony-stock-t3154772
[Xperia Z1 Compact Original Android Development] TheAbalone:
Thank you for your tips and patched framework. jar

I tried the steps on cm12.1 and after I realized to deactivate he overlay, it worked great.

But on jaguar, the camera force closes (areffect works). Do you have an idea, what went wrong?
[Xperia Z1 Compact Original Android Development] levone1:
I'm using it on Jaguar with no problems. Only issue I've had is can't view last photo from camera app, need to use different app. I guess you could test with clean install and reflash. Maybe there's some conflict with other apps or mods... Also try wiping cache and dalvik.
[Xperia Z1 Compact Original Android Development] TheAbalone:
I have to replace which framework.jar? The file in system/framework only has 310 Bytes!

Dear Berni
[Xperia Z1 Compact Original Android Development] levone1:
I just realized that I forgot my system is deodexed... I will upload a links to deodexed system, and I also made a flashable zip including framework jar, all Sony camera port files, and some framework/ui mods. Tried to upload, but something seems to be wrong with Mega server. I'll try again later. If you want, in the meantime, just deodex your framework, and it will work. Lordroid works well with LP (https://xdaforums.com/android/software-hacking/tool-batch-deodex-rom-t3313150), or you can do it on your phone with TDA, (https://xdaforums.com/android/software-hacking/mod-lollipop-t3339340).
[Xperia Z1 Compact Original Android Development] levone1:
OK, here's links:

Deodexed rom zip - https://mega.nz/#!k9lCFYiQ!tEayaNKEZogWoK32nxV0r-2YEy9DsqlTEheUZwpQzBE

Mod zip, including framework jar and all camera files - UI mods are basically in notification/quick settings dimens, and toast bg, plus lockscreen rotation.

https://mega.nz/#!ssNkWSwT!0pQo9YpE8yr9-oEZKdgm0qyE9k9tiV1Maeq8tzuQSZA

What I did was flash rom clean, then reboot, then flash mod and wipe caches. Maybe not all necessary, maybe you can just flash all at once, but that's my recommendation. If you want to try to backup current data and restore after, probably OK, but I don't know if you can dirty-flash. I have a feeling not, but won't hurt to try, if you made a backup.
[Xperia Z1 Compact Original Android Development] levone1:
A few new mods, if anyone wants... Dynamic system bars, and colored status icons...

https://mega.nz/#!Yw8lzALC!1H5573Ru5fpa4bcnGVL1m_HENBDtgm7bw-4fSEbfgaU
[Xperia Z1 Compact Original Android Development] levone1:
SystemUI with Xperia battery...

No credit to me, I just followed this - https://xdaforums.com/crossdevice-dev/sony-themes-apps/guide-t3332111
[Xperia Z1 Compact Original Android Development] megaice:
my Z1c is in silicon heaven now.. backup Xc working fine, still i miss this security enriched rom.. :')
[Xperia Z1 Compact Original Android Development] WhB/K:
i traveled from germany to poland, i'am in a foreign country and i'am not able to connect to a network.The phone does not choose automatically a network. If i do this by my own, i got the message "Can not connect to network.Please try later".

Reboot didn't solve the problem - what's wrong?
[Xperia Z1 Compact Original Android Development] megaice:
Change the language of your android back to english and let it find/select mobile network. i've had a similar problem when using another language in mobile networks submenu. Hope this helps.
[Xperia Z1 Compact Original Android Development] WhB/K:
Thanks for your answer. That doesn't solve the problem. My mobile runs all the time on english, because of fewer buys. Maybe it's a problem with using O2 as provider. There are some discussions on the internet about it.

Now i'am back in germany, so i can't check this with an other provider.
[Xperia Z1 Compact Original Android Development] r100:
What a crazy good and fast ROM this is! My Z1C feels brand new and on steroids now :) The boot animation is beautiful as well (not that you have a lot of time to look at it since it boots so quickly). However, the biggest drawback for me is that I can't get Gmail to work, at all. Any tips or tricks?
[Xperia Z1 Compact Original Android Development] levone1:
Do you have Gapps or MicroG? What happens when you try to use it?
[Xperia Z1 Compact Original Android Development] daxoncro:
I got lots of apps crashing randomly, gmail crashes everytime few seconds after i open any mail, what could be the problem? gapps were flashed right after rom, i followed instructions step by step, also when screen goes off, wifi and network goes also, so when i get it on, i have to wait like 10s for iptables to apply rules and to get connectivity back, is that a bug or a feature?
[Xperia Z1 Compact Original Android Development] levone1:
Gmail - https://xdaforums.com/sony-xperia-z...mi-lp5-1-1-r37-hardened-t3396713/post71314943

Network sleeping when screen off can be changed. Check phone settings, afwall settings, and kernel adiutor ...
[Xperia Z1 Compact Original Android Development] babydo:
Browser

With the hardened webview, do you suggest using the stock Android browser or a third-party one? I think FF uses its own engine (gecko?)

EDIT: Also, clipboard isn't working for me... There's no paste option. Anybody else?
[Xperia Z1 Compact Original Android Development] Yokurt815:
Settings -> Security -> Allow background clipboard access
[Xperia Z1 Compact Original Android Development] pipyakas:
I flashed this rom with supersu 2.79 and couldnot update the su binary files, what could I do to get root access?
[Xperia Z1 Compact Original Android Development] levone1:
Did you allow root access in settings? By the way, I think the ROM comes with Privacy Guard root already, doesn’t it?
[Xperia Z1 Compact Original Android Development] pipyakas:
I did allow root access in the developers option for apps and adb, and I prefer supersu
[Xperia Z1 Compact Original Android Development] levone1:
Well if su is working, and all you want is to update the binaries, just flash a newer version of SuperSU zip, (that's what updating the binaries will do) - https://xdaforums.com/showpost.php?p=55256620&postcount=1
[Xperia Z1 Compact Original Android Development] pipyakas:
when I flash supersu v2.82, I got the error "SU binary occupied", so I had to go with 2.79 in the first place
[Xperia Z1 Compact Original Android Development] levone1:
Hm. I've never seen that. What recovery are you using?
[Xperia Z1 Compact Original Android Development] pipyakas:
twrp 3.0.2 I think. I reverted back to previous rom though
[Xperia Z1 Compact Original Android Development] levone1:
Well if you want to try, you might be better off with this - https://www.androidfilehost.com/?fid=457095661767147235
[Xperia Z1 Compact Original Android Development] frief:
Hi optimumpro,

rebooting would be awkward in some scenarios. If the phone is exposed to a child then the phone would reboot into the PIN entry for the SIM (which usually permanently locks on further 3 attempts and then needs the PUK).

--> a non-malicious user has the power (just by tapping the screen) to lock the SIM.

If all that the reboot is meant to achieve is a delay to protect against brute forcing then just use a plain delay with the duration of a reboot?

Thanks for jaguar on amami:)
[Xperia Z1 Compact Original Android Development] optimumpro:
Pin code protects the sim card, not the phone. All the hacker needs to do is remove the sim card and he will have access to your phone. Pin screen warnings are useless, because they are telling the hacker that he has so many attempts. Rebooting without warning, especially if coupled with encrypted data will reboot the phone into a boot/encryption password, which is a bigger problem for snoops.
[Xperia Z1 Compact Original Android Development] optimumpro:
New build

Rom updated with several new features. See OP for download and description...
[Xperia Z1 Compact Original Android Development] broky:
everytime i reboot i have wrong time and date and even if i choos

auto date does not change and afwall needs to set again to connect to internet..

What do i miss here?

I think i .use your instructions for afwall as you state.

Any idea what i do wrong?
[Xperia Z1 Compact Original Android Development] DrtiBarta:
I have the same problem and also problem with power button not turning on the screen for 3 or 4 times sometimes.
[Xperia Z1 Compact Original Android Development] broky:
what i have done and solved the problem for the time speaking:

in afwall i selected:

Mode:Black list(block selected),i did not tick any app box.

set firewall to: enabled

in preferences/binaries/iptables binary set to built in

"' / " /busybox binary set to built in

about the date not sticking:

i have only checked the first option:automatic date and time,nothing else checked

till now works fine for me,after reboot also,so give it a try
[Xperia Z1 Compact Original Android Development] optimumpro:
There are no special instructions for Afwall, other than to install as a regular app and give it permanent root. Also in Settings, untick LAN control. It also doesn't matter whether you use black or white list. In white list, you need to specifically tick the app to have connect to the internet. In black list, you tick the app to deny the internet. And yes, in Preferences/Binaries, tick inbuilt busybox and iptables.. Well, if you still have problems, change to system buxybox, but it should work either way...

Qualcomm's time service is disabled, because it connects to some unknown servers on a cell channel. You are not getting time, because you are not connected to the internet. Once afwall is running, the time is set automatically.
[Xperia Z1 Compact Original Android Development] optimumpro:
2 reasons for not waking up right away with power button: either you set CPU voltages to low or you have ambient display enabled. Disable it, it is broken on LP 5.1.1.