yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 8 Questions & Answers] Sayujya_Bagchi:
In mine twrp wasn't working so I booted twrp temporarily then flashed orange fox recovery otherwise it will give u errors like these
[General Topics] vidapura:
Not sure where this question should go, some maybe someone could have a look and move it for me please?

I have an older Parrot handsfree car kit that was already built into my car when I bought it.

It works fine with android phones.. currently a poco x3 pro.. so I can make and recieve calls and it all happens through nice speakers I can hear while driving..

Great...

Lately someone called me on with WhatsApp while I was driving and I was amazed, not only did it auto answer but the call worked just fine.

That got me thinkin and I've now been able to get my daily standup call on Teams going in the car.. which is a godsend.

So, now that I realised that software calls other than just phonecalls work with the Parrot .. I 'm wondering why I cant get Player FM to play podcasts through the handsfree?

I don't have bluetooth in the builtin stereo and the cars dash is only moulded for the stock stereo. But it would be brill to be able to listen to something other than rubbish radio ads all the way home..

So I'm just wondering whats different between media player apps on the phone and 'phone' or communication apps? What is it that allows WhatsApp to send sound through the handsfree but not PlayerFM (or Pulsar) ??

Is it a routing thing? A configuration thing?

Is it anything I could change easily?

Thanks
[General Questions and Answers] renton82:
Hello, my Oppo A73 5G is stuck with colorOs 11. I know that ColorOs 12 is out for this model. How can download and update manually this device?
[Cricket Dream 5G] Welkwo:
Hi there,

I have a Cricket Dream 5G and so far I have unlocked bootloader, root via magisk, full system image backup as well as GSI support with a TWRP device tree based on the boot.img. However, the system is A/B with dynamic super partition with the recovery image being a ramdisk within the boot image. I've managed to get TWRP to boot and recognize certain device partitions, however, I can't seem to get a fully working TWRP with A/B support.

I'm also curious how I'd go about merging a working TWRP into the boot image, would someone be interested in helping me out with this? I'd be more than happy to provide any firmware files needed or other applicable information.

Thanks a lot!

Update: TWRP is now available! See post: https://xdaforums.com/t/twrp-for-cricket-dream-5g.4418963/post-86858605
[Cricket Dream 5G] Welkwo:
Hi there,

The bootloader can be successfully unlocked using the fastboot command.

Also, I'd be happy to share a Magisk patched boot image with you. Otherwise, you can backup all your partitions using This app and modify the resulting Bootimg with Magisk for root access.

Hope this helps!
[Cricket Dream 5G] Welkwo:
I've attached a Magisk Patched Boot image, just flash it to your active slot and you'll have working Magisk. You 'may' have to download the Magisk Manager app after flashing if the Magisk placeholder doesn't show up in your app Drawer.
[Cricket Dream 5G] lopestom:
It's A10 or A11?

For more help you need show the Device Tree - github is prefered. If you PORTed the TWRP you need write where you have the TWRP donor and name of device donor.

Write more details about "fully working" you need.
[Cricket Dream 5G] Drizzydraco:
What do you mean by slot ? And do I use adb to flash it?
[Cricket Dream 5G] Drizzydraco:
Do I use fastboot flash boot or fastboot flash bootloader or am I way off
[Cricket Dream 5G] Welkwo:
Thanks for your reply! I don't recall what donor device I used except it was a device similar in spec running the same chipset (MT6833) and similar screen resolution. The somewhat working twrp will boot up and can be interacted with.. Except there is no A/B support (Wrong TWRP version) and it does not find all the primary partitions in the FSTAB regardless of how much I attempt to modify it to TWRPs liking, I believe that has to do with the dynamic super partition layout and the fact that any image is based off of the boot image since there is no recovery partition and my recovery is a ramdisk inside the boot image.

I tried to compile a version of twrp myself ( Device tree: https://github.com/josephdbrewer55/android_device_Cricket_dream_5G ) with no success. It is A11 based. I really believe a lot of this is operator error on my part, I've never tried to port twrp in the past but I really want to try and kickstart development on this device as it would be great for custom ROMs and development.

Any valuable advice you could give me on this would be greatly appreciated, I'm trying to get a recovery and then after that step attempt to make a working boot image with twrp incorporated.
[Cricket Dream 5G] Welkwo:
Yes, you should be able to use this command

And it will automatically flash to your active slot.
[Cricket Dream 5G] lopestom:
That's not true! You used he tool to initialize the DT.

# Copyright (C) 2020 SebaUbuntu's TWRP device tree generator

Without donor name we cannot much.

Very (not much) devices with A10 had A/B support. I even made tests to help another device.

Now you need upload stock boot.img here for know about details. Looking for stock system.img and vendor.img too. If not have so stock super.img file is good too.

Reading my message above so the DT is not simple trying that because not have others important informations by your device.

Others info miss like BOOTIMAGE and you only put this!:

#BOARD_RECOVERYIMAGE_PARTITION_SIZE := 41943040 # This is the maximum known partition size, but it can be higher, so we just omit it

The A/B devices not have recovery.img partition!

FAQ A/B (Seamless) System Updates Standard partitions Updating partitions

Maybe I can modify or change some informations in the DT of https://github.com/josephdbrewer55/android_device_Cricket_dream_5G but you need change in the: settings - access - Collaborators - Manage access

put my avatar in the box to help u. I'll make something when I have free time.
[Cricket Dream 5G] lopestom:
Some infomations: https://xdaforums.com/t/development-for-the-cricket-dream-5g.4414603/post-86767235

@Welkwo​

Anyone can post the informations?

With stock bootloader mode -> fastboot

fastboot getvar all

With stock bootloader mode -> fastbootd

LOOK: fastbootD

fastboot getvar all
[Cricket Dream 5G] lopestom:
TEST TWRP ALPHA​

This is VERY IMPORTANT: bootloader unlocked!!​

*** Disclaimer
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this files
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
* You have been warned/

How to do: ask @Welkwo or other users with same device and who did the process.

The attached file was compiled for testing.

Spoiler content hidden.

How install TWRP

I don't really know if adb-fastboot will work on Cricket Dream 5G from what I read above regarding mtkclient. But at this point it is important that only experienced users do the test with what they can, ie adb-fastboot, SPFT or mtkclient and come back writing what worked.

Again: bootloader unlocked!!​

Spoiler content hidden.

If TWRP does not start

Unzip boot_a-Stock-Cricket_Dream_5G-MT6833-A11.zip & vbmeta_a-Stock-Cricket_Dream_5G-MT6833-A11.zip files in the platform-tools.

Spoiler content hidden.
[Cricket Dream 5G] Welkwo:
Thank you so much, I've pushed it to my device and currently, we're boot looping on the TWRP startup process. It is communicating via ADB so I have a logcat attached.

Edit: It would not let me upload the txt file, Here is a link to the txt on Mega: https://mega.nz/file/lQJA0ADb#zLodoj3hjv71cyZs3ZK0TADJdvEkvheRmmnbnE5v4PU
[Cricket Dream 5G] Welkwo:
Here is that information

PS: Sorry for the late reply! It's been pretty hectic at work these past few weeks, I've barely had any downtime to play around with this. I appreciate all of your help though!

Spoiler content hidden.

Spoiler content hidden.
[Cricket Dream 5G] lopestom:
Edit your Spoiler and erase IMEI number.

(bootloader) imei_1:

I'll look the logs after..... Good tester! (y)
[Cricket Dream 5G] Welkwo:
Woops! Didn't even see that. thanks for pointing it out
[Cricket Dream 5G] lopestom:
Do you can write the steps for instaling TWRP test file?

Can you upload the TWRP from here?: https://xdaforums.com/t/development-for-the-cricket-dream-5g.4414603/post-86766931

I need know some informations and compare with my compiled TWRP file. If you remember what device name is from that TWRP so good too.
[Cricket Dream 5G] Welkwo:
I flashed the Alpha and modded VBMeta from your post via normal Fastboot to boot_a (My active slot) and booted into recovery from Fastboot. However, I also attempted a normal boot which also kicked me off into the TWRP boot loop.

Here is the file to the ported TWRP that would boot but failed to recognize any partitions, I can't remember what device I ported from though (Newbie error)

Edit: Additional note, I've removed all device encryption
[Cricket Dream 5G] Welkwo:
Broke the image down and looked for traces of the old device info and bingo!

Android/omni_tilapia/tilapia:5.1.1/LYZ28N/30:eng/test-keys

Looks to be for the Nexus 7 (2012)
[Cricket Dream 5G] lopestom:
Thanks.

When you wrote about bootloop so not have TWRP logo?

I unpacked img Ported file and now we can knew:

TWRP version %s ..... 3.6.1_9-0

fstab is not to MT6833 device:

# Android fstab file.
# mount point fstype device
#twrp.fstab
/system ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
/cache ext4 /dev/block/platform/sdhci-tegra.3/by-name/CAC
/data ext4 /dev/block/platform/sdhci-tegra.3/by-name/UDA flags=encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA
/misc emmc /dev/block/platform/sdhci-tegra.3/by-name/MSC
/boot emmc /dev/block/platform/sdhci-tegra.3/by-name/LNX
/recovery emmc /dev/block/platform/sdhci-tegra.3/by-name/SOS
/staging emmc /dev/block/platform/sdhci-tegra.3/by-name/USP
/usb-otg vfat /dev/block/sda1 /dev/block/sda flags=removable;storage;display=USB-OTG

But I think it's _9 (Pie) version not mount super partitions so no good too.

I'll look more after with my free time.
[Cricket Dream 5G] Welkwo:
Forgot to include that detail, We are getting a TWRP logo with the build info. It just keeps soft resetting (Not full boot loop, but flashing the TWRP logo over and over.)
[Cricket Dream 5G] lopestom:
Okay. Better than black screen. ;)
[Cricket Dream 5G] Welkwo:
That's always the best kind of news! To make things more difficult on the storage side of things, we've yet to figure out a scatter for this device. I'm not sure if that'd help any with ironing out any problems with mount points in the FSTABs
[Cricket Dream 5G] lopestom:
Maybe need format Data maybe not.

In all tests I always ask you to do the formatting. But I don't know to what extent you can or can't.

I think I know why it's bootlooped. Then you can wait for another test file or do the formatting to confirm. Your choice.

Stock Recovery Mode: Wipe - Data (I think not have Davilk&Cache. But if have so make too).

The fstab is inside the boot.img file. I don't need anything more than the stock file to determine the partitions.

But to make a scatter.txt file you can even take a file from another A11-MT6833 device as a base and run tests. Some parts should be different like the location of Super and other bigger parts. But for smaller parts like boot and small partitions, it doesn't change much.
[Cricket Dream 5G] Welkwo:
I'll do a complete device backup and get back up with you in about three hours with the results of the the install after data wipe. There is not an actual dedicated Cache or Davilk partition on this device.
[Cricket Dream 5G] Welkwo:
And an update: After a data wipe we have a successful boot to TWRP, It doesn't allow me to reboot to android but all of our partitions can be mounted except for NVData (Failed to mount '/nvdata' (invalid argument)) and it's saying "invalid selection" upon selecting our internal storage in the wipe menu. Also unable to backup Internal Storage, the rest of the partitions are showing up properly.

Full SELinux support is present

Steps:

Wiped Data via recovery

Flashed Modded Meta via provided command.

Flashed TWRP Image

Edit: Here are some logs provided by TWRP

5.37 MB folder on MEGA

12 files and 3 subfolders

mega.nz
[Cricket Dream 5G] lopestom:
Uow. That's great guy!!

You really a best tester here.

I haven't time now to write instructions about booting device.

But in the 5 hours you can return and read my instructions for tests.

🤙🎉
[Cricket Dream 5G] lopestom:
Normal because NVDATA partition have more security like sec mode or untouchable. In the scatter files generally have same information of NVDATA. Example for MT6785:

partition_name: nvdata
file_name: NONE
is_download: false
type: EXT4_IMG
operation_type: INVISIBLE
is_upgradable: false

The false, INVISIBLE and false options have preventions to SPFT not flash NVDATA file. So it's security. If user want flash, need modifying that.

Don't worry because we not need modify NVDATA partition and TWRP can make file backup of that as NVRAM and NVCFG too. Other information is about structure of NVRAM: /NVDATA/md/NVRAM/.... But after with permissions to acess Data partition, the TWRP can mount NVDATA, NVCFG and NVRAM partitions. Well we have two options; with encryption/decryption mode or with encryptable mode. Now we test only Reboot device with TWRP for know if that's permanent or temporary.

The instructions below are to leave TWRP permanently on the device and restart the system normally. But need confirm the process and if that work.

Spoiler content hidden.
[Cricket Dream 5G] Welkwo:
Your steps were successful, however, it looks like after a successful boot of our stock ROM we are getting the same soft resetting error after booting into recovery after the first boot. It is trying to load and start TWRP though with the TWRP logo as before. This might be related to data encryption?

It has ADB access, logs are linked from our installed RAMDisk.

3.81 MB file on MEGA

mega.nz

I can't thank you enough for your help! Never thought I'd ever see it come this far, not quite there but we're much further than I ever imagined on this device. :)
[Cricket Dream 5G] lopestom:
Maybe Y or maybe N.

We need adjusting other parts about storages because as Cricket, TMobile, Amazon and others brands put your own "things" like differents USB adress PIDs.....

Look TWRP Log:

I:Starting MTP
I:Cannot find file /sys/class/android_usb/android0/idVendor
I:Cannot find file /sys/class/android_usb/android0/idProduct
I:[MTP] Starting MTP
I:sending message to add 65537 '/data/media/0' 'Internal Storage'
I:Message sent, add storage ID: 65537 '/data/media/0'
I:Can't probe device /dev/block/mmcblk0p1
I:Unable to mount '/external_sd'

But I know about that because I not change anything for tests in this first moment. As I wrote the companies place their own differential property lines.

So we need looking test by test TWRP files to solve that because maybe is not simple (not much permissions acess).

I need the correct adress for MicroSD (external_sd). You can use TWRP terminal, adb-fastboot or termux. I cannot help with this.

One that commands should work.

adb -s XXXXXXXXX shell cat /proc/partitions

adb -s XXXXXXXXX shell ls -l /dev/block

cat /proc/partitions

ls -l /dev/block

cat /proc/mounts

XXXXXXXXX - is a Serial Number from your device

fastboot devices

That show Serial Number.

You can use this too so maybe more easy.

ADB RUN - New perfect tool for your Android
[Cricket Dream 5G] Welkwo:
Here are the outputs, these were run via ADB from TWRP..

Spoiler content hidden.

Spoiler content hidden.

Spoiler content hidden.
[Cricket Dream 5G] lopestom:
I forgot about using MicroSD in the device.

But confirm to me if you inserted before and your device has MicroSD with 32GB?

other is OTG with other storage with 32GB or same MicroSD above?

Now install stock boot - Recovery mode or fastboot......

Repeat the process and let me know the informations with MicroSD and/or OTG inserted.
[Cricket Dream 5G] Welkwo:
I had a feeling we needed to repeat on stock, done and done. I do have a 32GB SD inserted currently and earlier it was inserted during boot after data wipe. I completely forgot about it so I didn't check to see if it's working.

Spoiler content hidden.

Spoiler content hidden.

Spoiler content hidden.
[Cricket Dream 5G] lopestom:
Thanks.

Now I need time to confirm all informations - update - compile other twrp file test.....

But in this moment I'll send PM for more informations & improvements.

Have a nice day............ ; ]
[Cricket Dream 5G] DrScrad:
Which version of Magisk is this boot.img patched with?
[Cricket Dream 5G] Welkwo:
It should be v23
[Cricket Dream 5G] DrScrad:
v23 has the ability to perform MagiskHide correct?
[Cricket Dream 5G] Welkwo:
Yes, it works. The module manager was removed though, a good replacement is Fox Magisk Module Manager.
[Cricket Dream 5G] Welkwo:
a
[Cricket Dream 5G] Welkwo:
==============================UPDATE=============================

We now have working TWRP support, thanks to lopestorm

WARNING: AS WITH ANY SYSTEM MODIFICATION, THERE IS A RISK OF BRICKING YOUR DEVICE. THIS IS PROVIDED WITH ABSOLUTELY NO WARRANTY, PROCEED AT YOUR OWN RISK. I AM NOT RESPONSIBLE FOR BRICKED/DAMAGED DEVICES, LOSS OF DATA, OR ANY OTHER CONSEQUENCE UP TO BUT NOT LIMITED TO NUCLEAR FALLOUT.

YOU WILL NEED TO FORMAT DATA TO HAVE WORKING TWRP, AND BACKUP ANY DATA YOU WANT TO KEEP.

YOU MUST BE BOOTLOADER UNLOCKED.

HAVE A COPY OF STOCK FIRMWARE BEFORE PERFORMING ANY MODIFICATION TO YOUR DEVICE, THIS IS EXPERIMENTAL AND HAS A POSSIBILITY TO FAIL.

OBTAIN A COPY OF STOCK FIRMWARE HERE

​

Now, let's begin :)​

​

NOTE: DURING THIS PROCESS IF YOU ALLOW THE PHONE TO STARTUP BEFORE FLASHING EITHER MODIFIED VENDOR OR SUPER, YOU WILL NEED TO FACTORY DATA RESET AGAIN. FAILURE TO DO SO WILL LEAVE ENCRYPTION IN PLACE AS THE DEVICE ENCRYPTS ITSELF DURING STARTUP WITHOUT MODIFICATION.

​

Step 1. Flash the attached vbmeta using fastboot.

fastboot --disable-verity --disable-verification flash vbmeta vbmetaAndroidSC_mod.img
fastboot reboot recovery

Step 2. Boot into factory recovery and perform a factory reset.

Step 3. While in factory recovery, select "enter fastboot" which should take you to FastbootD

Option 1: Step 4. flash This Vendor Image from FastbootD mode. This will remove File-Based Encryption from your device.

Spoiler content hidden.

fastboot flash vendor (Vendor image here)

Step 5. We're almost done! Now, grab the attached TWRP image and flash it and reboot to recovery.

fastboot flash boot (TWRP image here)
Fastboot reboot recovery

Once TWRP starts up we will need to Format Data by going to Wipe >> FORMAT DATA >> Enter yes. You will have to repeat this several times until you see " You may have to reboot recovery to use /Data again" message (If it soft resets, you didn't factory data reset!) we need to go to install our recovery ramdisk.

Move the attached stock Boot IMG and TWRP IMG to your device via MTP and follow the steps below.

Step 1, Advanced: Unmap Super Devices: Swipe to Confirm;

Step 2, Advanced: Merge Snapshots: Swipe to Confirm;

Step 3. Menu (home option button);

Step 4. Install --> img: boot_a.img => section: Boot;

Step 5. Menu;

Step 6. Advanced- Install Recovery Ramdisk - select: TWRP-DEC.img;

Step 7. Confirm selection.

Step 8. Menu;

Step 9. Reboot - System

Hopefully, android will boot with working TWRP!
[Cricket Dream 5G] DrScrad:
I'm getting an error saying that the vendor partition doesn't exist when trying to "fastboot flash vendor (vendor image here)" .. i'm obviously not typing (vendor image here) btw.
[Cricket Dream 5G] Welkwo:
Make sure you are Flashing from FastbootD inside stock recovery, the normal device Fastboot doesn't allow you to flash vendor. Possibly because it's a super device.
[Cricket Dream 5G] DrScrad:
Do you have a stock recovery img pleasse? i somehow don't have that backed up.. ****. because twrp is flashed now... so if you could post the stock recovery.img i could do the proper steps in order.
[Cricket Dream 5G] Welkwo:
Here you go , you can also flash vendor image via TWRP as well :)
[Cricket Dream 5G] DrScrad:
you do realize you posted the boot_a.zip? i figured you had a recovery.img to flash or is it witiin the boot.zip you sent
[Cricket Dream 5G] Welkwo:
You have to extract the zip, we can't directly upload IMG files here. our phone has recovery built into boot IMG.
[Cricket Dream 5G] DrScrad:
Invalid sparse file format at header magic

Resizing 'vendor_b' FAILED (remote: 'Not enough space to resize partition')

Thats's the error i receive when trying to flash the vnedor from stock recovery.
[Cricket Dream 5G] Welkwo:
Maybe try flashing the image through TWRP?

Step 1. Boot into TWRP

Step 2. Transfer Vendor.IMG to device via MTP

Step 3. Select Install and then select "Install image" at the bottom of the screen. Navigate to where vendor image is saved on storage and select it and proceed with install.

Let me know what that does, the above image was originally a TWRP backup
[Cricket Dream 5G] DrScrad:
Okay, what i'm going to do is have to go back from the very beginning and completely restore that stock firmware that you posted int he OP. Because I can't find the sotck firmware anywhere elese online.. how do you propose i should go about resatoring the satock firmware?

Only reason I say that is because I keep getting that invalid response upon flashing the vendor and if i try flashign it as a .img through TWRP, i'm not given the option to flash it to the vendor partition.. it shows me every other partition but not vendor.. I have vendor boot in the options to flash it to but i don't think that's anywhere the same.. i 'll [post pictures in a ibt qwhen i finish eating.
[Cricket Dream 5G] Welkwo:
I will upload a stock super image when I get home and post instructions to flash.
[Cricket Dream 5G] DrScrad:
ok my man.. i appreciate it and I apologize for rthe trouble..
[Cricket Dream 5G] Welkwo:
You're absolutely fine, I've actually decided to go another direction. My device has a modified super image which has all partitions RW and the modified Vendor built in. Would you like for me to share my devices super instead so that you won't have to start from step one?
[Cricket Dream 5G] DrScrad:
That would be fantastic..
[Cricket Dream 5G] Welkwo:
It's uploading now, I'll send it over as soon as upload is complete. Just stay tuned
[Cricket Dream 5G] Welkwo:
Here you go: https://mega.nz/file/CpE3BSzJ#B8vA1108at0Tdd9DpE5OIgsEmBoV_Y8PlwY2uHotzTU

Flash with command

Fastboot flash super (Image file here)

Fastboot reboot recovery

This can be flashed from both BOOTLOADER Fastboot or FastbootD, this will not replace the device boot image. So TWRP will not be replaced by this flash. This should have the vendor change incorporated.

You must follow instructions to install TWRP as recovery ramdisk from my post if you haven't already to boot into android normally with TWRP installed. If this is successful I might just change the step completely to just flash modified super. This will break safety net, you will need to install Magisk flashable zip and use universal safety net fix along with Magisk props to fix device certification. (Google is your friend on getting these)

Meanwhile, I'm working on a complete device backup of stock files to share with everyone with this device. That's pending but I'll share shortly.
[Cricket Dream 5G] DrScrad:
I just woke up and plan on doing this just as soon as it downloads.. I know how to flash teh Magisk Props and do the proper commands in termux to initiate the props hack. Luckily I keep all of these things donwloaded (becsase I have a **** internet connection so donwloasding things take forever so I make sur eto keep them).. I'll be in touch and let you know if this worked.. I don't know why it shouldn't... however.. when this finally does download, I'm goiong to start completely over from Step 1 just for good measure. I'll check back in just as soon as I flash this module.