User Tools

Site Tools


doc:appunti:hardware:gretel_a7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
doc:appunti:hardware:gretel_a7 [2019/09/30 00:17] – [Disable Soft Keys] niccolodoc:appunti:hardware:gretel_a7 [2019/10/15 12:34] – [Latest Software] niccolo
Line 12: Line 12:
 ^ Android    | 6.0 Marshmallow  | ^ Android    | 6.0 Marshmallow  |
 ^ Telephony  | 3G/2G  | ^ Telephony  | 3G/2G  |
 +
 +===== Latest System Software  =====
 +
 +Actually I'm running my Gretel A7 with the following configuration:
 +
 +  * **TWRP Recovery 3.0.2** - We use version 3.0.2 because we had problems with newer 3.2.1, [[#installing_the_xenonhd_custom_rom|see below]]. NOTICE: When you flash the recovery image, do not reboot normally, otherwise the partition will be overwritten. From poweroff, reboot instead into //Select Boot Mode Menu// and choose Recovery.
 +  * **Stock ROM 20170908** - We found on the net the archive Y8303.YX.A7.Gretel.B1B8.6.0.V01.07.20170908.rar. Beware that this stock ROM contains a trojanized launcher! [[#infected_stock_rom_20170908|See below]]. It features Android 6.0, with security patch level August 5, 2015.
 +  * **SuperSU v2.82** build number 20170528234214 - Needed to gain root privileges and replace the launcher.
 +  * **Rootless Pixel Launcher 3.9.1** - Downloaded from F-Droid repository, replaces the trojanized default launcher.
  
 ===== Factory Installed Malware: com.ibingo.launcher3 and Wireless Update  ===== ===== Factory Installed Malware: com.ibingo.launcher3 and Wireless Update  =====
Line 364: Line 373:
 <code> <code>
 mount -o remount,rw /system mount -o remount,rw /system
-/system/priv-app/Launcher3_G_Develop_yisheng_A47_201709071813 +rm -r /system/priv-app/Launcher3_G_Develop_yisheng_A47_201709071813 
-rm -r mount -o remount,ro /system+mount -o remount,ro /system 
 +rm -r /sdcard/.com.yinshengA47.launcher3/
 </code> </code>
  
-The we removed alsto the unwanted **WhatsApp** and **Facebook** apps:+ 
 +We did not trust either the app **WirelessUpdate**, it was not reported as infected (it was indeed in ROM release 2017-05-19), but we don't trust updates from people which distribute infected apps! The app to be removed is: 
 + 
 +  * **Name**: WirelessUpdate 
 +  * **Package**: com.fota.wirelessupdate 
 +  * **Folder**: /system/priv-app/SystemFota/ 
 +  * **Menu Entry**: Settings => About phone => WirelessUpdate 
 + 
 +Using root privileges we executed: 
 + 
 +<code> 
 +mount -o remount,rw /system 
 +rm -r /system/priv-app/SystemFota/ 
 +mount -o remount,ro /system 
 +reboot 
 +</code> 
 + 
 +After the reboot we confirmed that the Settings menu entry was gone. 
 + 
 +We removed alto the unwanted **WhatsApp** and **Facebook** apps:
  
 <code> <code>
Line 381: Line 410:
 **NOTICE**: If you enable a **Google account**, you will find a new application installed into **/data/app/com.google.android.gms-1/**, do not remove it because it is the **Google Play Services** required to access the Play Store, etc. **NOTICE**: If you enable a **Google account**, you will find a new application installed into **/data/app/com.google.android.gms-1/**, do not remove it because it is the **Google Play Services** required to access the Play Store, etc.
 ===== Immersive Mode ===== ===== Immersive Mode =====
 +
 +:!: **NOTICE**: No need to install a dedicated app to have Immersive Mode for one App, just use the command **settings put global** from an **adb shell**, as explained below!
  
 Questo smartphone Android ha il solo pulsante fisico //Home//, i pulsanti //indietro// e //menu// sono virtuali ed **occupano la parte bassa dello schermo**. La cosa è noiosa per i programmi che avrebbero vantaggio ad usare tutto lo schermo, come un programma di navigazione GPS. Questo smartphone Android ha il solo pulsante fisico //Home//, i pulsanti //indietro// e //menu// sono virtuali ed **occupano la parte bassa dello schermo**. La cosa è noiosa per i programmi che avrebbero vantaggio ad usare tutto lo schermo, come un programma di navigazione GPS.
Line 398: Line 429:
 In this exampled we configured **net.osmand.plus** to run in **full immersive** mode **hiding the Status Bar** at the top of the screen and **hiding the Android Navigation Bar (Soft Keys)** at the bottom. In this exampled we configured **net.osmand.plus** to run in **full immersive** mode **hiding the Status Bar** at the top of the screen and **hiding the Android Navigation Bar (Soft Keys)** at the bottom.
  
-You can instead use the **immersive.status** setting if you want to keep the top Status Bar.+Beside the **immersive.full** you can use the **immersive.status** setting if you want to keep the top Status Bar and the **immersive.navigation** if you want to keep the Navigation Bar only.
  
-The setting will survive the phone reboot.+The setting takes effect immediately, even if the app is running! The setting will survive the phone reboot, you can confirm from an adb shell:
  
-FIXME How to revert to normal state?+<code> 
 +settings get global policy_control 
 +immersive.full=net.osmand.plus 
 +</code> 
 + 
 +To delete the settings: 
 + 
 +<code> 
 +settings delete global policy_control 
 +</code>
  
 +If you want to set the immersive mode for two application you have to use a comma separated syntax: **immersive.full=com.package.one,com.package.two**.
 ===== Disable Soft Keys ===== ===== Disable Soft Keys =====
  
doc/appunti/hardware/gretel_a7.txt · Last modified: 2021/08/27 23:23 by niccolo