Reply
Thread Tools
joerg_rw's Avatar
Posts: 1,879 | Thanked: 10,015 times | Joined on Mar 2010 @ SOL 3
#11
Originally Posted by isfr21 View Post
... I need to get my broken screen n900 into mass storage mode....
you tried hooking it up to a TV via AV?

/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following 3 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 560 | Thanked: 417 times | Joined on Mar 2011
#12
Just checking - is this aiming at being analogous to "Safe Mode" so the system starts and runs but can't access/assert a lot of user-settings? If so a really good idea and would probably stop reboot loops!


Originally Posted by isfr21 View Post
Wow this looks perfect for exactly what I'm dealing with right now. I need to get my broken screen n900 into mass storage mode. However, your solution seems a complicated. Any chance someone can guide me through the steps needed to get my phone into mass storage mode using your rescue OS?
Have you looked at ways you can transfer data via wifi? As you say, a backup OS might overkill!
__________________
p.s. If you ever find a particular post helpful, even to the most remote degree, please press the Thanks button on that post - it increases your maemo karma.
 

The Following User Says Thank You to demolition For This Useful Post:
Posts: 2,151 | Thanked: 3,457 times | Joined on Jun 2010 @ Florida
#13
Keep it up and my little boot-shell /sbin/preinit script won't be necessary for much

ALTHOUGH, the one advantage a properly syntaxed /sbin/preinit or bootmenu.sh script has is that you don't have to have a flashing-capable utility to get things running.

So, like you said, they do different things. Which is great, because your rescue-OS image provides a final non-reflash-requiring fallback position, for when RobbieThe1st's backupmenu and/or my /sbin/preinit boot-shell and/or pali's recovery console bootmenu item, etc, aren't enough.

Honestly, I wish we could someday reverse engineer the flashing process and the boot process completely (the latter, really, is mostly 'open', if not open source, aside from nolo), because then an entirely optionally enable-able, or at-boot-activateable, recovery shell, could be developed, made stable, and then added in as a feature of the CSSU, whereupon at least those devices would have the built-in fallback position on-device, and ideally most of those people wouldn't touch the actual code, thus avoiding wrongly-syntaxed-code problems.

Of course, either way, there will always come a situation where on-device data is f'cked and we need to break out the on-other-device flasher utilities, and then it's stuff like this to the rescue.
 

The Following 5 Users Say Thank You to Mentalist Traceur For This Useful Post:
joerg_rw's Avatar
Posts: 1,879 | Thanked: 10,015 times | Joined on Mar 2010 @ SOL 3
#14
right on, right on!
This is really cool, not like the mostly useless meego rescue-initrd "solution" that left user even without [0-9] on kbd of the "shell" and allowed users to earn a CS degree en passant while mastering the task to mount maemo's NAND ubifs /.

Wrap this into a nice generic linux script to run on x86 which will take care of all the wget and dd and flasher-3.5 --foo and whatnot, and this will definitely earn a ranking among top three most useful maemo packages ever. 'Integration' (as in interoperability) of backupmenu (possibly incl the mtd_debug based raw image handling I suggested, buzzword >loopmount<) and maybe even fiascogen would be the icing on top.


I already offered to NIN101 (on IRC) to help with charging, though robbiethe1st's stuff is based on shadowjk's charging script and thus directly from the creators of (jrbme) charging and vboost and confirmed to be ok.

Also please ping me if you look for help and/or proofreading of the x86-side shellscript

/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2011-08-18 at 08:08.
 

The Following 6 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 113 | Thanked: 313 times | Joined on Dec 2010
#15
Hi,

I do hope it has nano? Because vi just wouldn't work without an Escape button.
nano is the standard editor.

Any chance someone can guide me through the steps needed to get my phone into mass storage mode using your rescue OS?
Well, I am sorry, but this is not a final release, more for curious tinkerers at this stage.
----
Because we are only using the keyboard inside rescueOS and nothing else, it is probably a good idea to have localized translation tables. On the other hand, after some time you get used to the default keyboard map. Either way, I have already started a map for the german keyboard layout, it is however not completed. So if anyone wants to finish this, go ahead.

Last edited by NIN101; 2012-01-19 at 22:09. Reason: Getting rid of complete outdated information
 

The Following 9 Users Say Thank You to NIN101 For This Useful Post:
Posts: 1,603 | Thanked: 979 times | Joined on Aug 2010
#16
very nice, indeed
+ keyboard features of the Maemo kbd (Ctrl + I = Tab aso.)
+ Sym = Esc (yes, vi works -)
+ boots, of course
+ even boots from ext2

wish list:
  • mc / midnight commander?
    it comes with a built in text editor & with a little key settings (Ctrl + I mapped to Tab in the settings) auto completion
    THE ncurses file manager...
    source available from https://www.midnight-commander.org/downloads
    Storage Usage shows it @ 3.8 MB in Fremantle
    there is a MeeGo package according to Community Repo (listed under the last Code box)
  • partimage
    very handy backup software; been using it for years on all my PCs (included in SystemRescueCd or compiled on a Linux / GNU box)
  • GNU GRUB
    i know, we have already more then enough (too many?) boot menus for the N900, thus maybe a chance to port THE boot menu?
 

The Following 3 Users Say Thank You to misterc For This Useful Post:
Posts: 114 | Thanked: 60 times | Joined on Aug 2011 @ Beijing, China
#17
Working nice, boots up...
Wait, this thing can't access /home (of maemo rootfs)?! Then what kind of recovery job am I gonna do with this? AND mass storage drive appeared as "RAW" unidentified format in Windows... Then what use is this for...?
 

The Following User Says Thank You to AndyYan For This Useful Post:
Posts: 1,489 | Thanked: 2,801 times | Joined on Feb 2011 @ Germany
#18
@AndyYan,

Did you read the documentation at all?
http://206.253.166.96/N900/rescueOS/documentation.txt

Mounting maemo root
-------------------
/rescueOS/mount-maemo-root.sh
This scripts mounts the maemo root to /mnt/maemo.

/rescueOS/umount-maemo-root.sh
 

The Following 2 Users Say Thank You to reinob For This Useful Post:
Posts: 58 | Thanked: 197 times | Joined on Apr 2012
#19
Nice. I can imagine a OS installer on top of that.
 

The Following User Says Thank You to unknown.obvious For This Useful Post:
Posts: 412 | Thanked: 442 times | Joined on Feb 2011
#20
 

The Following User Says Thank You to immi.shk For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 21:10.