yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] pdspatrick:
i got bored and tried su under busybox via telnet...look what I got.

Looks like the root account doesn't actually exist...It seems that everything just runs with root rights, but under a different username.

Im gonna try setting a bruteforce loose on it to see what happens :P. I'd welcome anyone else to try and crack it.
[G1 Android Development] haitiankid4lyf:
i got a g1 with insurance and another in the stash, im willing to test out anything for those scared of bricking their phone, but i not much of a linux guy i can get the root thru telnet and thats about it. if any one wants me to try something pm or post instruction on how and what to do.
[G1 Android Development] Chainfire:
I'm sorry to say this, but after talking to a whole bunch of people, including Google folks, and in the relevant IRC channel, I can indeed only conclude that Android's level of "open"-ness rivals only the iPhone, with both Windows Mobile and Symbian being more "open" to whatever you want to do.

And yeah, I do like Windows Mobile. I am not a Microsoft fanboy, but I can honestly say they have offered me and my company a lot of help during development. Still, considering the legacy-based API's, the sometimes buggy libraries and often buggy drivers (I'm talking to you, HTC!), it's apparently still the best anyone can do considering what the developers can and may actually do on the device. I think that's quite a sad state of affairs, especially after Android's hype.

True, Android comes with source - but what good is source if you can't do anything with it? You pretty much have to 'jailbreak' the G1 to do the really interesting stuff. Do note that this is not completely Google/OHA's fault - Android is further locked down by T-Mobile than it is out-of-the-box.

Too bad I didn't know this before I ordered my G1 (eBay?). What is comes down to is that Android in it's current public form (the G1) is nothing more than a fancy JavaOS and not revolutionary or more accessable. In other words, useless for people like me.

It suffers from other iPhone like ludicrous stuff too, like applications usually not being really able to run in the background... it will run in the background, until some other app needs the memory or whatever, and is then closed.

I haven't even received my G1 yet I'm already disappointed beyond the level I could have been disappointed with any other phone. At least with the iPhone one knew what they were getting into - closed down crap. Nothing more than you can expect from Apple. The same as you know if you buy a HTC device it will be horribly undersupported, have no FPU, have no 2D acceleration and half the hardware may not be used. This was different though, they actually succeeded in making me think it would be open, modifyable, etc, despite my natural aversion of everything Google has a hand in.

I mean

really

, the user being able to do root things is a security issue for people, but trusting all your contacts and mail etc to Google is not? That's not having your priorities straight.

I deem this a fail of epic proportions.

/rant
[G1 Android Development] neoobs:
I think you need to experience the things yourself. Yes we are locked down... but at the same time it has nothing to do with Google. I think Google got jipped in the long run. Look at all the ads on TV... "The T-Mobile G1... with google." And at the same time we can still jailbreak it later. Remember we are still learning. People never know how to load custom rom's on new software. Think of it like when a new version of Windows or Mac comes out. It takes time to figure out how to get passed some stupid companies locks so you can customize your software.

Figuring that it has only taken us 2 weeks exactly to jailbreak the device and basically run C compiled software on the device I think we are way ahead of the game. How long did it take to even jailbreak the iPhone? or how long did it take to just learn how to update WM 5 or 6 to 6.1?

You put iPhone and WM on a pedestal, but you don't look at the fact that the android is still a growing baby, and iPhone and WM are both in their older years. Think of it like that, android is still a baby, the iPhone is like the 8-12 year old and WM is like the 16-21 year old. Of course you can do more with the 16-21 year old, and of course things are easier to do with the 8-12 year old and you expected them to talk back to you. But the baby isn't quite developed yet... but at the same time the baby could talk before any of the other kids. Before you know it android is gonna be walking and playing and going to college while the other 2 are going to be in high school still.

Either way I am glad I got my phone. And it won't be much longer before you see the android OS on other phones and the G1 topping all other phones with its numerous updates and overall biggest developer base. With all new things comes an opposition, the difference between success and failure is whether you can convince the opposition.

/rebuttal rant LOL
[G1 Android Development] Chainfire:
You are missing my point, which is not how to jailbreak the phone or how long it will take. Yes, that is interesting to me personally, but businesswise it is all dependant on what you can do on a

stock

model. That's also the reason I never jumped on the iPhone bandwagon (well, AND Apple having some aversion against developers).

You get me wrong here again. I don't like the iPhone at all - but Android turns out to be just as closed out-of-the-box, though one pretends to be open, while the other does not. As for WM, what I stated is that it's actually sad that it's the mobile OS with the most 'options'. If I want to write a specialistic driver X and let you download and install it, I actually can; try doing that on an iPhone or the G1 (without trickery). (I think you can do it on Symbian, though, but like WM it has it's own weirdness).

I am not against Android, open systems, etc at all. More development is good. What is delivered however, from a development perspective, is wholly disappointing. Perhaps I'll even like the device from an end-user perspecitve, but when I want to do anything interesting, I will have to fall back to either weird hacks (yay! open platform!) or simply Windows Mobile.

/rebutal rebuttal rant LMAO
[G1 Android Development] Disconn3ct:
How about with a password?

root:8azC0Xatd.CGA:0:0:root:/root:/data/busybox/ash

(that password is 'foo') Looks like the dropbear source has a check for missing passwords..
[G1 Android Development] galtoid:
Start a new topic for that stuff if you please...

I went for broke and I bricked mine. (bricked="G1 screen for 1/2 a sec then HTC bootloader, no path to the menu'd exclamation recovery mode") Here's what I did/learned:

Busybox works great

remounted /system rw

copied bbox to /system/bin and symlinked cp, passwd, chown, nc, login, adduser add group, yada

used bbox and a little pasting to add passwd, group and shadow into etc

busybox telnetd worked against the created passwd,shadow and group files and used bb's login

added busybox telnetd to /system/init.rc (init.rc got overwritten on next boot, pre-brick)

edited /system/build.props and added ro-secure = 0 (this probably did it)

The ro.secure property is what adbd checks when deciding to setuid 2000, I think certain files are checksummed for boot as well as for updating.
[G1 Android Development] staulkor:
Nope, nothin :(

And we should move the sshd password hunt to http://xdaforums.com/showthread.php?t=442754
[G1 Android Development] JesusFreke:
Ouch! That stinks :(

But I don't think it's the build.props thing that did it. I tried the exact same thing (adding ro.secure=0), but it booted up fine the next time, although ro.secure was still set to 1, according to getprop.

So you can't boot up normally or get to recovery mode at all?
[G1 Android Development] staulkor:
If you can get into recovery mode, you should be able to apply the update since it overwrites a lot of the stuff in the /system directory.
[G1 Android Development] galtoid:
The G1 splash goes away very quickly and then straight to the red green blue and white, home+pwr has no effect.
[G1 Android Development] wolfgangrupprecht:
Dropbear on my openwrt router lets me ssh in using an RSA key. I wonder if using RSA credentials to log here in would be good enough as far as the dropbear empty password test is concerned.
[G1 Android Development] vivek_golecha:
hi very new to these methods.......just a few questions to u guys who are already masters in this methods.....

1. I got a uk g1 on rc 8 now... can i use the multitouch mod rc8 to get the rc 33 type of update....????i mean after installing the jf's 1.41_rc8.zip will i have voice search, latitude etc with multi touch features in it....

2. will reflashin lock my g1 again since i am using it in india right now......

help would be highly appreciated.......
[G1 Android Development] Kilroy672:
I've done everything right. Must've tried 3 times so far. But everytime I go to recovery screen..this is what it says at the top..

E: Can't open / cache recovery/command..

Anyone know how to fix this problem? Also will not update to the R33 root. Any suggestions?
[G1 Android Development] jbmoney22:
rooting

I tried to install a theme and everything worked except the screen was black and the notification bar was working and has been changed but the sceen stays back and cant operate the phone. I have a 1.1 PLAT-RC33 126986 build number. I suck at doing this stuff. Please help
[G1 Android Development] MrQuickFix:
I am having this exact same issue. I think we may have botched the HardSPL install. Can anyone tell us if we need to reinstall Hard SPL :confused:
[G1 Android Development] Mr.Jigolo:
i downgraded to RC29 successfully. restarted. signed in to my gmail account. hit enter twice then typed telnetd and hit enter.....NOTHING HAPPENS!!!

<enter><enter>telnetd<enter>

the word telnetd just sits there! i'm not much of a linux/unix guy. please help.

i tried restarting several times and testing the same scenario, nothing happens. i re-installed RC29 again, and then tried. same result. please help
[G1 Android Development] gweeto:
Hey i have gotten as far as the recovery portion to install hard spl and im getting an error i hit alt-l then alt-s to install sd card update and this is what i get: Can't open / sdcard/update.zip (no such file or directory) installation aborted.

Please Help Me! TIA
[G1 Android Development] MrQuickFix:
breaultm, It is one of the files that is bad or something. Use the directions and files below. I am now on the rooted RC33. Woot.

http://android-dls.com/wiki/index.php?title=Keeping_Root
[G1 Android Development] gweeto:
alright im at the last step reloading the modded rc33 and ive chosen the second dl link. build environment 1.42 now heres the prob if u rename to update.zip i get the error its (bad) if i extract and repack it in zip format with the name update.zip i get the error (no signature) (445 files) verification failed ?? Please help im soooo close tia
[G1 Android Development] kindanewbie:
Nothings supposed to happen, that just tells yer phone to enter root. Type that in and then open up terminal emulater (included in all jf's builds) type su. Bam! You have root.
[G1 Android Development] MrQuickFix:
I think your having the same issue as I did. Follow the directions in the link I posted above.
[G1 Android Development] Gimpeh:
Worked great for me. Thank you oh so very much for this.
[G1 Android Development] parmenti:
Please help, red-green-blue screen

--- never mind, I recovered --- Sorry
[G1 Android Development] parmenti:
everything seems to go great. I can log into telnet and such so it appears I have root. Problem is.. I can't seem to update. I'm trying to get to ADP1.1 but it just keeps ignoring the updates. After the update the phone still says

Firmware Version: 1.0

Build number: kila-user 1.0 TC4-RC29 115247

ota-rel-keys, release-keys

Anyone have any ideas?
[G1 Android Development] parmenti:
Does this likely mean that I DON'T yet have root access? I can't figure out what I can be doing wrong. I tried downloading screenshot and it says BROKEN PIPE when I try to use it. But when I opened telnet I got #. I don't know what's going on
[G1 Android Development] oaussieo:
not able to update to ver 1.1

G'day all,

I have followed all on first post, works verry well, I have root and all. however I am not able to install the RC33 or V1.1 as I get unable to read /sdcard/update.zip is there something missing I can give more info on request...

Thanks all for a great Forum
[G1 Android Development] magix66:
Lost root ...

Hello, I'm new to this forum but I've been reading along.

I was RC33 and found in the paid market- TethertBlu, said to make sure you had root access so I went to

http://xdaforums.com/showthread.php?t=442480

I followed it well.

I downgraded back to RC29 so as to Buy tetherBlu.apk. Long story...

After being at RC29 I could no longer View the "paid market" so I could not buy it. OK so I went back to RC33 using JFv1.42_RC33.zip and now I lost root??? Telnet says "connection refused"

I'm not a developer I just wanted Blutooth tethering... Help...
[G1 Android Development] konvict7:
Can someone please help UN jail break my g1? I did it earlier and I want to go back to default everything
[G1 Android Development] yourthug4life:
i did the same thing and telnet wouldnt work for me either.....the way i checked to see if i had root was to go to the terminal app and type in su, then when the pound sign came up i typed reboot and the phone reset itself. try that to see if you have root.
[G1 Android Development] sHij0:
Singapore HTC Dream

anyone have any idea how can i root Singapore HTC dream.

Firmware version 1.1

Build Number - dream_str-user 1.1 STG-RC8

Thanks.
[G1 Android Development] DPlante819:
When I do the recovery mode for my G1 it says that it "can't open /sdcard/update.zip (bad) Installation Aborted" Does anyone know what is going wrong. I have tried over 10 times and it says the same thing.
[G1 Android Development] big nu:
WHATS UP lucidrem, IVE DONE THIS BEFORE AND IT WORKED FINE WHEN I HAD THE RC30 VERSION.. I TRADED MY BRONZE G1 FOR A BLACK ONE THAT HAD RC33 STOCK.. AND I TRIED TO JAILBREAK IT JUST LIKE I DID BEFORE. GOT TO THE POINT INSTALLING THE DREAMING FOLDER ON THE SD CARD AND UPDATIING AND IT SAID "UPDATETERMINAL FAILED" AND IT WONT LET ME BOOT IT BACK UP I TAKE OUT THE BATTERY AND TURN IT ON IT GOES BACK TO THE COLORFUL SCREEN.. WHAT DID I DO WRONG/???????? DID I BRICK THE PHONE DUDE?

:(:confused:
[G1 Android Development] Dreddge:
I wanted to install a theme (I have a Dev 1) So I went in to check the build. And this is all it says:

Dream_devphone-userdebug 1.1 unlocked 121975 test-keys

Do I need to install RC33? or does that not apply to me since I have a dev 1.

Thanks
[G1 Android Development] thx997303:
Tried multiple times to get root on a g1 here and was unsuccessful every time, now I am a hhundred percent sure the problem is me, but could someone help me out on this one?

If I could just get root.......

I downgrade successfully to rc 29, then I start the root process asnd I am confused by step number three, how can you be sure the files are on the root of your sd card?

And with the command lines, do you merely type those lines and press enter at the end of each?

And how do you know you have root?

And when you are re upgrading it with the jf updates, do you need the update, the build environment, and the radio update?

Sorry, I feel dumb asking all these noob questions, but thr last thing I modded was an xbox, sao I'm a little behind on things
[G1 Android Development] dshyang50:
Sorry if this is a SUPER nub question, but I don't have a data plan, and it seems like getting root on the phone and registering through wifi is an endless cycle of downgrades and upgrades. My steps are as follows:

1. Downgrading to RC29 and using adb to enable wireless to register

2. Downloading and installing recovery.img and Hard SPL to the microSD

3. entering in all the telnet commands to get root

4. downloaded and installed the modified updates jf/v1.42/JFv1.42_RC33.zip *prompted to wipe memory alt-w*

5. after all is said and done, trying to register through wifi, requires RC29 or below

6. start back at 1.

7. :(

I'm pretty sure I installed the modified rc33 correctly with root, but I cannot register my phone - ie. in home screen after reboot I type <enter>reboot<enter>, does not cause the phone to reboot, hence I cannot use adb to access wifi settings to connect to the internet. I would love to have root on my phone but I don't know if its just not possible without the data plan or if I simply did not install root correctly.
[G1 Android Development] neoobs:
try registering before number 4... and don't wipe

or use adb once you have upgraded to enable the wireless. (adb commands are the same as the telnet ones... just you don't have to start all the telnet gibberish)
[G1 Android Development] dshyang50:
I just didn't wipe and it worked fine, thanks! I am officially rooted. Multi-touch browsing is awesome!!
[G1 Android Development] WowaWiwa:
Hi!

I've been reading this discussion now for a while, i must say there are some difficulties

getting this root access for developments needs is not that easy.

I've purchased the Qmat's software witch is working great after updating my Linux Wine

configuration.

I've followed the directions posted in this thread;

Created the goldcard.img file

* get sdcard serial (using adb shell, or terminal emulator within android): cat /sys/class/mmc_host/mmc1/mmc1:*/cid

* start QMAT using wine

* byte-wise reverse the serial string using QMAT: Cryptoanalysis Tools/Crypto Toolbox, enter serial in the box left of the "reverse string" button, click button, copy reversed serial string

* generate goldcard image: click Hardware Forensics/Generate HTC Goldcard, enter reversed serial string into the "Serialnumber of SD-card" field, press "Save Goldcard Image to file" button, remember filename "goldcard.img" and path

* check filesize < 440 byte (otherwise writing this to the beginning of the sdcard would corrupt the partition table): ls -l goldcard.img

* if < 440 byte, use dd and a usb cardreader (g1 with usb cable does also work, verified!) (probably you need to be root for that to work) to write the contents of the file "goldcard.img" to the beginning of the sdcard (assumes sdcard is /dev/sdb, might be other, check!): dd if=goldcard.img of=/dev/sdb

* done

0+1 records in

0+1 records out

384 bytes (384 B) copied, 0.0320333 s, 12.0 kB/s

I've found out that the goldcard.img was written down to the SD card.

After this i've followed the directions and placed the UK's RC7 DREAIMG.nbh to

this same SD card. Then i trying to startup the G1 while pressing the "make photo"

button. The grey img did boot up, but i still got the error like:

28002 not allowed. After this the rich colored screen getup but still i'm not able

to load anything.

The software running this moment :

kila_eu-user 1.1 TMI-RC9 128600

To bad, still a dream to be come true. :confused:
[G1 Android Development] thx997303:
okay, so I got to the part where I power down to apply hardspl, and the phone wont turn on, and if it does, it will start into a screwed up zoomed in thing where the touch screen doesn't work, when I try to start in recovery mode.

Can someone help? started as a RC 30 phone, downgraded to RC 29 and this happened.
[G1 Android Development] WowaWiwa:
Is there anyone else with problems regarding the newest T-mobile EU update?

I've written down the goldcardimage with dd to the card without any problems,

also i checked the serialcode and reversed it but i still keep the Anoying "not allowed"

error. I would please like to know if anyone else in Europe has the same problems. In the post above you can find some more details.

Kind regards,

Wowa
[G1 Android Development] mrjeffery:
Hi, after downgrading to RC7 and rebooting into recovery mode i quickly see the exclamation mark but then get the following screen. Any ideas? I cant seem to do anything from here onwards bar restarting the phone.
[G1 Android Development] WowaWiwa:
remove your SD card

Have you tried removing the SD card with the image on it?
[G1 Android Development] mrjeffery:
dont i need the sdcard to be inserted for the phone to actually see the image to flash it with?

Also when in telnet, even though i type "mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system" exactly as instructed in the guide i get a message about mount usage options so im assuming its not applying?

I've noticed that since downgrading from rc8 to rc7 i no longer have to manually mount the sdcard when the phone is connected to the pc via usb to see it as a removable drive. Is this normal?

Should also probably add that prior to getting the multicoloured screen it flashes up to the grey screen briefly saying it cant find an image file.
[G1 Android Development] turok_14373:
i want root

I wanna try rooting my phone, but as always my paranoia gets the best of my. Like...if something goes wrong, how can I just reflash my phone with rc33 again. Or do I type telnetd <enter> then just go to marketplace and search for a telnet app? Lol. If anyone who's do0ne this can give me a hand I would appreciate. Yahoo messenger crash18182000
[G1 Android Development] mrjeffery:
im an idiot, hadnt formatted to fat32, only fat AND didnt know the difference between bootloader mode and recovery mode
[G1 Android Development] thx997303:
So anyway, when I boot my phone into recovery mode, it won't go to recovery mode and instead boots regularly, unfortunately it doesn't even show the android at startup, just the g1 thing, and then iy boots into a screwed up regular boot.

I'm trying to apply hardspl, after rooting the phone.

Any help?
[G1 Android Development] Ronnymes:
Yes i have see my post : http://xdaforums.com/showthread.php?p=3418099#post3418099

Baseband version: 62.33.20.08U_122.14.11

Kernel version: 2.6.25-01845g85d4f0d

Build number : killa_eu_user 1.1 TMI-RC9 128600

( Got a 8gig flashcard )

E:Can't open /cache/recovery/command

E:Can't open /sdcard/update.zip

(bad)
[G1 Android Development] Erik_TheRed13:
trouble rooting!!!

I am having trouble left and right. But right now i am having trouble connecting to Telnet so I can enter in commands. Any idea why this is so? It's very frustrating.

Erik.
[G1 Android Development] Erik_TheRed13:
this is not working for me.....I have tried all day...i can't get the phone to upgrade to RC 33?????
[G1 Android Development] WowaWiwa:
Confirm

Hi,

Yesterday i've spend some more time on figuring out why i was not able

to get root. What i tried:

- Format the SD card again.

- Put it in the android, read out the SD card serial

- Started up QMAT, reversed the code and paste in to the goldcard create section.

- After that i've wrote the goldcard.bin to the SD card.

- I've copied the DREAIMG.nbh to the SD card, and did a CHMOD 777 DREAMIMG.nbh

After this i've rebooted the phone, using the instructions and finally the image was processed right.

So yes it's possible to get root with the latest over the update from T-mobile on the European content. ( kila_eu-user 1.1 TMI-RC9 128600 )

Thanks VIPER for answering my e-mails so quickly.

(The exact instructions on how to get this working can you lead out of post earlyer of mine and of course this whole thread)
[G1 Android Development] cvenk:
WowaWiwa please, be more specific........!!!!!!!!!!!!!!!!

How on earth did you do it...

And what did you use (WM, Cardreader, qmat xxx, what downgrade RC X update.... and what upgrade after everything went OK)

I'm happy that someone did IT, way to go!
[G1 Android Development] Ronnymes:
Can you please help me 2, maybe via msn?