Hi all,
I notice on t-mobile (uk) you are accessible to all other t-mobile users on their internal 10.x.x.x network.
I have two sims and can shell from my home machine into my G1 wherever it is and vice versa (which is great, but...)
However this also means other people can too, and I notice the JF image I'm currently running (1.41 - rc8) is permanently listening on port 5037 (i.e. adb)
ADB is a debugging tool, my hunch is this wouldn't be too hard to crash, and leading on from there to run an exploit on it.
adb is of course running as root, so if exploited it's game over....
all in all, I'm rather concerned some 1337 HaXor is gonna take over my phone.
sure I can kill adb, but it would be nice to not have it running at all unless asked for.
Can I remove it from a startup script somewhere?
TOP TIP, make sure when rooting your phone you don't leave telnetd running else you are asking for trouble!!!!!!
I'm surprised no one has commented on this matter yet (I noticed it this morning.)
This is truly something that T-Mobile would have to fix on their end. I haven't had a chance to try it out today, but when my brother gets here I'll be sure to give it a shot (he has a G1 as well.)
I haven't tested this, so I can't vouch that this is an accurate description of how the system behaves.
However, adb should ONLY listen on the usb port. Listening for an adb connection on an internet-facing interface is just crazy.
I don't see adb running as non-root being a big help either. You can still compromise most of the personal data on the phone and run almost arbitrary commands on the phone as non-root. You just can't change the system image.
It took me forever to piece together how to do this will all the pc forums so I decided to write up one specifically for mac.
First your phone has to be rc29 or rooted. please go to http://androidandme.com/2009/05/gui...r-rooting-your-android-g1-to-install-cupcake/ for the best way to do this. To find out if your phone has this hit enter type reboot and hit enter again. If it reboots you are in go shape.
Second you need download a couple of this to your computer.
Android-sdk-mac http://developer.android.com/sdk/download.html?v=android-sdk_r3-mac.zip
and adb http://android.googlecode.com/issues/attachment?aid=2845842048498102014&name=adb.zip
Unzip both files and then place adb in android-sdk-mac/tools folder
Now back to your phone. press enter then setprop persist.service.adb.enable 1 and then enter again.
It should say something like this is not an emergency number.
Now back to your computer. Open your terminal and then go to you finder and find android-sdk-mac. Click tools and then drag adb to your terminal and type shell after it and hit enter. If you get a permission denied type sudo and then drag adb over again.
You should get daemon started successfully and then next line $
type am start -a android.intent.action.MAIN -n com.android.settings/.Settings and hit enter.
Now look at your phone. It should have popped up a screen letting you in to wireless connections.
I hope this helps
nice work ;]
Ok so I started this thread about 3 months ago. I got one nice work...yay for me....but that was it I would really like to know if this is working everyone. I know it is mac based and you can probably figure it out from the windows based ones but I do want to make sure it is working for everyone so if you use this please let me know if it worked or any that should be added to it by posting a reply. Thank you
this is exactly the same as jf's tutorial...
i am not as good with computers and trying to figure out the mac steps using a windows guide took me forever. I was just trying to help anyone else in my same situation.
Awesome!
It works great! After spending 2 days uninstalling, reinstalling and generally fighting with Windows 7's automatic driver installation I borrowed my room-mate's mac and got this done in less than 15 minutes! Incredibly refreshing. Thanks!
...
Wonderful! It worked like a charm.... I just have a problem with the Cupcake interface, I like the Donut much better, is there a way to do this on that interface? And if not is there a way to get the Donut market place?
ok, so I've combed the internet, after work, for days, trying to find an answer to my problem. My problem? I recieved a backflip from att. I like the phone. i previously had an HTC excalibur, which i loved, and had internet sharing, contact synching, and cool software on. Clearly the MB300 can do all this and more, and i'm google fan, and big open source fan, so i am excited about using android.
I was TOTALLY offended to discover my phone had yahoo and att bull**** everywhere that is difficult to remove. Anyway, i updated to 2.1 (eclair) and rooted my phone using rageagainstthecage. here is where my problem evolves.
My phone is rooted after rage against the cage (using # in connectbot). but, after a restart, its back to $. damn. if i redo the ragecage business, i can get the # again, but only until my next boot. fix?
the more pressing matter, is that it is an utter pain to code on the phone itself. when i connect via adb, i can't seem to run adb shell as root. Is it possible to run adb shell as super?
even when i have a # in connect bot, I get an error when i type su? cannot link executable etc...
super use runs, but obviously not well since it doesn't confirm when i su in connectbot.....tried to update in recovery mode, but the zip isn't listed.....why must this be difficult....i blame att.
am i not really root?
i would have tried visionary, but it seems to have dissapeared off the internet.
i am trying to install jrods rom, but i can't get su, even though i successfuly did the ragecage business....
help?
i really want to get this att crap off my phone. (the phone defaults to google, which i appreciate, but i really need to destroy the att stuff)
thanks,
S.
Have you ever needed to use ADB at a work PC or a location you could not "install" applications?
Unzip the attached file and click the RunMe.bat
I have tested this pulling logs, pushing/pulling files, flashing recovery, roms, and anything else I could think of.
I tested it on the M8 stock rom 5.0.2 but this is a generic file so it should be fine on most if not all android devices.
The idea came when I was at work and looking for a solution for a problem I had. I could not install anything on my work PC, so this came in handy, the only problem is that it was outdated, or seemed outdated for my needs.
find the zip file here https://www.androidfilehost.com/?fid=24052804347791558
This topic has been covered but is very outdated. I only found information from 2011 and 2013. The included information has since been updated by Google. I found it and included it, re-zipped it and now it is here for you to enjoy.
Thanks
to @Kickface, (where I first found this solution) wherever you went and any others who have created a truly portable (not minimal) solution to using ADB without installing anything.
dopy25 said:
Have you ever needed to use ADB at a work PC or a location you could not "install" applications?
Unzip the attached file and click the RunMe.bat
I have tested this pulling logs, pushing/pulling files, flashing recovery, roms, and anything else I could think of.
I tested it on the M8 stock rom 5.0.2 but this is a generic file so it should be fine on most if not all android devices.
The idea came when I was at work and looking for a solution for a problem I had. I could not install anything on my work PC, so this came in handy, the only problem is that it was outdated, or seemed outdated for my needs.
find the zip file here https://www.androidfilehost.com/?fid=24052804347791558
This topic has been covered but is very outdated. I only found information from 2011 and 2013. The included information has since been updated by Google. I found it and included it, re-zipped it and now it is here for you to enjoy.
Thanks
to @Kickface, (where I first found this solution) wherever you went and any others who have created a truly portable (not minimal) solution to using ADB without installing anything.
Click to expand...
Click to collapse
OMGGGGG this just may solve all my problems I had my personal PC but couldn't get HTC sync manager to connect...The only other PC's I have access to are either desktop @ office or my work "administrator password protected" laptop... TY, TY, TY in advance if this works!!!!
MAJOR PROBLEM!!!! Plz tell me someone can help??
M-FayeHTC said:
OMGGGGG this just may solve all my problems I had my personal PC but couldn't get HTC sync manager to connect...The only other PC's I have access to are either desktop @ office or my work "administrator password protected" laptop... TY, TY, TY in advance if this works!!!!
Click to expand...
Click to collapse
I know this is totally off topic, I'll report myself for it later....
So, I installed the zip file onto my work PC, a DELL Inspiron laptop running Windows 7 professional (I really cannot get too much more info about it now) sorry. My nooby butt just went and downloaded the file not checking the MD5 :crying: Totally a dumb thing a NOOBY would do. It started to get late & I had to get ready to go to work. I know I had the command prompt screen (Black box) running and I then left the computer. 8 hr's later I come home from work and the computer is locked as normal, I to proceed entering Ctrl+Alt+Delete combination as usual & NOTHING (panic setting in)!! I was concerned since it was frozen from something I done, also I didn't want to loose all the work I gathered that night prior (is the very least of my worries now)... I took out the battery to reset the computer, again like a dummy, I started Windows normally ignoring the other "safe mode, etc" options. I click on windows Chrome, NOTHING! Not even an option to open the program/app. Okay, I'm really panicking now WTH did I do??? I knew I did something wrong, so I reset the computer by battery again, put it in "Safe Mode" which did absolutely nothing as I couldn't "open desktop gadgets in safe mode". Now, I restarted the computer from the start menu... Started up completely fine, I have access to everything EXCEPT Chrome, Internet Explorer, etc. anything that is browser related has the administrator shield on the icon. However, I still cannot even click on the icon to run as an administrator even if I had the password!?!?
Is there any possible hope to uninstall that file and just maybe it'll go back to normal??? I cannot re-install Chrome or Internet Explorer due to the darn administrator rights!!!
I've searched to the ends of the earth since last night trying to find a solution, this is my last ditch effort resort for any possible suggestions to point me in the right direction. Luckily my friend was kind enough to lend me his laptop and my phone is in proper working order:angel: If I tell my IT guy what happened, I'll be in huge trouble, going on the 2nd laptop destroyed, 1st time really wasn't my fault, just saying so u don't think I'm continuously reckless.
Any help as always is greatly appreciated! Hoping someone has had this happen maybe:fingers-crossed: and just a slight point in the right direction (link, website, specific thread on forum) would b awesome?? Again, apologies on the "off-topic" content, I don't know what else to do & I feel as though XDA is THE ABSOLUTE BEST forum site for any Android help, apps, devs research, roms, etc. Thx in Advance!!
M-FayeHTC said:
I know this is totally off topic, I'll report myself for it later....
So, I installed the zip file onto my work PC, a DELL Inspiron laptop running Windows 7 professional (I really cannot get too much more info about it now) sorry. My nooby butt just went and downloaded the file not checking the MD5 :crying: Totally a dumb thing a NOOBY would do. It started to get late & I had to get ready to go to work. I know I had the command prompt screen (Black box) running and I then left the computer. 8 hr's later I come home from work and the computer is locked as normal, I to proceed entering Ctrl+Alt+Delete combination as usual & NOTHING (panic setting in)!! I was concerned since it was frozen from something I done, also I didn't want to loose all the work I gathered that night prior (is the very least of my worries now)... I took out the battery to reset the computer, again like a dummy, I started Windows normally ignoring the other "safe mode, etc" options. I click on windows Chrome, NOTHING! Not even an option to open the program/app. Okay, I'm really panicking now WTH did I do??? I knew I did something wrong, so I reset the computer by battery again, put it in "Safe Mode" which did absolutely nothing as I couldn't "open desktop gadgets in safe mode". Now, I restarted the computer from the start menu... Started up completely fine, I have access to everything EXCEPT Chrome, Internet Explorer, etc. anything that is browser related has the administrator shield on the icon. However, I still cannot even click on the icon to run as an administrator even if I had the password!?!?
Is there any possible hope to uninstall that file and just maybe it'll go back to normal??? I cannot re-install Chrome or Internet Explorer due to the darn administrator rights!!!
I've searched to the ends of the earth since last night trying to find a solution, this is my last ditch effort resort for any possible suggestions to point me in the right direction. Luckily my friend was kind enough to lend me his laptop and my phone is in proper working order:angel: If I tell my IT guy what happened, I'll be in huge trouble, going on the 2nd laptop destroyed, 1st time really wasn't my fault, just saying so u don't think I'm continuously reckless.
Any help as always is greatly appreciated! Hoping someone has had this happen maybe:fingers-crossed: and just a slight point in the right direction (link, website, specific thread on forum) would b awesome?? Again, apologies on the "off-topic" content, I don't know what else to do & I feel as though XDA is THE ABSOLUTE BEST forum site for any Android help, apps, devs research, roms, etc. Thx in Advance!!
Click to expand...
Click to collapse
I can tell you that it's not related to the files because I use them on my work PC all the time. I am working 10 hours days, 6 days a week. So the only time I can do anything out of the ordinary on my phone, it has to be at work.
That being said, have you tried system restore? I'm not sure if that requires admin rights, it might. On another note, tell the IT guy your internet explorer just stopped working, they love that. Because seriously, it's unrelated. The most he will do is uninstall and reinstall IE/Chrome. If that doesn't fix it, a system restore should. If that still does not, there is something off with the settings for internet access (I've seen that before). But if you are saying there is a shield/lock over an icon, that's new to me.
Also, I can install chrome at my work. It usually does not require admin rights, that and Firefox. There are also many portable browsers you can download from another PC and copy the zip file to the laptop, and run the app. Just search portable browser. At least this will help determine if the browsers installed got locked or if there is a network setting being blocked.
Let me know how it goes. This IS a bit off topic, but let's figure out what's wrong publicly so the mods can see there is nothing wrong with the zip I posted and then we can have our posts removed.
dopy25 said:
[/HIDE]
I can tell you that it's not related to the files because I use them on my work PC all the time. I am working 10 hours days, 6 days a week. So the only time I can do anything out of the ordinary on my phone, it has to be at work.
That being said, have you tried system restore? I'm not sure if that requires admin rights, it might. On another note, tell the IT guy your internet explorer just stopped working, they love that. Because seriously, it's unrelated. The most he will do is uninstall and reinstall IE/Chrome. If that doesn't fix it, a system restore should. If that still does not, there is something off with the settings for internet access (I've seen that before). But if you are saying there is a shield/lock over an icon, that's new to me.
Also, I can install chrome at my work. It usually does not require admin rights, that and Firefox. There are also many portable browsers you can download from another PC and copy the zip file to the laptop, and run the app. Just search portable browser. At least this will help determine if the browsers installed got locked or if there is a network setting being blocked.
Let me know how it goes. This IS a bit off topic, but let's figure out what's wrong publicly so the mods can see there is nothing wrong with the zip I posted and then we can have our posts removed.
Click to expand...
Click to collapse
Thanks for getting back to me, I appreciate it.
I'm glad to hear that it's not the file bc I cannot uninstall that regardless. We do have crazy blocks on all the computers at my work. I'm pretty sure it has to do with the sensitive information we have (a drug tx center so everyone's personal info is in our database). We can't even update the time on our computers, I have no clue why. I asked him once, he said something about giving that permission would open up another way to bypass security (I can't remember exactly).
This is my laptop, I never even bother bringing into work because I work so much from home. For example my login at the office has updated twice when at home it's still my old login password. The computer is physically in bad shape (it's been used & abused for sure) I'd prefer not to the bring it in for him to see so I plan on waiting to Friday night (IF ALL ELSE FAILS) and txtg him saying I absolutely need to work & see if he will do troubleshoot remote access! I hope that doesn't sound too horrible :-/
As I was typing this I just received an email to restart all workstations due to updates/ changes to the server done this weekend... Hmmmm it could totally be bc of this!!!!! Fingers crossed. I may just have to bring it in let it connect to the local server reset it, and bam good to go If not due to this I can almost guarantee it's the internet settings that I don't have access to!! But the portable browser should work...
I will still try all of your suggestions once I get home this afternoon and report back to you ASAP!!
Luckily I have my friends laptop to borrow & Dell had some good deals on laptops last night so I ordered a really nice one since I really need a personal computer again. Which I will also get an expense check for (bonus)!! But, won't arrive until 3/16. Until then I do have access to extra pc's here I could always swap it out, but I don't want to be scrutinized or punished for being sneaky, it's really not my character...
Again, I appreciate your input. Also, totally agreed on the "off-topic resolution" first and then delete our posts...
Thanks Again!
Yeah, I cannot get through the security on it.
When I look at the properties or try to repair Chrome or IE, it has an incorrect path, totally crazy looking.
\\localhost\C$\os(c\Users\mludford.....
I'm currently downloading a zip for a standalone browser. Hopefully that'll work...
This thread in general is totally crazy too, it looks like I replied like 3 or 4 times, I DID NOT :/ I tried twice & it told me that I didn't have access to the post, with a grey button over my original post you replied to, saying "Spoiler"!?! Very strange....
M-FayeHTC said:
When I look at the properties or try to repair Chrome or IE, it has an incorrect path, totally crazy looking.
\\localhost\C$\os(c\Users\mludford.....
I'm currently downloading a zip for a standalone browser. Hopefully that'll work...
This thread in general is totally crazy too, it looks like I replied like 3 or 4 times, I DID NOT :/ I tried twice & it told me that I didn't have access to the post, with a grey button over my original post you replied to, saying "Spoiler"!?! Very strange....
Click to expand...
Click to collapse
Needless to say it's not the settings or anything with the computer as I took it into work for it to "register" & update to the network settings... Nothing! So, I'm trying the above to see if I can't get around it. Thanks Again
I'm really hoping that someone out there can help me out with this mess I have stumbled into.
Here's the not-so-short version of a long rabbit hole I had no idea I would be travelling down:
In the new Pokémon games there is a 1/4096 chance of encountering a rarer version of said Pokémon (by default). In order to obtain one of the "starter" Pokémon in this rare form, it takes about 110 seconds of sitting through loading screens and pushing the 'A' button repeatedly, per attempt. Assuming that I am guaranteed the rare version of this Pokémon after 4096 attempts, I would have to continue this for roughly 125 hours. Unfortunately That is not how statistics actually work. Needless to say 30 to 40 hours in, I have had enough of manually pushing 'A'.
I had the bright Idea to emulate a controller, record inputs, then replay them over and over, which could connect to the actual Nintendo Switch, and so I attempted to find solutions for both my PC as well as android phone. Unfortunately without hacking my Switch, it is technically impossible to do this with the PC. The phone was a different story. An app exists currently on the play store which allows one to emulate a pro-controller and connect to the console. Perfect.
Except that app requires particular functionality which my normal phone does not have, or might have but I do not wish to root that one. My solution wound up to me attempting to emulate an android device, and connect to my switch through the emulator, using Bluetooth.
I was able to successfully set up a VM, and get android x86 running on it, but that is where my success ended. I have reached a road block in terms of getting Bluetooth to pass through my computer to the emulator. In collaboration with VirtualBox's forums, we have reached the point of believing that installing the drivers from the Bluetooth dongle may resolve our issue.
I think I have all the resources needed to do it, I just don't know the method of how. Android, VMs, and Linux are just barely outside my realm of knowledge. Can someone help me sort my puzzle pieces and figure out what I need to get it to work?
------
To be proactive, here are some of the resources and details I figure might be helpful.
VirtualBox thread I created explaining this situation (in a more professional tone):
https://forums.virtualbox.org/viewtopic.php?f=3&t=104894
Potential solution found in a few google discussions:
https://groups.google.com/g/android-x86/c/9DTec9mTo5A
https://groups.google.com/g/android-x86/c/g6XkeDnATbg
GitHub/potential Bluetooth driver link:
https://github.com/winterheart/broadcom-bt-firmware
https://github.com/winterheart/broadcom-bt-firmware/blob/master/brcm/BCM20702A1-0a5c-21ec.hcd
------
Android version: android-x86-8.1-r6
Bluetooth Dongle Version: Kinivo Bluetooth receiver/transmitter (Broadcom BCM20702)
------
In my attempts to install the driver that I believe is correct, I was able to download the .hcd file listed in the GitHub link above. However my attempt to move it to /lib/firmware/brcm/ is denied, telling me that the file is Read-Only. Attempting to chmod, chown, along with other commands which I have since forgotten has resulted in no further progress. At this point my current problem is this:
How the heck do I move this .hcd file into /lib/firmware/brcm/ ? Will this even solve my issue?
tldr; I want a slightly-different colored grass turtle. I'm completely over-engineering a solution by setting up an android vm to do the work for me while I watch. Bluetooth ain't working, and I have no idea how to fix it.