yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] alecxs:
sorry can't help. ask others. i don't own device. is it problem only for you, specific rom, or generally? volte is working again when flashed stock rom? IMEI is healthy?

edit: nevermind, i don't even know what volte is, or how it works. my device is very old (3G only)
[Android Q&A, Help & Troubleshooting] InfernoCR:
Edit:dont flash twrp 0.3,use 0.2 instead.for some reason it didnt boot.
[Android Q&A, Help & Troubleshooting] Munirathinam:
Any update about Volte gsi ROM???

---------- Post added at 01:37 PM ---------- Previous post was at 01:23 PM ----------

What about volte gsi ROM????
[Android Q&A, Help & Troubleshooting] jameeldroid:
does this 0.2 recovery keeps encryption enabled? i don't want my phone to lose encryption. :D
[Android Q&A, Help & Troubleshooting] GRPPANDIAN:
Bro its an Generic Rom so VoLTE Not available at this stage.Try MIUI 11 GSI ROM it has Full Futures.

---------- Post added at 01:21 PM ---------- Previous post was at 01:19 PM ----------

check setting>security>My Phone Shows phone not Encrypted.
[Android Q&A, Help & Troubleshooting] alecxs:
[MENTION=10410363]GRPPANDIAN[/MENTION] how can you say that this twrp variant has successfully decrypted, when your phone isn't encrypted at all?

someone with ENCRYPTED phone please do a test and post recovery.log
[Android Q&A, Help & Troubleshooting] contactwajeeh:
New TWRP with support of flashing older zips that uses /system as the mount point.

Credits goes to [MENTION=3326821]henk717[/MENTION], read more about it on his thread here I just used his idea and implemented for our device. Also removed a lot of partitions that were not necessary and rather harmful if someone with no knowledge wipes it so better to hide it.

Downloads

TWRP v0.3

System mount zip

also, I ported a MIUI GSI from the Redmi 6 (which is also a mediatek device (p22) same as ours), if someone would like to test it. please get it from the below link, porting tools used are from Erfan so all credits to him if it works.

MIUIGsi

Edit: as reported not working by many users, I am removing this gsi link.

Disclaimer: Again, this is all testing stuff. I dont own the device you take full personal responsibility of any damage the usage of this recovery may cause rather than blaming it on me.
[Android Q&A, Help & Troubleshooting] AshhRED:
Thanks for the breakthrough..

1. Supported firmware version for TWRP 0.3???

2. TWRP link broken..please update.
[Android Q&A, Help & Troubleshooting] alecxs:
[MENTION=1178954]contactwajeeh[/MENTION] many thanks for the update, and for providing the first working port for X650C! guess there will be a v0.4 soon, because encryption probably needs to be fixed (and ANDROID_ROOT still needs to be changed in init*.rc)

bind mount /system_root/system -> /system was also my first idea (we could place script somewhere and execute it from /sbin/permissive.sh to fully automatize this btw) but this Mount-System.zip works only if system is not wiped (because all depends on testing already existing directory /system_root/system) so it MUST fail after wipe+reboot

didn't find a good test condition so decided just keep the symlink /system -> /system_root/system instead of bind mount (which still may break some zip's if they test for directory)

i like the idea, but the proper way should be that dev's will make compatible zip's and test for system-as-root on its own, instead of just flashing into /system (and accidentially mess up things)
[Android Q&A, Help & Troubleshooting] contactwajeeh:
it works fine for me. I am sure the firmware version change is not going to effect the booting of recovery as far the device is unlocked.

---------- Post added at 12:21 AM ---------- Previous post was at 12:00 AM ----------

I already implemented the procedure that you shared here for the decryption issue, now someone on stock have to confirm if the decryption works for them or not. Apart from that, what suggestions you have let me know I am all ears.
[Android Q&A, Help & Troubleshooting] InfernoCR:
Changing export ANDROID_ROOT from /system to /system_root will break the recovery,or at least for me
[Android Q&A, Help & Troubleshooting] Munirathinam:
This gsi rom support volte ???

And native video call???

I want xos camera for gsi rom??
[Android Q&A, Help & Troubleshooting] InfernoCR:
I have a few questions:

-what miui version is this?

-can i go back to stock just by flashing system.img from fastboot rom?
[Android Q&A, Help & Troubleshooting] GRPPANDIAN:
MiUi Supports VoLTE

MiUi Supports VoLTE
[Android Q&A, Help & Troubleshooting] contactwajeeh:
It's miui v11 based gsi on Android pie (ported from redmi 6 (cereus) using Erfan Gsi tools.

---------- Post added at 06:16 PM ---------- Previous post was at 06:15 PM ----------

Should be possible, don't forget to wipe data just in case after flashing system.img from stock.
[Android Q&A, Help & Troubleshooting] InfernoCR:
https://xdaforums.com/project-treble/trebleenabled-device-development/pie-erfan-gsi-ports-t3906486/amp/ do you still need to flash permissivier?
[Android Q&A, Help & Troubleshooting] Papichoolo:
I have the Infinix X650B. I am on the latest Stock ROM OTA. But there is alot of lag in the phone, especially switching apps. It's really annoying, how can get rid of the lag or improve performance.
[Android Q&A, Help & Troubleshooting] contactwajeeh:
It's recommended
[Android Q&A, Help & Troubleshooting] Munirathinam:
Which partion need to wipe for flash gsi rom???
[Android Q&A, Help & Troubleshooting] Munirathinam:
Tell me wipe partion
[Android Q&A, Help & Troubleshooting] InfernoCR:
Have you already flashed gsi?i believe it has the same step
[Android Q&A, Help & Troubleshooting] InfernoCR:
Anyone experienced "need auth file....something..." Problem when flashing with spflash tool?
[Android Q&A, Help & Troubleshooting] AshhRED:
Use TECHNO FLASH TOOL.. its compatible
[Android Q&A, Help & Troubleshooting] Munirathinam:
I think sp flashtool not working.

I'm using techno tool
[Android Q&A, Help & Troubleshooting] InfernoCR:
Did you booted miui gsi?i want to try it
[Android Q&A, Help & Troubleshooting] Munirathinam:
Still no bro.

No net connection
[Android Q&A, Help & Troubleshooting] Munirathinam:
Everything is fine twrp v3???

Or any problem???
[Android Q&A, Help & Troubleshooting] darylzero:
miui gsi dosent work no boot animation stuck on infinix screen ,back to xos firmware
[Android Q&A, Help & Troubleshooting] jameeldroid:
root the phone and install Brevent.
[Android Q&A, Help & Troubleshooting] darylzero:
i used 3 gsi roms to test

havoc latest

AOSP latest

miui gsi rom on xda

all have the same problem VOLTE,camera but all in all better then stock as i dont use VOLTe and camera is replaced by gcam
[Android Q&A, Help & Troubleshooting] Munirathinam:
We need to port xos camera.

And

Fix volte that's it.
[Android Q&A, Help & Troubleshooting] InfernoCR:
Wait,you can use gcam?is it with hdr+ or old gcam?because as i know this device camera manual mode(raw support,ss,ISO) is limited in stockrom
[Android Q&A, Help & Troubleshooting] GRPPANDIAN:
Which miui ROM u install?

Which miui ROM u installed and its booted?
[Android Q&A, Help & Troubleshooting] jameeldroid:
Please we need twrp with encryption support. When magisk can support encryption then why not twrp?
[Android Q&A, Help & Troubleshooting] alecxs:
magisk is not involved in encryption/decryption process. it is true that magisk stores files in /data/adb, but this requires successful decrypted proper mounted /data (like for every other app)

usually decryption in twrp should work with same flags as /vendor/*fstab, but it may require additional files from other partition. for this the "mounttodecrypt" flag exist. unfortunately it is hard to understand how exactly it works, and i don't know which partition (i would just try all, but i don't have device for testing). i could find a list with flags and there is a explanation of flags

but i don't know if twrp supports encrypted F2FS file system type

can you say this X650C / XOS 5.0 is running Full Disk Encryption (FDE) or File-Based Encryption (FBE)?
[Android Q&A, Help & Troubleshooting] Munirathinam:
How to backup this rom.

Xos ROM??
[Android Q&A, Help & Troubleshooting] darylzero:
this is the gcam i use not hdr

http://www.mediafire.com/file/wyhv3...minAPI24%28armeabi-v7a%29%28nodpi%29.apk/file

this is lbetter gcam for havoc rom also works very good

http://www.mediafire.com/file/n32socmgqp5ps86/GCam-5.1.018-Pixel2Mod-Arnova8G2-V8.3b1.apk/file

- HDR+ on and HDR+ enhance on both front and rear camera.

havoc is very good gsi rom have completely shifted to it

it might not have everything but it is better then stock bloatware and tracking stock rom

i will try for a better camera and volte support but in time for now i am very satisfied with havoc

remeber havov has vendor support for infinix check in github and most of the features few as in very few dont work,also havoc works best on infinix better them almost 90% of the phones
[Android Q&A, Help & Troubleshooting] Munirathinam:
Bro

Volte Fixed??
[Android Q&A, Help & Troubleshooting] AshhRED:
found the right??

1. COMMANDS

2. Flashing SEQUENCE

3. necessary FILES

to boot TWRP+MAGISK properly.

WORKING ??

1. TWRP booting

2. MTP Enabled

3. Orange State Disabled

4. DM-Verity disabled

5. Phone DECRYPTED

6. Disk quota

7. MAGISK-SU

8. Root persists even after manual reboots

9. Can delete files from

ROOT/system/product/operator/app {EXCEPTION}

to save 500MB of space

ISSUES??

1. Can't MODIFY SYSTEM PARTION

2. Can't remove BLOATWARES (can be DISABLED) but not delete as they are part of

ROOT/system/app

ROOT/system/priv-app

tampering with files even with root access leads to

FASTBOOT-BOOTLOOP, only way to restore is to flash the whole STOCK ROM with TECHNO-FLASH-TOOL.

the whole notion of ROOTING the device is to have SuperUser access to remove unnecessary files and MODIFY SYSTEM to our needs and I don't think we are still there yet..
[Android Q&A, Help & Troubleshooting] alecxs:
please don't mix up terms "decrypted" with "unencrypted" twrp decryption still needs to be tested/fixed
[Android Q&A, Help & Troubleshooting] alecxs:
can someone please upload dump of metadata partition?

cat /dev/block/platform/bootdevice/by-name/metadata > /sdcard/metadata.img
[Android Q&A, Help & Troubleshooting] InfernoCR:
https://mega.nz/#!LfRV3I7R!Op6RFbNesh5QuazB4q7mnoehlAv7xfOHY9_TMHWx5i8
[Android Q&A, Help & Troubleshooting] IDEOS_GUY:
hello everyone,

i have some questions regarding the device:

1.can you backup the stock rom with twrp?if yes then does it backup modem and efs partition?

2.in a previous post there is a problem regarding flashing gapps ,is this problem regarding all flashable zips like viper4arise(sound mod). or it has been solved?

3. is gsi roms can be installed as a daily driver and does it contain full system root ?

4.there is a method to install gsi roms using fastboot without installing twrp ,is it better or first install recovery

thank you everyone for working for this device
[Android Q&A, Help & Troubleshooting] Munirathinam:
Bro Volte Fixed?? Tell me.

---------- Post added at 12:30 PM ---------- Previous post was at 12:25 PM ----------

Can You Port any other os.

I want full stock experience.

Volte support

Native video call support

Multi user option.

Call volume problem.

Fix this all pls
[Android Q&A, Help & Troubleshooting] darylzero:
Please understand

i make this very simple

VOLTE is not possible on ANY gsi rom

EVERYTHING else you will get on other gsi rom

Havoc rom

Fast charging

volume control

call volume control

CAMERA - GCAM forward cam +flash,Back cam + flash ,Video ,HDR - Working
[Android Q&A, Help & Troubleshooting] InfernoCR:
What about night sight?
[Android Q&A, Help & Troubleshooting] alecxs:
looks like a standard full disk encryption, all i found was this

Android FDE crypto footer
-------------------------
Magic : 0xD0B5B1C4
Major Version : 1
Minor Version : 3
Footer Size : 2352 bytes
Flags : 0x00000000
Key Size : 128 bits
Failed Decrypts : 0
Crypto Type : aes-cbc-essiv:sha256
Encrypted Key : 0xA24ED8ADECFFF394AD1539D210B48621
Salt : 0x60318FFCD25F49EBC4AC4472F8C00856
KDF : scrypt+keymaster
N_factor : 15	(N=32768)
r_factor : 3	(r=8)
p_factor : 1	(p=2)
crypt type : PIN
FS size : 48728031
encrypted upto : 48728031

use twrp 0.2 see post #283 there is list of all partitions. in newer version all partitions removed, but you still can adb pull /dev/block/platform/bootdevice/by-name/md1img for manually backup (see partition list page 17)

working on it. at moment you need to manually mount /system_root/system with Mount-System.zip (in next variant there will be a mount check box)

it is build with ro.build.system_root_image=true so it can be flashed full system-root-partition

it is the same result (flashed full system-root-partition)
[Android Q&A, Help & Troubleshooting] alecxs:
i am not aware of any rooting tool that can root android pie
[Android Q&A, Help & Troubleshooting] holi1:
Exactly! Thenks
[Android Q&A, Help & Troubleshooting] Munirathinam:
Any updates???
[Android Q&A, Help & Troubleshooting] jameeldroid:
are we making any progress here? what do we have so far? what is working and what is not? i would request OP to please make a manual. thank you
[Android Q&A, Help & Troubleshooting] Munirathinam:
How to use front Flash light on video calls??

Not in xos.
[Android Q&A, Help & Troubleshooting] AshhRED:
OP

updated.

Hit THANKS if found USEFUL.
[Android Q&A, Help & Troubleshooting] contactwajeeh:
I have ported some GSI's using ErfanGSI tools (all credits to him for this awesome tool) from a similar chipset as ours, good thing is that volte works on all of them, you need to follow generic gsi flashing instructions and as soon as you boot to the home screen you need to install gms apk (available on the link mentioned below) and reboot it once to get everything smooth. Camera could be broken on some roms, use open camera in that case.

GSI's Download
[Android Q&A, Help & Troubleshooting] AshhRED:
1. GSI OS UI ???

2. can you port one using the

* INFINIX STOCK XOS UI

* VIVO FUNTOUCH OS
[Android Q&A, Help & Troubleshooting] contactwajeeh:
I tried porting Infinix stock, but it didnt work something is broken in the stock rom which is preventing from porting it to a GSI. others are already available, just search around. I just ported those who has maximum functionality as compared to stock.
[Android Q&A, Help & Troubleshooting] AshhRED:
Based on MIUI ?
[Android Q&A, Help & Troubleshooting] Munirathinam:
Can I use gms apk to havock gsi ROM.it work????
[Android Q&A, Help & Troubleshooting] davedh123:
gapp

I have installed havok 2.9 pie gsi ab rom

** havok installed and working

** gapp not installed. system partition insufficient space. I try to recover free space by twrp.

** gapp and bitgapp both installed but stop rom booting at a logo

** system mount patch not working for mount system partition

please guide
[Android Q&A, Help & Troubleshooting] alecxs:
Mount-System.zip is not working because there is no mount point (folder). type 'unlink /system' + 'mkdir /system' in terminal and try again

i made some experiments with Mount-System.zip and integrated bind mount

it is not backwards compatible with non-treble roms (like the Mount-System.zip) but it will fix the gapps problem for system-as-root devices

before flashing gapps, tick the checkbox to mount System

thx [MENTION=10409553]InfernoCR[/MENTION] for testing and screenshots

Download: TWRP v0.4
[Android Q&A, Help & Troubleshooting] AshhRED:
With /system mounted in TWRP_v0.4, is it possible to delete system apps/files without bricking the device with BOOT-LOOP ????

Since it's predecessor failed to do so, the BLOATWARES take up to 1GB of space in /ROOT directory.. any other way to remove them permanently without installing a CUSTOM-ROM or GSI ????
[Android Q&A, Help & Troubleshooting] alecxs:
as discussed earlier page 30 i don't know why your device is crashing. i know from MIUI that some apps (in concrete SecurityCenter.apk) can not be disabled/deleted, but this problem is not related to modifying system partition in general, guesswork it is MIUI thinking it is neccessary required (like youtube think it requires google play services), and so does XOS

you can post a list with apks you want to remove, maybe someone can help in particular

(seems others don't have problems with modifying system)
[Android Q&A, Help & Troubleshooting] AshhRED:
Since we are having issue regarding CUSTOM-ROM port with STOCK-XOS..

Do you think the device will accept the unsigned-repacked modified(BLOATWARE-free) STOCK system.img ??

https://forum.hovatek.com/thread-21005.html

I just want to keep the storage as lite&efficient..
[Android Q&A, Help & Troubleshooting] alecxs:
as for my understanding you can flash anything because the patched vbmeta.img should disable AVB
[Android Q&A, Help & Troubleshooting] AshhRED:
[MENTION=1178954]contactwajeeh[/MENTION]

Would you plz try to repack an unsigned stock XOS modified(BLOATWARE-FREE) system.img with rewritable partition..

Pref Ver:- V224

APPRECIATE YOUR EFFORTS:svetius:
[Android Q&A, Help & Troubleshooting] jameeldroid:
i still wondering why it is not working for you. it has worked for me since i patched my device with magisk and installed root.

can you try the following.

make a backup of your phone and then start disabling bloatware apps from adb shell with root access. this can be done from cmd in windows.. it has worked for me.. i disabled all bloatware from adb shell and then installed tinanium backup and removed the bloatware forever.. no boot loops nothing. and my root is also working..
[Android Q&A, Help & Troubleshooting] AshhRED:
Disabled everything I wanted.. my problem doesn't include system bloats... The issue is with GOOGLE APPS... I am trying to delete core com.google processes and apps from

ROOT/SYSTEM/APPS

ROOT/SYSTEM/PRIV-APPS

If AVB is disabled due to modified vbmeta.img then the

ROOT/SYSTEM partition should work with

Linux permission CHMOD-777 + MAGISK_CORE-USAGE

For -rwx..
[Android Q&A, Help & Troubleshooting] alecxs:
don't chmod anything, android requires it's exact permissions, uids, xattrs, secontext. you should remove each app for it's own and reboot. some google stuff can't be removed
[Android Q&A, Help & Troubleshooting] jameeldroid:
use "MT manager" or "MIxplorer" apk for deleting.. both of them retain permissions very well and never gave me a problem.

i have removed all google apps except google play services and play store...

and then to save more RAM i am using brevent as a app freezer.. it is best

and i have used servicly to disable system updates.. it kept bothering me over and over again.. now disabled and in peace.
[Android Q&A, Help & Troubleshooting] AshhRED:
I'm already on

*MIXplorer

*APK-MANAGER(ROOT)

*LSpeed

*BATTERY-LAB

for optimization, my battery backsup upto 2dayz by my usage profile & memory kicks up upto 2.7GB free RAM on avg... As for the device post ROOT performance, the HOT-8 truly outdid itself .. my only propaganda here is to free up as much storage as possible in ROOT/SYSTEM partition.. i know it doesn't really effect anything but I'm still gonna try to clear it up.

Tnx for the tip on "MT-MANAGER", I'll give it a shot & update the outcome ASAP.
[Android Q&A, Help & Troubleshooting] alfZKI:
can anyone tell me how to re-lock bootloader?
[Android Q&A, Help & Troubleshooting] AshhRED:
The commands for RE-LOCKING BOOTLOADER are

"adb devices"

"adb reboot bootloader"

"fastboot devices"

"fastboot flashing lock"

* the device will ask for confirmation

press VOL+ for YES

"fastboot reboot"

I strongly suggest you to not do it unless you are on COMPLETE STOCK... if you are having issue during booting, try flashing

"ORANGE_STATE_DISABLER.zip"

..

Please Refer OP

https://xdaforums.com/android/help/infinix-hot-8-t3986799/post80598837

for Complete guide.
[Android Q&A, Help & Troubleshooting] InfernoCR:
Do i need to flash fastboot rom first?

do i need stock recovery or twrp?
[Android Q&A, Help & Troubleshooting] AshhRED:
Yes, STOCK recovery and ROM is required to RE-LOCK BOOTLOADER otherwise you'll run into BOOTLOOP for flashing modified .imgs

...

TO FLASH CUSTOM ROM/RECOVERY an UN-LOCKED BOOTLOADER is required.
[Android Q&A, Help & Troubleshooting] AshhRED:
OP updated

SECTIONS:-

*Pre-Requisites

added TWRPv0.4 thanks to @aIecxs

*ScreenShots:-

removed attached .imgs and added direct links, so that .imgs should appear directly below the refferenced step to avoid confusion.
[Android Q&A, Help & Troubleshooting] jameeldroid:
what do we have in twrp 0.4? does it support encryption?
[Android Q&A, Help & Troubleshooting] AshhRED:
*TWRPv0.4 comes with integrated BIND_MOUNT.

*You can RE-ENCRYPT the device..

Follow the ScreenShot
[Android Q&A, Help & Troubleshooting] alfZKI:
can i boot into fastboot mode when im on orange state?(complete stock),because i cant go to recovery mode so im not sure you cant go to fastboot mode
[Android Q&A, Help & Troubleshooting] alecxs:
orange state is just a warning that bootloader is unlocked, nothing to worry about. it takes up to 60 seconds or longer even it says 5 seconds. if you can't enter recovery mode it has other reason.

as others said do not lock bootloader. you will brick
[Android Q&A, Help & Troubleshooting] mahekvora1997:
[MENTION=9658203]AshhRED[/MENTION] can you please join a telegram group of hot 8. There are many people trying to bring up roms and gsi for device. Also people want to flash custom roms and your twrp can reach a lot more people. Just came across the group on telegram.

Here's the link

https://t.me/joinchat/L4zWSxQ4mSyAgsmvwcw86w
[Android Q&A, Help & Troubleshooting] mido715:
I did all steps & my phone worked fine, but it's stuck on fastboot mode.

What can I do?
[Android Q&A, Help & Troubleshooting] AshhRED:
1. Did you try to delete /system files???

2. What were you doing before your device bricked?

3. What's the status now??
[Android Q&A, Help & Troubleshooting] Munirathinam:
Any update about custom ROMs.

Or

Gsi rom volte problem.

Porting xos stock camera.

Native video call.

Call volume problem.

????????????????????

---------- Post added at 02:13 AM ---------- Previous post was at 02:08 AM ----------

Ported ROMs are not working perfectly.

I tested some ROMs.

Blues rom works but lagging problem.

Cubbot rom app crashing problem.

Miui not booting

Moto os stuck on booting.

This time I got many problem.

Installing gapps too.

And system partion need more space.

(How to fix this system space)
[Android Q&A, Help & Troubleshooting] AshhRED:
[MENTION=7612623]jameeldroid[/MENTION]

1. I know you are aware of these format

but still Make sure once again that your OEM & USB_DEBUGGING are turned ON in DEVELOPER MODE.

and once you connect your device to pc via FASTBOOT_MODE through ADB-MINIMAL&FASTBOOT..

try these Cammandants

"adb devices"

"adb reboot bootloader"

"fastboot oem-unlock"

"fastboot flashing unlock_critical"

"fastboot reboot"

SIDENOTE:- Please make sure you reboot right after OEM-UNLOCK otherwise you're gonna face some issues while installing twrp...

2. For above Link, you can find alternate source via surfing the web..

3. Well if you mod a custom rom with SU included you can root it without BL unlocked with SPflash tool, as the binaries are part of the SYSTEM.img itself..
[Android Q&A, Help & Troubleshooting] jameeldroid:
have you flashed the patched image and gained root or no?

when are you going to do that?
[Android Q&A, Help & Troubleshooting] AshhRED:
[MENTION=7612623]jameeldroid[/MENTION]

Send the patched BOOT.img with VERSION info..

Am gonna give it a try