Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Android Devices > enTourage eDGe

Notices

Reply
 
Thread Tools Search this Thread
Old 10-20-2011, 04:49 AM   #1
nikkie
Guru
nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40
 
nikkie's Avatar
 
Posts: 607
Karma: 73700
Join Date: Oct 2009
Location: Redmond, WA
Device: iPhone, iRex DR800SG, Pocket Edge, iPad
A Thread for Vicinc's Device

So, I've been thinking about this problem a lot. Here's how I see it:

1) At least one of the filesystems is [language edit]. It sounds like (at least) the filesystem with the backup kernel.
2) I'm guessing it's the recovery kernel because the device DOES boot.
3) ADB works.
4) Trying to reflash doesn't work because it's trying to boot from the recovery kernel.
5) I've been digging through update.zip and it absolutely does rewrite the whole damn thing, so it shouldn't have any problem fixing any existing software problems if it can get a shot at running.
6) There's options in update.sh that indicate it can be run from the device, something probably like:

Quote:
update.sh user /sdcard/update.zip
6) In /bin/ there exists updater.

So, you should be update WHILE in the OS, using the procedure that was originally designed for updating. You just need to dig through all the source code to figure out how to properly call it.

Last edited by dreams; 11-14-2011 at 02:06 AM. Reason: [language edit] by moderation
nikkie is offline   Reply With Quote
Old 10-20-2011, 06:06 AM   #2
vicinc
Guru
vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.
 
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
THIS IS SOLVED NOW VIA SERIAL INTERFACE THANKS TO JIM:
WHAT I HAVE DONE:
1) Set a serial interface, see the hardware post.
2) my nand had bad block so had to repair it:
in terminal with serial connection on
1. bbt init nand
It will scan the blocks for bad read / writes.
2. bbt mark nand
This should mark any bad blocks in the file system.
3) setup a ubuntu machine with hardware serial port and connected it to the serial port on PE

4) Ubuntu procedure in terminal
1. sudo apt-get install xinetd tftpd tftp xinetd
2. Create /etc/xinetd.d/tftp and put this entry:

service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftpboot
disable = no
}

3. Make /tftpboot directory

sudo mkdir /tftpboot
sudo chmod -R 777 /tftpboot
sudo chown -R nobody /tftpboot

4. Start tftpd through xinetd
sudo /etc/init.d/xinetd start

Extract the update.zip and copy the files ramdisk.maint.gz.crc and ramdisk.android.gz.crc into the /tftpboot folder

5) you need a serial terminal for ubuntu
sudo apt-get install screen
and than
screen /dev/ttyS0 115200

6) now start edge, press enter 2x on starting.
than connect the usb cable.
you will need to setup the ip for the new server to PE connection to 192.168.2.100 otherwise will not work
5) than restoring the ramdisk to the repaired partition and
//Restore regular boot
tftp 0x7D00000 ramdisk.android.gz.crc
nand erase 0x1200000 0x140000
nand write 0x7D00000 0x1200000 0x100000


//Restore boot_user (PE Restore Mode)
tftp 0x7D00000 ramdisk.maint.gz.crc
nand erase 0x1300000 0x700000
nand write 0x7D00000 0x1300000 0x6C0000
run boot_user
6) dingo golden hellbent modified with jim update.sh (coming soon here) on usb and updated nicely back to dingo

Last edited by vicinc; 11-17-2011 at 11:54 PM.
vicinc is offline   Reply With Quote
Old 10-20-2011, 08:21 AM   #3
vicinc
Guru
vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.
 
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
tried ktw run but same results regarding ext2.
running updater user /sdcard/update.zip gives me unexpected number of arguments. tried variations, same.
updater help or ? does not give any syntax
vicinc is offline   Reply With Quote
Old 10-20-2011, 11:45 AM   #4
ktwombley
Enthusiast
ktwombley began at the beginning.
 
Posts: 48
Karma: 32
Join Date: Sep 2011
Device: pocket edge
try this
Code:
mount
(big list prints out)

umount /mnt/extsdcard
update.sh user /dev/mmcblk01p1
in the big list of mounted stuff, find what was mounted on /mnt/extsdcard. i think it's something like /dev/mmcblk01p1 or something. Whatever that is needs to be the second argument for the update.sh script.
ktwombley is offline   Reply With Quote
Old 10-20-2011, 03:08 PM   #5
vicinc
Guru
vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.
 
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
i suppose this is adb not serial recovery?
vicinc is offline   Reply With Quote
Old 10-20-2011, 03:26 PM   #6
nikkie
Guru
nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40
 
nikkie's Avatar
 
Posts: 607
Karma: 73700
Join Date: Oct 2009
Location: Redmond, WA
Device: iPhone, iRex DR800SG, Pocket Edge, iPad
Quote:
Originally Posted by vicinc View Post
i suppose this is adb not serial recovery?
Yes...I don't know what all the arguments are, I'm just guessing. ktwombley has looked through the script - he would know better.
nikkie is offline   Reply With Quote
Old 10-20-2011, 07:19 PM   #7
vicinc
Guru
vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.
 
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
mount produces the following results
su
# mount
mount
rootfs / rootfs rw 0 0
/dev/root / ext2 ro,relatime,errors=continue 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
ubi:system /system ubifs ro,relatime 0 0
ubi:userdata /data ubifs rw,nosuid,nodev,relatime 0 0
ubi:cache /cache ubifs rw,nosuid,nodev,relatime 0 0
ubi:storage /intstorage ubifs rw,nosuid,nodev,relatime 0 0
tmpfs /tmp tmpfs rw,relatime,size=16384k 0 0
varrun /var/run tmpfs rw,relatime 0 0
varlock /var/lock tmpfs rw,relatime 0 0
none /proc/bus/usb usbfs rw,relatime 0 0
/dev/block/vold/7:0 /mnt/sdcard vfat rw,nosuid,nodev,noexec,relatime,fmask=0000,
dmask=0000,allow_utime=0022,codepage=cp437,iochars et=iso8859-1,shortname=mixed,u
tf8,errors=remount-ro 0 0
/dev/block/vold/7:0 /mnt/secure/asec vfat rw,nosuid,nodev,noexec,relatime,fmask=
0000,dmask=0000,allow_utime=0022,codepage=cp437,io charset=iso8859-1,shortname=mi
xed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/vold/8:1 /mnt/usb0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1
000,gid=1015,fmask=0702,dmask=0702,allow_utime=002 0,codepage=cp437,iocharset=iso
8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
#


umount /mnt/extsdcard produces failed. I do not think it can be unmounted.
vicinc is offline   Reply With Quote
Old 10-20-2011, 07:36 PM   #8
vicinc
Guru
vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.
 
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
the usb device is called /usb0
tried
sh update.sh user /dev/usb0
under adb shell #
with dingo on usb as update.zip
but without a working unmount
however this is what I get:
# sh update.sh user /dev/usb0
sh update.sh user /dev/usb0
fn=update.zip, dev=/dev/usb0, fs=auto
update.sh: cannot create /sys/devices/platform/pxa168-pwm.0/pwm-backlight.0/bac
light/pwm-backlight/brightness: directory nonexistent
mkdir failed for -p, File exists
mkdir failed for -p, File exists
mkdir failed for -p, File exists
start: Thu Oct 20 22:40:28 GMT 2011 (user)
executing update script...
removing reboot_cmd from env...
update.sh: fw_setenv: permission denied
do_mount: do_mount: dev /dev/usb0 dir /srcmnt type auto flags 0x8000 loop 0
do_mount: calling mount: dev /dev/usb0 dir /srcmnt s auto rwflag 0x8000
mount: No such file or directory
update.zip does not exist on /dev/usb0
rm failed for -rf, No such file or directory
failed.

it is trying to do something but reboots in the end. I think the script unmounts the usb0? as update.zip is not found on usb0 ?

Last edited by vicinc; 10-20-2011 at 09:10 PM.
vicinc is offline   Reply With Quote
Old 10-20-2011, 09:01 PM   #9
nikkie
Guru
nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40
 
nikkie's Avatar
 
Posts: 607
Karma: 73700
Join Date: Oct 2009
Location: Redmond, WA
Device: iPhone, iRex DR800SG, Pocket Edge, iPad
Yes, I think we're going to need to write you a special script that doesn't try to reboot into the maintenance kernel, and only overwrites that partition. Then you should be able to flash as usual. Still, this is a very good start, since we now know we can definitely initiate the flashing process from within the normal kernel without the buttons or booting into uboot.
nikkie is offline   Reply With Quote
Old 10-20-2011, 09:06 PM   #10
vicinc
Guru
vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.
 
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
I am happy if any of my novice futile attempts are of any good. sorry i can not help more.
I will test whatever you need me to.
vicinc is offline   Reply With Quote
Old 10-21-2011, 07:31 PM   #11
vicinc
Guru
vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.
 
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
any more ideas for testing?
vicinc is offline   Reply With Quote
Old 10-22-2011, 07:47 PM   #12
nikkie
Guru
nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40
 
nikkie's Avatar
 
Posts: 607
Karma: 73700
Join Date: Oct 2009
Location: Redmond, WA
Device: iPhone, iRex DR800SG, Pocket Edge, iPad
Quote:
Originally Posted by vicinc View Post
any more ideas for testing?
I spent the last couple after-work evening fixing my linux machine. I should have some new ideas for you some time this weekend.
nikkie is offline   Reply With Quote
Old 10-23-2011, 12:15 PM   #13
vicinc
Guru
vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.vicinc has a complete set of Star Wars action figures.
 
Posts: 733
Karma: 443
Join Date: May 2011
Location: UK
Device: Pocket Edgex2(1unborked), Alex, Nook B&W, Nook Color, Nook STR
nikki, i really appreciate your efforts and the community effort to get this device to a standard.
vicinc is offline   Reply With Quote
Old 10-24-2011, 03:47 PM   #14
ktwombley
Enthusiast
ktwombley began at the beginning.
 
Posts: 48
Karma: 32
Join Date: Sep 2011
Device: pocket edge
Quote:
Originally Posted by vicinc View Post
the usb device is called /usb0
tried
sh update.sh user /dev/usb0
under adb shell #
with dingo on usb as update.zip
but without a working unmount
however this is what I get:
# sh update.sh user /dev/usb0
sh update.sh user /dev/usb0
fn=update.zip, dev=/dev/usb0, fs=auto
update.sh: cannot create /sys/devices/platform/pxa168-pwm.0/pwm-backlight.0/bac
light/pwm-backlight/brightness: directory nonexistent
mkdir failed for -p, File exists
mkdir failed for -p, File exists
mkdir failed for -p, File exists
start: Thu Oct 20 22:40:28 GMT 2011 (user)
executing update script...
removing reboot_cmd from env...
update.sh: fw_setenv: permission denied
do_mount: do_mount: dev /dev/usb0 dir /srcmnt type auto flags 0x8000 loop 0
do_mount: calling mount: dev /dev/usb0 dir /srcmnt s auto rwflag 0x8000
mount: No such file or directory
update.zip does not exist on /dev/usb0
rm failed for -rf, No such file or directory
failed.

it is trying to do something but reboots in the end. I think the script unmounts the usb0? as update.zip is not found on usb0 ?
You need to be root to do any of this.
ktwombley is offline   Reply With Quote
Old 10-24-2011, 03:53 PM   #15
nikkie
Guru
nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40nikkie is slicker than a case of WD-40
 
nikkie's Avatar
 
Posts: 607
Karma: 73700
Join Date: Oct 2009
Location: Redmond, WA
Device: iPhone, iRex DR800SG, Pocket Edge, iPad
Quote:
Originally Posted by ktwombley View Post
You need to be root to do any of this.
It looks like he is root - his prompt is the # sign.
nikkie is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
the official "see a device in a café near you" hookup thread zelda_pinwheel Which one should I buy? 259 03-08-2013 10:43 AM
[Old Thread] Slow to 'get list of books on device' for Kindle DX tklaus Devices 4 03-10-2011 01:11 PM
MobileRead Official MobileRead Book Club: Welcome thread/November's book choice thread PsyDocJoanne Book Clubs 151 02-08-2009 09:42 PM


All times are GMT -4. The time now is 09:15 AM.


MobileRead.com is a privately owned, operated and funded community.