![]() |
[Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Recent Harmattan releases (including PR1.3) have the problem of not automatically rotating the UI to landscape when opening the hardware keyboard if the device is flat on the table. The UI only rotates if the device is not flat. This trivial patch fixes the problem. The patch is included in the libmeegotouchcore0 version that unlocks the rotation of libmeegotouch applications (with installation instructions). If there is a need for a libmeegotouchcore0 build with only this patch applied that can be arranged.
|
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Thank you Vesuri! Works as expected :).
|
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Nice one! Works great, thanks!
|
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Thanks,works great :)
|
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Hmm, are you saying that N950 can install PR1.3? :)
|
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
I dind't work for me (N950).
apt keeps complaining about the version number, libmeegotouchcore0 0.25.10-1+0m8 is installed but others applications require 0.24.20-1+0m7. Can you provide the same package but with the 0.24.20-1+m7 version number? |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Quote:
Quote:
|
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Quote:
or i am (hopefully) wrong |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Quote:
I think I'll get version 0.24.21-1+0m7 [1], apply your patch and build the package to see if it works. Just one hour remaining to finish scratchbox instalation :/ [1] source for 0.24.21-1+0m7: http://mohammadag.xceleo.org/n9sourc...libmeegotouch/ |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
1 Attachment(s)
Quote:
http://safebrowsing.clients.google.c...libmeegotouch/ |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Quote:
libmeegotouchcore0_0.24.20-1+0m7_armel.deb libmeegotouchcore0_0.24.21-1+0m7_armel.deb These only contain the fix for the hardware keyboard opening, not the "unlock rotation" stuff. I have NOT tested these packages but I don't see any reason they wouldn't work - they're the released versions plus the one line patch. |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Quote:
The package 0.24.20-1 that you uploaded requires qt >= 4.7.4~git20120327 and N950 has version 4.7.4~git20120112-0maemo1+0m7 D: But, thanks to dpkg-deb, I extracted the contents of your packages and changed control to accept N950's qt version and now it's working! I also uploaded to dropbox if anyone wants to try. The rotation to landscape when opening the keyboard when the device is flat works :) libmeegotouchcore0_0.24.20-1+0m7_armel.deb |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Quote:
Quote:
|
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Is there no way to make a community version of the official pr1.3 for the N950? I want to make a clean flash, but there is only the pre 1.2 for it :( So I have to do an OTA update every time after a flash... :(
|
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
1 Attachment(s)
Quote:
I tried your version of libmeegotouchcore (for N950) and installed via /usr/sbin/incept...I am unable to install it. Here is the message in Terminal: Code:
Package libmeegotouchcore0 has package signature (origin 'com.nokia.maemo/local') http://talk.maemo.org/attachment.php...1&d=1345505987 By the way, the version that you have: is this already inclusive of the "unlock rotation of apps" or is this just the fix for "landscape mode when N950 is flat on the table"? |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Looks like the package is corrupted, have you tried to download it again?
|
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Quote:
Let me try again. Anyway I have just reflashed my N950 so at least I can do it from a clean slate. Will revert back by posting here or by PM. |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Same exact error message as my previous post, sir. :(
|
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
I have just downloaded the file and installed on my N950 without problems.
Looks like you're using Inception right? I'm using open mode but I really don't think that this should be a problem. I see that inception fakes the signature to com.nokia.maemo/local and libmeegotouch has signature com.nokia.maemo. Do you know if you can change the fake signature to match "com.nokia.maemo"? But again, I don't know if that's the problem. You can install unrestricted-ui, which is also a system package, using inception afaik. (one last question, what's the md5 you getting from the package? Mine is: 0bce3803e158869ede06d8efc1ee9432 libmeegotouchcore0_0.24.20-1+0m7_armel.deb ) |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
1 Attachment(s)
Quote:
Sorry I haven't checked if I received a PM from you or if it bouned. Thanks by the way for helping. :) Here the md5 I got (same as yours): http://talk.maemo.org/attachment.php...1&d=1345783645 Yes, I also have unrestricted-system-ui, MT-Toggles by MAG, and LED Notifications via Inception. Hm...so your setup is Open-Mode. I haven't done that yet as I'm on Inception). Could be...we'll never know and anything's possible. Will flash to open mode and see how it goes. Will report back, thank you once again! :) |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Quote:
do you have the latest inception? |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Quote:
Yup, I have the latest (0.2.5)...is this still the latest version? Been doing this with Inception (from newly-flashed device, with unrestricted-system-ui) but still no luck; also did various installation sequences from newly-flashed device (new flash->Inception->unrestricted-system-ui->Patch, and some other ways around). Open Mode is the only thing I haven't tried this patch on yet...I'm trying out the file version made by mikhail by the way, since I was experiencing the same issue that he has when he tried out Vesuri's (that the device is complaining about the Qt version as well as the version of libmeegotouchcore, a.k.a. the first .deb file). Thanks for pitching in sir. :) |
[SOLVED] How I Made It Work on N950 PR 1.2
Friends,
Whew...finally. :) I got it to (somehow) work, lol...I'm posting here to document my "little adventure" to have this solved...initially for my own reference, but might as well share it. But first, I'd like to thank the following through the course of this adventure: HtheB - for accommodating my questions via PM...very nice guy...and for giving me a "very good tip" about the N950. :) Arie - sent him a PM but unfortunately he was already offline (still would like to thank him)...sent him a follow-up PM to mention that it is solved now. mikhail_ramalho - for answering my queries via posts in the thread as well as via PM. coderus - haven't had interaction with him, but would like to thank him for the "back-ported" versions of unrestricted-system-ui. Vesuri - of course, for coming up with the patch. :) 1. Flash the N950 2. Enable Developer Mode 3. Enable/Install Inception --------------------- (steps I experimented on): 4. Installed a "back-ported" version of unrestricted-system-ui by coderus from Post #115 of the "Unrestricted system-ui" thread in lieu of the regular versions from MAG's repository: libnotificationsystem, unrestricted-system-ui, beep-icons Note: Installed them via Inception, from Root Terminal. 5. Initially I was trying my best to install mikhail's version of libmeegotouchcore0, since I had the exact same experience as him, where the installation was complaining that I was trying to install a higher version when I used Veruri's version of libmeegotouchcore0. 6. Through conversation via PM with HtheB, I was advised that Vesuri's version will work, even on PR 1.2. So at this point where I had used the "back-ported" version of unrestricted-system-ui by coderus I mentioned in Step 4, and since I have been re-flashing, I gave it one more shot. Went on to installing Vesuri's libmeegotouchcore0, in spite of Terminal giving me the same complaint/errors (installed via Inception from Root Terminal). 7. Installed Vesuri's landscape theme, and then reboot the device. So far, so good.,,the Clock, Phone, Music apps rotate to landscape (Store already opens in landscape when physical keyboard is open prior - already mentioned by Vesuri and also confirmed it). :) At this point, I am just wondering if there will be anticipated problems in the future, since I installed: 1. a "back-ported" version of unrestricted system-ui 2. libmeegotouchcore0 that is supposed to be for PR 1.3 Any thoughts will be appreciated. :) PS: I am still hoping that I can get mikhail's version to work. |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
False Alarm. :(
After a few minutes, some apps turned into red squares with exclamation points...looking at the affected apps, these are the ones that would normally prompt you for Software Updates: Maps Drive Music Store Store AP Mobile Angry Birds Terminal Oh well...back to Square 1. :) EDIT: @mikhail From my limited experience and knowledge (I'm still in the learning stages, my apologies), I opened up your version of libmeegotouchcore0 via 7zip and this is what I saw: https://lh5.googleusercontent.com/-l...8/s912/001.png ...if my understanding is correct, "ceteli04" is like the usergroup or user of your physical computer, correct? If so, then now I think I know why your deb file runs on your end, but not on my end...is that a "correct" observation? Because based from the error output that I posted previously, I think the installation is failing because it's unable to set permissions. Code:
Package libmeegotouchcore0 has package signature (origin 'com.nokia.maemo/local') |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Yeah, ceteli04 is my user :)
You can repack the package using the following comands: Code:
$ mkdir -p extract/DEBIAN I'll try to repack it as sudo and upload again to dropbox. |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Quote:
EDIT: To confirm: on the "do something..." part...this is where I can start modifying the ownerships (chown) to the default "root", prior to continuing the build steps, right? |
Re: [Patch] N950: fix for rotating the UI to landscape when opening the hardware keyboard when the device is flat
Yeah, you can modify anything, from dependencies on the control files to binaries
|
All times are GMT. The time now is 21:07. |
vBulletin® Version 3.8.8