yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] cukierkas:
7-8 hours of sot, 2 days easy. Magic ;)

Ofcourse, no gaming. 4g,wifi, bt and location services are always on, 5 mail accounts, 2 of then push exchange. No need to have something better.

Only one thing is missing, picture in picture.
[OnePlus 3 & 3T Cross Device Development] [denser]:
New build of Sultan's Unofficial LineageOS 14.1 with custom kernel has landed here

Changelog:

latest upstream LineageOS changes;

OTA works since 2018.06.26 build is installed.
[OnePlus 3 & 3T Cross Device Development] tim071286:
Hey, thanks for the the build.

Would anybody be able to provide brief build steps so that other can continue to build based off Sultan's code?

Alternatively a link to a good guide?
[OnePlus 3 & 3T Cross Device Development] DroidFreak32:
Hey are you merging upstream caf tags in the kernel or using it as-is untouched?
[OnePlus 3 & 3T Cross Device Development] [denser]:
using it as-is untouched
[OnePlus 3 & 3T Cross Device Development] DroidFreak32:
You'd need a good internet connection as the lineage source is pretty big. And a Linux environment (VirtualBox not recommended).

You can follow this official guide till the "Download the source code" section. (Use cm-14.1 branch wherever required. not lineage-15.1)

After that, create a directory inside the folder where you've downloaded the sources

mkdir .repo/local_manifests

and paste this file inside there.

Now go back to the project folder and run

repo sync

again to download the device-specific source code.

After that to include sultan's patches,

run

./patcher/patcher.sh

Then continue following the guide from Turn on caching to speed up build

PS: You can also use [MENTION=5854483]akhilnarang[/MENTION] 's scripts to setup the android build environment in your system.
[OnePlus 3 & 3T Cross Device Development] tim071286:
Thanks so much for the information. I am going to give it a go.
[OnePlus 3 & 3T Cross Device Development] cukierkas:
Already migrated to latest oos5.0.3.

Just because my cars multimedia after previous update decided not to find the phone via USB cable :(
[OnePlus 3 & 3T Cross Device Development] [denser]:
let me know if someone faced such issue with new build.
[OnePlus 3 & 3T Cross Device Development] kimo9hero:
Hi guys, i followed every step of installation but when i reboot, it says me to restart phone cause my data is corrupt but the password is correct. Can someone tell me why? Where im wrong?
[OnePlus 3 & 3T Cross Device Development] himsin:
Deleted, wrong thread.
[OnePlus 3 & 3T Cross Device Development] moSess:
Is dirty flash ok? Coming from Sultans last, 5/14

Also, anyway I can see your github? Or your code?
[OnePlus 3 & 3T Cross Device Development] [denser]:
dirty flash is ok.

refer to local_manifest.xml file in first post of this thread to see github. I don't use any private source code modifications, just makes a builds with Sultan's sources and official LineageOS repo.

don't worry! no Moscow hand in it! :D
[OnePlus 3 & 3T Cross Device Development] Nexus-006:
Was coming from Sultans 14.1-20180514 and dirty flashed the Version 14.1-20180626 with no issiues so far.
[OnePlus 3 & 3T Cross Device Development] cukierkas:
0626 build works properly. Even with car play.

Lasted with stock 5.0.3 maybe 3 days. Everything is fine, but 5hours max of sot wasn't satisfied.

Regards, happy user.
[OnePlus 3 & 3T Cross Device Development] :
Two issues though can you help [MENTION=3916420][denser][/MENTION]

1. When the device is connected to TV there is too much flickering.

2. The lift up time for ambient display is too much slow.
[OnePlus 3 & 3T Cross Device Development] netmm:
can anyone upload the current version to another mirror maybe? DL speeds from that Russian site are horrible, like 20kb/s....
[OnePlus 3 & 3T Cross Device Development] [denser]:
https://github.com/den-ser/android_releases/releases/tag/release
[OnePlus 3 & 3T Cross Device Development] cukierkas:
Congrats on wining the game!
[OnePlus 3 & 3T Cross Device Development] tim071286:
You build for bacon too! Great work! Thanks
[OnePlus 3 & 3T Cross Device Development] [denser]:
Yes, I have these two devices in use: opo and op3.
[OnePlus 3 & 3T Cross Device Development] Method47:
So with the latest version of this ROM, am I unable to change my Device model name through build.prop AND adb shell commands? How would I go about changing it? Build.prop and adb commands don't work.

Best Regards,

Method
[OnePlus 3 & 3T Cross Device Development] LoneWanderer_97:
So you came from stock OOS 5.0.3? How did you downgrade from oreo to nougat on the 3/3t?
[OnePlus 3 & 3T Cross Device Development] moSess:
Reflashed a backup but my contacts could never sync so I never had the chance to dirty flash. Wiped clean and I must say I am happy someone continued this work. Thanks.
[OnePlus 3 & 3T Cross Device Development] cukierkas:
Unlock the bootloader, install twrp. Afterwards firmware (nougat, posted ot op) and the rom with gapps and magisk, if you wish to.
[OnePlus 3 & 3T Cross Device Development] grotesque02:
Sorry, can someone post me a screenshot with all DPI list this rom have?

Thanks!
[OnePlus 3 & 3T Cross Device Development] cukierkas:
Guys, if you need a little bit more juicier battery, you can use Pixel filter app, which makes the black grid on top to switch off some pixels to prolong screen time.

https://play.google.com/store/apps/details?id=screen.dimmer.pixelfilter
[OnePlus 3 & 3T Cross Device Development] pendragon666:
Turning of the screen will get you even more battery life
[OnePlus 3 & 3T Cross Device Development] cukierkas:
Indeed yes.

9hrs of sot, 2days of standby with bt and 4g +wifi.
[OnePlus 3 & 3T Cross Device Development] crazyninjah1992:
Anyone have issues with modded gcam with newest update? I searched and found few people had problems with screen freezing when turning it on and not able to use it until you restart phone....I couldn't find a solution but I noticed whenever I use the modded gcam this happens to me. Have been using the camera installed with the rom now. No problems.

And just a shout out thank you for supporting this ROM!!! It's absolutely the best ROM I have used.
[OnePlus 3 & 3T Cross Device Development] cukierkas:
No, no problems with gcam at all. Using this version, don't know if it's newest. https://drive.google.com/file/d/1RMSN4JY91O9TREQJp8UdZOx9q9Oaga4F/view?usp=drivesdk
[OnePlus 3 & 3T Cross Device Development] crazyninjah1992:
Well I originally had arnova version and had issues but I decided to try skulshady(the one you have there) and ya no more freezing. Have you ever had problems with focusing? Seems when I open the camera no matter which application it takes like 5 seconds to be able to focus..

I'll keep testing it.
[OnePlus 3 & 3T Cross Device Development] Mershl:
Hello all,

I've been using Sultans ROM for quite a while now and I do love it. Battery life + performance is perfect and my 3T just runs buttery smooth.

But I have one big issue that I can't get fixed. There are 2 situations where this occurs. After the 3T was connected to another bluetooth device and Spotify was used I will walk away from the bt device (car) and once I will wake up the phone (before unlock) Spotify will start playing through the phones speaker. It's also happening if I was listening to Spotify in the evening. Stoping the playback, locking the phone -> Spotify will start playing once I wake up the phone in the morning.

This is only happening on Sultans ROM / LineageOS 14.x. I've not experienced this on OxygenOS or other custom roms. Spotify has no specific Nougat problems listed in their issue tracker and I fear this may be a LineageOS feature that tries to continue playback after... a call/media interrupt/etc.? I've also seen this behaviour happening with Google Play Music so this may be a generic media play event.

I'd hope to get this issue fixed as this would upgrade this ROM to my personal perfect 3T ROM.
[OnePlus 3 & 3T Cross Device Development] xxxfuq:
is google pay working?
[OnePlus 3 & 3T Cross Device Development] RKBD:
with magisk
[OnePlus 3 & 3T Cross Device Development] pendragon666:
For me, after i disconnect bt headphones the audio player still pops up after i turn on the screen afterwards. I doesnt start playing, though.

Sadly, expect no fixes, this rom is eol
[OnePlus 3 & 3T Cross Device Development] Vazkii:
I have a question for the folks in this thread with knowledge of the ROM's internals. This is the only ROM I know of that has such incredible app memory management. Like I can use an app in the morning, and open it again at the end of the day and it's still loaded.

My question is, how? And more importantly, can said efficiency be replicated in Oreo ROMs by a user with a kernel management app?
[OnePlus 3 & 3T Cross Device Development] cukierkas:
This is achieved due awesome memory management (LKM). And no other 3rd app, like kernel Adiutor, can't make equal. All values are written in kernel level.

Same as automatic light curve. Have you guys noticed how fluent and eye friendly it is? No choppy jumps or lags while catching the sun.

About gcam issue. Have no issues at all with focus. Maybe that's achieved because I'm not using it via certain app, I'm always taking photo with gcam and afterwards sharing in certain app.

About Spotify, Google play, etc. Yes, this lineage issue. All that must be reported to official reppo. In my case, I'm using vlc player for listening, podcasts, streaming - all this is done perfectly, because within the app there are dozens settings, to achieve all the situations. If speaking about YouTube - you guys can use magisk version.

Last notice, with pixel filter I'm having 8-9hrs of sot, so I'm more than happy with this rom. [MENTION=4800121]Sultanxda[/MENTION], [MENTION=3916420][denser][/MENTION] wonderfully done.
[OnePlus 3 & 3T Cross Device Development] Vazkii:
I see. Do you happen to know of any 8.1 compatible kernels with said memory optimizations? And if not, do you know how feasible it would be to port them to an existing one?
[OnePlus 3 & 3T Cross Device Development] 64ashg:
Franco kernel shares a lot of commits from sultan's. You can try but don't expect the same user experience as sultan did a lot of rom+kernel optimisations. Also try boeffla i think.
[OnePlus 3 & 3T Cross Device Development] cukierkas:
I would say, that boeflla is great at this point. But not equal.
[OnePlus 3 & 3T Cross Device Development] ammarvora:
I don't know, I am facing a weird problem with this ROM. I don't think anyone else is facing. Whenever I flash this ROM, the part were quick notification toggles are there, that part of the screen doesn't work properly. I have to touch very properly and try many times then it works sometime. But whenever I flash any oreo ROM or even any other nougat ROM, I don't have this problem. So I don't think it's a hardware problem. Can anyone help?
[OnePlus 3 & 3T Cross Device Development] cukierkas:
No touch issues at all.

Haven't you changed the screen panel to non oem?
[OnePlus 3 & 3T Cross Device Development] moSess:
I see you recommending this app, and I tried. But man, it makes the screen waaaay too pixepated and crappy looking... I can't do it! And I Loooove big SOT. The 3T has a sweet 1080 in my opinion. I'll stick woth the normal 5-7 sot. Thanks though!
[OnePlus 3 & 3T Cross Device Development] ammarvora:
You mean anywhere in software? Don't know I haven't done anything because I face this problem with this ROM only. And I haven't replaced screen or anything.
[OnePlus 3 & 3T Cross Device Development] cukierkas:
Well, something must be sacrificed :)

In my case 25% is golden middle.

---------- Post added at 05:59 PM ---------- Previous post was at 05:52 PM ----------

Yes, I was talking about screen replacement. Not oems have issues has issues with colour reproduction and touches in certain areas.
[OnePlus 3 & 3T Cross Device Development] ammarvora:
Ok but I haven't done any replacement, don't know what's the problem. [MENTION=4800121]Sultanxda[/MENTION] can you please help?
[OnePlus 3 & 3T Cross Device Development] Actura:
- Try flashing the latest version of Sultan's ROM (you can try the latest official or unofficial one)

- Try re-flasing phone's firmware to version 4.5.1 (check it whether it is right firmware for your phone OP3/OP3T)

I've encountered problems like this before. As i remember, it was on version 20171209.

When i was on 20170716 before, it was okay.

Maybe the firmware problem though, i don't really remember. But if i recall, I've been on the correct firmware version before installing the problematic (for me) 20171209.

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

Has anyone tried MultiROM with Sultan's ROM as secondary ROM?

I tried installing version 20170716 as secondary ROM but it failed to install. Haven't tried with the newer version yet. Maybe just the firmware version problem (i am on 4.5.1 while installing 20170716and i saw some error in version checking on twrp...dunno what version), but i want to know if anyone else got any experience with MultiROM.
[OnePlus 3 & 3T Cross Device Development] ammarvora:
So which firmware do you recommend? I am having Oneplus 3 and I use the firmware which is mentioned in OP. And I have already flashed this ROM many times, that doesn't help. Present, I am on latest build.
[OnePlus 3 & 3T Cross Device Development] Actura:
You're okay then. Firmware 4.5.1

- Clean flash or dirty flash?

- Did you use titanium backup or similar apps ?

----------

If you want to test, you can try the older versions from here

https://github.com/sultanxda/android_releases/releases/

And see which version works better for you

How about 20180220, 20180311 or 20180328?
[OnePlus 3 & 3T Cross Device Development] lammpat:
Can anybody please give me gallery apk from this rom ? can it be installed on 15.1? I dont like the new gallery app on 151.

Thanks in advance.
[OnePlus 3 & 3T Cross Device Development] cukierkas:
Won't give it to you, because I did deleted it :)

Using instead simple gallery from market, way better, plus recycle bin option. Recommending.
[OnePlus 3 & 3T Cross Device Development] [denser]:
this day brings rich harvest of lineage-14.1 branch source code changes, including security fixes (2018-07-05).

new build will arrive soon.
[OnePlus 3 & 3T Cross Device Development] lammpat:
can you please tell me the name of the app you recommending?

EDIT: got the name from your post itself..lol..i thought you are saying simple as referential :D
[OnePlus 3 & 3T Cross Device Development] cukierkas:
Glad you're updating it. Thought you might forget it :)

Regards.

---------- Post added at 11:44 AM ---------- Previous post was at 11:06 AM ----------

Reading is the first remedy to answer the questions :)

Did exported the apk, as you were asking.

https://mega.nz/#!IV1zWRoZ!QxbIMpWAb42xcOPT4xXNgwxTfe5GhgNYewNESm2p4pU
[OnePlus 3 & 3T Cross Device Development] lammpat:
Thanks a lot, I hope it will work in 15.1 as expected. :)
[OnePlus 3 & 3T Cross Device Development] xxxfuq:
I created the battery.sh file to get the capacity but the file will get deleted automatically. How can I prevent this?
[OnePlus 3 & 3T Cross Device Development] [denser]:
new build is out. it is available here and here or through the OTA if you got 20180626 version installed. have fun!
[OnePlus 3 & 3T Cross Device Development] cukierkas:
Updated successfully, regards. No issues at all, fluid and rock solid.
[OnePlus 3 & 3T Cross Device Development] ashatter:
Since use magisk for root and I would like to confirm the process of updating the rom: Dirty flash the new rom and then flash the magisk before reboot to system. Is that correct? Thanks a lot.
[OnePlus 3 & 3T Cross Device Development] [denser]:
Just update the rom through the OTA and magisk will update itself by inbuild script. No need to reflash it manually.
[OnePlus 3 & 3T Cross Device Development] lammpat:
can you please post md5 along with the release, so that we can be sure that download is fine.:)
[OnePlus 3 & 3T Cross Device Development] pendragon666:
Installed the latest, so far so good. Thanks man
[OnePlus 3 & 3T Cross Device Development] :
Thanks a lot for the new build. No issues so far.
[OnePlus 3 & 3T Cross Device Development] yefet2000:
Thanks a lot for the new build you are my hero.

I lost hope and stopped following this thread after Sultan stopped his updates just to find out someone keeps his legacy alive !.

Muchos Gracias... :good::highfive:
[OnePlus 3 & 3T Cross Device Development] Resshi:
Hey guys, quick query: Can anyone confirm if you can play videos in MX Player on 24. 7. build?
[OnePlus 3 & 3T Cross Device Development] :
[MENTION=3916420][denser][/MENTION] are there any changes in the kernel ?
[OnePlus 3 & 3T Cross Device Development] [denser]:
[MENTION=9226811]drdevangjoshi[/MENTION], no. I'm not going to change anything in Sultan's source code.

[MENTION=5421526]Resshi[/MENTION], no problem at all with 24.7 build and MX Player 1.9.24
[OnePlus 3 & 3T Cross Device Development] FrailtyXYZ:
can you add full substratum commits?
[OnePlus 3 & 3T Cross Device Development] grotesque02:
Some app for change font?

Thanks
[OnePlus 3 & 3T Cross Device Development] JerryBond:
What's going up with this rom?

Deep sleep is somehow offline all the time, got only under a minute of it...

Also there's a bit i thought would get fixed here, but i only reported it in droidreak32 threads of resurection remix, where fixed it, so u could port fix over here... Bug is that device freezes for 3s when typing in disgets to unlock it on boot. U can even press one diget, and wait for freeze, then continue.

Just mentioning cause that rom is sourced from here, had the same bug and he fixed it after i reported, maybe u guys could check it out what he did :)
[OnePlus 3 & 3T Cross Device Development] cukierkas:
https://ibb.co/kWZ1eT

Never had a better sleep on this device. Check your settings.

About that micro lag - I did noticed it, but never bothered to fix it ir get nervous - it's all same in stock rom.
[OnePlus 3 & 3T Cross Device Development] JerryBond:
I see. Understandable.

Deep sleep works again, after i don't really know what ? maybe youtube vanced kept it up.

---------- Post added at 08:15 PM ---------- Previous post was at 08:14 PM ----------

I'll also share this here as it's the rom I'm using.

Hi! I have successfully conducted troubleshooting of everyone calling me hearing an echo of themselves!

Turns out, there appear to be two settings for microphone detection.

1st when it's uncovered, and the communications are nornal and working well

2nd where it's covered, and the detection is amplified to still hear the op3 user same as before

Problem with the second is, that it detects sound from upper part of the phone, so the other party hears themselves.

In my opinion, the lower limit of detection switching it into 2nd option is too high, because even when uncovered it happens sometimes in bad conditions, far more using phone cover (yes it has microphone uncovered, but there is noticeable difference).

If possible, that limit should be lowered, or the function altered because this echo isn't something a phone of this rank should have.

*I've only assumed how it works by observation, there may even be a curve? That could also be altered. Anyways, it really is an urgent fix in my opinion, I don't know about the rest of you.

To reproduce it, remove cover, take two phones, and call the second phone. Listen to second phone, and cover/uncover microohone on op3.

It happens on stock software or any other rom/framework I've tried so far.

I'm not a phone developer myself, but hope someone can work with this.

Regards, JerryBond
[OnePlus 3 & 3T Cross Device Development] cukierkas:
Yes, might be a truth.

I have drilled a bigger hole for headphone jack, to fit the plug better, now I'll drill a bigger hole for 2nd microphone :D

Will see later on, thanks for observations.
[OnePlus 3 & 3T Cross Device Development] 64ashg:
Roamed around, like a flashoholic, but finally came back to this again. Great work [MENTION=4800121]Sultanxda[/MENTION] and thanks for the builds [MENTION=3916420][denser][/MENTION]

PS has anyone done an oms7/substratum compatible build of this? I wanna know how to do this

Thanks in advance!
[OnePlus 3 & 3T Cross Device Development] cukierkas:
Yep, can double it, was running whole day without the cover, no issues about the calls. No aid, double voice (that happened very often) or other call issues.
[OnePlus 3 & 3T Cross Device Development] moSess:
Xposed

Xposed really slows down the fluidity of the UI just enough to be noticeable.

I just have to weigh it against the want of running the few modules I do.
[OnePlus 3 & 3T Cross Device Development] devilsworkshop:
I tried building LOS 14.1 with Sultan's local manifest and the OMS manifest: https://github.com/LineageOMS/local_manifest/blob/master/substratum.xml

Unfortunately, it refuses to build. The build fails when it tries to build BitmapFactory.o with this error:

frameworks/base/core/jni/android/graphics/BitmapFactory.cpp: In function '_jobject* nativeDecodeFileDescriptor(JNIEnv*, jobject, jobject, jobject, jobject)':
frameworks/base/core/jni/android/graphics/BitmapFactory.cpp:591:13: error: 'kCallerPasses_Ownership' is not a member of 'SkFILEStream'
SkFILEStream::kCallerPasses_Ownership));
^

There are also these errors when I run Sultan's patcher.sh:

error: patch failed: res/xml/device_info_settings.xml:42
error: res/xml/device_info_settings.xml: patch does not apply
error: patch failed: config/common.mk:123
error: config/common.mk: patch does not apply
error: patch failed: sepolicy/mac_permissions.xml:14
error: sepolicy/mac_permissions.xml: patch does not apply

No idea if the changes to these files are important, haven't checked yet. I don't have any experience building AOSP (yet :silly:)

Can anyone help?
[OnePlus 3 & 3T Cross Device Development] :
Is Nougat firmware compulsory to flash - Can I install rom on Oneplus latest 5.0.4 firmware. ?
[OnePlus 3 & 3T Cross Device Development] vinoxflame:
nougat firmware = nougat ROM

oreo firmware = oreo ROM
[OnePlus 3 & 3T Cross Device Development] 64ashg:
Hmm, without oms commits, is it building? It did when i used to use partially his sources and partially another devs sources, without oms. As far as i know even the proprietary blobs i used were sultan's. Theming commits should have built..

And how did you do this step

Add "ThemeInterfacer" in your PRODUCT_PACKAGES

PRODUCT_PACKAGES += \

...\

...\

...\

ThemeInterfacer
[OnePlus 3 & 3T Cross Device Development] devilsworkshop:
It builds perfectly without OMS. Just pulled the LOS source tree, added Sultan's manifest, ran his patcher, and everything works as it should.

Pulling the OMS bits causes it to not build (no other changes).

Sultan doesn't provide the proprietary blobs, AFAIK. I had to get them from elsewhere.

I have no idea what that is. I just used the manifest as described in this thread: https://xdaforums.com/apps/substratum/reference-lineageos-substratum-support-t3580276
[OnePlus 3 & 3T Cross Device Development] casual_kikoo:
[MENTION=6789884]devilsworkshop[/MENTION]:

To build this ROM with the OMS patch:

Clone the Nougat branch of LineageOS

Add [MENTION=4800121]Sultanxda[/MENTION] local manifest into theo .local_manifests folder inside LineageOS folder

repo sync again to re-download his patches

Clone the merge script for [MENTION=6842057]nathanchance[/MENTION] from here into an other folder, and call it against your folder where LineageOS sources are.

Apply [MENTION=4800121]Sultanxda[/MENTION] patcher after applying the merge script.

Build should be ok

Error you had here:

mean the patch's differences are already applied to the file in question.
[OnePlus 3 & 3T Cross Device Development] pendragon666:
I tried to use /sys/class/power_supply/battery/cycle_count to check my battery today but Termux says permission denied? I'm on the last custom build from denser.
[OnePlus 3 & 3T Cross Device Development] xxxfuq:
Run with root
[OnePlus 3 & 3T Cross Device Development] pendragon666:
I did, typed su beforehand

Edit: my bad, mistyped something. Works ok.
[OnePlus 3 & 3T Cross Device Development] xxxfuq:
What is your battery capacity and cycle count?