Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
staulkor
Old
#41  
Senior Member
Thanks Meter 6
Posts: 254
Join Date: Jan 2007
Location: Tempe, AZ, USA
Quote:
Originally Posted by dagentooboy View Post
That's why we have to be careful with root.... anyone have sshd working yet?
I got sshd working, but I cant login because either we dont know the password, or there isnt a password and a password is required for ssh.

I got everything working in the emulator now since I dont want to chance bricking my phone. I will create a passwd file in a sec and see what happens. I doubt it will work.

One thing of interest I did find is the file /data/data/com.google.android.googleapps/databases/accounts.db. It contains your gmail username, encrypted password, and sha1 hash of the password.
 
jrgong420
Old
#42  
Junior Member
Thanks Meter 0
Posts: 13
Join Date: Oct 2008
try to add a user?

I am going to tinker as soon as I get home, nice to see root is finally available!

and it's funny I was trying to run telnetd through adb and connect to the localhost but couldn't get it to work :P
 
vovkab
Old
#43  
Member
Thanks Meter 71
Posts: 56
Join Date: Nov 2008
Location: Moscow
Maybe i miss something, actualy i don't have g1 to check, but it works with emulator. All we need it's android sdk and adb tool.

1. Connect phone to pc
2. run in tools folder adb shell
3. and then
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

now you have /system mounted as rw. Please someone check it on phone.
 
Disconn3ct
Old
#44  
Senior Member
Thanks Meter 89
Posts: 325
Join Date: Nov 2008
Location: Washington, DC

 
DONATE TO ME
Quote:
Originally Posted by vovkab View Post
Please someone check it on phone.
That works fine on the phone (or more simply "mount -o remount,rw /dev/block/mtdblock3 /system")

And to make life easier:
http://benno.id.au/blog/2007/11/14/android-busybox

I suspect you can get dropbear working by creating /etc/passwd with:
root::0:0:root:/root:/data/busybox/ash
(Warning: if that works there will be -no- password!)

If someone wants to post hints on building it (I've already got the platform built) I'll give it a go.. I'm not afraid of my phone
 
Koush
Old
#45  
Recognized Developer - OP
Thanks Meter 880
Posts: 917
Join Date: Sep 2007
Quote:
Originally Posted by vovkab View Post
Maybe i miss something, actualy i don't have g1 to check, but it works with emulator. All we need it's android sdk and adb tool.

1. Connect phone to pc
2. run in tools folder adb shell
3. and then
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

now you have /system mounted as rw. Please someone check it on phone.
The emulator has root already, thats why you can remount it as read write. You can't remount as read write on a real phone without root.
 
staulkor
Old
#46  
Senior Member
Thanks Meter 6
Posts: 254
Join Date: Jan 2007
Location: Tempe, AZ, USA
Its a no-go for creating the passwd file
 
jriley60
Old
#47  
Senior Member
Thanks Meter 0
Posts: 194
Join Date: Nov 2008
Location: Atlanta
yeah i just tried it straight on the phone since i'm still in my 14 days hehe
 
brooklynite
Old
#48  
Senior Member
Thanks Meter 1
Posts: 202
Join Date: Sep 2007
ok so thats what OPEN SOURCE is? what takes three buttons cd\ in windows takes all this work, internet and a software to do?
 
pdspatrick
Old
#49  
Member
Thanks Meter 0
Posts: 43
Join Date: Jul 2008
Location: /dev/null
i got bored and tried su under busybox via telnet...look what I got.

Quote:
su: unknown id: root
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.
 
haitiankid4lyf
Old
(Last edited by haitiankid4lyf; 6th November 2008 at 01:17 AM.)
#50  
Senior Member
Thanks Meter 0
Posts: 267
Join Date: May 2008
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.

 
Post Reply+
Tags
cupcake, jf1.5, root, tutorial, upgrade
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...