Made mistake in user.sh patched BD-D7500B wont boot

alessio71
Posts: 39
Joined: Wed Sep 26, 2012 8:47 pm

Made mistake in user.sh patched BD-D7500B wont boot

Post by alessio71 » Sat Jan 12, 2013 7:50 pm

I've made a mistake in the user.sh script, just before the

Code: Select all

mv /mtd_rwarea/user.sh /mtd_rwarea/user.sh.safe
command
the BS starts, dispaly the logo and stays there, no root access :cry:

Is there any chance to get it back?
Thank you

Alex

User avatar
juusso
SamyGO Moderator
Posts: 9759
Joined: Sun Mar 07, 2010 6:20 pm

Re: Made mistake in user.sh patched BD-D7500B wont boot

Post by juusso » Sat Jan 12, 2013 8:12 pm

Oh damn, this is really bad. You have to delete user.sh... Same as sbav1 suggested for Prairie...
sbav1 wrote: Looks like what you need is mtd_rwarea partition clean-up/reformat - but I don't have any useful ideas how to do it by any simple hardware hack[s].
In theory (just maybe): if you'll be somehow able to disrupt OneNAND <-> SoC communication in the VERY precise moment (to prevent initial /mtd_rwarea mounting in startup script), it may then get erased/reformated.
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

User avatar
prairie
SamyGO Project Donor
Posts: 303
Joined: Wed May 04, 2011 10:30 pm

Re: Made mistake in user.sh patched BD-D7500B wont boot

Post by prairie » Sat Jan 12, 2013 8:25 pm

No serial access? If you have the USB hotplug patch you can remove this file using run.sh on USB stick
PN60F8500AFXZA
T-FXPAKUC 1206.3 + SamyGO

"BrickMaster 2015"

User avatar
juusso
SamyGO Moderator
Posts: 9759
Joined: Sun Mar 07, 2010 6:20 pm

Re: Made mistake in user.sh patched BD-D7500B wont boot

Post by juusso » Sat Jan 12, 2013 8:29 pm

Oh yes, all Fir* patched firmwares have usbhotplug patch enabled. Take fat formatted usb and script (made under linux or if on windows, then with notepad++ or other robust editor, save ANSI encoding)

Code: Select all

#!/bin/sh
rm -rf /mtd_rwarea/user.sh
insmod /mtd_exe/fpi.ko
/etc/Scripts/MicomCtrl 143
While BD is powered on, attach USB and wait :D
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

alessio71
Posts: 39
Joined: Wed Sep 26, 2012 8:47 pm

Re: Made mistake in user.sh patched BD-D7500B wont boot

Post by alessio71 » Sun Jan 13, 2013 10:25 am

juuso wrote:Oh yes, all Fir* patched firmwares have usbhotplug patch enabled. Take fat formatted usb and script (made under linux or if on windows, then with notepad++ or other robust editor, save ANSI encoding)

Code: Select all

#!/bin/sh
rm -rf /mtd_rwarea/user.sh
insmod /mtd_exe/fpi.ko
/etc/Scripts/MicomCtrl 143
While BD is powered on, attach USB and wait :D
Nothing to do, the USB disk's LED flashes at same with the main circle LED in front of the BD and nothing happens :cry:
Any other option? Some kind of factory reset?!

Thanks for your effort,
Alex

User avatar
juusso
SamyGO Moderator
Posts: 9759
Joined: Sun Mar 07, 2010 6:20 pm

Re: Made mistake in user.sh patched BD-D7500B wont boot

Post by juusso » Sun Jan 13, 2013 11:03 am

how your latest user.sh looks like? what modifictions did you done?
LE40B653T5W,UE40D6750
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

theos0o
Posts: 11
Joined: Mon Oct 29, 2012 8:21 pm

Re: Made mistake in user.sh patched BD-D7500B wont boot

Post by theos0o » Sun Jan 13, 2013 1:04 pm

alessio71 wrote:Nothing to do, the USB disk's LED flashes at same with the main circle LED in front of the BD and nothing happens :cry:
Any other option? Some kind of factory reset?!

Thanks for your effort,
Alex
I don't know if it'll work, but try this:
Create that script with Notepad++, ANSI encoding

Code: Select all

#!/bin/sh
rm -rf /mtd_rwarea/user.sh
insmod /mtd_exe/fpi.ko
/etc/Scripts/MicomCtrl 143
Save it as "rc.sysinit"

Create a folder in your USB disk named "SamyGO", then inside it create a subfolder named "etc", and copy rc.sysinit script in there (so it should be <USB>/SamyGO/etc/rc.sysinit).
Plug it and restart your player.

alessio71
Posts: 39
Joined: Wed Sep 26, 2012 8:47 pm

Re: Made mistake in user.sh patched BD-D7500B wont boot

Post by alessio71 » Sun Jan 13, 2013 1:24 pm

juuso wrote:how your latest user.sh looks like? what modifictions did you done?
I was trying to start a newer version of exeDSP, I tried what stated in the wiki: http://wiki.samygo.tv/index.php5/ExeDSP_modifications
and didn't work, the newer exeDSP didn't start; then found this user.sh in this post: viewtopic.php?f=57&t=5275&p=38499&hilit ... .sh#p38499
and tried it:

Code: Select all

#!/bin/sh

#Run FastLogo
source /mtd_exe/Fastlogo.sh

export MAPLE_DEFAULT_PATH=/mtd_cmmlib/InfoLink/lib
export MAPLE_MANAGER_WIDGET_PATH=/mtd_down/widgets/manager
export MAPLE_NORMAL_WIDGET_PATH=/mtd_down/widgets/normal
export MAPLE_DUMMY_WIDGET_PATH=/mtd_appdata/SmartTV
export MAPLE_WIDGET_DATA_PATH=/mtd_down
export MAPLE_WIDGET_INCLUDE_PATH=/mtd_down/widgets/inc
export MAPLE_PLUGIN_DATA_PATH=/mtd_cmmlib/InfoLink/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_contents:/mtd_cmmlib/InfoLink/lib/plugin/Static:/mtd_cmmlib/moip:/mtd_cmmlib/Comp_LIB:/mtd_cmmlib/GAME_LIB:/mtd_cmmlib/DRM_LIB:/Java/lib:/mtd_cmmlib/InfoLink/lib:/mtd_cmmlib/XT9_LIB:/dtv:/mtd_cmmlib/lib:/mtd_cmmlib/YWidget_LIB:/mtd_appext/Webkit
export HOME=/mtd_moip
export KF_SLEEP_READ=-2
echo 30000 > /mtd_rwarea/DelayValue.txt
touch /mtd_rwarea/DoPrintYahoo.txt
export KF_NO_INTERACTIVE=1
export KF_LOG=/dev/null #Remove engine logging.
export KF_NO_LOG=1
export KF_NO_CRASHHANDLERS=1
export KF_HF_WRITE_PATH=/mtd_rwarea/yahoo
export KF_DATA_DIR=/mtd_yahoo/yahoo
export KF_THREAD_PRIORITY=0
export KF_CURL_PRIORITY=high
export KF_RESTART_INTERVAL=3

#====================================
# For Webkit Browser
export MOZ_PLUGIN_PATH=/mtd_down/webkit/plugins
#====================================

#====================================
# For XServer
export  XVT_DEFAULT="/dev/sam/tty0"
export  XVT_RUNTIME="/dev/sam/tty%d"

mknod /dev/sam/tty0 c 4 0
mknod /dev/sam/tty1 c 4 1
mknod /dev/sam/tty2 c 4 2
mknod /dev/sam/tty3 c 4 2
export DISPLAY=:0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_appdata/Runtime/lib/CairoShadow:/mtd_appdata/Runtime/lib:/mtd_appdata/Runtime/XorgLibs
export FONTCONFIG_PATH=/mtd_appdata/Runtime/fonts
export FONTCONFIG_FILE=/mtd_rocommon/FullBrowser/fonts/fonts.conf
export PANGO_RC_FILE=/mtd_appdata/Runtime/pango/pangorc
export GTK_PATH=/mtd_appdata/Runtime/lib/gtk-2.0
export PATH=$PATH:/mtd_appdata/Runtime/bin
#====================================

#============================================================================
#for_yahoo_release(YAHOO)

#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_down/widget:/mtd_down/widget/lib
#touch /mtd_rwarea/rc.local
#source /mtd_rwarea/rc.local

#for_samsung_release(YAHOO)

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mtd_appdata/yahoo:/mtd_appdata/yahoo/lib
#===========================================================================
mv /mtd_rwarea/user.sh /mtd_rwarea/user.sh.safe
mount -o bind /mtd_rwarea/exeDSP /mtd_exe/exeDSP
#===========================================================================
insmod /mtd_exe/samdrv.ko

cd /mtd_exe
./exeDSP
and my BD was gone... :cry:

alessio71
Posts: 39
Joined: Wed Sep 26, 2012 8:47 pm

Re: Made mistake in user.sh patched BD-D7500B wont boot

Post by alessio71 » Sun Jan 13, 2013 1:33 pm

theos0o wrote: I don't know if it'll work, but try this:
Create that script with Notepad++, ANSI encoding

Code: Select all

#!/bin/sh
rm -rf /mtd_rwarea/user.sh
insmod /mtd_exe/fpi.ko
/etc/Scripts/MicomCtrl 143
Save it as "rc.sysinit"

Create a folder in your USB disk named "SamyGO", then inside it create a subfolder named "etc", and copy rc.sysinit script in there (so it should be <USB>/SamyGO/etc/rc.sysinit).
Plug it and restart your player.
Nothing, if I start my BD with USB in it, the USB key's LED doesn't even turns on, I get some kind of response (USB key's LEDflashnig on/off) when I plug it later, after abot 30 sec. from boot.
What i did: I've connected my USB key to a linux machine, formatted in vfat, created user.sh in the root as suggested before but this did'nt work, created the SamyGO/etc folder and rc.sysinit in it, even launched the chmod 777 on both sh files but nothing, when i start my BD with the USB key in it nothing changes, I get this Samsung logo and nothing more, the same without USB key.

Thank you,
Alex

theos0o
Posts: 11
Joined: Mon Oct 29, 2012 8:21 pm

Re: Made mistake in user.sh patched BD-D7500B wont boot

Post by theos0o » Sun Jan 13, 2013 1:42 pm

Damn, you should get your own rc.local and rename it to user.sh, then add some commands, not just get someone else's user.sh..
I don't really know what you can do now..

Post Reply

Return to “Support”