Reply
Thread Tools
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#701
@juiceme
I have sometimes strange selection behaviour?

I have 5 items for harmattan (also configured number correctly), but sometimes when I press a bit below the fifth entry, I get:

Nov 6 08:40:08 (none) user.notice root: Started animated OS selection menu
Nov 6 08:40:12 (none) user.notice root: Selected second level menu for OS2
Nov 6 08:40:14 (none) user.notice root: Drawing second level menu items for OS2
Nov 6 08:40:14 (none) user.notice root: Get menuitem for OS2 (5 lines)
Nov 6 08:40:18 (none) user.notice root: Selecting Harmattan OS, running kernel
Nov 6 08:40:19 (none) user.notice root: Cannot load Harmattan kernel
Nov 6 08:40:19 (none) user.notice root: Boot OS/kernel selection failed
Nov 6 08:40:19 (none) user.notice root: Saving ubiboot log files

But when I reboot and take care to press the fifth row(s) exactly then it boots up fine:
Nov 6 08:41:08 (none) user.notice root: Get menuitem for OS2 (5 lines)
Nov 6 08:41:12 (none) user.notice root: Selecting Harmattan OS, running kernel /boot/Harmattan/boot/zImage_2.6.32.61-plus_20131030
Nov 6 08:41:13 (none) user.notice root: Loading kernel /boot/Harmattan/boot/zImage_2.6.32.61-plus_20131030
Nov 6 08:41:13 (none) user.notice root: kexec_load() successful
Nov 6 08:41:13 (none) user.notice root: Restarting to selected OS
Nov 6 08:41:13 (none) user.notice root: Saving ubiboot log files
Any idea? [maybe next logger version outputs also number of selected item? ]
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2013-11-07 at 08:31.
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#702
Originally Posted by peterleinchen View Post
@juiceme
I have sometimes strange selection behaviour?

I have 5 items for harmattan (also configured number correctly), but sometimes when I press a bit below the fifth entry, I get:

Nov 6 08:40:08 (none) user.notice root: Started animated OS selection menu
Nov 6 08:40:12 (none) user.notice root: Selected second level menu for OS2
Nov 6 08:40:14 (none) user.notice root: Drawing second level menu items for OS2
Nov 6 08:40:14 (none) user.notice root: Get menuitem for OS2 (5 lines)
Nov 6 08:40:18 (none) user.notice root: Selecting Harmattan OS, running kernel
Nov 6 08:40:19 (none) user.notice root: Cannot load Harmattan kernel
Nov 6 08:40:19 (none) user.notice root: Boot OS/kernel selection failed
Nov 6 08:40:19 (none) user.notice root: Saving ubiboot log files
Any idea? [maybe next logger version outputs also number of selected item? ]
This sure looks like the tap was registered for the non-existing sixth line. I'll have to see the scripts whether there's a bug in them.
What should happen is that the touch-map that is generated contains hooks only for the number of lines present in the menu.
 

The Following User Says Thank You to juiceme For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#703
Originally Posted by juiceme View Post
This sure looks like the tap was registered for the non-existing sixth line. I'll have to see the scripts whether there's a bug in them.
What should happen is that the touch-map that is generated contains hooks only for the number of lines present in the menu.
Oh yeah, there's a bug indeed! Nicely spotted.

Code:
juice@osiris:~/animatronics$ svn diff menuscripts/select_os_animated.sh
Index: menuscripts/select_os_animated.sh
===================================================================
--- menuscripts/select_os_animated.sh	(revision 70)
+++ menuscripts/select_os_animated.sh	(working copy)
@@ -429,7 +429,7 @@
   else
     mapfile_line_5=$(echo -e "# mapfile_line_5")
   fi
-  if [ $maplines -gt 4 ]; then
+  if [ $maplines -gt 5 ]; then
     mapfile_line_6=$(echo -e "$X6B 0 $X6E 480 6 65 $7")
   else
      mapfile_line_6=$(echo -e "# mapfile_line_6")
juice@osiris:~/animatronics$
I'll fix that and make you a new cpio to test
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#704
most rapid bug solving ever

( yes. I forgot to mention that nothing is highlighted on selection)
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#705
Originally Posted by peterleinchen View Post
most rapid bug solving ever

( yes. I forgot to mention that nothing is highlighted on selection)

And here's the correction; http://www.swagman.org/juice/ubiboot..._07112013.cpio
 

The Following 3 Users Say Thank You to juiceme For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#706
Originally Posted by juiceme View Post
And here's the correction
And here is the confirmation.
Everything fine now. Thanks.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Posts: 117 | Thanked: 59 times | Joined on Nov 2012
#707
Hey everyone,
In order to use ubiboot I have flashed my device with openkernel mode but I forgot to delete my accounts and therefore I had to re-renter all my passwords after every boot. I have have tried to fix my account problems but I made it worse and now I can't connect as all to any service, it keeps telling me "unknown error, try again later".
I have backed up all my important files and pictures and now I would like 'reflash' harmattan. If I understand right I don't need to flash it because I'm using ubiboot right ? So my question is what is the equivalent of flashing to start fresh under ubiboot?
Thank you
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#708
Originally Posted by Mric View Post
Hey everyone,
In order to use ubiboot I have flashed my device with openkernel mode but I forgot to delete my accounts and therefore I had to re-renter all my passwords after every boot. I have have tried to fix my account problems but I made it worse and now I can't connect as all to any service, it keeps telling me "unknown error, try again later".
I have backed up all my important files and pictures and now I would like 'reflash' harmattan. If I understand right I don't need to flash it because I'm using ubiboot right ? So my question is what is the equivalent of flashing to start fresh under ubiboot?
Thank you
Yes, to correctly flash the device for OpenMode is not just for ubiboot, but it's best to do that for any kind of OpenMode kernel.

The correct way to enter Open Mode is the back-to-back flashing where you first flash the device like in "normal closed mode flashing", both emmc and rootfs. Then you immediately flash the device with an Open Mode kernel, without letting the device to boot up between the two flashing rounds.

If you perform this correctly, the device will start up in Open Mode so that aegis keys are created correctly. This will help you avoid all odd problems caused by running device with incorrect credentials (password problems, strange hangups and boots, general slowing and lagging of device...)

I recommend you do this first, and install ubiboot only after it.
 

The Following User Says Thank You to juiceme For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#709
If you feel like you do not like the warranty warning on boot do the following before above procedure:

- flash device fully (rootfs and emmc).
- boot up, get internet connection, enable developer mode from security settings, open a terminal (console) and type
disclaimer-cal remove View-openmode
- now continue with above guide ()


@juiceme
wouldnt it be easier for you to copy that to first post and only give a pointer
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2013-11-10 at 20:52.
 

The Following 3 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 138 | Thanked: 144 times | Joined on Oct 2012 @ Devon, England
#710
Originally Posted by juiceme View Post
The correct way to enter Open Mode is the back-to-back flashing...
...If you perform this correctly, the device will start up in Open Mode so that aegis keys are created correctly. This will help you avoid all odd problems caused by running device with incorrect credentials (password problems, strange hangups and boots, general slowing and lagging of device...)
Does this include the apps crashing on app install thing? I kinda assumed that was related to this problem, but a successful back-to-back flash didn't help. Sorry for offtopic'ing.
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:38.