![]() |
N900 rescue OS - testing release
A rescue initrd for the N900. It can mount the maemo rootfs, can access the EMMC, has mass-storage support, USB networking cababilities and WiFi support. It can also charge the battery (which it currently doesn't automatically, please refer to the documentaiton for that).
Please keep in mind that this is a testing release which might mean that something won't work. It comes with absolutely no warranty! Usage at own risk To use it, you need to be familiar with the linux console. Version 1.3: Download: here mirror This project should not be confused with the meego rescue initrd. Thanks to: The meego project(mainly for the kernel), #maemo on freenode and everyone who's work I have used here :-). |
Re: N900 rescue OS - testing release
oh man ,this is gonna get everyone crazy ,its awesome.. man !! great work .
|
Re: N900 rescue OS - testing release
Yep sounds good to me keep up the great work, sounds like this is going to be something everyone needs at some point or other, great work !!!.
|
Re: N900 rescue OS - testing release
still i didnt get what actually it does ?
|
Re: N900 rescue OS - testing release
Quote:
But! Any new OS is great! Time to download and prod and probe... |
Re: N900 rescue OS - testing release
BackupMenu is good. In fact, in many cases, stuff invoked from /sbin/preinit(for example, a shell, or BackupMenu), is sufficient to fix messed up things. Under normal circumstances, you won't need a rescue os. But:
-BackupMenu has to be already installed before you break your things. It can not help you afterwards, if you didn't have backups(you should :-) ). -It can not help you(say by providing a shell) in some worst case scenarios (say a borked busybox, broken libc, syntax errors in /sbin/preinit prior to backupmenu.sh execution), simply because it is not designed for that and couldn't do it by design. Flashing would be required anyway. So, RescueOS and BackupMenu are two different things which can hardly be compared. RescueOS has been created for one simple reason: There wasn't imho a non-PITA solution known to me out there to mount your rootfs and access the EMMC partitions with a broken maemo system. Once RescueOS can charge the battery, I think more people will find a usecase for it. |
Re: N900 rescue OS - testing release
Sweet! :)
I love recovery terminals like these. It would be nice to have this as a simple recovery solution. Which text editors does it have? I do hope it has nano? Because vi just wouldn't work without an Escape button. But there is a small fact that not many know about. If you have NITDroid, you basically have a recovery solution. At least in UMay, you find a terminal app in the Dev Tools app. And root privilieges are simple to acquire. From there, you actually find all Maemo partitions mounted in /mnt/... And that's it. |
Re: N900 rescue OS - testing release
"maemo code cracking" as per your list of features...
this is going to be good,,looking forward to the final version.. |
Re: N900 rescue OS - testing release
Quote:
Code:
#/bin/bash Seems like it'd make things simpler |
Re: N900 rescue OS - testing release
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? :)
|
Re: N900 rescue OS - testing release
Quote:
/j |
Re: N900 rescue OS - testing release
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!
Quote:
|
Re: N900 rescue OS - testing release
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. |
Re: N900 rescue OS - testing release
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 |
Re: N900 rescue OS - testing release
Hi,
Quote:
Quote:
---- 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. |
Re: N900 rescue OS - testing release
very nice, indeed :)
+ keyboard features of the Maemo kbd (Ctrl + I = Tab aso.) :) + Sym = Esc :D (yes, vi works ¦-) + boots, of course :p + even boots from ext2 :eek: wish list:
|
Re: N900 rescue OS - testing release
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...? |
Re: N900 rescue OS - testing release
@AndyYan,
Did you read the documentation at all? http://206.253.166.96/N900/rescueOS/documentation.txt Quote:
|
Re: N900 rescue OS - testing release
Nice. I can imagine a OS installer on top of that.
|
Re: N900 rescue OS - testing release
wow .. the thread got bumped almost after a year..
|
Re: N900 rescue OS - testing release
BTW, is it still developed?
NIN101, why You've left Your post? NIN101, do You copy? SW pun intended |
Re: N900 rescue OS - testing release
Quote:
|
Re: N900 rescue OS - testing release
Sigh. People...
maemo's home is on EMMC, rootfs on NAND. Now, think why you can't access /home/ if you just mount the rootfs... yep, you didn't mount mmcblk0p2 (which is mmcblk1p2 in rescueOS). Quote:
Quote:
Quote:
|
Re: N900 rescue OS - testing release
Don't worry about second part of my post, it was Star Wars/you nick pun, as seen in original (imperial Officer to Harrison Ford aka Han Solo disguised as Stormtrooper):
TK-412, why you've left Your post? TK-412, do You copy? ...and was widely used as SW pun many times in many cases/movies/books/whatever. So, particularly, it was meaningless for meritocratic discussion ;) |
Re: N900 rescue OS - testing release
Quote:
|
Re: N900 rescue OS - testing release
Hi,
Can someone tell me how to use rescue os to enable mass storage mode, as the screen of my N900 is dead so I'll be doing it blindly. |
Re: N900 rescue OS - testing release
@bvaibhav,
Code:
USB Mass-Storage mode |
Re: N900 rescue OS - testing release
Quote:
It is not hard to read a text file but as I told earlier the display of my phone is dead so I wont even come to know what happens when rescue OS boots....... or even confirm whether rescue os is loaded..... |
Re: N900 rescue OS - testing release
I did the below mentioned but nothing happened, correct me if I was wrong.
1. Flashed the rescue os Code:
sudo flasher-3.5 -k 2.6.37 -n rescueOS-initrd-0.5.3.img -l -b"rootdelay root=/dev/ram0" 3. Keyed in the command Code:
/rescueOS/mass-storage-enable.sh Code:
sh /rescueOS/mass-storage-enable.sh 6. Repeated above mentioned steps Still nothing happened...... |
Re: N900 rescue OS - testing release
Your attempt didn't work because the keys are slightly differently mapped in rescueOS than in maemo...
Use this Code:
flasher-3.5 -k 2.6.37 -n rescueOS-initrd-0.5.3.img -l -b"rootdelay root=/dev/ram0 autostart=/rescueOS/mass-storage-enable.sh" Good luck. If you can make sure the battery is charged to a reasonable level. Quote:
Quote:
|
Re: N900 rescue OS - testing release
Well I tried the command that you told, still no luck.
Output: Code:
flasher-3.5 -k 2.6.37 -n rescueOS-initrd-0.5.3.img -l -b"rootdelay root=/dev/ram0 autostart=/rescueOS/mass-storage-enable.sh" Also I have microsd card in my N900, so can log be generated of the above command or whatever happens after rescueos boots, in the microsd card so that the issue can be traced... One more thing, Please confirm that enable-mass-storage.sh script mounts the emmc and sdcard on the N900 itself or on my Linux desktop, coz if the partitions gets mounted on the device itself how do i copy the contents from phone to PC. *PS I am using ubuntu 12.04 desktop version |
Re: N900 rescue OS - testing release
Tried this?
--- Because you read the documentation, you actually should know that such a thing as "flashing rescueOS" simply does not exist. It only gets loaded by using the flasher, and therefore you don't need to press any power button. Run the given command, and don't unplug the USB cable (because you want to have a working mass-storage mode...) Quote:
Quote:
|
Re: N900 rescue OS - testing release
Yes I tried TV out connection, getting blank screen with blue horizontal strip on the top.
I really don't know about mass-storage mode, only thing I knew was that the MyDocs partition gets unmounted and it automatically gets mounted as removable media on desktop pc. So if rescue os simply exposes the partition for the PC to access it, how do I manually access it from PC coz its not happening automatically. |
Re: N900 rescue OS - testing release
'sudo fdisk -l' on my PC does not show any partition other than my internal hard disk's and only "sda and sdb" is shown in /dev no "sdc or mmcbklp**"
|
Re: N900 rescue OS - testing release
dmesg output
Code:
[ 258.696491] usb 1-3: new high-speed USB device number 4 using ehci_hcd |
Re: N900 rescue OS - testing release
Quote:
it's one of the basic feature of rescue OS |
Re: N900 rescue OS - testing release
Quote:
* My N900 has dead screen and no TV out Update: Found that usb-networking-enable.sh script works as I was able to ping the device at 192.168.2.15 with the PC ip being 192.168.2.14. |
Re: N900 rescue OS - testing release
Quote:
Wait a few seconds Press enter type: telnetd Press enter You should now be able to telnet into rescueOS. The IP should be 192.168.2.15. User: root, password: rootme. |
Re: N900 rescue OS - testing release
Quote:
After telnet into the device ran the mass-storage-enable script and was able to access the data on PC. |
Re: N900 rescue OS - testing release
Hi,
First of all i have windows xp. 1.I want to copy some files from my nokia n900 (MyDocs) to my micro sd card. 2. If possible, i also want to keep my contacts. I tried some thing but i am a complete noob. Can someone pls tell me the steps.? I read the documentation. Regards. Plz help. I am desperate. |
All times are GMT. The time now is 23:58. |
vBulletin® Version 3.8.8