so it seems like the toggle is only called automatically when the active partition set fails to mount...
first i created a Version.0 like described in wiki and can confirm that when Version.0 and Version.1 file is present the "alternative software" option is available and works for toggle.
after reboot i saw that my second set was on 3015 (the version i had right before downgrade to 3011) (checked the current version greyed out in "software update" and in "help menu" > "contact samsung" > page 2/2) despite this the string in /mtd_rwarea/Version was still for v1000 (as created before) the second Version. file was gone.
and right after reboot, the "software update" option was greyed out completely, after network connect it was available again
Code: Select all
root@10.10.10.6's password:
# cat /mtd_rwarea/Version.0
SWU_T-VALDEUC_001000_I04_EK000DK000KK000RK000_100205
# ll /mtd_rwarea/V*
-rwxr-xr-x 1 root 0 53 Jan 1 1970 /mtd_rwarea/Version.0
# rm /mtd_rwarea/Version.0
# Write failed: Broken pipe [reboot, forgot to disconnect ssh :) ]
~> ssh root@10.10.10.6
root@10.10.10.6's password:
# ll /mtd_rwarea/V*
-rwxr-xr-x 1 root 0 52 Jan 1 1970 /mtd_rwarea/Version.0
# cat /mtd_rwarea/Version.0
SWU_T-VALDEUC_003015_I04_EK000DK000KK000RK000_120627#
# /bin/busybox mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/sam type tmpfs (rw)
none on /dtv type tmpfs (rw)
none on /dsm type tmpfs (rw)
none on /core type tmpfs (rw)
none on /tmp type tmpfs (rw)
/dev/stl0/14 on /mtd_rwarea type rfs (rw,codepage=utf8,vfat,fcache(blks)=128)
/dev/stl0/19 on /mtd_rocommon type squashfs (ro)
/dev/stl0/15 on /mtd_exe type rfs (ro,codepage=cp949,vfat,fcache(blks)=128)
/dev/stl0/16 on /mtd_appdata type squashfs (ro)
/dev/stl0/13 on /mtd_contents type rfs (rw,codepage=utf8,vfat,fcache(blks)=128)
/dev/stl0/20 on /mtd_swu type rfs (rw,codepage=cp949,vfat,fcache(blks)=128)
/dev/stl0/21 on /mtd_rwcommon type rfs (rw,codepage=utf8,vfat,fcache(blks)=128)
none on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /dtv/usb/sda1 type vfat (rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed)
/dev/stl0/14 on /etc/passwd type rfs (rw,codepage=utf8,vfat,fcache(blks)=128)
/dev/stl0/14 on /etc/profile type rfs (rw,codepage=utf8,vfat,fcache(blks)=128)
/dev/loop0 on /mtd_rwcommon/SamyGO/img type xfs (rw,ikeep,noquota)
/dev/sdb on /dtv/usb/sdb type vfat (rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed)
/dev/sdc on /dtv/usb/sdc type xfs (rw,nouuid,noquota)
10.10.10.10:/samrec on /dtv/usb/sdb/nfs/10.10.10.10/_samrec type nfs (rw,vers=3,rsize=32768,wsize=8192,soft,nointr,nolock,proto=udp,timeo=7,retrans=3,sec=sys,addr=10.10.10.10)
devpts on /dev/pts type devpts (rw)
10.10.10.10:/samrec on /dtv/usb/sdc type nfs (rw,vers=3,rsize=32768,wsize=8192,soft,nointr,nolock,proto=udp,timeo=7,retrans=3,sec=sys,addr=10.10.10.10)
#
# ll /mtd_rwarea/V*
-rwxr-xr-x 1 root 0 52 Jan 1 1970 /mtd_rwarea/Version.0
# touch /mtd_rwarea/Version.1
# ll /mtd_rwarea/V*
-rwxr-xr-x 1 root 0 52 Jan 1 1970 /mtd_rwarea/Version.0
-rw-r--r-- 1 root 0 0 Mar 11 17:49 /mtd_rwarea/Version.1
# rm /mtd_rwarea/Version.1 [tried to choose alternate sw, but not available]
# cp SamyGO/downgrade/Version.1 /mtd_rwarea/ [copied a Version file with valid string for 1000, and alternate sw menu was working]
# Connection to 10.10.10.6 closed.
~> ssh root@10.10.10.6
root@10.10.10.6's password:
# cat /mtd_rw
/mtd_rwarea/ /mtd_rwcommon/
# cat /mtd_rwarea/Version.1
SWU_T-VALDEUC_003011_I04_EK000DK000KK000RK000_111010#
#
# /bin/busybox mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/sam type tmpfs (rw)
none on /dtv type tmpfs (rw)
none on /dsm type tmpfs (rw)
none on /core type tmpfs (rw)
none on /tmp type tmpfs (rw)
/dev/stl0/14 on /mtd_rwarea type rfs (rw,codepage=utf8,vfat,fcache(blks)=128)
/dev/stl0/19 on /mtd_rocommon type squashfs (ro)
/dev/stl0/17 on /mtd_exe type rfs (ro,codepage=cp949,vfat,fcache(blks)=128)
/dev/stl0/18 on /mtd_appdata type squashfs (ro)
/dev/stl0/13 on /mtd_contents type rfs (rw,codepage=utf8,vfat,fcache(blks)=128)
/dev/stl0/20 on /mtd_swu type rfs (rw,codepage=cp949,vfat,fcache(blks)=128)
/dev/stl0/21 on /mtd_rwcommon type rfs (rw,codepage=utf8,vfat,fcache(blks)=128)
none on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /dtv/usb/sda1 type vfat (rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed)
/dev/stl0/14 on /etc/passwd type rfs (rw,codepage=utf8,vfat,fcache(blks)=128)
/dev/stl0/14 on /etc/profile type rfs (rw,codepage=utf8,vfat,fcache(blks)=128)
/dev/loop0 on /mtd_rwcommon/SamyGO/img type xfs (rw,ikeep,noquota)
/dev/sdb on /dtv/usb/sdb type vfat (rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed)
/dev/sdc on /dtv/usb/sdc type xfs (rw,nouuid,noquota)
10.10.10.10:/samrec on /dtv/usb/sdb/nfs/10.10.10.10/_samrec type nfs (rw,vers=3,rsize=32768,wsize=8192,soft,nointr,nolock,proto=udp,timeo=7,retrans=3,sec=sys,addr=10.10.10.10)
devpts on /dev/pts type devpts (rw)
10.10.10.10:/samrec on /dtv/usb/sdc type nfs (rw,vers=3,rsize=32768,wsize=8192,soft,nointr,nolock,proto=udp,timeo=7,retrans=3,sec=sys,addr=10.10.10.10)