Jump to content

hisoka

Members
  • Posts

    569
  • Joined

  • Last visited

Everything posted by hisoka

  1. my android Huawei phone is broken and i want to transfer all its data to my laptop . When I connected my broken phone in the laptop USB port and executed the adb devices command , I got empty devices . Moreover , My phone is not shown in the device manager . There is no trace of yellow mark . my OS is windows 7 64 bit . I do not know if the USB debugging option is enabled in my broken phone as I cannot look at it because my phone is broken and therefore , I cannot enable it if it is disabled This is what I did : 1- I put my broken phone in "BOOT AND RESCUE MODE " 2- I connected it to my laptop the result is that I could see it in the device manager with such a name : "Android Bootloader Interface" . However , when I executed the command adb device again I got again empty device . So what I did is using one of the solutions in this page which is : Quick guide: Connect your device with Android Debugging enabled to your PC Open Device Manager of Windows from System Properties. Your device should appear under 'Other devices' listed as something like 'Android ADB Interface' or 'Android Phone' or similar. Right click that and click on 'Update Driver Software...' Select 'Browse my computer for driver software' Select 'Let me pick from a list of device drivers on my computer' Double-click 'Show all devices' Press the 'Have disk' button Browse and navigate to [wherever your SDK has been installed]\google-usb_driver and select android_winusb.inf Select 'Android ADB Interface' from the list of device types. Press the 'Yes' button Press the 'Install' button Press the 'Close' button Now you've got the ADB driver set up correctly. Reconnect your device if it doesn't recognize it already. However , my phone was not found on my laptop , not in the device manager too . So I guess the USB DEBUGGING option on my broken phone is disabled I looked at the solutions suggested in those pages too : Android device does not show up in adb list "adb devices" shows empty list ADB No Devices Found https://android.stackexchange.com/questions/109595/i-cant-see-my-device-in-android-adb-list and other pages in google from other websites but unfortunately , none of them helped me . . I am very stuck and have no idea what to do .
  2. like the title mentions , I am asking what does BitTorrent connecting to peers 0.0% mean ? second question : why it does not download but it remains or it sticks on 0.0% ? third question : Is there a solution to make it download ? best regards
  3. In this site there is someone who is asking for an answer to some numbers sequence : https://www.quora.com/What-is-the-next-number-in-the-series-7-11-13-17-19-How I put the sequence of numbers in this sequence solver online : http://alteredqualia.com/visualization/hn/sequence/ However , I saw a contradiction in both results : the sequence solver says the next number in the sequence is 7 meanwhile Quora says the answer is 23 I know that the answer of Quora is the right one . I would like to know why the sequence solver gives 7 as an answer if the right answer is 23 ?
  4. Service like what for example ? how is this exactly done ? can you explain me ? and how is internet sent from this so called provider to the customer through the USB stick ?
  5. By all due respect , it is nonsense : an internet service provider is a company . companies sell their products , in this case internet , to get money . So if I , as company , want to get money why should care of protecting my clients wallet ? In trading and business there is no emotions or generosity or moral values . Only one thing matters , for all companies , and that is the capital and profit . However , even if we assume what you wrote is right , my ISP want to protect my wallet , again even so it is still nonsense because even if I am not disconnect from the internet in case of inactivity , the quantity of the internet I have remains the same . For example if I have 5 Gigabyte internet in an internet USB stick and I connect to the internet , it works and I am , let say online in a website , if I sit up and let my laptop and go out for 1 hour and I am not automatically disconnected from the internet then the 5 gigabyte remains the same . This is by experience . I know what I am talking about If you do not know , you no need to be hard with me . Because this is the impression I got from your above answer . I am only honest . You can simply write : I have no idea . Again , this is my way of asking questions . It belongs to my character and until now it proved to be efficient for me . I cannot change it though I am grateful for all the answers you provide me and I thank you from the bottom of my heart .
  6. So after 10 minutes of inactivity , there will be an automatic disconnection from the internet . Here comes my second question , to which I got no answer , why is it made so that when a user is inactive for specific period of time , he will be , automatically, disconnected from the internet ? and the third question : should I change the option to 120 minutes ? like that if I am inactive for 30 minutes than I will not automatically be disconnected , after 10 minutes , from the internet ?
  7. I have a mobile internet that is I used a sim card in an USB stick and plug it in my laptop to get internet . In the configuration page of the internet , I got , in the advanced settings in the mobile connection Auto Disconnect Interval(Min): 10 there are other options like 5 , 20 and 120 1) what is meant by auto disconnect interval or automatic disconnect interval ? 2) for what purpose is the auto disconnect interval made ? 3) Should I let the option to 10 or is it better to change it to 20 or 120 ? I mean what is the best option ? Best regards
  8. You know yourself that the above script will trigger an error when you try to execute it in the web console because of the angle brackets and the same with a scratchpad . Moreover , when I saved the above code in notepad ++ as html then try to run it using Firefox , it does not display the content of the text file but only its name . So what to do ?
  9. So now I did like this : <html> <script> function onChange(event) { var file = event.target.files[0]; var reader = new FileReader(); reader.onload = function(event) { console.log(event.target.result) }; reader.readAsText(file); } </script> <body> <input type="file" onchange="onChange(event)"> </body> </html> However , it did not print the content of the text file otherwise the name of the text file . Why ? and how to correct it ?
  10. Thanks . So I have a text file in my computer and tried to print its content using console log : var m ; var reader = new FileReader(); reader.onload = function(event) { var contents = event.target.result; }; m = reader.readAsText(C:\m.txt); console.log(m); However I got this error : Exception: SyntaxError: missing ) after argument list . what is the cause of the error and how to correct it ?
  11. Yes but I do not understand what it means : var file = event.target.files[0]; and this var file = event.target.files what is the meaning of them ? ok what do you mean by getting the data in it ? you mean , literary , reading the file line by line ?
  12. 1) I do not understand what is this : var file = event.target.files[0]; could you please explain it and what it does ? 2) reading a file means opening it only ? 3) So if I want to print the content of a file in the console log of my browser then I , necessarily , need a load event handler ? best regards
  13. So that implies that without the load event handler , the browser will block the reading of the file until it executes its own instructions and therefore the whole procedure will be synchronous ? what if I want only to read a file ? do I need , though , a load event handler ?
  14. OK that explains ,very well, what is an event handler . my question was not why we use a load event . My question was why we need onload event handler after reading the file content ? I understand that an event handler is a function executed when an event is triggered . So based on this , an onload event handler is a javascript function which is executed after the file is read . Again based on this I asked , why we need onload event handler after reading the file content? in other words , why we need a function to be executed after the file is read ? and what this function that should be executed after the file is read to begin with ?
  15. hisoka

    registry backup

    thank you that is a brilliant idea . I will try it
  16. I have really a very hard time trying to understand these concepts : The FileReader.onload property contains an event handler executed when the load event is fired, when content read with readAsArrayBuffer, readAsBinaryString, readAsDataURL or readAsText is available. thanks to your previous answer Justsomeguy , I understood very well what is a resource and what is load . So putting what I understood into practice , all what i can only is that FileReader.onload is an event handler executed when the file content is read . I understand that , for example , clicking on a mouse is an event . However I do not understand what is an event handler ? and why we need onload event handler after reading the file content ?
  17. hisoka

    registry backup

    Thanks , you are right . I made a big mistake of terminology . I will try to be more clear the next time and work on my terminologies . I hope I will not make the same error again . So the above error came when I tried to RESTORE a registry key . What is the efficient way to avoid registry key restoring errors ?
  18. hisoka

    registry backup

    First I exported the key , only the key , then edited the key . As I saw that editing that key did not help me solve my problem , I tried to import it but I got the above error . I am not talking about any data or data in general and I do not want to argue . I said backing up SOME REGISTRY KEYS can engender a problem : you saw the above error by yourself . Is not the error above a proof that what i said is true ? The error above not all data was successfully written to the registry . Some keys are open by the system or other process is the result  of backing up a registry key . By backing up I mean (export , import) . no , making a copy of data is not destructive . Nevertheless , an error , that you cannot deny , is triggered because of backing up a key from the registry .
  19. hisoka

    registry backup

    So after writing to me that backing up one key , if I know what I am doing , is safe , I visited this website again : https://social.technet.microsoft.com/Forums/en-US/db35e055-fb5a-43a0-b478-a238a69b438a/quot1quot-mean-virus?forum=w7itprogeneral and then tried to change the KEY_CLASSES_ROOT\exefile\shell\open key after backing it up . As I thought that , may be , it can be the solution to the error exe cannot be found make sure you typed the name correctly and try again . I restarted my computer then tried to run the exe again as administrator but I still got the same error . anyway . Thus , I tried to import the exported key and to my surprise I got this error : not all data was successfully written to the registry . Some keys are open by the system or other process . it is the same error I got when I backed up the whole registry . yes it is . You see the result yourself in the above error . backing up a key can be as bad as backing up the whole registry even if you know what to do . This is not an absolute rule but some keys , when they are backed up and restored can engender the above error . Therefore , as a conclusion , I consider that , generally , backing up a part or the whole registry is a bad idea . As result , I will consider that my question is not answered . So I am not convinced by your last answer justsomeguy .
  20. Starting to learn about filereader , I saw this concept : https://developer.mozilla.org/en-US/docs/Web/API/FileReader/onload I do not understand what does this mean : The load event is fired when a resource and its dependent resources have finished loading. what is load ? what is a resource ? in an easy way I am really confused
  21. hisoka

    registry backup

    Thank you very much
  22. it is possible if the password is a lowercase English word and part of the English sentence is guessable which it is . All what is needed is a brute forcer . I know javascript and I read all the tutorials in the w3schools concerning javascript all without exception and I understood them very well . I even read books about javascript and I understood what I read . So what do you suggest me ? can you tell me what should I do?
  23. hisoka

    registry backup

    Did not we agree that backing the registry up is a bad idea ? So I asked , in my previous post , if backing up one key of the registry is as bad as backing up the whole registry . because , logically , if backing up the whole is a bad idea then backing up a part from that whole is bad idea too . Isn't it ? and by backing up , I mean using the export option in the registry menu . and by restoring , I mean using the import option in the registry menu
  24. Ok I found a website in which there a script on how to read from a file . https://gist.github.com/Arahnoid/9925725 There is a piece of script : var txtFile = "c:/test.txt" var file = new File(txtFile); file.open("r"); // open file with read access var str = ""; while (!file.eof) { // read each line of text str += file.readln() + "\n"; } file.close(); alert(str); It is not hard to understand . Nonetheless I have some questions : why we use new and not just File . I mean why do not we use : var file = File(txtFile); File() Returns a newly constructed File. https://developer.mozilla.org/en-US/docs/Web/API/File I cannot find readln() function in google so what is it ? when I run the above script I got this error which I could not understand /* Exception: TypeError: Not enough arguments to File. @Scratchpad/1:3:12 */ I mean i understand that the function File() does not have enough argument . but how many argument should File() has ? How to repair the above error ?
  25. Is there a tutorial on how to do it in w3schools website ?
×
×
  • Create New...