random images while shaking - Android Software Development

Hi,
I NEED TO ACCOMPLISH THE FOLLOWING
Displaying a series of random images during a shake,
Activate the accelerometer and timer on button click
increase the speed random images are displayed with the increased speed of shaking
HOW WOULD I ACCOMPLISH THESE?/WHAT IS THE SYNTAX FOR THESE?
thanks

Did you have a question?

Gene Poole said:
Did you have a question?
Click to expand...
Click to collapse
Mod edit: flaming and personal attack removed

OP, can you stop making personal attacks against another member.
I had to remove your edit reason for what you said to someone replying, and a personal attack against him.
XDA doesn't tolerate this, and we ask that you do not do this again.

isn't the accelerometre on all the time?

I can check to see what the coding would be for this in the app inventor, (gonna have to figure out how to make it do just that first, but should be alot easier than manually coding it, right?)

OK well i have completed almost all of this except for activating the onSensorChanged by a button click. As well as initiating a timer on the button click that will stop the onSensorChanged listener when time is up.

Related

10 things I hate about my HD2

Hi,
My first post - sorry about the agressive title, but I really am a little frustrated with my new HD2 which I have had for about 3 weeks now. Some of the things may be due to my ignorance and others are to me clearly errors:
1) Alarm clock does not always work. I set the alarm and set the phone to silent (I use that every day). The alarm goes of, but only displays a message on the screen and no sound (which reallly does not wake me up). I tried experimenting and turning up the ringer volume and setting a new alarm. The result is that the phone uses my e-mail sound for the alarm! If I turn the phone on/off everything works fine again for a while. I have set the flag is the settings specifying that alarm should sound even i silent mode.
2) Data connectivity drop outs/malfunction. I can have all signal bars on a 3G signal and the browser gives me "Not able to display page". I've tried Opera and IE and I've also tried closing all tasks, nothing helps. If I turn the phone on/off everything works fine again for a while.
3) Not able to delete multiple mails at once. On my iPhone I can click Edit, mark the mails I want to delete and then click delete. I get a lot of spam/commercials that I delete without reading, so its a nice feature for me.
4) Keyboard is just way to sensitive - I make so many typos on the HD2 keyboard and the arrow keys are next the space key, so many times I also end up pressing those
5) Speakerphone - the volume can wake up dead people and it is not possible to turn it down (enough)
6) Dropped network connections/no access - The phone seems to switch constantly between E/H/3G connections and sometimes inbetween I just don't have network access at all, e.g. I can't make/receive calls.
7) Video recording. If there is just a little movement in the scene - I get seasick from watching the recording
8) Freeze during incoming call. The phone just freezes and the Start menu changes to: "We're sorry..." - Soft reset required...sigh!
9) Mails deleted on the phone (OUtlook/Exchange account) is kept on the server and visa versa. On my iPhone, deleting a mail on the phone or in Outlook instantly (with the next send/receive) removes it from the phone/pc. On my HD2 that does not seem to happen
10) Charging via USB/PC - I use that a lot, also on pc's that do not have ActiveSync installed. On the iPhone you can do that and when you plug it in it brings up a dialog asking what you want to do - ONCE. On the HD2 I get a messsage saying "New hardware is detected" every single time I unlock the phone e.g. to read a new message, mail etc. That is so annoying.
I'm on 1.48 and applied all three released hotfixes (Camera, SMS and SD card). I've only installed Tomtom and Navigon (trial) and nothing else.
Any help is appreciated as I'm stuck with this phone for the next 6 months.
Thanks,
Jacob
Hi Jacob,
Have you looked at the hints and tips thread here that should help you get over some of the problems you have? Have you read any of the forums at all?
There are solutions to some of your issues on here. Use this tool to help you find them...http://www.google.com/advanced_search?q=+site:http://forum.xda-developers.com&hl=en&lr=&as_qdr=all
Good luck
WB
onkeldunkel said:
Hi,
My first post - sorry about the agressive title, but I really am a little frustrated with my new HD2 which I have had for about 3 weeks now. Some of the things may be due to my ignorance and others are to me clearly errors:
1) Alarm clock does not always work. I set the alarm and set the phone to silent (I use that every day). The alarm goes of, but only displays a message on the screen and no sound (which reallly does not wake me up). I tried experimenting and turning up the ringer volume and setting a new alarm. The result is that the phone uses my e-mail sound for the alarm! If I turn the phone on/off everything works fine again for a while. I have set the flag is the settings specifying that alarm should sound even i silent mode.
2) Data connectivity drop outs/malfunction. I can have all signal bars on a 3G signal and the browser gives me "Not able to display page". I've tried Opera and IE and I've also tried closing all tasks, nothing helps. If I turn the phone on/off everything works fine again for a while.
3) Not able to delete multiple mails at once. On my iPhone I can click Edit, mark the mails I want to delete and then click delete. I get a lot of spam/commercials that I delete without reading, so its a nice feature for me.
4) Keyboard is just way to sensitive - I make so many typos on the HD2 keyboard and the arrow keys are next the space key, so many times I also end up pressing those
5) Speakerphone - the volume can wake up dead people and it is not possible to turn it down (enough)
6) Dropped network connections/no access - The phone seems to switch constantly between E/H/3G connections and sometimes inbetween I just don't have network access at all, e.g. I can't make/receive calls.
7) Video recording. If there is just a little movement in the scene - I get seasick from watching the recording
8) Freeze during incoming call. The phone just freezes and the Start menu changes to: "We're sorry..." - Soft reset required...sigh!
9) Mails deleted on the phone (OUtlook/Exchange account) is kept on the server and visa versa. On my iPhone, deleting a mail on the phone or in Outlook instantly (with the next send/receive) removes it from the phone/pc. On my HD2 that does not seem to happen
10) Charging via USB/PC - I use that a lot, also on pc's that do not have ActiveSync installed. On the iPhone you can do that and when you plug it in it brings up a dialog asking what you want to do - ONCE. On the HD2 I get a messsage saying "New hardware is detected" every single time I unlock the phone e.g. to read a new message, mail etc. That is so annoying.
I'm on 1.48 and applied all three released hotfixes (Camera, SMS and SD card). I've only installed Tomtom and Navigon (trial) and nothing else.
Any help is appreciated as I'm stuck with this phone for the next 6 months.
Thanks,
Jacob
Click to expand...
Click to collapse
Throw it away, better yet send it to me!
I mentioned that in another thread, but I think it fits better here :
What I hate about the HD2:
1- Screen bugs. You must rely on your luck to get a good working screen
2- Voicecall quality: for some people it's acceptable but for too many others, the quality is one of the worst you can get for a 1000$ phone. Noise, crackle, distortion etc..
3- SMS loading time is miserable. HTC still is not aware of the problem or they are ignoring us because they know that their software code is buggy and needs recoding
4- Some if not most HTC devices have some hardware flaw like screen not evenly aligned with the frame that puts some question marks whether if it's going to put us into trouble in the future or not ie: top notch ( can leak water, dust, backlight, whatsoever ) or something like that http://forum.xda-developers.com/show...4&postcount=94
5- Mediocre back speaker performance. And when it rings, it really feels like a cheap phone.
6- loose keypad. That's not really a problem but sometimes it's annoying, it also feels cheap in hand although the build quality is almost excellent.
7- Poor battery life, I mean really poor. If I forget to charge it at night, forget about calling me the next day.
8- Very sharp lens frame. That's not a big deal if you keep your device in its case but if not, beware, this thing can scratch anything it touches.
That's for me, you must also note that what I wrote is subjective and based on a comparison with my old XDA and HTC devices.
Hope that clears up things.
Hi WB,
Yep - I've read most of the posts (that looked relevant) on the Leo forums for the last month or so. I'm also aware that I can e.g. install a different alarm clock, connect to the standard button/place on the screen (described on Pocketnow), I also know there is a sensitivity tweak, I can install alternative keyboards and so on, but come on should that really be necessary on a state-of-the-art phone like the HD2?
Best regards,
Jacob
yeah, I got f-****ed by the alarm clock twice .
blame myself for not testing out.
Funny, that I do not seem to have your problems in the even no. of your points 2,4,6,8,10
A question of each piece of HD2?
onkeldunkel said:
Hi,
My first post - sorry about the agressive title, but I really am a little frustrated with my new HD2 which I have had for about 3 weeks now. Some of the things may be due to my ignorance and others are to me clearly errors:
1) Alarm clock does not always work. I set the alarm and set the phone to silent (I use that every day). The alarm goes of, but only displays a message on the screen and no sound (which reallly does not wake me up). I tried experimenting and turning up the ringer volume and setting a new alarm. The result is that the phone uses my e-mail sound for the alarm! If I turn the phone on/off everything works fine again for a while. I have set the flag is the settings specifying that alarm should sound even i silent mode.
2) Data connectivity drop outs/malfunction. I can have all signal bars on a 3G signal and the browser gives me "Not able to display page". I've tried Opera and IE and I've also tried closing all tasks, nothing helps. If I turn the phone on/off everything works fine again for a while.
3) Not able to delete multiple mails at once. On my iPhone I can click Edit, mark the mails I want to delete and then click delete. I get a lot of spam/commercials that I delete without reading, so its a nice feature for me.
4) Keyboard is just way to sensitive - I make so many typos on the HD2 keyboard and the arrow keys are next the space key, so many times I also end up pressing those
5) Speakerphone - the volume can wake up dead people and it is not possible to turn it down (enough)
6) Dropped network connections/no access - The phone seems to switch constantly between E/H/3G connections and sometimes inbetween I just don't have network access at all, e.g. I can't make/receive calls.
7) Video recording. If there is just a little movement in the scene - I get seasick from watching the recording
8) Freeze during incoming call. The phone just freezes and the Start menu changes to: "We're sorry..." - Soft reset required...sigh!
9) Mails deleted on the phone (OUtlook/Exchange account) is kept on the server and visa versa. On my iPhone, deleting a mail on the phone or in Outlook instantly (with the next send/receive) removes it from the phone/pc. On my HD2 that does not seem to happen
10) Charging via USB/PC - I use that a lot, also on pc's that do not have ActiveSync installed. On the iPhone you can do that and when you plug it in it brings up a dialog asking what you want to do - ONCE. On the HD2 I get a messsage saying "New hardware is detected" every single time I unlock the phone e.g. to read a new message, mail etc. That is so annoying.
I'm on 1.48 and applied all three released hotfixes (Camera, SMS and SD card). I've only installed Tomtom and Navigon (trial) and nothing else.
Any help is appreciated as I'm stuck with this phone for the next 6 months.
Thanks,
Jacob
Click to expand...
Click to collapse
I gotta feeling you have totally different device man Seems this is really a question of each piece of device... E.g. I've no bugs with screen, keyboard, calls, alarm clock... Also after the official fixes and some additional patches (DAMIEN's camera fixes) the photos and video in mpeg4 is awesome (you can check out my photos on forum).
sorry for stating the obvious but maybe you actually still want an iphone. sell Leo and get an iphone 3GS mate as you clearly still stuck on iphone.I have many annoying things on mine but i am sure that customs roms will fix all these issues when we can flash them. its the same with most new devices mate, they are just not perfect and patience is needed. the raw power under the hood of this thing has not been tamed yet dude so hold tight. it took the HTC Rhodium to finally get a good blend of touchflo 3D and winmo. it will get better dude
OK, so let's try to help a bit, shall we?
1) Alarm clock does not always work. I set the alarm and set the phone to silent (I use that every day). The alarm goes of, but only displays a message on the screen and no sound (which reallly does not wake me up). I tried experimenting and turning up the ringer volume and setting a new alarm. The result is that the phone uses my e-mail sound for the alarm! If I turn the phone on/off everything works fine again for a while. I have set the flag is the settings specifying that alarm should sound even i silent mode.
Click to expand...
Click to collapse
Yes, that is a problem that Windows Mobile has had from the beginning. I've got no idea why they don't get that fixed, but whatever...
...there are good replacemet alarm programs, like G-Alarm and others, that are much better that the built in alarm. Try one of those.
2) Data connectivity drop outs/malfunction. I can have all signal bars on a 3G signal and the browser gives me "Not able to display page". I've tried Opera and IE and I've also tried closing all tasks, nothing helps. If I turn the phone on/off everything works fine again for a while.
Click to expand...
Click to collapse
Sorry, I can't help with this. Maybe it's a problem of the phone's radio firmware that doesn't work well with your carrier's network.
Watch out for radio ROM upgrades!
3) Not able to delete multiple mails at once. On my iPhone I can click Edit, mark the mails I want to delete and then click delete. I get a lot of spam/commercials that I delete without reading, so its a nice feature for me.
Click to expand...
Click to collapse
In Outlook, press Menu --> Select Messages --> Several
4) Keyboard is just way to sensitive - I make so many typos on the HD2 keyboard and the arrow keys are next the space key, so many times I also end up pressing those
Click to expand...
Click to collapse
Download 'BSB Config' and reduce the screen sensitivity.
BSB Config is a must-have anyway.
5) Speakerphone - the volume can wake up dead people and it is not possible to turn it down (enough)
Click to expand...
Click to collapse
I don't have a problem with it and I don't know a solution. Sorry.
6) Dropped network connections/no access - The phone seems to switch constantly between E/H/3G connections and sometimes inbetween I just don't have network access at all, e.g. I can't make/receive calls.
Click to expand...
Click to collapse
Yes that happens to me also. This is radio firmware related for sure. As said before: Watch out for radio ROM upgrades.
7) Video recording. If there is just a little movement in the scene - I get seasick from watching the recording
Click to expand...
Click to collapse
No problem with that. Sorry can't help.
8) Freeze during incoming call. The phone just freezes and the Start menu changes to: "We're sorry..." - Soft reset required...sigh!/QUOTE]
Disable Windows Error Reporting with BSB Config.
Error Reporting is responsible for several problems, including music player crashes and others.
9) Mails deleted on the phone (OUtlook/Exchange account) is kept on the server and visa versa. On my iPhone, deleting a mail on the phone or in Outlook instantly (with the next send/receive) removes it from the phone/pc. On my HD2 that does not seem to happen
Click to expand...
Click to collapse
Have you enabled push synchronization?
Every change I make on my phone Outlook gets immediately synchronized with my Exchange account and vise vers, so maybe you just have not enabled push.
10) Charging via USB/PC - I use that a lot, also on pc's that do not have ActiveSync installed. On the iPhone you can do that and when you plug it in it brings up a dialog asking what you want to do - ONCE. On the HD2 I get a messsage saying "New hardware is detected" every single time I unlock the phone e.g. to read a new message, mail etc. That is so annoying.
Click to expand...
Click to collapse
Sorry, I don't understand what you mean. None of my PCs brings up any message except for the first time I plug it in, but maybe that's because all of them run Windows 7.
1- Screen bugs. You must rely on your luck to get a good working screen
Click to expand...
Click to collapse
I'm pretty sure most people have one with a good working screen
2- Voicecall quality: for some people it's acceptable but for too many others, the quality is one of the worst you can get for a 1000$ phone. Noise, crackle, distortion etc..
Click to expand...
Click to collapse
It's not only acceptabel... it's great
3- SMS loading time is miserable. HTC still is not aware of the problem or they are ignoring us because they know that their software code is buggy and needs recoding
Click to expand...
Click to collapse
True. But I prefer the standard WM SMS interface anyways, so what? I think HTC should not have made a replacement in the first place, now they only have problems with it...
4- Some if not most HTC devices have some hardware flaw like screen not evenly aligned with the frame that puts some question marks whether if it's going to put us into trouble in the future or not ie: top notch ( can leak water, dust, backlight, whatsoever ) or something like that http://forum.xda-developers.com/show...4&postcount=94
Click to expand...
Click to collapse
Hardware flaws? Not at all, the HD2 is probably the highest quality phone ever created. Of course that does not eliminate the possibility of production faults, but saying that 'most' devices have flaws is ridiculous.
5- Mediocre back speaker performance. And when it rings, it really feels like a cheap phone.
Click to expand...
Click to collapse
Well, actually, according to professional tests, it's one on the better speakers among phones. Not the best, but better than e.g. the iPhone and lots of others.
6- loose keypad. That's not really a problem but sometimes it's annoying, it also feels cheap in hand although the build quality is almost excellent.
Click to expand...
Click to collapse
That is by design. You wouldn't be able to press the keys anymore if they were not that 'loose'.
8- Very sharp lens frame. That's not a big deal if you keep your device in its case but if not, beware, this thing can scratch anything it touches.
Click to expand...
Click to collapse
True.
Okay, now to my own list (which is a bit shorter):
1) Storage. Most people who buy the phone probably don't have a clue about hov to free up the internal memory, how to delete Youtube caches, the Copilot executable files etc. That is a huge issue, because those same people also have no clue about how to get applications from outside the Marketplace, which doesn't allow installations to the storage card. This is a huge issue for non-powerusers, and given the popularity of the phone, there's probably lots of users running into it.
2) The music player: There is no search bar or (alphabetic) scrollbar.
3) UI flaws: Swiping through TouchFlo Tabs should be fluid, like swiping through pages on the iPhone's Springboard. Scrolling in TouchFlo is not optimized, can be made a bit better via registry (speed, friction), but still laggy sometimes. Pinching in Opera is much too slow, that's much better in Safari. RSS Hub lags a lot.
4) The messaging applications. I've not had any problems so far and I've turned it off in favor of the default one anyways, but HTC should not have created it at all. The default one was okay and similar to the Email one as part of Outlook, there was nothing wrong.
5) The radio firmware - buggy as hell, that's all I have to say about it.
6) The camera flash brightness and/or exposure should adjust according to the distance of the target, which is determined by the auto focus, to prevent overexposure.
Other than that: Great phone
No phone is perfect these days, unfortunately, but this one, I think, comes closest.
Click to expand...
Click to collapse
onkeldunkel said:
....but come on should that really be necessary on a state-of-the-art phone like the HD2?
Click to expand...
Click to collapse
I agree with you. However windows mobile devices are not as "simple" as the Iphone that I believe you have just come from. I know I risk opening up world war 3 by merely mentioning iphone in this post so let's move on quickly.
Regretably, as an early adopter, you will have to invest some considerable time tweaking the device to get it to what you thought you had bought. Most seasoned winmobile owners are used to this, hence the existence of XDA-Developers.
Once innovations like SPL/Hard SPL are with us then you will, if you wish, get the opportunity to change your roms at will and customise your device ad-nauseum. If this is not the journey you wish to take then you will have to reconsider your purchase and go for something else.
I'm definitely not being arsey, just being a realist.
Hope you make the right decision for you.
Cheers
WB
@Seed_al: This is really good stuff - thank you very much for taking the time to answer my post. I will give BSB Config a try and also G-Alarm (I really depend on the alarm to wake me up )
The tip for selecting multiple messages is also great. Another n00b question - how do you enable push for an Outlook account?
Thanks,
Jacob
Sigh, just one another of those "I hate my HD2/The worst phone I ever had, etc. threads. It is just getting boring. I does not contribute anything, so I would like to ask the mods to have a close look to these kind of threads and judge/act on them them as demmed necessary.
kuzibri said:
Sigh, just one another of those "I hate my HD2/The worst phone I ever had, etc. threads. It is just getting boring. I does not contribute anything, so I would like to ask the mods to have a close look to these kind of threads and judge/act on them them as demmed necessary.
Click to expand...
Click to collapse
In fairness, he's getting (mostly) constructive responses, so if he gets answers to problems then isn't that what this whole forum is about?
I do actually agree that there are too many "slagging off" threads, but as long as something good comes from it then it's worthwhile. If someone reads it and fixes issues they have with their phone, then who cares about the people that simply agree and flog their phone. That's 1 less person whining on the forums! lol
wacky.banana said:
I agree with you. However windows mobile devices are not as "simple" as the Iphone that I believe you have just come from. I know I risk opening up world war 3 by merely mentioning iphone in this post so let's move on quickly.
Regretably, as an early adopter, you will have to invest some considerable time tweaking the device to get it to what you thought you had bought. Most seasoned winmobile owners are used to this, hence the existence of XDA-Developers.
Once innovations like SPL/Hard SPL are with us then you will, if you wish, get the opportunity to change your roms at will and customise your device ad-nauseum. If this is not the journey you wish to take then you will have to reconsider your purchase and go for something else.
I'm definitely not being arsey, just being a realist.
Hope you make the right decision for you.
Cheers
WB
Click to expand...
Click to collapse
Excellent answer and you are right - the unmentionable (is that a word) puts much harder restrictions on what can be done and by whom.
You are also spot on with the earlier adopter - I'm always doing that, not only with phones Maybe I should just see this as a new opportunity to explore the WM world I just need to sort out the most basic issues, like alarm, keyboard, mail etc. I got a 6-month contract with the phone, so I definately keeping it and I really like the hardware side of it...
Thanks,
Jacob
kuzibri said:
Sigh, just one another of those "I hate my HD2/The worst phone I ever had, etc. threads. It is just getting boring. I does not contribute anything, so I would like to ask the mods to have a close look to these kind of threads and judge/act on them them as demmed necessary.
Click to expand...
Click to collapse
Have you read my 1st post in this thread? I'm not saying that this is the worst phone I ever had, because that was my Qtek 9100 I'm saying it had some flaws IMHO and as John says I actually got very good answers that already helped me...
Best regards,
Jacob
Well, with a bit of luck, you'll get to see a lot more within those six months... maybe we HD2 owners will be among the first to be able to try out Windows Mobile 7
But yes, I fully agree with wacky.banana. There is a relatively high learning curve with Windows Mobile and it can't be denied that there are/were issues with the first devices/software versions that we early adopters have/had to deal with.
On the other hand, we get some great advantages over the unmentionable phone, but of course also disadvantages - there is just no perfect phone - but I personally love the HD2, think it has a lot more advantages than problems. In the end, there probably will never be a perfect phone, and it will always be a personal decision.
kuzibri said:
Sigh, just one another of those "I hate my HD2/The worst phone I ever had, etc. threads. It is just getting boring. I does not contribute anything, so I would like to ask the mods to have a close look to these kind of threads and judge/act on them them as demmed necessary.
Click to expand...
Click to collapse
Disagree. He has the right to say what he wants. Besides he is asking for help, not whinging.
The whole thread was constructive before you jumped in. Please don't act in such a way as to get this thread closed. The OP has the right to say what he is saying whether you agree with him or not.
That's democracy and is what free speech is all about.
WB
wacky.banana said:
Disagree. He has the right to say what he wants. Besides he is asking for help, not whinging.
The whole thread was constructive before you jumped in. Please don't act in such a way as to get this thread closed. The OP has the right to say what he is saying whether you agree with him or not.
That's democracy and is what free speech is all about.
WB
Click to expand...
Click to collapse
In fairness mate, you should have just not commented if you felt like that. You can't promote the free speech of the OP whilst telling someone not to post what they think. It's gone already, and not many people took any notice. It's no biggie, so don't make it one
Edit:
I just re-read that post and want to make it clear that I wasn't trying to tell you what to do. I just want to keep the forums as friendly as possible, so offered an opinion.
@onkeldunkel
Tap the notifications bar to bring up the notifications screen, then tap the network icon to open the comm manager. There, make sure 'Microsoft Direct Push' is activated.
If yes, then go to Start --> Connectivity --> ActiveSync (or wherever ActiveSync is in your Start Menu). There, tap on Menu --> Schedule.
This is where you can configure the Schedule for syncing with your Exchange server.
If this is set to 'as items arrive', then every change on your phone should immediately be synchronized with the server.
Let me know if it works.
@those people arguing above
I also hate all those 'I hate/sold my phone' threads, but this one here is not of that kind!
This one is not a troll thread for whining/complaining, it's a constructive thread asking for help, so please stop the fighting and don't destroy it.
johncmolyneux said:
In fairness, he's getting (mostly) constructive responses, so if he gets answers to problems then isn't that what this whole forum is about?
I do actually agree that there are too many "slagging off" threads, but as long as something good comes from it then it's worthwhile. If someone reads it and fixes issues they have with their phone, then who cares about the people that simply agree and flog their phone. That's 1 less person whining on the forums! lol
Click to expand...
Click to collapse
John, you're absolutely right. I have read this post to hastily and thus reacted that way. I apologize to the OP for that.

How to remove the Gesture Lockscreen!

I have seen other methods of removing the gesture or pattern lock but with this method you can remove the lock temporaley and apply it again without knowing the key.
Check it out here http://sud0x3.net/?p=5
What... you mean this: http://forum.xda-developers.com/showthread.php?t=536352
???
Nice find, just a little late.
lbcoder said:
What... you mean this: http://forum.xda-developers.com/showthread.php?t=536352
???
Nice find, just a little late.
Click to expand...
Click to collapse
I did do a few searches, but only found the method that changes settings in the sqlite3 database.
Suppose the method of recovering the pattern from gesture.key file is on here somewhere too then.
sud0x3 said:
I did do a few searches, but only found the method that changes settings in the sqlite3 database.
Suppose the method of recovering the pattern from gesture.key file is on here somewhere too then.
Click to expand...
Click to collapse
As far as I know, it is encrypted.
However, should be fairly easy to brute force given the low number of possible combinations.
lbcoder said:
As far as I know, it is encrypted.
However, should be fairly easy to brute force given the low number of possible combinations.
Click to expand...
Click to collapse
There are a lot of combinations and im not sure how you would go about brute-forcing it, unless you mean by making a comparison list of common gestures then referencing it.
sud0x3 said:
There are a lot of combinations and im not sure how you would go about brute-forcing it, unless you mean by making a comparison list of common gestures then referencing it.
Click to expand...
Click to collapse
This research could be of use but i cant get it to work yet http://moshe.nl/android/
My idea was to hex a load of key files, store them in a db and then compare. But this guy may have really cracked it.
sud0x3 said:
There are a lot of combinations and im not sure how you would go about brute-forcing it, unless you mean by making a comparison list of common gestures then referencing it.
Click to expand...
Click to collapse
Think about it;
There are precisely 9 points. You can't cross a point more than once, and each point you connect to has to be adjacent to the previous one. Each gesture can therefore be mapped to a tree, which you can traverse recursively until the proper pattern has been identified. You identify the proper pattern by encrypting the current pattern using the same encryption used by the phone (which we have source for and therefore KNOW), and comparing that against the contents of gesture.key.
Implementation:
We number each point 1 through 9.
From each point, you can go on to specific "next" points, which include all the adjacent points to that point except for any point that has already been traversed. You recursively test each of the possible next points until all possibilities are exhausted.
Lets say that point 1 is the upper left, counting across (3 is upper right), and then down (4 is below 1), etc.
Your function will basically do this (pseudocode):
Code:
boolean test(gesture_list){
if (encrypt(gesture_list)==gesture.key){
print(gesture_list);
return true;
} else {
for (nextmove in potential_next_moves){
if (test(gesture_list+nextmove)) return true;
}
return false;
}
Do you see how that works?
This is a simple brute force algo for this problem.
The main thing left to you in this is the computation of potential next moves. You can do this manually using a table. The value for potential_next_moves will be the contents of the table MINUS any point that is already within (gesture_list).
I believe that given the small scope of the problem, this will probably take under one second to brute force any key.
What makes this problem much easier for brute forcing is that there are a finite number of possible NEXT values, and this list of possible next values decreases very quickly as the gesture gets longer. For example, when you have 7 spaces filled, there may be AT MOST 2 possible next moves (as few as ZERO -- for example, using this gesture: 1,4,5,6,9,8,7 -- there are no possible next moves from there, so if that gesture doesn't compute, that branch will immediately return false without trying anything further.
Take a more complex brute force.... you have a 512 bit key, then you have 2^512 possible keys to test. Thats 1.34x10^154 -- an unimaginably big number. Even if your CPU could run 1 key per cycle (which it can't, not even close) at 2GHz, that would take you 6.7x10^144 seconds = 2x10^137 years!!! http://en.wikipedia.org/wiki/Brute-force_attack
But again, we have the advantage of no repeated numbers and a fixed/finite selection of next_steps.
sud0x3 said:
This research could be of use but i cant get it to work yet http://moshe.nl/android/
My idea was to hex a load of key files, store them in a db and then compare. But this guy may have really cracked it.
Click to expand...
Click to collapse
Ha ha. Yes. Nice find.
He's doing exactly what I said right above.
BTW: It works perfectly.
And as I predicted, takes under a second to compute.
You will note one thing about it though; if you throw in random data, it will calculate a gesture that is impossible. This is because he is ignoring one of the characteristics that I mentioned: adjacency! It would be much more efficient if he included this characteristic.
lbcoder said:
Ha ha. Yes. Nice find.
He's doing exactly what I said right above.
BTW: It works perfectly.
And as I predicted, takes under a second to compute.
You will note one thing about it though; if you throw in random data, it will calculate a gesture that is impossible. This is because he is ignoring one of the characteristics that I mentioned: adjacency! It would be much more efficient if he included this characteristic.
Click to expand...
Click to collapse
If i were to write something to recover the gesture i would probably either md5 the keyfile or the hexcode then generate a kind of rainbow table list.
example
md5:1234
md5:2345
md5:5321
Then you could compare md5 hashes to find the correct key. This would eliminate the problems in the script above.
lbcoder said:
Think about it;
There are precisely 9 points. You can't cross a point more than once, and each point you connect to has to be adjacent to the previous one.
Click to expand...
Click to collapse
You can cross a point more than once, I do it in my unlock.

Kifno's Tweaks App Coming Soon....

Any positive suggestions for how should the app be structured, how to go about allowing the user to apply the tweaks, or anything else I'm missing here. I'm trying to make this app as great as possible for its first release. I'm about half way done with it and I decided its about time to get some constructive pointers now rather than possibly making a mess-up somewhere in the app that could've been avoided. Thanks
- Kifno
from the looks of my layout of how it will work it'll just be mostly user choice based...depending on what you choose (would you like the ____ tweak? yes/no) it'll determine what questions to ask you next and then at the end you'll hit a reply button and then a reboot button

[Q] How to remove the CELL STANDBY without using ADB???

Is it possible? Can it be done without having to learn how to install and use ADB? And is it true that it lengthens battery life for the nook??? Thanks in advance!
les02jen17 said:
Is it possible? Can it be done without having to learn how to install and use ADB? And is it true that it lengthens battery life for the nook??? Thanks in advance!
Click to expand...
Click to collapse
Uninstall with titanium telephony.apk and phone.apk, in that order. You will get FC and just reboot then and you will be okay. Does it save battery life? That is up to speculation and probably not. Root explored can be used also to do it. Just delete these two files.
Airplane Mode WiFi Tool - https://market.android.com/details?id=net.geekherd.airplanemode&feature=search_result
life64x said:
Uninstall with titanium telephony.apk and phone.apk, in that order. You will get FC and just reboot then and you will be okay. Does it save battery life? That is up to speculation and probably not. Root explored can be used also to do it. Just delete these two files.
Click to expand...
Click to collapse
This is the correct answer.
I can't believe no one is being the voice of reason here.
Don't bother! It doesn't do anything for you.
http://forum.xda-developers.com/showthread.php?t=899861&highlight=phone.apk
It makes no difference, placebo at most.
photoassign said:
This is the correct answer.
Click to expand...
Click to collapse
Many times in life there is more than one correct answer. This is one of those times. Please keep that in mind the next time you choose to provide input.
it does not do anything but to free up some internal memory and give you more to run other apps..removing non needed crap that runs does do something....Drm apk..cmstats...setup...and many more items that are loaded that are not needed gives a healthy dose of memory back and general CPU efficiency
Jiggity Janx said:
Many times in life there is more than one correct answer. This is one of those times. Please keep that in mind the next time you choose to provide input.
Click to expand...
Click to collapse
The correct answer for one person may not be correct for another...you were rather harsh on him...let me get this straight...I gotta turn on airplane mode every time I start my nook and turn it off versus just turning it on and playing with it? Does not seem very practical now....imh..but then I dont disagree with the idea...I mean why load a program when you don't really need it?
life64x said:
The correct answer for one person may not be correct for another...you were rather harsh on him...let me get this straight...I gotta turn on airplane mode every time I start my nook and turn it off versus just turning it on and playing with it? Does not seem very practical now....imh..but then I dont disagree with the idea...I mean why load a program when you don't really need it?
Click to expand...
Click to collapse
The app I posted it is something that can be turned on once and will set airplane mode for cell while allowing wifi and bluetooth to function as normal however you want them set, even on a reboot.
It has been proven that many times removing cell (or other main) features can affect the ability to use other applications. My solution was clean, simple, and would affect nothing negatively. BTW, I was using it to avoid the wifi dropping issues that some have seen periodically since CM was first put on the NC. So in my case, it has been providing more than one useful capability.
I feel that people should open up their mind and follow up on other ideas before narrowing their and others minds to only one solution....
photoassign said:
This is the correct answer.
Click to expand...
Click to collapse
The correct answer would be to learn ADB, install the drives and do it manually.
life64x said:
it does not do anything but to free up some internal memory and give you more to run other apps..removing non needed crap that runs does do something....Drm apk..cmstats...setup...and many more items that are loaded that are not needed gives a healthy dose of memory back and general CPU efficiency
Click to expand...
Click to collapse
I'd just like to ask folks not to remove CMStats. Its obviously your prerogative but it helps CM developers track usage. This isn't just for bragging rights. These numbers help us in talks with OEMs to quantify the importance of things like open bootloaders and such. We are starting to see OEMs cooperate with CM and I think tracking usage has helped.
CMStats is not invasive and doesn't hog memory or CPU cycles. It is open source so you can feel free to verify my claims.

[Q] Malicious daily "alarm"

I have an issue that is making me crazy. Starting about 1 month ago, my N7 plays a very annoying "tune" for about 1-2 minutes precisely at 12:35 AM every day.
Some specifics:
- volume cannot be controlled or muted
- the "tune" that is played is not one of the normal choices. It is kind of crude sounding (like MIDI).
- does not provide any notification of any kind or show up as a running app
- does not appear to be associated with clock or calendar
- the only way to stop it is to power off
Steps I have taken to try to kill this thing (leaving out the obvious)
- "soft" factory reset/restore from N7 Settings menu - fail
- "Hard" facory reset using power/volume controls. Did not do a restore.. Only logged onto wireless and into my Google account . - fail
- complete wipe/reflash using adb/fastboot/nakasi image from Google developer page instructions. - fail
I'm a complete Android noob, but not a software/hardware noob. This defies logic to me. I found reference to a very similar problem on another forum, but the post was never answered. I have several other Android devices and none have this issue. I'm convinced that this is something malicious. Where is this thing hiding that it can survive a reflash? Please help, I'm beginning to think my N7 is haunted.
Bump for help
Sorry to bump this but it appears that the views have stopped and so far no replies. As noted in my original post I have seen this issue reported elsewhere but not solved. I even tried loading Cyanogenmod and it's still there! I realize that asking for help on you first post is asking a lot, but I really could use some help/suggestions. Is there somewhere in the file system I should look for the code that is running this? Are there monitoring tools I could use to identify the process that is running? Are there log files somewhere I could look at?
Besides being really annoying, it's hard to feel secure when something like this keeps coming back after the device has supposedly been wiped multiple times. If I can't solve it, it's probably going to get beaten to a pulp with a sledgehammer! Thanks for any suggestions.
gdbbcmi said:
I have an issue that is making me crazy. Starting about 1 month ago, my N7 plays a very annoying "tune" for about 1-2 minutes precisely at 12:35 AM every day.
Some specifics:
- volume cannot be controlled or muted
- the "tune" that is played is not one of the normal choices. It is kind of crude sounding (like MIDI).
- does not provide any notification of any kind or show up as a running app
- does not appear to be associated with clock or calendar
- the only way to stop it is to power off
Steps I have taken to try to kill this thing (leaving out the obvious)
- "soft" factory reset/restore from N7 Settings menu - fail
- "Hard" facory reset using power/volume controls. Did not do a restore.. Only logged onto wireless and into my Google account . - fail
- complete wipe/reflash using adb/fastboot/nakasi image from Google developer page instructions. - fail
I'm a complete Android noob, but not a software/hardware noob. This defies logic to me. I found reference to a very similar problem on another forum, but the post was never answered. I have several other Android devices and none have this issue. I'm convinced that this is something malicious. Where is this thing hiding that it can survive a reflash? Please help, I'm beginning to think my N7 is haunted.
Click to expand...
Click to collapse
Solved!
This is solved. I'd like to say I know exactly what worked, but apparently after the umpteenth wipe/re-flash, the poltergeist got bored and moved on. Thanks for thinking about it.
gdbbcmi said:
Sorry to bump this but it appears that the views have stopped and so far no replies. As noted in my original post I have seen this issue reported elsewhere but not solved. I even tried loading Cyanogenmod and it's still there! I realize that asking for help on you first post is asking a lot, but I really could use some help/suggestions. Is there somewhere in the file system I should look for the code that is running this? Are there monitoring tools I could use to identify the process that is running? Are there log files somewhere I could look at?
Besides being really annoying, it's hard to feel secure when something like this keeps coming back after the device has supposedly been wiped multiple times. If I can't solve it, it's probably going to get beaten to a pulp with a sledgehammer! Thanks for any suggestions.
Click to expand...
Click to collapse

Categories

Resources