yashsingh1/xdaforums huggingface dataset:
[Huawei Developers] Jack Wu Shenzhen:
Introduction

Huawei Dynamic Tag Manager (DTM) is a dynamic tag management system. We can manage tags, events dynamically from web UI. It also helps to send data to third party analytics platform like Huawei Analytics, Google Analytics, Facebook Analytics and AppsFlyer etc.

How DTM improves our business?

As we know, it’s a Dynamic Tag Management System. So if we are sending events on any page, button click or Navigation to other screens, we can filter those events dynamically from web.

For example, Pharmacy app is used for purchasing medicine online and it shows the list of medicine and price. When we click on Buy button to purchase medicine, it will send the Medicine name, id, price and description to Huawei Analytics. But if we are putting condition on web UI for price (price > 10), then we will get analytics data of those medicine which is having price more than 10 INR. Like this we can manage lot of things. With these features we can analyze our data smoothly and can make profit which will help to improve our business.

Let us start with the project configuration part:

Step 1: Implement IAP (In-App Purchase) in Pharmacy App.

Step 2: Install Huawei DTM NuGet Package.

Step 3: Install Huawei.Hms.Hianalytics package using Step 2.

Step 4: Select Project Setting > Grow > Dynamic Tag Manager and enable it.

Step 5: Enter the details and click OK to create DTM configuration.

Step 6: After configuration success, it will create the Configuration code.

Step 7: Click Version tab and create version.

Step 8: Click Variable tab and click Configure/Create button to set Preset/Custom variable for events and tags.

a) Preset Variable: These are predefined variables which can be used to configure most of the tags and conditions. Currently DTM provides 18 preset variables.

b) Custom Variable: You can also create your custom variable for tags and conditions according to your project. Currently 6 types of custom variables are present.

Step 9: Click Condition tab and create the condition.

Step 10: Click Tag tab and create the tag.

Step 11: Select Project Setting > Huawei Analytics > App debugging and enable it for getting real time analytics data.

Step 12: For checking the real time events, enable debug mode by using below commands.

Enable

adb shell setprop debug.huawei.hms.analytics.app <package_name>

Disable

adb shell setprop debug.huawei.hms.analytics.app .none.

Now your configuration part completed.

Let us start with the implementation part:

Step 1: Initialize Huawei Analytics inside MainActivity’s OnCreate() method.

Step 2: Send the events using Huawei Analytics OnEvent() method.

Now implementation part done.

Result

Tips and Tricks

Please enable app debug mode using command “adb shell setprop debug.huawei.hms.analytics.app <package_name>”.

Conclusion

In this Article, We have learnt how to improve our business with the help of Huawei Dynamic Tag Management System. We can also place some ads on the basis of user engagement on the application to maximize our profit.

To learn more about DTM, please visit:

>> DTM official website

>> DTM development guide

>> DTM codelab
[Huawei Developers] muraliameakula:
Can we get customized list of events with this DTM?
[Huawei Developers] Jack Wu Shenzhen:
Yes, DTM can get all the custom events and do some processing.
[Huawei Developers] Basavaraj.navi:
How long it takes to reflect DTM condition change in the client application?
[Huawei Developers] Jack Wu Shenzhen:
Hi, for Android/iOS, it takes 6 hours. for Web it takes 15 minutes.
[Huawei Developers] muraliameakula:
What are the permissions required?
[Huawei Developers] Jack Wu Shenzhen:
Hi, DTM SDK will be started and closed with the call of relevant interfaces. No additional actions will be done in the background. The required permissions are: INTERNET and ACCESS_NETWORK_STATE.
[Samsung Galaxy A12] noob_a12:
Hello!

After a successful rooting i wanted to install Lineageos but i see no 'system' partition in the advanced wipe selection window.

There is Dalvik / ART Cache, Product, ODM, Metadata, Data, Internal Storage, mnt/vendor/nvdata etc..

I did oversee the missing system partition in the first place and wiped every Partition as mentioned in the guide:

Then i went on to Install and i didn't pay much attention to that line in the guide.

Instead of installing it to the 'System Image' i installed it to 'Super (system vendor product odm)' and rebooted. I didn't boot Lineageos (what a surprize), so i tryed to install it to the boot partition, the recovery, optics and prism partition without success (what a surprize²).

After desperately trying to install i started to use my brain and clicked here and there and in the log window of the advanced wipe i read:

Then i went to Mount and i saw that only Data and Cache are checked. So i clicked on System but it won't check. It stays unchecked. There is a seperate checkbox 'Mount system partition read-only' it was checked, so i unchecked it and it disappeared. Still can not check System.

I tryed to Format Data in Wipe but without success. I get the same errors in the log.

I use TWRP Version from here:

https://xdaforums.com/t/aosp-11-unofficial-samsung-sm-a125f-twrp.4317131/

I hope somebody can help me because i haven't found anything about Block device required on the internet.

Edit:

This is the fstab file:

The dmesg log:

dmesg a125f - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

pastebin.com
[Samsung Galaxy A12] LAST_krypton:
This is a bug in the TWRP, I mentioned that if you get that issue flash dyna patch to enable wirteing on DYNAMIC_PARTITIONS in RECOVERY_MODE. Explained here too:

https://xdaforums.com/t/covering-some-misleading-theories-and-issues-with-our-a12.4336999/
[Samsung Galaxy A12] noob_a12:
In the TWRP terminal i check if dm-verity with avbctl get-verity as mentioned here. But i get an error: sh: avbctl: inaccessible or not found

Nethertheless i tryed to disable dm-verity as explained here. I installed 'Disable_Dm-Verity_ForceEncrypt_11.02.2020' after it says Done! Updating partition details... i get again:

I rebooted anyway and after that i still wasn't able to mount System. I got the same Failed to mount error. Then i found a newer Version of disable-dm-verity but still without success.

Then i installed Dynapatch-1.5. I flashed TWRP before with an empty vbmeta.img. After Dynapatch i rebooted but still the same error. I can't mount System.

I tryed to install dm-verity and then without booting Dynapatch but without success.

I don't know what i'm doing wrong. I stick with the install instructions of the programs but nothing seems to work.

Here's the Advanced Copy Log:

Advanced Copy Log A12 - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

pastebin.com
[Samsung Galaxy A12] LAST_krypton:
Follow my guide for rooting and then flash TWRP, then in TWRP flash dynapatch.

https://xdaforums.com/t/unlocking-the-bootloader-and-rooting.4331859/
[Samsung Galaxy A12] noob_a12:
I installed the stock firmware and rooted again. In TWRP at mount i can now check System and i don't get the 'Failed to mount (Block device required)' errors anymore.

I installed disable-dmvarity and dynapatch. In Mount the 'Mount system partition read-only' checkbox is gone, i guess that's a good sign.

Still, with System checked in Mount i

don't see any 'system partition'

in Wipe Advanced Wipe.

I tryed both disable-dmvaritys.

The Copy Log:

Copy Log A12 after Stockfirmw. rooting - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

pastebin.com
[Samsung Galaxy A12] LAST_krypton:
flash dynapatch again then, happend to me a couple of times too. it can be buggy sometimes
[Samsung Galaxy A12] gueladio67:
Hi. You can stabilize the afaneh92 twrp or the twrp you use. Put recovery inside minimal adb & fastboot folder. Reboot to recovery. In the recovery mode now you can see the fastboot option and reboot on it, then connect you're device to the PC and in the search bar fastboot folder where you place the recovery type cmd press enter, the terminal should open.

Type: 1-) fastboot devices

2-) fastboot flash recovery recovery.img

3-) unplug your devices reboot to recovery

4-) install Samsung multidisabler

5-) reboot to recovery , backup only boot IMG then flash magisk 22.0.zip and reboot directly to the system.

You can install after the GSI for your android easily. If you have problem to install gsi. You can tell me. Enjoy!
[Samsung Galaxy A12] gueladio67:
To install GSI image. Copy the system IMG in the internal memory or sdcard. If you have install magisk , uninstall it ( magisk can uninstall properly itself). Then reboot to recovery, flash samsung multidisaber, reboot to recovery again, backup boot image only. Don't wipe nothing.

Flash the system image to his slot,

Flash magisk 22.0 zip. Go now to Wipe and Wipe all data factory reset only.

Reboot to your new system and enjoy. Thanks
[Samsung Galaxy A12] hd_scania:
And i found i forgot to flash DynaPatch on TWRP

every turns

before

i flash others else

When every turns DynaPatch has been flashed but TWRP still reports block devices not found, then the TWRP itself is buggy, requires @edward0181 to follow up those all issues and fix, finally also upgrade to the next release
[Samsung Galaxy A12] hd_scania:
And @Yillié please update your DynaPatch

Even though after it was flashed with the latest TWRP by @edward0181 released those recent days ago, my device still says not even a single OS is installed even when an GSI image is successfully flash onto my Super partitions after flashing your DynaPatch which is too old for those latest GSI’s

Given those GSI’s are stable, then both DynaPatch and TWRP are buggy, that’s all

Esp @Yillié your final release of DynaPatch was at the previous autumn
[Samsung Galaxy A12] Yillié:
1) Dynapatch ain't supposed to be a proper solution. Hou could consider it kind of a hack to that is to be used when fastbootd doesn't work or you don't have access to a PC.

2) Please attach your recovery logs + a link to the twrp build rather than saying xxxx's twrp.

3) I'd appreciate if you'd briefly describe the issue again..
[Samsung Galaxy A12] MauriJ2001:
follow the Edward's twrp install for gsi thats worked for me to boot the stock room before you installed twrp just flash a nulled VBMETA in userdata with twrp

https://xdaforums.com/t/aosp-11-unofficial-samsung-sm-a125f-twrp.4317131/post-85451753
[Samsung Galaxy A12] hd_scania:
View attachment 5577291View attachment 5577265View attachment 5577269View attachment 5577275View attachment 5577277View attachment 5577279View attachment 5577267View attachment 5577271View attachment 5577273View attachment 5577281View attachment 5577265View attachment 5577269View attachment 5577275View attachment 5577277View attachment 5577279View attachment 5577267View attachment 5577271View attachment 5577273View attachment 5577281
[Samsung Galaxy A12] hd_scania:
Also trying to fix mountpoints issues, but all failed up to now, all those mountpoint dirs are existing, but it somewhy still says "no such files or directories"

Running some commands from TWRP terminal on that build also reports (On TWRP Mount menu those below all couldn't be mounted, so requires Terminal to continue fixing) ...

# mount -o rw system /system_root
mount: system -> /system_root: no such file or dir
# mount -o rw system /system_image
mount: system -> /system_image: no such file or dir
# mount -o rw vendor /vendor
mount: vendor -> /vendor: no such file or dir
# mount -o rw odm /odm
mount: odm -> /odm: no such file or dir
# mount -o rw product /product
mount: product -> /product: no such file or dir
# mkdir -pv /system_root /system_image /vendor /odm /product
# mount -a
mount: system -> /system_root: no such file or dir
mount: system -> /system_image: no such file or dir
mount: vendor -> /vendor: no such file or dir
mount: odm -> /odm: no such file or dir
mount: product -> /product: no such file or dir
#

https://xdaforums.com/t/q-twrp-befo...find-partition-size-for-system_image.4425277/
[Samsung Galaxy A12] Yillié:
Uh just those screenshots don't help a lot. Like I said before, please attach the recovery.log ( Advanced >> copy log ) in a reply and provide the direct link to the twrp build's xda post. Also please confirm that super partition is fine or in order words system, vendor , odm product etc do indeed exist and can at least be mounted read-only. If you can't mount them read only or Incase super partition is messed up, please flash stock super.img via Odin or twrp or AP+HOME_CSC/CSC in Odin.
[Samsung Galaxy A12] hd_scania:
Those screenshots already contain

important

logs on sth that were being flashed

But you instead need

full

TWRP logs? However, if no errors are logs are unneccessary

So

errors, warnings, and flashed media only

TWRP logs are enough?

What to do after having flashed stock Super? After having flashed stock Super in the Mount menu System, Vendor, ODM, and Product partitions in solo could be mounted again
[Samsung Galaxy A12] gueladio67:
Hi. You can fix this twrp by reflashing it in fastboot mode in twrp using sdk plateform tools..

Cmd: 1-fastboot devices

2- fastboot flash recovery recovery.img

3- reboot to recovery and all these problems can be fixed.

If you need details send a msg. Thanks
[Samsung Galaxy A12] Jbrimb:
Reviving an old thread for an issue that's still real :

My Poco X3 Pro had exactly the same errors as on the screenshots, flashing super.img and dtbo.img from another phone fixed it.

To extract these images from another phone go on the twrp file manager, go to /dev/block/by-name and copy the img super and dtbo files, then add the .img extension manually

You could also try to download these 2 imgs online, or extract them from a rom
[Samsung Galaxy A12] Dmitriy_1996:
Добрый день.

Пожалуйста, объясните подробно.

У меня точно такая же проблема.

Где взять img super и btbo
[Samsung Galaxy A12] Jbrimb:
Find the imgs in a fastboot rom for your phone. If you have a poco x3 pro it is easy to find. The fastboot rom contains an img for every partition for the phone

You can either restore the phone with the fastboot rom normally (search on YouTube)

Or extract it and flash manually with fastboot the imgs that you want
[Samsung Galaxy A12] eriveltonssa:
onde colo esse arquivo dtbo e super amigo?

na pasta dev/block/ a pata by-name não existe, porem eu peguei os arquivos dtbo e super de uma fastboot mais não sei onde colocar os arquivos pra tentar instalar qualquer coisa, tudo da erro a instalar, sem sistema no poco x3 pro .

já tentei de tudo aqui mais nada da certo me ajudeeeemmmm.
[Samsung Galaxy A12] Jbrimb:
You should simply restore the phone using the fastboot rom, there are guides for this on YouTube and it is very simple.

fastboot flash name name.img pretty much always works also (just for information)

fastboot flash dtbo dtbo.img for example
[Samsung Galaxy A12] eriveltonssa:
Já instalei via mi flash uma rom no formato fasboot.

e ainda continua dando o mesmo erro de partição.

Eu não sei mais o que fazer.

Agora estou tentando fazer o flash via adb fastboot dtbo e super.
[Samsung Galaxy A12] eriveltonssa:
I already installed via mi flash a rom in fasboot format.

and still keeps giving the same partition error.

I do not know what else to do.

I am now trying to flash via adb fastboot the dtbo and super.

I installed dtbo and super using adb fastboot and even so the error continues, I can't mount anything in mount.

formatdata doesn't work either.

manager partitions the Data is in f2fs format and I can't repair to EXT4
[Samsung Galaxy A12] Jbrimb:
Oh wow so you need to reformat every partition to it's original state ! You can either do it manually in Adb Shell (from recovery with a pc) and use command mkfs.ext4... (search for exact command)

Or you can try to restore the stock partition table using this https://github.com/Icesito68/Port-Windows-11-Poco-X3-pro/blob/main/guide/English/restore-stock-en.md

It's from a guide on installing windows on PocoX3Pro, to restore the partition table on uninstallation
[Samsung Galaxy A12] eriveltonssa:
How do I mount partitions using adb shell?

I'm a beginner in this field.

I don't know what to do, I read the article about Windows, I found it even more complex, but could you help me by passing on what would be the commands?
[Samsung Galaxy A12] Jbrimb:
You would need to download gtp_both0.bin file from github, place it in your fastboot directory, poot phone in fastboot mode and then run

fastboot flash partition:0 gpt_both0.bin

I must say though that i have never done this and although I am pretty sure it would resolve your problem by setting back the proper partition table, with the right partitions in ext4; run the command at your own risk
[Samsung Galaxy A12] eriveltonssa:
C:\platform-tools>fastboot flash partition:0 C:\platform-tools\gpt_both0.bin

Sending 'partition:0' (44 KB) OKAY [ 0.015s]

Writing 'partition:0' OKAY [ 0.173s]

Finished. Total time: 0.217s

C:\platform-tools>

What to do now ?
[Samsung Galaxy A12] Jbrimb:
Now run fastboot erase userdata (this will format your data, not an issue it is long gone by now given your issue)

Now hopefully if you reboot to your recovery (TWRP or orangefox i think that you have) the errors should be gone

If they are not I have another idea to try and save your poco
[Samsung Galaxy A12] eriveltonssa:
C:\platform-tools>fastboot erase userdata

******** Did you mean to fastboot format this f2fs partition?

Erasing 'userdata' OKAY [ 0.017s]

Finished. Total time: 0.033s

C:\platform-tools>

How do I create partitions using adb shell?

the commands etc
[Samsung Galaxy A12] Jbrimb:
Hopefully the partitions are now all ext4, this was the point of restoring the partition table

Now go back to your recovery, and the errors should be gone
[Samsung Galaxy A12] eriveltonssa:
I went back and it's still the same, should I use miflash after passing the fasboot process?

How do I create partitions using adb shell?

the commands etc
[Samsung Galaxy A12] Jbrimb:
Okay so my last idea is this :

Go to recovery mode on the phone, and plug the phone to your pc

On your pc, run this adb command :

adb shell

You should see something like Vayu#: now the commands that you run are in the phone's terminal

then go

mke2fs -t ext4 /dev/block/by-name/vendor

This should reformat your vendor partition as ext4, then try to see if you still get the error for vendor

(on top of your photo we "see failed to mount vendor... etc", try to see if after formatting it this way it still shows this error) you'll still get the error for the others
[Samsung Galaxy A12] truongvu3:
I have the same issue on my Galaxy A51 after mistakenly flashing the ROM in the super partition.

Does anyone know a solution? I tried everything in this thread already....
[Samsung Galaxy A12] Dester.exe:
Hey I did the same to my Zenfone 9 and I managed to fix it by flashing stock "super.img" in fastboot.

https://xdaforums.com/t/partitions-screwed-up.4567903/post-88319733

Try to find that for your phone. Hope that helps.
[Samsung Galaxy A12] truongvu3:
I just flashed a stock ROM with Odin and my problem was gone. Thank you!
[Samsung Galaxy A12] sygnozee:
I have the same problem on the failed to mount vendor but when I tried to install the stock ROM

But It will give me an error. What am i missing?
[Samsung Galaxy A12] sygnozee:
Does this guide still applicable on s21 ultra?

Have the same error. Failed to mount on vendor product and ODM?
[Samsung Galaxy A12] GIFTY@MI:
Hello guys I have same problem with my poco x3 pro while I was using pixel rom in it

One day I was changing to elixir rom but it was unsuccessfull. Then my phone stuck on bootloop. When I wipe data and installing again it shows me this error

Please help
[Samsung Galaxy A12] arsfr:
Is this a Poco X3 Pro forum? No.

Go to the Poco forum, samsung and poco is different company and phone, so we cannot help.
[Samsung Galaxy A12] parvaiz!:
So, finally I founded the solution

First you will change fastboot mode connect the pc to install offical rom and flash in offical flash tool.(my device poco X3 pro)

I hope this information is useful
[General Topics] xanderkain:
Greetings to all the experts here I just want to know if theres a HTC counterpart of this phone. Id like to know because Im planning to purchase one and hopefuly upgrade its ROM to a similar HTC unit thank you for the information..

http://www.mobiletechreview.com/phones/MWg-Zinc-II.htm
[General Topics] guap:
it looks like a clone of touch cruise
[Google Pixel Questions & Answers] mkdr:
Since I upgraded to Android 12, Google Assistant is randomly crashing, mostly when asking a location question like "where is the next supermarket". It starts with "I have found severa-" and then just force closes.

I have found out, that opening Google Maps sometimes randomly makes it to work, but then 1-2 days later it starts to crash again. Also activating "ok google" command seems to fix it for a while, I disable it, working, but then some days later it starts to crash again.

Have tried to remove Google app, reinstall Google app, clear Google app data, install Google Beta App, nothing helped.

Here is a list of countless people having the same issue:

https://www.reddit.com/r/GooglePixel/comments/qhjet4

Anyone on here found out how to solve it? Factory reset also doesnt seem to fix it.

This is unbelievable, no official bug ticket so far it seems by Google, that they are even aware about the issue.
[Google Pixel Questions & Answers] mkdr:
I have found out what is causing it and how to solve it. Read my reddit post on here how to fix it, who is affected by it:

https://www.reddit.com/r/GooglePixel/comments/r392xb
[General Topics] guevr001:
You know your an xda addict when.....

1.You tell your spouse you will pm them instead of text .

2.When you flash the same rom twice just to feel the rush.

3.Your dinner converation consist of "honey you won't beleive what happened today at xda"

4.You name your first born after your favorite cook

5.You tattoo flames on your knuckles.

6.You have been written up at work for flashing your phone.

7.When your spouse walks into the room you quickly bring up porn to hide the xda site.

8.You become nervous when Your spouse catches you secretly hacking your phone in the guest room. "honey its not what you think!"

9.You get jealous when your friends touch you phone.

10.You rather check the weather on the phone then look out the window.

11.Your spouse says to you " for the last time put your stylus away I already told you I do not have a reset button!!!"

12.You start handing out bans at home.

13.You force your kids to read xda threads specificly the ones to long to read but expect them to take notes.

14.Your alone time isn't really alone time its xda and you time.

15.You make a thread that's says you know your an xda attic when..... Lol and miss spell addict twice lol

16.Your spouse complains you touch your phone more then you them.

I hope these put a smile on your face keep them comming funny only please.
[General Topics] TheBundo:
I think you mean adict. An attic is the space between the ceiling and the roof. Good thing my dad made me stay in school through the ninth grade.
[General Topics] guevr001:
thank you simple typo I have fixed it some what. and yes I know what an attic is there was no need define it. :mad:
[General Topics] webwiz:
I must say this stuff is funny n i m an XDA addict.
[General Topics] The Reaper:
This one got me ROFL :D It raises multiferous thoughts in a perverted mind like mine :p

good one guevr001...
[General Topics] guevr001:
haha thanks for the love guys. feel free to add some of your own. my girl is always rolling her eyes when she see me on line. lol :rolleyes:
[General Topics] guevr001:
what is ROFL?
[General Topics] Ev0luti0n_:
Rolling On the Floor Laughing

there is also: ROFLMAO

guess that one out. :D
[General Topics] guevr001:
You know your an XDA addict....

.....when you post a link to your XDA profile via facebook

more to come.....