yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] vice84:
Thank you very much, excited to test it out.

Flashing with TWRP fails with ERROR: 6, Model is trlteduoszh.

Log:

Installing zip file '/external_sd/_rom/Lineage OS/lineage-14.1-20171030_073141-UNOFFICIAL-trlte+trlteduosz.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Update binary zip

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized.

line 1 col 92: syntax error, unexpected BAD, expecting IF or STRING or '!' or '('

1 parse errors

Updater process ended with ERROR: 6

I:Legacy property environment disabled.

I:Install took 0 second(s).

Error installing zip file '/external_sd/_rom/Lineage OS/lineage-14.1-20171030_073141-UNOFFICIAL-trlte+trlteduosz.zip
[Galaxy Note 4 Android Development (Snapdragon)] maksimreder:
That is correct, I'm using the n910v.

Only things that don't work that I've noticed and it's across all builds is.

1) Fingerprint Reader

2) NFC

3) Stock camera app doesn't record video to storage.

4) some apps, not all but some apps crash the deeper you interact with them.

These two aren't deal breakers. I haven't fully tested the unified build. Hope to flash the unified build next week and use it as my daily driver but for the small amount of time I had it on yesterday, no data drop, gps seemed to work, haven't actually used it for map guidance. But for the camera app, I uninstalled the stock camera app and installed open camera from the play store which works both in video and photos mode flawlessly. And for the last issue, some apps crash, I tested Resurrection Remix Rom over in the n910v section and apps don't crash from the little time I used it yesterday.
[Galaxy Note 4 Android Development (Snapdragon)] mx-5driver:
[MENTION=6005084]ripee[/MENTION] & Dev's

First many Thanks for your dedicated Work on the Note 4 ROM.

The recent Issue I reported seems to be successfully resolved - at least it did not re-occur in recent ROM's.

Is there meanwhile an Outlook of Plans in the near Future with the Note 4 ROM ?

I am thinking about the following Question for Example:

- Problems resolved / remaining Problems to be resolved / hindering to make it official ?

- Is there a realistic Chance to get official with 14.1 or are the Dev's already concentrating their Efforts on 15 or even 15.1 ?

I guess beside me other Forum Colleagues might be curious as well about the further Plans to proceed ?

Anyhow - again thanks so much to all Stakeholders here who are spending your private Time for making it happen.
[Galaxy Note 4 Android Development (Snapdragon)] maksimreder:
As a bonus I've also installed this pixel launcher replacement, works flawlessly and snappy on lineage build.

https://www.google.com/amp/s/xdafor...ootless-pixel-2-launcher-google-t3688393/amp/

Now I have a Oreo pixel launcher. Takes my 2014 note 4 and places it around the latest flagships.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
[MENTION=8678616]phonecat[/MENTION], my mistake for forgetting the "h", but I'll be away from my computer until early Wednesday morning European time. Perhaps [MENTION=6847876]_mone[/MENTION] can upload a build with trlteduoszh in the updater script.

As for lineage-15.1, the code is still at the developer preview stage, but because 8.0 will soon be superseded by 8.1, there's no point in starting work on 8.0. Final 8.1 code will be released in December, so let's none of us hold our breaths for Oreo anytime soon! But this gives _mone, fattire, etc., more time to polish up the code to a level worthy of official support, hopefully making it easier to get official Oreo support, when the time comes. But for now, there's always room for improvement, so enjoy any and all builds as they get better and better.
[Galaxy Note 4 Android Development (Snapdragon)] phonecat:
[MENTION=6005084]ripee[/MENTION] Never mind, I added 'h' myself. And changed the updater-script line ending from windows(CRLF) to UNIX style(only LF), other wise error 6 will occur , saying:

line 1 col 92: syntax error, unexpected BAD, expecting IF or STRING or '!' or '('

1 parse errors

Updater process ended with ERROR: 6

After the modification , the error become Error 7. Recovery log is attached below:

I:Set page: 'flash_confirm'

I:Set page: 'flash_zip'

I:operation_start: 'Flashing'

Installing zip file '/external_sd/lineage-14.1-20171030_073141-UNOFFICIAL-trlte+trlteduoszh2.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Update binary zip

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized.

Target: samsung/lineage_trlte/trlte:7.1.2/NJH47F/87dcf33f0f:userdebug/test-keys

Target: samsung/lineage_trlte/trlte:7.1.2/NJH47F/87dcf33f0f:userdebug/test-keys

detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system

detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system

about to run program [/tmp/install/bin/backuptool.sh] with 2 args

run_program: child exited with status 127

about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args

Patching system image unconditionally...

performing update

Patching system image unconditionally...

blockimg version is 4

maximum stash entries 0

using existing stash /cache/recovery/5a79362318d00cf4c316e86435b3ed38dd35082d/

erasing 715953 blocks

BLKDISCARD ioctl failed: Invalid argument

failed to execute command [erase 46,66050,97792,131586,163328,197122,228864,262658,294400,309073,327168,328194,359936,360962,392704,393730,425472,426498,458240,459266,491008,492034,523776,524802,556544,557570,589312,590338,622080,623106,654848,655874,687616,688642,720384,721410,753152,754178,785920,786946,818688,819947,851456,852482,884224,885483,916992]

script aborted: E1001: Failed to update system image.

E1001: Failed to update system image.

error: 1001

Updater process ended with ERROR: 7

I:Legacy property environment disabled.

I:Install took 7 second(s).

Error installing zip file '/external_sd/lineage-14.1-20171030_073141-UNOFFICIAL-trlte+trlteduoszh2.zip'

Updating partition details...

I:Data backup size is 5263MB, free: 1605MB.

I:Unable to mount '/usbstorage'

I:Actual block device: '', current file system: 'vfat'

...done

I:Set page: 'flash_done'

I:operation_end - status=1

I:Set page: 'clear_vars'

I:Set page: 'install'

I:Set page: 'main'

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'advanced'

I:Set page: 'copylog'

I:Set page: 'action_page'

I:operation_start: 'Copy Log'

I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
[MENTION=4651307]maksimreder[/MENTION], the latest unified is 1030. Furthermore, my builds include su root, no need to flash it separately.

I still have no idea how Magisk isn't working for anyone, 14.3 works perfectly on mine. When the time comes I'll post my extracted boot.img from the 1101 build.
[Galaxy Note 4 Android Development (Snapdragon)] maksimreder:
Thanks, now that I'm in trlte can I dirty flash?

And I'll try flashing magisk 14.3, I have 14.0 which I can't flash.

As far as flashing magisk, do I need to flash something to remove su first?
[Galaxy Note 4 Android Development (Snapdragon)] teegale:
Should be able to remove supersu in app. Settings, full unroot. At least that's what worked for me when I attempted magisk 14.3 (which would bootloop me). Make sure you have the magisk uninstaller zip to flash to get back onto your phone if it doesn't work.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Yes, you can dirty flash, just like you could coming from a variant build.

Magisk uninstalls your existing root method before flashing itself, so no you don't.
[Galaxy Note 4 Android Development (Snapdragon)] maksimreder:
Hmm, I tried flashing magisk v14 and says root is already present and wouldn't flash magisk.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Magisk 14.0 is present. It won't uninstall old versions of itself, just update them if they're not corrupted in some way.
[Galaxy Note 4 Android Development (Snapdragon)] maksimreder:
Flashed magisk 14 in twrp and got a endless boot. Had to use uninstaller to get back to where I was. [MENTION=6005084]ripee[/MENTION] what are your steps to getting magisk installed?
[Galaxy Note 4 Android Development (Snapdragon)] Graivite:
He already answered a few pages earlier.

ROM -> Magisk.zip -> Gapps -> Wipe cache/dalvik cache -> Reboot

However, it doesn't work. He shared his boot.img which was working at that time. But I do not know what's wrong with it. For instance - ressurection remix works that way, but LineageOS by Ripee doesn't. Bootloop every time.

I could not solve this by myself, so I just passed on Magisk and went for the stock LineageOS root from LineageOS addons
[Galaxy Note 4 Android Development (Snapdragon)] Krillen:
I found a bug that when "Automatic time zone (Use network-provided time zone)" enable it changes my time zone from EST(eastern Daylight Time)GMT-04:00 to GMT+00:00. I found a workaround of changing my cellular network from LTE to 3G then back to LTE or just turn off Automatic time zone. Is there any chance of a fix for it? Also I can get what ever information you should need to help fix it if needed.
[Galaxy Note 4 Android Development (Snapdragon)] lbcoach3347:
Is there any progress on the GPS. It's not something that is just going to change after each build unless there is a change made to it.
[Galaxy Note 4 Android Development (Snapdragon)] maksimreder:
What variant do you have? I'm on n910V, and no GPS issues here.

---------- Post added at 02:17 AM ---------- Previous post was at 02:17 AM ----------

Hmm, I cannot replicate this on my n910v.

---------- Post added at 02:20 AM ---------- Previous post was at 02:17 AM ----------

That's what I did and not working for me, I also did ROM > Gapps > Magisk> Wipe Cache/Dalvik > Reboot.

I also did the same, installed the su addon. I have not tried magisk v14.3, Not sure what I'm doing wrong. Most important question is if safetynet is passed.
[Galaxy Note 4 Android Development (Snapdragon)] _mone:
Only trltespr seems to have gps problems. Did you share any logs? You are right, it's not going to change itself after each build and we are no magicians to blindly make a fix for it. So, if you want it fixed, do your part.
[Galaxy Note 4 Android Development (Snapdragon)] lbcoach3347:
I did log cats a month and a half ago and nothing happened what kind of law do you need I am more than willing to do my part this is been an ongoing thing for two and a half months since 8:25 belt just let me know what you need me to do
[Galaxy Note 4 Android Development (Snapdragon)] _mone:
Grab a logcat while using an app that requires gps. What's the actual issue? gps doesn't work at all? It doesn't get any fix? ...?
[Galaxy Note 4 Android Development (Snapdragon)] lbcoach3347:
It just spins saying searching for satellites

We get no satellites in GPS toolbox so whatever these people are getting locks in Google Maps it's triangulating through Wi-Fi + cellular network
[Galaxy Note 4 Android Development (Snapdragon)] _mone:
Turned off wifi, turned on aeroplane mode and I get a fix as you can see from the screenshot. So I guess it's working (trltexx). It's probably only a trltespr problem. Do you want that I make some more tests? Do you want that I try any specific app? I've used GPS Test.
[Galaxy Note 4 Android Development (Snapdragon)] maksimreder:
Can't say I'm one of "these people"
[Galaxy Note 4 Android Development (Snapdragon)] lbcoach3347:
I am super excited that it works for you guys and obviously your are not the ones claiming it works through Google Maps as you have used a GPS app. No I am not sure why then sprint version is the only issue. What has been added or removed since a working version to know. But once I flash I will send the log cats. I do appreciate what you tried earlier _mone. I am a huge fan. I am truly sorry if this came across as ungrateful I am truly trying to figure out what you need as me and k4ever have been flashing the builds and testing since the start of this. So I will flash it and get you a logcat. We can see if we can pinpoint this.
[Galaxy Note 4 Android Development (Snapdragon)] tripLr:
Read the new instructions from Magdisk
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
Did you do a diff -r of the directories to see what is different?

Also, to bring up a slightly new topic, our kernel is current as to the latest apq8084 release from CAF as indicated here.

However, it's pretty old (Aug 5, 2016). If you take a look at one of the more recent kernels for other architectures, such as the apq8076_64 from december 15 (to take the most recent one which starts with "apq" which is probably NOT the right one to use as a reference, but anyhoo), you'll see a ton of new commits which would apply to our kernel. Many of them, such as those from "Linux Build Service Account", seem to include important "use-after-free" security fixes.

The question-- should we wait for caf to update the kernel, or should we merge six months of fixes ourselves? Aside from security issues, I'm sure there are all kinds of fixes in there. We'd want to make sure to only use those that won't break our platform. Is there a branch in there that contain only those platform-agnostic fixes? I see those mega merges from "Linux Build Service Account" and I'm wondering if we can continue to grab those to just fix the security stuff and maybe other fixes/improvements. We might miraculously find, say, some camera or bluetooth or reboot bugs go away... who knows..?

Thoughts, anyone?
[Galaxy Note 4 Android Development (Snapdragon)] wopema71:
Definitely try it! Why not? I'd be happy to take on regular builds if people wanted the choice of both....
[Galaxy Note 4 Android Development (Snapdragon)] Black Shade:
Flashing the trltexx build, I guess the 31/01 is the latest one. I didn't read all the comments yet, let me know if there's anything I should know ;)
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
_mone built one today, so the latest one is 03/02: https://www.androidfilehost.com/?fid=529152257862700258
[Galaxy Note 4 Android Development (Snapdragon)] raven4is:
Have the latest ... Only bothering bug is bluetooth crashes phone under this situation:

Connected to BT phone on plantronics 5200 and to my car BT ford mondeo only media... Works great.. but if i get a phone call in this situation i get reboot instant.

And sometimes on plantronics nobody can hear me.. i have to reset all network settings for the BT to have sound again.
[Galaxy Note 4 Android Development (Snapdragon)] Black Shade:
Any plans for some customization options and navigation bar? The ROM is very fast and seems stable so far, but I like customizing some elements like both Resurrection Remix and EmotionOS allow you to do.

PS I kinda solved for the navbar, but it's not a perfect solution
[Galaxy Note 4 Android Development (Snapdragon)] SUREFACE:
NO! This is a LineageOS Stock Rom. If You need Customize Features you must Use EmotionOS or Resurrection Remix ! :)

Here is Clearly Answer from @!jef_00 from a Question of another User : https://xdaforums.com/showpost.php?p=70611581&postcount=53
[Galaxy Note 4 Android Development (Snapdragon)] mx-5driver:
Hello Experts,

May I please ask a quick Question because the Information I found on the Web is partially quite contradictory - not really making entirely Sense to me ?

Meanwhile I finally decided to buy a used 2nd Device in Order to join this Lineage OS on Note 4 Community here on Monday next week.

It will be a used (2 Years old) SM-N910F in good Condition with new Battery

& with Region Code DTM (DTM means Germany, T-Mobile Branding),

so it will definitely work in my Region (Germany).

Question - A) Bootloader & B) detailed How-To Install Documentation:

A) Bootloader:

I found very contradictory Information on whether it is necessary to unlock the Bootloader or not !?

Some say it is a Prerequisite to install a Custom ROM - on other Pages they say Bootloader is already unlocked by Default on Samsung Devices ?

Now I am quite confused - not really knowing with Info I can trust - nor found a well documented How-To in Case it is needed.

B) Detailed Installation How-To (documented well enough for Newbies)

Can you please & guide me on which Lineage OS Installation Documentation to follow ?

Since this will be the very first Attempt to install a Custom ROM I cannot really judge on the Quality or Completeness of the How-To Documentation I found myself so far ?

These are the most detailed Findings for Installation How-To's I have yet:

http://androidbiits.com/samsung-galaxy-note-4-sm-n910f-android-7-1-1-nougat-lineageos-14-1-rom/

&

http://3782009418653935987_edd2d5fd.../01/how-to-install-android-711-nougat_17.html

I also saw the very brief (just Keywords) short Version of Steps on the 1st Page of this Thread - but for a first-Timer like me - I am afraid I'd need something more detailed to get started ?

I would highly appreciate if some of the Experts here can shed some Light onto these getting started Issues I have ?

Once I have a good Understanding of the entire Thing to get started I'd love to contribute with Testing etc. to the Community here myself.

Thanks in Advance
[Galaxy Note 4 Android Development (Snapdragon)] SUREFACE:
01) For the Bootloader, Device must have One of the Last Original MM Installed.

02) TWRP 3.0.2. or Higher should be Install with Odin

03) Over TWRP You can Install LineageOS to Your Device.

I Try to make an Clear "HowTo" in (German) if You want! :)
[Galaxy Note 4 Android Development (Snapdragon)] Black Shade:
Thanks man, now I know it :) it's a really nice ROM for people who are looking for a close-to-stock experience. It's probably the fastest and most responsive I've tried so far. Anyways, Google services keep force closing on all the Nougat roms I've tried, now I'm looking for a Note 7 port to use as a daily driver
[Galaxy Note 4 Android Development (Snapdragon)] mx-5driver:
Hi SUREFACE,

Thanks for your lightning-quick Response :)

(02) & (03) you mentioned are clear to me, thanks

I am already using TWRP for Years ;)

So far I used it for flashing Components, Rooting, Backup and I like its graphical Interface - its a very good & mighty Tool.

On my productive Device SM-N910F (DBT) I currently have following Modifications running:

Stock ROM rooted

Ad-Away 3.2

Titanium Backup

Replaced Stock Recovery with TWRP 3.0.2.0

However I don't quite understand what exactly you meant with:

"(01) For the Bootloader, Device must have One of the Last Original MM Installed."

What exatly do you mean with "Device must have one of the last Original MM installed" ?

Not even sure what "MM" stands for ?

Can you explain please ?

The Device I am going to buy on Monday next week is in completely "untouched Status" - means original Stock ROM, no Knox-Trigger, no Customization at all.

The previous Owner just used it as is - because of lacking Interest for Customization and of Course also lacking technical Know-How.

Regarding the proposed German How-To you want to build - Nice Idea thanks for providing that as an Option.

But I think English is good enough for me as long as I can trust it contains all Steps complete and well detailed to follow them.

If you can take a brief Look to judge whether this Finding I have is good to go for I'd feel quite well prepared to go for it ?

http://3782009418653935987_edd2d5fd.../01/how-to-install-android-711-nougat_17.html

Thanks & Regards
[Galaxy Note 4 Android Development (Snapdragon)] SUREFACE:
I got No Forced Closing from Google Services. Have You Try a Clean Install?

I did it this Way: Step Back to Samsung Official via Repair ROM. (Did Updates to Last MM).

The I Shutdown Device. Start Into Samsung Recovery, and did Wipe (Both Wipe Options).

Shut Down Device. Wait a Minute. Bring the Device into Download Mode and Install TWRP with Odin.

Device Restarts after Flashing. I pulled Out the Battery before the Device Samsung Logo comes. Put Back Battery and start Device Into TWRP. Their I Format the Device. Not Wipeing Did Format. Restart Device to Recovery and then I Install LineageOS and Gapps.

This Way works Fine for Me. No Google Services stops. Test it this Way! That can Help! :)

---------- Post added at 03:07 PM ---------- Previous post was at 02:52 PM ----------

MM stands for "Marshmallow". (Android 6.0.1. Actualy Samsung StockRom)

When Your Device have One of the Last MM StockRom Installed, Youre on the Good Side that LineageOS will work.

I have Try Your Link, but Nothing Appears. Artikel seems deleted. I got a Good Step by Step Instructions for You!

See here: http://androidbiits.com/samsung-galaxy-note-4-sm-n910f-android-7-1-nougat-cm14-1-unofficial-rom/ :)

At the Moment I Write an Step by Step Instruction, with Pictures. You will find it Later (This Day or on Monday) under Bootloader/Modem in the First Post of this Tread! :)
[Galaxy Note 4 Android Development (Snapdragon)] Black Shade:
I don't know about Lineage because one day is not enough to tell if it's stable or not, the only thing I've noticed is that it's faster compared to the others. On RR, EmOS and EmAOSP I had this issue and I knew it was common among all the users. I always have the latest Booloader and Modem and I also update TWRP every time I can, the problem is not here. No need to flash Samsung stock again. The only older thing I had was the 28/01 OpenGapps package, cause the one updated Yesterday didn't allow me to complete or skip the initial setup for some reason. At the moment I'm flashing Norma V11 Note 7 port, I'll keep checking changelogs to eventually go back to another ROM ;)
[Galaxy Note 4 Android Development (Snapdragon)] mx-5driver:
Regarding the current Marshmallow Stock ROM Installation as a Prerequisite:

Thanks for clarifying the Meaning of "MM" - I didn't get that in Context with Marshmallow - sorry.

So 1st Thing I am gonna do is update the Stock ROM (if not alreay installed) to the latest Version either via OTA or ODIN or Samsung Smart Switch.

Then root it via CF-Autoroot, install TWRP & then I will be ready to go with further Progress on installing Lineage OS 14.1 Unofficial.

Regarding the Step by Step Instruction you're about to prepare:

Thanks Man - I am sure that will help other Ones as well to get started - very good Idea. :) :good:

The ideal Place for that would be linked right under the Keyword Steps in the 1st Post I guess ?

Right now a lot of Info is out there in this Forum & elsewere in the Web - however it is quite fragmented & spread over a bunch of Websites, Threads and Topics seem to be mixing good and bad Information, right and wrong, accurate & outdated etc.

In Case you'd need help with the How-to - let me know - I'd certainly offer Help with Proof-reading, Translation, suggesting Additions from Newbie Point of View if needed ?

From Documenting Stuff in my Job I know that Experts sometimes become "blind of Newbie Point of View" so I found it a good Practice to get Documentation Proof-read by Individuals of the intended Audience.

Thanks for sharing the How-To Link - that one seems to be very similar to one of the 2 Findings I posted above - seems to explain the Concept quite well, but of Course a pictured & commented How-to would be much better indeed. :)

Note:

Regarding the 2nd How-To Documentation Link I found - you said you couldn't view it.

Well, the Page is still there - no dead Link- however meanwhile I found that obviously the Page can't be viewed properly from within a Mobile Device .

I tried with my Pixel C & with my Note 4 - on both I could not view it either - however it works without any Obstacles when viewing it on the PC.
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
thanks for the suggestion
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
I have fixed the issue i can build again also i have decided to switch to the same device tree to support trltetmo..
[Galaxy Note 4 Android Development (Snapdragon)] rob_z11:
If you build it, they will come ?
[Galaxy Note 4 Android Development (Snapdragon)] jef_00:
Yeah buddy how is timekeep doing in mones build?