G34/84 5G Guide

[ Main ]‎ ‎ ‎ Extras
Contact us on Motorola G34 5G Official

Tip. Use desktop view if you're viewing in the phone for better view.

Note. This guide is in continuous development, found ANY mistake/doubt, report/ask immediately in the community or directly to Dr Faizal or Anand Dwivedi.

Basic info

  • Released on 2024-01-17
  • Codename: fogos
  • Original OS
    Original operating system of this phone.
    Several versions are available there.
    Get software channel name and build number from settings > about phone. Then download the one that matches.
    If you're not running stock rom then use the command

fastboot getvar ro.carrier

To find your software channel

GCam (Google Camera)

There are various working gcam for this device
Here are the few that produce good results

BSG 8.1
APK,config and lib
Video Stablisation fix
Impressions:-

  • Photos with very balanced and natural colors
  • Super stable and fast processing
  • Video recording is working
  • Potrait mode good

Bugs:-
None
Overall good enough to replace stock cam

LMC 8.4
APK and config

  • To load config open the cam app once then install a decent file manager like zarchiver. After that move the config to LMC 8.4 folder which is present in root of internal storage
  • Then open cam and double click black space near shutter button and load your config

Impressions:-

  • Very saturated photos so good for landscape and nature photography
  • Smooth performance
  • Portrait mode good
  • Fast processing

Issues:-

  • Selfies have reddish/orangish tint on the face
  • Video recording is unusable

Ads will be reduced/completely-removed

This will end or reduce your suffering with ads:
Input dns.adguard-dns.com in
settings > network & internet > private DNS
exactly as it is written, without space anywhere.

What it does:
It'll not let the ads to load. Works throughout your phone (and maybe also in the other devices connected to its network, eg through hotspot) that includes: your browser, apps, websites, etc. You'll save your resources, battery, internet and time loading a website or an app.

How it works:
Think of DNS as a translator that converts user-friendly URLs into numerical IP addresses. The thing you input is a free adguard DNS. Whenever a URL associated with an ad needs to be translated in order to load the ad, this DNS service effectively renders it null. Typically, ad blocker applications utilize device resources to detect and block ads. By default, users rely on their Internet Service Provider's (ISP's) DNS, so either way, you are using a DNS.

You can find more info on it by searching adguard DNS on google and visiting https://adguard-dns.io/en/public-dns.html
OR

Use Adguard adblock app, It's a much more full fledged solution

For getting rid of YouTube ads you can use alternative clients like ReVanced or Newpipe

Show clock seconds in status bar

How it looks?

settings put secure clock_seconds 1

Default value is 0.

Show internet speed, daily usage

Want to show internet speed, daily wifi, mobile data usage on the status bar?
Use DataMonitor (you have to go to its settings first, just go through all the options and set them as you want).

Swap “back” and “recents” buttons

Hold on settings app > widgets > add it > 3-button navigation > open it and enjoy!

Although now they are too close to each other in contrast to default arrangement.
Android had an option in the past to adjust spaces, order, even remove some of the buttons.

Unlock bootloader

This method is extracted from official Motorola bootloader unlock page. I modified and simplified it and fixed the broken links.

Divided in 5 sub sections:

Outline and warnings

To unlock the bootloader, you need to find and enter your device ID in Motorola unlock bootloader page and they will give you a unlock key which you will use to unlock the bootloader.

The moment they reveal the key for you, your warranty is voided and it will not come back even after relocking

You will recieve ota on stock no issues with unlocked bl as long phone isn't rooted

Motorola over expressed their feelings for why one shouldn't not unlock the bootloader even to death, bullshit I say.

Prerequisites

Getting your device ID

  1. In developer option, enable “OEM unlocking” and “USB debugging”
  2. Connect your phone with your PC using the cable
  3. Put your device in fastboot mode: adb reboot bootloader
  4. Make sure the device is recognisable by the PC in fastboot mode: fastboot devices
  5. Get your device ID: fastboot oem get_unlock_data

This fastboot command will return linear sequences of characters called strings.

You'll need to join together the 5 lines of output into one continuous string without any other text or white spaces, remove if there's something like “INFO”, “(bootloader)” in the string.

This new continuous string is the device ID which you will be using to generate your unique unlock key.

Getting your unlock key

  1. To get your unlock key, copy the device ID string, being sure there are no spaces, and paste it into the “Make sure your device is unlockable” field here at the bottom (you have to log in first). And tap on the Can my device be unlocked? button.
  2. A new Request Unlock Key button should appear at the bottom of the page. Agree to their whatever and tap on that button.
  3. You will receive your unlock key through the email address you used to log in here.

Unlock it and done

fastboot oem unlock 𝘺𝘰𝘶𝘳𝘜𝘯𝘭𝘰𝘤𝘬𝘒𝘦𝘺

Custom recovery

Before any flashing you MUST have bootloader unlock, guide is on previous section.

Right now Motorola Moto G34 5G (fogos) supports the following recoveries

  • TWRP (Official)
  • OFOX (Unofficial)
  • SHRP (Unofficial)

NOTE : Recovery is under boot partition on this device

Installing custom recovery

You can download the latest releases of recoveries from here

Given recovery_latest.img the file you have downloaded (it could be twrp-3.7.1_12-0-fogos.img ,shrp.img etc..)

  1. To temporary boot run

    fastboot boot recovery_latest.img

IMPORTANT you must not run

fastboot flash boot recovery_latest.img

If you do so you will screw your system!
To fix that you need to get latest boot.img from stock or custom rom and run

fastboot flash boot boot.img

Now you will be able to boot to system but custom recovery will not be installed so repeat the process from beginning of 1.

  1. After recovery has booted you need to

    1. Flash recovery as permanent (optional but recommend if you want recovery to stick on reboot)

      • TWRP:
        - Advanced
        - Flash current TWRP
      • Orange Fox Recovery:
        - Click setting icon up right
        - Flash current Ofox

      NOTE permanent installation will remove root follow next section for installing magisk again

    2. After permanent recovery installation, you need to reboot to recovery (If recovery still show up you did everything right if not you failed somewhere repeat section 1 from temporary boot)
    3. Optional: Flash Magisk
      - Dowload latest MagiskLatestStable.zip from here
      - Then flash it in recovery (if you don't know how to do that search surf the web)
      - Congratulations now recovery is permanent and you have root :)

Custom ROM

Installing custom rom with custom recovery

NOTE: if you want to flash custom rom using a custom recovery follow this steps:
IMPORTANT after temporary boot to recovery don't reboot unless it's specified.

  • Temporary boot custom recovery, if u haven't flashed the recovery permanently

    fastboot boot recovery_latest.img

  • IMPORTANT flash copy-partitions.zip if you are flashing custom rom for the first time.
  • Flash custom rom
  • Format data
  • Flash Gapps (if rom is vanilla, not needed in pixel based roms such as hentaiOS)
  • (Optional) Install recovery as permanent, then reboot to recovery
  • (Optional) Flash MagiskLatestStable.zip if u want root
  • Reboot and enjoy ;)

NOTE: you can't flash official Magisk.apk or Magisk.zip in custom recovery, it will not work you must use MagiskLatestStable.zip

Increase performance & battery

  • Debloat your phone. There's too much bloat and trash running on background by default
  • Disable RAM boost, All it does is waste cpu usage and wear out ufs
  • Don't keep social media apps in recents for extended periods, Trust me those are optimized like crap and suffer memory leaks which causes stutter
  • Prefer using Open source apps more than the Big corporate garbage
  • Turn off move to wake feature in peek display, That keeps the accelerometer always on

Misc

adb shell

Roughly speaking, shell is a program inside which you enter commands and it runs them for you.
In our context there are two types of shell:

  • system shell: zsh, bash if you're on linux, macos; or the default program which runs the command for you when you open command-promt powershell in windows
  • adb shell: the shell inside which adb commands are run

Running adb shell enable pkgName is equivalent to
running enable pkgName inside adb shell.

To enter adb shell, just run adb shell inside a terminal or command-prompt. Note that command-prompt is not a shell, it's another program to access the shell similar to linux, macos terminal. Also note that in LADB you are by default inside adb shell.

If you're interested to know more about these things, you can always search on the WWW.

How to use LADB?

First read all the below instructions then follow them.

  1. Install LADB from this link
  2. Connect to a WiFi, doesn't matter if it has internet or not
  3. Enable developer option and go to WiFi debugging
  4. Split settings app and LADB
  5. Open pairing code option in WiFi debugging settings and remember the code and port (it is after the colon “:” and of 4 characters) switch to the ladb app enter these and tap pair now
  6. Now you can run the commands

Common settings through adb

These are the common settings available in Android you can access through adb.

You can list them by running (pick one):

settings list <secure/system/global>

And before changing any values you should know the default value in case to revert. Use get to get:

settings get <system/global/secure> 𝘱𝘳𝘰𝘱𝘦𝘳𝘵𝘺𝘕𝘢𝘮𝘦

Use put to change:

settings put <system/global/secure> 𝘱𝘳𝘰𝘱𝘦𝘳𝘵𝘺𝘕𝘢𝘮𝘦 𝘱𝘳𝘰𝘱𝘦𝘳𝘵𝘺𝘝𝘢𝘭𝘶𝘦

Safe mode

It will disable all third-party apps you have installed.
They will get restored once you boot in normal mode.
Useful in troubleshooting, etc.

To boot into safe mode:

  1. Press and hold power button
  2. Tap and hold on “Power off” option

Debloat

How to?

Note. I recommend you to use universal-android-debloater a PC program; but if you don't have a PC you can use LADB to remove bloatware

Some terminology (only applies to system apps, and to this guide):

  • Disable: Think it as a toggle, when turned on an app can't expand anymore, can't run, it just like bacteria can't grow anymore when freezed but still alive.
  • Completely disable: Similar to disable but it will make the app size 0 B when viewed from app info.
  • Uninstall: Roughly speaking, removes for the specific user but the installer still remains in the system.
  • Completely uninstall (needs root user access): It literally means what it means; the particular package (aka app) will no longer be in the system.

Talking about space, a completely disabled app is going to save 0 space when uninstalled.

Also some disabled apps show some space like 24 kB, 6 MB. Make sure their updates are removed and you cleared the app data that is possible to be cleared. And if even after that they don't show 0 B, consider them completely disabled, you can't do much on them. And I don't know if you could save any space by uninstalling them. App size like 24 kB is negligible, although 6 MB is not but you can ignore it if 6 MB is only for one-two app(s).

In some cases it's better to completely disable an app instead of uninstalling it.

To completely disable the app:

  1. Disable the app either from app info if you can, or by pm disable-user --user 0 pkgName and
  2. Uninstall its updates if any (ie restored it to factory version), here's how (you will see the search icon there if there aren't any updates) and
  3. Clear its data either from the app info if you can, or by pm clear pkgName, (if the clear app data option is greayed out and there is app data that could be cleared, enable the app, then clear its data, and then disable it or simply use the command to clear it)

To enable the app you can either from the app info if you can or by pm enable pkgName

universal-android-debloater does all the three steps in one click for you, but doing these steps in ladb is a hassle (unless you're a pro).

So if you're using ladb you may want to uninstall the app instead of disabling it because of the hassle:

pm uninstall --user 0 pkgName

And to get it back, pm install-existing pkgName

Safe to disable/uninstall

Info. * implies external description is provided.

External descriptions

Tip. Open external descriptions section in new tab for better viewing.

Third party (no doubt bloatware)

By default these apps are disabled by your phone but when you install a corresponding app of these apps from playstore, they get enabled. But don't worry once you disabled them manually they aren't gonna enable unless you do.

Nickname Package name
Meta App Installer com.facebook.system
Meta Services com.facebook.services
Mobile Device Information Provider com.amazon.appmanager
Meta App Manager com.facebook.appmanager

Region Specific

If you live in India or somewhere cell broadcast isn't used, you can disable the following packages:

Nickname Package name
NA com.android.cellbroadcast.overlay
NA com.android.cellbroadcastreceiver
NA com.android.cellbroadcastservice.overlay
Cell Broadcast Service com.google.android.cellbroadcastservice
Wireless emergency alerts com.google.android.cellbroadcastreceiver

What is cell broadcast?
Why does in India?

Moto & Lenovo

Nickname Package name
Camera* com.motorola.camera3
Moto Camera Content 3* com.motorola.camera3.content.ai
Camera Desktop Settings* com.motorola.motcameradesktop
Motorola Notifications* com.motorola.ccc.notification
Device Care* com.motorola.motocare
Device Help* com.motorola.genie
Moto feedback* com.motorola.help
Device Management* com.motorola.ccc.devicemanagement
Lenovo ID* com.lenovo.lsf.user
Device configuration* android.autoinstalls.config.motorola.layout
PAKS* com.motorola.paks
App Box* com.motorola.brapps
MotoApps com.aura.oobe.motorola
Moto Discovery com.motorola.discovery
Moto Tour com.motorola.mototour
Interactive wallpapers com.motorola.livewallpaper3
Games com.motorola.gamemode
Ready For engine com.motorola.mobiledesktop.core
Moto Widget com.motorola.timeweatherwidget
Moto Display* com.motorola.motodisplay
Motorola face unlock* com.motorola.faceunlock
Screenshot editor com.motorola.screenshoteditor
Adaptive volume com.motorola.dynamicvolume
Moto Power Touch com.motorola.motofpstouch
Moto Actions & Gestures com.motorola.actions
FM Radio com.motorola.fmplayer
FMRadioService com.motorola.android.fmradio
Recorder com.motorola.audiorecorder
Personalise com.motorola.personalize

Google

Nickname Package name
Google com.google.android.googlequicksearchbox
Assistant com.google.android.apps.googleassistant
Google Assistant* com.android.hotwordenrollment.okgoogle
Google Assistant* com.android.hotwordenrollment.xgoogle
Maps com.google.android.apps.maps
Duo com.google.android.apps.tachyon
YouTube com.google.android.youtube
YouTube Music com.google.android.apps.youtube.music
YT Music com.google.android.apps.youtube.music.setupwizard
Google TV com.google.android.videos
Android Auto com.google.android.projection.gearhead
ARCore* com.google.ar.core
Android Accessibility Suite* com.google.android.marvin.talkback
Speech services by Google* com.google.android.tts
Contacts com.google.android.contacts
Phone com.google.android.dialer
Messages* com.google.android.apps.messaging
Files by Google com.google.android.apps.nbu.files
Files* com.google.android.documentsui
NA* com.google.android.overlay.modules.documentsui
Gmail com.google.android.gm
Google One* com.google.android.apps.subscriptions.red
Drive com.google.android.apps.docs
Photos com.google.android.apps.photos
Chrome com.android.chrome
Clock com.google.android.deskclock
Styles & wallpapers com.google.android.apps.wallpaper
Gboard com.google.android.inputmethod.latin
Calendar com.google.android.calendar
Calculator com.google.android.calculator
Data restore tool* com.google.android.apps.restore
Google Location History* com.google.android.gms.location.history
Digital Wellbeing* com.google.android.apps.wellbeing
Print Spooler* com.android.printspooler
Default print service* com.android.bips
Emergency information* com.android.emergency
Market Feedback Agent* com.google.android.feedback

External descriptions

• Nickname (if it has one otherwise “NA”) • Package name (Globe icon implies available in playstore; it's tappable) • Description (if available otherwise blank)

Camera

com.motorola.camera3 🌐

Moto Camera Content 3

com.motorola.camera3.content.ai 🌐

Camera Desktop Settings

com.motorola.motcameradesktop 🌐

Motorola Notifications

com.motorola.ccc.notification 🌐

If you opt-in, it sends periodic product-related information, including notifications on software updates, tips & tricks, survey and information about new Motorola products and services.

Device Care

com.motorola.motocare

Moto Care was renamed in "Moto Help" and then in "Device Help"
Provide support features.
https://mobile.softpedia.com/blog/Moto-Care-App-Gets-Updated-Now-Called-Motorola-Help-432827.shtml
However you can both have com.motorola.genie (Device Help) and this package so it's strange.

Device Help

com.motorola.genie 🌐

An app that checks hardware status and gives the user contacts for support.

Moto feedback

com.motorola.help 🌐

Lets you rate your device and share feedback with Motorola.

Device Management

com.motorola.ccc.devicemanagement

Mobile Device Management (MDM) allows company’s IT department to reach inside your phone in the background, allowing them to ensure your device is secure, know where it is, and remotely erase your data if the phone is stolen.
You should NEVER install a MDM tool on your phone. Never.
https://onezero.medium.com/dont-put-your-work-email-on-your-personal-phone-ef7fef956c2f
https://blog.cdemi.io/never-accept-an-mdm-policy-on-your-personal-phone/

Lenovo ID

com.lenovo.lsf.user

Lenovo ID adds an option in Settings>Accounts where you can login to a Lenovo ID account.
Features include "exclusive features directly from Lenovo and our partners" and "syncing users information across devices"
lsf = Lenovo Service Framework

Device configuration

android.autoinstalls.config.motorola.layout

Device configuration for Motorola
AutoInstalls a set of OEM apps on device setup (first boot/factory reset).
A layout?

PAKS

com.motorola.paks

ADB: Package Protected.
My Q Paks
Third-party application bundles
https://www.financialmirror.com/2007/10/31/motorola-packs-moto-q-9h-global-smart-device-with-third-party-applications/

App Box

com.motorola.brapps 🌐

Disabled by defualt in non-Brazil countries I guess.
Offers you a selection of applications developed by Brazilians and also apps selected for you.

Moto Display

com.motorola.motodisplay 🌐

Displays notifications with the screen off (like the Always On Display feature from other OEMs)
https://support.motorola.com/uk/en/solution/ms108519

Motorola face unlock

com.motorola.faceunlock 🌐

Unlock your device by simply looking at the display.
Face unlock is bad for security and privacy:
https://www.ubergizmo.com/2017/03/galaxy-s8-facial-unlock-photograph/
https://www.kaspersky.com/blog/face-unlock-insecurity/21618/
https://www.freecodecamp.org/news/why-you-should-never-unlock-your-phone-with-your-face-79c07772a28/

Google Assistant

com.android.hotwordenrollment.okgoogle

"OK Google" detection service.

Google Assistant

com.android.hotwordenrollment.xgoogle

"OK Google" detection service.

ARCore

com.google.ar.core 🌐

Google Play Services for AR (Augmented Reality)
Note: Disabling it can mess with apps that use it, like Pokemon GO.
https://beta.pithus.org/report/99ea324529f950fe351d22724f8b894cce19c16607fcc9c2855bc906b1f8e644

Android Accessibility Suite

com.google.android.marvin.talkback 🌐

(https://play.google.com/store/apps/details?id=com.google.android.marvin.talkback)
Helps blind and vision-impaired users.

Speech services by Google

com.google.android.tts 🌐

Default Text To Speech (TTS) engine on most of Android devices. It enables apps to convert text into voice.

Pithus analysis: https://beta.pithus.org/report/08f97758fbfae1e17c4a8e5ee1a1e6d2726ce6b0b4931d5452f2376d60f1b4fb

Note: many apps like navigation and health/sport apps rely on a TTS engine to provide speech services. Open-source TTS engines available on Android exists but, as of the end of 2022, there is only RHVoice (https://f-droid.org/en/packages/com.github.olga_yakovleva.rhvoice.android/) and it doesn't support a lot of languages. Mimic3 (https://mycroft.ai/mimic-3/) is probably the future of IoT open-source TTS engine but there is no Android support yet

Messages

com.google.android.apps.messaging 🌐

Google Messages (SMS+RCS)
Runs in the background.
QKSMS is a good FOSS replacement.
WARNING: Removing this may cause issues with receiving 2FA verification text messages and calls from Google on some devices. Please let us know your experience with this on https://github.com/0x192/universal-android-debloater/pull/250 (give your phone model + Android version)

Files

com.google.android.documentsui

Occasionally runs in the background.
File selector for other apps. Another file browser can replace most of the functionality, but not all apps support that.
Safe to disable, but will of course break file saving/loading functionality for some apps.

NA

com.google.android.overlay.modules.documentsui

Files Theme pack
Guessing it's a pack of themes for the stock Android File Browser, based on the name.

Google One

com.google.android.apps.subscriptions.red 🌐

Lets you manage your Google cloud storage.\nOccasionally runs in the background.

Data restore tool

com.google.android.apps.restore 🌐

The backup restore wizard used for pulling Android system backups from your Google account.
Runs on boot.
You only need this if you factory restore, in which case it’s automatically re-enabled for you.

Google Location History

com.google.android.gms.location.history

https://support.google.com/accounts/answer/3118687?hl=en
I'm guessing this runs in the background unless you have this setting turned off in your Google account. I have the setting turned off and I've never seen this package run.

Digital Wellbeing

com.google.android.apps.wellbeing 🌐

Lets you track device and app usage and set usage limits.
WARNING: It is now a hard dependency for the settings app on Android 12+ on Pixel phones. Disable this package instead of uninstalling it or the settings will crash on launch.

com.android.printspooler

Print Spooler
Manages the printing process.
Runs on boot, but not beyond that.
WARNING: Disabling breaks the connection preferences submenu in the settings app on most devices, but other than that it only breaks printing functionality and is safe to disable.

Default print service

com.android.bips

Default Print Service.
Generic printing service that should work with most printers.
Will break printing functionality if disabled, but other replacement print services can be downloaded from the Play Store.

Emergency information

com.android.emergency

Emergency rescue
Shows emergency info on lockscreen and power menu. Safe to disable if you don't want it.
Loads on device unlock/lockscreen and power menu, so it's basically always cached in RAM, but shouldn't use much/any battery, so the main thing gained from disabling this package is the ~9MB RAM it uses.

Market Feedback Agent

com.google.android.feedback

This is the package that sends crash-report feedback to the Play Store? The crash pop-up still happens with this disabled.
Doesn't seem to run on its own.
Has permission to access system logs and package usage stats. Only connects to 4 Google domains. App developers likely have to go through the Play Store to access any sent data.
https://beta.pithus.org/report/7041823ff880c207ed2ddacdc92e5ed803b1eb105e4483696d2152bea44903aa



Sources:



This page is a part of Moto G34/84 5G Community.

Edit

Pub: 09 May 2024 18:18 UTC

Edit: 01 Jul 2024 07:16 UTC

Views: 10728