yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Android Development] ol1ver:
So everything is ext4; but the error remains:

"failed to execute command [erase 6,805,5753,230563,294400,295426,393216]"

the remainder of the log is below, but it's identical as before.

what does the erase command do, and what do the numbers mean. I read that the current zip file uses OTA update files, so I imagine the updater tries to erase certains parts; but I can't make meaning of this yet (and searching for erase is a little bit of a needle in a haystack ;)

Thanks!

I:operation_start: 'Flashing'
Installing zip file '/tmp/lineage-16.0-20190913-UNOFFICIAL-n7100.zip'
Checking for Digest file...
I:Update binary zip
I:Extracting updater binary 'META-INF/com/google/android/update-binary'
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
No path given to file labeling backend
selinux_android_file_context: Error getting file context handle (No such file or directory)
Warning: No file_contextsTarget: samsung/t03gxx/t03g:4.3/JSS15J/N7100XXUEMK4:user/release-keysTarget: samsung/t03gxx/t03g:4.3/JSS15J/N7100XXUEMK4:user/release-keys
Extracted file "/tmp/install/bin/backuptool.functions"
Extracted file "/tmp/install/bin/backuptool.sh"
Extracted 2 file(s)
detected filesystem ext4 for /dev/block/mmcblk0p13detected filesystem ext4 for /dev/block/mmcblk0p13

about to run program [/tmp/install/bin/backuptool.sh] with 3 args
run_program: child exited with status 127
Patching system image unconditionally...
performing update
Patching system image unconditionally...blockimg version is 4
maximum stash entries 0
creating stash /cache/recovery/8833b259bb088b2e13f62771d46006a40f54bc20/
98947072 bytes free on /cache (0 needed)
/cache/recovery/last_command doesn't exist.
erasing 166575 blocks
BLKDISCARD ioctl failed: Invalid argument
failed to execute command [erase 6,805,5753,230563,294400,295426,393216]
new data receiver is still available after executing all commands.
script aborted: E1001: Failed to update system image.
E1001: Failed to update system image.error: 1001
Updater process ended with ERROR: 7
I:Install took 0 second(s).
Error installing zip file '/tmp/lineage-16.0-20190913-UNOFFICIAL-n7100.zip'
Updating partition details...
I:Data backup size is 0MB, free: 13364MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
[Galaxy Note II Android Development] ComicoX:
It may be because you broke the partition table
[Galaxy Note II Android Development] ol1ver:
AH, well that's an arguable point for sure, I say I improved it :) Maybe optimized it. But yes, I have changed it.

So the update has some expectations about the partition table, that's fine, can you share what? Does the starting position matter? or is it simply the size? And if it is only the size, what is the minimally required size/correct size? 1.5G enough? I think that's what the original was. Is that what those numbers are for in the erase command?

Thank you very much for your feedback!
[Galaxy Note II Android Development] ol1ver:
So for all the lurkers, the only thing that matters, is that the system partition is atleast 1536 MiB (e.g. 1.5 GiB). As for f2fs support, while twrp recovery supports it; indeed, this rom will fail hard if userdata is f2fs formatted. The kernel has no support for it, and android will come up with a 'encryption failed, reset phone' message.

I'll play with it a bit for now, to see how it fares and see if I can help in figuring out how some things are not working right. One thing I did spot indeed, is that the proximity sensor's IR led is constantly on. Could it be possible that the sensor hub firmware is either wrong or simply not loaded? The proximity sensor was connected to the sensor hub; as is the barometer etc ...
[Galaxy Note II Android Development] ComicoX:
Hmm interesting. Try rebooting it should stop it. For you instead of proxy not working at all for you it's always working :)
[Galaxy Note II Android Development] treysis:
Maybe it's possible to change LocationManager.java to add 1024 to the GPS date before it is passed on to the system? I have fixed other devices with Broadcom-GPS (TomTom) in a similar way...the chip can get a location fix, but date is obviously wrong. I was able to intercept it and provide the system with an updated NMEA sentence with a correct date. But I don't know how it works on Android.
[Galaxy Note II Android Development] xda-dvlprs:
maybe [MENTION=7105282]ComicoX[/MENTION] wants to contact you for gps rollover fix. thanks [MENTION=5926322]treysis[/MENTION]
[Galaxy Note II Android Development] ComicoX:
GPS problem on pie and Oreo has nothing to do with gps rollover
[Galaxy Note II Android Development] Oliverkwin:
Hi Mr Comico, first I want to say I love your work, the lineage 16 OS is wonderful, however im having a series of issues

1 The wifi keeps disconnecting and it's a struggle to get it to reconnect. The Hotspot doesn't work at all.

2 When I flashed the gapps, google pixel keeps crashing.

3 When I'm on a call the receiver can't hear me but I hear them loud and clear.

I tested my hardware in all error cases to be absolutely sure I wasn't having faulty equipment. I love you ROM, pls help me fix this, Thanks.
[Galaxy Note II Android Development] ComicoX:
1. Hotspot doesn't work it's a known bug

2. You need to flash gapps nano or pick nothing bigger

3. Try with Google dialer
[Galaxy Note II Android Development] thegreatguy:
hey [MENTION=7105282]ComicoX[/MENTION]

On your lineage os and havoc os, my BT does not find any device or is not found by other devices. logcats are in attachments. if you have a free time, could you please consider them? i really wonder why my N7100 responds different than yours.
[Galaxy Note II Android Development] ComicoX:
BT or hotspot?
[Galaxy Note II Android Development] thegreatguy:
i am sure that it is BT. i also reported in havoc os thread a few months ago.

here is the video link if you wanna watch: https://drive.google.com/file/d/1TIuyzwsQdrB5aCtFe6KvNV5r4RfbMbNy/view

For example, my device can find other devices on DotOS 3.1 by Team InFusion.

or on nougat roms, there is no such a problem.

we have talked this issue before and you said your bluetooth works well. but i wanna know why i experience such a problem even though i have the same device (N7100)
[Galaxy Note II Android Development] goodflood:
EDIT3: Nevermind, had a corrupt ROM file.

BL: QA8

BB: FNG1

ROM: latest

Thanks!

**********************************

Background: my n7100 mobo got spoilt. I had it replaced. It came with:

OS: 4.4.2

Baseband: N7100DXUFNI1

I first flashed TWRP. Then, I installed HavocOS; worked fine. I installed LOS; I get the Zip file is corrupt. Error installing zip file.

What do I do? It is because of ext4 fs or something?

Also, how do I update baseband and bootloader?

I have some old files

MODEM_N7100XXUF0A1_CWM.ZIP

BL_N7100XXUEMJ5.ZIP

Should I flash them in TWRP?

EDIT:

For BL, after MJ5, this: https://xdaforums.com/galaxy-note-2/development/rom-t2824235

shows N, O, P and Q. (QA8 LATEST)

For BB, after 0A1, this: https://xdaforums.com/galaxy-note-2/development/rom-t2824235

shows P and Q (QA8 LATEST)

EDIT2:

Flashed, BL: QA8 using odin.

Flashed, BB: QA8 using TWRP.

Tried, LOS... same error!
[Galaxy Note II Android Development] fidoedidoe:
Hi [MENTION=7105282]ComicoX[/MENTION]

Quick question/observation.

Background

: I wanted to get familiar with building your N7100 Lineage-16.0 ROM from source (link), but I hit a problem during the build.

The issue

: Build failed, with the following error

styles.xml:30: error: resource layout/preference_category_material_settings (aka org.lineageos.settings.device:layout/preference_category_material_settings) not found

Resolve

: To correct, at least to the point that allows the build to complete (I don't have an N7100 so I can't test whether completed build actually works), I added the following to the local_manifests.xml.

<project path="packages/resources/devicesettings" name="LineageOS/android_packages_resources_devicesettings" revision="lineage-16.0"/>

Next Steps

: Assuming the action taken is correct, would you like me submit a github pull request with proposed change (so others can self build from your source)?
[Galaxy Note II Android Development] Hasan9540:
works all function on n7105
[Galaxy Note II Android Development] doc84zeta:
Hi, I've a gt-N7100 with android 4.4.

How can I install this rom? step by step maybe.... thx.

sorry for my eng, but i'm italian. thx
[Galaxy Note II Android Development] heartog:
Does this ROM only work for N7100/N7105 or does it work with others too?
[Galaxy Note II Android Development] ComicoX:
Flash twrp flash cm-14.1 then flash this rom
[Galaxy Note II Android Development] ComicoX:
Only for n7100
[Galaxy Note II Android Development] ComicoX:
Yes that's correct. I've EOLed Los16 :)
[Galaxy Note II Android Development] Thomas131:
Hi CosmicoX!

Thanks for all your work - its amazing!

Does this mean, that there will be no more updates for the n7100?

Best regards!

Thomas131
[Galaxy Note II Android Development] KOLANICH:
[MENTION=7105282]ComicoX[/MENTION], first of all, thanks for the ROM. But I have some questions. Could you answer them?

1. Is it possible to reuse the free open-source drivers from Replicant project?

2. Is it possible to use a free open-source driver for Mali 4xx GPU called lima (already merged into kernel and mesa) ?

3. Is it possible to port the changes specific to the device as Project Treble HALs?
[Galaxy Note II Android Development] ComicoX:
No more updates to Los 16.0 more exactly
[Galaxy Note II Android Development] ComicoX:
1. Replicant is another thing so not really

2. Same answer as above + Lima drivers are extremely hard to get working on Android as of now

3. It's not worth the effort it will require to much work to get treble working on n7100
[Galaxy Note II Android Development] Magnuss85:
Hi all! I would like ask you what about Android 10 on Galaxy Note 2 N7100? Thank you in advance
[Galaxy Note II Android Development] ComicoX:
What's the question
[Galaxy Note II Android Development] srevinsaju:
is the lineage-17.0 branch on your GitHub repo functional?
[Galaxy Note II Android Development] ComicoX:
No. It still needs a lot of work.

This is the current state of it:

-not booting + completely broken display
[Galaxy Note II Android Development] srevinsaju:
does that mean, the device has hard bricked or something?

A question from a newbie, :) how difficult is it to fix that 17.0 branch, does the code need to be changed frequently with each version update?
[Galaxy Note II Android Development] ComicoX:
Not hard bricked twrp is still alive

Pretty difficult.

Yes every time there is a new Android version it needs changes to the code
[Galaxy Note II Android Development] ComicoX:
No firstly because I have no idea on how to fix the GPS currently.

Secondly I want Android Q on note II ?.

In case anyone forgot I work on Android in my free time as a passion. Especially now when I have a new phone (s7 edge)
[Galaxy Note II Android Development] ComicoX:
Aparat from GPS it still has the sensors problems and the random reboots :)
[Galaxy Note II Android Development] srevinsaju:
yay, havoc 3.0 + GPS ?
[Galaxy Note II Android Development] ChronoMonochrome:
Like it's that easy.

And He said, "Let there be GPS," and there was GPS.
[Galaxy Note II Android Development] QueenCarmella08:
Then make your own rom. Don't bark here dog coz not that easy to make one. So stop demanding lmao. Be grateful instead coz we have a developer.
[Galaxy Note II Android Development] ComicoX:
You wore more asking for it "Please develop Android Q with GPS function"
[Galaxy Note II Android Development] YellowSomething:
Is it possible to flash this on or convert it to be compatible on the SGH-i317 (l0lte) AT&T note II?
[Galaxy Note II Android Development] ComicoX:
This is only for n7100. There is another thread for 4G note II
[Galaxy Note II Android Development] YellowSomething:
For LineageOS 16/android 10?

For the life of me, I cannot find it, only LineageOS 14/7.1.2.
[Galaxy Note II Android Development] omar alfazazy:
حل مشكلة

روم جميل و ممتاز لكن يجب حل مشكلة البطارية
[Galaxy Note II Android Development] ComicoX:
https://xdaforums.com/galaxy-note-2/development-n7105/rom-havoc-os-v2-7-20190718lte-comico-t3949567

I've made only Havoc for it
[Galaxy Note II Android Development] ComicoX:
English. XDA Rules say to use only english
[Galaxy Note II Android Development] omar alfazazy:
The room is excellent, but drains the battery quickly, this should be fixed
[Galaxy Note II Android Development] EverythingRomPro:
phone is not booting for more than 15min downloaded it twice what should i do?
[Galaxy Note II Android Development] EverythingRomPro:
am i missing out some step in installation :

twrp version : 3.3

1st i just wipe data cache dalvik and system basically everything except internal and sdcard

then i just flash the rom and gapps (arm/pico)

then just reboot

so the boot animation comes but rom doesnt boot tried it twice by downloading the file twice

i think i m missing out on something ?

what is the problem occurring in my case that is hindering my boot

any solutions for it ?

same thing with havos
[Galaxy Note II Android Development] thegreatguy:
What is your external sd card file system?
[Galaxy Note II Android Development] EverythingRomPro:
fat32

well i flash the roms from internal storage
[Galaxy Note II Android Development] greatninja:
do not flash GAPPS

ver 20200104 not boot after flashing gapps (try with pico, nano, micro) - booting animation about 7-10 minutes then phone automatically reboot

whithout gapps works fine
[Galaxy Note II Android Development] adds08:
Flashing older version of nano gapps is working
[Galaxy Note II Android Development] slowpork:
hi , I flash ver 20200104 from ext-sdcard , phone reboots fine, then I go back to recovery mode to flash pico gapps (downloaded as of today Jan 27th 2020), it seems to work fine for me.
[Galaxy Note II Android Development] binary_boy01:
Hi guys,

Any GPS fix?

Thanks
[Galaxy Note II Android Development] tahuboto:
os 8 and 9 can't fix gps and sensor
[Galaxy Note II Android Development] Steven Holmes:
IPv6 doesn't work properly on my phone. I can obtain an IPv6 address but it can't pass the test on test-ipv6.com. Thanks.
[Galaxy Note II Android Development] snam194:
in browser, download is not working..

in precious version, download is working
[Galaxy Note II Android Development] ComicoX:
Use another browser?
[Galaxy Note II Android Development] Lawgun:
Battery dying too fast on this firmware when I watching videos with VLC, on my previous totally different firmware it lasted at least twice longer.
[Galaxy Note II Android Development] snam194:
yes.. chrome browser too..
[Galaxy Note II Android Development] eerlinn:
Nice to see my old N2 has still support, after many years, it came back to me and I installed this ROM:good::cool:

and it works pretty well, phone and rom!!:good:
[Galaxy Note II Android Development] piemanny:
I have this issue where the phone will freeze and then do a soft reboot and I can't turn on wifi, why is that?
[Galaxy Note II Android Development] xd4d3v:
any way to install on n7105?
[Galaxy Note II Android Development] samdsrp:
Vns
[Galaxy Note II Android Development] ComicoX:
No
[Galaxy Note II Android Development] piemanny:
Hi Comico, any news on this? By the way great work and I'm looking forward to the next iteration
[Galaxy Note II Android Development] Baronegro3:
https://www.xatakandroid.com/roms-a...-10-oficial-estos-cambios-moviles-compatibles

ComicoX there will be android 10 for our Note 2 GT- N7100 thanks
[Galaxy Note II Android Development] ComicoX:
Yes

I've booted it a long time ago. But it's currently really unstable
[Galaxy Note II Android Development] Baronegro3:
Thank you very much ComicoX, we will wait until you have it well cooked, I hope that when you have this new rom, you put a link in this thread. Thank you
[Galaxy Note II Android Development] jundzz:
The rom is awesome, but I just can't pass safetynet and install netflix.. :crying:

Thank you Comico..
[Galaxy Note II Android Development] I'amUglyBetty:
:c

Que bien que siga viviendo el Note 2, que mal que para nosotros los del I605 no paso de Marshmallow :llorando:
[Galaxy Note II Android Development] girdap:
Congrats ComicoX, great job.

Do you plan to fix issues like hotspot or wait for the stable lineageos 17.1 ?:good:
[Galaxy Note II Android Development] YellowSomething:
Havoc for the N7105 seems very broken

For most, after attempting to flash 2.9, you get stuck in a "download mode" screen, and with the previous version (2.7), there is an audio bug that crashes anything attempting to play audio.

When forcing the N7100 rom to flash on an N7105, it seems to work much better, but LTE doesn't work well as well as the pen input totally just not registering. Not surprising given the fact they're different models.
[Galaxy Note II Android Development] Baronegro3:
Thanks in advance ComicoX, I wanted to ask you how the work of the RON Android 10 for GT-N7100 is going, is there much left to get it out, to be able to test it? Thank you
[Galaxy Note II Android Development] vinfraxd:
Hi Comico. How can i fix the wifi problem? I don't know what is the 'murata chips'. However after the installation of laos 16+gapps i've installed the file zip with twrp(3.3.1) but nothing has changed. Please can you help me?
[Galaxy Note II Android Development] Baronegro3:
Abre twrp e instala el zip de chip Murata, si te funciona la wifi, tienes chip murata es asi de facil prueba, por probar no pasa nada.

and if it does not work with chis Murata leave the roms that come by default, I that you would reinstall the rom, gapps, and would try the wifi, and if the wifi does not go I would install the murata chips, and it would have to be solved the problem, before installing the rom do a cleaning and install it from scratch, I hope it will help you
[Galaxy Note II Android Development] multiwirth:
Hey there!

Did anyone try the headphone jack?

For me it seems like it doesn't recognize a headset

EDIT:

Nevermind, it was an hardware issue.

Just got a broken note 2 which was entirely dead.

I replaced the motherboard and thought maybe i haven´t tighten enough the connector.

And then i looked inside the 3,5mm socket and it is corroded a bit.

I also got a high quality plug with tight fit to work so i will replace the headphone socket and everything should be fine.

Btw this rom is pretty smooth and doesn´t have bugs/stuttering like the Galaxy S3 has (audio stuttering included).

It´s also pretty nice to have boeffla settings in tweaks.rc just like on i9300.

However boeffla sound seems to be missing as it can't be tweaked and cat in terminal results in "no such file or directory" .

Would've been great if this was actually working.

Anyways thanks for the rom, it makes obsolete hardware great again.
[Galaxy Note II Android Development] multiwirth:
Hey there again!

I've experienced some random UI crashes/soft reboots in this rom.

Every time this happens, it breaks wifi for some reason.

I haven't flashed the wifi fix murata since wifi seems to work without it so i guess it's the semcosh one.

Seems like the same issues we had with i9300 at the beginning (wifi also broke and after one or two reboots it worked again).

I've got an dmesg here maybe it's helpful in some way.
[Galaxy Note II Android Development] vinfraxd:
So i will explein my problem and how i've installed the Laos 16(thanks comicoX)

1) recovery twrp: install laos 16(+ wipe cache/dalvik)

2) recovery twrp: install gapps(+ wipe cache/dalvik)

3) recovery twrp: install murata.zip(+ wipe cache/dalvik)

4)reboot

initially I did not notice any problems except those listed in the post (like the gps) but after 3 or 4 days the wifi stopped working (and also the bluetooth) I don't know what to do, I tried to redo the installation without deleting the data (it bores me to reconfigure the phone again). The only thing I delete is the cache (as listed in the procedure I wrote above)

How can i fix the wifi/bt problem?

When i've installed the laos(+gapps+wifi fix murata) no many problems. Than, 5 days later, wifi and bt have stopped working
[Galaxy Note II Android Development] harvey186:
Hi,

I have build it by my own with your sources, but it stucks on boot logo. Any Idea why ? adb is not working at this stage of boot, so I don't have any logs

EDIT: Issue is solved with using main LOS16 kernel branch
[Galaxy Note II Android Development] :
About

lineage-16.0-20190913 version is the best. I got 4-5 hours of screen on time after making the necessary adjustments. One problem is though phone is freezing while charging and the only solution is reboot. Nice job Comico, love your work. It is pretty smooth.

So, I'd like to ask you one thing. Could you make an Oreo ROM that just works without any bugs at all? I'd love to make a generous donation if this becomes real because I am the guys who is using his stuff until it is physically broken.

Would love to hear from you. Thanks!
[Galaxy Note II Android Development] :
[MENTION=7105282]ComicoX[/MENTION] hello again! could you please upload the kernel you used in the latest build? it is kinda urgent...thanks
[Galaxy Note II Android Development] girdap:
Is this means GPS & Hotspot working, now?
[Galaxy Note II Android Development] i27ms5:
where 20200401

hello

where the link version 20200401 I’m waiting for the link and I am searching for the link but I didn’t see anything
[Galaxy Note II Android Development] afr33s:
Try the first post where it says ROM...

I'm pretty sure it's a typo and should say 20200104. Too much of a coincidence for it to be 20200401 IMHO.
[Galaxy Note II Android Development] girdap:
https://www.androidfilehost.com/?fid=4349826312261706247
[Galaxy Note II Android Development] i27ms5:
I have problem

I have a strange problem rom is not installed on the device comments on your logo and then restarts and returns to the recovery
[Galaxy Note II Android Development] elantra_no1:
I install navi app and test it, gps only is not working.
[Galaxy Note II Android Development] ex3da.ex3:
Error 7

what recovery should i use i get error 7 when flashing from lineage 15
[Galaxy Note II Android Development] multiwirth:
Latest TWRP should work.

Otherwise you could have a bad zip file.

Try re downloading it and make sure to wipe /system /data and /cache before you flash a new rom (coming from stock or another custom rom like crdroid)
[Galaxy Note II Android Development] sid2109:
Unfortunately, the PC he was using for the builds faced an HDD crash due to which he is unable to do any more development on this. Also, he has moved onto a new phone now. So, don't expect anything new here.
[Galaxy Note II Android Development] aa.mgt:
Can I use microg instead of gapps thank you
[Galaxy Note II Android Development] multiwirth:
That's pretty sad to hear, however i started to make my own builds based on [MENTION=5695278]ChronoMonochrome[/MENTION] (all credits goes to him) i may share them here if anyone is interested.

The main difference between Chrono's sources and those from Comico is probably the full port of boeffla sound (which was missing in this rom and the main reason i was switching over).

Everything else is working/broken like in this rom and i'm not really able to fix bugs since i'm pretty new into this.

However GPS has been fixed on i9300 by rlNando and i successfully backported his patches to 16.0 i9300 but they won't work for n7100, the gps config is different even if both devices use same sources and build manifest.

I also don't expect much improvements for n7100 anymore, Chrono almost stopped development on smd4412 devices and rINando is focussed on galaxy s2 & s3 to completely fix 17.1.
[Galaxy Note II Android Development] Emba7a:
Bluetooth problem

Hello,

I have a very strange problem with my Bluetooth on phone Note 2 N7100 Lineage OS 16.0-20200104.

I can connect to everything, even the car working ok and listen music , but when I'm talking (make a call) I don't hear what they're saying to me, either through the car or through the Bluetooth (wireless) headphones but i can hear me.

I try this connected to:

Bluetooth headphones

Car

Computer