Reply
Thread Tools
Posts: 52 | Thanked: 33 times | Joined on Oct 2011 @ Poland, Tricity
#1
Hi.

So I recently bricked my phone (it wasn't booting). I'm guessing I would able to recover from this situation if:
1. I would have a copy of preinit script.
2. I would know what boot options to use.

So. Now I'm wondering if all clean Harmattans boot with (more or less) the same options or are there differences that are significant.

So, unless there is some doc about this (and I haven't found one) - I need you :-).

Please do the following:
1. Run SDK Connectivity (let's call it SDK-C).
2. Open PuTTy and connect to your device (IP is in the SDK-C).
3. The user name is always "developer"; and your password is in SDK-C.
4. Copy& paste this command:
Code:
sed -r 's/(imei|dbi-uid|SerialNumber)=[0-9A-Z]+/\1=[private]/gI' < /proc/cmdline
5. Select (with mouse) and copy the output.
6. Paste this in this thread :-)

Also please state if you are using NITDroid, Mer, Inception, Open mode or any other system-level modification.

So, I'll start . I'm currently in Open mode with NITDroid and my boot options are:
Code:
 init=/sbin/preinit root=/dev/mmcblk0p2 rootwait rootflags=errors=remount-ro rootfstype=ext4 rw mtdoops.mtddev=log mtdoops.record_size=65536 console=tty0 mtdparts=omap2-onenand:1024k(bootloader),2816k@1024k(config),16384k@3840k(kernel),2048k@20224k(log),469248k@22272k(var),32768k@491520k(moslo) bootreason=pwr_key bootmode=normal nolo=2.3.6 product_name=RM-696 dbi-type=V5JW dbi-vendor=1 dbi-size=73 dbi-uid=[private] imei=[private] g_nokia.iSerialNumber=[private] serialnumber=[private] omap_sec.kci=958 gpio=cmt_apeslpx:93:sysfs:output,cmt_en:23:sysfs:init_active:output,cmt_rst_rq:88:sysfs:init_active:output,sleep_ind:92:sysfs:output omapdss.def_disp_enabled=1 vhash=285e93eebfdded180a3ffdf0a42c0d09b0d8ce8a product_model=N9 hwid=1601
I've marked some things (IMEI mostly) as private as it is considered as such. Note that above command hides it automatically, so no worries :-).
 
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#2
Code:
init=/sbin/preinit root=/dev/mmcblk0p2 rootwait rootflags=errors=remount-ro rootfstype=ext4 rw mtdoops.mtddev=log mtdoops.record_size=65536 console=tty0 mtdparts=omap2-onenand:1024k(bootloader),2816k@1024k(config),16384k@3840k(kernel),2048k@20224k(log),469248k@22272k(var),32768k@491520k(moslo) bootreason=sw_rst bootmode=normal nolo=2.3.6 product_name=RM-680 imei=[private] g_nokia.iSerialNumber=[private] serialnumber=[private] omap_sec.kci=916 battery-type=BL-4D gpio=cmt_apeslpx:93:sysfs:output,cmt_en:23:sysfs:init_active:output,cmt_rst_rq:88:sysfs:init_active:output,keypad_slide:109:key:inverted,sleep_ind:92:sysfs:output omapdss.def_disp_enabled=1 vhash=0ff64214fdeedc558276b1eae8f3e0e6c9683672 product_model=N950 hwid=1124
Using Nemo and Open Mode
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob

Last edited by qwazix; 2012-10-20 at 22:53.
 

The Following User Says Thank You to qwazix For This Useful Post:
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#3
have you tried fix malf state to get your phone up?

It could also be it isn't booting as the battery level has fallen down to below the reserve level... In that case you would need flasher to charge it to 10% and then charge via wall plug to boot...
 
Posts: 52 | Thanked: 33 times | Joined on Oct 2011 @ Poland, Tricity
#4
Originally Posted by thedead1440 View Post
have you tried fix malf state to get your phone up?

It could also be it isn't booting as the battery level has fallen down to below the reserve level... In that case you would need flasher to charge it to 10% and then charge via wall plug to boot...
Thanks but I did some research and knew about the battery bug. It turned out to be something completely different - I now know that Total Commander uses some different tar algorithm then the linux (or at least MeeGo) version.

Setting boot from flasher would have worked from me if only I had backup preinit script before I messed up.

Hence I wanted to gather other people settings to find out if there is a single boot string that could be passed to flasher to help in such situations.
 
Posts: 230 | Thanked: 302 times | Joined on Oct 2009 @ Helsinki, Suomi (Finland)
#5
Vanilla:
Code:
init=/sbin/preinit root=/dev/mmcblk0p2 rootwait rootflags=errors=remount-ro rootfstype=ext4 rw mtdoops.mtddev=log mtdoops.record_size=65536 console=tty0 mtdparts=omap2-onenand:1024k(bootloader),2816k@1024k(config),16384k@3840k(kernel),2048k@20224k(log),469248k@22272k(var),32768k@491520k(moslo) bootreason=pwr_key bootmode=normal nolo=2.3.6 product_name=RM-696 dbi-type=V5JW dbi-vendor=1 dbi-size=73 dbi-uid=[private] imei=[private] g_nokia.iSerialNumber=[private] serialnumber=[private] omap_sec.kci=958 gpio=cmt_apeslpx:93:sysfs:output,cmt_en:23:sysfs:init_active:output,cmt_rst_rq:88:sysfs:init_active:output,sleep_ind:92:sysfs:output omapdss.def_disp_enabled=1 vhash=285e93eebfdded180a3ffdf0a42c0d09b0d8ce8a product_model=N9 hwid=1603
 

The Following User Says Thank You to ladoga For This Useful Post:
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#6
N9 PR1.3_PR_LEGACY_005 with Open Mode:

Code:
init=/sbin/preinit root=/dev/mmcblk0p2 rootwait rootflags=errors=remount-ro rootfstype=ext4 rw mtdoops.mtddev=log mtdoops.record_size=65536 console=tty0 mtdparts=omap2-onenand:1024k(bootloader),2816k@1024k(config),16384k@3840k(kernel),2048k@20224k(log),469248k@22272k(var),32768k@491520k(moslo) bootreason=pwr_key bootmode=normal nolo=2.3.6 product_name=RM-696 dbi-type=V5JW dbi-vendor=1 dbi-size=73 dbi-uid=[private] imei=[private] g_nokia.iSerialNumber=[private] serialnumber=[private] omap_sec.kci=958 gpio=cmt_apeslpx:93:sysfs:output,cmt_en:23:sysfs:init_active:output,cmt_rst_rq:88:sysfs:init_active:output,sleep_ind:92:sysfs:output omapdss.def_disp_enabled=1 vhash=285e93eebfdded180a3ffdf0a42c0d09b0d8ce8a product_model=N9 hwid=1501
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#7
N9 black/64G PR1.3, open mode with nitdroid kernel "Linux RM696 2.6.32.54-dfl61-20121301 #52 PREEMPT Thu Jul 5 02:32:54 MSK 2012 armv7l GNU/Linux"

Code:
 init=/sbin/preinit root=/dev/mmcblk0p2 rootwait rootflags=errors=remount-ro rootfstype=ext4 rw mtdoops.mtddev=log mtdoops.record_size=65536 console=tty0 mtdparts=omap2-onenand:1024k(bootloader),2816k@1024k(config),16384k@3840k(kernel),2048k@20224k(log),469248k@22272k(var),32768k@491520k(moslo) bootreason=pwr_key bootmode=normal nolo=2.3.6 product_name=RM-696 dbi-type=V5JW dbi-vendor=1 dbi-size=73 dbi-uid=[private] imei=[private] g_nokia.iSerialNumber=[private] serialnumber=[private] omap_sec.kci=958 gpio=cmt_apeslpx:93:sysfs:output,cmt_en:23:sysfs:init_active:output,cmt_rst_rq:88:sysfs:init_active:output,sleep_ind:92:sysfs:output omapdss.def_disp_enabled=1 vhash=285e93eebfdded180a3ffdf0a42c0d09b0d8ce8a product_model=N9 hwid=1501
 
Posts: 52 | Thanked: 33 times | Joined on Oct 2011 @ Poland, Tricity
#8
So I recently had an occasion to try this out and it seems N9 doesn't work with flasher's boot parameter.

Fortunately Coderus gave me a clue which lead me to making a Rescue CD for N9 (and N950). Here is more info:
http://wiki.maemo.org/N9/N950_Rescue_CD

Of course if you happen to already have Debian as your main system (I have my on VirtualBox) then you could install flasher and download smaller rescue images (available on MeeGo wiki).
 

The Following User Says Thank You to eccenux For This Useful Post:
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#9
maybe you could simply provide the contend of n9-rescue directory?
not everybody cares about debian crap leave alone uses it
__________________
information is a necessary though no sufficient condition to rationality...
 
Posts: 52 | Thanked: 33 times | Joined on Oct 2011 @ Poland, Tricity
#10
Originally Posted by misterc View Post
maybe you could simply provide the contend of n9-rescue directory?
not everybody cares about debian crap leave alone uses it
It's a live CD so you don't have to install anything or use anything except for the purpose of rescuing your phone :-). And Debian just fits in nicely here.

But if you want to use it on whatever Linux you have you can use original instructions. They mention you have to mount rootfs manually so I'm guessing this kind of things might be partially distribution, partially your own settings dependent. Here is a direct link to original instructions.

If - for whatever reason - above will not be available you can also get the contents of the directory from linked livecd9-config.7zip. The files are in:
Code:
livecd9-config/livecd9/config/chroot_local-includes/etc/skel/n9-rescue/
 

The Following User Says Thank You to eccenux For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 20:14.