A while back I got blessing from html6405 for posting this write-up. With many hours of frustration and testing, I was able to fine tune the process. I know the steps are a bit excessive but knowing every detail is important. I have tested this process with my co-worker's N8013 16gb and I bought one 32gb soon after, and they both work flawlessly. Thank you html6405 for making this ROM so perfect! I hope that all people who have this tablet will continue to be able to use them again. (at least until all 32bit apps stop support)
Good files to have for Note 10.1 GT-N8013!
(Please make copies and keep it in a vault. Make triple copies if you have to. These files can get you out of a lot of situations)
1. Odin3_v3.14.4 (flashing in Download mode)
2. SAMSUNG_USB_Driver_for_Mobile_Phones_ver_1.5.65.0 (latest Samsung Drivers)
3. CF-Auto-Root-p4notewifi-p4notewifiue-gtn8013 (GT-N8013 rooting over Odin)
4. lineage-16.0-20220109-HTML6405-n8010.zip (GT-N8013 Lineage Pie OS by html6405)
5. 5.open_gapps-arm-9.0-pico-20210610.zip (the working June 10,2021 gapps from YouTuber NakRoB Freedom)
6. CF TriangleAway (version 2.26 and higher) purchased from Google Play Store
7. N8013UEUCOI1_N8013XARCOI1_XAR (JB firmware for N8013)
8. twrp-3.5.0_9-0-n8010.img.tar (TWRP Recovery)
Intro
Critical note! Please be sure to have latest firmware from Samsung installed. There are critical parts of it that is needed for ROM integration. I also assume twrp-3.5.0_9-0-n8010.img.tar is already installed using html6405's instructions, and have a sd card on hand and formatted with your tablet through Samsung OS.
Backup stock OS in TWRP
1. N8013 off, insert SD Card
2. power ON into Recovery mode (VOL UP and then POWER)
3. Swipe to enter TWRP 3.5.0_9-0
4. Mount > make sure efs, Cache, System, Data, Micro SD card is selected > Select Storage > Micro SD card > HOME
*if you don't see your files in the next step, you may need to deselect and reselect Micro SD card from the check boxes*
5. Backup > select all items > swipe to backup
6. connect usb cable to PC
7. Make a backup of your backup stock OS into your PC or other storage device
8. copy files to sd card root (lineage-16.0-20220109-HTML6405-n8010.zip, 5.open_gapps-arm-9.0-pico-20210610.zip)
9. REBOOT > Power OFF
10. remove SD Card
(backup all your internal storage files that you need too. next steps will have a data wipe process that free up space and wipe any conflicting files)
Lineage OS 16 Install
1. Power ON to Recovery mode (VOL UP and then POWER)
2. Swipe to enter TWRP 3.5.0_9-0
3. Mount > make sure Cache, System, Data is selected > Select Storage > Internal Storage > HOME
4. Wipe > swipe to factory reset
5. Wipe > Advanced Wipe > Select (Dalvik/ART Cache, Cache, System, Data) > Swipe to Wipe
6. Wipe > Formate Data > type "yes" > press enter to wipe. wipe will initiate automatically (lose data stored memory)
7. hit the HOME button (or BACK button a bunch of times) to go back to TWRP main menu
8. Loading Installation files to storage. there are 2 OPTIONS.
8a. SD Card method: Insert SD card with (backup, lineage-16.0-20220109-HTML6405-n8010.zip, 5.open_gapps-arm-9.0-pico-20210610.zip)
Mount > make sure Cache, System, Data, Micro SD card is selected > Select Storage > Micro SD card > HOME
*if you don't see your files in the next step, you may need to deselect and reselect Micro SD card from the check boxes*
8b. PC USB method: with USB cable connect to tablet, Mount and choose Internal Storage if needed, and drag/drop Lineage and Gapps into tablet.
10. Install > Select Storage > Micro SD card/INTERNAL > install lineage-16.0-20220109-HTML6405-n8010.zip > when done Wipe Cache/Dalvik > HOME
11. Install > Select Storage > Micro SD card/INTERNAL > install 5.open_gapps-arm-9.0-pico-20210610.zip > when done Wipe Cache/Dalvik > HOME
12. REBOOT > System
13. Once you're on the blue Google "Hi There!" screen, Give it 30 seconds before continuing.
14. go through the google setup, and setup Wifi, Google will automatically update and continue to update while on home screen.
-------------------------------------------
Restore to Stock firmware w/ optional flash counter reset
This was necessary for me to start fresh when I ran into problems like boot looping, stuck screen, or for anyone who just want to go back to the way things were.
1. turn off tablet, disconnect POWER/DATA cable, remove SD card
2. boot into Download mode holding VOL DOWN and then POWER.
3. VOL UP to agree
4. Start up Odin3_v3.14.4 in windows and "Run as Admin"
5. connect POWER/DATA cable
6. verify ID:COM recognize tablet
7. select Options tab and only have Auto Reboot, and F. Reset Time selected.
8. click Log tab
9. click check box left of AP
10. click AP and select the Samsung firmware (KIES_HOME_N8013UEUCOI1_N8013XARCOI1_813049_REV00_user_low_ship.tar.md5)
for your tablet from your PC
11. click Start (watch the log tab progress)
12. when done, tablet will automatically reboot.
13. unplug cable (*if stuck on Samsung boot splash, start from step 2 again)
14. go through Samsung setup.
15. go to setting and setup: A) Wifi, B) Security > Unknown Sources, C) Developer Options > USB debugging
16. turn off tablet, disconnect POWER/DATA cable, remove SD card
17. boot into Download mode holding VOL DOWN and then POWER.
18. VOL UP to agree
19. Start up Odin3_v3.14.4 in windows and "Run as Admin"
20. connect POWER/DATA cable
21. verify ID:COM recognize tablet
22. select Options table and only have Auto Reboot, and F. Reset Time selected.
23. click Log tab
24. click check box left of AP
25. click AP and select CF-Auto-Root for your tablet from your PC
26. click Start (watch the log tab progress)
27. when done, tablet will automatically reboot into CF-Auto-Root installation and reboot to Samsung OS
28. go to your applications and start up SuperSU Free
29. download and install CF TriangleAway, give it root permission
30. open it, MAKE SURE YOUR TABLET MODEL IS SHOWN ON SCREEN, agree to download files over WiFi
31. tap Reset Flash Counter to boot into setup, follow the prompts to complete.
32. turn off tablet, boot into Download mode holding POWER and then VOL DOWN.
33. VOL UP to agree, then check to see if counter: No, binary: Samsung Official, system: Official.
34. Boot into Samsung OS, In Settings deselect Unknown Sources, and turn off USB debugging and Developer Options
35. Turn off Tablet, and boot into factory Android system recovery (VOL UP and then POWER)
36. WIPE in A) Samsung OS Settings > Back up and reset > Factory data reset, or B) Stock recovery mode wipe data/factory reset > reboot system now.