monitoring mmc0 activity with device led - Nexus 6P Q&A, Help & Troubleshooting

hi guys
looking for some some help to made a script that allows to monitor the mmc0 activity with the device led
my progress for now is
#!/system/bin/sh#
echo mmc0 > /sys/class/leds:red/trigger;
but no luck,so any help will be welcome

Something like a hard drive indicator on PC? Sounds interesting.
From my basic knowledge, the command you have only execute once on running, so you can't see the effect. I reckon there needs to be at least a basic loop for the effect to show. However, MMC activity is so frequent, even if done right, I doubt you'll simply see an always-on light.
Sent from Google Nexus 6P @ CM13
[WARNING: XDA One have not implemented "mark forum as read" - do not use]

AndyYan said:
Something like a hard drive indicator on PC? Sounds interesting.
From my basic knowledge, the command you have only execute once on running, so you can't see the effect. I reckon there needs to be at least a basic loop for the effect to show. However, MMC activity is so frequent, even if done right, I doubt you'll simply see an always-on light.
Sent from Google Nexus 6P @ CM13
[WARNING: XDA One have not implemented "mark forum as read" - do not use]
Click to expand...
Click to collapse
yes,it is very usefull
this command worked perfect on my samsung note 3 without issues,but on 6p i think needs some correction,

every time i try execute the script im getting ''can't create /sys/class bla bla bla no such file or directory'' can anybody code expert help me?

vagenrider said:
every time i try execute the script im getting ''can't create /sys/class bla bla bla no such file or directory'' can anybody code expert help me?
Click to expand...
Click to collapse
Ah, so that might be the problem. Double check your leds path.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also, you didn't point out the exact path of mmc0. In its current configuration it should echo the binary stream of characters "mmc0" to the led, which is not what you're trying to do. Too bad I don't know what it should be either.
Sent from Google Nexus 6P @ CM13
[WARNING: XDA One have not implemented "mark forum as read" - do not use]

AndyYan said:
Ah, so that might be the problem. Double check your path.
Sent from Google Nexus 6P @ CM13
[WARNING: XDA One have not implemented "mark forum as read" - do not use]
Click to expand...
Click to collapse
hmm im going to check it

vagenrider said:
hmm im going to check it
Click to expand...
Click to collapse
One more edit above you[emoji14]
Sent from Google Nexus 6P @ CM13
[WARNING: XDA One have not implemented "mark forum as read" - do not use]

Related

[Guide] How to Search Effectively!

First, click the Search button. (But don't put your search terms in there!) Instead, click "Or use the built-in forum search".
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Next, click in the bottom right box and type 'nex' on your keyboard. This will restrict the search to the Nexus One forums. Click a specific forum if you want to search only a specific one.
Then click Show Results as -> Posts.
Enter your search keywords (root, desire, apps, etc), and select "Search Entire Posts" from the dropdown.
Finally, click Search!
Bump...
This should be a universal sticky.
Free bump.
i think we all know how to search lol we're just lazy
lol
+1 for universal sticky
homless begging for change = internet user asking questions w/o using search first
stop the knowledge bums
There is like 4 threads on this already.
liam.lah said:
There is like 4 threads on this already.
Click to expand...
Click to collapse
LOL!!!!!!!!!!!!!!!!!
Bump!!!
It's been 1 month exactly. Bump!
to the top!!
I searched around but I can't seem to find it, where is the search button?
I
muncheese said:
I searched around but I can't seem to find it, where is the search button?
Click to expand...
Click to collapse
As much as forum regulars anywhere like to highlight the search-function it still works horribly. Utterly useless. Everywhere, including here.
Instead what I suggest people do first is google (keyword 'g' in my browser) :
g site:forum.xdadevelopers.com guide how to search
Bonus: you get to refine your search with a new one immediately, no need to wait 5-10-30 seconds or however long the forum requires newcomers to wait.
Bonus: familiar search interface, with well known syntax
Great!
10 characters

[Q] Editing the "Me" contact card...

Whenever I look at a text message conversation it puts "Me" as blank picture: (see first picture).
But whenever I try to edit "Me" from the "People" application, the device just hangs and won't let me edit anything. Does this happen to anyone else or does anyone know where to fix it? Thanks!
Sent from my HTC Vision using XDA App
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my HTC Vision using XDA App
From what I remember reading a while back, you will need to make sure that your sim card has your number set in to it... From what I remember reading, you can do this using an iphone or a blackberry... The cyanogenmod rom used to do this from what I recall... But can't say 100%...
Unless someone can correct me, as I only used android for a few weeks
I'd like to piggyback off this question and ask if theres a way to make one of our contacts "Me" or just overwrite it.
lovelldr said:
From what I remember reading a while back, you will need to make sure that your sim card has your number set in to it... From what I remember reading, you can do this using an iphone or a blackberry... The cyanogenmod rom used to do this from what I recall... But can't say 100%...
Unless someone can correct me, as I only used android for a few weeks
Click to expand...
Click to collapse
Ah at least I have an idea now! Thanks!
salemfox said:
Ah at least I have an idea now! Thanks!
Click to expand...
Click to collapse
On Windows Mobile there was an option to copy any contact into the "Me" contact but I can't find that option, should there be one on Android!
The "Me" thing is an HTC thing, not an ANDROID thing. In Vanilla Android there is nothing like this in the People area, you just have a contact card of yourself. I can edit my "Me" information fine. If you go on Google.com and edit your contacts with your name, it seems to change it as you login to facebook and stuff and it auto associates you with yourself, ie my Facebook is Josh ______, my twitter is GlitchZero, it auto links these things to "Me" or "Josh ______" in my Google contacts.
Ah thank you for that information. I did a hard reset & made sure "Me" was not associated with any Facebook or Google account & it works perfectly, thanks!
Sent from my HTC Vision using XDA App
Glad I could help.

[Q] My brand new Desire Z is acting wierd

Hey there XDA
I have now been trying to get my brand new Desire Z to work proberly the whole afternoon but some problems remains which is why i now come to you for help. I've listed them in a list below.. Hope you can help me out here
My HTCSense.com account seems to be missing a lot of functionality.. Phonefinder didnt work, so i had to recover/reinstall something called "Locations" before it got to work. I had allready enabled this "Phonefinder" but HTCSense.com told me that it was disabled. However i still seem to be missing a lot of stuff at my htcsense.com account. See this screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It is like there should be some menu at the top or at the side which iam not getting. I have tried both Internet Explorer and Firefox, which gives the same results.
When i turned the phone on for the first time it showed me some suggestions to friends that i could add from HTCsense.com. When i wanted to select them they dissapeared and didnt show up again. How can i see this list again?
They have however later showed up and i managed to send a request to one of the suggestions but when i try to the other one (it gives me two suggestions) it says that it was not possible to request at the moment.
Everytime i turn on the phone or reboot it, i get a Nortification that my "SIM card has been changed", which is not the case..
Allmost everytime i try to access HTC likes and HTC Hub i get a message that it couldnt connect to the HTC Sense server.
Sometimes when i write speciel characters like ÆØÅ it writes them in uppercase no matter what i do.
I hope that you can help a newbie with some of these problems.. Its been a long time since i've used an Android phone
Thanks in advance!
~D
Regarding HTC sense we have the same experience with errors and functionality. About the sim problem maybe you could try doing a full wipe/reset?
Sent from my HTC Vision using XDA App
Sometimes when i write speciel characters like ÆØÅ it writes them in uppercase no matter what i do.
Click to expand...
Click to collapse
there is a fix for that in the development section of this forum. just search for Keyboardfix
See this thread about HTCSense.com not working properly :
http://forum.xda-developers.com/showthread.php?t=849410
steviewevie said:
See this thread about HTCSense.com not working properly :
http://forum.xda-developers.com/showthread.php?t=849410
Click to expand...
Click to collapse
Actually just saw that right now.. Good to know iam not the only one having the problem.. Hope HTC will come with a fix soon
Exanimus said:
there is a fix for that in the development section of this forum. just search for Keyboardfix
Click to expand...
Click to collapse
Okay thanks a lot!

i9000 Developers, Thank you for helping your community get firmware

See here for the modification required to access the newest download mode on the Captivate: http://forum.xda-developers.com/showthread.php?t=1206216 While this only currently works on the Captivate, it will not be long until we crack the entire SGS Series.
In order to revive bricks we need firmware. Samsung has this firmware. We need to get it. Please sign up here at the bottom of the page:
http://www.samsung.com/global/busin...o.do?fmly_id=834&partnum=S5PC110&xFmly_id=229
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Application Note
Schematics (SMDKC100)
IBIS model
Board Manual (SMDKC100)
Circuit Design Guide
DNW for USB2.0
Trace32 CMM file
PC Driver for DNW
Test Program
Click to expand...
Click to collapse
Please sign up to obtain this great information! You've got nothing to loose. We need this information to continue development. This will also ensure that your i9000 can be repurposed as a Linux media server, security camera or whatever when you're done using it as a phone.
Please sign up, Request the information
http://www.samsung.com/global/busin...o.do?fmly_id=834&partnum=S5PC110&xFmly_id=229
This SHOULD matter to all GalaxyS Owners. If you don't understand, then at least understand that by obtaining this software you are benefeitting the community.
I have been declined. We need others to try.
Sounds interesting
Wasn't a similar link posted before here? I seem to remember it.
would be great
ragin said:
Wasn't a similar link posted before here? I seem to remember it.
Click to expand...
Click to collapse
No.
Instead of posting... "Sounds great", Post that you ****ing signed up and did your part to help the community.
Code:
On-chip USB 2.0 Host supporting LS/FS/HS (1.5Mbps/12Mbps/480Mbps, on-chip transceiver)
Did my part...going to use some alt emails when I get back to work
Sent from my SGH-I897 using XDA Premium App
Anyway to set up e-mail addresses that they would accept? I doubt they will accept anything from gmail or hotmail or the likes since they want official company e-mail addresses?
I will follow the topic, sounds interesting
Andeby said:
Anyway to set up e-mail addresses that they would accept? I doubt they will accept anything from gmail or hotmail or the likes since they want official company e-mail addresses?
Click to expand...
Click to collapse
I have no idea. We just need this software. We've got the hardware tricks worked out.
I'm not a developer but I've registered with my company's details; a sub-section of it is involved in manufacturing of electronics, so I'm hoping my request I'll be 'approved' on those grounds
ok i posted link to files at
http://forum.xda-developers.com/showthread.php?t=1244136
i hope it will help someone
This may be unstickied

[Q] define a word as Iphone??

Hi there,
I want to ask if is something like iphone's ability to define a selected word in android for nexus 4?
thanks!!!
stefanos7 said:
Hi there,
I want to ask if is something like iphone's ability to define a selected word in android for nexus 4?
thanks!!!
Click to expand...
Click to collapse
Sorry, but what kind of a question is this? You mean word prediction?
No I m talking about the ability which iPhone has to define a selected word in terms of its meaning ...
When you select a word using an iPhone you have the ability to define this word ...
I hope to be understood now...
If you mean adding a word/phrase to your personal dictionary (for auto-correct, etc):
Settings > Language & input > Personal Dictionary > "+" (add)
Edit: Seems you're looking for the actual definition of a word, posts below mine have answered that already.
stefanos7 said:
No I m talking about the ability which iPhone has to define a selected word in terms of its meaning ...
When you select a word using an iPhone you have the ability to define this word ...
I hope to be understood now...
Click to expand...
Click to collapse
You might look in Google Play for such an app. I couldn`t say right now. It is not build into android afaik at the moment.
Just type or say Define "word" in the Google search bar
Sent from my Nexus 4 using xda app-developers app
OK thanks for replying so fast!
I ll search for it and if I find something I all post it here!
use the built-in google now function, for example..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
simms22 said:
use the built-in google now function, for example..
Click to expand...
Click to collapse
Sent from my Nexus 4 using xda premium

Categories

Resources