yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] hackintosh5:
Ok. I'll take a look. [MENTION=4120742]munjeni[/MENTION] do you know if this will work between android versions [MENTION=2109055]knolle[/MENTION] If you aren't scared (I would be) simply swap this file in (take a backup) (it may break your speaker and/or phone hardware). Tell us what happens!
[Xperia Z1 Compact Android Development] knolle:
sorry, that's my wife's cellphone. That could be trouble.
[Xperia Z1 Compact Android Development] hackintosh5:
Maybe [MENTION=4120742]munjeni[/MENTION] could help out with his phone with uart port.
[Xperia Z1 Compact Android Development] munjeni:
Booth is working. And battery discharging is much lower than on stock rom, I can say that for sure since this is my daily rom. Rom which I used daily before our rom is my privacy guard custom stock rom, I can say los is even better.

I'm tried stock rom mixer paths and compared it, not a much diferencie. Even not working with stock rom mixer paths. You need to look into somebody git in time when nougat started roling, e.g. xperia z, and to see what devs changed in mixer paths, do similar changes
[Xperia Z1 Compact Android Development] ruhrmolch:
Updates work?

About adaptive brightness i'm not sure, but its no big deal anyway. About the battery, what energy-mode do you use? In normal, its about a half day shorter, then with stock-rom.

I shall look into a android-devs git to see changes in mixer_path.xml? Is that microphone thing a nougat "feature" ?
[Xperia Z1 Compact Android Development] munjeni:
Updates not work since this is unoficial build. Adaptive brightness working, I have tested and fixed it two months ago. Battery optimisations didn't tested, probably by changing modes things starting into troible , can't say for sure since didn't using it. Battery depending on applications optimisations for nougat, e.g. you can't expect some old and jb compatible and outdated aps to work good on nougat, so maybe you have one of these apps runing on your phone which cause battery drain. For me, after I got new battery, I can say my phone stands up without charging for 3 days! Never had something like that on any rom. Microphone thing, don't know realy, we are on caf audio, last time when I compared changes on msm8974 and changes on earlier msm89xx I found that our audio source code is realy outdated, some work on it is need too as like some work on mixer parhs.
[Xperia Z1 Compact Android Development] ruhrmolch:
ok, thanks for your help so far. i will try to get some information on that microphone problem.
[Xperia Z1 Compact Android Development] Matra-PB:
Thanks for this great ROM, I like it! My Z1C got a new life with it! :)

Just a short question... Is it possible to remove some apps after flashing the ROM, e.g. FM Radio or Recorder, without any instability?

Thanks for the answer in advance.

And I am looking forward to seeing Linux on a Z1C! :)
[Xperia Z1 Compact Android Development] hackintosh5:
Yes, delete their folders from /system/app. DO NOT MODIFY priv-app.
[Xperia Z1 Compact Android Development] V-ctor:
Hi everyone. Does anybody know about call records, is it working in the latest version (lineage-14.1-20171018-munjeni-amami.zip)?
[Xperia Z1 Compact Android Development] hackintosh5:
Yes.
[Xperia Z1 Compact Android Development] DeadXperiance:
[MENTION=4120742]munjeni[/MENTION]

I am following your ta_poc also, you have used stock kernel in this rom; so I have a question. After unlock bootloader and flash of this rom your poc works?

Can we persists our camera quality as stock?
[Xperia Z1 Compact Android Development] hackintosh5:
If you read the title, it says [STOCK CAMERA HAL], aka stock camera, aka better camera than stock.
[Xperia Z1 Compact Android Development] munjeni:
Didn't tried and I'm unsure if poc have any sense on our rom. You can try and let us know!
[Xperia Z1 Compact Android Development] JIJOK:
[MENTION=4120742]munjeni[/MENTION] I hope not bother you, this is just a request to add. The app menu ( where all app are ) the old one was better ( personal taste ) because I prefer to organize apps as I want and not by alphabetical order, can add old menu ? Also liked more the old "close all app button" the little red circle. I know you are bussy with lot of stuff, but I can do that I ll apreciate :) anyway, thank you for the great ROM
[Xperia Z1 Compact Android Development] munjeni:
Hi, as this thread title say "final build" that mean I definitelly not going back to it . Source code used for nougat build is gone from my disk, only oreo by now is available and it's on my git, everybody can use and build/contribute :)
[Xperia Z1 Compact Android Development] 115ek:
You at least can change the drawer style by long pressing the home screen. I also don't like the alphabetical sorting.

Maybe that's not the thing you were looking for, but far better than nothing.

If you want more customizations you should think about installing another launcher :cool:
[Xperia Z1 Compact Android Development] 115ek:
[MENTION=4120742]munjeni[/MENTION] I really like that you uploaded your device tree of the lineage 15 branch. Do you still have the lineage 14 device tree? Can you upload it? If I've got some time I will try to support you and fix some things in the Oreo tree :)
[Xperia Z1 Compact Android Development] Ikesankom:
I use Call Recorder:

https://play.google.com/store/apps/details?id=com.appstar.callrecorder
[Xperia Z1 Compact Android Development] munjeni:
See previous post
[Xperia Z1 Compact Android Development] JIJOK:
I totally forgot about launchers, so spent some time searching and found the best one ( at least more like common xperia ) here https://xdaforums.com/crossdevice-dev/sony-themes-apps/app-xperia-home-10-0-0-40-t3369220 I got the com.sonymobile.home universal version, hope this help you

ABOUT ROM I dont get the little circle on whatsapp showing unread messages, it's just me or common ?
[Xperia Z1 Compact Android Development] hackintosh5:
That isnt aosp feature, try nova launcher prime +Teslaunread
[Xperia Z1 Compact Android Development] DeadXperiance:
I have installed on Z1C this rom yesterday. runs smooth, my phone can't connect with laptop in any mode(no mtp ,ppt ,data transfer). Only charging. Can't boot in recovery with volume up and down both tried.
[Xperia Z1 Compact Android Development] hackintosh5:
For usb files etc connect to pc with oem cable and press on the 'usb charging' notification
[Xperia Z1 Compact Android Development] clovk:
And you lost the recovery, reinstall it. Boot it into bootloader, turning the phone off and on, holding up or down, while plugging the cable in, can't remember exactly... :P
[Xperia Z1 Compact Android Development] hackintosh5:
Hold down, connect usb. That simple. I don't know how you can remove recovery, while it boots does the noti led go blue/yellow/pink? Also, in lineageos there is reboot recovery option in dev opts -> advanced restart.
[Xperia Z1 Compact Android Development] DeadXperiance:
I know and I have tried but nothing success.

Yes. led go blue/pink but when I push volume up or down it reboots SONY logo again and again, phone doesn't boot. but when I try to boot normally without push volume phone boots.

I will try after install recovery again and report.
[Xperia Z1 Compact Android Development] Hangman228:
Battery life

Little tips I found to increase battery life :

Under Settings/Location/Scanning disable Bluetooth scanning
[Xperia Z1 Compact Android Development] bananabytes:
Hi this is a question for the dev [MENTION=4120742]munjeni[/MENTION] . It looks like you are saying you deleted the source for this. What happens if there is a serious security breach between now and when you get Oreo working or if you can never get oreo working on this device? I am worried about the Spectre issue, I can't find any info if snapdragon in this device is susceptible but the patches went out in december I heard. I liked this rom because I was able to patch KRACK and the bluetooth issue right away. This is the only newer rom that works well on this device and I worry that it will be a long time before oreo is useable and I will have security issues again :( thanks in any case for this rom I appreciate it but it is just a question for people out there in the mean time. thanks
[Xperia Z1 Compact Android Development] nhicko95:
have you tried the munjeni oreo build? high temp fixed?
[Xperia Z1 Compact Android Development] hackintosh5:
Where to download.?
[Xperia Z1 Compact Android Development] munjeni:
Definitelly I will not update Nougat since I don't have source code right now to build it. Deleted Nougat device tree from my hard disk, to be honest I have converted Nougat device tree to Oreo and I can't get it back, a lot of changes. Oreo I will continue when it get a bit stable.
[Xperia Z1 Compact Android Development] munjeni:
Here is a thread https://xdaforums.com/sony-xperia-z1-compact/development/rom-t3718206
[Xperia Z1 Compact Android Development] spam1:
munjeni - great job. Thanks for that ROM.

Is there a way to send SMS to contacts group? I was such option in stock software - very comfortable because I need to send sms to groups a lot. It can be either from "contacts - group - send sms to this group" or from "messages - new message and then selecting one group" (or only some people from this group).

I was trying to find something, and found way to send separate sms to each person (not mms conversation).

But I can't find any way to select group when creating new sms. There are only frequent and all contacts.

I know I can install some app, but maybe there is way to do that in standard. I don't like to install something - more ads etc ;)

Thanks in advance
[Xperia Z1 Compact Android Development] DarknessSpactre:
Hello, installed ROM, everything works well, but there is one nuance that is annoying. Is it possible to include the network activity display or show the reception and return speed in the status bar? Sometimes it is not clear whether any activity is conducted on the network or not.
[Xperia Z1 Compact Android Development] levone1:
Xposed > GravityBox
[Xperia Z1 Compact Android Development] hackintosh5:
Use android messages from gapps/play store
[Xperia Z1 Compact Android Development] chirameto:
I have a bit difficulty connecting to wifi 5ghz.

If I inserted my sim card, I have to manually change wifi region every reboot in order for 5ghz to be found. It will stay connect till next shutdown or reboot.

If sim card not inserted, phone can always find 5ghz regardless of region or reboot.

I searched this long thread, didn't find any solution. Any suggestion?
[Xperia Z1 Compact Android Development] Matra-PB:
I have been using this rom for a month without any problem, but yesterday I could not turn the phone on. Booting, lineage logo shown, the blue circle goes from side to side without ending...

Did anyone have similar problem? What should I try first? Restore from recovery or flash the whole rom again?

Thanks in advance.
[Xperia Z1 Compact Android Development] DarknessSpactre:
Hello again, I found one bug during use. If you listen to music in headphones and change the volume of the ringtone (in settings), then the music will start playing through the speaker. Also, if you change the volume of notifications (in settings), the sound will return to the headset again.
[Xperia Z1 Compact Android Development] AreusShow:
Hello. This is really the latest version? There are no errors in the rom?
[Xperia Z1 Compact Android Development] hackintosh5:
I had same problem about 3 days before you. Reflash the twrp package, but disable wiping data, with method from either me or munjeni (search is a wonderful thing)
[Xperia Z1 Compact Android Development] Matra-PB:
Thanks.

Yes, you are right, if you know, what to search... ;)
[Xperia Z1 Compact Android Development] hackintosh5:
I was not saying "you should have searched first" because no one else had had this issue on this thread. I was just reminding to search for how to disable wiping data. You were absolutely right to ask about this, as it enables others to learn.
[Xperia Z1 Compact Android Development] Matra-PB:
I understood. Did not want to bother you. :)

But cannot find what you adviced...

Finally I flashed everithing again, but I am still in bootloop...
[Xperia Z1 Compact Android Development] DarknessSpactre:
Tell me, what is your battery consumption in the usually and in standby mode. In night without wi-fi and transfer data spent about 10%, and when connect the data, it spent almost 1% every minute. Is it so ROM consumes or is it time to change the battery? A smartphone is more than 3 years old.
[Xperia Z1 Compact Android Development] hackintosh5:
https://xdaforums.com/sony-xperia-z1-compact/development/rom-t3657384/post74016996

Also, I flashed boot.img again, but assumed that was unnecessary (fastboot). Try that.
[Xperia Z1 Compact Android Development] munjeni:
Battery for sure! I changed mine 2 months ago and to be honest this rom is much better than stock rom, much lover battery consuption!
[Xperia Z1 Compact Android Development] nhicko95:
Any update on lineage 15.1? Or some changes sir?
[Xperia Z1 Compact Android Development] DarknessSpactre:
And where did you order a new battery?
[Xperia Z1 Compact Android Development] jho55:
You can buy it at Amazon if it is available in your country. And I would advise you to also order a toolkit an new glue. You will find it when searching for the battery at Amazon. Other people have bought those stuff too.
[Xperia Z1 Compact Android Development] swissly:
Sounds like a great ROM, so for sure I have to try this! Already running TWRP, wiped everything but the ROM installer does fail. This is the log:

AROMA Installer version 2.70RC2
(c) 2013 by amarullz xda-developers

ROM Name : Unoficial LineageOS 14.1 Final 15.10.2017
ROM Version : 2.70RC2
ROM Author : munjeni
Device : Xperia Z1 Comapact D5503
Start at : Fri Jan 12 12:29:52 2018

Wipind old rom data...
unmount of /data failed; no such volume
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data: No such file or directory
about to run program [/tmp/wipe.sh] with 1 args
unmount of /data failed; no such volume
unmount of /system failed; no such volume
error: make_ext4fs: open: No such file or directory
longjmp botch.

Installer Error (Status 0)

End at : Fri Jan 12 12:29:52 2018

Did I wipe too much??

By the way, I cannot get into flashboot mode, the device just reboots to OS! :eek: Recovery however works...

Any ideas?

This is the output of fdisk:

Disk /dev/block/mmcblk0: 7944 MB, 7944011776 bytes
4 heads, 16 sectors/track, 242432 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 32 1023+ 0 Empty
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2 37 52 512 f0 Linux/PA-RISC boot
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3 33 36 128 f0 Linux/PA-RISC boot
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4 53 238592 7633280 5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5 65 320 8192 4a Unknown
/dev/block/mmcblk0p6 321 416 3072 83 Linux
/dev/block/mmcblk0p7 417 576 5120 70 Unknown
/dev/block/mmcblk0p8 577 832 8192 83 Linux
/dev/block/mmcblk0p9 833 1344 16384 48 Unknown
/dev/block/mmcblk0p10 1857 34624 1048576 83 Linux
/dev/block/mmcblk0p11 42625 108160 2097152 83 Linux
/dev/block/mmcblk0p12 34625 42624 256000 83 Linux
/dev/block/mmcblk0p13 1345 1856 16384 48 Unknown
/dev/block/mmcblk0p14 108161 238592 4173824 c Win95 FAT32 (LBA)
[Xperia Z1 Compact Android Development] Matra-PB:
Thanks. I will try it!
[Xperia Z1 Compact Android Development] munjeni:
Install recovery which I mentioned on my site!
[Xperia Z1 Compact Android Development] munjeni:
I have posted link on this thread, just try to find it some pages backward
[Xperia Z1 Compact Android Development] Matra-PB:
I flashed boot.img, what I found in #51post. When I press the power button, the phone vibrates, but after Sony logo the display goes off and black screen shown...

I have flashed the ROM again and also flashed apps_log.sin via flashtool, but no success, still bootloop... :(

Edit: I have restored the phone using EMMA, so no hardware problem...

I would like to return to Munjeni's ROM, but I do not know what caused the bootloop...

Any suggestion?
[Xperia Z1 Compact Android Development] swissly:
As I said, for some reason I cannot get into flashboot mode. I only get a black screen and a pink LED. I tried it through adb "adb reboot bootloader" and also with volume button. It does not work. The screen remains dark. What could be the issue?
[Xperia Z1 Compact Android Development] munjeni:
Might be missing fastboot driver. But for install fastboot driver you must do this https://www.maketecheasier.com/install-unsigned-drivers-windows10 . Before anything look into your windows device mannager to see if your driver have yellow triangle, or if is simple missing. I had also problem with missing fastboot driver on win10 and had problem getting right fastboot driver, don't ask me please for driver I don't have it on my hard disk and I didn't remember where I found it, know only that it was fastboot installer and I have found it on xda, thats all I can help.

Anyway if you can't get fastboot aanyway you can install recovery trought terminal emulator with command@

dd if=path_to_recovery/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

or to boot partition:

dd if=path_to_recovery/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
[Xperia Z1 Compact Android Development] swissly:
The driver is installed correctly. The S1 Fastboot device shows up correctly in device manager without yellow triangle.

But when I launch flashing it hangs at <waiting for device>.
[Xperia Z1 Compact Android Development] munjeni:
In that case you have an old fastboot aplication, try change it for newer one
[Xperia Z1 Compact Android Development] DarknessSpactre:
A week of use revealed some errors:

1) The configuration of the USB configuration does not work (the settings are for developers).

2) No service menu (as on other ROMs)

3) Glitches when the sound from the headphones goes to the external speaker and vice versa, when you change the volume of the ringtone and notifications in the sound settings

4) The camera button does not always work

5) About nfs and exporting to the sim, indicated on the site ROM (this is the problem of the whole ROM N)

It is sad that more this rum will not develop and be supported. After fixing at least half of the bugs - it would be a stable and full ROM. I do not think that everything will work on Oreo, as well as on the subsequent versions of androda. It would be worthwhile to bring a mind of one version of the new android, but still thank for the work done.
[Xperia Z1 Compact Android Development] AreusShow:
rom

Yes ,you are right .I would like a stable rom:)
[Xperia Z1 Compact Android Development] hackintosh5:
[MENTION=4120742]munjeni[/MENTION] did u ever open source that device tree for 7.1?
[Xperia Z1 Compact Android Development] munjeni:
Last post on page 109, and some pages bacward too...
[Xperia Z1 Compact Android Development] swissly:
I tried another PC and there I get a connection to the phone. However I still think there is something wrong with the partitions on my device. How can I fix the partitions?

C:\adb\>fastboot flash recovery twrp.img
target didn't report max-download-size
sending 'recovery' (15'096 KB)...
(bootloader) USB download speed was 20861kB/s
OKAY [ 0.770s]
writing 'recovery'...
(bootloader) Download buffer format: boot IMG
(bootloader) Flash of partition 'recovery' requested
FAILED (remote: partition not found)
finished. total time: 0.811s
[Xperia Z1 Compact Android Development] munjeni:
Yes probably! Reflash your phone with Sony pc companion software
[Xperia Z1 Compact Android Development] swissly:
Companion says: Bootloader unlocked: Xperia Companion cannot update this device because the bootloader has been unlocked! :(:crying::eek:

What now? :crying:

Is there some way of low level flashing, byte by byte from a disk image or similar?
[Xperia Z1 Compact Android Development] funiewski:
Try to use Emma instead
[Xperia Z1 Compact Android Development] swissly:
Emma is not happy either... :eek:
[Xperia Z1 Compact Android Development] funiewski:
Haven't following your posts so close, but it's your phone compatible with flashtool? If yes try to flash any old stock firmware

If this not work I'm out of ideas, guarantee left? Relock bootloader and try any Sony service center
[Xperia Z1 Compact Android Development] DeadXperiance:
use this command

fastboot flash boot twrp.img
[Xperia Z1 Compact Android Development] swissly:
I tried this. Flashing worked. But now the screen remains completely dark. Recovery does no longer work, screen remains black. I can still get into fastboot and download mode but the screen is always off. :eek::crying:

Is my device now completely bricked??
[Xperia Z1 Compact Android Development] funiewski:
Have you tried to flash stock boot.img after?
[Xperia Z1 Compact Android Development] swissly:
I am not sure how to get stock boot.img. I found these two here but I am not sure if they are ok...

https://androidfilehost.com/?fid=24052804347838707

https://androidfilehost.com/?fid=24052804347794263
[Xperia Z1 Compact Android Development] funiewski:
Sorry for being dumb, I should off course realized you have z1c. You can flash stock kernel with flashtool and any stock firmware, you can also relock your bootloader with flashtool and after try to use pc companion
[Xperia Z1 Compact Android Development] munjeni:
Use xflasher https://xdaforums.com/crossdevice-dev/sony/dev-xflasher-command-line-flasher-t2986634 , probably it will not work too as like emma. I'm believing that your usb driver is bad, or bad usb cable! There is apsolutly anything unrelated to your phone, hmm, maybe your phone usb jack is bad, have no idea realy. If anything not working try with somebody pc and somebody usb cable
[Xperia Z1 Compact Android Development] hackintosh5:
Try 'fastboot erase system/data/recovery/cache'. If any of them fail, fastboot format them.
[Xperia Z1 Compact Android Development] DeadXperiance:
Xperia Z1 Compact bl unlocked. don't have real recovery.

I flashed this rom with given process, phone boots normally. runs all stuffs. but can't boot in recovery. when I press vol down it shows SONY logo and reboot again and again SONY logo. can't boot in system, now I press power button it boots fine as normal. I flashed twrp.img again (and tried with boot_cwm.img too) now it boots in recovery but cant boot in system. I choose boot in system or bootloader it always boots in recovery. It can't boot normal.

any help here?
[Xperia Z1 Compact Android Development] levone1:
You need to use 'fastboot flash recovery... ' for recovery, and 'fastboot flash boot...' for kernel.
[Xperia Z1 Compact Android Development] swissly:
I would really like to try this. Can you tell me which commands I have to use in the bat file for the Z1 compact?

Cable, jack, driver and PC is ok, because I can flash to the boot partition. But as I said, the screen remains black after this...

Flashtool does not work, it ends with some error allocating memory... Relocking bootloader does not work, it says device has not been unlocked with flashtool.

Does not work, because it cannot find recovery partition.

See here: https://xdaforums.com/showpost.php?p=75217120&postcount=1124
[Xperia Z1 Compact Android Development] hackintosh5:
Which flashtool is this? Try Androxyde.
[Xperia Z1 Compact Android Development] levone1:
Did you already try stock flash with Flashtool?
[Xperia Z1 Compact Android Development] munjeni:
Don't know realy what you have done with your partitions, but in case you realy messed up your partitions you need to reflash an firmware for z1c (by your choice), download any firmware for z1c trought xperi firm, after download complete and xperifirm unpack it and create firmware folder, put xflasher to that firmware folder and double click it, an .bat file will be create which you need to double click. Before you double click .bat file put your phone into flash mode, thats it.
[Xperia Z1 Compact Android Development] hackintosh5:
I never new what xFlasher was, it seems it is like Androxyde flashtool without gui?