|
|
2006-03-21
, 00:52
|
|
|
Posts: 128 |
Thanked: 4 times |
Joined on Feb 2006
@ Philadelphia, PA
|
#2
|
sudo gainroot gives me:
"cal_read_block(r&d_mode): size zero, block not found?"
Can someone tell me what is going on here, and how to remedy this? Thanks much!
#!/bin/sh -e
trap exit SIGHUP SIGINT SIGTERM
PATH=/bin:/usr/bin:/sbin:/usr/sbin
#MODE=`/usr/sbin/chroot /mnt/initfs cal-tool --get-rd-mode`
#if [ x$MODE = xenabled ]
#then
# echo "Root shell enabled"
/bin/sh
#else
# echo "Enable RD mode if you want to break your device"
#fi
#
|
|
2006-03-21
, 04:04
|
|
|
Posts: 79 |
Thanked: 8 times |
Joined on Mar 2006
|
#3
|
|
|
2006-03-21
, 09:10
|
|
|
Posts: 1,463 |
Thanked: 81 times |
Joined on Oct 2005
@ UK
|
#4
|
|
|
2006-03-21
, 16:22
|
|
|
Posts: 79 |
Thanked: 8 times |
Joined on Mar 2006
|
#5
|
|
|
2006-03-21
, 16:54
|
|
Posts: 55 |
Thanked: 2 times |
Joined on Mar 2006
|
#7
|
Look at jayholler's version of the script above: definitely outputs "Enable RD mode if you want to break your device" if R&D mode is disabled.
I'd guess the error's coming from cal-tool.
"cal_read_block(r&d_mode): size zero, block not found?"
Can someone tell me what is going on here, and how to remedy this? Thanks much!