yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] BigBrother84:
Please someone help me :confused:

I would like to hide navigation bar by using app that edits build.prop unfortunately it says that build.prop is unable to find. (screenshot)

App:

https://play.google.com/store/apps/details?id=com.conena.navigation.bar.remover

I downloaded build.prop editor and add line with 2 spaces in the end:

qemu.hw.mainkeys=1

Nothing happened after reboot.

I used adb to remount system as rw using this command but nothing happened, when I tried to use app second time:

adb shell

su

mount -o rw,remount /system

Nothing...

Please help me I really want to use xda navigation gestures with hidden bar properly not that which causes problems with interface.

It's funny, because app worked on my xz1c with los16 without any tricks.

Edit: [MENTION=8074228]LuckyCorvin[/MENTION] really helped me to solve that problem! It's the file location - build.prop I was searching for is located in vendor partition. I had to edit it manually. Thanks :)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] other90:
Hello, any idea when you could announce being official LOS ROM? Is it a long way or it is around the corner? :)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Huybl0004:
Sir. My xz1 is sov36 cant unlock bootloader. So can i flash this rom?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] starvirus10:
The bootloader must be opened, installed twrp . without it it is very difficult if something goes wrong.try unlocking the bootloader first

Confirm bootloader status: YES if NO can be confirmed you cannot install twrp or make further modifications
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Gogentle97:
Can it enable 120hz screen rate in that ROM like the xzp did.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] JimKatsanos:
I don't think that you can, since this rom is based on stock and not on aosp(sodp)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] 7829hw:
I build this with latest source.

https://androidfilehost.com/?fid=4349826312261825325
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ku.3006:
can xz1 dsds ver use this rom bro?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] 7829hw:
Probably not but I'll try to build for dsds in a few days?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ku.3006:
nice to hear that bro :D hope your rom be out soon for dsds ver
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] 7829hw:
This for you;)

https://www.androidfilehost.com/?fid=8889791610682873440
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ku.3006:
tks u so much bro :D I'll try this

edit: this rom u build is so good :D tks u so so so much
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ivanmazepa:
Guys, how to make GPS work?

Not a single map picks it up.

(ok, 1st GPS start its about 10-30min)

It works in DevOly mode (GPS conf problem)

Random reboots (1 at 4-5 days)

Random frezzes

Can't assign default apps (reset after reboot)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ivanmazepa:
lil fixed prop and working GPS

Prop / GPS
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] stevenvww:
Looking forward to ds rom
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
build based on .80 is done. [MENTION=5110922]Rumzie[/MENTION] tested a previous one for me, but apparently there are some issues with headphones playback. want to check that out first.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] deadwest:
GApps problem

Hi, i've installed LOS succesfully, then flashed gapps and root support but neither appears to be working.

when I first booted the phone Android configuration greeted me saying that i should wait for finish my configuration but it never stopped to buffer and the forward button stayed grey. I forcefully stopped It, probably a mistake, I hope not too big, and then started play store. It starts with the logo in the center and a log in button below it but when I tap the button nothing happens. I've tried clearing data, cache, flashing again and flashing a different gapps package ( i started with nano, then tried pico). Plus, if I try to access the google account through the "accounts" section in the setting, it doesn't work either, nothing happens (something comes up on the screen for a brief instant but it's transparent, and has no effect on anything).

As for root access, it just isn't possible and there is no superSU app.

Everything else is a-ok, when I download apks and install them the apps work just fine, even though they lament the incomplete google play services.

the only problem is that I cant access my google account.

I'm probably making/have made a dumb mistake, right?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
with the los su add-on, you first have to enable the developer menu in settings, by tapping on "Build number" a few times in "About phone". Then, when you go " System " there is a new menu appearing called "Developer options". in there you can set " Root access" to either apps, adb or both. this will not automatically grant root access, but allows for apps to ask for it. Just below that you have "Manage root accesses", where you can also withdraw it again from apps if needed. The Los su add-on doesn't come with an extra app like SuperSU, instead it is integrated into the settings like that.

For gapps, try to start again from scratch and flash an older opengapps build. I had issues these last couple of days with my lilac with the more recent ones (haven't looked into why yet). i haven't confirmed this issue yet on my poplar, but a version definitely working on lilac is from 1st of June.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dcrin3:
how are you building it?

[MENTION=4063475]derf elot[/MENTION]

My build is not getting past the launch pad. What I'm I doing wrong? This is from your github here: https://github.com/derfelot/android_device_sony_poplar/tree/lineage-15.1

View attachment 4782947

Thanks.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
are you building 15.1 on purpose? haven't touched that in a couple of months now or so. but it looks like it cannot find the extracted proprietary files. did you run the extract script on a fw dump or on an existing los .zip?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dcrin3:
I was building 15.1 because 16.0 broke. I did run ./extract-files.sh(for both 15.1/16.0) , it runs, I see many lines(verbose), then it finishes but build still doesn't go that far. I will post more details from 16.0 build.

The extract was on a firmware dump NOT los zip.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dcrin3:
with lineage-16

So here is the snapshot after the grab, I think there is way to dump the result into a txt file.

I tried brunch poplar

Then I tried make -j12 bacon, of course after a make clean, . build/envsetup.sh, the works.

As you can see, the same result for both brunch and make bacon. I don't know what is missing, here is an error:

[ 99% 6517/6518] glob vendor/qcom/opensource/interfaces/wifi/supplicant/2.0/src
ninja: error: 'vendor/sony/poplar/proprietary/priv-app/SoundPhotoCamera-xxhdpi-release/SoundPhotoCamera-xxhdpi-release.apk', needed by '/home/dying_star/lineageos/repo/out/target/product/poplar/obj/APPS/SoundPhotoCamera-xxhdpi-release_intermediates/package.apk', missing and no known rule to make it
21:40:05 ninja failed with: exit status 1

YOU know what!!?? On my stock firmware flash, I've removed some stock bloat permanently. This could be why my ./extract isn't capturing all the necessary stuff. OMG! I might be onto something now. Time to flash .80... see where this takes me.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dcrin3:
# FFU
etc/firmware/ufs/01AD-483238553734333031414D5220202020-D003.bin|516309bb7438524b2e4555cc3dcd452d94ea1b92
etc/firmware/ufs/01CE-4B4C554347344A3145442D4230433120-0200.bin|e7f38785022e28539eb496865e10184faa3ab28a

Now this crap is causing some build issues. This is the real location:

G8342:/lib/firmware/ufs # ls
01AD-483238553734333031414D5220202020-D003.bin 01CE-4B4C554347344A3145442D4230433120-0200.bin

[ 99% 1240/1241] glob vendor/qcom/opensource/interfaces/wifi/1.0/src
ninja: error: 'vendor/sony/poplar/proprietary/etc/customization/modem/amss_fsg_poplar_a1_austria_volte_vowifi_tar.mbn', needed by '/home/dying_star/lineageos/repo/out/target/product/poplar/system/etc/customization/modem/amss_fsg_poplar_a1_austria_volte_vowifi_tar.mbn', missing and no known rule to make it
15:14:12 ninja failed with: exit status 1

Do we even need this volte.mbn files at all? I took them down off proprietary-files.txt but the UFS stuff is getting in the way.

Is Lineage even meant to work fully on XZ1, too much effort is required to get this working.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
yes that is the real location, but we move that file to vendor on purpose. 1) it makes more sense to have it there 2) the los extract scripts don't seem to handle anything but sbin/ from rootfs well iirc.

yes, those modem files are needed. for ims support anyway. we don't copy things that don't serve a purpose.

from the entry of the ufs fw, I assume you are building los16.0 again now. there should be no effort at all to get it building. please post your local manifest so I can have a look. also, make sure you don't sync vendor/sony/poplar again after extracting the files - the .mk's in there are not always kept up to date and a fresh sync would probably reset them again after the extract scripts generated them.

edit: I figured, it's probably easier if I just post my things here, than asking for yours. anyhow this is the local_manifest I use for poplar. I recommend you use TESTING branches for yoshino and common-treble, as we push updates there first:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<!-- SONY -->
<project name="cryptomilk/android_kernel_sony_msm8998" path="kernel/sony/msm8998" remote="github" revision="lineage-16.0" />

<project name="cryptomilk/android_device_sony_common-treble" path="device/sony/common-treble" remote="github" revision="TESTING" />
<project name="cryptomilk/android_device_sony_yoshino" path="device/sony/yoshino" remote="github" revision="TESTING" />

<!-- XZ1 -->
<project name="derfelot/android_device_sony_poplar" path="device/sony/poplar" remote="github" revision="lineage-16.0" />
<project name="derfelot/android_vendor_sony_poplar" path="vendor/sony/poplar" remote="github" revision="lineage-16.0" />

</manifest>

Then, the general steps to start the build should be

do a full repo sync

source build/envsetup.sh

got to device/sony/poplar/ and run

./extract-files.sh ~/android/system_dump_47.2.A.10.80/_poplar/

(this is where i dump the stock fw to)

croot

lunch lineage_poplar-userdebug

make -j7 bacon

profit

This is how i run my builds and never have any issues, either for lilac, poplar or poplar_dsds.

edit2: One more thing I forgot, if you use the TESTING branches, pick changes 242432 and 242433 from the los gerrit. We use the new los offline charger there.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dcrin3:
How exactly do you dump the firmware? You mean the folder Xperifirm downloads?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
you need 3 .sin's from stock for this: kernel, vendor and system. the files can be extracted using Unsin (here on xda, can be run in Linux with mono). the system and vendor files will give you ext4 images which you can loop mount. the kernel one gives you an .img which you can unpack with your favourite boot.img unpacker (I use AIK). you only need the ramdisk folder from this.

I then copy everything to a new folder, starting with the contents of ramdisk/, then the contents of system (overwriting/merging everything except the symlink of vendor, keeping the vendor dir from the ramdisk), then the contents of vendor should go into the vendor/ folder. you can then point the extract script to this dump.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dcrin3:
I've done it all, it's looking for that voLTE.mbn file. This is a US region firmware so there's a chance it doesn't have any other .mbns.

What now? I've literally done everything instructed in the previous posts.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dcrin3:
mislabling?

I've noticed there is a mislabel issue? amss_fsg_poplar_dsds vs no dsds.

On the right is the proprietary-files.txt file in device/sony/poplar.

One the left is the firmware dump folder.

I see dual sim is not supported yet. Thanks.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
Oh right, the fact that you are using a dsds device is crucial :)

It is supported, but I haven't released a build yet. So you should use these two repos instead:

https://github.com/derfelot/android_device_sony_poplar_dsds

https://github.com/derfelot/android_vendor_sony_poplar_dsds

Also, the device is called poplar_dsds for when you run lunch, so

lunch lineage_poplar_dsds-userdebug

edit: poplar and poplar_dsds need to live side-by-side. so put those to repos into poplar_dsds folder as such:

<!-- XZ1 dual -->
<project name="derfelot/android_device_sony_poplar_dsds" path="device/sony/poplar_dsds" remote="github" revision="lineage-16.0" />
<project name="derfelot/android_vendor_sony_poplar_dsds" path="vendor/sony/poplar_dsds" remote="github" revision="lineage-16.0" />

and of course go into device/sony/poplar_dsds to run the extract script.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dcrin3:
Sweet! After your last instructions I am able to finish a build, awesome.

Of course this is based on this firmware dump(47.2.A.10.80).

I have stock flashed, running, your instructions say to avoid certain .ta files, I only avoided userdata.sin. This flash should work right?

Thanks for your help.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
great. since you are already running .80, you don't have to do anything and you can flash it directly. those instructions are for when the next stock fw comes out to base the build on. flashing only those files from the new one will make sure you don't run into any compatibility issues.

I will pm you a link to a twrp I made specifically for dsds. since I have the single sim variant, I can't test whether this is necessary. I will release a dsds build soon (as well as an update for single sim devices based on .80 stock), but I was hoping to first get nfc to work. also, any feedback on the build would be nice.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] yuezhengbaizhi:
Now we have lineage is for xz1, is it possible to build sailfish os on top of it?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] ALEX88_XDA:
Hi people !!

There is no need for stock rom to run lineage 16, I've run carbon rom CR6.1 and installed it directly from this rom, but to install carbon rom we needed OEM image to flash before installing carbonrom CR6. 1. the bag to me is that I can not use the launcher pixel, it stops continuously!! When there will be updates to fix the problem with nfc, etc???
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Ice_Devil:
Running it on 10.62 for couple of weeks now. Lazy to try upgrading to 10.80 for the moment.

Much less battery consumption!

Much faster in many fields!

Feedback for Issues so far.

Weather widget. It worked for some days, then stopped. I tried Weather Provider from Play Store (by onlymash) and Openweathermap.org. Probably I messed up with API keys.

Sony stock camera app can save photos in SD card but I was able to use some of them after restarting the device. Saving in device storage works fine. Can't use 4K video recording.

Well done for the great job!
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] other90:
Hi, thanks for your effort! I'm looking for Lineageos to improve Privacy on my XZ1 stock Android Pie and this is the only one build I've found. Only one thing is keeping me from flashing (and losing Phone varranty) and it's not working NFC as it is stated in the first post. I use NFC for payments with local bank app. I ask people that flashed this rom: is NFC not working? Do you plan to add this feature and what exactly is a problem with adding this feature to Lineageos Rom? Thanks for any feedback.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
We haven't had the chance to look at NFC yet (it's not high on either of out priorities), but it's on the list. and no, it doesn't work right now. we can't get the stock driver to work and the one we used in O is deprecated now. not a general los issues, it's specific to this device. but we will add it.

I was going to upload a new build (and one for dsds) twice already, but some small things have crept up that I would like to be fixed first. it's on my to do list for this weekend now. I will now also sign the builds with devkeys. unfortunately, that means that everybody who has installed it already needs to wipe data when flashing the new one. but its a one time thing.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dcrin3:
my thoughts.

Sony G8342 a.k.a DualSim - unofficial - help from [MENTION=4063475]derf elot[/MENTION]

TWRP is homebuilt as well, thanks to [MENTION=4063475]derf elot[/MENTION]

-----------------------

OpenGapps pico, privacy guard was never enabled(the phone asked during first time setup).

WIFI

------

Wifi will not connect if ssid is hidden, as soon as I unhide ssid, boom connection acquired.

If I hide wifi after the connection it stays connected.

Cell

-----

1.) Holding down on 1(voicemail) on the dialer constantly asks me to pick a carrier despite tmobile slot 1 is selected.

-Prefered SIM for Mobile data=tmobile, Calls=tmobile, sms-messages=tmobile.

-Carrier services install from play store.

-Attempted voicemail call on the secondary sim, no joy as well.

-Cellular service is out cold, my 2nd sim is roaming but 1st never connects.

-Call some random 1-888-888-8888 number and call ends straight to dialer screen.

(Previous tab shows the attempted numbers)

-I notice the core app SIM toolkit comes and goes depending on 2nd sim connecting.

(The app is useful while trying to pay bills(using phone#) in another country(mpesa in kenya))

Camera

------

Works, options up to 4:3(19MP) are selectable in options menu under camera.

-1080p video works

-UHD video errors out.

GPS

-----

I was lucky to even get that going... after A-GPS reset, killing the app(gps status), GPS lock was achieved.

Very shaky gps operation/lock.

WIPE

-----

Since I wiped data in twrp, my swipe code stuck. So it works in both stock and los(lineageos) automagically.

-Fingerprint setup is straight forward, it works.

BLUETOOTH

---------

Connection works immediately, even played a song to a SONY:SRS-X3 speaker.

This is what I have gathered so far, the same twrp I flashed during stock stayed there, makes sense since only data is wiped.

Restoring to stock is a pain though... since it takes me wiping the device clean because twrp will restore from backups but

data on media causes SONY logo bootloop(just comes with the territory).

OS Speed is good, this phone's still got it.

This is all I have so far.

Here are the screenshots

--------------------------------
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
Thanks for testing. I I think will upload a build together with RC2 anyway. Do you have any boot logs (dmesg/logcat) you can provide me with?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dcrin3:
No. What are the instructions for me apply?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
RC2 released

I uploaded RC2. As mentioned before, I now signed the build with dev keys. This means that you cannot dirty flash it over RC1 unfortunately and a wipe of /data is required. Sorry for the inconvenience, but this is a one-time thing.

I now also uploaded a build for the dsds variant (G8342). Since I don't have a dsds to test, please report any issues you observe apart from the ones listed in the first post. Logs are needed for me to fix anything (preferably dmesg and logcat), so please do provide them. I also made 3 TWRP builds, a specific one for poplar, a specific one for poplar_dsds and a unified one. Please try the latter first and tell me if it works on a dsds device!
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Huracanych:
error 7
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dcrin3:
some thoughts.

These are my initial thoughts(twrp), I'll add more info concerning LOS later on this same thread.

My phone is G8342 aka Dual Sim. FYI: This is done on Stock OS *.80

For recovery: twrp-3.3.1-0-poplar-poplar_dsds.img

-Flashed fine

-Decryption successful

-A successful backup was done.

-Backup deleted fine

For recovery: twrp-3.3.1-0-poplar_dsds.img

-Flashed fine

-Decryption successful

-A successful backup was done.

-Backup deleted fine

For recovery: twrp-3.3.1-0-poplar.img

-Flashed fine

-Decryption successful

-A successful backup was done.

-Backup deleted fine

All versions of twrp here seem to work for me.

Again, I'll add more information about the actual OS when I wake. This was just a quick test.

--updates--

The same issues persist as my post earlier on this thread. https://xdaforums.com/showpost.php?p=79929466&postcount=64
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] yuezhengbaizhi:
What firmware should I flash before flashing rc2?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
Please see Post #3
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
Thanks for the feedback, looks like I still got to change something there.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] yuezhengbaizhi:
Okay thanks, hope NFC would be fixed soon because I need NFC to pay for the bus.

And would there be any possibility that I can flash the rom without flashing the firmware? I don't like to flash the phone with my computer, I used to just flash the zip with twrp on my xiaomi mi5, can't we just flash the zip for Sony devices?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] stevenvww:
Feedback：About G8342, RC2

Sim card 2 can't use mobile data .
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
can you please provide logs for me?

feel free to send a pm with a link as well if you don't want to post the link here.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] stevenvww:
how to take debug logs ?

I have send a pm to you. And I capture a log for you.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] yuezhengbaizhi:
Does it work if I flash the rom and flash the gsi? Because as far as I know gsi don't work for xz1, don't know why.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
you can try, but I'm not touching gsi's with a 10ft pole. why? because there is actually a lot of device specific things still in system for our device. project 'trouble' is a lie. supposedly, devices releasing with android q will be 'really' treble fully compliant this time around. I believe it when I see it.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] yuezhengbaizhi:
???I hope to get to Android Q with GSI however they don't work on stock rom

Btw how is the performance of lineage 16 on xz1? The same as stock or better than stock? (Benchmark ect)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
I've never really run stock on here, so I can't compare. I also don't do benchmarks, just use my gut feeling. with that, ROM is very smooth, especially now that powerhal is fixed with rc2.

maybe someone else can provide numbers.
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] yuezhengbaizhi:
okay. And can you plz build a twrp that can flash the .sin file directly to phone and flash the OEM.img directly to the oem partition?
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
Good news, looks like nfc is fixed. Should be in next release. :)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] yuezhengbaizhi:
Great!

Btw do you have any plans to make other rom for xz1 (RR, AEX and more)
[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] derf elot:
No plans, no. But I know someone working on Omni port for yoshino. so that is in the pipeline.