From OpenSCADAWiki
Jump to: navigation, search
Line 47: Line 47:
 
|}
 
|}
  
The tracing task of the workout opened [http://oscada.org/en/development/tasks/posts/implementation_vnedrenie/openscada_adapting_to_the_android_os_tablet_asus_nexus_7_ii_workout/ here].
+
<u>''Remote access''</u> can be performed whether through a SSH-server or the debugging command {{InLineCode|<nowiki>adb shell</nowiki>}}.
  
''' [[Special:MyLanguage/Sub-projects/Adaption_to_Android|Assembling and starting OpenSCADA into the environment of OS Android]] '''
+
<u>''Enabling the debug mode''</u>:
 
+
* Enable the debug mode of Android:
''' Installing of full-featured OS Linux and OpenSCADA starting '''<br/>
+
For different OS installing you need to unlock the loader and for original Android saving you need ensure multiboot.
+
 
+
<u>''The loader unlocking and ROOTing''</u>:
+
* Enabling the debug mode of Android:
+
 
:* "Configuration" -> "About the device", seven times click into item "Building number".
 
:* "Configuration" -> "About the device", seven times click into item "Building number".
* Setting up of debugging through USB:
+
* Set up of debugging through USB:
 
:* "Configuration" -> "Developers parameters", set proper property.
 
:* "Configuration" -> "Developers parameters", set proper property.
* Installing on PC the utility "adb" (Android Debug Bridge).
+
* Install on PC the utility "adb" (Android Debug Bridge).
* Checking for connection to the tablet:
+
* Check for connection to the tablet:
 
:* connect USB-cable to PC
 
:* connect USB-cable to PC
 
:* call the command — {{InLineCode|<nowiki>adb devices</nowiki>}}
 
:* call the command — {{InLineCode|<nowiki>adb devices</nowiki>}}
* Unlocking the device:
 
** enable the tablet with connection to PC by the USB-cable and holding by buttons "Power" and "Sound lower" up to the bootloader screen appear;
 
** check for the boot-loader visibility — {{InLineCode|<nowiki>sudo fastboot devices</nowiki>}}
 
** unlock — {{InLineCode|<nowiki>sudo fastboot oem unlock</nowiki>}}
 
  
* Load and flash "TWRP recovery": load [http://techerrata.com/browse/twrp2/flo here], then flash it by command "$ fastboot flash recovery /Path-to-TWRP.img"
+
<u>''The loader unlocking''</u> must be performed before ROOTing or flashing and causes for WIPING the user data:
* Enter to the "Recovery" mode of the loader and provide access ROOT: select "Reboot" -> "Recovery" -> "ROOT", then "Reboot" -> "Sytem".
+
* enable the tablet with connection to PC by the USB-cable and with holding by the button "Power" and "Sound lower" up to the bootloader screen appearing;
 +
* check for the boot-loader visibility — {{InLineCode|<nowiki>sudo fastboot devices</nowiki>}}
 +
* unlock — {{InLineCode|<nowiki>sudo fastboot oem unlock</nowiki>}}
 +
 
 +
<u>''Flashing''</u> the device (only at the restoring need):
 +
* Download of proper image from the [https://developers.google.com/android/images Factory Images for Nexus and Pixel Devices] page or the [http://ftp.oscada.org/OpenSCADA/Devices/Nexus7-2013/razor-mob30x-factory-52684dff.zip last one] from the OpenSCADA Server.
 +
* Unpack the archive — {{InLineCode|<nowiki>unzip razor-mob30x-factory-52684dff.zip</nowiki>}}
 +
* Change directory to the firmware one — {{InLineCode|<nowiki>cd razor-mob30x</nowiki>}}
 +
* Unpack the subarchive (the last '''fastboot''' misunderstand already direct ZIP flashing) — {{InLineCode|<nowiki>unzip image-razor-mob30x.zip</nowiki>}}
 +
* Flash all images:
 +
<syntaxhighlight lang="BASH">
 +
sudo fastboot flash boot boot.img
 +
sudo fastboot flash bootloader bootloader-flo-flo-04.08.img
 +
sudo fastboot reboot-bootloader
 +
sudo fastboot flash recovery recovery.img
 +
sudo fastboot flash system system.img
 +
sudo fastboot erase userdata
 +
sudo fastboot flash userdata userdata.img
 +
sudo fastboot erase cache
 +
sudo fastboot flash cache cache.img
 +
sudo fastboot reboot
 +
</syntaxhighlight>
 +
* Manually update package of the Google Play Market since it doesn't work from the box now, which APK-package you can find yourself or [http://ftp.oscada.org/OpenSCADA/Devices/Nexus7-2013/Google-Play-Store-38118-21-0-PR-575289603-DivxLand.apk get one] from the OpenSCADA Server.
 +
 
 +
<u>''ROOTing''</u> can be needed for some packages like to BusyBox and some packages need for that for full features.
 +
* Load TWRP recovery for FLO (Nexus 7 2013) from Internet or [http://ftp.oscada.org/OpenSCADA/Devices/Nexus7-2013/twrp-3.7.0_9-0-flo.img get one] from the OpenSCADA Server.
 +
* Flash TWRP recovery — {{InLineCode|<nowiki>sudo fastboot flash recovery twrp-3.7.0_9-0-flo.img</nowiki>}}
 +
* Enter to the "Recovery mode" of the loader and provide the ROOT access:
 +
: Select "Reboot" -> "Recovery" -> "ROOT", then "Reboot" -> "Sytem".
 
* Install "SuperSU" for you will be proposed.
 
* Install "SuperSU" for you will be proposed.
  
To provide the multiboot let install "MultiROM Manager" from "Play Market".
+
<u>''To provide multiboot''</u> you can install MultiROM Manager from Play Market.
  
Due to this device is supported by Google, you are allowed to update the Android OS up to versions 5 and 6 for this you can read and download suitable image from the "[https://developers.google.com/android/images Factory Images for Nexus and Pixel Devices]" page.
+
== Links ==
 +
* [https://developers.google.com/android/images Factory Images for Nexus and Pixel Devices]
 +
* [[Special:MyLanguage/Sub-projects/Adaption_to_Android|Assembling and starting OpenSCADA in the environment of OS Android]]
 
</translate>
 
</translate>

Revision as of 20:58, 29 October 2023

Tablet computer Asus Nexus 7 II (2013)
Begin: 08 (August) 2014
Participants: Roman Savochenko
Description: "Asus Nexus 7 II" — tablet computer of 2013 year edition with four-cores ARM-processor and sensor screen 7", released in conjunction of Asus and Google. Purchased for tasks of OpenSCADA and adapting it to work into the environment of OS Android and hardware of modern multicore CPU of ARM-architecture.
Managing task: by the link
Materials: http://ftp.oscada.org/OpenSCADA/Devices/Nexus7-2013/
State of the support, related to the Android sub-project:

AsusNexus7.png
Image. OpenSCADA in Web and Qt5 for the native building.

Key specification of the tablet:

Hardware platform: ARM Cortex-A15 [ARMv7]
Central processor: Four-core Qualcomm Snapdragon APQ8064-1AA 1500 MHz
Operational memory: 2 GiB DDR3
Permanent memory: 32 GiB
Video subsystem: 400 MHz quad-core Adreno 320
Screen: IPS, 1920x1200 px (323 ppi)
Hardware CPU Entry into JavaLikeCalc, us Operation sin(Pi) [in JavaLikeCalc], us Operation pow(Pi,2) [in JavaLikeCalc], us Model AGLKS [Vision, main mnemo], %(core) Extra tests and notes
Google Asus Nexus7 II ARM Cortex-A15, Qualcomm Snapdragon APQ8064-1AA, 28nm, 1.5 GHz, 4 Cores 0.321 0.134 [0.239] 0.122 [0.264] 54 [82]

armv7-a, Soft, VFP, Extra tests.
Updated: 15.05.2023
Starting time, seconds: 10+21+6(AGLKS), 49(Boiler)

Remote access can be performed whether through a SSH-server or the debugging command adb shell.

Enabling the debug mode:

  • Enable the debug mode of Android:
  • "Configuration" -> "About the device", seven times click into item "Building number".
  • Set up of debugging through USB:
  • "Configuration" -> "Developers parameters", set proper property.
  • Install on PC the utility "adb" (Android Debug Bridge).
  • Check for connection to the tablet:
  • connect USB-cable to PC
  • call the command — adb devices

The loader unlocking must be performed before ROOTing or flashing and causes for WIPING the user data:

  • enable the tablet with connection to PC by the USB-cable and with holding by the button "Power" and "Sound lower" up to the bootloader screen appearing;
  • check for the boot-loader visibility — sudo fastboot devices
  • unlock — sudo fastboot oem unlock

Flashing the device (only at the restoring need):

  • Download of proper image from the Factory Images for Nexus and Pixel Devices page or the last one from the OpenSCADA Server.
  • Unpack the archive — unzip razor-mob30x-factory-52684dff.zip
  • Change directory to the firmware one — cd razor-mob30x
  • Unpack the subarchive (the last fastboot misunderstand already direct ZIP flashing) — unzip image-razor-mob30x.zip
  • Flash all images:
sudo fastboot flash boot boot.img
sudo fastboot flash bootloader bootloader-flo-flo-04.08.img
sudo fastboot reboot-bootloader
sudo fastboot flash recovery recovery.img
sudo fastboot flash system system.img
sudo fastboot erase userdata
sudo fastboot flash userdata userdata.img
sudo fastboot erase cache
sudo fastboot flash cache cache.img
sudo fastboot reboot
  • Manually update package of the Google Play Market since it doesn't work from the box now, which APK-package you can find yourself or get one from the OpenSCADA Server.

ROOTing can be needed for some packages like to BusyBox and some packages need for that for full features.

  • Load TWRP recovery for FLO (Nexus 7 2013) from Internet or get one from the OpenSCADA Server.
  • Flash TWRP recovery — sudo fastboot flash recovery twrp-3.7.0_9-0-flo.img
  • Enter to the "Recovery mode" of the loader and provide the ROOT access:
Select "Reboot" -> "Recovery" -> "ROOT", then "Reboot" -> "Sytem".
  • Install "SuperSU" for you will be proposed.

To provide multiboot you can install MultiROM Manager from Play Market.

Links