yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] John.D..:
This is a bit offtopic, but still: someone on this ROM tried to run this HDR+ camera?

In ROM there is support for camera API 2? Because camera APIv2 strongly recommended

Now I have a different device, but I would like to improve the pictures of those who have Sony Z1 compact left :) Here is it https://xdaforums.com/oneplus-3/how-to/modded-google-camera-hdr-60fps-video-t3658552

If the version does not work from there, I have access to previous versions, you can try them if you tell me
[Xperia Z1 Compact Android Development] munjeni:
New build is out!

- wifi channel 12 and 13 is missing (fixed)

- black screen before boot animation (fixed)

Didn't managed to use stock ril (have no idea why /dev/socket/rild and /dev/socket/rild-debug is missing), so ril is not stock ril. If you have idea how to fix missing sockets let me know!

To enable wifi channel 12 and 13 you need to change country code in wifi setting, disabl;e wifi and enable wifi. It must be done on every reboot since somehow that persist prop is missing and I have no idea how to make them persist (seems los bug?).

Do in mind, changing regulatory domain in some countries e.g. enabling channel 12 and 13 in US is not a legal! I am amateur and our build is not profesional build, our build is for educational purpose only! I am not responsible for what you have do or for what this build can do! Use on your own risk!

Disclaimer updated on first post.
[Xperia Z1 Compact Android Development] alex88510:
For updating from previous build, do I still need a clean wipe?

Or can I do a dirty flash?

I am hesitating whether I should go back to the old .108 kitkat rom because of the aosp browser. :(

If I decided to stay on nougat, I might need to grab a copy of the browser source, debug it and came out with a fix/workaround.

I doubt I can do that as I have never did any android apps programming (I have some programming background though, just basic)

Or, I might need to compile a custom build of modern browser with the quick controls built-in somehow, since xposed for nougat isn't ready yet...:(

Appreciate if anyone is willing to guide:highfive:

And sad to hear the bad news.

I can help testing if you decided to start again, either from nougat or oreo. :good:

P.S. doesn't have much time this weekend to test the DRM PoC for the camera, probably will try next week, maybe couple with the stock sony camera...IF I decided to stay on nougat;)
[Xperia Z1 Compact Android Development] munjeni:
I don't like los browser too! Wanted to try aosp browser from jerpelea aosp build but it is odexed, deodexing it first is need. I'm on stock 108 rom right now :)
[Xperia Z1 Compact Android Development] alex88510:
I already have one that is working but glitches.

Mainly it has 2 problems, first, it has the well known bug when you activate any feature in accessibility, the address bar is glitched, doesn't hide after you activate quick control, creating glitches graphics/black bar.

Second, when quick control is activated, after a page has finished loading, it will stop redraw the page.

Thus, any moving gif in the page will freeze until you slide the screen, then it will start redraw(gif moving) for a few secs then halt again.

Same thing happen if you trying to type on a finished loading page, the character you typed won't show up(because it doesn't redraw the page), but if you slide the screen, it will appear.

I think under .108 rom, it has the first bug but I didn't notice it back then because I didn't activate any feature in accessibility.

The second bug is what annoys me the most. I am sure it doesn't like the new webview but I currently have no clue how to fix.

On second thought, if it was an easy fix, someone would have done that already, right?:p
[Xperia Z1 Compact Android Development] BEDAMATI MAHANAND:
bad bad bad.....no problem...starting with oreo will be better.
[Xperia Z1 Compact Android Development] munjeni:
Hm, I don't noticed problems in aosp browser on .108 rom, to be honest I didn't messed up settings of the browser
[Xperia Z1 Compact Android Development] munjeni:
Anybody tried new build? Wifi ok now?
[Xperia Z1 Compact Android Development] munjeni:
One strange thing in los, no battery information in *#*#4636#*#* , is that known bug in los?
[Xperia Z1 Compact Android Development] SuperLamic:
you should use the github, you know ;) reminds me of optimumpro and his "secret" sources for jaguar rom...

you would make the job easier for me too if I could easily cherry-pick your changes
[Xperia Z1 Compact Android Development] Boss Dragon:
Hey, does 720p 120fps recording work with this ROM?
[Xperia Z1 Compact Android Development] nhicko95:
[MENTION=6425591]SpiritCroc[/MENTION] said on his thread that he is already running oreo on his z1c you should start building ur oreo rom
[Xperia Z1 Compact Android Development] alex88510:
If you didn't activate the "experimental" quick controls feature in the settings, you won't notice it:)
[Xperia Z1 Compact Android Development] munjeni:
Pm sent! :)
[Xperia Z1 Compact Android Development] BEDAMATI MAHANAND:
my wifi is working fine from the first build.
[Xperia Z1 Compact Android Development] knv01:
Wifi is working here, but only at 2,4 GHz, at 5GHz I see nothing. Can somebody confirm that?
[Xperia Z1 Compact Android Development] alex88510:
I can connect to my hidden 5ghz wifi with no issues.:)
[Xperia Z1 Compact Android Development] pekom:
My wifi is very unstable, everytime dropped the connect, any idea why? pls help me fix this problem.
[Xperia Z1 Compact Android Development] munjeni:
That's not only problem with LOS but on stock rom too, I'm believing low cost routers is a problem
[Xperia Z1 Compact Android Development] jho55:
Hi, are the kernel security patches also added to this kernel? Or is it just the latest old stock kernel without any security fixes since then?
[Xperia Z1 Compact Android Development] munjeni:
Hi, no security patches, its just a bit modified stock kernel to run on nougat
[Xperia Z1 Compact Android Development] Maciek602:
After few weeks of using I must say I am very impressed! The rom is extremely stable, smooth and battery friendly. Battery life is better than on stock LP and ROM is the fastest I have ever used on my phone, it almost feels like my new X Compact.

If it comes to camera, it is almost as good as stock (maybe slightly worse, but I was using Cyberian on stock).

Anyway, this ROM is a great candidate for a daily driver. Great job [MENTION=4120742]munjeni[/MENTION] !
[Xperia Z1 Compact Android Development] hackintosh5:
One bug and one question

To start with, this is a great and stable ROM, thanks!

Using it everyday, no problem.

The Bug

In Google App -> Hamburger -> Settings -> Voice -> 'Ok Google' Detection, the description string is wrong. Probably nothing you can do about it, as it's in Gapps :)

The Question

Please, Please tell me where the offline charging animation media is stored. Everything else about the ROM is smooth and swift, but the offline battery animation stands out horribly. Even the stock Lollipop charging animation would be better than this!

Kernel security patches would be great, if possible!

Thanks again for a very good rom
[Xperia Z1 Compact Android Development] munjeni:
Battery animation is inside ramdisk, res/charger/animation...
[Xperia Z1 Compact Android Development] alex88510:
Went back to the old .108 kitkat rom for a while, perhaps until I figured out a way of fixing the old aosp browser in Nougat or to port the feature into an open source browser which work in Nougat.

Fixing the old aosp browser in Nougat seems require to build the entire ROM together...

Now that I returned to kitkat, I noticed some issues with my WhatsApp.

Maybe it's due to the modded WhatsApp that I used but I want to ask if any of you(who using the official WhatsApp in this LOS) has experienced that the WhatsApp messageservice get terminated or quit after idle for a while.

This leads to serious delay in receiving new message or until I open it up and open any conversation(to launch the messageservice back up), or at least in my case.

Using old version of the modded WhatsApp seems fine...

Speaking of this, while I was still using this LOS rom, I did notice that sometimes even the wifi was shown connected, the internet connection is like..."stuck"? :confused:

After a short while, it will resumed to normal.

I'm not sure though as I didn't pay much attention to this, because it still work eventually:D

This does not happen in the .108 stock rom.
[Xperia Z1 Compact Android Development] hackintosh5:
Thanks, got it now. Sorry if this is obvious, but how do I change it. I know how to

adb root
adb push

but what files do I use?

My WiFi is fine! :)
[Xperia Z1 Compact Android Development] munjeni:
I don't know if even we can change bootanimation since we no more using chargemon from sony
[Xperia Z1 Compact Android Development] munjeni:
You who gaved negative star, let hope you are a face and tell us reason for that :good: (backward) Hope you are not a *****.
[Xperia Z1 Compact Android Development] hackintosh5:
Is there no HCE/Android Pay support.
[Xperia Z1 Compact Android Development] r100:
Very impressed with this rom so far! Everything just seems to work the way it should, and after three days of use I haven't found any stability issue whatsoever. Also surprised by how fast this Nougat runs on the SD800 SoC and the battery life is as good as stock :D

My two requests to make this rom perfect:

(much) lower minimum backlight brightness

latest security patches for the kernel

Thanks so much, Munjeni!
[Xperia Z1 Compact Android Development] hackintosh5:
Android Pay

No Android Pay/HCE support?
[Xperia Z1 Compact Android Development] munjeni:
Yes, latest build have messed up autobrigtness levels, you can use lights.msm8974.so from previous build if you no want to check next build. Next build, I have moved to lineage kernel (which have all security patches), curently I found some bugs which doesn't exist on current kernel, will try to fix that bugs before I make next build!
[Xperia Z1 Compact Android Development] munjeni:
I don't use so can't tell you that :)
[Xperia Z1 Compact Android Development] taudelta:
NFC not visible for my banking app. Wireless paying don't working.
[Xperia Z1 Compact Android Development] xerioo:
Hi,

I've just tried this rom yesterday, been on stock before. Thanks for your work of making this build.

So far so good, only two things to mention:

- after the first start the camera didn't work - black screen, "cannot connect to camera" message. After a restart the error is gone, now it's working fine.

- someone may already mentioned, and I can confirm, that no 5GHz wifi connection is available, those networks doesn't even show up on the list.

I've got so much used to all those google scrap that I almost miss them :) Otherwise it seems fine and fast, will continue testing.
[Xperia Z1 Compact Android Development] hackintosh5:
My 5GHz network works fine! (In UK if there is any difference with protocol etc.)

---------- Post added at 12:47 PM ---------- Previous post was at 12:09 PM ----------

If we're getting LOS Kernel, would that make it possible to include OTA updates, so we don't have to use recovery to update? If so, that would be awesome, especially as you already have server for ROM Downloads!
[Xperia Z1 Compact Android Development] jho55:
Good to hear that you decided to use LOS Kernel with latest security patches. Is the "Full Stock camera hal" work lost when you switchto another kernel?
[Xperia Z1 Compact Android Development] munjeni:
No. Lineage os kernel is based on stock kernel so camera will work the same like on stock kernel.
[Xperia Z1 Compact Android Development] munjeni:
No, it will be possible when all bugs gets solved and lineage os oficial build starts! SuperLamic and other guys working hard to fix all bugs since los devs promissed oficial builds when all bugs gone. Curently I am not sure 100 percent, maybe I'm wrong!
[Xperia Z1 Compact Android Development] munjeni:
Did you do clean rom, wipe everything as per instruction? Did you used some mods? Restored backups or something? You must install rom apsolutly crear.

5g band, somebody reports its working but somebody reports not working. Probably you need to power off wifi, and change country region code in wifi settings, it will change/enable/disable wifi parameters! You can look for things using terminal emulator and command "iw list" to get which of the configurations you need, configurations is changed by selecting proper country region code.
[Xperia Z1 Compact Android Development] FaTlip82:
Charging on my phone works very very slowly.

It takes like several hours to charge it to 100% capacity.

If i turn the phone of, the display on batterycharge logo lights up automaticly permanently every time.

Also when the phone turned on and is on charge, display also lights up with no reason everytime.

Does anybody else have such an issue or its only me ? :)
[Xperia Z1 Compact Android Development] hackintosh5:
Just looked at the Contributors Page - [MENTION=4311238]SuperLamic[/MENTION] isn't there!!!

---------- Post added at 06:57 PM ---------- Previous post was at 06:51 PM ----------

Sounds like:

A) Stock Sony! The phone often takes a few hours to charge. How many hours exactly does it take now?

B) Faulty USB. Does the Noti.LED flicker/change. Take a video of Noti.LED with another phone/tablet and run it on fast forward:) Try with another USB. Also try looking in batt. stats. click on the graph and see how much your phone was asleep.
[Xperia Z1 Compact Android Development] munjeni:
https://github.com/SuperLamic/android_kernel_sony_msm8974/commits/cm-14.1
[Xperia Z1 Compact Android Development] munjeni:
Thats not a isue! You just need to disconnect usb when you powering on device, instead of that your phone goes to offline charge and thats a normal thing.
[Xperia Z1 Compact Android Development] xerioo:
Yes, I've followed every instruction and wiped everything. No mods, no backups (this is a replacement of a lost phone, just starting to use it from scratch). Installed only gapps, supersu and twrp, and some apps from playstore.

Where can I change the region code in wifi settings? I can't find any setting like this at the wifi section. If you mean the localization I've chosen Hungary at the beginning, but I hope it doesn't cause problems.

Now I've found another thing to mention: I've just used about 30% of the battery using the flash light, reading a book - battery went down from ~70% to 40% in about 1 hour. However in the battery statistics there's no clue of using the light at all :) the tasks' usage listed there give 27% all together, while 60% is missing.
[Xperia Z1 Compact Android Development] SuperLamic:
That's because I'm not an "official" contributor nor xz1(c) is an officially supported device. Besides I would be there under my real name that I use on Lineage gerrit.
[Xperia Z1 Compact Android Development] hackintosh5:
XZ1? You mean Z1(c).
[Xperia Z1 Compact Android Development] xerioo:
Good that you told this, because today I brought the phone with me and it works fine on the 5GHz office network. I didn't change any settings since because I coudn't find the ones munjeni suggested, but I did restart the phone a few times.

Here we use a similar Asus router to the one I have at home so I hope it will work there too.
[Xperia Z1 Compact Android Development] SuperLamic:
I mean Xperia z1(c). Sony made it confusing...
[Xperia Z1 Compact Android Development] munjeni:
Settings which you search...
[Xperia Z1 Compact Android Development] nhicko95:
are you planning on oreo build or are you building it? i want to test
[Xperia Z1 Compact Android Development] munjeni:
I'm on lineage 14.1 by now, got back device tree and curently investigation on camera on SuperLamic kernel which is broken, till after Ifix I will make new build and probably move to oreo, not prommising right now since I didn't find any big changes between oreo and previous api level, los 14.1 is the best curently in my opinion :)
[Xperia Z1 Compact Android Development] xerioo:
Thanks, now I got it :) at home I still couldn't see the 5GHz so started to change the region. At first I've tried the nearby zones (Europe, Germany), no luck. US and Canada brought in the 5GHz network, but took away the 2.4GHz one :( finally (for now) Russia+Japan is the setting that works with both channels, so this problem is solved :D

I've also fixed the brightness issue with the previous build as you wrote before (not only automatic, but also manual brightness was affected), so its getting better and better :o
[Xperia Z1 Compact Android Development] knv01:
With different country settings i can now connect to the 5Ghz too, but only at slower bit rates (86 Mbit) but OK, i would call it a "first world problem" :cyclops: the rom is awesome stable, fast and smooth.
[Xperia Z1 Compact Android Development] Maciek666:
Hello

Is it possible to run on this rom Arise Sound System
[Xperia Z1 Compact Android Development] s.t.a.r.s:
Hi, the rom is great, runs very smoothtly. Top :good:

I have only few things which I noticed...

brightness control (repaired with previous version)

3G LTE change, although only 3G is selected

new messages in threema are only displayed when you open the app. It seems the app goes in standby.

Have everything disabled, battery data traffic, data protection. Possible that is with other apps too ?!

maybe this has nothing to do with rom.

and munjeni many many thanks for your work :angel: :good:
[Xperia Z1 Compact Android Development] munjeni:
Don't know, you can try and let us know :)
[Xperia Z1 Compact Android Development] Nachtjacke99:
Great Job

Dear Munjeni,

thank you very much for the great job, the rom is nearly perfect :):):):)

But I have a little problem: If i open the camera and change to video-modus I get a problem. The screen get dark after 0,5 seconds. If I reopen the camera I have a picture for 0,5 seconds and after this the screen get dark again. If I can change the modus back to the foto-modus in the short time everything works correct again.

Is this a normal problem with this rom? Is is not possible to use the video-modus of the camera?

Thanky a lot for infomations and best regards

Joerg from Germany
[Xperia Z1 Compact Android Development] BEDAMATI MAHANAND:
good to hear that you have started again.

but why did you prefer nougat over oreo ?
[Xperia Z1 Compact Android Development] OberQuaker:
Servus,

i'm sorry, but i need some help and a little bit more detailed informations how to flash all necessary files.

Please see my comments for your how-to:

Unlock bootloader

- done (i think so, there was no error message during procedure)

download and install boot_cwm.img

- install where, how?

flash boot_cwm.img to boot partition

- what's the difference to install step above?

- is there a key combination to start a boot menu on phone to flash boot_cwm.img from external SD card?

- or start fastboot (vol. down + plug in USB cable) and flash via command line from PC?

- if yes, which commands does i need?

reboot phone

Till after next boot happen cwm will auto load. Do full wipe (wipe data factory reset)! Wipe userdata and data media storage

install ROM

Install SuperSU-v2.82-201705271822.zip

install open_gapps-arm-7.1-pico-20170831.zip

- flash all files in a row without reboot between?
[Xperia Z1 Compact Android Development] munjeni:
Servus,

i'm sorry, but i need some help and a little bit more detailed informations how to flash all necessary files.

Please see my comments for your how-to:

Unlock bootloader

- done (i think so, there was no error message during procedure)

Ok, done.

download and install boot_cwm.img

- install where, how?

Use fastboot. If you have question what mean fastboot please search xda.

flash boot_cwm.img to boot partition

- what's the difference to install step above?

- is there a key combination to start a boot menu on phone to flash boot_cwm.img from external SD card?

- or start fastboot (vol. down + plug in USB cable) and flash via command line from PC?

Yes.

- if yes, which commands does i need?

fastboot flash boot boot_cwm.img

reboot phone

Till after next boot happen cwm will auto load. Do full wipe (wipe data factory reset)! Wipe userdata and data media storage

install ROM

Install SuperSU-v2.82-201705271822.zip

install open_gapps-arm-7.1-pico-20170831.zip

- flash all files in a row without reboot between?

yes.
[Xperia Z1 Compact Android Development] munjeni:
I'm believing there is not much diferencie, right?
[Xperia Z1 Compact Android Development] munjeni:
Which mods you have installed? Did you changed kernel? If you changed kernel e.g. used lineage kernel, yes that kernel have hardware overlays broken and cause a need for enabling "disable hardware overlays" and use only gpu rendering which consume much more energy than hardware overlays. I can suggest you to use clean rom, without any mods, and installation as per instructions!
[Xperia Z1 Compact Android Development] OberQuaker:
Ok, in CWM i can choose "wipe data/factory reset". Where can i find "Wipe userdata and data media storage"?

I only can see "wipe cache partition". Is it the same?

Or do you mean "mount and storage ⇒ format /system"?

Edit: I did both wipes and also format/system and flashed all files.

Device is running very smooth. Seems that there's a little isse with brightness settings. The slider does cover only two graduations and automatic mode does set brightness always to maximum level.
[Xperia Z1 Compact Android Development] scandinavian_armor:
nice work!

thank you for this update on our z1 compact! Its been a long time since I visited xda and i've given up on my z1 compact(the battery is beginning to bloat). but seeing this rom with a very good camera with almost bug free, my phone is alive again.
[Xperia Z1 Compact Android Development] Maciek666:
The case looks like, everything is nice to install, driver, status and all the rest is ok, unfortunately the V4A

* It does not process sound It seems to be related to selinux, which must be set to premissive.
[Xperia Z1 Compact Android Development] munjeni:
You need to wipe data including media storage, its under mounts menu. About liblights just read some pages back, somebody allready asked about that and I have explainned what need to be done
[Xperia Z1 Compact Android Development] BEDAMATI MAHANAND:
:D :D :D
[Xperia Z1 Compact Android Development] munjeni:
New build is out! Sorry for previous build and broken liblights and fm radio, now its ok. One thing to mention, I have fixed lineage kernel hardware overlays, it was only reason why I didn't used that kernel, now its finaly ok and I we are using that kernel right now! Have all security patches which is another very important thing. Enjoy! Next build will contain aroma installer so you will be able to chose between selinux mode. I must contact devs and reguest bugs list, hope we fix all and finaly get oficial builds!
[Xperia Z1 Compact Android Development] Frunzdoedel:
Someone got the newest build to boot up?
[Xperia Z1 Compact Android Development] hackintosh5:
Dirty Update

Is it possible to do a dirty/in-place upgrade?

I hope so, it will speed things up a lot :)
[Xperia Z1 Compact Android Development] s.t.a.r.s:
Yes, so far everything is OK :good:

Restore data with twrp too
[Xperia Z1 Compact Android Development] hackintosh5:
Tried the flash without wipe first, and it worked!
[Xperia Z1 Compact Android Development] Maciek602:
Can't boot the newest build. I flashed the ROM with full wipe.

[MENTION=309187]edit[/MENTION]

Dirt flash over previous build didn't work too. :/

I believe this is kernel related problem since I can't even get ADB to work.
[Xperia Z1 Compact Android Development] airman1951:
No way to boot the newest build for me too, neither with dirty nor clean flash. It stays to lineage logo indefinitely.
[Xperia Z1 Compact Android Development] alf-endy:
Everything is fine so far. TWRP-3.1.0-0 and full wipe.
[Xperia Z1 Compact Android Development] SSi91:
Installed the firmware. Cleaning was not done. Excellent established with encryption enabled phone. While bugs did not notice. I used your TWRP.

Thank you for your work. Greetings from Russia =)

P.S. Sorry for my english.