yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II N7105 Android Development] lee nomal:
Rooting is simple, but there are cases where the installation does not work properly, so I requested it. When I boot from twrp after installation, magisk is not found. I've also installed the Catalina version, but it's the same. I installed it normally on other devices, and I like to use magisk. I know it's easy to install too. However, in 18.1, the installation did not proceed normally.

GPS was working normally, but after flashing 18.1, GPS did not work properly, so I downgraded it to 4.4.2. It was ok with 4.4.2 as well, but the GPS doesn't work.

GPS is going to try something else.

I'm going to try dirty flashing after flashing RR rom 5.8.5.

I will leave feedback later. Thank you for bringing an old device to life.
[Galaxy Note II N7105 Android Development] sc02e-j:
My Device T0LTE

GPS test

wifi/mobile network LTE：OK

20211109 Ver :GPS Did Work

20211209 Ver :GPS Not Work
[Galaxy Note II N7105 Android Development] sc02e-j:
My model got a route with magisk

After introducing TWRP-3.5.2_9-T0 LTE

Install magisk_V23.0.zip Ver from TWRP

Install magisk_manager_8.0.5.apk after booting

I got a route
[Galaxy Note II N7105 Android Development] html6405:
Thx, I will check what could have killed GPS and fix it asap.
[Galaxy Note II N7105 Android Development] sc02e-j:
20211209 Ver

GPS retest

gapps: OPEN_GAPPS-PICO 108 MB

20211209 Ver + OPEN_GAPPS-PICO 108 MB

(Freespace 184.7MB)

GPS: OK

route with magisk:OK
[Galaxy Note II N7105 Android Development] sc02e-j:
GPS Did Work

20211209 Ver + OPEN_GAPPS-PICO 108 MB

It was caused by MindTheGapps-11.0.0-ARM-20210920
[Galaxy Note II N7105 Android Development] html6405:
Thanks, then I don't have to do anything.
[Galaxy Note II N7105 Android Development] lee nomal:
1. Flashed the rr rom 5.8.5 to get the gps back to normal.

Rooted with magisk and unrooted after checking the installation normally.

2. I immediately uploaded 18.1 without wipe and checked the gps operation.

For reference, I did not install gapps. And magisk failed to install T^T

3. I immediately flashed the genuine version 4.4.2 without wipe and confirmed that the gps was restored. 4.4.2 rooted with supersu.
[Galaxy Note II N7105 Android Development] html6405:
You shouldn't install the ROM dirty over any other.

I recommend to wipe system, do a factory reset or wipe date and flash the ROM + directly afterwards gapps pico if you want them.

Then everything should work normally.
[Galaxy Note II N7105 Android Development] lee nomal:
I tested it with an e250.

OH4 4.4.2 wiped system, cache, dalvik and internal storage while flashing. After that, on 18.1 (21.12.09), I flashed opengaps pico, came back to twrp and flashed magisk, but failed. I tried flashing the image after patching boot.img but it failed.

Should I re-partition and install? I followed the instructions but failed. imei comes out normally. The gps is fixed, but it is not displayed in the gps test app whether the satellite is captured. In the gps test application, the 3d fix is not marked, and the error is reduced to within 50 meters of only the location accuracy.
[Galaxy Note II N7105 Android Development] sc02e-j:
Wipe alone won't succeed

Whenever I put in another rom or a new rom, I make a mistake unless I format it and empty the inside.

procedure

Tap "Wipe" → "Advanced Wipe" Swipe after selecting "Dalvik Cache", "Data", "System", "Cache"

next

"Wipe" → "Format" Enter "yes" to start formatting. After completion. Tap "REBOOT" to turn off the power

next

Tap "Wipe" from the home screen Swipe as it is → execute Factory Reset Always carry out when burning a new ROM (including changing the ROM)

Does not leave extra data

next

Install custom ROM
[Galaxy Note II N7105 Android Development] sc02e-j:
If necessary (trouble occurs),

insert the initial original ROM from ODEN and proceed with the procedure.

My situation,thisRom

Even if you choose to shut down from power I got into a reboot loop

For 0TLTE,

insert the initial original ROM from ODEN Launch original recovery mode Select "wipe data / factory reset" to reset the device and boot the original rom

Introduced twrp

After that, put a custom rom in the above procedure and recover.
[Galaxy Note II N7105 Android Development] lee nomal:
Formatted and flashed again as above, but Magicsk was not installed properly. This time imei is dead. OTL..
[Galaxy Note II N7105 Android Development] lee nomal:
I'll use Odin to overwrite the original ROM and reinstall 18.1. If magisk doesn't reinstall then there seems to be a problem with my phone. Thank you for your reply.
[Galaxy Note II N7105 Android Development] lee nomal:
Failed to install Magisk after flashing 18.1 with E250S.

After replacing the motherboard, I tried reinstalling it, but failed to acquire root privileges by flashing Magicsk in the same way.

1. twrp-3.5.2_9-0-t0lte.img

2. Clear Dalvik, Cache, System, Data

3.Data format

4. Flashing a custom rom

5. Flash magisk 23.apk from TWRP after confirming normal boot

6. No magisk after normal boot.

I installed the apk, only the magisk manager is installed and I don't have root privileges.

7. Go back to TWRP and flash several times (try also patch boot.img).

8. Root Privilege Failure The Magisk installation itself does not work at all.

I can't figure out where it got twisted. FYI, on lineage16.0, the magisk installation was successful and I can get root privileges. 16.0 cannot be used because GPS is not available.
[Galaxy Note II N7105 Android Development] sc02e-j:
5. Flash magisk 23.apk from TWRP after confirming normal boot

Please rename the downloaded magisk 23.apk to the extension apk → zip

Flash magisk 23.zip from TWRP
[Galaxy Note II N7105 Android Development] lee nomal:
magisk.zip = magisk.apk the same.

And I tried both. It's not possible.

magisk.zip

magisk.apk

Flashing boot.img (magisk patched).

All three fail.

Is there a problem with the partition?? Or is the ROM and E250S incompatible?

Oddly enough, on both motherboards

16.0 is magisk root success

18.1 magisk root failed

Both have the same symptoms.

After a while, when the time comes, I will try to test from the first version.

I will leave feedback.
[Galaxy Note II N7105 Android Development] lee nomal:
18.1 Flashing ROM to SHV-E250S

I can't get magick root privileges

In case of single flash

2021.10.26 magisk cannot be rooted

2021.10.31 magisk cannot be rooted

2021.11.09 magisk cannot be rooted.

2021.12.09 Cannot root magisk. imei does not exist.

The GPS is locked, but it looks like it needs further improvement.

The satellite cannot be captured because it is marked as shown in the photo, but it appears to have captured the position with a reduced error range, but it is ambiguous.
[Galaxy Note II N7105 Android Development] html6405:
I wasn't able to get GPS more working as it is.

I really don't understand, you are also using a recent TWRP?

I just have to flash the magisk.apk and there isn't much more todo in my case.

Also your IMEI is missing?

Then maybe your bootloader and modem aren't compatible.
[Galaxy Note II N7105 Android Development] lee nomal:
In version 21.11.09, imei was displayed normally.

After booting the TWRP and the installation process, we will attach a picture of the application status.

I booted after installing magisk, but magisk cannot be found. It is not in the picture, but even after installing magisk manager, the magisk status is n/a.
[Galaxy Note II N7105 Android Development] html6405:
Hmm this is really crazy.

The installation of magisk looks good.

BTW you could create screenshots in TWRP :).
[Galaxy Note II N7105 Android Development] sc02e-j:
magisk seems to have been successfully

installed There is magisk-V23.apk in the folder,

Not V23

Please start Magisk Manager 8.0.5..apk and then insert it.
[Galaxy Note II N7105 Android Development] lee nomal:
Root has no right from manager installed but normal.

I installed it normally, but the manager says I don't have root permissio

I've tried all 22 versions, 23 versions, and 8.0.5 versions.n.
[Galaxy Note II N7105 Android Development] html6405:
Try to remove /data/adb folder, maybe it helps.
[Galaxy Note II N7105 Android Development] lee nomal:
as you said

1. Delete data/adb

2. Boot normally and install magisk.apk

3. Flashing magisk.zip from twrp

4. Check after normal boot

It is the same as the previously posted picture.

It is marked as n/a and you do not have root privileges.

Even if you patch and flash the boot.img file, you cannot get root privileges.

It is the same even if you flash by changing boot.img in lineage rom.

Can't you embed magisk in the rom??

I need to have root privileges to change the file and edit the gps, but it's frustrating..
[Galaxy Note II N7105 Android Development] html6405:
This would be exactly the same, if I would include magisk into the ramdisk.

Why can't you use TWRP for this?

But anyway strange, I have no idea why you're facing these rooting problems, I guess it's only with your device.
[Galaxy Note II N7105 Android Development] lee nomal:
I'm thinking it's a problem with the E250S.

I'm going to try flashing an overseas rom and try magisk.zip from twrp.

Same thing happened on 2 E250S motherboards.

Let's also consider the possibility of a modem or bootloader mentioned earlier.
[Galaxy Note II N7105 Android Development] TrialMacameau:
My Note 2 model is a Canadian version of the I317. My question is if I want to restore the phone to the factory image will it repartition the partitions I changed with the factory included PIT or not ?

Also when I try to call my voicemail it says Cellular Network not available

Is there something I missed during the repartition ?

If so then I have the factory image so that I can retry again.
[Galaxy Note II N7105 Android Development] sc02e-j:
Why not try addonsu-16.0-arm?

TWRP

addonsu-16.0-arm.zip

Add more Zips

Magisk-v20.0.zip

Swipe to confirm Flash
[Galaxy Note II N7105 Android Development] html6405:
If you don't touched the partition layout, it won't change through the ROM.

It could be that there's still something wrong with the ril, is your IMEI and sim card recognized?
[Galaxy Note II N7105 Android Development] TrialMacameau:
Nah I tried rebooting like 2-3 times and recall my voicemail, still no network

Also I got the answer for myself concerning the partitions... when attempting to restore to default factory rom, I ran into multiple issues where it wouldn't mount /cache, /system, /vendor and /data. /cache and /data are easily fixable but the /system and /vendor requires me a full repartition from a PIT file which I found one from this topic : https://xdaforums.com/t/pit-files-for-i317-and-i317m.2609871/

The other caveat I ran into is when trying to flash a custom rom it wouldn't get pass the Boot logo... I have been leaving it for like 5-10 minutes which typically when first booting a custom rom only takes 2-4 minutes...

Now normally a phone like this can only go to Android 9. I think Android 11 is too much for me because I need to modify the partitions. So I'm gonna stick with 9
[Galaxy Note II N7105 Android Development] lee nomal:
After deleting all of it.

Lineage 18.1. Reinstallation.

There is an error during the addonsu 16.0 installation process.
[Galaxy Note II N7105 Android Development] sc02e-j:
I'm sorry I made a mistake in the writing location
[Galaxy Note II N7105 Android Development] TrialMacameau:
You need the addonsu 18.0 zip file. The one you have is for Android 9 Roms
[Galaxy Note II N7105 Android Development] lee nomal:
thank you^^
[Galaxy Note II N7105 Android Development] lee nomal:
ok, understand.
[Galaxy Note II N7105 Android Development] html6405:
New attempt to fix the reboot behavior, please test this kernel and give me a report.
[Galaxy Note II N7105 Android Development] sc02e-j:
test this kernel and give me a report.

Test report

・ I lost IMEI

・ Power off restart loop remains unchanged

・ Cannot release root

root does not end normally with magisk

The magisk additional update keeps being requested repeatedly

The application will drop with the back button There may still be others

20211209 Ver boot.img This is still better

I have to restore IMEI
[Galaxy Note II N7105 Android Development] html6405:
Thx for testing, but the Kernel can't destroy IMEI, only if it's flashed over to the wrong partition or over the boarder (which can't be with 8MB).

The reboot behaviour was fixed on my phone with this version, but I found out that it's acting crazy again after the device had the chance to deep sleep.

I don't have any problem with Magisk v23.
[Galaxy Note II N7105 Android Development] html6405:
Magisk seems to cause a crash in the __send_signal function, which causes the strange power off / reboot behaviour:

<4>[ 358.819458] c1 PC is at __send_signal+0x1dc/0x3bc

<4>[ 358.819497] c1 LR is at 0x0

Tested it now many times without Magisk.
[Galaxy Note II N7105 Android Development] lee nomal:
I flash my Note 2 while I'm at work and leave it on. I'm surfing the internet with the Note 2 as much as possible for testing.

I think 18.1 is more stable than 16.0. The frequency of the unknown reboot phenomenon is more frequent in 16.0.

In 16.0, root privileges were obtained normally. Although the same file was flashed, it fails to acquire root privileges in all versions of 18.1.

I'm back to 18.1, but I can't even root.

I am attaching the magisk log.

I have this message

opjohnwu.magis: failed to connect to jdwp control socket: Connection refused

Could this be the reason for failing to acquire root privileges?
[Galaxy Note II N7105 Android Development] html6405:
If someone want to check out my LineageOS 19 build:

lineage-19.0-20211229-HTML6405-t0lte.zip | by html6405 for Galaxy Note 2

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com
[Galaxy Note II N7105 Android Development] lee nomal:
I flashed it to the device and it booted up fine.

Enter the home screen without the initial installation wizard.

Sadly, the rooting failed again. I used the Magicsk Canalia version.

A message appears indicating that a problem has occurred inside the device you are using.

If you click on the disaster text, it will stop or twitch.

I can't find a setting to enter recovery mode. Advanced power settings.

Wifi works fine and internet works fine.

imei It is well marked without running away.

File transfer using usb works fine. `E250S`

The logcat and magicsk logs are attached.
[Galaxy Note II N7105 Android Development] html6405:
That's good,

There is no wizard at the moment, but it will be included in the next update.

I don't understand, it work's on a n7105 with all versions, really strange.

Thats because your bootloader string differs from n7105, I will create a patch for this warning.

Did you try it with a SIM card? I had no chance to test it.

This feature as many others will come back soon, LineageOS 19 is not finished yet.
[Galaxy Note II N7105 Android Development] lee nomal:
ok

The mobile phone model used is SHV-E250S, and it should be thought of as an inconvenience caused by the difference from GT-N7105. It seems that up to 16.0 is the rooting limit. Maybe it's because of the security level.

ok

When the SIM card is inserted, the phone number is not recognized. I tried to write an apn and save it because it might not be recognized, but it was rejected. And when the emergency call is activated, the signal cannot be picked up. There seems to be a problem with sim recognition.

thank you.
[Galaxy Note II N7105 Android Development] html6405:
I can't expain it, theoretically there's no difference.

The rooting process happens in the ramdisk, so it should work on all devices.

Thx for testing, I will work on the RIL asap, it's just the first build :).
[Galaxy Note II N7105 Android Development] html6405:
Tested SIM with my device and it's exactly as it is on LOS18, APN settings need to get reset after every boot.

The rest worked fine.

But what's not working is, if the sim card doesn't get recognized the first time, the reset workaround which we used on previous versions doesn't work anymore.

This means, we have to reboot the device again until the SIM gets recognized.

I will work on this...
[Galaxy Note II N7105 Android Development] lee nomal:
Turn on airplane mode and turn off location and sync.

It dropped from 85% to 30% after 12 hours of monitoring.

According to the battery usage history, the mobile network used 48% of the power. I think it is necessary to review whether Airplane mode works normally.

GPS works with an accuracy similar to 18.1.

adb debug mode is not supported.
[Galaxy Note II N7105 Android Development] multiwirth:
Hi!

Wow that looks really promising.

But i wonder if it was possible to make a non treblized n7100 port of this?

I played around with builds and source code before so maybe there´s something i can do?

Since i9300 is running 18.1 already, i guess it shouldn´t be too hard but even after getting some hints, i was unable to get any bootable build done :/
[Galaxy Note II N7105 Android Development] avore:
Hello. Thank you html6405 very much for your big work.

I have some problems with LOS18.1

I have gt-N7105 with 4.4.2 android. I installed LOS16.0 with TWRP and all was good, but I installed magisk not from topjohnwu repository, unfortunately. I deleted magisk and recover backup 4.4.2. I formated internal card. After reinstalled LOS 16, but imei is gone and SIM-card don't worked. I recovered backup, IMEI was, SIM-card worked properly. I install LOS 18.1, IMEI is, SIM-card worked properly, but SELinux is disabled. This is not good. I cann't use mobile data because of this, for security is not work properly. I tryed install 16/18 ten times, but the same.

So the questions: is SELinux disabled because of unofficial magisc (virus)? Or it disabled in LOS18.1? How to enable SELinux? I find some option for magisk from 2018 year. Please help.
[Galaxy Note II N7105 Android Development] html6405:
Selinux is disabled as long the ROM is not stable.

But I will work the next month on this if there's spare time, there are many rules and lables to create.

This has nothing todo with selinux. Reset the APN settings after every boot and it should work (first post).

It's disabled in the kernel, you can enable it with setenforce 1 after every boot,

but many actions won't work, the system will become unstable.
[Galaxy Note II N7105 Android Development] avore:
Thank you for your answer. Could you help why LOS 16.0 SIM-card is not detected any more?

Little bag with 18: LED does not work when charging
[Galaxy Note II N7105 Android Development] html6405:
Does this only happen with the latest build?

Could you check if an older build solves your problem?
[Galaxy Note II N7105 Android Development] avore:
I tried 3 versions of LOS16, and the same result. But the first time all works good
[Galaxy Note II N7105 Android Development] html6405:
Strange, which build is then working for you?
[Galaxy Note II N7105 Android Development] avore:
From LOS 16 last bild the first time installation worked good.

Now i using LOS 18.1 last bild, SIM-card work good
[Galaxy Note II N7105 Android Development] html6405:
I don't know but it could be a specific issue with the last build,

is the build before working fine?

Ok at least this is good.
[Galaxy Note II N7105 Android Development] avore:
Yes, this problem is only with LOS 16 all versions of you, but the first time it's worked too. Another OS worked good. Just I think that it is because I install unofficial magisk first time))
[Galaxy Note II N7105 Android Development] html6405:
Update 07.01.2022:

Fixed shutdown / reboot behaviour with installed magisk

Set swappiness to 60

Enabled software navbar and full gesture navigation as default (to disable you still can use my toggle_navbar script)
[Galaxy Note II N7105 Android Development] ngc1952:
I installed LOS 19 on my Note 2 LTE (SHV-E250K). Everything works fine, but WI-FI does not work.
[Galaxy Note II N7105 Android Development] html6405:
Hmm ok, the macloader should load the correct firmware for every device, could you create me a log with syslog app (root permissions needed)?

Then I will try to help you.
[Galaxy Note II N7105 Android Development] sc02e-j:
Note 2 wifi problem install the following from twrp

wifi-fix-murata.zip. for the Samsung Galaxy Note 2
[Galaxy Note II N7105 Android Development] ngc1952:
sorry for the late reply, I patched the boot image, but Magisk says N/A.
[Galaxy Note II N7105 Android Development] lee nomal:
Same symptoms as 18.1. You can't root, so don't waste too much time and use 16.0. The bootloader is not compatible or the symptoms are similar to those of other devices, but it does not seem to be easy to solve.

magisk n/a - Google Search
[Galaxy Note II N7105 Android Development] html6405:
Did you use the most recent ROM version?

And did you also try to install the magisk.apk in TWRP directly?

I can't explain why it should work with LOS 16.0 and not with higher versions, the bootloader is the same,

the kernel is also "almost" the same.
[Galaxy Note II N7105 Android Development] ngc1952:
i used latest, and i installed magisk.zip.
[Galaxy Note II N7105 Android Development] html6405:
Ok, strange thing, I can root all my devices...
[Galaxy Note II N7105 Android Development] ghani bl:
Link For Download ?
[Galaxy Note II N7105 Android Development] html6405:
Start post.
[Galaxy Note II N7105 Android Development] sc02e-j:
Update 07.01.2022 Thank you

I will report the result of testing for several days

my Devices: t0ltedcm

first,

・ I used TWRP twrp-3.6.0_9-0-t0lte

・ Make the stock ROM the latest 2018 one I kept the bootloader up to date

(The 2014 ROM is why the magisk root reboot looped) In conclusion, everything works

・ Magisk 23 root: OK

・ Wifi: OK

・ GPS: OK (Satellite only: OK AGPS: OK)

・ SIM card: OK (APN is recognized, communication is OK)

・ Tether: Tethering: OK

Fixed shutdown / reboot behavior with installed magisk OK,

it ends normally and restarts normally.

There are some things I was interested in

(Charging notification LED does not turn on, etc.)

It is a trivial matter.

No heavy battery drain

Enough to use

Thank you for your good work
[Galaxy Note II N7105 Android Development] sc02e-j:
・ SIM card: OK LTE is displayed

・ Magisk 23 root: OK

・ GPS: OK (Satellite only: OK AGPS: OK)
[Galaxy Note II N7105 Android Development] sc02e-j:
Some points I was interested in

Update 07.01.2022 Maybe because the CPU is still running high It can be seen that the operation stops

So I installed KernelAdiutor.apk Changed CPU governor setting from pegasusq to ondemand The operation has become smooth

For GPS, I installed AngryGPS Changed some supl settings

Also, when setting the APN in the SIM card settings,

If you set the APN access point while the mobile data is OFF,

it will freeze.
[Galaxy Note II N7105 Android Development] sc02e-j:
Things that don't work

・voice recognition

OK google

google apk

google map

Speech recognition does not work for both

・ Flash light

Rear camera LED does not emit light

I could not determine if these were caused by the model
[Galaxy Note II N7105 Android Development] html6405:
Re-try this with the new update.

Hmm this should work fine, does it work with another ROM?
[Galaxy Note II N7105 Android Development] sc02e-j:
Thank you for your reply

Hmm this should work fine, does it work with another ROM?

Yes

Not only this ROM, but also other html6405's ROMs, the camera LED does not work

LEDs don't work with any version of LineageOS ROMs created by others

LED works in Crdroid 7.1.2.

So this seems to be a problem between LineageOS and T0LTEDCM

So it's not just a problem with this ROM, Don't worry

Thank you for the wonderful work
[Galaxy Note II N7105 Android Development] html6405:
Maybe this device needs another driver for the LED.
[Galaxy Note II N7105 Android Development] html6405:
Update 19.01.2022:

re-fixed microphone recording
[Galaxy Note II N7105 Android Development] avore:
Hi again. I wrote that on LOS16 my phone not detected sim-card. I install LOS 16 from @ChronoMonochrome and it detected sim-card, after that i install your version LOS 16 without wipe system and all work fine. Sim-card now detected? selinux permissive. Some times its loss signal and some time find it or i reboot. Thank you very much!!!