yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II N7105 Android Development] No3te:
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).
[Galaxy Note II N7105 Android Development] :
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.
[Galaxy Note II N7105 Android Development] html6405:
Great,

I don't think that I will make it official, this is so much time consuming, did this

for some devices on /e/.

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.
[Galaxy Note II N7105 Android Development] :
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
[Galaxy Note II N7105 Android Development] html6405:
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.
[Galaxy Note II N7105 Android Development] :
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
[Galaxy Note II N7105 Android Development] html6405:
I guess, if you fix this, baseband should work and the battery drain should be gone.
[Galaxy Note II N7105 Android Development] :
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.
[Galaxy Note II N7105 Android Development] html6405:
Hmm this is strange, by the way, I would recommend to use a KitKat modem and bootloader.

Tell me how it works.
[Galaxy Note II N7105 Android Development] :
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
[Galaxy Note II N7105 Android Development] Robs03:
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.
[Galaxy Note II N7105 Android Development] html6405:
Yes, but you can disable these alerts.

Hmm ok, I never tried this, did you use 3G for this?

Because LTE is causing more troubles...
[Galaxy Note II N7105 Android Development] Robs03:
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. :)
[Galaxy Note II N7105 Android Development] html6405:
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.
[Galaxy Note II N7105 Android Development] :
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?
[Galaxy Note II N7105 Android Development] html6405:
Ah ok, I will try this.

The display brightness is set to 20% as minimum value.
[Galaxy Note II N7105 Android Development] :
Yeah, I saw ro.lcd_min_brightness is set to 20 so I changed it to 10/1

with no effect on each.

both

settings get system screen_brightness

cat /sys/class/backlight/panel/brightness

shows 30 not 20

with default settings and with changes to ro.lcd_min_brightness

both echo 10/1 > /sys/class/backlight/panel/brightness and

settings put system screen_brightness 10/1 don't work

autobrightness is off with brightness level showing 0 % in settings

maybe limitation of driver/panel? I'll have to dig around to see what Samsung defaults are.

reason for all this is that - if you use the brightness slider, there's isn't very noticeable difference until you're at 40% so 20% is same as 0%.

I also added qemu.hw.mainkeys=0 to build.prop so I can get gesture navigation for easier one-handed use.

Works decently even with physical/capacitve buttons
[Galaxy Note II N7105 Android Development] HarimaruYT:
just for information

ill try on my device SHV-E250S

the Lineage OS is good but

the problem is Wifi and SIM Card can't connected, just it

can someone tell me OS recomended 100% work for SHV-E250S

or GT-N7100, 100% i mean the sim card is good, wifi working good without instaling fix-murata.zip ( but if murata.zip can help no problem ) and gapps can fit the android without error. thankyou
[Galaxy Note II N7105 Android Development] html6405:
This is because of the changed auto brightness behaviour from android 11 itself, I would have to overwork the values in the driver + create some new overlay values.

The sim part is still buggy, but I'm working on this to get it more stable.

Theoretically, it should get recognized, maybe after the second reboot and if you wan't to use the mobile data, you have to reset the APN settings after every boot.

Wifi is working fine in my case, what exactly happens?

Nope, this is for the N7105...
[Galaxy Note II N7105 Android Development] :
ok cool so in...

overlay/frameworks/base/core/res/res/values/config.xml

I added

<integer-array name="config_autoBrightnessLevels">
<item>5</item>
<item>9</item>
<item>30</item>
<item>100</item>
<item>325</item>
<item>1250</item>
<item>3500</item>
<item>10000</item>
<item>20000</item>
</integer-array>

<integer-array name="config_autoBrightnessLcdBacklightValues">
<!-- 5 --> <item>6</item>
<!-- 9 --> <item>18</item>
<!-- 30 --> <item>30</item>
<!-- 100 --> <item>59</item>
<!-- 325 --> <item>74</item>
<!-- 1250 --> <item>92</item>
<!-- 3500 --> <item>118</item>
<!-- 10000 --> <item>155</item>
<!-- 20000 --> <item>222</item>
<item>255</item>
</integer-array>

<integer name="config_screenBrightnessSettingMinimum">6</integer>

in smdk4412 kernel - drivers/video/backlight needs what?
[Galaxy Note II N7105 Android Development] html6405:
I can't tell you know, but as I did on the Samsung Galaxy S3, it could be that the values from 0 to 255 need to get customized.

I will improve the backlight values anyway soon, this is just the first alpha build, so at first I will conentrate on the RIL part, afterwards autobrightness and other stuff.
[Galaxy Note II N7105 Android Development] :
thanks no rush, I'm just learning this stuff as a hobby.
[Galaxy Note II N7105 Android Development] Robs03:
Can someone please explain how to minimize a window that you have open on the Samsung Note 2 like how you can in Microsoft Windows?

On a previous Lineage version the menu button on the Note 2 when pressed would show all the apps open in a layered type affect and I could then press whichever app to open it again in full screen.

Thanks
[Galaxy Note II N7105 Android Development] html6405:
press the menu button one second, you can customize this in settings->buttons.
[Galaxy Note II N7105 Android Development] html6405:
Update 26.10.2021:

Fixed modem crash issue in Kernel, the connection still get's lost sometimes and you still have to reset the APN settings after every boot, I'm working on this...

Fixed OTA-Update path, please upgrade manual this time
[Galaxy Note II N7105 Android Development] html6405:
Update 31.10.2021:

Fixed GPS week rollover issue

Fixed S-Pen gestures
[Galaxy Note II N7105 Android Development] jim28gun:
same as you. i cant flash this rom.

can u give a solution? how to fix this?
[Galaxy Note II N7105 Android Development] :
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.
[Galaxy Note II N7105 Android Development] jim28gun:
ok i will wait tutorial .😁
[Galaxy Note II N7105 Android Development] jim28gun:
OMG.. i do some mistake..

when i check my phone..

t889, i lost my imei and baseband.😭

i don't hava any backup..

how to fix this? i tried to inject and repair imei with z3x tool but still lost imei😭
[Galaxy Note II N7105 Android Development] xBkKx:
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)
[Galaxy Note II N7105 Android Development] Mnementh666:
You good sir are awesome.

However, using the parted you linked to ended with a "kernel too old" error when running in adb shell.

I searched around, and found this version, which worked.
[Galaxy Note II N7105 Android Development] html6405:
Maybe a simple repartition with Odin could have brought your IMEI back,

what exactly did you do?

BTW, a working version of parted is included in the vendor image :),

I've included this for resizing the system partition for bigger GSI's.
[Galaxy Note II N7105 Android Development] xBkKx:
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.
[Galaxy Note II N7105 Android Development] html6405:
Thanks, I've wanted to create a zip anyway soon,

I will link your post on the start post.
[Galaxy Note II N7105 Android Development] html6405:
I guess this is because parted is not included in TWRP, you simply could add it to the zip package and extract it to /tmp and use parted from there, then we don't have to flash cwm for this. (I would have done it this way)
[Galaxy Note II N7105 Android Development] James62370:
This is extremely helpful. Is it possible to do an Undo Repartition zip file in case we decide to go back to the original partition sizes? Greatly appreciated. Thank you so very much.
[Galaxy Note II N7105 Android Development] html6405:
This would be as easy as it was to create the other zip.

But, much easier would be to simply set the original pit file...
[Galaxy Note II N7105 Android Development] James62370:
I apologize for my newbness. Do you mean by flashing an original Samsung Firmware would restore the original partition sizes?
[Galaxy Note II N7105 Android Development] html6405:
It's already enough to flash the pit file, but you could download with frija a 4 part firmware and the partition sizes will be restored.
[Galaxy Note II N7105 Android Development] James62370:
I was finally able to flash this Android 11 Rom after using the re-partitioning zip file that was previously posted. Unfortunately, when I put my sim card in the phone, it doesn't register onto the network. I have a T-Mobile SGH-T889. I reflashed my EFS & Baseband, but still no success in registering to the Mint Mobile network.

I tried flashing back to stock, but failed to complete the update after reboot. I guess due to the partition size changes. Any idea as to how to get my sim card working with this Rom? If not, I'll go back to Stock Touchwiz, but I can't figure out how to get the partition back to it's previous state in order to Odin back to stock

Thank you for your help.
[Galaxy Note II N7105 Android Development] html6405:
Did you lost your IMEI with this process or what exactly happened?

? (I hope you just reflashed a backup, but normaly you must not play around with efs after a ROM flash)

You simply have to reset the pit file, download a 4 part firmware with frija if you don't have it stored on your PC.
[Galaxy Note II N7105 Android Development] James62370:
Thank you for your response.

I did not lose my IMEI. The phone just doesn't connect with my mobile provider. My sim card works on my other devices.

Yes I flashed a backup of my EFS and Baseband Modem.

Can you elaborate on exactly how to reset the pit file? I downloaded the firmware from frija, it's the same image file that I had before. Is there a different process to download the 4 part firmware?

Also just realized that this is Alpha. Has anyone gotten there mobile network operational with this Rom or are most people just using their beloved Note 2 as a backup with only wifi.

Appreciate your help.
[Galaxy Note II N7105 Android Development] html6405:
Hmm ok, then it could be a problem from the ROM, RIL is a real mess on these devices...

Sometimes it needs another reboot, that your sim gets recognized.

You have to enable the option "binary nature" in the settings.

I'm using my device with LTE.
[Galaxy Note II N7105 Android Development] James62370:
Was able to restore back to original partiions. Fully restored to latest T-Mobiles 4.3 T889UVUCOH4 using Odin. Phone recognizes baseband modem and imei, but doesn't see any sim card now. Very strange, before the phone was able to recognize a sim, but unable to connect to the mobile network.

I even tried flashing back to an older modem, but if the phone can't recognize that there is a sim in it, then it's definitely not going to be able to register onto a mobile network.

I'm at a lost now, guess will just have to use it with wifi.

Appreciate all your help.
[Galaxy Note II N7105 Android Development] html6405:
Check if the test mode is disabled in the efs.
[Galaxy Note II N7105 Android Development] James62370:
I apologize but I'm not sure how to go about this. Could you provide step by step procedure or a link that explains how to do this? Thank you.
[Galaxy Note II N7105 Android Development] html6405:
There are many way's to do that, here's a tutorial:

How to Exit Factory Mode for Samsung Galaxy Devices

"Factory Mode" is enabled if the EFS partition of your device is corrupted. Sometimes if you succeeded in fixing the EFS partition, you stuc...

firmwareandroidyes.blogspot.com
[Galaxy Note II N7105 Android Development] James62370:
Following the above tutorial... The device's Factory Mode is "ON". Can I assume that test mode is disabled in the EFS partition?
[Galaxy Note II N7105 Android Development] html6405:
Hmm ok, and are you sure that your sim card reader coudn't be the problem?

Is your IMEI a valid IMEI or does it start with 0049?
[Galaxy Note II N7105 Android Development] James62370:
IMEI is valid, but at this point I cannot confirm that the sim card reader is good. I've put in my sim card into the reader so many times, it may have gotten damaged. Luckily the actual sim card still works on my main phone.
[Galaxy Note II N7105 Android Development] html6405:
Hmm ok, than it should work at least on stock ROM.
[Galaxy Note II N7105 Android Development] James62370:
When I flashed the pit back and loaded the stock Rom it still stated no sim card so probably the reader got damaged. It's ok, I'm still using your ROM with wifi. Nice to have Android 11 on such an old device. I do appreciate your help.
[Galaxy Note II N7105 Android Development] html6405:
Update 09.11.2021:

Synced with latest LOS sources (Security patch level 01.10.2021)

Fixed GPS week rollover issue

Fixed setup wizard

Improved auto-brightness behavior

Set swappiness to 1.

Some RIL fixes, but still not perfect...
[Galaxy Note II N7105 Android Development] nbig95:
Hello,

First of all, Thank you for tour job. I installed your new ROM with pico Gapps and in see,s successful with your TWRP, but the GT-N7105 phone request the SIM pin all the time. When I put it, it is requested again in a loop mode.... So, finally the sim is not recognized and not connected, then it is working on wifi, but not with the 4g Sim network. I tried 2 Sim cards and I get the same issue. Do you have a solution, please?
[Galaxy Note II N7105 Android Development] html6405:
Disable the SIM-Pin with an other device,

this is a strange known issue, sometimes it works to unlock the sim, sometimes not.
[Galaxy Note II N7105 Android Development] sosodef_3000:
Hi, this is amazing html6405~~ Has anyone tested this on SHV-E250K and had success?
[Galaxy Note II N7105 Android Development] html6405:
Update 09.12.2021:

Fixed tethering

Fixed wifi mac adress in settings

Some tweaks

Fixed NetGuard support in Kernel

Disabled WPA3 in RRO overlay

Introduced new possibility to enable / disable the software navbar, this is needed to use Android 10 / 11 touchscreen gestures.

To enable / disable it do the following:

adb shell

su

setprop toggle_navbar true (also for disabling)

(You can also use a terminal emulator)

Enabled default gesture navigation (you can use my toggle_navbar script to modify it)

Enabled dex preopt

Partly fixed USB mode selection, just reconnect the device to make it active

Synced with latest LineageOS sources
[Galaxy Note II N7105 Android Development] sc02e-j:
great!

Update 09.12.2021　Installed

OK: Fixed wifi mac adress in settings
[Galaxy Note II N7105 Android Development] sc02e-j:
TWRP-3.5.2_9-T0LTE About Issues I can not Install TWRP installation failed could not start TWRP Remove the option "Auto Reboot" of the ODIN settings, When ODIN's transfer is over, remove the battery and kill forced. Resolve by reinstalling the battery and starting
[Galaxy Note II N7105 Android Development] sc02e-j:
About Google Gapps Installation

BAD:

Error 70 GAPP

OPEN_GAPPS-MICRRO 428MB

OPEN_GAPPS-NANO 386 MB

OK:

OPEN_GAPPS-PICO 108 MB

It seems that the system partition is insufficient for the reason

System partition 1511MB

So this time Gapps is MindTheGapps-11.0.0-ARM-20210920 176 MB Installed

pic

20211109 Ver (Freespace 227MB) PICO

20211209 Ver (FreeSpace 103.6MB) Mindthegapps

Stable
[Galaxy Note II N7105 Android Development] lee nomal:
Tested on SHV-E250S.

OH4 It should be uploaded immediately after the last firmware is applied for normal operation.

GPS does not work with genuine firmware and Lineage 14.1 after uploading the firmware, so please refer to those who use GPS.

Previously, gps worked normally with genuine firmware and Lineage 14.1.

Currently, it only works normally in rr rom 5.8.5.

It often reboots in the middle, but considering the age of the device,

can bear it.

Magick Rooting does not work.

I uploaded it from twrp, but I can't find the magick after boot.

In other versions it works fine. It does not install only in 18.1.

Is it possible to distribute the rooted boot.img together?
[Galaxy Note II N7105 Android Development] html6405:
GPS doesn't work on your device in general or only after the last update?

On my N7105, GPS did work.

Just install the magisk apk in TWRP and afterwards in the booted system.

This would be possible, but rooting is so trivial.