Hello,
I was working on an app with my device (YP-G70) running PACman Rom when I found out logcat would not work. When I try to run it logcat returns:
Code:
Unable to open log device '/dev/log/main': No such file or directory
Does anyone know why logcat is not working?
Clethan said:
Hello,
I was working on an app with my device (YP-G70) running PACman Rom when I found out logcat would not work. When I try to run it logcat returns:
Code:
Unable to open log device '/dev/log/main': No such file or directory
Does anyone know why logcat is not working?
Click to expand...
Click to collapse
you may need to either mount system as writable or run logcat with su permissions
I did try mounting read-write and running logcat as superuser, but it still did not work. I checked and it turns out the file is missing. Does anyone know why?
Sent from my YP-G70 using xda app-developers app
I could be wrong but I think that some kernel developers remove log cat for speed. Perhaps it has been removed from your kernel.
Sent from my SAMSUNG-SGH-I577 using xda app-developers app
Meticulus said:
I could be wrong but I think that some kernel developers remove log cat for speed. Perhaps it has been removed from your kernel.
Sent from my SAMSUNG-SGH-I577 using xda app-developers app
Click to expand...
Click to collapse
That is a possibility. You may want to use a different kernel
Sent from my Kindle Fire running CM10.1/SGT7
I removed it from my kernel for 2MB of more RAM and some extra speed :silly:
Okay, thanks for the help.
Related
The Showcase is the Cellular South version of Fascinate and is very similar in structure to the Mesmerize. While it has been determined that the Mesmerize files work for the Showcase kernel and Clockworkmod, I was able to get jt1134 to compile the same files from a dump of my showcase. Attached is the kernel for clockworkmod as well as instructions for getting it installed. redbend_ua and zimage are located in the kernel_update folder of zip file.
You will also need to be rooted and have the sdk installed to use adb.
You will need to install redbend_ua first extract the zip file then;
Code:
adb push path/to/redbend_ua /sdcard/redbend_ua
then you need to make it executable
Code:
adb shell
su
chmod 777 /sdcard/redbend_ua
Now you need to move it to the /system/xbin
Code:
adb shell
su
mv /sdcard/redbend_ua /system/xbin/redbend_ua
Take the zImage file and push it to the sd card.
Code:
adb push path/to/zImage /sdcard/zImage
Finally we need to flash the zImage
Code:
redbend_ua restore /sdcard/zImage /dev/block/bml8
Now you can download clockworkmod from market and install the fascinate version of recovery. When you get done you can then flash the attached zip and it will replace your stock phone kernel with the modded one giving access to bln and some other stuff.
Big thanks to jt1134 for taking the time to answer my questions and compile the kernel zip for my phone. Also props to thescorpion420 who I borrowed the installations steps from, since he already had it so well layed out in the mesmerize post. http://forum.xda-developers.com/showthread.php?t=850898
Thanks for the writeup! And thanks for the help, got this going on my Showcase a couple of days ago... very nice to have the ability to make backups!
Hey, sorry, I'm having some odd trouble with this and I was wondering if someone could help. When I attempt to push the file, I'm getting a "permission denied" error. Any idea how to fix this?
I had similar troubles when I did it... I used Root Explorer to move the files into the proper locations, and Terminal Emulator to run the commands.
Hey. Is the zImage the zip file attached to the first post? Sorry, I'm learning. Managed to get to the last couple of steps!
ShadowDude said:
Hey. Is the zImage the zip file attached to the first post? Sorry, I'm learning. Managed to get to the last couple of steps!
Click to expand...
Click to collapse
the zImage file is in the kernel_update folder of the zip file... so open the zip file and extract it from there.
anyone else from cell south lose vibrate?
Sent from my SCH-I500 using Tapatalk
Pensacola06 said:
anyone else from cell south lose vibrate?
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
You lost vibrate after making some modification?
after flashing the above kernel
Sent from my SCH-I500 using Tapatalk
Pensacola06 said:
after flashing the above kernel
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
No problem with vibrate for me after flashing the kernel... did you make a backup?
Vibrate is working fine on mine.
Sent from my SCH-I500 using XDA App
restored from backup, vibrate still broke, even tried factory reset. do you think warranty will cover?
Sent from my SCH-I500 using Tapatalk
I am an idiot. I was reading "bml8" as "bm18." *facepalm* Thanks for the help!
Pensacola06 said:
restored from backup, vibrate still broke, even tried factory reset. do you think warranty will cover?
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
I'm sure it will... that sounds like a hardware issue at this point
Has anyone tried flashing super clean rom for the mesmerize?I figure since the showcase and the mezmerize have a lot of similarities it might be possible but i dont want to brick it.
Flip260z said:
Now you need to move it to the /system/xbin
Code:
adb shell
su
mv /sdcard/redbend_ua /system/xbin/redbend_ua
Click to expand...
Click to collapse
I'm still getting the error:
failed on '/sdcard/redbend_ua' -Cross-device link
downloading Astro Free* right now to see if I can move it with that... Doesn't look like the FREE version will let me move or copy the file. I'm wondering if it will work if I buy Root Explorer
Well Root Explorer solved my issue. For some reason xbin had RO rights.. I flashed the Recovery now I'm installing ROM Manager to do a back up..
Finally finished my first back up..
Worked with no issues. Thank you for getting us one step further in Showcase development
Sent from my SCH-I500 using XDA App
add144 said:
Worked with no issues. Thank you for getting us one step further in Showcase development
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
there's now a vudoo kernel jt posted for the fascinate, mersmerize, showcase and it's smoking fast..
Can someone tell me how to do this from the terminal on my phone? my phone isnt showing under devices.
paullytinkle said:
Can someone tell me how to do this from the terminal on my phone? my phone isnt showing under devices.
Click to expand...
Click to collapse
Essentially, you would download Terminal Emulator from the Android Market and run the commands in the terminal. Note that the files should be copied to your /sdcard/ first!
A little more info, since you're running it from the phone (and not adb shell) your first command will be: su. PM me if you need more help!
i tired best i could to avoid being noob and starting a new thread.
but i've searched and searched and tried everything it seems and have become frustrated.
im on LG-p509 running RevOidOpt rom
this rom has stock MMS app removed/ replaced with Go SMS. this seems to be causing a problem with me receiving ( while i have no problem sending ) mms.
i sought out to re-install stock Mms.apk.
firs i have tried "adb install" - with error: Failure [INSTALL_FAILED_DEXOPT]
then i tried, mounted /system and sdcard in recovery and in adb with su#:
/system/bin/mv /sdcard/Mms.apk /system/app/Mms.apk -
with error: failed on '/sdcard/Mms.apk' - Cross-device link
adb push does not work b/c file system is read only.
any advice would be greatly appreciated!! i cant post in the dev thread of the rom b/c i do not have enough posts yet.
The mms.apk you use is odexed you have to deodex it or place both mms.apk and mms.odex In phone.
Sent from my LG-P500 using XDA Premium App
silver tooth, thanks for the reply.
could you provide me with a link on how to deodex the file? or a link to where i can get mms.odex?
and even so, if it will not let me move mms.apk, how will it let me move either file while im getting these errors?
Deodexing will be long procedure but you can get mms.apk from a deodex custom roms that might be available. If you get it use adb install and dexopt error will not come up.
The mms.odex will be exactly in the same place where you got mms.apk and placing them is the same procedure as you did in first post but give adb remount before mv or cp
Sent from my LG-P500 using XDA Premium App
i obtained mms.odex but i still can not place the files. same errors
i did do "adb remount" before mv the first time when i recieved the error mentioned.
autonami said:
i obtained mms.odex but i still can not place the files. same errors
i did do "adb remount" before mv the first time when i recieved the error mentioned.
Click to expand...
Click to collapse
Install some non-borked busybox version and try again with busybox mv instead.
Sent from my LG-P500 using XDA App
autonami said:
i obtained mms.odex but i still can not place the files. same errors
i did do "adb remount" before mv the first time when i recieved the error mentioned.
Click to expand...
Click to collapse
Just do a
adb shell
Then commands to cp
Don't use mv I think mv makes hard links. cp should work.
Sent from my LG-P500 using XDA Premium App
ok cp worked. thanks a lot guys.
bad thing now though is..... the files i had didnt work lol. gotta find the right ones. >.<
autonami said:
ok cp worked. thanks a lot guys.
bad thing now though is..... the files i had didnt work lol. gotta find the right ones. >.<
Click to expand...
Click to collapse
There's also apn to be updated for mms to work.
Sent from my LG-P500 using XDA Premium App
xD
i dont suppose you could point me in the right direction to fix that could you? lol
the problem is now, while GoSMS still works, and will send, but not receive texts.
the Mms.apk that i just installed will not run. it just force closes everytime.
sorry to trouble your sir. but your help is greatly appreciated. i cant recieve txts!!
What does logcat say...on FC.
Download aLogcat from market.
Sent from my LG-P500 using XDA Premium App
Has there been anything on rooting directly from the phone?
And has anyone made an update.zip with unlockd boot?
Sent from my MB855 using XDA Premium App
Yes, you can root directly from your phone by using terminal emulator but you have to put photon-torpedo.tar to /data/tmp first. I rooted my photon on the phone itself.
GraphicDemon said:
Has there been anything on rooting directly from the phone?
And has anyone made an update.zip with unlockd boot?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1216143
A little bit of reading goes a long, long way. This thread will tell you the current state of the art.
urcboss07 said:
Yes, you can root directly from your phone by using terminal emulator but you have to put photon-torpedo.tar to /data/tmp first. I rooted my photon on the phone itself.
Click to expand...
Click to collapse
Ok can you please tell me how you got terminal to process your commands. I get permission denied every time I use terminal to try and do anything with /data. I obviously need root to complete the commands using terminal to write to anything besides the sd. I would appreciate any help. Thanks in advance.
Sent from my MB855 using XDA Premium App
Ok I tried using it from phone but how u push it to data without using comp
Sent from my MB855 using XDA Premium App
Did you install superuser from market? You also need to install Superuser and push photon-torpedo.tar to /data/tmp
then type the following in terminal emulator:
cd /data/tmp
/bin/tar xf /data/tmp/photon-torpedo.tar
/data/tmp/photon-torpedo.sh
/data/tmp/install-su.sh
Just say "THANKS" to Edgan for great work and job well done.
urcboss07 said:
Did you install superuser from market? You also need to install Superuser and push photon-torpedo.tar to /data/tmp
then type the following in terminal emulator:
cd /data/tmp
/bin/tar xf /data/tmp/photon-torpedo.tar
/data/tmp/photon-torpedo.sh
/data/tmp/install-su.sh
Just say "THANKS" to Edgan for great work and job well done.
Click to expand...
Click to collapse
Not sure if you were responding to me or the other guy but my MacBook and my Linux laptop both recognize my phone but they both say its offline when I try and use a adb. Some people say they have done this root without the computer and just using the terminal on the phone but I get permission denied messages since it needs root. I have super user installed but that does me no good without root. I want to know how they got past the permission denied using the terminal on the phone?
Sent from my MB855 using XDA Premium App
smoothone said:
Not sure if you were responding to me or the other guy but my MacBook and my Linux laptop both recognize my phone but they both say its offline when I try and use a adb. Some people say they have done this root without the computer and just using the terminal on the phone but I get permission denied messages since it needs root. I have super user installed but that does me no good without root. I want to know how they got past the permission denied using the terminal on the phone?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Exactly I'm having same problem. I m not understanding how I can push it to that part of the phone without root.
Sent from my MB855 using XDA Premium App
GraphicDemon said:
Exactly I'm having same problem. I m not understanding how I can push it to that part of the phone without root.
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Make sure you have USB debugging checked. Menu > settings > applications > development. This was my problem when I first tried to adb the file to the /data/tmp folder on the phone.
Also, I was getting an error at "Run /data/tmp/photon-torpedo.sh," but I just ignored it and kept going. It worked. You can use root checker from the market to verify that you have root.
my2cents said:
Make sure you have USB debugging checked. Menu > settings > applications > development. This was my problem when I first tried to adb the file to the /data/tmp folder on the phone.
Also, I was getting an error at "Run /data/tmp/photon-torpedo.sh," but I just ignored it and kept going. It worked. You can use root checker from the market to verify that you have root.
Click to expand...
Click to collapse
Thanks for the advice but the both of us are not using adb. I always have debugging enabled. We are both trying to do this from or phones with terminal. An update zip would be amazing :~)
Sent from my MB855 using XDA Premium App
smoothone said:
Thanks for the advice but the both of us are not using adb. I always have debugging enabled. We are both trying to do this from or phones with terminal. An update zip would be amazing :~)
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Ok. I thought one of you was trying to use a Mac or something to push the file then use terminal. And an update.zip would be awesome!
my2cents said:
Ok. I thought one of you was trying to use a Mac or something to push the file then use terminal. And an update.zip would be awesome!
Click to expand...
Click to collapse
I was trying to use adb with my Mac and my Linux laptop but both give me "device offline" when I use adb. I'm going to try a different USB cable as I have seen this happen before and a different cable works but I find it hard to believe that i'm the only one that used stock cable and does not work
Sent from my MB855 using XDA Premium App
What happened to that person said they did everything from phone?
Sent from my MB855 using XDA Premium App
GraphicDemon said:
What happened to that person said they did everything from phone?
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Lol, I guess they all vanished! Funny thing is that I am not new to Linux and those are busybox commands which
1: busybox does not come installed on the factory ROM and
2: even if you install it from the market it still needs root access.
Sent from my MB855 using XDA Premium App
So what are we developing in this thread again?
Sent from my MB855 using XDA App
Custodian said:
So what are we developing in this thread again?
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
If you cannot help then just save your useless comment! Your bringing back bad memories from the EVO forum. That forum was full of bashers and flamers.
smoothone said:
Lol, I guess they all vanished! Funny thing is that I am not new to Linux and those are busybox commands which
1: busybox does not come installed on the factory ROM and
2: even if you install it from the market it still needs root access.
Sent from my MB855 using XDA Premium App
Click to expand...
Click to collapse
Yeah tell me about it, wish they would just make a damn step sheet it's getting ridiculous.
Sent from my MB855 using XDA Premium App
http://forum.xda-developers.com/showthread.php?p=16904179
Sent from my MB855 using Tapatalk
Hello.
I have problem with overclocking. I copied files to /system/lib/modules and script file to /etc/init.d/ but it's not overcloking at boot. When I writing commands in terminal manually it works, but it doesn't work in smanager.
Please help me to fix this problem.
I just used the autostart oc it sets up init for you.
Sent from my LG-P769 using xda app-developers app
Problem solved. There was a space beetwen #! and /system/bin/sh
Now working perfect. Please close thread.
Been using and wifi would start at startup but lately I have to start it manually. Don't know why its changed or how to fix it.
Sent from my VEGAn-TAB using xda app-developers app
striker59 said:
Been using and wifi would start at startup but lately I have to start it manually. Don't know why its changed or how to fix it.
Click to expand...
Click to collapse
You must've enabled Airplane Mode. VEGAn-Tab 7.1 has a bug in that setting: once activated, Airplane Mode is always set (internally). Reset it using the script attached.
Copy the script to the gTab; execute it as root; then reboot.
Code:
$ [B]su[/B]
# [B]sh [I]/some/path/[/I]reset_airplane_mode.sh[/B]
Thank you for your reply but your instruction is beyond my knowledge. I was able to download the zip file and extract the file but that's as far as I got.
Sent from my VEGAn-TAB using xda app-developers app
Had a thought, do I install this zip file with clockwork?
Sent from my VEGAn-TAB using xda app-developers app
striker59 said:
Thank you for your reply but your instruction is beyond my knowledge. I was able to download the zip file and extract the file but that's as far as I got.
Click to expand...
Click to collapse
After you've copied the script onto the gTablet somewhere, open a Terminal Emulator window and type those 2 command-lines in (w/o the prompt chars--ie. only the stuff in bold). Substitute the correct path in place of /some/path/.