yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 Android Development] bauner:
The initramfs gets created if you build the bootimage inside the full lineage source.

If you want to build the kernel standalone (without the lineage source) you need to have an existing initramfs (Ask me if you need it) and adjust the path to it in kernelsrc/usr/n7000_initramfs.list and kernelsrc/arch/arm/configs/lineageos_n7000_defconfig

To build the full rom you need to do this steps

mkdir romdir
cd romdir
repo init -u https://github.com/LineageOS/android.git -b cm-14.1
mkdir .repo/local_manifests

then copy the following to .repo/local_manifests/n7000.xml

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remove-project name="LineageOS/android_build" />
<project name="bauner/cm-android_build" path="build" remote="github" revision="cm-14.1" />
<project name="bauner/cm-android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="cm-14.1" />
<project name="bauner/cm-android_device_samsung_n7000" path="device/samsung/n7000" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" revision="cm-14.1" />
<remove-project name="LineageOS/android_external_toybox" />
<project name="bauner/cm-android_external_toybox" path="external/toybox" remote="github" revision="cm-14.1" />
<remove-project name="LineageOS/android_frameworks_base" />
<project name="bauner/cm-android_frameworks_base" path="frameworks/base" remote="github" revision="cm-14.1" />
<project name="bauner/cm-android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-14.1" />
<project name="bauner/android_kernel_samsung_tw_n7000" path="kernel/samsung/tw_n7000" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-14.1" />
<remove-project name="LineageOS/android_packages_apps_Settings" />
<project path="packages/apps/Settings" name="bauner/cm-android_packages_apps_Settings" revision="cm-14.1" />
<remove-project name="LineageOS/android_system_vold" />
<project name="bauner/cm-android_system_vold" path="system/vold" remote="github" revision="cm-14.1" />
<remove-project name="LineageOS/android_vendor_cm" />
<project name="bauner/cm-android_vendor_cm" path="vendor/cm" remote="github" revision="cm-14.1" />
<project name="bauner/cm-proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-14.1" />
<project name="bauner/OTAUpdates" path="packages/apps/OTAUpdates" revision="aosp" />
</manifest>

then

repo sync

to download the source
[Galaxy Note GT-N7000 Android Development] BernardG:
Thanks a lot. I am going to have a try.

Regards.
[Galaxy Note GT-N7000 Android Development] BernardG:
One more question: which lunch target are you using to make your build?

Thanks, Bernard.

EDIT

: I guess it is n7000, but I am facing some compilation issues. I will come back to you if I can't solve them.
[Galaxy Note GT-N7000 Android Development] bauner:
it is lineage_n7000-userdebug

Which build problems do you have?

Currently it will not build with ninja.

You can disable ninja by adding

export USE_NINJA=false

to your ~/.bashrc
[Galaxy Note GT-N7000 Android Development] BernardG:
My main problem is that this lunch target does not appear in my lunch menu. Anyway, I can select it, but then I don't have any Makefile at root directory. So I created one (by including the one from build/core/main.mk, (not sure I can do that)). But it does not want to compile due to some missing files.

All these issues, let me think that the repo are not correctly sync even if it looks (no errror after a sync).

I am doing another repo sync but it takes time due to the fact I don't have a fast internet access.
[Galaxy Note GT-N7000 Android Development] bauner:
The LineageOS 14.1 20180318 Rom is finish

Changes:

* Updated lineage sources

* March security patches
[Galaxy Note GT-N7000 Android Development] asusgarb:
I have Google Play service consuming a crazy battery life amount, even with privacy Guard enabled. On my other devices I have magisk as root. It has a module that enables battery optimization for it.

I know on this ROM it's impossible to use SuperSU, but is it possible to use magisk? Or is there some trick to make its usage possible?
[Galaxy Note GT-N7000 Android Development] Watanabe_You:
Nope. Magisk requires a newer kernel code + format that is impossible for the Note 1.
[Galaxy Note GT-N7000 Android Development] martinwunderli:
Hi

I just installed LineageOS 14.1 20180318 Rom and the corresponding apps. Absolutely amazing and a very big thanks for your work! (Hint: Maybe write in the howto of the first page that while the PhilZ kernel is flashed using Odin, the 2nd one is flashed via Recovery Mode and therefore should also be copied to the sdcard).

Cheers

Martin
[Galaxy Note GT-N7000 Android Development] clod22:
Thank for your great work. All the best.
[Galaxy Note GT-N7000 Android Development] bowtie81:
will the android go be implemented into custom roms, android go which is made for older hardware to run smoother? Will there ever be oreo developed? I wonder what is least resource hungry? Anyway, I am very pleased with this rom.
[Galaxy Note GT-N7000 Android Development] Surya Chandra:
i am unable to get root it is only giving root access to adb but not apps (option not present in developer options) pls help me.
[Galaxy Note GT-N7000 Android Development] asusgarb:
You have to flash the addonsu-14.1 that you find here: https://download.lineageos.org/extras
[Galaxy Note GT-N7000 Android Development] BernardG:
Hello Bauner,

I finally succeeded to build with some workarounds.

Here they are:

1) repo sync then create n7000.xml and then repo sync again

2) Do not do ./extract_files.sh

3) lunch lineage_n7000-userdebug

4) make acp

5) make full/path/to/boot.img

6) make all

7) brunch n7000 (to get the final zip)

1) is needed because at least one file is else missing (Makefile at root dir)

2) Else create issue with module libUMP

4) acp is missing else during the main compilation.

5) is needed because else I have a circular dependency in the makefiles between boot.img and kernel. I could not find why.

I will try to solve these issues if I can.

I did not test yet the image generated, but I hope it is working.
[Galaxy Note GT-N7000 Android Development] Surya Chandra:
It is working. thanks:good:
[Galaxy Note GT-N7000 Android Development] bauner:
5) should be fixed with the workaround

export USE_NINJA=false
[Galaxy Note GT-N7000 Android Development] BernardG:
It did not work for me. I had always set USE_NINJA to false since you told me but the circular dependency error was always here.

I will try to investigate when I have time.
[Galaxy Note GT-N7000 Android Development] leodrums:
Alguién tiene alguna explicaciön?

I installed the nougat on my galaxy note 1 n7000 can someone explain me why ?:

1- the fastest discharge battery, 2 - heat the equipment

3 - the wifi is disconnected after using it

4 - the multimedia volume is heard lower (it is at the top of volume configuration).

I'm from Peru in South America and thank you.
[Galaxy Note GT-N7000 Android Development] IronRoo:
1) hard to say, probably an app that is not compatible, or you restored apps data that cause conflict with newer ROM (always best not to restore app data when moving to a new ROM like nougat)

3) I think you are talking about "doze" feature on newer Android version, design to save power, phone will doze for periods but then reconnect to check for msgs etc.

4) not sure mine is fine.
[Galaxy Note GT-N7000 Android Development] ludskyrider:
hi

i am back on GT-N7000 (for my daughter in fact)

In my memories, the app storage was small ( 4 years ago)

what about this rom?

Is there any way to create a partition on sd card for extend app storage? If yes how can i do it please.... It is because of teenagers and social networks... Much apps and heavy apks

Thanks for your answers
[Galaxy Note GT-N7000 Android Development] Prinus:
[ROM][LineageOS14.1][Nougat][Android 7.1.2] NightOwl 20180318

You can repit the device for more app storage, it's in the OP.

So do your backups if needed and Repit.
[Galaxy Note GT-N7000 Android Development] ludskyrider:
and what about https://xdaforums.com/showpost.php?p=66341193&postcount=2071 ?

is it enough ? If i understand well it can be flashed over the rom instead of odin process? Or should i really use odin?
[Galaxy Note GT-N7000 Android Development] Prinus:
The [MENTION=4141005]Lanchon[/MENTION] script will work for you, cheerz
[Galaxy Note GT-N7000 Android Development] night02:
Today I changed my Galaxy note charging port , and afta changing it , phone started displayed charging symbol for hours and went unstable til this showed up.............

Fortunately , the problem solved afta change back same battery, NOW DOING TITANIUM BACKUP AND GONNA INSTALL NEW ROM
[Galaxy Note GT-N7000 Android Development] bauner:
A short look on my current Oreo Testrom

A first public alpha release is coming closer ..

[YOUTUBE]aI-lpNaao9I[/YOUTUBE]
[Galaxy Note GT-N7000 Android Development] clod22:
The best news of the day,,,

Thank.
[Galaxy Note GT-N7000 Android Development] 52wiseson:
Bauner, great work and thank you for your preview.

My N7000 finally will eventually get the Oreo OS.
[Galaxy Note GT-N7000 Android Development] PRDR:
This is wonderful! A question: Will it be based on an Android Go Oreo LOS?

Thanks [MENTION=799465]bauner[/MENTION]!
[Galaxy Note GT-N7000 Android Development] bauner:
Currently I have only tested go builds.

I will decide later what I will use finally
[Galaxy Note GT-N7000 Android Development] Darthsternie:
Damn. Thank you so much Bauner for all the work you're doing for our good old Galaxy Note :)

Can't wait to test the Alpha once it's out :)
[Galaxy Note GT-N7000 Android Development] jafa68:
friend, I can not activate the developer options, I follow the steps to boost it and nothing appears, you can help me, thanks.

:confused:
[Galaxy Note GT-N7000 Android Development] bauner:
The normal way to enable it should work:

Go to Settings-About phone and tip 7 times on Build number to enable the Developer options
[Galaxy Note GT-N7000 Android Development] waro470:
Given that the N7000 only has 1 GB of RAM, I think Android Go is the way to go (no pun intended, hehe).
[Galaxy Note GT-N7000 Android Development] busawahk:
Wow. You are an impressive person. I fully support your project
[Galaxy Note GT-N7000 Android Development] ibrahim-jaber:
Bauner,such a great person,thank you for your work!

i have a question ?

when i was using the marshmello rom the youtube app was showing me the 720p60 option but now on the nougat it only shows 720p

is this from google or the rom???
[Galaxy Note GT-N7000 Android Development] bauner:
I currently don't know the reason
[Galaxy Note GT-N7000 Android Development] ibrahim-jaber:
thank you anyway❤
[Galaxy Note GT-N7000 Android Development] linux.user:
sdcard0 name

Hi,

After installing the latest release (20180318) I experience what has been described a few times here on the forum: I ended up with a weird sdcard0 (internal sdcard) name: ^M

Unsurprisingly now all my links to certain files & folders on my launcher are not working anymore.

What I tried so far to fix this - without success:

* formatting sdcard0 in TWRP to vfat again (still showing up as ^M)

* creating a softlink sdcard0 pointing to ^M (softlink not working with bookmarks on launcher)

* renaming ^M via SDMAID (not possible)

Any help would be appreciated.

Thanks :)
[Galaxy Note GT-N7000 Android Development] Devil7524:
I also have the same problem with release (20180318), I do this: Format sdcard0 in EXT4, and then back to vFAT and everything will be fixed.
[Galaxy Note GT-N7000 Android Development] linux.user:
Thanks for your reply.

What kind of backup/restore procedure are you applying for the data on sdcard0?
[Galaxy Note GT-N7000 Android Development] Devil7524:
I copy to sdcard1, and then back))

I've already twice on this rom(20180318) it was, for whatever reason I did not understand.
[Galaxy Note GT-N7000 Android Development] linux.user:
Thanks!

I did a backup to the computer. But it has been a pain to copy it back. It slowed down dramatically during the copy process.

I'm not sure how TWRP is actually performing the backup/restore, specifically whether it's on a file level or on a partition (incl. filesystem) level...
[Galaxy Note GT-N7000 Android Development] hatimhidda:
Commment
[Galaxy Note GT-N7000 Android Development] luigi1961:
How can I install xposed with security? thank you

Inviato dal mio GT-N7000 utilizzando Tapatalk
[Galaxy Note GT-N7000 Android Development] marshallartsoz:
A big thanks from me too. I stumbled across this by complete accident. I recently tried a different ROM but it had some problem I could not overcome with storage management - it showed the shared internal memory as always nearly full. So I was almost ready to discard the phone. Then I found NightOwl, and all is good. It is delightful to see Android 7 running on the GT-N7000, which I still think is a fantastic device. I only replaced it because I cracked the screen - I found a replacement glass and did a temporary repair, but maybe I will now do a proper repair, and make it my everyday phone again! Great work, keep it up. :good:
[Galaxy Note GT-N7000 Android Development] Ulfsark:
A big shout-out to bauner for keeping my old device on life support :)

I have searched this thread but could not find an answer to my question:

The n7000 is stated to have 1024mb of RAM. When I check memory in settings it lists that Total memory (RAM) is 809. Can anyone shed light on why there is such a big gap?

Thanks in advance, =O=
[Galaxy Note GT-N7000 Android Development] bauner:
Easily explained there is some reserved ram which is needed by device drivers.

As example here is the memory layout of my current los15.1 testrom:

[ 0.000000] c0 Memory: 1024MB = 1024MB total
[ 0.000000] c0 Memory: 795728k/795728k available, 252848k reserved, 229376K highmem
[ 0.000000] c0 Virtual kernel memory layout:
[ 0.000000] c0 vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] c0 fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] c0 DMA : 0xfea00000 - 0xffe00000 ( 20 MB)
[ 0.000000] c0 vmalloc : 0xf2800000 - 0xfb000000 ( 136 MB)
[ 0.000000] c0 lowmem : 0xc0000000 - 0xf2000000 ( 800 MB)
[ 0.000000] c0 pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] c0 modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] c0 .init : 0xc0008000 - 0xc07b1000 (7844 kB)
[ 0.000000] c0 .text : 0xc07b1000 - 0xc116f000 (9976 kB)
[ 0.000000] c0 .data : 0xc1170000 - 0xc129ef00 (1212 kB)
[ 0.000000] c0 .bss : 0xc1302098 - 0xc170b2a8 (4133 kB)
[Galaxy Note GT-N7000 Android Development] Ulfsark:
Thank you for a swift reply bauner :cowboy:

On my N7000: 1024 - 809 = 215Mb

On my N6: 3072 - 2964 = 108Mb

I see the need for memory reserved for device drivers, but do you know why the need for double the amount of RAM for device drivers on N7000 vs N6?

100Mb more available is all the more precious on the N7000. :angel:
[Galaxy Note GT-N7000 Android Development] ibrahim-jaber:
hello Bauner!

i want to ask if its ok to install Magisk ?
[Galaxy Note GT-N7000 Android Development] val-gaav:
I don't know if this wasn't noticed or whether is known problem (maybe not many people use tethering for long periods on this device) but:

1) Tethering via wifi or usb stops working if somebody calls the phone. It starts working only if you finish the call. I am 99% sure that on nightowl12 you could do both tethering and voice call at the same time.

2) It seems to me files downloaded from net ( lightning browser or biglybt) most of the time show up only in internal files browser. You do not see them on PC via usb cable . The resolutions is to copy them to sdcard1 via internal files app then the files do show up on the PC.

Nope magisk will never work with this rom. It was mentioned by the dev somewhere in this topic :
[Galaxy Note GT-N7000 Android Development] asusgarb:
No you can't. I asked it to banner too, and he said we cannot install it because kernel is not compatible (or something like that). Anyway, we can't use magisk :crying:
[Galaxy Note GT-N7000 Android Development] rhubarbdonkey:
Music/Audio always stops briefly when screen turns off

Hello, I'm really enjoying using my N7000 again and running Lineage on it. Many thanks to bauner for making this possible.

But... if there was just one thing I could change/fix it would be the issue with music/audio apps briefly cutting out when the screen turns itself off. Do other people also get this? I mainly use Poweramp, BBC iPlayer radio app, and Audials. All of them have this problem. Is there any way to fix this?
[Galaxy Note GT-N7000 Android Development] bauner:
1) The mobile data connection gets disable while calling. This is the normal behavior on 2/3G networks

2) I know about this but I don't know the exact reason. I also know that this happens on some other older devices too (also with stock roms). A reboot will also fix it.

BTW do you know if the files will get visible if you wait for a longer time?

I don't know if it will help but you can try to disable the battery optimisation for the affected apps in settings-battery-battery optimisation
[Galaxy Note GT-N7000 Android Development] val-gaav:
Nope. I don't know that, but will keep an eye on it and post if I get some results.
[Galaxy Note GT-N7000 Android Development] hockenberry:
I have reflashed my GN with version 14 (I used to run v13) and everything works OK. However I still have some performance issues, sometimes an app or another will freeze for a few seconds before working again. I cannot find a pattern to this (not always the same app, not always at the same execution step). How can I identify the culprit? (for instance, is there a way to check physical read errors? and a way to detect a process freezing other apps?).
[Galaxy Note GT-N7000 Android Development] rhubarbdonkey:
Hiya, thanks for trying to help with my issue. I've tried disabling the battery optimisation for all the audio related apps and services, but it's not made any difference unfortunately. I was also wondering if it was because of something I'd fiddled with, so I did a fresh install of Nightowl-lineage14.1-20180318-n7000.zip this evening and just installed some audio apps, turned off the battery optimisation for them, but yeah, I still have this problem. I'm wondering if anyone else gets this?
[Galaxy Note GT-N7000 Android Development] val-gaav:
I do get it when screen goes off and sometimes on screen rotation. I'm using VLC Player and performance plan in battery settings.

Not a big problem for me though.
[Galaxy Note GT-N7000 Android Development] Prinus:
I've had this issue as well, see post https://xdaforums.com/showpost.php?p=72135244&postcount=1077.

For me the issue remained over several NightOwl 14 versions till the end off my N7000, as stated it was less whilst using a bluetooth headset. I remember it being worse if you used the power button to switch off the screen, it was a little less if the screen turned itself off. I never found a fix for it.

Cheerz
[Galaxy Note GT-N7000 Android Development] rauds:
I habe the same issue with the break if screen switchs off. But hey its an old phone and the power requirenment or system handle / priority may have changed with the years.

Brauner you did a clean solid job with this rom. Thanks for this.
[Galaxy Note GT-N7000 Android Development] haveyouseenthisboi:
I've formatted my internal sd card as ext4 now los14 says my internal storage is corrupted. Is los 14 doesnt support ext4 storages? I know that system data and cache partition are formatted as ext4 but my internal and microsd cards are flagged as corrupted
[Galaxy Note GT-N7000 Android Development] bauner:
I know about permission problems with sdcard ext4 in my cm12.1 or cm13 rom. I did not test it with newer rom versions
[Galaxy Note GT-N7000 Android Development] haveyouseenthisboi:
Should I format my storage to F2FS? Whar fs do you use?
[Galaxy Note GT-N7000 Android Development] bauner:
I recommend to use ext4 (default) for /data and /cache and for the sdcards fat32
[Galaxy Note GT-N7000 Android Development] haveyouseenthisboi:
I formatted my /system and my /cache as F2FS and now LOS 14.1 is very very fast right now!!!
[Galaxy Note GT-N7000 Android Development] AndDiSa:
Especially formatting /system as F2FS helps a lot ... ?
[Galaxy Note GT-N7000 Android Development] haveyouseenthisboi:
Sorry i mean /data not /system but t is super fast as fast as cm11
[Galaxy Note GT-N7000 Android Development] Devil7524:
In the last assembly of NightOwl 20180318, the crash always sdcard0 (showing up as ^ M) and often the phone starts to brake not because of what. I put it on clean several times, it does not help, I did not have it on previous builds, it's just me?
[Galaxy Note GT-N7000 Android Development] Mrsizigi:
I have installed everything but it won't recognise my micro SD card and every time a go to settings ,storage. settings stops working
[Galaxy Note GT-N7000 Android Development] bauner:
Did you try to format the sdcard in the rom to use it as internal?

This is known to cause such problems.

Formatting it in the recovery as (v)fat(32) should fix it. (maybe you need to do this way: change the filesystem to ext4 and then back to fat)
[Galaxy Note GT-N7000 Android Development] haveyouseenthisboi:
Will resizing /cache partition increase performance?
[Galaxy Note GT-N7000 Android Development] val-gaav:
I remember there was a person here using this rom with microg. Any tips on using it instead of gapps ? Best method to get signature spoofing for this rom ? Xposed? Tingle ?
[Galaxy Note GT-N7000 Android Development] haveyouseenthisboi:
I tried it but I cant get youtube to work
[Galaxy Note GT-N7000 Android Development] val-gaav:
Well I don't care about youtube.... I need some gapps replacement (or gapps) just for gcm notifications (hangouts and skype). That and only that.

So how did you do it ? Xposed or Tingle ? Was the os more responsive with microg then gapps? What about battery life?
[Galaxy Note GT-N7000 Android Development] haveyouseenthisboi:
I used xposed. I didnt had enough observation because i immediately reflashed nougat w/ gapps

I remember yes it is also my /data and /cache are f2fs maybe also thats why
[Galaxy Note GT-N7000 Android Development] syphuoc2000:
hey bauner, can you give me the kernel of this rom ?
[Galaxy Note GT-N7000 Android Development] bauner:
I have attached it
[Galaxy Note GT-N7000 Android Development] hipunk:
I had the issue where the SD card was renamed into some scrambled text. The first like 10 times this happened, I reformatted, but the last time it happened, I just left it that way. After a few months (I don't update that often anymore), the original name came back. This information might help some people save time. I feel like this info belongs in the OP, as it seems that a lot of people have this problem and it just wastes everybodys time. People asking this question over and over again (wasting their time), so wasting bauners time because he has to read and reply to that, people trying to get rid of the issue silently without posting, so wasting their time as well, when the issue will just vanish itself.

I also want to point out something I found out about the signal reception indicators in los or android (?), the post is to be found here.

Thank you so much bauner, you helped me a lot with your work, it made and makes it possible for me to save so much money, I am very grateful for your work.

Here's a Protip for every Note user:

OpenCamera (on fdroid or play store) with the "night" setting will make your notes camera a beast in the night. I was shocked when I found that almost by accident.

Greetz