New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
F22
Old
(Last edited by F22; 19th April 2011 at 11:52 PM.) Reason: new rootfs posted
#1  
Senior Member - OP
Thanks Meter 144
Posts: 341
Join Date: Oct 2009
Talking F22's Latest Rootfs (Apr 19th, 2011) Highlandsun's RIL Support Patches Merged + More

April 19, 2011 Update #2 - Second new rootfs of the day for those who want to use Hylandsun's RIL. The old sed line bug was inadvertently reintroduced in the merge request. It's now fixed.

April 19, 2011 Update #1 - A new init.android binary has been added to the rootfs version that supports Hylandsun's RIL. It was missing from the patches in the merge request used to make yesterday's build.

April 18, 2011 Update - Highlandsun's rootfs RIL support patches have been merged into my rootfs. There are now two versions, a vanilla version without support for his ril, and a second version with all the rootfs patches needed to support it. Note that you'll still need the RIL and any other modifications he may have made to the system.ext2 partition. See the changelog below for other additions.

---

I've overhauled -ALL- of the rhodium keymaps and layouts and added lots of new keys. I'm thus making a rootfs image available for testing before these changes get submitted to the git tree. It is built from the latest stock rootfs (Feb. 5th) with my modifications added on top. Changes from the stock rootfs include:

1) Key Map/Layout Sets Added and/or Fixed: Support for the rhod100_es (European Spanish), rhod100_nl (Dutch), and rhod110 (Australian) keyboards has been added. Bombenbach's umlaut fixes have been incorporated into the rhod100_de (German) keymap.

2) Camera Button: Rhod300/Tilt2's have their push to talk button assigned to camera by default. All other rhodium models have the option to reassign front panel button #4 (end) to CAMERA by adding gpiokeyopts=b4CAMERA to set cmdline in startup.txt. See note underneath (2) for info on losing ENDCALL.

3) Home Button: There are three possibilities for those desiring a HOME button whose long press will open up the recent apps list:
  1. Reassign the end button to HOME by adding gpiokeyopts=b4HOME to set cmdline in startup.txt.
  2. Reassign the power button to HOME and the end button to POWER by adding gpiokeyopts=b4POWER-powerHOME to set cmdline in startup.txt.
  3. Reassign the call button to HOME by changing physkeyboard=<your_rhod_model> to physkeyboard=<your_rhod_model>-b1HOME on set cmdline in startup.txt.
NOTE: If you reassign the end button you will lose its ability to end calls. You can still end a call by pressing Menu and then tapping end call. Alternately you can go into Settings->Accessibility and check the box that says: Power Button Ends Call. This will give the power button the additional ability to end calls during a call. If you've reassigned the power button via option (2) above, then this will be your old end button.

4) SYM Key: The symbol key now works.

5) Ctrl Key: The control key now works within Terminal Emulator, ConnectBot and other apps that recognize dpad_center (sometimes referred to as the "jogball") as ctrl. On the rhodium 300, 400 and 500's which don't have a printed ctrl key, this functionality has been assigned to the OK (300/Tilt2), SMS (400) and star (500) keys respectively. Do not hold this key down. Simply press it once much like you would the shift or alt keys before pressing the appropriate letter.

6) Search Key & Shortcuts: The Envelope key is now Search. Holding down Envelope and pressing another key also acts as a shortcut. By default:
  • envelope+b opens up the browser.
  • envelope+c opens up contacts.
  • envelope+e opens up email.
  • envelope+g opens up gmail.
  • envelope+l opens up the calendar.
  • envelope+p opens up the music player.
  • envelope+s opens up messaging.

    All rhodiums now have the ability to reassign front panel button #4 (end) to SEARCH as well by adding gpiokeyopts=b4SEARCH to set cmdline in startup.txt.
For the complete list along with the ability to assign/reassign them go to Settings>Applications>Quick launch.

7) Rhod300/Tilt2 - Search Key & Shortcuts: No dedicated envelope key is present (it shares a button with "," ), but the home keyboard key and/or the push to talk key may be reassigned to Search by extending the physkeyboard=tilt2 or physkeyboard=rhod300 entry in startup.txt to physkeyboard=rhod300-homeSEARCH, physkeyboard=rhod300-pttSEARCH, or for both, physkeyboard=rhod300-homeSEARCH-pttSEARCH.

8) Rear Mute Button - This button now mutes the mic during calls.

9) Lots of other keys added. All keyboards get all of the characters commonly found on desktop keyboards including, but not limited to, braces, brackets, the pipe, the tilde, the backslash, the backquote, and inequality symbols. And yes, the Italian keyboard finally gets the "?" character! See the spreadsheet available under downloads below for details on all the additions for each rhodium model. It is saved in the open document spreadsheet format.

Changelog
Apr 18th
  • Git Pull: add sysfs amber led and auto_backlight write support
  • Significantly Reduced rootfs size by deleting unneeded overhead.
  • Reduced 7zip dictionary size from 16MB to 1MB to enable decompression directly on the TP2.
Apr 13th
  • The Spanish Rhod100 keyboard (rhod100_es) is now supported. Mewzicki's adjustments have been merged in with mine.
Mar 1st
  • Git Pull: gingerbread: Decouple libs from rootfs, use versions provided in /system.
Feb 28th
  • Updated Init Logic - gpio key options now prefixed with "gpiokeyopts=", so b4HOME is now gpiokeyopts=b4HOME
  • New Option: gpiokeyopts=b4POWER-powerHOME - reassigns the power button to home and the end button to power.
  • New Option: gpiokeyopts=b4SEARCH - reassigns the end button to search.
  • New Option: gpiokeyopts=b4CAMERA - reassigns the end button to camera, requires working camera.
  • New Option: physkeyboard=<your_rhod_model>-b1HOME - reassigns the call button to home.
Feb 13th
  • Rhod110: Added missing symbolic link to fix key layout.
  • Rhod300/Tilt2: Changed the keycodes assigned to the ! and @ keys to alternatives that are less likely to cause issues, and thus work more reliably.
Feb 10th
  • Git Pull: New RIL.
Feb 9th
  • Git Pull: New libsensor (fixes the system_server bug, please report back on this).
  • Git Pull: Memory Handling Fix.
Feb 6th
  • Git Pull: New RIL (Radio Interface Library).
  • Support for rhod110 added.
Feb 2nd b
  • Bug Fix: Startup options tilt2-pttSEARCH, tilt2-homeSEARCH, rhod300-pttSEARCH and rhod300-homeSEARCH now correctly assign SEARCH when selected.
Feb 2nd a
  • Bug Fix: Corrected typo in rhod500 microp layout file preventing it from loading.
Feb 1st
  • Bug Fix: Created missing link which prevented the tilt2 microp layout file from being copied to the right place.
  • Added default keymap/layout set (rhod100_uk) for rhodium if none specified.
Jan 31st
  • initial release

Downloads
Rootfs Image - rootfs-f22-20110418-aaf47ce.img.7z (Updated Apr. 18th - see changelog above for details.)
Rootfs Image w/Highlandsun RIL support - rootfs-f22-hyc-20110419-e96477d.img.7z (Updated Apr. 19th - Fixed bad sed line in init, Added missing init.android binary.)
Complete Key Listing Spreadsheet - f22_pub_rhodium_keymap_project_20110418.ods (Updated April 18th - now includes new Spanish Key Map keys.)

Instructions
1) Download the rootfs image listed above.
2) Unzip the file via the 7zip utility.
3) Rename it to rootfs.img.
4) Drop it into your android boot folder.
5) If you wish to reassign the end button to something else, then add/edit one of the following to set cmdline in startup.txt:
  • gpiokeyopts=b4HOME
  • gpiokeyopts=b4POWER-powerHOME
  • gpiokeyopts=b4SEARCH
  • gpiokeyopts=b4CAMERA
6) If you wish to reassign the call button to home, then change physkeyboard=<your_rhod_model> to physkeyboard=<your_rhod_model>-b1HOME. Examples:
  • rhod100_uk-b1HOME
  • rhod210-b1HOME

7) If you have a Rhod300/Tilt2 and wish to reassign either the home keyboard key or the push to talk button to search, then change physkeyboard=tilt2 in startup.txt to:
  • physkeyboard=rhod300-homeSEARCH or physkeyboard=tilt2-homeSEARCH
  • physkeyboard=rhod300-pttSEARCH or physkeyboard=tilt2-pttSEARCH
  • physkeyboard=rhod300-homeSEARCH-pttSEARCH or physkeyboard=tilt2-homeSEARCH-pttSEARCH

Note that the b1HOME option given in (6) above may be tacked on also. Examples:
  • physkeyboard=rhod300-b1HOME-homeSEARCH
  • physkeyboard=rhod300-b1HOME-pttSEARCH
  • physkeyboard=rhod300-b1HOME-homeSEARCH-pttSEARCH
8) Restart your phone in Android.
9) If you remapped your endcall button to something else and would like to now assign your power button the ability to end calls while within a call, go to to Settings->Accessibility and check the box that says: Power Button Ends Call.
10) Download the Complete Key Listing spreadsheet above if you're interested in seeing the complete list.

Enjoy your new keys.
The Following 10 Users Say Thank You to F22 For This Useful Post: [ Click to Expand ]
 
F22
Old
(Last edited by F22; 14th April 2011 at 08:45 PM.) Reason: rhod100_es support announced
#2  
Senior Member - OP
Thanks Meter 144
Posts: 341
Join Date: Oct 2009
Default Available Keymaps/Layout Sets

In this rootfs, the following rhodium keymap/layout sets are available:

rhod100_de
rhod100_es - new!
rhod100_fr
rhod100_it
rhod100_nl - new!
rhod100_nordic
rhod100_uk
rhod110 - new!
rhod210
rhod300 or tilt2
rhod400
rhod500

They may be selected in the usual physkeyboard= manner from within the startup.txt file in the android boot folder. If you experience issues with any of these keymap/layout sets after downloading & installing the rootfs above please do not hesitate to let me know.
The Following 2 Users Say Thank You to F22 For This Useful Post: [ Click to Expand ]
 
EGOvoruhk
Old
#3  
Senior Member
Thanks Meter 37
Posts: 381
Join Date: Mar 2007

 
DONATE TO ME
Quote:
Originally Posted by F22 View Post
4) Home Button: The End button (front panel button 4) may now be reassigned to Home by adding b4Home to set cmdline in startup.txt.
Oh Em Gee

<3
The Following User Says Thank You to EGOvoruhk For This Useful Post: [ Click to Expand ]
 
XavierGr
Old
#4  
XavierGr's Avatar
Senior Member
Thanks Meter 2
Posts: 238
Join Date: Nov 2008
Location: Heraklion, Crete
Quote:
Originally Posted by F22 View Post
In this rootfs, the following rhodium keymap/layout sets are available:

rhod100_de
rhod100_fr
rhod100_it
rhod100_nl
rhod100_nordic
rhod100_uk
rhod210
rhod300 or tilt2
rhod400
rhod500
What about rhod100_gr? I have a rhod100 device with greek layout. The only difference is that the envelope key will toggle between English and the respective Greek characters. Any pointers how to achieve this?
Video Game Soundtracks for the nostalgic ones.
The Following User Says Thank You to XavierGr For This Useful Post: [ Click to Expand ]
 
jmstumme
Old
(Last edited by jmstumme; 31st January 2011 at 03:55 PM.)
#5  
Member
Thanks Meter 1
Posts: 39
Join Date: May 2007
rhod500 has no space bar :-\

edit:
no phone, settings, back buttons
 
arrrghhh
Old
#6  
Retired Forum Moderator
Thanks Meter 2204
Posts: 8,801
Join Date: Feb 2007

 
DONATE TO ME
Nice work F22, lookin forward to seeing this committed! I'll test this out sometime today, doing some battery testing for WisTilt2 .

Glad to see you did both rhod300 and tilt2, so old startups don't break and new ones can actually make sense by using rhod300!

I do have one stupid question that I'm pretty sure you've partially answered already - if you do the b4Home trick, and don't remap power=end call, you lose the end call button... correct? If so, you may want to add that caveat with this line
Quote:
Originally Posted by F22
1) Home Button: The End button (front panel button 4) may now be reassigned to Home by adding b4Home to set cmdline in startup.txt. A long press of the home button will also pull up the recent apps list.
Y'know, for stupid people like me .

Thanks again! I'll give ya some feedback later.
 
F22
Old
(Last edited by F22; 31st January 2011 at 08:15 PM.) Reason: fixed typo
#7  
Senior Member - OP
Thanks Meter 144
Posts: 341
Join Date: Oct 2009
Default Rhod500 Issue

Quote:
Originally Posted by jmstumme View Post
rhod500 has no space bar :-\

edit:
no phone, settings, back buttons
That sounds like a microp layout issue. Look at the contents of /sdcard/kbd_info and tell me what you see. As an example, here is what I'm seeing in mine:

Quote:
Selected Keyboard: rhod210
RhodInfo=rhod210
RhodModel=rhod210
Rhod100Lang=
RhodOptions=
mpkl=rhod210
Selected MicroP Key Layout: /init.etc/keymaps/rhod210_microp-keypad.kl
Selected MicroP Key Code Map: /init.etc/keymaps/rhod210_microp-keypad.kcm
Mapping Button 4 to HOME
I expect that yours should say rhod500 wherever mine says rhod210. Note that this file is only written to if you're running my rootfs. It will still be present however if you switch back to your original rootfs. I created it specifically to help debug issues like yours. It would also be helpful if you'd post your startup.txt just to make sure that looks good as well.
 
F22
Old
(Last edited by F22; 31st January 2011 at 08:58 PM.)
#8  
Senior Member - OP
Thanks Meter 144
Posts: 341
Join Date: Oct 2009
Default Greek & Other Cyrillic Keyboards

Quote:
Originally Posted by XavierGr View Post
What about rhod100_gr? I have a rhod100 device with greek layout. The only difference is that the envelope key will toggle between English and the respective Greek characters. Any pointers how to achieve this?
I only updated the existing key maps/layouts in the repo, and unfortunately Greek wasn't in that list. The Cyrillic key layout on the Greek keyboard presents an additional layout issue, ie. the language key you just mentioned . To be entirely honest at this point, I'm not certain how android handles that. I can look at android's documentation as my time permits. What native android handsets are currently available in Greece or Russia? If we could pull the key layout/map files off of one to serve as an example, that would make creating Cyrillic layout/map sets much easier.
 
F22
Old
#9  
Senior Member - OP
Thanks Meter 144
Posts: 341
Join Date: Oct 2009
Quote:
Originally Posted by arrrghhh View Post
Nice work F22, lookin forward to seeing this committed! I'll test this out sometime today, doing some battery testing for WisTilt2 .

Glad to see you did both rhod300 and tilt2, so old startups don't break and new ones can actually make sense by using rhod300!

I do have one stupid question that I'm pretty sure you've partially answered already - if you do the b4Home trick, and don't remap power=end call, you lose the end call button... correct? If so, you may want to add that caveat with this line Y'know, for stupid people like me .

Thanks again! I'll give ya some feedback later.
LOL! Ok. Done. (On the caveat.)
 
jmstumme
Old
(Last edited by jmstumme; 31st January 2011 at 11:18 PM.)
#10  
Member
Thanks Meter 1
Posts: 39
Join Date: May 2007
Code:
Selected Keyboard: rhod500
RhodInfo=rhod500
RhodModel=rhod500
Rhod100Lang=
RhodOptions=
mpkl=rhod500
Selected MicroP Key Layout: /init.etc/keymaps/rhod500_microp-keypad.kl
Selected MicroP Key Code Map: /init.etc/keymaps/rhod500_microp-keypad.kcm
Mapping Button 4 to ENDCALL
Selected Keyboard: rhod500
RhodInfo=rhod500
RhodModel=rhod500
Rhod100Lang=
RhodOptions=
mpkl=rhod500
Selected MicroP Key Layout: /init.etc/keymaps/rhod500_microp-keypad.kl
Selected MicroP Key Code Map: /init.etc/keymaps/rhod500_microp-keypad.kcm
Mapping Button 4 to ENDCALL
Selected Keyboard: rhod500
RhodInfo=rhod500
RhodModel=rhod500
Rhod100Lang=
RhodOptions=
mpkl=rhod500
Selected MicroP Key Layout: /init.etc/keymaps/rhod500_microp-keypad.kl
Selected MicroP Key Code Map: /init.etc/keymaps/rhod500_microp-keypad.kcm
Mapping Button 4 to ENDCALL
Sent from my MSM using XDA App