maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Step by step Guide: Screen rotation after Diablo upgrade (https://talk.maemo.org/showthread.php?t=28711)

bunanson 2009-05-04 06:24

Step by step Guide: Screen rotation after Diablo upgrade
 
5 Attachment(s)
Pros: It works
Cons: You will NOT be able to uninstall the 5.2008.43-7 upgrade on the modified booting OS. I have no idea what does that mean to the tablet, now or future. I did mine on a MMC boot, and the internal flash 5.2008.43-7 upgrade is NOT affected,i.e., what you did to OS on MMC boot, in general does not translate to the OS in flash system. In general...

Prequalification:
- 5.2008.43-7 upgraded
- advanced-backlight installed

Enable Extras-devel
- AppManager>Menu>Tools>Application catalogue...
- New
- Cat name: maemo Extras-devel
- Web address: http://repository.maemo.org/extras-devel/
- Distribution:
- Components: free non-free
- Disabled:
close AppManager.

X Terminal
~ $ gainroot
( substitute cmd1-3 with cut and past from below)

/home/user/ # cmd1)
size 1529986
/home/user/ # cmd2)
size 694854
/home/user/ # cmd3)

unpacking....

/home/user/ # reboot
Disable extras-devel
AppManager>Menu>Tools>Application catalogue..>Edit extras-devel and checked the Disabled square.

done

cmd1) =
PHP Code:

maemo-mini-curl -o kernel-diablo-flasher_2.6.21-200842maemo1rotationfast_all.deb http://outpo.st/rotate/kernel-diablo-flasher_2.6.21-200842maemo1rotationfast_all.deb 

cmd2) =
PHP Code:

maemo-mini-curl -o xserver-xomap_1.3.99.0~git20070321-0osso20083801rotation_armel.deb http://outpo.st/rotate/xserver-xomap_1.3.99.0~git20070321-0osso20083801rotation_armel.deb 

cmd3) =
PHP Code:

dpkg -i kernel-diablo-flasher_2.6.21-200842maemo1rotationfast_all.deb xserver-xomap_1.3.99.0~git20070321-0osso20083801rotation_armel.deb 

Credits: The above are all copied from wiki (http://wiki.maemo.org/Rotation)

My N810/N800 are both booting from /MMC1.

The 770 setup is MMC boot with 48 MHz clone, http://www.internettablettalk.com/fo...mmc+boot+speed.
The 770 does NOT work, it does flip, but it also messed up the touchscreen, the hardware button works though.....anyhow, I cannot make it work. It is still fun to see it flips.

Pics:
1) xterm output
2) N810 WorldTV99 CBC
3) N800 WorldTV99 CBC
4) N800 WorldTV99 CBC
5) 770 home page

Enjoy,

bun

Snoshrk 2009-05-04 13:33

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
:D Great job!

You beat me to it :p

I had the thought this past weekend that I should post a quick rotation guide... I'll have to give this a try when I get home...


Silly question: What does the "size" command do? I don't remember having to use it before....

Thanks
Snoshrk

bunanson 2009-05-04 21:24

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
The size is the output from the xterm when the commands are issued. It is for cross-checking to make sure things are going allright. I am pretty impress with the rotation, even video rotates!

bun

Snoshrk 2009-05-05 17:42

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
Hey Bun...

Tried this last night.... can you edit cmd1 & cmd2 so that they do not have the "..." in them? A straight cut&paste on the tablet choked on the hidden bits.

:)

karatchov 2009-05-05 18:32

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
I have an upgraded N800, and I remember that installing screen rotation took me only 1 click ....

I dont remember the exact thread, but I'm sure it's very easy

Un27Pee 2009-05-05 19:47

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
This is what i use
root then

paste into xterm step;1
apt-get install advanced-backlight osso-software-version-rx44-unlocked

paste into xtermstep2
maemo-mini-curl -o kernel-diablo-flasher_2.6.21-200842maemo1rotationfast_all.deb http://outpo.st/rotate/kernel-diablo...onfast_all.deb
maemo-mini-curl -o xserver-xomap_1.3.99.0~git20070321-0osso20083801rotation_armel.deb http://outpo.st/rotate/xserver-xomap...tion_armel.deb
dpkg -i kernel-diablo-flasher_2.6.21-200842maemo1rotationfast_all.deb xserver-xomap_1.3.99.0~git20070321-0osso20083801rotation_armel.deb


reboot ok

YoDude 2009-05-05 22:41

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
Does the 5.2008.43-7, Feature upgrade (unlocked) still show up as an available update in Application Manger?

Snoshrk 2009-05-06 02:18

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
Quote:

Originally Posted by bunanson (Post 284342)
Pros: It works
Cons: You will NOT be able to uninstall the 5.2008.43-7 upgrade on the modified booting OS. I have no idea what does that mean to the tablet, now or future. I did mine on a MMC boot, and the internal flash 5.2008.43-7 upgrade is NOT affected,i.e., what you did to OS on MMC boot, in general does not translate to the OS in flash system. In general...

Prequalification:
- 5.2008.43-7 upgraded
- advanced-backlight installed

Enable Extras-devel
- AppManager>Menu>Tools>Application catalogue...
- New
- Cat name: maemo Extras-devel
- Web address: http://repository.maemo.org/extras-devel/
- Distribution:
- Components: free non-free
- Disabled:
close AppManager.

xterm
~ $ gainroot


***** Very Important: ******

Install the correct version for your device:

N800 rx34

Code:

apt-get install osso-software-version-rx34-unlocked
N810 rx44

Code:

apt-get install osso-software-version-rx44-unlocked
N810W rx48

Code:

apt-get install osso-software-version-rx48-unlocked
Quote:

Originally Posted by bunanson (Post 284342)
( substitute cmd1-3 with cut and past from below)

/home/user/ # cmd1)
size 0 (repeat one more time, not quite sure why)
/home/user/ # cmd1)
size 1529986
/home/user/ # cmd2)
size 694854
/home/user/ # cmd3)

unpacking....

/home/user/ # reboot
Disable extras-devel
AppManager>Menu>Tools>Application catalogue..>Edit extras-devel and checked the Disabled square.

done

cmd1) = maemo-mini-curl -o kernel-diablo-flasher_2.6.21-200842maemo1rotationfast_all.deb http://outpo.st/rotate/kernel-diablo...onfast_all.deb

Code:

maemo-mini-curl -o kernel-diablo-flasher_2.6.21-200842maemo1rotationfast_all.deb http://outpo.st/rotate/kernel-diablo-flasher_2.6.21-200842maemo1rotationfast_all.deb
Quote:

Originally Posted by bunanson (Post 284342)
cmd2) = maemo-mini-curl -o xserver-xomap_1.3.99.0~git20070321-0osso20083801rotation_armel.deb http://outpo.st/rotate/xserver-xomap...tion_armel.deb

Code:

maemo-mini-curl -o xserver-xomap_1.3.99.0~git20070321-0osso20083801rotation_armel.deb http://outpo.st/rotate/xserver-xomap_1.3.99.0~git20070321-0osso20083801rotation_armel.deb
Quote:

Originally Posted by bunanson (Post 284342)
cmd3) = dpkg -i kernel-diablo-flasher_2.6.21-200842maemo1rotationfast_all.deb xserver-xomap_1.3.99.0~git20070321-0osso20083801rotation_armel.deb

Code:

dpkg -i kernel-diablo-flasher_2.6.21-200842maemo1rotationfast_all.deb xserver-xomap_1.3.99.0~git20070321-0osso20083801rotation_armel.deb
Quote:

Originally Posted by bunanson (Post 284342)
Credits: The above are all copied from wiki (http://wiki.maemo.org/Rotation)

My N810/N800 are both booting from /MMC1.

The 770 setup is MMC boot with 48 MHz clone, http://www.internettablettalk.com/fo...mmc+boot+speed.
The 770 does NOT work, it does flip, but it also messed up the touchscreen, the hardware button works though.....anyhow, I cannot make it work. It is still fun to see it flips.

Pics:
1) xterm output
2) N810 WorldTV99 CBC
3) N800 WorldTV99 CBC
4) N800 WorldTV99 CBC
5) 770 home page

Enjoy,

bun

Code snippets from the wiki, might be a little easier to cut & paste on the tablet...:D

bunanson 2009-05-06 05:21

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
@Snoshrk: Thanks for pointing out the obvious, the original post has its URL html format shortened into "..." and causing the trouble as you have kindly pointed out in above post. It is now working, one can point, cut and paste. Thanks,

bun

bunanson 2009-05-06 05:30

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
Quote:

Originally Posted by YoDude (Post 284723)
Does the 5.2008.43-7, Feature upgrade (unlocked) still show up as an available update in Application Manger?

Yes somewhat, if running OS 30-2, 4.2008.36-5 feature upgrade is still showing as an available update in AppManager under Check for updates.

No. After one installed the rotation modification, 5.2008.43-7 feature upgrade under Show installed app, it now show an icon like a broken installed app, a red with 3 black squares. If click, it said "Unable to uninstall..." I guess its from using a hacked version ("unlocked"). Please some guru elaborate here... Thanks

bun

bunanson 2009-05-06 06:01

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
How do you navigate when rotates sideway? Say, you are now rotated sideway, and your app selection is outside the screen, how do you choose your app? It is NOT a problem if rotates upside down. Overall, the rotation apps run very smooth, has not seem any hichup so far and the rotation is eye blinking, thanks for everybody works on this rotation app.

TIA,

bun

Snoshrk 2009-05-07 19:05

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
Quote:

Originally Posted by bunanson (Post 284798)
How do you navigate when rotates sideway? Say, you are now rotated sideway, and your app selection is outside the screen, how do you choose your app?

:confused:

I use portrait rotation with several websites like gmail, greader etc. (hard buttons to the top N800) and the Minimalist theme of TMO (wow that just doesn't flow like itT)

When you say app selection...what do you mean? The left hand side of my screen stays on the left and the right side spills off the screen when rotated to portrait.

lm2 2009-05-07 19:19

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
Thanks Bun. First, I have not seen you around here in a while and had hoped you had not abandoned us! Second, rotation is a wonderful thing to have, so the more advertisement the better!

I tried to do my part a while back, and even uploaded necessary debs when they had been pulled from the ssse2.net/rotate site (they might be back now).

bunanson 2009-05-09 19:48

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
Thanks for the kind words. Just getting a little bit busy on my day work.

I just installed digia @web. They have an onscreen button to rotate the screen, one does not have to get off full screen to get to the task bar to rotate screen, it is very cool. To install digia @web, enable extras-devel and install via appManager.

bun

bunanson 2009-05-09 23:28

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
1 Attachment(s)
Quote:

Originally Posted by Snoshrk (Post 285316)
...When you say app selection...what do you mean? ..

So, how do I select the Extras? In this case, I know i can use the Dpad, but not always possible, is there any function to move the screen, so one can get to the selection button?

TIA,

bun

ReggiePush 2009-08-12 15:26

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
Quote:

Originally Posted by bunanson (Post 284794)
Yes somewhat, if running OS 30-2, 4.2008.36-5 feature upgrade is still showing as an available update in AppManager under Check for updates.

No. After one installed the rotation modification, 5.2008.43-7 feature upgrade under Show installed app, it now show an icon like a broken installed app, a red with 3 black squares. If click, it said "Unable to uninstall..." I guess its from using a hacked version ("unlocked"). Please some guru elaborate here... Thanks

bun

please someone wit the knowledge elaborate on that becase I was thinking the same exact thing. Another thing is how do I uninstall if I wanted to because i need to know how to undo all the crazness that I do to my tablet. thanks

bunanson 2009-08-19 04:30

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
Uninstall.........umm :confused:

How about a COMPLETE backup, and just slap it back on when attempting "uninstall"?
It works for me.

bun

scaler 2009-12-11 16:37

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
Quote:

Originally Posted by ReggiePush (Post 311230)
I need to know how to undo all the crazness that I do to my tablet. thanks

Quote:

Originally Posted by bunanson (Post 312949)
Uninstall.........umm :confused:

How about a COMPLETE backup, and just slap it back on when attempting "uninstall"?

It works for me.

As I understand it, your cmd3 modifies the kernel, and the reverse cloning procedure will only restore the rootfs. If you really want to get back to the place where you started, you will have to reflash the kernel as well. See http://wiki.maemo.org/Updating_the_t....2FN800.2FN810 .

It used to be the case that you could not reflash just the kernel if your PC runs Windows - you had to reflash all the firmware at once. This might have changed with the new Linux/Mac/Windows flasher-3.5 . The wiki unfortunately does not clarify this point.

bunanson 2009-12-13 16:51

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
Quote:

Originally Posted by scaler (Post 423095)
As I understand it, your cmd3 modifies the kernel, and the backup procedure will only restore the rootfs. If you really want to get back to the place where you started, you will have to reflash the kernel as well. See http://wiki.maemo.org/Updating_the_t....2FN800.2FN810 .

It used to be the case that you could not reflash just the kernel if your PC runs Windows - you had to reflash all the firmware at once. This might have changed with the new Linux/Mac/Windows flasher-3.5 . The wiki unfortunately does not clarify this point.

Thanks for the new info on the flasher-3.5. Will try some time.

The backup mentioned above is a link to here, is a different beast, it is a complete retore of everything back to the place where you started. It saved my butt more than many many times :)

bun

scaler 2009-12-13 18:37

Re: Step by step Guide: Screen rotation after Diablo upgrade
 
Quote:

Originally Posted by bunanson (Post 425792)
Thanks for the new info on the flasher-3.5. Will try some time.

The backup mentioned above is a link to here, is a different beast

bun

Thank you, bun. I have edited my post to read "reverse cloning" instead of "backup". I wrote "backup" originally because that was the term you had used in the post that I was quoting. I realise that the procedure is different from the GUI Backup application, and that readers might be confused by a different use for the same word.

The fact remains that the cloning (or reverse cloning) copies the rootfs only. It does not restore the kernel to the state it was in before execution of the dpkg command in your OP. The only way to restore the kernel is by reflashing it.

Regarding a restoration of the rootfs to the internal flash, Fanoush suggested a procedure for backing up a clean, unused copy of the rootfs on /media/mmc1, using mkfs.jffs2. (This is different from the cloning procedure, in that it does not create a bootable partition.) The backup can be restored to the internal flash by using flash_eraseall and nandwrite commands. See Fanoush's post
http://talk.maemo.org/showthread.php?p=33348#post33348 .

Fanoush also bundled the relevant utilities in his initfs_flasher. You will find mkfs.jffs2, flash_eraseall and nandwrite in there, and also sumtool. There are posts by Fanoush and nhanquay in the forum, explaining how to use sumtool to create a faster-booting rootfs from the backed-up file.

The relevant commands for restoring the internal flash can be run from a bootable partition on either SD/MMC card.

The advantage of this procedure over the "reverse clone" is that the resulting rootfs on internal flash is completely unchanged since the backup was created. The disadvantage is that it takes up a lot of space on your media card.

BTW, I came to the present thread after following the wiki to enable rotation. I had just written a post suggesting that someone should rewrite the wiki to make the process more accessible to users, and then I discovered that you had in effect already done it. Congratulations to you as usual for your valuable work.


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

vBulletin® Version 3.8.8