yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] dmgZero:
I have same baseband: 8974-AAAAANAZQ-10270086-81. FM doesnt work.

Where we can see the rest info?:confused:
[Xperia Z1 Compact Android Development] munjeni:
When you run xflasher with loader.sin only, xflasher log seccond packet describes the rest :)

xflasher.exe loader.sin 0 0 0FCE ADDE 0 0
[Xperia Z1 Compact Android Development] munjeni:
Not a good way :)
[Xperia Z1 Compact Android Development] sugnuf:
I know, but at least it start :) and as i said before - not big deal for me.
[Xperia Z1 Compact Android Development] olli0371:
Hi,

just for testing i wanted to go back to the built from 30.9.2017. The installation went fine but after final reboot the phone is stucked in boot animation. Even my old backup does not boot any more (Selinux was always set to enforce like the standard setting in aroma installer).

Now i tried the built from 13.10.2017 with disabled selinux in aroma and it finally boots. What happen here ? How can i install the 30.9.2017 Rom with selinux enabled like i always did before ?

Oliver
[Xperia Z1 Compact Android Development] dmgZero:
flash this through flashtool

https://xdaforums.com/showpost.php?p=73917493&postcount=380
[Xperia Z1 Compact Android Development] olli0371:
Oh. I found this already but it didn't help.
[Xperia Z1 Compact Android Development] r100:
20171018 still working very well here, it's stable and it's fast:)

Has anyone already tried Firefox Focus on this phone? I was surprised how well it works, and how efficiently it uses the available hardware, it's just way faster than any other browser I've tried so far.

/secretmozillamarketingcampaign

[MENTION=4120742]munjeni[/MENTION]: now that most bugs are fixed, are you interested in adreno idler? And would freedreno be useful as well to provide support for OpenGL 3.1? I'm not an expert, so these are just honest questions ;)
[Xperia Z1 Compact Android Development] BEDAMATI MAHANAND:
1>i want to dirty flash this rom.can anyone tell me how?

2>whenever i flash the twrp.img using flashtool i can only go to the recovery menu,mobile doesnot boot into system.why ?
[Xperia Z1 Compact Android Development] zlata:
With twrp.img you boot to recovery. From there you can install the rom. Dirty flash is not recomendet for first instalation.
[Xperia Z1 Compact Android Development] hackintosh5:
Correction: according to munjeni, dirty is not possible for first installation. If you dirty flash, chances are it will not work. Also, was mentioned earlier in the thread, meaning you haven't read about what you are installing. Please read thread BEFORE, not after, you flash. As it is, you have already installed twrp, so there is no going back.
[Xperia Z1 Compact Android Development] BEDAMATI MAHANAND:
i am on 7th oct build.so this is not my first installation.

can you please tell me the procedure to dirty flash?

after flashing the twrp.img,do the app and data get removed?
[Xperia Z1 Compact Android Development] hackintosh5:
1. Twrp.img will not change userdata. It doesn't touch system either, only boot OR recovery. You want to be flashing to recovery, as this isn't your first install.

2. To access twrp without flashing twrp.img, hold a volume button during start of boot, while noti. Led is pink.

3. To clean flash, just flash zip.

4. To dirty install, open zip with 7-zip. Comment out only line of wipe.sh. USE NP++. Notepad WON'T work. Save file. 7-zip will ask to edit archive. Let it. It will get stuk around 60%, wait for it. Close 7-zip. Open archive with other zip manager and verify change. VERIFICATION IS IMPORTANT. Copy zip to phone and flash using part 2.

5. Make a twrp backup! ALWAYS!!!

EDIT: And please, read this thread regularly/subscribe!
[Xperia Z1 Compact Android Development] BEDAMATI MAHANAND:
how to comment?? :confused:
[Xperia Z1 Compact Android Development] hackintosh5:
What do you mean?
[Xperia Z1 Compact Android Development] BEDAMATI MAHANAND:
which file should i open and comment the wipe.sh?

and what is the command to comment?

EDIT-i will open the updater script.

do i need to comment that particular line?(run_program("/tmp/wipe.sh");)

to comment shall i use the format (/*----------*/)?
[Xperia Z1 Compact Android Development] vildevilde:
This is how munjeni described the action earlier in this this thread, i't s a little different way to skip the wipe, that's how I do it! The same script to change although.
[Xperia Z1 Compact Android Development] hackintosh5:
Please see my PM
[Xperia Z1 Compact Android Development] skystar_:
hi all,

Guys i would like to install this rom. Could you tell me what isnt working at this moment? I saw there is some problems with FM radio - for me its ok, i dont need this. Is there something else what i should know before installation?
[Xperia Z1 Compact Android Development] BEDAMATI MAHANAND:
thank u
[Xperia Z1 Compact Android Development] ra9na:
For me the ROM is my daily driver. I have no issues what so ever.
[Xperia Z1 Compact Android Development] munjeni:
Can you check if you have the same baseband and bootloader, for me fm is working on the folowing:

C:\Users\homepc\Desktop\a>fastboot getvar version-bootloader
version-bootloader: 1270-3115 S1_Boot_MSM8974_Rhine1.2_LA1.04_19
finished. total time: 0.020s

C:\Users\homepc\Desktop\a>fastboot getvar version-baseband
version-baseband: 1272-6084_14.6.A.1.236
finished. total time: -0.000s
[Xperia Z1 Compact Android Development] vildevilde:
My fm is not working either, (I don't use it) but for information my output of above is: (and remember I have not a clean installation, dirty flash the last two times). But maybe the info can be of some interest anyway?

version-bootloader: 1270-3115 S1_Boot_MSM8974_Rhine1.3_LA1.04_11

version-baseband: 1272-6084_14.6.A.1.236
[Xperia Z1 Compact Android Development] hackintosh5:
I will make backup and clean flash, no access to pc to test versions, but my fm is broken.

EDIT: No I won't, at least not this week.
[Xperia Z1 Compact Android Development] olli0371:
Hi, I always did clean flash and the FM didn't work on latest version.
[Xperia Z1 Compact Android Development] vildevilde:
Today I did a complete new clean installation including the twrp.img from this thread. (Did not install gapps, I never do)Same problem with FM.

Starting FM without earphones and then connect earphones, the app will not see the connected earphones.

Starting FM with earphones connected the app first indicate that there are earphones and it looks ok but then after a few seconds the earphone indicator get grey and fm tells that fm stops.

Tested with three different earphones.

Edit: Got back to backed up 20171002 version, fm works without problem.

Going back to latest backed up installation.
[Xperia Z1 Compact Android Development] munjeni:
Don't know why fm is not working for you but for me on:

version-bootloader: 1270-3115 S1_Boot_MSM8974_Rhine1.2_LA1.04_19

version-baseband: 1272-6084_14.6.A.1.236

and original sony headset which come with phone fm is working for me :) I'm building oreo and I have done some changes to fm service and fm script, in case it gets working I will update nougat build, not promissing when it will be! Oreo curently can't boot and lot of work is done allready on oreo, tommorow I will know status of the oreo, hope it boot, first build was not boot, hope seccond one will go finaly. One bad thing two days ogo happened on my development z1c (seccond one with broken touch screen), I lost one uart pin so unable to connect to rt209f to get boot loop log :(:(:(
[Xperia Z1 Compact Android Development] vildevilde:
Sorry about your broken phone. I personally don't care about Fm radio, I did today's test installation(s) only to check and maybe be to some help. Looking forward to test your oreo build if /when you make it working.
[Xperia Z1 Compact Android Development] hackintosh5:
I can test, not using phone much and lots of room for NANDroids. [MENTION=4120742]munjeni[/MENTION] please can I test!?

---------- Post added at 07:39 PM ---------- Previous post was at 07:38 PM ----------

I can test, not using phone much and lots of room for NANDroids. [MENTION=4120742]munjeni[/MENTION] please can I test!?
[Xperia Z1 Compact Android Development] Mario545:
I already had FM issues with CM12.1, exactly how you have described it. Too bad that this build now suffers from the same issues according to your reports, I can understand your frustration. And as far as I can see, this will never be fixed. The author claims on his website "I'm intended to make perfectly bug free rom!", but I think this is a misleading formulation. You cannot really have the intention to make a bug free rom and then quit it after only three month. He is switching to Oreo now which of course will bring its own issues which need to be fixed. Then after another three month and ~80% of fixed bugs, he will switch to Pancake or whatever and this way he will never reach a stable build ever. Google is too fast for us, we will be too busy to integrate all the changes made by Google before we can actually deliver a bug-free custom build. I have been using and working with custom builds for years now and the only truly stable version was stock ROM. CyanogenMod, despite being very recent, was pretty much a failure for my phone. GPS never actually worked for longer than a few hours, then it stuck. Very funny if you are in a car. FM radio rarely worked. Of course stock ROM is outdated by a lot but on the other side it has had time to mature and things just worked.

I think this is a general issue of custom ROMs, people rarely want to go the path of fixing the last remaining, possibly stubborn and frustrating bugs, when it is so much more fun to work on the latest features introduced by Google. And that's ok, the developers owe us nothing and it's more like a hobby for them. And it's actually amazing that they share their results with us and give assistance and respond to users feedback.

But I think one should not throw sand into the users eyes by claiming one plans to make a "bug-free" rom. It's not going to happen with custom ROMs. Not in this world.
[Xperia Z1 Compact Android Development] hackintosh5:
I disagree, as Fm Radio is only bug, other than hce, and we did find workaround for FM. If you want working FM, you will have to forfeit KRACK patches, but you will have a bug fixed!
[Xperia Z1 Compact Android Development] Ramon españa:
Anyone can upload above compilation that works fine fm radio please?

How do you change the boot to have the same as munjeni? Can we make the camera record at 1080p 60 fps?

Thank you very much munjeni for the rom!i love it
[Xperia Z1 Compact Android Development] hackintosh5:
Download second latest version from his linked website.

What do you mean same boot? Boot.img? Boot.img is changed to superlamic's one by default. This is the same one munjeni is using.

AFAIK stock camera doesn't do that, so I imagine it Is a hardware limitation.

I found a bug. On the camera preview, low light mode doesn't kick in till you press take (or record). In the actual picture or video it is fine!
[Xperia Z1 Compact Android Development] Ramon españa:
\Users\homepc\Desktop\a>fastboot getvar version-bootloader

version-bootloader: 1270-3115 S1_Boot_MSM8974_Rhine1.2_LA1.04_19

finished. total time: 0.020s

C:\Users\homepc\Desktop\a>fastboot getvar version-baseband

version-baseband: 1272-6084_14.6.A.1.236

finished. total time: -0.000s
[Xperia Z1 Compact Android Development] hackintosh5:
You want to update bootloader and baseband? Google it. I don't know how. It is a very risky process
[Xperia Z1 Compact Android Development] munjeni:
For everybody on latest build here is update http://munjeni.myiphost.com/fm_update.zip this fixes fm (hope). For me its working with this update or without this update.
[Xperia Z1 Compact Android Development] vildevilde:
Now my radio is working but I couldn't find a way to switch of the app so I had to reboot, probably I'm stupid.
[Xperia Z1 Compact Android Development] hackintosh5:
Thanks! Two questions: is this zip an update or a patch? Does it wipe userdata?
[Xperia Z1 Compact Android Development] munjeni:
Doesn't wipe anything, its update for test! I'm updated latest rom on my site too and going to delete this update zip after 2 days to prevent users use it on old roms, this is for latest rom only.
[Xperia Z1 Compact Android Development] munjeni:
There is power icon at top left corner of the fm app, when you click on it fm music stops, that simple press cube button at the bottom right corner of the global android control menu (3 buttons menu) and kill app by swiping app to the left or right :)
[Xperia Z1 Compact Android Development] Mario545:
One question: Is it safe to delete the opengapps file inside the .zip before flashing or will this go wrong? I don't want gapps and ideally I want to not have them installed in the first place.
[Xperia Z1 Compact Android Development] munjeni:
No need to delete, just chose "not install gapps"
[Xperia Z1 Compact Android Development] einfachgaer:
Can confirm, FM Radio working after applying newest update to the latest build.

I wiped everything except sdcard and tested without update -> no working FM.

After update its working!

Edit: Also "working" without headphones plugged in, but without signal because the cord is the antenna.
[Xperia Z1 Compact Android Development] vildevilde:
Mistake, dubel post :(
[Xperia Z1 Compact Android Development] hackintosh5:
They won't install unless you tell them to, but to speed up install you can remove zip, but if you try to install gapps whole installer will crash.

---------- Post added at 07:18 PM ---------- Previous post was at 07:17 PM ----------

@munjeni with FM patch applied, when I connect wire but no headset, after a while it starts FM Radio anyway, but no sound.
[Xperia Z1 Compact Android Development] munjeni:
Mixerpaths.xml is outdated, I have no skils to modify it, but for sure it need update, an expert in sound development is need for correct and update sound routing and fix fm volume control which I'm believing is caused by wrong audio route, I can't fix that sorry! :(
[Xperia Z1 Compact Android Development] dmgZero:
[MENTION=4120742]munjeni[/MENTION]

Does FM-patch require selinux permissive?
[Xperia Z1 Compact Android Development] hackintosh5:
It has an aroma installer, it will ask.

[MENTION=4120742]munjeni[/MENTION], it I'd not the audio, FM Radio is seeing a headset when there is only a wire!
[Xperia Z1 Compact Android Development] munjeni:
I have told about mixerpaths.xml. I have no that skills to be able modify mixer paths, it need somebody with that skils! Does your headset working with music app? If yes thats indication definitelly for outdated mixer paths.
[Xperia Z1 Compact Android Development] munjeni:
No. I'm using enforce and fm is working without problem.
[Xperia Z1 Compact Android Development] hackintosh5:
Made mistake. Bug WAS in mixer_paths (probably) FM Radio plays sound through headset even though only wire is available. Easily worked around by changing output to speaker.

---------- Post added at 12:23 PM ---------- Previous post was at 12:21 PM ----------

No works fine with just cord, but switch output to phone speaker. Even with only cord, sound still goes to headphones
[Xperia Z1 Compact Android Development] einfachgaer:
That's what I wrote didn't I?
[Xperia Z1 Compact Android Development] hackintosh5:
You said no signal because needs headset, i have signal without headset.
[Xperia Z1 Compact Android Development] esemef:
I've been trying to enable encryption too & not getting anywhere either. Not sure if lineage is broken or it's something missing in this build.

It would be nice to get it sorted.

I'm also not sure what TWRP to install

The recommended one here is 3.0.2, but 3.1.1 is out (https://androidfilehost.com/?fid=961840155545576055 for example)
[Xperia Z1 Compact Android Development] bananabytes:
I was able to do encryption on this build using these steps.

Flash TWRP in this thread. I didn't know about the new version but that might solve some problems too.

Reboot to bootloader mode and run "flashboot erase userdata". This seems to change the ext4 userdata partition into an fs2s partition that the rom plays more nicely with. I was not able to get anywhere just partitioning within TWRP, fs2s or not.

Now flash the rom and do everything as normal. Set a password (not a pin) for lockscreen. Don't know if this has anything to do with it but I'm just saying the exact steps that worked for me.

Now encryption should work. If it seems to get stuck or bootloop reboot and it may be encrypted anyway.

It took me many tries to get this working so I hope this works for you. I don't know if I could recreate it or what was the key to the process. I did notice that TWRP now respected the encrypted partition by asking for the password on boot, where before it just couldn't mount it at all so there may be something about the 3.0.2 in this thread vs one you can find elsewhere. But I would love to confirm if the new TWRP helps things. I still have the feeling that the old TWRP is not playing nicely with partitions and this build is running into selinux issues due to it.
[Xperia Z1 Compact Android Development] esemef:
I used with 3.1.1-0 from Micha-Btz (because I'm obsessed with newer). I did the "fastboot erase userdata" and got a load of errors when installing lineage 18th October, fm_update & the opengapps from 29th October as they can't mount /data. The phone was able to boot, so it must have created the /data partition while booting, encryption went through and asked me for my password after it rebooted. This time it was able to boot up.

But I don't seem to be able to get the camera or torch working now though. It only seems to work if I have /data set to ext4.

EDIT: I switched back to TWRP 302 and installed everything, did a backup before the first boot and checked the camera worked. Then deleted the userdata partition and restored all the other partitions. That seems to have the camera and encryption work. I'll see if I can figure out which of these steps made a difference.
[Xperia Z1 Compact Android Development] hackintosh5:
Found a bug: while calling someone, speakerphone status in notification doesn't update until you turn the screen on and off again. Using google phone (play store, not opengapps)
[Xperia Z1 Compact Android Development] hackintosh5:
[MENTION=4120742]munjeni[/MENTION] how to collect last kmesg from live system? Device randomly rebooted straight to los loading sign. No option to entry recovery
[Xperia Z1 Compact Android Development] munjeni:
Hi, what you have done to make it crash? How to get last_kmsg - you must be ready to connect usb cable while keeping volumeup button so your device go into fastboot mode, than (fastboot boot twrp.img) so device will boot twrp temporary so you can connect adb and catch /proc/last_kmsg . Do in mind, when kernel crash it write last_kmsg to be available on next boot, if you booted something twice last_kmsg gone! So to be able to dump last_kmsg you must have next boot suced! But please don't post last_kmsg in case you done something wrong! I'm on this rom for a long and never had any reboot, so I'm believing that you have mised something, sorry if I'm wrong!
[Xperia Z1 Compact Android Development] hackintosh5:
Probably a fault by me. It was dirty flash, and first time, i just want to know if it is hardware issue... Definitely not bug with ROM! I have not rebooted since!
[Xperia Z1 Compact Android Development] munjeni:
Repair your phone with and ftf, just sugestion
[Xperia Z1 Compact Android Development] NeoAqr:
Sorry if this sounds stupid but, I see [Stock Kernel] and I'm currently using z1 compact with locked bootloader and bootloader unlock allow = no. so is there any chance I could install this rom? thank you.

---------- Post added at 04:10 PM ---------- Previous post was at 04:06 PM ----------

Okay I just figured it out. this rom requires unlocked bootloader. sorry
[Xperia Z1 Compact Android Development] hackintosh5:
Kmsg suggests it was batt. Issue
[Xperia Z1 Compact Android Development] munjeni:
oh mate I had similar problem on my z1c 2 years ago. Phone was reboot with no known reason and can't power up, problem was battery. I have new battery (see some pages back if you need to buy) and my phone is like new one with new battery, very satisfied! It cost only 10 dolars :p
[Xperia Z1 Compact Android Development] hackintosh5:
Powered up fine with no need for power key, suggests underpowering. My raspberry pi computer does that. I will buy a new phone, as this is getting very old, but I promise to keep testing!
[Xperia Z1 Compact Android Development] jho55:
Few days ago I also need to replace my battery. I bought a new battery, replacement tools and new glue for 25,- Euros in total. And I have now NFC disabled. ;) Too lazy to put it backon the battery and I never used it.
[Xperia Z1 Compact Android Development] munjeni:
Oreo status. Got boot animation finaly and kernel + android log. Boot loop currently but hope I get free time to continue in oreo. My wifi router is dead, so I have only adsl modem, have no free time right now working in oreo without wifi connection, currently I'm wasting time with trying bring up wifi soft ap on my dreambox and in same time configuring dnsmasq as a private dns server also inside dreambox for blocking Samsung update on my smart tv which is rooted and in case it get somehow update from Samsung root will lost by auto firmware udate which I no want to happen :( Must buy wifi router soon since dreambox can't be configured as a wifi soft ap :mad: . Researching whole day for buying fully openwrt compatible router which also have adsl modem support, currently didn't found it :( Had d-link dsl2740b with my own firmware, built from source, fully customisable, now need buy something similar... just sharing what I'm doing these 2 day in spare time :D If somebody have idea which one I can buy let me know please (fully openwrt compatible wifi+adsl router, with working adsl+wifi in openwrt firmware)!
[Xperia Z1 Compact Android Development] funiewski:
Really not router expert but I've been fooling around with wrt, tomato and so on. The best router I've been used is ubiquiti router with ap points
[Xperia Z1 Compact Android Development] munjeni:
Ubiquiti, which model?
[Xperia Z1 Compact Android Development] funiewski:
I've edgerouter x
[Xperia Z1 Compact Android Development] r100:
FYI, OpenWRT evolved into LEDE, but maybe you already knew that :)

In my experience AVM FritzBox works very well for ADSL/VDSL, based on the search, the 7360SL could be an option.
[Xperia Z1 Compact Android Development] munjeni:
Wow! Ideal! Excatly what I'msearching for!! Thanks a lot for this!
[Xperia Z1 Compact Android Development] munjeni:
Ordered Fritz! Box Fon WLAN 7360 SL MultiAnnex A B Router WiFi ;)
[Xperia Z1 Compact Android Development] Frunzdoedel:
Thanks for advertising german products.!
[Xperia Z1 Compact Android Development] munjeni:
Lineage 15.0_r1 dmesg -> https://pastebin.com/0fS5mfYg

Mediaextractor boot loop. When I execute mediaextrctor I'm getting this:

1|amami:/ # mediaextractor
mediaextractor
mediaextractor: libminijail[16216]: allowing syscall: clock_gettime
mediaextractor: libminijail[16216]: allowing syscall: connect
mediaextractor: libminijail[16216]: allowing syscall: fcntl64
mediaextractor: libminijail[16216]: allowing syscall: socket
mediaextractor: libminijail[16216]: allowing syscall: writev
mediaextractor: libminijail[16216]: prctl(PR_SET_NO_NEW_PRIVS): Invalid argument
libc: Fatal signal 6 (SIGABRT), code -6 in tid 16216 (mediaextractor)
Aborted

What might be the isue?
[Xperia Z1 Compact Android Development] munjeni:
Ah I see, its missing google seccomp and no new privs implementation :)
[Xperia Z1 Compact Android Development] vildevilde:
Excuse me but I can't help to comment this, first munjeni show us a log and ask a question about it and the n next replay munjeni gives the answer to the question!

Don't misunderstand me, I'm not complaining, I think it's fun and interesting, just visualise a problem on the forum and then you find the answer :good: :)
[Xperia Z1 Compact Android Development] hackintosh5:
[MENTION=4120742]munjeni[/MENTION] is there a separate thread for los15 yet? If so, i can't find it!