[ROM][UNOFFICIAL][11.0][ N7105/T0LTE ][Samsung Galaxy Note 2 LTE][ LineageOS 18.1 ][BETA][TREBLELIZED]

Search This thread

No3te

Member
Sep 9, 2021
8
4
Hmm ok, I didn't test google voice service...

Hmm, strange, this seems to work with my device.
Maybe it's my english.
I ment Android keyboard. I speak a lot, instead typing.
Pressing mic icon on keyboard does nothing.

Regarding "blink" problem it's very well known - check Note 3 thread.
There were "accusations" like: inteli pixels, Live display, blur option and may be others.

It's less then 24 hours, and I flashed ROM only 2 times.
I will try MGapps today and report, for sure.
My device was flashed with LOS to Android 5, and then 7.1.2 and used as everyday phone.
Now I'm using Note 3 9005, as CrDroid+GA works with not a single problem on Androd 11, including OTA upgrades.
 

No3te

Member
Sep 9, 2021
8
4
OK, I had no problem with this, what happened?

This is normal, because selinux is permissive.

Ah you're right, I will remove or disable this, because I've removed the lineage recovery from the build in general,
I don't wan't that TWRP will be overwritten...

I'm unsure what do you mean with this:unsure:
After choosing language in initial set up, it says - google voice services not working, 2 more set up screens and it stops in "wait a minute" screen.
Voice service not working in AOSP keyboard.

Another problem is well known in Note 3 ROMS - 10 and 11.
When you pull qa menu from the top of screen you get icons: wifi, battery etc. While pressing and holding battery icon(and some others) screen blinks to black, says "interface crashed" and goes back to normal.
"Solution" to this is switch off description under icons.

Sorry for not giving "logs" but it's over my skills. ;)
Tried to send "bug report" but it warns about privacy
I will try Mind the gapps, what helped me with Note 3.
Could you create a video where you can show what exactly happens?
I just flashed LOS and latest MindTheGapps.
After first reboot ALL seams FINE and working. Not a single problem.
No problems durying setup.
It's just an hour and I dont't know about NFC which I dont use.
Congratulations for Your great work.

P.S.
I wouldn't like to record crashing interface, as it works now.
I will try to explain.
On main screen from the top you pull quick access menu.
There are many icons like: battery,wifi,location,NFC, rotation etc.
Pressing and holding finger on battery icon should automatically open battery menu in settings.
Instead all screen turns black for second or so and comes back with main screen.
Repeating this procedure gives notificaion - "interface keeps crashing" and "about app".
When you turn of descriptions under icons in qaccess pull down "drawer" (in settings menu) everything works OK.
It happens also when you touch "settings" icon at the bottom of qaccess drawer.
 
  • Like
Reactions: html6405

html6405

Recognized Developer
After choosing language in initial set up, it says - google voice services not working, 2 more set up screens and it stops in "wait a minute" screen.
Maybe a gapps problem,
icon(and some others) screen blinks to black, says "interface crashed" and goes back to normal.
"Solution" to this is switch off description under icons.
hmm tested this on all my devices, it's working everywhere...
Did you install the ROM clean?
It happens also when you touch "settings" icon at the bottom of qaccess drawer.
Tested also this, no problem.
 

No3te

Member
Sep 9, 2021
8
4
Maybe a gapps problem,

hmm tested this on all my devices, it's working everywhere...
Did you install the ROM clean?

Tested also this, no problem.
I did wipe: cache, d.cache, data, system.
Wipe d.cache before reboot to system.
It looks like gapps issue.
Now it works and don't have to switch off descriptions under icons.
I may say I'm amazed that in first version of ROM there are no problems AT ALL.
Never seen that before, installing custom ROM's like...100 times.
If alpha is that good I've no idea what would be "official" ;).
Only this recovery bug...
For me only one feature missing is editing clock widget(font-bold, colour).
 
  • Like
Reactions: html6405
D

Deleted member 11848357

Guest
pretty solid for an alpha

some issues compared to LineageOS 16.0

major: no baseband/imei/etc..maybe corrupted efs? not a deal breaker since wifi works

minor: - no charging/notification led
- heavier battery drain (10%/hr) screen off airplane mode/no sync on clean flash with no gapps and only termux + magisk / on 16.0 was 10%/day with same setup
"cat /sys/class/power_supply/battery/current_now" shows 0
- livedisplay is buggy and settings don't survive reboot
- "Device Wi-Fi Mac address" shows 00:00:00:00:00:00 but shows and connects to access point with correct mac under "wi-fi mac address" in about phone.

I removed Via - /vendor/app/via. Not sure if that's meant to be included.
 
Last edited by a moderator:

html6405

Recognized Developer
It looks like gapps issue.
Now it works and don't have to switch off descriptions under icons.
Great,
If alpha is that good I've no idea what would be "official" ;).
I don't think that I will make it official, this is so much time consuming, did this
for some devices on /e/.
major: no baseband/imei/etc..maybe corrupted efs? not a deal breaker since wifi works
Ok, this shouldn't be, if you're having a recent KitKat modem and bootloader installed, the modem should boot up.
Does it work with LOS 16? Than it should also work with LOS 18...
heavier battery drain (10%/hr) screen off airplane mode/no sync on clean flash with no gapps and only termux + magisk / on 16.0 was 10%/day with same setup
This is because of the not working modem, the RIL deamon tries to boot up all the time.

I hope you didn't touch the efs partitions in the repartitioning process.
(Maybe you can tell me how you did it?)

- livedisplay is buggy and settings don't survive reboot
Ah ok, what's exactly buggy? I've just tested a reboot and the settings were stored correctly.
- "Device Wi-Fi Mac address" shows 00:00:00:00:00:00 but shows and connects to access point with correct mac under "wi-fi mac address" in about phone.
Ok, this is also known, the macloader works correctly but it doesn't show's it in the settings, I will check this...
I removed Via - /vendor/app/via. Not sure if that's meant to be included.
Via is included for AOSP (GSI), because there is no useful browser included.
 
D

Deleted member 11848357

Guest
Ok, this shouldn't be, if you're having a recent KitKat modem and bootloader installed, the modem should boot up.
Does it work with LOS 16? Than it should also work with LOS 18...

This is because of the not working modem, the RIL deamon tries to boot up all the time.

I hope you didn't touch the efs partitions in the repartitioning process.
(Maybe you can tell me how you did it?)


Ah ok, what's exactly buggy? I've just tested a reboot and the settings were stored correctly.

Ok, this is also known, the macloader works correctly but it doesn't show's it in the settings, I will check this...

Via is included for AOSP (GSI), because there is no useful browser included.
Don't remember if I updated to Kitkat on stock, it had CWM and CMx.x. when I pulled it out of the drawer.

Went to https://xdaforums.com/f/t-mobile-samsung-galaxy-note-ii.1877/ but its dead so came here.

Flashed your TWRP and LOS 16. I remember seeing IMEI on 16 but didn't test sim

For repartition, I adb pushed parted, did rm partitions 11-16, then mkpart remade those in same order but resized and reformatted the new ones using mke2fs. Didn't touch radio/efs.


What's the best way to fix this? Flash stock through Odin? Flash modem? It doesn't bother me that modem isn't working but battery drain is a pain. Maybe disable telephony service?

For livedisplay, I have to switch between Off and auto when its set to auto for it to change temp. connected on wifi with right date/time
 
Last edited by a moderator:

html6405

Recognized Developer
Flashed your TWRP and LOS 16. I remember seeing IMEI on 16 but didn't test sim
Ok this is good, than your modem should be compatible.
For repartition, I adb pushed parted, did rm partitions 11-16, then mkpart remade those in same order but resized and reformatted the new ones using mke2fs. Didn't touch radio/efs.
Oh, so you've also deleted:
11 164MB 432MB 268MB ext4 TOMBSTONES
12 432MB 1432MB 1000MB ext4 CACHE
?
May I ask why (it's not needed for the re-partitioning process)?

Tombstones is needed for our modem, without it can't be booted up.
Maybe you've didn't formatted Tombstones correctly (ext4), maybe you should recheck this.

Otherwise set the original pit-file and restart your re-partitioning process and just delete 13-16.
 
D

Deleted member 11848357

Guest
Ok this is good, than your modem should be compatible.

Oh, so you've also deleted:
11 164MB 432MB 268MB ext4 TOMBSTONES
12 432MB 1432MB 1000MB ext4 CACHE
?
May I ask why (it's not needed for the re-partitioning process)?

Tombstones is needed for our modem, without it can't be booted up.
Maybe you've didn't formatted Tombstones correctly (ext4), maybe you should recheck this.

Otherwise set the original pit-file and restart your re-partitioning process and just delete 13-16.
Ah that's where I messed up. I tried to reclaim some disk space and mirrored my Nexus device without thinking . I shrunk Tombstones from 268mb to 128mb.

11 164MB 292MB 128MB ext4 TOMBSTONES
12 292MB 804MB 512MB ext4 CACHE
13 804MB 2804MB 2000MB ext2 SYSTEM
14 2804MB 3391MB 587MB ext4 HIDDEN
15 3391MB 3399MB 8000kB OTA
16 3399MB 15.8GB 12.4GB ext4 USERDATA
 

html6405

Recognized Developer
Ah that's where I messed up. I tried to reclaim some disk space and mirrored my Nexus device without thinking . I shrunk Tombstones from 268mb to 128mb.

11 164MB 292MB 128MB ext4 TOMBSTONES
12 292MB 804MB 512MB ext4 CACHE
13 804MB 2804MB 2000MB ext2 SYSTEM
14 2804MB 3391MB 587MB ext4 HIDDEN
15 3391MB 3399MB 8000kB OTA
16 3399MB 15.8GB 12.4GB ext4 USERDATA
I guess, if you fix this, baseband should work and the battery drain should be gone.
 
D

Deleted member 11848357

Guest
I guess, if you fix this, baseband should work and the battery drain should be gone.
so something's not right..

Fully restored to latest 4.3 T889UVUCOH4 using Odin. Shows baseband/imei and works.

Loaded your TWRP twrp-3.5.2_9-1-t0lte.img through Odin.
Clean flash your LOS 16. No baseband/imei.

Restored again to 4.3. Shows baseband/imei.
Loaded your TWRP twrp-3.5.2_9-1-t0lte.img through Odin.

Clean flash LOS 14.1 https://xdaforums.com/t/rom-eol-7-1-2-official-lineageos-for-t0lte.3538310/ Shows baseband/imei and works.

Dirty flash your LOS 16 over 14.1. Shows baseband/imei and works.

Going to try repartitioning and flash 18.1 tomorrow.
 
Last edited by a moderator:

html6405

Recognized Developer
D

Deleted member 11848357

Guest
Hmm this is strange, by the way, I would recommend to use a KitKat modem and bootloader.

Tell me how it works.
Got it working on 18.1

I can try using Canada's T889V 4.4.2 modem/bootloader as 4.3 is the latest/last for US T889
Don't think N7105 or other variants will work cause of lte bands

Screenshot_20211015-013922_Settings.png
 
  • Like
Reactions: html6405

Robs03

New member
Oct 17, 2021
3
0
Just got this ROM up and running on my refurbished GT-N7105 that I recently bought.
I have noticed the Trust security features (SELinux) and (Encryption) seem to be disabled and keep getting alerts whenever turning on the phone.

I also unfortunately cannot get MMS working at all on any Lineage Version I have tried (3 so far).
I have tried re-setting my network settings and configuring my APN settings using my mobile network carrier's settings.

When connecting to a Wifi network MMS then suddenly works.

Total novice here.
 

html6405

Recognized Developer
I have noticed the Trust security features (SELinux) and (Encryption) seem to be disabled and keep getting alerts whenever turning on the phone.
Yes, but you can disable these alerts.
I also unfortunately cannot get MMS working at all on any Lineage Version I have tried (3 so far).
I have tried re-setting my network settings and configuring my APN settings using my mobile network carrier's settings.

When connecting to a Wifi network MMS then suddenly works.
Hmm ok, I never tried this, did you use 3G for this?
Because LTE is causing more troubles...
 

Robs03

New member
Oct 17, 2021
3
0
Hmm ok, I never tried this, did you use 3G for this?
Because LTE is causing more troubles...
Hi, I tried resetting my network settings to factory default last night and then selecting 3G but unfortunately no luck with the MMS or getting internet access. The phone now seems to be stuck in 3G mode and cannot change it back to 4G / LTE.

I recently bought a refurbished Note 10+ for mum.

I was attracted to the Samsung Note phones as they score well in the SAR radiation tests compared to other phones. :)
 

html6405

Recognized Developer
Hi, I tried resetting my network settings to factory default last night and then selecting 3G but unfortunately no luck with the MMS or getting internet access. The phone now seems to be stuck in 3G mode and cannot change it back to 4G / LTE.

I recently bought a refurbished Note 10+ for mum.

I was attracted to the Samsung Note phones as they score well in the SAR radiation tests compared to other phones. :)
Hmm ok, thanks for testing, but at least after a reboot you should be able to switch back to LTE.
There is still much work to be done to have a good enough working RIL.
 
D

Deleted member 11848357

Guest
Not sure if intentional but, flashlight goes to sleep after screen locks within 5 secs. takes a few presses on the icon to retoggle in quick settings.

Doesn't happen on your LOS 16.

also on both LOS 16 and this, lowest display brightness is a bit bright for an amoled panel? anyway to increase the range from lowest to highest?
 
Last edited by a moderator:

html6405

Recognized Developer

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Code:
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    *
    */


    Hi,

    here you can find my version for the Samsung Galaxy Note 2 LTE on LineageOS 18.1.
    At first I want to thank @rINanDO, @ChronoMonochrome for all your work which was reused here and helped a lot.

    This ROM is only tested with N7105, so maybe you could to give me a feedback if it does or does not work with all the different Note 2 LTE variants.

    It theoretically should fit for:
    • SGH-I317
    • SGH-I317M
    • SCH-I605
    • SPH-L900
    • SGH-T889
    • SHV-E250S
    • SHV-E250K
    • SHV-E250L
    • SC-02E
    • GT-N7105/N7105T
    • SGH-T889V
    • SHV-E250S/E250K/E250L
    • SC-02E (SGH-N025)
    Here you can see how far everything is working:

    Boot
    Audio
    Bluetooth
    Graphics
    Cameras
    Wifi
    USB
    Video playback (HW/SW)
    OTA Updates
    RIL
    GPS
    Tethering via USB, WIFI and Bluetooth
    Sensors, except compass
    • Maybe random reboots because of a modem crash
    • Maybe more
    Samsung seems to use differen't partition tables for these devices,
    so far we know a t889, I317 and maybe other devices != n7105 are having a too small HIDDEN (for us vendor) partition.
    So if you're facing problems like here

    Getting "E2001: Failed to update vendor image." during clean flash.

    This means that you have to resize it, check out these two posts:
    Manual way
    Zip way
    If you are going to use Gapps,
    I recommend to use the pico package!
    https://opengapps.org/
    For the others, you can use microG if you want, I've enabled signature spoofing.

    Do you like my work?
    Than you can simply hit the thanks button and consider to spend me a coffee or a beer,
    I'm doing this in my free time and it also costs a lot of money to buy hardware.
    donate


    Wanna improve your sound configs, control your charging current and more?
    Now you can use my app to access all boeffla configurations, there will follow more functions.


    XDA:DevDB Information
    [ROM][11.x][N7105/T0LTE][BETA] LineageOS 18.1, ROM for the Samsung Galaxy Note 2 LTE

    Contributors

    html6405
    Source Code: https://github.com/html6405

    ROM OS Version: 11.x R
    ROM Kernel: Linux 3.x
    ROM Firmware Required: TWRP 3.3.0
    Based On: LineageOS

    Version Information
    Status:
    Beta
    SELINUX: permissive

    Created 2021-10-11
    Last Updated 2022-04-20
    4
    This is how I managed to get the ROM to flash this (as far as I know) should be doable without a PC if TWRP is already flashed and there is an SD card in the phone. I don't know if this will work for any devices other than AT&T(I317) and T-Mobile (T889)

    1. **BACKUP ENTIRE INTERNAL STORAGE** this will wipe your device.
    2. Download the ROM, GAPPS, CWM.zip, TWRP.zip, and Note2-LTE_Repartition.zip and copy them to external SD Card
    3. Reboot recovery (assuming TWRP is already flashed as the recovery)
    4. Once in TWRP: Install -> CWM.zip -> Swipe to confirm Flash (device will reboot into CWM recovery)
    5. Once in CWM: Install zip -> choose zip from /storage/sdcard1 -> Note2-LTE_Repartition.zip -> Yes - Install (device will reboot back into CWM)
    6. Once in CWM #2: install zip -> choose zip from /storage/sdcard1 -> TWRP.zip -> Yes - Install (device will reboot into TWRP)
    7. Once in TWRP #2: Swipe to Allow Modifications -> Wipe -> Format Data -> yes -> home button
    8. Install -> Select Storage -> Micro SD Card -> OK -> select the ROM zip -> Swipe to confirm Flash
    9. Flash GAPPS/Reboot System

    -I had to flash CWM first because the zip was not doing anything when flashing it in TWRP but worked in CWM for some reason.
    3
    D
    Deleted member 11848357
    ok i will wait tutorial .😁
    ok, well - here it is.

    I assume no responsibility if you brick your device.Back up any info.

    a.You should be on the latest firmware:

    b. You need the latest TWRP:

    c. You need adb tools:
    ca. You may need Samsung drivers if on Windows

    d. You need parted static binary for arm - download and unzip:

    _ _ _

    1. Connect usb and boot in TWRP recovery on Note 2
    2. In terminal type

    Bash:
    adb devices  #Will show phone in recovery mode
    adb push location/of/parted /
    adb shell
    chmod +x parted
    umount /system
    umount /data
    umount /cache
    umount /sdcard
    ./parted /dev/block/mmcblk0

    Now you're in parted console

    3. In console type
    Bash:
    unit MB
    
    print free

    It will show something like for 16GB internal storage :

    Code:
    Model: MMC MAG4FB (sd/mmc)
    Disk /dev/block/mmcblk0: 15758MB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    
    Number  Start   End      Size     File system  Name        Flags
            0.02MB  4.19MB   4.18MB   Free Space
    1      4.19MB  8.39MB   4.19MB                BOTA0
    2      8.39MB  12.6MB   4.19MB                BOTA1
    3      12.6MB  33.6MB   21.0MB   ext4         EFS
    4      33.6MB  37.7MB   4.19MB                m9kefs1
    5      37.7MB  41.9MB   4.19MB                m9kefs2
    6      41.9MB  46.1MB   4.19MB                m9kefs3
    7      46.1MB  54.5MB   8.39MB                PARAM
    8      54.5MB  62.9MB   8.39MB                BOOT
    9      62.9MB  71.3MB   8.39MB                RECOVERY
    10      71.3MB  164MB    92.3MB   fat16        RADIO
    11      164MB   432MB    268MB    ext4         TOMBSTONES
    12      432MB   944MB    512MB    ext4         CACHE
    13      944MB   2944MB   2000MB   ext2         SYSTEM
    14      2944MB  3531MB   587MB    ext2         HIDDEN
    15      3531MB  3539MB   8.00MB                OTA
    16      3539MB  15758MB  12219MB  ext4         USERDATA

    Only modify partitions from 12 -16 :
    Otherwise, you will have to flash stock .pit/rom to fix and start over

    Your partition sizes will be the original values from stock if you never modified them. Below are mine after I modified them.


    Code:
    12      432MB   944MB    512MB    ext4         CACHE
    13      944MB   2944MB   2000MB   ext2         SYSTEM
    14      2944MB  3531MB   587MB    ext2         HIDDEN
    15      3531MB  3539MB   8.00MB                OTA
    16      3539MB  15758MB  12219MB  ext4         USERDATA

    You can resize how ever you want but it's important to grow the HIDDEN (to use as vendor partition for treble) and SYSTEM (for gapps/future use) partition. I took space from CACHE partition as I don't think it's necessary anymore.

    4.Partitions must be contiguous and in order so can't resize without deletion- type

    Bash:
    rm 12
    rm 13
    rm 14
    rm 15
    rm 16

    5. Now the partitions must be recreated in the same order as deletion - type

    Bash:
    mkpart primary ext4 432 944 #End of partition 11/in example above#
    name 12 CACHE
    
    mkpart primary ext4 944 2944
    name 13 SYSTEM
    
    mkpart primary ext4 2944 3531
    name 14 HIDDEN
    
    mkpart primary  3531 3539
    name 15 OTA
    
    mkpart primary ext4 3539 15758
    name 16 USERDATA

    6. Now quit parted console - type

    Bash:
    quit

    7. Make sure partitions are formatted correctly - type

    Bash:
    mke2fs -b 4096 -T ext4 /dev/block/mmcblk0p12
    mke2fs -b 4096 -T ext4 /dev/block/mmcblk0p13
    mke2fs -b 4096 -T ext4 /dev/block/mmcblk0p14
    mke2fs -b 4096 -T ext4 /dev/block/mmcblk0p16

    Now check to make sure it looks right - type

    Bash:
    ./parted /dev/block/mmcblk0 p free
    exit

    Then reboot TWRP and flash the rom.

    You might see some errors in TWRP so, you'll want to go to Wipe > Advanced Wipe > check "System" then head to "Repair or Change File System", > then tap on "Resize File System." Do the same for the other partitions.
    2
    Finally got this running on my I317 after multiple trial and errors flashing files to adjust the vendor partition its crazy to me this phone has android 11 nice work (y)
    2
    D
    Deleted member 11848357
    same as you. i cant flash this rom.
    can u give a solution? how to fix this?
    hey, yeah it depends on what you have currently running on your device
    and your comfort level with diy - which baseband/rom/twrp do you have now

    basically, what's happeneing to TMo Note 2s is that the HIDDEN partition is too small (~20MB) to repurpose for use as the vendor partition for treble roms. The HIDDEN partition contains carrier bloatware that reinstalls on every factory reset. International Note2s have a much larger partition (~550MB).

    maybe, @html6405 can add a partition size logic check to /META-INF/com/google/android/updater-script ?

    there are three solutions:

    a) since it's recommend to flash twrp through odin/heimdall, a modified .pit (partition information table) with correct sizes can also be flashed at the same time. There's a tool called Pit Magic that can do this.

    b) a flashable twrp script - needs to be made

    c) manually repartition using parted through adb shell/can be done through twrp also I suppose

    I went the manual way, since for me, it's a time one thing.

    I'll add a manual tutorial later since I don't have the note 2 in front of me.