v20 Update Library scans old files too
#31
(2023-04-06, 16:50)davelee77 Wrote:
(2023-04-06, 16:47)jepsizofye Wrote: @Karellen line 5 in the log - "Running on Amazon AFTKA" - AFTKA


-----


Since newer versions of FireOS debug logging has been downgraded to INFO level only at the OS level and you may need to enable DEBUG via adb - see here https://forum.kodi.tv/showthread.php?tid=371987
(Note: Enabling debug logging at the OS level does not enable it in Kodi, this is a separate operation. Be sure to set it back to INFO after no longer using it.)

Interesting. I'll give it a go!

Ok. I can't believe I am actually starting to understand this stuff. I am reviewing everything step by step so I can make as few key presses as possible once I go through everything to provide the log. Here is what I'm hoping to obtain from someone here as soon as possible. I am reviewing the step where it says to create or edit file in advancedsettings.xml. but what do I actually need to TYPE to complete this step so I get what is needed and not mess up Kodi? I do not see advancedsettings.xml. so I need to create it. Am I doing this in Kodi or in my Remote ADB for the firestick itself?
I am running on limited time today so hopefully someone is on to help here. Thank you!!
Reply
#32
advancedsettings.xml
xml:
<advancedsettings>
<!-- put settings here -->
</advancedsettings>

fill in the setting between the brackets
Reply
#33
(2023-04-06, 20:27)jepsizofye Wrote: advancedsettings.xml
xml:
<advancedsettings>
<!-- put settings here -->
</advancedsettings>

fill in the setting between the brackets
Ok, I guess that is what I am asking. Do I actually type in, "Enable debugging" between the two lines of code you mentioned?
Reply
#34
from https://kodi.wiki/view/Log_file/Advanced

xml:
<advancedsettings>
    <loglevel>2</loglevel>  
</advancedsettings>
Reply
#35
<loglevel>1</loglevel> will do the same, but without the nagging Debug OSD on screen.
Reply
#36
(2023-04-06, 20:41)jepsizofye Wrote: from https://kodi.wiki/view/Log_file/Advanced

xml:
<advancedsettings>
    <loglevel>2</loglevel>  
</advancedsettings>

Ok!! That's what it meant. No I can I do this prior to all the other steps or does that need to be within the steps as indicates in the instructions?

I entered Remote ADB shell for the firestick. But trying to figure out how to get to where I can edit. 😕
Reply
#37
the operations are independent so which done first isnt really important.

if you entered the shell with adb shell, type exit and leave the shell back to your own computer's console

back at your own computer's console simply type in "adb shell setprop persist.log.tag D"

with notepad or another text editor create a new file and name it advancedsettings.xml; for ease of access maybe save it in C:\ or wherever with the contents above

you can push that file from your computer with adb using "adb push C:\advancedsettings.xml /sdcard/Android/Data/org.xbmc.kodi/files/.kodi/userdata/"


Other:

if you already had an advancedsettings.xml there, you could pull it to your computer for editing with "adb pull /sdcard/Android/Data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml"

then reissue the push to save your changes back to firetv

----

then proceed to close kodi, reopen kodi so the log refreshes, perform your operations you need to log, etc and so on as you did before
Reply
#38
(2023-04-06, 20:54)davelee77 Wrote:
(2023-04-06, 20:41)jepsizofye Wrote: from https://kodi.wiki/view/Log_file/Advanced

xml:
<advancedsettings>
    <loglevel>2</loglevel>  
</advancedsettings>

Ok!! That's what it meant. No I can I do this prior to all the other steps or does that need to be within the steps as indicates in the instructions?

I entered Remote ADB shell for the firestick. But trying to figure out how to get to where I can edit. 😕

(2023-04-06, 20:54)davelee77 Wrote:
(2023-04-06, 20:41)jepsizofye Wrote: from https://kodi.wiki/view/Log_file/Advanced

xml:
<advancedsettings>
    <loglevel>2</loglevel>  
</advancedsettings>

Ok!! That's what it meant. No I can I do this prior to all the other steps or does that need to be within the steps as indicates in the instructions?

I entered Remote ADB shell for the firestick. But trying to figure out how to get to where I can edit. 😕

I really appreciate your help. So I'm finding, despite me selecting adb on in developer options other. Firestick. When I enter adb shell it tells me permission denied on listing the files and can't create when I tried to create the advancedsettings.xml.

https://i.postimg.cc/yNt5zshx/20230406-140008.jpg
Reply
#39
yes because you're in the root folder on the firetv

see the path above, thats where you should be for advancedsettings.xml

the root is inaccessible and incorrect for this
Reply
#40
(2023-04-06, 17:07)jepsizofye Wrote: To enable adb on the device you simply need to enable developer tools - https://www.firesticktricks.com/develope...stick.html

You need adb installed on your computer, there are various methods depending on your computer's OS.

Once both requirements are satisfied, opening a command console window on your computer and connect to the device with "adb connect <device's ip>:5555"

Once connected you can issue the command to enable Debug level logging. ( For additional general information, not necessarily for the current operation, https://developer.android.com/tools/adb )



(Yes, this is a pita just to get a log, blame amazon)

I'm at the step where I should be entering the device ip address.5555? Whi h device ip address should I be using? The firestick or desktop? Thanks.
Reply
#41
firestick's ip
Reply
#42
(2023-04-07, 01:15)jepsizofye Wrote: firestick's ip

Alright. Here is what I have and want to ensure, I am ready to go back to run the debugging again.

On PC:
1. Installed adblink
2. Created advancedsettings.xml
https://i.postimg.cc/yNt5zshx/20230406-140008.jpg
xml:
<advancedsettings>
<loglevel>2</loglevel>
</advancedsettings>
3. Saved advancedsettings.xml to C:\
4. Opened cmd prompt on laptop
5. Connected to firestick ip address by entering, "adb connect <insert firestick ip address>:5555"
Response recieved, "adb server is out of date. killing...
* daemon started successfully *
connected to <firestick ip address>:5555"
6. Entered, "adb shell setprop persist.log.tag D"
7. Entered, "adb push C:\advancedsettings.xml/sdcard/Android/Data/org.xbmc.kodi/files/.kodi/userdata/"
8. A ton of stuff came up on the screen about device commands for adb, scripting, networking, etc...

Now, I should go back into Kodi and do the following:
1. Enable the setting Enable debug logging in the settings page located at Settings > System Settings > Logging
2. Run - Kodi Logfile Uploader
3. Scan QR code with phones camera
4. Paste in form for review.

Does this all sound correct?
Reply
#43
looks correct except a missing space on 7. between advancedsettings.xml and / but i think you got it
Reply
#44
(2023-04-07, 02:20)jepsizofye Wrote: looks correct except a missing space on 7. between advancedsettings.xml and / but i think you got it

Phew!! Lol ok. To make matters worse, on myself, I just switched everything over from wifi to hardwired so now the ip address update is taking affected and rescanning everything fresh. I'll revisit this tomorrow once everything is loaded and rolling and see how we make out with the updates. I'll be back. Thank you all VERY much!!!
Reply
#45
youre welcome
Reply

Logout Mark Read Team Forum Stats Members Help
Update Library scans old files too0