Android

From Pandora Wiki
Revision as of 11:37, 5 November 2013 by Kingu (talk | contribs) (Created page with "Bruken er denne er ganske snodig, så har er en guide til å hjelpe deg.")
Jump to: navigation, search

Android versjon 2.3 kallenavn gingerbread

Installer Android

Steg-for-steg guide for å få Android til å kjøre på din Pandora.

Kortversjon for oppsett av Android på Pandora

  1. Du MÅ ha minst Ångström SuperZaxxon Beta 5a (fungerte da denne guiden ble skrevet).
  2. Sjekk tråden [Testing thread] og last ned den siste PND filen derfra. Forsikre deg om at du legger denne på kortet i venstre SD-kort plass.
  3. Av sikkerhetsgrunner er det lurest å benytte et tomt kort hvis du vil ha Android på et eget kort. Erfaringsmessig sletter Android filene på rotnivå på kort nummer to. Underdirektiver vil ikke bli rørt.
  4. Hvis ikke dato for systemet må dette gjøres først for å unngå problemer med sertifiseringsprosessen til Google.
  5. Start Android fra System/Android Gingerbread. Det tar en stund å starte opp, når alt er klart kan du sette opp WiFi.
  6. For å installere APK-filer, legg dem på SD-kort nummer to og installer med den innebygde Filutforskeren.
  7. For å stoppe Android, velg "Kill Android" fra menyen.

Notis: Installasjon av PND/appdata på ext-2,3 eller 4-formaterte partisjoner (eller vilkårlig filsystem med rettigheter) forårsaker proplemer (mest med gapps, når zip-filen blir pakket ut beholder den ikke de rette rettighetene) bruk FAT32 i steden.

Tasteoppsett

Hjem: Pandoraknappen eller F1 [/background]
Tilbake: Esc, høyre nub til høyre.
Meny: F2
Søk: Ukjent
Volumnivå hhv Opp/ Ned: F12 / F11

Android apk pakkebrønner

fdroid

[1]

Høykvalitets pakkebrønn med FOSS programvare. Anbefalt.

Google Play store

1. Hent de påkrevde datafilene herfra: http://www.androidfilehost.com/?fid=22979706399755027 2. Pakk ut ZIP-filen til mappen /pandora/appdata/android_gingerbread på ditt SD-kort. Fjern meta-inf-mappen. (ellers vil prosessen muligvis henge seg senere) 3. Ved neste Android-oppstart. Hvis du har tilkoblingsproblemer (og nettilkoblingen virker), dobbeltsjekk at datoen er satt til gjeldende dato. (Du kan bare sette den fra Linux)!

Knytt pekeskjerm-berøringer til fysiske knappeinndata

Ikke alle spill støtter fysisk inndata - noen bare pekeskjerm. Det finnes en app kalt "GameKeyboard 2.0" som ordner dette.

Bruken er denne er ganske snodig, så har er en guide til å hjelpe deg.

  1. Go to CyanogenMod Settings and enable "Soft Keyboard" on long menu button press. This way you can bring up the keyboard in most games holding the Menu Button (doesn't work in all games, but will still work there).
  2. Run GameKeyboard and set it up (only needed the first time)
  3. Follow the on-screen instructions to enable it as SoftKeyboard and choose it as current SoftKeyboard.
  4. Then in the settings, do the following:
 Enable "Touchscreen Mode"
   Enable "Remap Hard-Key"
   Map your buttons with "Hardkey Mappings": Select a free slot, 
   press the desired D-Pad direction or button and select in the list 
   what it should be (i.e. D-Pad up to D-Pad up, etc.)
   Go into "Layout Edit" and allow "Layout Edit Mode"

This is the first-time setup, GameKeyboard is now ready to be used. Grant it root access when it asks for :)

  1. Run your game. If the touchscreen buttons and DPad are located in the default GameKeyboard locations, the Pandora controls should now just work.
  2. If buttons / DPad are somewhere else on the screen, hold the menu button which should show the GameKeyboard controls (doesn't work with all games).
  3. Move the controls around using the touchscreen to match the touchscreen controls. Some games hide them though when you press the menu button, some don't even show the GameKeyboard as they disable the softkeyboard. In this case, remember where DPad / buttons need to be, go to the GameKeyboard app and slide the controls at the desired location and then go back to the game.

Once that's done, the game will work with your physical gaming controls. As you can save different profiles in GameKeyboard, you only need to match the locations per game once and then safe the config.

  • Taken from this post on the pandora boards:

http://boards.openpandora.org/index.php?/topic/8871-how-to-install-android-on-your-pandora/page__pid__159757#entry159757

How to remap Android hardware keys

download Jota+(Text Editor) from the Play Store (the Android Market)

Now, download Root Browser (free or Pro will both work)

Now, open up the Root Browser and go to /system/usr/keylayout

Copy all the contents of that folder to /mnt/sdcard2/[WHATEVER YOU WANT TO CALL THIS FOLDER]

Now, copy the folder you just created above (containing the four files) and paste it back into the its self. Then rename this new sub folder "Backups" or "Originals"

Now, open Jota+, go to "menu" and click "file"

Click "Open..."

Navigate to the folder with the four .kl files and the Backups folder

Open gpio-keys.kl

change key 29 from "BUTTON_SELECT" to "BACK"

change key 56 from "BUTTON_START" to "MENU"

(you can make it whatever you want, really)

Here is a list of default key codes in Android http://code.google.com/p/androhid/wiki/Keycodes

save and exit.

Open Root Browser and copy gpio-keys.kl to /system/usr/keylayout and delete the old one

(delete the original before hitting "Paste)

Now, launch the "Kill Android" app, then relaunch android and confirm that the "Select" button now acts as the menu button and the "Start" button now acts as the back button.

Unfortunately, the coding for the nubs is incomplete and so I'm at a dead end here. Right_Nub_Down is mapped to Keycode 82 and Right_Nub_Left is mapped to keycode 4 but other than that, the nubs have no key functionality and so as far as I can tell, you can't change what they do. If anyone wants to look around and see if they can find a way, please post in thread.

[2] (It tells you the keycode for the key you're currently pressing. The only thing it lacks is the ability to show the code for anything mapped to "HOME" simply because doing so quits the app before it gets the chance to record the data)