Can't root Google Glass XE19.1 [closed] - root

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I want root Google Glss device XE19.1. All instruction i take from: https://developers.google.com/glass/tools-downloads/system
$ adb reboot bootloader
$ fastboot devices # - give empty line...
$adb devices #show my device. Also a see my device in DDMS(Eclipse). My USB driver
#86
;GoogleGlass
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_4E11&REV_0216
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E11&MI_01
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_9001&REV_0216
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_9001&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_9001
#64
;GoogleGlass
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_4E11&REV_0216
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E11&MI_01
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_9001&REV_0216
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_9001&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_9001
What's trouble?

If you can see your device in ADB but not in fastboot, then you're presumably not in fastboot mode.
It's easy to test: fastboot mode is indicated on Glass by the white LED flashing on briefly every few seconds.
First thing to try (note the extra hyphen): adb reboot-bootloader
If still no joy, try entering fastboot manually via recovery:
Turn Glass off
Hold down camera button
Briefly hold down power button
As soon as white LED is lit, release power button.
After 5 seconds, release camera button
... You will see a recovery menu on the Glass screen, giving an option to enter fastboot mode.
Finally, a couple of things to bear in mind. While plugged into my colleague's computer, Glass absolutely will not enter fastboot mode -- it will always reboot into the main image. We have no idea why. Second, you're on windows but for anyone else on OSX, flashing to Glass is broken on OSX at time of writing, so rooting must be done on a PC.
Edit: found an older but similar question here:
Having issues seeing GLASS in Fastboot

I'm find solution - on Windows 7 this listing drivers for fastboot works, but on windows 8.1 don't work. I'm get root on PC with Windows 7

Related

Disable firebase storage extension resize if object has a particular condition [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 3 months ago.
Improve this question
I have the default firebase resize extension installed. It's working perfectly but I realized I do not want the resize to proceed if the image is small, say 20Kb or less than 450Kb.
I have edited the function source code to
logs.imageSize("Image Size in bytes: "+size);
let sizeInMB = parseFloat((size / (1024 * 1024)).toFixed(2));
logs.imageSize("Image Size in Mb: "+sizeInMB);
if(sizeInMB<=0.44){
// The image is 450KB do not compress
logs.imageIsSmall();
return;
}
it should return if the image is 450Kb or less than. Only this block of code is not running. The default resize still proceeds when a new object is added. The above logs also are not shown.
What am i missing since, the above code is deployed and is currently on the source code
I think you need to be more detailed with the situation, I think it might be your conditional if statement might be not valid, have you check and debug the result / value ?
In order to debug an extension, you can use Firebase Emulator Suite, with a setup of Local Storage, Cloud Function and Extensions. with this you can try your extension on the local, without even deploy it. you can check video here : https://www.youtube.com/watch?v=YhKygunUkdw&t=159s
But here i got some tips :
Setup extensions to watch /images directory to listen if the extension should do its job, and output path /thumbnails
you can check the size of the image in the frontend
if it is small upload it into /thumbnails, so it will not run the extension
if it is big, upload it into /images, which will run the extension
With this you can always refer to /thumbnails for small images
Firebase Emulator Suite https://firebase.google.com/docs/emulator-suite

OpenEdge 10.2A - Error Screen With No Other Info, how to solve it?

We are using Progress OpenEdge 10.2A for years and for the last 4 months we begin to receive unknown error messages from our customers.
We call our .w files using lines as follows:
RUN VALUE(myPath + "myProgram.r") PERSISTENT SET myPrograms[i].
Normally the same program calls work without any problem, but on rare occasions, the program window seems to get unresponsive, but in fact when we look at the windows taskbar, there is another entry in the taskbar which is a prowin32.exe window having title "Error". But when selected, there seems to have no visible window attached to it.
When we close it from the taskbar using Close Window option, it appears again in the taskbar 6-7 times again and then whole prowin32 session restarts.
We could not identify the error since it does not show any message or any error number.
If you encounter such a problem, I'd like to know how you solved it.
If not, it would be appreciated if you direct me to the way to solve the problem.
Edit 1:
After adding -errorstack -debugalert -clientlog myLogFile.log to my startup parameters, myLogFile.log is generated. The below part is written when the error occured.
**Unable to realise TEXT myText. (4025)
** ABL Debug-Alert Stack Trace **
--> enable_UI c:\myFolder\myFile1.r (c:\myFolder\myFile1.r) at line 21014
c:\myFolder\myFile1.r (c:\myFolder\myFile1.r) at line 14858
USER-INTERFACE-TRIGGER c:\myFolder\myFile2.r (c:\myFolder\myFile2.r) at line 2905
0) OpenEdge 10.2a is ancient, obsolete and unsupported. You should have moved to a modern release 10 years ago. At the very minimum you should be on 10.2b08. Do you also refuse to update Windows? OpenEdge 12 is the current release. It is possible, perhaps even likely, that unanticipated changes in Windows or other aspects of the environment are causing your problem. Progress is never going to update 10.2a to accommodate that sort of thing. You are just prolonging the agony by staying on an obsolete release.
1) What changed in your code or your environment 4 months ago?
2) You can get a stack trace for the extra prowin32 session by running proGetStack. That should help to explain what was launched, what the error is and why another 6-7 start after you kill it. Open a "proenv" window as "Administrator" and run proGetStack (you can get the process id from taskmgr).
proenv> proGetStack 123456
The stack trace will appear in the working directory of the target process. That is usually the same directory that proenv is in but it is possible that the application changes it so you might have to go hunting for it. (Administrator proenv windows sometimes do not start in %wrkdir%, you may also need to cd /d %wrkdir%)
3) If they are not already present you should add -debugalert and -errorstack to your client startup parameters. -clientlog logfileName.log would probably also be helpful.
4) Examine your code base for bits that invoke prowin32 sub-processes. There are many ways to do this such as OS-COMMAND, INPUT THROUGH or via Windows DLL calls. Directly invoking prowin32 can be found by searching for that string but it might also be indirect invocations via a BAT file or other technique.
5) if you have a repeatable way to produce the error then you could also add the 4GLTrace log entry type either at startup or in the code when you get to the proper point: https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/dpspr/log-entry-types-(-logentrytypes).html

Android kernel LED control

Im new to this forum so be nice ;) i have followed rules :)
I am helping the dev for my kernel that I use. Since the mod I want is mainly only for me i figured its my duty to get it working myself.
The problem:
I have edited my *.kl files to disable the five front facing hardware buttons from waking the device and only allow the volume up / down buttons to wake the device as the front facing buttons get pressed when its in my pocket.
However, even though the front facing buttons no longer turn on the device , when they get pressed they light up adding an extra 6mA drain .
What I've tried:
I wrote an apk to change the permissions of the /sys/class/leds/button-backlight/brightness file to keep them off. Despite the program working , permissions allow the file be edited, causing them to light up.
What i need help on:
I downloaded my dev's kernel using git and I want to edit the kernel myself to keep the button lights off during sleep . However kernel code is not my comfort zone .. so i need help .
Thanks everyone for helping and simply just reading !
1) Messing with code is a bad idea (especially if you lack skill and don't know C and UNIX).
2) what you are probably looking for is script that will run on startup (initrc) and there you need to set it and change permissions using chmod command.
Thus you need to Setup what you want (with echo command presumably) -> change permissions so file can not be rewritten (chmod) -> put two commands in initrc.
Kernel can be like any other configured using make menuconfig and then compiling it, in that case you just disable stuff that you don't like.
[OT] I may be off though, your (original) question (there was no question mark) did not make too much sense here and there. Read this howto: How To Ask Questions The Smart Way from Eric Steven Raymond. Thanks.

place online to do shared coding for interview [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm giving a phone interview soon, and ideally, I'd like to see the candidate write some code in real time. Can anyone suggest a site where we can both go and he can type while I watch. (I'm behind a fairly strict corporate firewall, so a lot of basic chat services are blocked.)
Take a look at http://codeinterview.me. Similar to SeeMikeCode, but also gives the interviewee the option to install an IDE plugin (eclipse/intellij) which allows them to code in their IDE, while you watch in a browser.
I forget where i found this originally but it is quite nifty.
Seemikecode
For 2 people editing a text document (unfortunately, no syntax-highlight - color is for authorship):
http://typewith.me/
Trivial 1-click, 2-link setup
Two way editing with colors to identify who contributed each line
Line numbers
Indentation level preserved on ENTER
Undo / Redo / Save / Versions / etc
Export to Word / PDF / HTML / etc (to attach to HR interview feedback)
For 1 typer and 1 watcher (with good syntax highlighting):
http://codeinterview.me
Trivial 1-click, 2-link setup
Note on 2 typers: if you want both sides to be able to edit (eg, interviewer types in feedback), then both parties should click the "interviewee" link. This WORKS.
Plugins for Eclipse / Visual Studio / IDEA - optionally, the user can install an Eclipse plug-in to use that in place of the web editor and get the full fledged editing experience
Syntax Highlighting (with support for 14 languages, including CoffeScript)
No export functions (but you can copy / paste)
If you're not looking to see him compiling and such, why not just use a Google Wave or Google Docs with its live collaboration feature. If you're looking to actually share Visual Studio, you may need a service like WebEx or Microsoft Office Live Meeting.

What is your method of "folksonomy" tagging for files on your local machine? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Way back in the days when "delicious" was just "del.icio.us", I had assumed that everyone had finally caught on that Ontology is overrated.
So why am I still having to roll my own tagging system using sqlite and a bunch of ruby scripts in order to address this obvious deficiency on my own local machine? I can tag on-line web links, blog posts, questions on stackoverflow.com, and all kinds of web-centric miscellany, but this very basic concept still seems to be missing (or hideously crippled) in the few operating systems I get to use. Perhaps I am just using the wrong OSs?
From what I've seen out there, the pickins' seem pretty slim.
What do you use?
The BeOS operating system already did this in 1991, before it became fashionable on the web – in fact, the web didn't even exist then. There's several successors, reimplementations and filesystems inspired by the BeFS out there. Some operating systems that include them are magnussoft ZETA (discontinued successor to BeOS, uses the original BeFS), Haiku OS (open source clone of BeOS, formerly known as OpenBeOS, uses an open source reimplementation of BeFS, called OpenBeFS), SkyOS (proprietary commercial BeOS-inspired operating system, using a fork of OpenBeOS) and Syllable (BeOS-inspired open source OS, formerly called AtheOS, using a BeFS-inspired fileystem called AtheOS FS).
I don't know but I agree. I ended up putting together a MySQL database to handle mine. (mostly for organizing JPEG photos)
I don't use tags, I just don't have the discipline to do it all the time. I find that searching, using a desktop search tool like Copernic Desktop Search, works the best for me.
I find that if I have to enter the data, to find the files then I won't do it. It takes too much time to think of good tags and apply them. I find it much easier to just drop my stuff into a hierarchy I can remember and be done with it. The hierarchy might not be perfect, and it may take slightly longer to find stuff, but it's better than spending tons of time entering tags for every file I create.
There are some partial tagging solutions for GNOME/Nautilus that you might be interested in.
If you install python bindings for Nautilus you can then install the tracker-tags-tab extension which allows you to set tag properties on files of your choice and then have them come up in a search using Tracker.
Have a look at http://svn.gnome.org/svn/tracker/trunk/python/nautilus/ and the python-nautilus package.
Emacs Org Mode:
youtube google tech talk
http://pages.stern.nyu.edu/~marriaga/software/oyepa/
ugly, but it works....also, there is find;)

Resources