yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z General] funtimesman:
so how did you get past permission denied?

damn, i am stuck at the permission denied phase in terminal emulator after typing su then hitting enter.

its seems like the person above figure it out and posted back to say they figured it out, but neglected to give any insight as to how they resolved the issue, save for:

"I'm finally root and s-off, thanks to the "bad" visionary method !

What's the risk exactly with visionary ?"

so anybody can help please?

i don't know what is meant by the "bad" visionary method. i'm pretty sure i used visionary r14 and the instructions found at:

the unlockr site for the how to get permanent root issue

i did seem to have s-off indicated when i held down the volume down button and the start button. i am never quite sure how to restart the phone when i get to that point, i think i just held the power button down, then an option for restart or shut down or something appeared and i toggled the volume switch down to that and pressed the start button and the phone restarted.

one other thing, when i go back into visionary and attempt to follow the last instructions:

"Open Visionary and Uncheck TempRoot on Boot and click Temproot Now.

12. Then select Attempt Perm Root Now and the phone should reboot.

13. Once the phone reboots, open Terminal Emulator on the phone and type su and hit enter. If you get the # symbol, you have permanent root access and S-OFF, enjoy!"

i don't know where i should leave the "set system r/w after root" item checked (which it is) the subheading for that option reads:

"system partiion will be mounted r/w after root process completes

by the way, I am using a fat32 formatted microsd card that is class 4 or so and 32gb that i got off walmart.com for about 100 bucks.

peace
[G2 and Desire Z General] leopdurr:
I am new at this and I try VisonaryPlus and my phone keep hanging when I do temproot and I get permission denied. I try almost all the option I found online including the one user the Terminal Emulator and still cannot root. Can some please help.
[Defy General] |ErosizeD|:
I can see Asphalt 5, doesn't have Reflections, shadows, and low quality textures...

Nova the same, and some games on the market... THIS IS BULL****!!

someone else will feel the same???

EXAMPLES:

On defy looks like this:

On other Android devices PowerVR or Adreno powered...

Yes yes much PowerVR but we can not draw all its power... :mad:
[Defy General] JamesDax:
I don't know. Looks good to me. You sure you downloaded the HD version of the game?
[Defy General] |ErosizeD|:
Yes, and i don't know why...

I have the same version of the game ( galaxy S ), and my friend looks good and clear.

On my defy not... your defy looks like 1rst photo or like 2nd??
[Defy General] sarge78:
Is that the demo?

Edit: I should say... The demo, using both a Desire and Defy, looks like the first screen shot.

Try Need for speed: Shift, it's a much better game (and has full textures/reflections)
[Defy General] jhowlive:
On my DEFY, the game looks like the 2nd pic...

View attachment 488136

Screenshot from my DEFY
[Defy General] aikidoka90:
are you sure?

Wich version do you have?

I only has seen asphalt like the 2nd pic with a version of samsung galaxy (3.19) but with a big zone white in the right of the screen, because of the diferent resolution (800x480 in galaxy S and 854x480 in the defy :D).
[Defy General] jhowlive:
Sorry, when i said it looks like the second picture, i'm referring the reflection... on your screenshot doesn't have reflection...

But the gameloft games are different from a manufacturer to other...

On Samsung Galaxy S, they put the high resolutions textures, if you look in your SD Card on the Gameloft/Asphalt game folder, the Galaxy S one will be bigger than the Defy one.
[Defy General] |ErosizeD|:
so... i dont know why doesnt look like the 2nd picture...
[Defy General] aikidoka90:
But if galaxy s version runs on defy, why gameloft don't do the same version to defy? The only problem is the resolution.

In milestone 2 anyone know if run like in defy?
[Defy General] jhowlive:
It runs? I didn't know that...

Gameloft is weird...
[Defy General] thenext1:
It still seems to me that anisotropic filtering is pumped up in the Galaxy S (2nd pic) than in your pic. Look at how blurred the road texture becomes just a few meters ahead of the cars.
[Defy General] |ErosizeD|:
my old HTC HD2 Runs asphalt 5 like the galaxy S ( in graphics terms )

why defy with a more powerfull gpu cant?
[Defy General] thenext1:
I don't know... programming bugs... driver bugs... may be 1000000 things.
[Defy General] aikidoka90:
Defy can run asphalt 5 like galaxy, I have seen in my defy with a version of galaxy s, but how i said, whith a big zone white because of the resolution of defy( 854*480 vs 800*480 of galaxy s). So the problem is the game, not the phone.
[Defy General] |ErosizeD|:
Where? i downloader 10 versions of asphalt 5 and stills not looking the same as galaxy S :(
[Milestone XT720 General] mslatter:
Guys,

My girlfriend just got the XT720. I don't see ANY lights on this thing - power (when charging) or when a text comes in, nothing "flashes". You have to turn on the screen to see if any messages came through.

I've hunted for information and don't see anything telling me that there is actual visual notification on the phone. I carry a Nexus One and the trackball light flashes to tell you that you've missed something. There are 3 dots on the upper left corner of the XT720 just above the screen, and those "may" be lights, but I have no diagrams or information to tell me. If they are lights, they don't work.

Can anyone give me a quick piece of advice on this?

Cheers,

Mark.
[Milestone XT720 General] easye420:
No notification lights on this piece. Lol jus vibrate. Lol
[Milestone XT720 General] Riley600:
I was a little disappointed to find out that there were no notifications lights. Coming from a Blackberry I'm used to the red blinky light for notifications. In fact, I had everything on silent except incoming calls - the light was enough to tell me (even from across the room) if there was any notifications. I know you can set the 4 touch sensitive buttons at the bottom to blink...but it's infrequent and they tend to stay off if a notification comes in.

Would it be possible to write a script to make use of the 3 media LEDs on the side for notifications (emails, SMS, missed calls, Facebooks, etc)? I have little to no programming knowledge so I certainly can't - nor do I know if it's even possible.
[Milestone XT720 General] mslatter:
Hey easye420, thanks for the reply...althought it's not what I was hoping for! LOL I find it difficult to believe there's no blinking light of sorts on this thing.

Riley600, she too is coming from a blackberry and that's her gripe about it. I've been trying to get her onto an android for a while and this was the best device her wireless company offered. I like your idea about a script to do this and think many people would love to have it....especially ex-blackberry users! I'm not a programmer though so can't help in the design I'm afraid.

Thanks also for the note on the back buttons flashing. I'll see if there's a good app to make those blink....just some visual notification that you've missed something. I'd think that would be a standard feature of any of today's phones.

Cheers,

Mark.
[Milestone XT720 General] Riley600:
No app needed.

Settings --> Sound & Display Settings --> check Visual Notification (and Periodic Notification if you want to get reoccurring notifications).
[Milestone XT720 General] easye420:
I forgot bout that. When i had it enabled if i turned to screen on when it was blinkin they would either stay off or stay on and it would piss me off. :(
[Milestone XT720 General] spiderx_mm:
...

deleted
[Milestone XT720 General] spiderx_mm:
that's a known Motobug. We've reported Moto regarding this issue long ago but till now, no fix is applied.
[Milestone XT720 General] mslatter:
Thanks for the feedback from everyone. Now I know where this issues stands and what my options are.

Cheers.
[Milestone XT720 General] Riley600:
I am still curious though, does anyone know if making a script to use the media LED lights for notifications is possible?
[Milestone XT720 General] mslatter:
Hey Riley600, sorry mate I don't know the answer to that. I would assume it's possible, but not sure how difficult it would be.... maybe someone else knows?
[Milestone XT720 General] peshovec:
Yes it is possible.

as you know, the xt720 doesn't have multicolor led (other phones has one, which can basically light in 3 different colors).

Anyway, i was playing some times ago and discovered, that the multimedia leds, corresponds to red, green and blue colors:)

just find the notes i have made:

/sys# echo 1 > ./bus/platform/devices/notification-led/leds/blue/brightness
camcorder

/sys# echo 1 > ./bus/platform/devices/notification-led/leds/green/brightness
camera

/sys# echo 1 > ./bus/platform/devices/notification-led/leds/red/brightness
gallery

sys/./devices/platform/button-backlight/leds/button-backlight/brightness
four buttons

/sys# echo 0 >./devices/platform/af-led/leds/af-led/brightness
af led

so instead of possible, it seems to be easy:) (rooted phone assumed)

i have seen several apps, which can deal with notifications (market)

this can be used for the code to deal when to trigger notification

and i use adjbrightness, which works in similar way.

this can be used for the code to trigger the leds

here is an information link to adj brightness.

http://xdaforums.com/showthread.php?t=731032

edit: actually it can be even easier, but it depends on the /sys entries of a phone with dedicated led. but the idea is the same:)
[Milestone XT720 General] Riley600:
That's great to know that it should be easy. But I'm going to be honest in saying that I'm not an Android expert.

If you would be so kind to give me a set of easy to follow steps (my phone is rooted, I know how to use adb, etc) on how to set something up to blink the media LEDs for notification, your coffees next week will be on me. I don't know how to (or have the ability to) unpack APKs, edit them and repack them. If you can provide a easy to implement solution (some basic editing of an existing program or an APK for me to use), you will not only be my hero - you will also have some more money in your pocket. It sounds like you might be a couple other people's hero in this thread as well. :)

Thanks!
[Milestone XT720 General] peshovec:
it is not about money

it is not about coffee (there is just a new espresso machine in the office:)

it is about time...

so i will go deeper in the very possible and very easy way (i have edited my post above).

i saw some applications on the market , which can do the job (e.g. deal with the led for some events aka notifications ).

the easiest way is to find a phone, when they worked as expected.

then on this phone, to find the corresponding entries in the /sys folder, which deals with the leds, and just try some symbolic links to our leds:)

in the easiest way it will be as simple as:

ln -s /sys/bus/platform/devices/notification-led/leds/green/brightness /sys/what_ever_path_is_needed

of course there will be some drawback (e.g. not fully customizable), but it will work.

this method will not require nothing else...

anyway more appropriate way (more time consuming) will be to modify some almost do the job application, to do it for our phones. (actually, to submit patches to the developers regarding support of our phones).

this is the right way (in my opinion). the prerequisites:

1. application which do the job for some phone

2. open source

then:

3. spent some time in code:)

4. test the patch

5. send it to mainstream

i will be glad to do it for fun, will appreciate help regarding step 1 and 2
[Milestone XT720 General] Riley600:
I'll be happy to help out where I can - but as I said earlier, my knowledge is limited.

I have a basic idea of what you're saying here. I used Root Explorer to navigate to /sys/bus/platform/devices/notification-led. It appears as a empty file, though. I'm not sure if the ln -s is a command or what. Would you be able to elaborate a little?

And this method would obviously not allow for the setting of a custom blinking interval, etc. Being able to set something like that would be awesome - but right now I'll take whatever I can get. :)
[Milestone XT720 General] Riley600:
Or would it be possible to change the settings for the key backlight blink to one of the media LEDs? Perhaps by moving or changing one of the system files?
[Milestone XT720 General] ralfbonne:
I use "Missed Reminder" for calls, emails and sms. Works fine.
[Milestone XT720 General] Riley600:
This doesn't work for the LEDs, though - does it?
[Milestone XT720 General] ralfbonne:
Not the LEDs for camera etc. But for the LEDs of the Home-key ...
[Milestone XT720 General] Riley600:
Solution: LED me know

Solution found!

An app called 'LED me know' by p0w4p0ty (http://xdaforums.com/showthread.php?t=837057) is able to use the 3 media lights to signal notifications. So far I've found it works for Gmail, SMS and missed calls - but I believe it supports other notifications as well. At this moment, it doesn't seem to work for Gtalk notifications. It's highly customizable (you can set each one of the 3 media lights to blink [corresponding to red, green and blue] or you can set them to blink in combinations [2 lights for cyan and 3 lights for white]). I should mention that the phone needs to be rooted in order for this to work with the XT720.

I'm very pleased with it so far and it's free (in fact I'm looking across the room right now and see that I have a SMS). :D
[Milestone XT720 General] 3rdstring:
I downloaded the app but but it says "No LEDs detected" & I don't get any notification lights. Was there any special set up involved that I am missing?
[Milestone XT720 General] Riley600:
Have you rooted your phone? I believe that is required and I believe I forgot to mention it in my post.
[Milestone XT720 General] 3rdstring:
I flashed back to stock last weekend because I seemed to be having battery issues & I was thinking I might have to take it back to CB, but it's been running smoothly all week so I'll be rooting doing the new JIT & trying out the Link2SD this weekend. Thanks for the reply.
[Milestone XT720 General] Iced27:
Just tried it out and seems to work great, through only the middle LED lights up (the camera one, not the media gallery or the camcorder one).
[Milestone XT720 General] Riley600:
If you select the 'Notifications' tab, you can further tweak the notifications for each event. Selecting LED color under each notification type will determine which LED illuminates for that notification.

Red = Gallery

Green = Camera

Blue = Camcorder

Cyan = Camera & Camcorder

White = All 3 LEDs

You can select the blinking frequency (even set your own custom value) along with other various options.

What's nice about this is that I've turned off the keyboard backlight notification so I don't have my keyboard backlight forgetting to wake up all the time now. :)
[Milestone XT720 General] easye420:
also unknown color turns on the red auto focus flash led which works as a flash light, jus select unknown color and hit test.
[Milestone XT720 General] mslatter:
This sounds perfect! I will search for good rooting instructions. If anyone has a good set that worked easily for them on this phone, please let me know =)

Cheers and THANKS!
[Milestone XT720 General] 3rdstring:
The apps2SD script includes the Universal Androot apk.
[Milestone XT720 General] Riley600:
Or just Google 'Universal Androot'. Once you install and run it, all that's needed is 1 tap for rooting :)
[Milestone XT720 General] mrJackiLL:
It doesn't work on XT701. There is no blinking at all (((
[Milestone XT720 General] Riley600:
Is your phone rooted?
[Milestone XT720 General] mrJackiLL:
of course.

PS - I've rebooted the phone and now the camera's LED flashes only (for notifications). The program does not react on any tuning (Im changing options and have no results). Very strange situation.
[Milestone XT720 General] Riley600:
I'm not really sure. I don't know if your phone has different directory locations for its notification LEDs or what.
[Milestone XT720 General] mslatter:
Thanks guys, I will give it a shot next time I can get the phone back! =)
[Hero CDMA Q&A, Help & Troubleshooting] hitman13429:
So I formated my memory card since I was haveing problems and I think it was coming from that. Now my issue is I wiped everything and installed the new aosp mod 0.1.7. Whenever I try to load it it gets stuck in the loading screen and never goes past it. Now im not sure what my options are. Could I download the stock sprint firmware install it from recovery and then re unlock? Can I get someone elses nanodroid backup and then start my hero up with that? I guess im not sure where to go from here to get it to work again.
[Hero CDMA Q&A, Help & Troubleshooting] Stuke00:
You could always use the Hero RUU for Sprint. Another option would be:

-Download another rom.

-Boot into Recovery (I've only done this in clockwork)

-Mount SD card within recovery.

-Copy rom to SD card

-Flash said rom

You should then be up and running :)
[Hero CDMA Q&A, Help & Troubleshooting] hitman13429:
Yeah I just was able to flash FRESH rom and that worked so idk if its just something with that rom or what which sucks because I liked how fast the previous rom was.
[Hero CDMA Q&A, Help & Troubleshooting] hitman13429:
Now im still haveing issues. One rom it says corrupt file system/app/contacts.apk and another one it says corrup boot.img file. Does all this mean its missing certain files from what would be the very first time I unlocked the phone?
[Hero CDMA Q&A, Help & Troubleshooting] andythegreenguy:
What recovery are you using? I would recommend RA 1.7.

I was having similar issues. This is what I had done:

1. Switch off phone

2. Format the sd card externally (using a card reader)

3. RUU back to a version that is rootable

4. Re-root

5. Put RA recovery 1.7

6. Downloaded CM (this is not ROM specific)

7. Checked the md5 sum

8. Booted into recovery

9. Flashed the ROM from recovery

I had to do steps 1 through 4 as I was running clockwork recovery and was unable to flash RA recovery... If you can flash RA recovery just like that, just do that, do a full wipe and follow steps 6 through 9.
[Android Software Development] gungh0:
Hi, first post here & I did search for an answer first ;)

I'm trying to add a menu to my app, in my onCreateOptionsMenu method I can use

menu.add(0, 1, 0, "Text1");

menu.add(0, 2, 0, "Text2");

etc

It works OK & when I press the menu key it pops up, the onOptionsItemSelected method correctly detects the item selected.

If I try to use the MenuInflater on an XML file, it does not work. When I press the MENU key, it pops up a menu with blank buttons - no text or icons & the number of buttons corresponds to the number of ITEM entries in my XML. The XML looks valid .

Any ideas where I'm going wrong. I would paste the code, but the forum says I cant until I've made more posts.

Thanks.
[Android Software Development] FreeTheWorld:
Still new to this myself, but in my recent menu tries, i had to put in a TextView into the xml to tell it what to say.

<TextView

android:text="@string/menu_button1" />

And define the name you want on that button under the strings file.

<String name="menu_button1">New Game</String>

I may be completly off so take what Im saying with a grain of salt lol
[Android Software Development] gungh0:
Hmmmm, tried that & it didnt work either. Thxs for the suggestion.
[Android Software Development] FreeTheWorld:
Not a problem the book i have at home had me do some menus, i could post the books complete code later maybe i missed something with what i told you. Its in pdf form so it wouldnt be a big deal. Ill be getting home in around 3 hours.

Maybe its a combination of button and textview together to actually make it work. It was pretty easy last time i did it so im sure its just a small detail being missed. I've slowly learned eclipse isnt able to catch every single error.
[Android Software Development] Lakers16:
is your menu's xml file in the res/menu folder? if not it prob wont work
[Android Software Development] gungh0:
Yup res/menu
[Android Software Development] FreeTheWorld:
Here is the code for the menu from my book.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@color/background"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:padding="30dip"
android:orientation="horizontal" >
<LinearLayout
android:orientation="vertical"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_gravity="center" >
<TextView
android:text="@string/main_title"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_gravity="center"
android:layout_marginBottom="25dip"
android:textSize="24.5sp" />
<Button
android:id="@+id/continue_button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/continue_label" />
<Button
android:id="@+id/new_button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/new_game_label" />
<Button
android:id="@+id/about_button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/about_label" />
<Button
android:id="@+id/exit_button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/exit_label" />
</LinearLayout>
</LinearLayout>

And the strings file

<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Sudoku</string>
<string name="main_title">Android Sudoku</string>
<string name="continue_label">Continue</string>
<string name="new_game_label">New Game</string>
<string name="about_label">About</string>
<string name="exit_label">Exit</string>
</resources>
[Android Software Development] gungh0:
Thats pretty close to what I'm doing, but not exactly. The main difference seems to be your using a LinearLayout & my code uses RelativeLayout. OK, I'll try your code EXACTLY when I get home later. Thanks.
[Android Software Development] Lakers16:
When you say menu, you are referring to the options that pop up when you press the hardware menu button, right?
[Android Software Development] Lakers16:
I ask because... what does that linearlayout code have to do with a menu?

Are you implementing this function?

onPrepareOptionsMenu(Menu menu) {

MenuItem option 1 = menu.findItem(R.id.opt1);

...

}
[Android Software Development] gungh0:
I thought the Layout may affect how the menu text & icons were displayed & was why I couldn't see them.

No I dont implement onPrepareOptionsMenu, only onCreateOptionsMenu and onOptionsItemSelected - I'd post my code but the forum wont let me yet :(

I'm following the example from Android Developers "Creating Menus" which only has those 2 methods detailed.
[Android Software Development] gungh0:
OK guys I've fixed it !!! You'll never guess what it was.......

.... OK, I'll tell you then ;)

In my menu.xml, I had the menu namespace xmlns URI as https not http, I had copied & pasted this from another website. Changed it back & we are working again.

Thanks for the assist - Thanks have been awarded.
[Android Software Development] FreeTheWorld:
Oh man thats a killer...I've had that happen to me a couple of times already

Good example android.text instead of android:text...lol

Glad to here its working though,good luck with the rest of your app.
[Android Software Development] gungh0:
lol - I either need more or less caffeine - not sure which.

Thanks bud.