Feed Buzzard
  • General
  • Tech
  • World Tech
  • World Tech Code
  • Wearable Tech
  • Pokemon
  • About Us
    • Terms & Conditions
    • Privacy Policy
  • Contact
No Result
View All Result
  • General
  • Tech
  • World Tech
  • World Tech Code
  • Wearable Tech
  • Pokemon
  • About Us
    • Terms & Conditions
    • Privacy Policy
  • Contact
No Result
View All Result
Feed Buzzard
No Result
View All Result
Home World Tech

“Unable to open log device ‘/dev/log/main’: No such file or directory” –

Gordon James by Gordon James
January 11, 2021
in World Tech
0
0
SHARES
6
VIEWS
Share on FacebookShare on Twitter

Development issue/problem:

I’m new to Android development and I bought a cheap Huawei Sonic (U8650 apparently) to test my first attempts to create an application on a real device.

However, if I try to use adb logcat or adb shell and then logcat on the device, I get :

The logging system /dev/log/main cannot be opened: Such a file or folder does not exist

I’ve already enabled usb debugging under Settings -> Developers.

I don’t know enough about Android to know if I can fix it.

I found two other questions with similar problems:

/dev/log/hand not found

??- ?? ?? : ?? : ?? : ?? : INFO/() : The logging system /dev/log/main cannot be opened: Such a file or folder does not exist

…but it turns out they both use a non-standard kernel with logging disabled. Mine’s a flip phone from the box.

This is a very cheap but very fast Android 2.3 phone, so let’s hope it wasn’t a complete waste of money.

Any help would be greatly appreciated.

How can I solve this problem?

Solution 1:

Dial the number: *#*### The service menu
appears.
Go to the menu Project -> Background settings -> Log settings.

Open the log switch and turn it to the ON position.
Open Log level setting and set the desired log level.

Restart the phone.

Solution 2:

  1. Open : /system/etc/init.d/×× (not the same file on different ROMs, look for the correct file).
  2. Find a line that reads: rm /dev/log/main
  3. Change the line to : # rm /dev/log/main (comments outside the line, rm = delete, if you are interested).
  4. Save and reload

Solution 3:

I share my case and my decision:

My phone had a performance version (Slim Bean ROM to be precise) with the semaphore kernel (you can say it is a semaphore because the logo of the semaphore is displayed when the phone boots up). These ROMs have disabled logging by default, so I had to download the Semaphore Manager application (you can download it here). Then I had to activate the ‘Journalist’ option in the ‘Modules’ section, as shown in the figure.

Restart and the protocol should work now!

Solution 4:

I finally found the answer to that question!

I was aimlessly checking to see if anything had been updated, and I came across a message on xda developers about a slightly different Huawei camera with the same problem.

http://forum.xda-developers.com/showpost.php?p=17774398&postcount=93

It really worked. I now have a complete logbook on my Huawei Sonic (U8650).

Three cheers for not giving up.

Solution copied from xda (in case it is deleted, etc.) :

There is a hidden service menu where you can configure the login. Dialling this number opens the service menu
:

*#*#2846579#*#*

Solution No 5:

I have a custom problem on Samsung Captivate, but my approach could also work for others:

Open CMD or a terminal and type :

Display Shell
Reload
with log code

I have Continuum v6.1, but it could also work for others.
If you have a terminal emulator on your phone, you can also do this:

Locate the release

and then just reboot the phone. I didn’t try, but it would probably work. My phone’s rooted, too. I don’t know if that makes any difference.

Solution No 6:

It was enough to restart the Huawei device.

Show Shell
Reboot

Solution No 7:

I have exactly the same problem.
One of the xda developers wrote something like this in issue 33 of the publication.

http://forum.xda-developers.com/showthread.php?t=1169869&page=4

One of the reasons it cannot be rooted is that the
Logcat engine of this phone has been removed from the android. This means that most people’s rooting methods are imperfect.

Maybe right, maybe wrong, I don’t know. In any case, it gives an overview of the case.

Good luck!

Related Tags:

textnow logcat,how to get logcat from android device

Total
0
Shares
Share 0
Tweet 0
Pin it 0
Share 0
Gordon James

Gordon James

James Gordon is a content manager for the website Feedbuzzard. He loves spending time in nature, and his favorite pastime is watching dogs play. He also enjoys watching sunsets, as the colors are always so soothing to him. James loves learning about new technology, and he is excited to be working on a website that covers this topic.

Related Posts

Blockchain Conference in Poland Showcases New Solutions to Problems in Enterprise Logistics
World Tech

Blockchain Conference in Poland Showcases New Solutions to Problems in Enterprise Logistics

December 15, 2022
World Tech

Rockstar Games Brings GTA to The Metaverse

October 20, 2022
World Tech

Ways Technology Is Changing The World Of Education

September 21, 2022
Next Post

How to use Android phone as a computer gamepad

Down load Firefox Web browser

Top Ranked Cell Phone Spy & Monitoring App For Parents

No Result
View All Result

Recommended

Myths and Misconceptions About Joint Pain

Myths and Misconceptions About Joint Pain

6 hours ago
The Spider Veins Facts that Every Individual Ought to Know

The Spider Veins Facts that Every Individual Ought to Know

6 hours ago

5 Benefits of Telehealth That You Should Understand

16 hours ago
openai gpt3 dallmiddotdouglas mit technologyreview

Why GPT-3 is so Impressive – and Why it’s Also Worrying

24 hours ago

Categories

  • Fitness Trackers
  • General
  • Latest
  • Pokemon
  • Tech
  • Technology and Computing
  • Wearable Tech
  • World Tech
  • World Tech Code

Recent Posts

  • Myths and Misconceptions About Joint Pain January 30, 2023
  • The Spider Veins Facts that Every Individual Ought to Know January 30, 2023
  • 5 Benefits of Telehealth That You Should Understand January 30, 2023
  • Why GPT-3 is so Impressive – and Why it’s Also Worrying January 29, 2023

Categories

  • Fitness Trackers
  • General
  • Latest
  • Pokemon
  • Tech
  • Technology and Computing
  • Wearable Tech
  • World Tech
  • World Tech Code

© 2022 FeedBuzzard.com

No Result
View All Result
  • General
  • Tech
  • World Tech
  • World Tech Code
  • Wearable Tech
  • Pokemon
  • About Us
    • Terms & Conditions
    • Privacy Policy
  • Contact

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT