please help, cannot telnet anymore to my rooted cyanogen 5.0.7 - G1 Q&A, Help & Troubleshooting

Hello folks,
i did successfully downgraded/rooted/cyanogened my HTC DREAM (G1)
according the
cyanogen wiki Full_Update_Guide_-_G1/Dream_Firmware_to_CyanogenMod
i could ran telnetd and telnet to my phone with no problem short after rooting and complete installation of the CM5.0.7
now after a few days of usage i lost the ability to telnet to my localhost from the phone when running telnetd in terminal as root
unfortunatelly the method 2x enter, type telnetd and 2x enter stopped working as far it does not open contacts anymore but google search when i try it on the home screen.
symptoms:
1. run terminal
2. su
3. telnetd
4. netstat (localhost listening on port 23)
5. telnet localhost 23
connection refused by foreign host
please help me connect to the rooted llistening telnetd
any idea would be appreciated
hope to solve this soon, i want to follow tweaking my G1 more

Related

G1 (Modded RC30) will not telnet to PC? Help

Now the thing is when I am at the home screen on my G1 i push "Enter" on the keyboard and then type "telnetd" and then push enter again it doesnt do anything. When I open up telnet client on my PC it wont connect with wifi on.
So I go to Terminal Emulator on G1 and plug in"
cd system
cd bin
telnetd
And then try and connect to telnet on PC and nothing happens.
So I then go to Telnet client on my G1 and go to connect to "localhost:23" and it says "Error while connecting to server: localhost/127.0.0.1:23 - Connection refused" the thing is that my local host for my wifi is not 127.0.0.1:23
And when I "netstat" from inside Terminal Emulator there is no address with port "23"
Any help would be greatly appreciated.
Download the app called Terminal Emulator from the market and use that instead of pterminal.
use the "su" command before trying to start telnetd.
Also make sure your wifi is up before your start telned.
mrboyd said:
Download the app called Terminal Emulator from the market and use that instead of pterminal.
use the "su" command before trying to start telnetd.
Also make sure your wifi is up before your start telned.
Click to expand...
Click to collapse
Thats what I have been using is Terminal Emulator but I dont think I can install Debian through Terminal Emulator. I would rather do it through the PC anyways.
I geta syntax error when using "su" in Term. Emu. because I believe I have installed the "su" mod to always allow.
adb shell
Presuming you're already running the proper modded RC30, you should be able to run 'adb shell' with USB debugging enabled on the phone and it connected to your machine. This should just drop you to a root shell.
SplasPood said:
Presuming you're already running the proper modded RC30, you should be able to run 'adb shell' with USB debugging enabled on the phone and it connected to your machine. This should just drop you to a root shell.
Click to expand...
Click to collapse
adb being a utility included in the android sdk (in tools/)
SplasPood said:
Presuming you're already running the proper modded RC30, you should be able to run 'adb shell' with USB debugging enabled on the phone and it connected to your machine. This should just drop you to a root shell.
Click to expand...
Click to collapse
SplasPood said:
adb being a utility included in the android sdk (in tools/)
Click to expand...
Click to collapse
I got all that but how do I actually use it (adb)? Every time I click on it a command window pops up and then goes away.
Ok I got adb shell to work now thanks guys

stuck

trying to root and stuck at typing telnet. gives me a message of telnet not running and even tried downloading telnet from market and it will not work. help is needed.
grlddawkin said:
trying to root and stuck at typing telnet. gives me a message of telnet not running and even tried downloading telnet from market and it will not work. help is needed.
Click to expand...
Click to collapse
try downloading terminal emulator and typing telnetd
Turn phone off turn phone back on open and hit enter twice then type telnetd Yea it will start up a contact search, don't worry its normal... download telnet app from market and type the following commands
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery recovery.img
cat recovery.img > /system/recovery.img
Walla now you have root pm me if you need more help
still no luck
tried using telnet from market and it will not connect, tried terminal emulator no luck, trying to be patient but nothing seems to work. need some help.
tried no luck
tried all of these steps and no luck when i bring up the telnet app i get error with connection and nothing with the terminal emulator. therefor still stuck at line 12 of the turorial of how to root. tried starting over and same thing.
reroot. use this
1. wipe
2. install and follow the instructions
I've always telnet in from my PC or laptop. Try downloading Putty, then type telnetd into the terminal emulator, Use Putty too telnet into your phone (just type in your ipaddress of the phone and select telnet) and type the commands from the instruction guide. If you need to, you can PM me and I'll baby the all the way.

Please Help

Ok i have an g1 thats unregistered and i kow how to activate it through wifi but i cant because i dont have an router i was wonder if someone could explain to me how to bypass this without activating my g1 it said or how i send these commands with adb
Now, copy a busybox binary to /data/local/busybox with adb push, and then connect to your phone with adb shell, and give the busybox binary execute permissions (i.e. chmod 755 /data/local/busybox)
busybox has a telnet applet, so you can do:
busybox telnet 127.0.0.1
to get a telnet session with root access.
- If you don't want to register the phone at all, you can set the app.setupwizard.disable property to 0 to prevent registration. Once you have an adb shell session open, type the following:
setprop app.setupwizard.disable 1
and then reboot. once it loads back up, it should bypass the registration screen all-together
but i am so confused thanks for the help
Do you have root? Most custom ROMs give you an option to skip.
i was in the process of rooting my g1 when i had downgraded it but i couldnt finish it because i had to activate it when i got it it was already activated
charles20212 said:
i was in the process of rooting my g1 when i had downgraded it but i couldnt finish it because i had to activate it when i got it it was already activated
Click to expand...
Click to collapse
It's been so long since I rooted that I can't remember if there are any other options. I think when first I got mine, there was no way to root with wifi. I couldn't even register while roaming, and had to drive 40 miles (nearest T-Mo tower) just to use my G1 for the first time. That sucked!
is there a way to bypass it without using wifi or can i install a new rom or something
If you are rooted, then try a new rom. Most of them will have the option to skip.
how i know if im rooted

Registering G1 Without Data

So I've been trying to register my G1 without the data plan, but it's not working. I have RC9 on it, but when I try to enable adb and get root access, it doesn't seem to work. I tried rebooting it with the command and it worked. I don't know what I'm doing wrong at this point. :l
its a 3 step process
1. downgrade to RC29 or below (i used DREAIMG.nbh)
2. enable ADB (even though you are seeing the GUI and CLI is still going on in the background
to reboot the phone you typed in <enter>reboot<enter> try typing this next one in (if u dont already have the android sdk u should download it)
<enter>setprop persist.service.adb.enable 1<enter> )
3. use adb to force open wifi setting menu
(adb shell)
(am start -a android.intent.action.MAIN -n com.android.settings/.Settings)
try this thread for more help, and next time pls use search button
theres countless threads on this
I got it to work now, thanks.

[Q] Common Telnetd problem? - unable to root

Common Telnetd problem - unable to root
What's up xda!! This is my first post ever!
..please be kind.
I am experiencing a n00b issue w/ rooting my G1. So far I have been able to get up to where I am on RC29 and <enter>reboot<enter> successfully reboots my phone! This is great up until I'm told to hit the enter key twice, type "telnetd" and press enter. after the phone starts up.
FOOD FOR THOUGHT:
I believe I have ADB drivers installed properly installed
I am able to run Droid Explorer and it connects and recognizes my unit
I also have the following files on my SD CARD prepared
recovery-RA-dream-v1.5.2
update.zip
I have also read that ONE solution is to look for someone with an current T-Mobile Monthly Account and ask to borrow their sim card so I can install the Telnetd and enable WiFi past the Google Login(I have asked a fellow and I was told an aggressive NO, apparently people are afriad of anything related to hacking and their SIM CARDS)
I have the G1 Original SPL currently
Also when booting into recovery Alt+L gives me the Log that shows ""
I hope to have made an appropriate first post granted I've been searching for answers and help and am still experiencing issues. I look forward to participating in this forum in the future looks like you guys have been having fun for a while!
Any suggestions are definitely welcome.
Maybe try to update your phone to Android 1.6 with official OTA packages (last 3 ones are which you should flash) by stock recovery (it will accept this packages if you apply them in correct order - every package is named sth like "CRB43 to CRC1" - then you which should be applied) and then try one-click root app? When you have superuser priviliges you can download ROM Manager and flash custom recovery, then by recovery flash engeenering SPL. And with this SPL you can do what you want with your G1.
I rooted my G1 both ways with goldcard and with one-click root and I have to say, one click-root ROX.
RE: Maybe try to update your phone to Android 1.6
raven_raven said:
Maybe try to update your phone to Android 1.6 with official OTA packages (last 3 ones are which you should flash) by stock recovery (it will accept this packages if you apply them in correct order - every package is named sth like "CRB43 to CRC1" - then you which should be applied) and then try one-click root app? When you have superuser priviliges you can download ROM Manager and flash custom recovery, then by recovery flash engeenering SPL. And with this SPL you can do what you want with your G1.
I rooted my G1 both ways with goldcard and with one-click root and I have to say, one click-root ROX.
Click to expand...
Click to collapse
Hey raven, thanks for the reply!
By doing this update are you suggesting that I use the G1 Original SPL to flash the Offical Dream RC29 ROM (OTA_ROM RC) listed on that page, IF so what should follow that? Would I be allowed to flash the Official RC30 Patch - from RC29 to RC30 (Removed Root) (OTA_ROM RC) and the Official RC33 Update - from RC30 to RC33 (OTA_ROM RC) with the same update.zip that came from the G1 Original SPL also?!
I'm lost with your suggestion, b/c if it requires me to enable WiFi to get the OTA update I would still be unable get pass the Google login. Would I not be stuck back to where I am now? As of right now, I am at the Android Welcome Screen with the G1 Original SPL and RC29 that were not listed on that page AND so far unable to get root b/c of unavailability of TelnetD and WiFi. I will proudly follow those instructions?? Sounds like following the flash of Offical Dream RC29 ROM (OTA_ROM RC), that I would need to somehow use a method to flash the Official RC30 Patch - from RC29 to RC30 (Removed Root) (OTA_ROM RC)...I think?!
Excitement!!!!!
EXCITEMENT!!!!!
I used:::::
1- Plug your G1 & Install Drivers.
2- Without Sim Card in Your G1, <enter>setprop persist.service.adb.enable 1<enter> Even though u dont see what u typing, but u are actually executing a Command on your G1 to Enable USB Debugging in Settings.
3- Once u Execute that Command USB Drivers will be Installed again, but this time will be recognised as ADB Interface.
4- Click Start>Run>cmd> to Command Prompt
5- Type c:\adb devices (If your Device is Connected u will see it)
6- Restart your G1 but now With Sim, to see the Activation Screen then Plug USB Cable & Type c:\adb devices (to make sure u are connected)
7- Type c:\adb shell (U will see a $ sign) Just Copy & Paste this into Command Prompt (am start -a android.intent.action.MAIN -n com.android.settings/.Settings) The Settings Screen will Appear, now Switch on Wi-Fi & Connect to the Internet.
8- Now u can either Login with your Existing or Create New Account with Google.
Click to expand...
Click to collapse
here is where I was lost, I'm sure many are running into the same issue. The adb.exe that is located on my PC is what the command prompt should be finding, however there are other folder possibilities in where the application is ran to even use the adb functions. For instance, my adb.exe was installed in "c:\android-sdk-windows\tools" instead of strictly on the "c:\" I was not aware that I would be controlling the phone unit through my command prompt as well!! silly me, something so easy can become one of the biggest problems. ONE MONTH LATER!!!! THANKS XDA!

Categories

Resources