Guest Graham Wood Posted June 7, 2010 Report Posted June 7, 2010 (edited) I'm attempting to use ssh from the phone, and it's giving me the following message: # ssh [email protected] ssh: exited: Unknown own user And, indeed, /etc/passwd does not exist. This is a "baked" rom from here. One thing that is interesting, and more concerning, is what happens when I try to create it: $ adb remount remount succeeded $ adb push passwd /system/etc/passwd failed to copy 'passwd' to '/system/etc/passwd': Out of memory (I get the same result using echo '' > /system/etc/passwd) The output of dmesg on the phone gives me (nothing in logcat, the "nsm_nand_erase" to "Block <n> retired" is repeated lots of times with increasing numbers): [ 703.335205] msm_nand_write_oob 143a0000 800 1c failed -5 [ 703.335906] **>> Block 2000 needs retiring [ 703.336700] msm_nand_erase: erase failed, 0x143a0000 [ 703.337097] yaffs: Failed to mark bad and erase block 2000 [ 703.337768] **>> Block 2000 retired [ 703.338134] yaffs tragedy: no more erased blocks [ 703.338806] !!!!!!!!! Allocator out !!!!!!!!!!!!!!!!! [ 703.339172] **>> yaffs write required 49 attempts Also the "space" on /system has changed from more than 50MB to 5.4M - and if I now run "sync" the system resets. Any suggestions? I'm not too bad as a unix admin, but I've not spent enough time to get my head around adnroid properly yet. Edited June 8, 2010 by Graham Wood
Guest Graham Wood Posted June 8, 2010 Report Posted June 8, 2010 (edited) Solution was to follow the instructions from persko at http://android.modaco.com/content/htc-desi...certifications/, and just pusing the passwd file instead of a certificate file... 1: power off your Desire 2:Power on your Desire holding the volume down key 3:select recovery 4:when the read triangle shows, run the recovery script from the root package: (recovery-linux.sh, recovery-mac.sh or recovery-windows.bat) depending on your OS. 5:mount the /system partition (# adb shell mount /system) 6: copy your certificat to the system (#adb push cacerts.bks /system/etc/security) 7: reboot your phone. Now I just need to work out why making /system RW in "normal" mode doesn't work... But that's just for personal interest, and can wait :) Edited June 8, 2010 by Graham Wood
Guest Smilgs Posted July 4, 2010 Report Posted July 4, 2010 I think it is because the Desre is not fully rooted - i.e., the /system partition is not really writable in normal mode. Solution was to follow the instructions from persko at http://android.modaco.com/content/htc-desi...certifications/, and just pusing the passwd file instead of a certificate file... Now I just need to work out why making /system RW in "normal" mode doesn't work... But that's just for personal interest, and can wait :lol:
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now