c3device - corporate device setup for the logistik team
This repo helps with setup of android devices so we can use them at events.
For this to work, we want all devices to have the same setup.
There are 2 main setups this shall support:
- handout devices:
these are intended for short term usage like put into cars, hand over to angels to communicate without internet and alike.
the idea is to reset these quickly and then reinstall them without too much trouble. - private anonymous devices:
these are inteded to be used by people who do not have their own devices or do not want to use those for privacy reason.
they shall be able to customize the device.
Setup instructions
/Fixme: automate this, good luck.
-
install lineageos on your device.
- check the cccv wiki for your devices codename
- if this does not work:
- boot into bootloader (usualy volume down + power, volume down + home + power, or alike)
- the bootloader usualy shows the device model (like gt-1234)
- lookup twrp for your device -> you get the codename for the device
- in the folder devices -> your codename -> follow the README
- if there is no device folder:
- add the folder and add a working twrp.
- check if you can find a lineageos build for the device (try https://lineage-archive.timschumi.net/)
- add the lineageos build and create the readme (check the other devices for reference)
-
first run wizzard:
- Languange: Deutschland, Deutschland
- Zeitzone: Amsterdam/Berlin, GMT+1
- Add Aufbau-WLAN
- Kein Screenlock
-
setup adb:
- enable dev-mode
- enable adb
-
install base apps:
adb install apps/at.bitfire.icsdroid.apk
adb install apps/org.fdroid.fdroid.apk
- update fdroid repo
- install OsmAnd~
-
configure OsmAnd~
- Add map: Deutschland, Brandenburg
- Add map: Deutschland, Hamburg
- Add map: Deutschland, Lower Saxony
- Add map: Deutschland, Schleswig-Holstein
- Add same maps for strassenkarten
- (Carphone only) Enable Extension: Streckenaufzeichnung
- (Carphone only) Extension Einstellung: Streckenaufzeichnung:
- Disable Akkuoptimization if possible
- Startdialog anzeigen: Aus
- Intervall für Aufzeichnung: 60s
- aufzeichnung bei Lücken automatisch trennen: Aus
- Online aufzeichnung: Enable
- Webaddresse: https://homer.spahan.ch/c3drive/track.php?lat={0}&lon={1}×tamp={2}&hdop={3}&altitude={4}&speed={5}&device=[DEVICE SHORTNAME HERE]
- Aufzeichnungsintervall = 60s
-
Add Contacts:
- adb push contacts.vcf /sdcard/Documents/contacts.vcf
- import into Kontake app
- add Loc helpdeks to home screen
TODO:
- Autostart osmand