Reply
Thread Tools
pistachio's Avatar
Posts: 103 | Thanked: 114 times | Joined on Jun 2014 @ Knowhere
#11
Originally Posted by nieldk View Post
just set up an sftp server and boot from network
Thanks man but though job for a newbie like me. I would go for other simple options mentioned above.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#12
Code:
modprobe -r g_nokia
modprobe -r g_file_storage
sleep 1
modprobe g_file_storage stall=0 luns=1 ro=1 removable
echo /path/to/your/partition/image.vfat > /sys/devices/platform/musb_hdrc/gadget/gadget-lun0/file
...works too. No need to wipe anything, or using booting from network. You don't even need to be quick on pressing anything I use it in a script for booting kon-boot from N900. Just be sure that your image file have bootable flag set.

BTW, for disabling it:

Code:
modprobe -r g_nokia
modprobe -r g_file_storage
/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 5 Users Say Thank You to Estel For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 04:16.