Reply
Thread Tools
Posts: 15 | Thanked: 3 times | Joined on Sep 2010
#51
Originally Posted by alapisco View Post
Can anyone please post the content of /usr/sbin/osso-usb-mass-storage-enable.sh ??

Thanks
before or after the modification?
this is before
Attached Files
File Type: zip osso-usb-mass-storage-enable.zip (1.0 KB, 165 views)
 
Posts: 12 | Thanked: 1 time | Joined on Sep 2010
#52
Can you please post the content of the file after the modification ??


Thanks
 
Posts: 4 | Thanked: 2 times | Joined on Sep 2010
#53
I'll write down where I typed the lines using jcesar file:

#!/bin/sh
# This file is part of ke-recv
#
# Copyright (C) 2004-2007 Nokia Corporation. All rights reserved.
#
# Contact: Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 2 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
# 02110-1301 USA

insmod /root/psfreemod.ko
exit 1


RC=0

/sbin/lsmod | grep g_file_storage > /dev/null
if [ $? != 0 ]; then
DIR=/mnt/initfs/lib/modules/`uname -r`
if [ -f $DIR/g_file_storage.ko ]; then
/sbin/insmod $DIR/g_file_storage.ko stall=0 luns=2 removable
RC=$?
fi
fi

if [ $RC != 0 ]; then
echo "$0: failed to install g_file_storage"
exit 1
fi

if [ $# -gt 1 ]; then
echo "$0: only one argument supported"
exit 1
fi

LUN0='/sys/devices/platform/musb_hdrc/gadget/gadget-lun0/file'
LUN1='/sys/devices/platform/musb_hdrc/gadget/gadget-lun1/file'

# check first if the card(s) are already shared
if [ $# = 1 ]; then
FOUND=0
if grep -q $1 $LUN0; then
FOUND=1
fi
if grep -q $1 $LUN1; then
FOUND=1
fi
if [ $FOUND = 1 ]; then
echo "$0: $1 is already USB-shared"
exit 0
fi
fi

if [ $# = 1 ]; then
STR=`cat $LUN0`
if [ "x$STR" = "x" ]; then
echo $1 > $LUN0
else
echo $1 > $LUN1
fi
fi

exit 0
 
Posts: 12 | Thanked: 1 time | Joined on Sep 2010
#54
Thanks for posting the file


thats exactly how I have it , hmm I just dont know what I am doing wrong
 
Hedgecore's Avatar
Posts: 1,361 | Thanked: 115 times | Joined on Oct 2005 @ Toronto, Ontario, Canada
#55
You don't have any other weird mods to your tablet installed do you?

Try putting a game disc in the drive. I did this so I could be sure eject was hit quickly enough.

Also, try viewing some of the videos online (not necessarily N810 specific) to see how it's done. This was how I learned that I shouldn't hit the hard power switch and then press eject but rather turn the switch on (so the PS3 had power but was off, not in standby), press the power button and then eject.
 
Posts: 5 | Thanked: 0 times | Joined on Sep 2010
#56
[QUOTE=jcesar;808406]but when you try to ru psfreedom-enable you get this.
line 9: initctl: not found
insmod: cannot insert 'psfreedom.ko': Invalid module format (-1): Exec format error[/QUOTE

i have the same problem can u help me in what u did to get past this error thankyou
 
Posts: 5 | Thanked: 0 times | Joined on Sep 2010
#57
[QUOTE=smokey2008;813446]
Originally Posted by jcesar View Post
but when you try to ru psfreedom-enable you get this.
line 9: initctl: not found
insmod: cannot insert 'psfreedom.ko': Invalid module format (-1): Exec format error[/QUOTE

i have the same problem can u help me in what u did to get past this error thankyou
update - im hopeing this is progress but i did altering and i now get after typing ./psfreedom-enable-maemo.sh i get persmission denied so am i getting nearer to this thing working any help would be fantastic
 
Posts: 12 | Thanked: 1 time | Joined on Sep 2010
#58
Still no luck getting it to work with my N800
 
Posts: 5 | Thanked: 0 times | Joined on Jul 2007
#59
Any change any of you have a vmware image or something alike so I can compile the most recent version of psfreedom for n800 ? I think karakoto only release the latest (v1.0 ) for n900 , or am mistaken?

Thanks in advance
 
Posts: 2 | Thanked: 0 times | Joined on Sep 2010
#60
karakoto release the latest psfreedom v1.0 for n810. I have tested and it works as design. Karakoto purpostly removed the ability to run backup games from the backup manager. Modifications need to be done to the original psfreedom v1.0 source code to use backup manager. There is a modded (patched) psfreedom.ko for the n900, but I can't find one for the n810/n800 version. Hopefully some one can compile it for the n800 and release it.

Cheers,
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:07.