Related
LAST PERSONALLY Verified as working and "stable"*: GAPPS, 8/19 GAPPS
First and foremost, I'm simply compiling this for the OnePlus 6 and am making some small tweaks to include Opengapps and not only Go Apps in the builds.
The parent for this by phhusson can be found at [Resurrection Remix] [Unofficial] [2018-05-19] Phh-Treble
Next the most important information where to get the most current build of the ROM: Google Drive
For now I suggest the version ending in -go such as: 'rr_6_1_180616_system-arm64-ab-go.img.xz' as the '-gapp' is in development, I expect a number of builds over the next few days as I finally the build scripts and then the rate to tapper off to every two weeks or as there are changes that seem to warrant it, I'm not building nightly for no reason, as RR 6.1 is reasonable stable at this time.
Note: Attached (build.sh) is the build script currently being used, it is a work in progress. and will be updated in case you more regular builds. You will need 12GB of Ram Ubuntu 16.04+ (I'm using 18.04 now, but I started with 16.04) and at least 360GB (SSD recommended) to build, and upto 6 hours for the initial run and then 2 for ever additional run.
Many thanks to phhusson for allowing me to post this based off of his work.
Changes, when I have something to report. Not all build will:
The 7/7 build includes a number of patches recommended by DocRambone.
Overlay support to force Apps fullscreen, Under Display->Advanced
Some cleanups to the UI for the round corners
Better LED support
The 7/8 build is the same as 7/7, but includes July security patches, I built it in order to match the official release.
The 7/24 build is again to match the official release
The 8/19 build is again to match the official release, note regression in status bar height I'm looking into.
Second post: will have details on what is working and not
Third Post: will have full instructions on installation, backup restore based on my experiences
* Stable is relative, for me if I consider it usable from day to day it is stable.
As of 8/11/2018
In the GAPPS version
Working:
Fingerprint
Camera (Front and Back) + Flash (Also got the OnePlus Camera working*)
Speaker
Wifi (Some cut outs seen, this is not unique to this ROM and is dependent on the access port some are worse than others, no clue why)
Bluetooth
GPS
Brightness
Slider for Notifications as of 6/18 build
Mobile Data/Voice (tested dual SIMM is working)
Google Apps
Root (using magisk 16.3), told but have not personally tested that 16.4 without changes works as well
Ambient (works serious effect on battery see next post)
Full Screen Aspect Ratio Display->Advanced 7/07/2018 build+
More fully functional LED Improved for at least mounting USB sticks in 7/7 build
USB Host - Fixed for at least mounting USB sticks in 7/24 build
Bluetooth Phone audio is on the local headset. - Fixed in 7/24 build
Seems working NFC working 5.1.11 Vendor and Boot, not working with previous to 5.1.9 Vendor and Boot I have nothing to connect to to fully test
Not Working:
The Notch hides content (need to wait for P)
Unknown:
Camera Quality: I do little with the camera and am no photographer, so I can say nothing about quality, only it installed and took pictures
VaSU# said:
volte kinda works you can receive messages and calls and can send messages but cant call "out"
Click to expand...
Click to collapse
Please let me know if anything is missing, or needs to be added
Instructions to flash, backup ...
WARNING: With 5.1.8 I had no WIFI, so I suggest sticking to 5.1.6 to 5.1.7 FOR THE MOMENT
Instructions to flash, backup ...
Total time required about 90 minutes
Pre-Reqs:
First and foremost:
Start with at least 5.1.6 (or greater, as of writing 5.1.7 was the lastest), there are Treble fixes in 5.1.6 we need.
Second
verify you have a good USB cable (the Red one shipped with the phone is best)
Three
download the oneplus drivers and abd
- USB Drivers: OnePlus 6 USB Drivers for Windows
- ADB/Fastboot: ADB/Fastboot latest mini
Install both to your local system
Four
Download the latest TWRP (get both the img and zip files)
TWRP for OnePlus 6
Five
Download the files(Treble OP6 Files 5.1.6) from:
GUIDE] How to flash Treble roms on OnePlus 6
Extract and keep: vbmeta.img (if you are on 5.1.X where is the boot version you can keep the boot.img as well, if not discard).
Six
Download the lastest Oxygen OS ZIP and bootloader from:
[OnePlus 6][ROM][OTA][Oxygen OS] Mirrors for official Oxygen OS ROMs and OTA updates
As of writing this is:
5.1.6 full image: OnePlus6Oxygen_22_OTA_010_all_1806070151_ad8b19ed516e78.zip
5.1.6 boot: OnePlus6Oxygen_22_OTA_010_all_1806070151_boot.img
Seven
Download Device ID:
Device+ID APK
Eight
Download Magisk for Treble:
Magisk modified for treble
Since as of 6/2018 the default magisk does not support Treble we need a special version I suggest: Magisk-v16.3-factory-faizauthar12-20180406.zip as teh latest I could find with support.
Nine
Recommended download fastboot installable 5.1.6 (or latest build):
[ROM][STOCK][FASTBOOT][OP6] Stock Fastboot ROMs for OnePlus 6
Ten
Include Overlay/Ambient Display.
Download APK at: [Overlay] Enable Night Light, Auto-Brightness, Ambient Display & more on Treble ROM
Eleven
OnePlus Camera:
OnePlus Camera APK's
Finally
Download RR 6.0 for Treble compiled after 7/08/2018:
Either download the gapps or go version (gapps is still a work in progress when I wrote this)
ROMs Google Drive
Getting Ready:
WARNING: you will loss all data on your phone, backup anything you want or need, first.
Make sure you can get to fastboot (enable "Advanced Reboot" in developers options and make sure that you can enter on a reboot by pressing volume-down and power at the same time)
Make sure you are on 5.1.6+ (5.1.6 was the latest firmware upon writing this)
Remove Any security you have set (just to be safe)
Reboot to fastboot (bootloader)
run:
Code:
fastboot oem unlock
"You will be greeted with a Unlock Bootloader Warning page, Hit the Vol button to select Yes and turn it Blue and Hit the Power Button to Execute the selection, allow your device to reboot"
Backup EFS
If you have not already I'd recommend backing up EFS (to do so you need to be rooted, or else use TWRP):
Preferred, if rooted simply open a terminal and run:
Code:
su
dd if=/dev/block/sdf2 of=/sdcard/modemst1.bin bs=2048
dd if=/dev/block/sdf3 of=/sdcard/modemst2.bin bs=2048
Copy these files someplace safe!
If not rooted reboot to fastboot (bootloader):
Ensure that the latest twrp is in the same directory as fastboot (C:\Program Files (x86)\Minimal ADB and Fastboot) and run (3.2.1 was the lastest as of writing this):
Code:
fastboot.exe boot twrp-3.2.1-0-enchilada.img
This will boot the phone into twrp
Allow modification
Select backup
select only EFS and Modem
enter a meaningful name
swipe to backup
click "Reboot System" -> "Do not Install" for TWRP if asked.
You can now locate the backup under /storage/TWRP/BACKUPS and move it to a safe location off the phone.
Backup the Phone
Recommended if you care: Backup your entire phone using TWRP as well:
Ensure that the latest twrp is in the same directory as fastboot (C:\Program Files (x86)\Minimal ADB and Fastboot) and run (3.2.1 was the lastest as of writing this):
- fastboot.exe boot twrp-3.2.1-0-enchilada.img
This will boot the phone into twrp
Allow modification
Select backup
Select Everything except EFS and Modem
enter a meaningful name
swipe to backup
click "Reboot System" -> "Do not Install" for TWRP if asked.
You can now locate the backup under /storage/TWRP/BACKUPS and move it to a safe location off the phone.
Installing RR:
Finally we are ready to install RR (or any other Treble ROM), on the OnePlus 6. You will need a build from 6/7/2018 or later to have the required Vender-Hal to be present.
You will need to locate and install the AB version for the OnePlus 6.
Note: I'm using RR from 6/13 as the base for the guide: system-arm64-ab-gapps.img
SEE FIRST POST FOR CURRENT DOWNLOAD LOCATION I compiled this using phhusson's (Orginial Build Scripts)
instructions and a bit of setup on Linux. However most Treble base ROM's should work so long as they are from after 6/7/2018 in a similar manor.
* Remember this will wipe your device and you will loss all data *
First
boot in to fastboot (bootloader):
We need to go back to TRWRP and wipe internal storage and data to be safe, as the -w option to do so when flashing is not working for me.
- fastboot.exe boot twrp-3.2.1-0-enchilada.img
This will boot the phone into twrp
Allow modification
Select Wipe
Advanced Wipe
Select Cache, Data and "Internal Storage"
Swipe to Wipe
Click back until you are at the main menu
Click on Reboot
Click on Bootloader -> "Do not Install" for TWRP if asked.
Second
Flash the new ROM:
Flash vbmeta.img to remove validation
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
To be safe flash a default boot image (5.1.6 in this case)
Code:
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
Next reboot into recovery (you need to do this with volume down +Power, or selecting from bootload):
In stock recovery select English
Select Wipe Data and Cache
Reset system settings->yes->done
Wipe Cache->Yes->done
Erase everything->Thiscan not be undone, continue->done
back
Advanced
Reboot to fastboot->Reboot to fastboot
Now flash a the new ROM:
- fastboot flash system_a system-arm64-ab-gapps.img
- fastboot flash system_b system-arm64-ab-gapps.img
Three
reboot:
Code:
fastboot reboot
You will see the "andorid" boot screen (this is different that the Oxygen one) and being the first boot it could take a while. If you see no boot screen or it does not boot (give 10 minutes), then you likely need to repeat these steps again. If you boot into RR then continue.
You may get a Vender image mistake error ignore it it only appewars on boot.
Skip the Setup by clicking all four corners top left->top right->bottom right->bottom left (it my take more than one try), at this point you have no networking, that is what we want.
Suggestion make backup here as you have a working OS! -- Instructions to follow
Four
Move over required files: You now have RR installed and working:
Enable developer mode and then enable Advanced Reboot
Then copy over gapps-nano, Device+ ID.apk, magisk-manager apk and magisk installer zip to the phone
To get the magisk manager you need to extract it from the zip as I cloud not get the normal one to install. Extract the zip: Magisk-v16.3-factory-faizauthar12-20180406.zip copy common\magisk.apk to the phone
Five
Deal with: "Play Services not Certified by Google":
Install Device+ID (APK downloaed above) and Open
Once done open the second line shows the GSF ID for this device
Android Register GSF
Login using a gmail account (I suggest the one you use for the playstore)
Enter the GSF in the field, now we wait about 5 to 10 minutes for it to propigate
Reboot the phone as we want paly services to start fresh
First add a wIFI network.
Critical do not let any apps update until you have registered playstore, so if you see a notification saying downloading, select and click pause. Doing so with the updated 6/17 paystore resulted in a black screen where you would enter your password, no know work around other than reset if this happens.
click on playstore it should now start
Now login to your account and you should be go (it may take more than one attempt no idea why).
Now enable the update if previously paused
Update all Apps from the playstore before continuing, this may take a while give it 10 minutes
Optional: If you want remove Device+ID now (but I leave it as it is an easy way to get information).
You now have a working Playstore, if you have hung downloads then you may need to clear the cache for play services and the playstore I assume the unregistered might be the cause of them getting messed up.
Five
Install magisk:
Ensure you copied magisk zip and also the magisk manager apk to your phone, do not open, but click Done
Install the magisk manager, by locating the file in filemanager and selecting it.Reboot into fastbboot (bootloader) mode
Load TWRP:
Code:
fastboot.exe boot twrp-3.2.1-0-enchilada.img
Install
Select the magisk zip from the filesystem and flash
clear cache
Reboot->System (If asked about installing TWRP swipe to install)
Allow the phone to fully boot
Suggested: Reboot the phone
Suggested: disable checks for updates as 5.7 does not work with this build.
Root is now setup.
Six
Installer th onPlus camera:
Many people want the one plus camera, copy the apk downloaed above to the phone.
Open and install via a file manager
Seven
resize Data (as it will be only 11GB), the partitioon will be larger, depending on your devide se we will use TWRP and resize2fs to grow it.
Reboot into fastbboot (bootloader) mode
Load TWRP:
Code:
fastboot.exe boot twrp-3.2.1-0-enchilada.img
Advanced->Terminal
Code:
resize2fs /dev/block/sda17
Reboot System
Eight
Recommended, make a backup of your hard work:
Reboot into fastbboot (bootloader) mode
Load TWRP:
Code:
fastboot.exe boot twrp-3.2.1-0-enchilada.img
Select backup
Select Everything except EFS and Modem (as I'm unsure exactly which you need)
enter a meaningful name
swipe to backup
click "Reboot System" -> Swipe to reboot
Once back in RR copy the backup off the phone
Eight
Start using your OnePlus 6 with RR 6.0, rooted and with GAPPS
Nine
Upgrading:
Upgrading is simply replacing the system partitions and only these paritions (tested going from 6/13->6/16->6/17 builds)
Boot into fastboot (advanced reboot options)
Now flash the new system files:
- fastboot flash system_a new_system-arm64-ab-gapps.img
- fastboot flash system_b new_system-arm64-ab-gapps.img
Load TWRP:
Code:
fastboot.exe boot twrp-3.2.1-0-enchilada.img
Select Wipe
Advanced Wipe
Select Cache (and only Cache)
Swipe to Wipe
Reboot System
Ten
Restoring a Backup from TWRP
*This is a work in progress I can not work out how to do so safely*
Code:
fastboot.exe boot twrp-3.2.1-0-enchilada.img
Select Restore
Select the backup
Select Everything (other than EFS and Modem!)
Got to the main menu
Select Wipe
Advanced Wipe
Select Cache (and only Cache)
Swipe to Wipe
Reboot Fastboot
Eleven
Night Light, Ambient Display, requires Root:
My suggestion is not to do this if you care abut battery as I've seen major drain (even with Ambient display disabled, testing this).
Copy the apk downloaded framework-res__auto_generated_rro.apk to /vendor/overlays
Code:
mount -o rw,remount -t ext4 /vendor
cp <location of file> /vendor/overlay
chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay;chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay/framework-res__auto_generated_rro.apk
Reboot
Comments:
TWRP does not boot if flashed onto RR (the TWRP logo appears but it will not boot), this is currently only go to protect you from using the OnePlus Recovery and messing up RR. Flashing TWRP does not affect booting into RR.
TWRP DOES handle encryption without an issue, even a wrong first pin is not an issue
TWRP making a backup of Treble ROM, backup everything for now: Data, Boot, System, System Image, Vendor, Vendor Image.
If you have problems with hung downloads from the Playstore: Pending hung PlayStore
Wifi can be flaky (appearently this is a more general issue as even stock had some issues, I fixed them by only using either 2.4 or 5Mhz wireless, if I had both active I had constant disconnects.
Worst case, to recovery, back to Oxygen 5.1.6 if you end up in a boot loop stuck booting to rtecovery, etc:
- flash-all.bat
Reboot into recovery (you need to do this with volume down +Power, or selecting from bootload):
In stock recovery select English
Select Wipe Data and Cache
Reset system settings->yes->done
Wipe Cache->Yes->done
Erase everything->This can not be undone, continue->done
back
Advanced
Reboot to fastboot->Reboot
Load TWRP:
Code:
fastboot.exe boot twrp-3.2.1-0-enchilada.img
Copy the Oxygen full ROM back to the phone
Code:
adb push OnePlus6Oxygen_22_OTA_010_all_1806070151_ad8b19ed516e78.zip /sdcard
In TWRP
Install
Select OnePlus6Oxygen_22_OTA_010_all_1806070151_ad8b19ed516e78.zip
Go back to the root and select Advanced Wipe
Select Wipe
Advanced Wipe
Select Cache, Data and "Internal Storage"
Click on Reboot->Recovery (select Do not Install)
English
Wipe Cach and Data
Wipe Everything
Reboot
The phone will reboot same as the day it was made
If it does not then please refer to:
Mega Unbrick Guide for A Hard Bricked OnePlus 6
Note: Always boot fully at least once (I suggest twice and the first one is configuring android) before trying any steps above again.
Best of Luck, see a typo let me know
ERIC
thank you for this
[emoji102][emoji102][emoji102][emoji102][emoji102]
Sent from my ONEPLUS A6003 using Tapatalk
Thank you for putting so much hard work on this. Really much appreciated, will give it a try.
Might be a noob question, but due to treble, is the camera quality the same with the OnePlus app?
saintxseiya said:
Might be a noob question, but due to treble, is the camera quality the same with the OnePlus app?
Click to expand...
Click to collapse
No.
Great rom, I especially like the fact that I can choose to install without gapps (prefer fdroid). One thing that is missing is ambient display, hopefully it will be fixed sooner or later.
Stock OOS Cam on RR. Isn't that huge news? Wow! :good:
Abaddon said:
No.
Click to expand...
Click to collapse
Have you tried this yourself? Ignore the treble part of his comment, but why would stock cam on OOS vs stock cam on custom ROM give different results in terms of picture quality?
Pat123 said:
Stock OOS Cam on RR. Isn't that huge news? Wow! :good:
Have you tried this yourself? Ignore the treble part of his comment, but why would stock cam on OOS vs stock cam on custom ROM give different results in terms of picture quality?
Click to expand...
Click to collapse
same quality here
Pat123 said:
Stock OOS Cam on RR. Isn't that huge news? Wow! :good:
Have you tried this yourself? Ignore the treble part of his comment, but why would stock cam on OOS vs stock cam on custom ROM give different results in terms of picture quality?
Click to expand...
Click to collapse
Never said anything about results, only that it could be installed and works, (takes pictures), personally I do little with the camera and am not photographer, but it can be installed (link above) and installed.
Updated the working to remove any confusion.
Maibol said:
same quality here
Click to expand...
Click to collapse
Could you post some comparison pics? Including portrait shots.
Would be awesome.
saintxseiya said:
Could you post some comparison pics? Including portrait shots.
Would be awesome.
Click to expand...
Click to collapse
sorry bro celebrating today with the family too much beer .....
So seeing this not even a month after the release of the op6 makes me happy and hopeful that we get a fully working RR-OS for the OP6 in the near future !
Pat123 said:
Stock OOS Cam on RR. Isn't that huge news? Wow! :good:
Have you tried this yourself? Ignore the treble part of his comment, but why would stock cam on OOS vs stock cam on custom ROM give different results in terms of picture quality?
Click to expand...
Click to collapse
because Oneplus doesnt release blobs for camera
Pat123 said:
Stock OOS Cam on RR. Isn't that huge news? Wow! :good:
Have you tried this yourself? Ignore the treble part of his comment, but why would stock cam on OOS vs stock cam on custom ROM give different results in terms of picture quality?
Click to expand...
Click to collapse
It will never be the same as OOS stock. Because aside from there is no device tree provided by OnePlus, they will never release the camera blobs due to licensing issues. Once we get a stable and proper gcam port. It'll be better than the stock OOS cam or close
is a beautiful Rom, will there be an adaptation for twrp? I have to use the gapps, because at the go version Wear OS does not work. and in the gapp version would be nice if the smartbar was running. Unfortunately, the kill app does not work ( I can not use xposed, then my bank app will not work anymore
unix2208 said:
is a beautiful Rom, will there be an adaptation for twrp? I have to use the gapps, because at the go version Wear OS does not work. and in the gapp version would be nice if the smartbar was running. Unfortunately, the kill app does not work ( I can not use xposed, then my bank app will not work anymore
Click to expand...
Click to collapse
TWRP not for now as treble is build as an image, but you should be able to flash using twrp just switch to img (though I have not tested that).
The GApps version is posted the 6/18 is working great, see second post.
As for Banking I'm unsure if any Treble based ROM passed the checks, as with or without root, as they appear as unsigned.
As for smartbar, I'll give it a try when I get a chance, as I do not use it personally.
ERIC
So safetynet won't pass?
Guys I successfully installed HAVOC-OS located https://forum.xda-developers.com/project-treble/trebleenabled-device-development/gsi-havoc-os-t3930030. The steps I followed are mentioned below
1. Wipe everything except internal storage.
2. Flashed BRK3 Vendor https://mega.nz/#F!wFFQUYbI!GZvNOBSn1wVn8U9mQDzBiw!IQsjlYzA
2. Installed Endurance GSI kernel https://forum.xda-developers.com/galaxy-s9/samsung-galaxy-s9--s9-cross-device-development/kernel-endurance-kernel-v1-0-t3849434
3. Flashed the system image for ARM 64 A only
4. Boot system
5. Reboot to recovery and Flashed Mgisk
6. Gapps will fail to install at first. Just goto wipe -> Adv wipe -> system partition -> Resize. Reboot to recovery and flash Gapps
7. Reboot and enjoy
8. You can test other GSI Roms also and report. The thread is located at https://forum.xda-developers.com/project-treble/trebleenabled-device-development
Thanks buddy. I was looking for the ways to run the GSI. And the method works. Good job
thanks for the guide! im still on an unrooted s9, but if everything works ill definetly make the jump. Can you tell us more about stability, bugs and if there are things not working
So after testing the ROM for 2 days I can say that
1. It is very stable and can be used as a daily driver
2. Everything works, I am not sure about Bluetooth audio though, haven't checked it
3. It can be heavily customized. Unlike LOS, where we have only few of these features available
4. Battery life is the best I got using any other ROM out there (check the screens below). and I am the guy who gets 3 hrs of SOT, when others claimed 5+ hrs on the same ROM.
5. Security patch is latest even as compared to the TW ROMs
6. Regarding camera... Its the same as LOS pie. Use gcam by idan 3.5 fixed and you are good to go.
fingerprint working?
andreMusers said:
fingerprint working?
Click to expand...
Click to collapse
Yes it is
Thanks for trying this out. I'm only a few months in with my exynos S9 on android pie, so I haven't yet learned the details about rooting/recovery for this phone.
I'll wait for your next update regarding daily use, and would love a more detailed step-by-step for installation if that's not too much trouble. I'm honestly loving those screenshots.
How about IMEI, BRK3 Vendor safe..?
Ok here is the detailed tutorial on how to install a GSI rom
1. First you need to wipe everything in TWRP. Just like you do, when you clean flash any rom
2. Than install the BRK3 vendor. Link is provided by the OP. It's a flashable zip file so just flash it like any other zip.
3. Flash the Endurance GSI kernel. Link is in the OP.
4. Next, download the GSI rom from the link in the OP. Remember to download the ARM 64 A-only variant.
5. Extract the files and you should get a . Img file. Copy that in the SD card
6. In the TWRP, goto install. Select flash image from the bottom right corner of your screen. Now browse the image file, that you copied and choose system image and install.
7. Boot to the system and than boot back to the recovery.
8. Now flash the magisk
9. If you try to install gapps, it will give an error regarding space. So just goto wipe -> advance wipe > system repartition > resize
After resize, you will be able to install gapps.
Flash gapps, automatic brightness fix ( link in the rom thread), AOD fix ( link in the rom thread) and reboot.
burninitup said:
Ok here is the detailed tutorial on how to install a GSI rom
1. First you need to wipe everything in TWRP. Just like you do, when you clean flash any rom
2. Than install the BRK3 vendor. Link is provided by the OP. It's a flashable zip file so just flash it like any other zip.
3. Flash the Endurance GSI kernel. Link is in the OP.
4. Next, download the GSI rom from the link in the OP. Remember to download the ARM 64 A-only variant.
5. Extract the files and you should get a . Img file. Copy that in the SD card
6. In the TWRP, goto install. Select flash image from the bottom right corner of your screen. Now browse the image file, that you copied and choose system image and install.
7. Boot to the system and than boot back to the recovery.
8. Now flash the magisk
9. If you try to install gapps, it will give an error regarding space. So just goto wipe -> advance wipe > system repartition > resize
After resize, you will be able to install gapps.
Flash gapps, automatic brightness fix ( link in the rom thread), AOD fix ( link in the rom thread) and reboot.
Click to expand...
Click to collapse
Thanks for the extra instruction man, will test this out soon.
burninitup said:
Ok here is the detailed tutorial on how to install a GSI rom
1. First you need to wipe everything in TWRP. Just like you do, when you clean flash any rom
2. Than install the BRK3 vendor. Link is provided by the OP. It's a flashable zip file so just flash it like any other zip.
3. Flash the Endurance GSI kernel. Link is in the OP.
4. Next, download the GSI rom from the link in the OP. Remember to download the ARM 64 A-only variant.
5. Extract the files and you should get a . Img file. Copy that in the SD card
6. In the TWRP, goto install. Select flash image from the bottom right corner of your screen. Now browse the image file, that you copied and choose system image and install.
7. Boot to the system and than boot back to the recovery.
8. Now flash the magisk
9. If you try to install gapps, it will give an error regarding space. So just goto wipe -> advance wipe > system repartition > resize
After resize, you will be able to install gapps.
Flash gapps, automatic brightness fix ( link in the rom thread), AOD fix ( link in the rom thread) and reboot.
Click to expand...
Click to collapse
Doesn't work. Stuck on boot logo, loading forever.
Zwulf said:
Doesn't work. Stuck on boot logo, loading forever.
Click to expand...
Click to collapse
me too dont know any fix
EDIT: Somehow i managed to boot the rom but sim won't get detected
Double tap and AOD - work correctly? On snap it does not work well
My Baseband version is now unknown
I have an SM-G960F and its german
EDIT:I just flashed the latest firmware from soldier and now sim card gets detected
Masterofchicken said:
My Baseband version is now unknown
I have an SM-G960F and its german
EDIT:I just flashed the latest firmware from soldier and now sim card gets detected
Click to expand...
Click to collapse
So camera isn't working ,root is still present with magisk and i couldn't disable it with the adb command so safetynet doesn't pass ,i'll say it's not really usable ?
Has anyone found a fix for getting stuck at the s9 logo?..wanting to move to GSI ROMs
I have tried this,
After flash GSI rom, reboot recovery, reboot system and I have bootloop with the first logo Galaxy S9. Can anybody please help me?
@arunrawat2112
Finally I was able to flash some roms but none of them work properly. Can you please help me?
First of all, the download link of all the files required for this "ROM" is taken from the "xda developers forum" posts.
I was constantly experimenting with GSI roms for Redmi 8. I was able to install the Pixel ROM on Redmi 8. I don't think you will have a problem if you follow the steps I shared with you one by one.
I do not take responsibility for the ROM. RESPONSIBILITY IS ENTIRELY YOURS.
Not working
-Face unlock
-Radio
-VoLTE
(You need to make a setting for the camera, notch, LTE Mobile Network and auto-brightness. I told you how to make the settings.)
NOTE: A computer is required to make this ROM setup. It must also be installed in ADB on your computer.
Note: You can install this ROM Google Camera as apk. Unfortunately, there are no features such as Portrait, night mode in the original camera application of the device. However, you can use it if you install it as an apk.
Please download that files:
Download - Pixel Experience ROM GSI file
Download --- Sky Hawk Recovery file
Download - Permissiver V5
Download -Certification Patch for Redmi 8
Download -Treble overlay for Redmi 8
Download --- Lastest Magisk-v20.4
Here -Get the TWRP Official for Redmi 8
Download - vbmeta.img
Note: Please charge your phone at least 60%
First, take the necessary backups as your phone will be completely reset.
1- Unlock your bootloader. For unlocking follow this: http://en.miui.com/unlock/
2- Copy all the files to your SD Card (PixelExperience_ARM64AB-10.0-20200118-2138-GSI.img, SHRP_v2.2.zip, Permissiver_v5.zip, Certification_Patch.zip, Magisk-v20.4.zip, treble-overlay-xiaomi-redmi8.apk)
3-Enable USB debugging. Connect the phone your computer Then copy the twrp.img and vbmeta.img files to the adb folder.
Note: If the name of your twrp file is not twrp.img, please set its name to twrp.img.
4- Go to your computer, open adb folder in cmd, write that:
adb reboot bootloader
fastboot flash recovery twrp.img
fastboot flash vbmeta vbmeta.img
5- Now we will go to the restart phone command. At that moment, you should quickly hold down the volume up key and power button of your phone. Enter this command:
fastboot reboot
Then, hold down the power button with quick boost and turn on twrp.
6- Install Magisk-v20.4.zip in twrp.
Then restart the phone. After the phone reboots, check if Magisk is installed. Once you see it installed, reboot the phone in recovery mode.
7- Install SHRP_v2.2_olive.zip then reboot recovery.
8- Now find the wipe button and tap it. Then press the format data and confirm by typing yes.
9- Then tap wipe again and click on the wipe button at the bottom right.
10- Tap the wipe again and tap on advanced wipe. Select the Dalvik, data, cache, system partitions and reset them.
11- Now return to the main menu screen and tap flash. Select your SD card in the lower right section and tap the PixelExperience_ARM64AB-10.0-20200118-2138-GSI.img file. Then select it as system image and install it.
12- Return to the main menu and come to the flash section and install the file Permissiver_v5.zip.
13- Then go back to the flash section and install the Certification_Patch.zip file.
14- Return to the main menu, tap wipe and complete the wipe from the button on the bottom right.
15- Reboot the system. Your device will either boot in fastboot mode or be bootloop. (If you see it open normally and no problems occur, you can skip step 18.)
16- Go to fastboot mode.
17- Connect the phone to the computer and open the adb folder on cmd. Type:
fastboot flash recovery twrp.img
fastboot flash vbmeta vbmeta.img
fastboot reboot recovery
The phone will reboot and turn on. Please set up the phone and turn USB debugging back on.
18- After doing setup and enabling usb debugging, reboot to recovery mode and install magisk.zip. Then reboot the phone.
19- Install build prop editor(https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor&hl=en&pli=1) and root browser(https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en) from the Play Store.
20- Open root browser and allow root access then go to your SD card and find treble-overlay-xiaomi-redmi8.apk
21- Copy to treble-overlay-xiaomi-redmi8.apk on Root Directory/system/overlay/ folder.
22- Select treble-overlay-xiaomi-redmi8.apk file on overlay folder and tap the three dots in the top right and tap the properties.
23- Click on the Permissions at the top bar.
24- Select like this photo (link: https://lh3.googleusercontent.com/p...VrSOGT_V9Q2bzgy5IuE9nIfPslILJ1Vz=w429-h904-no ) and click apply then reboot system.
25- Open the build prop editor and allow root access. then tap the 3 dots in the upper right and tap new.
name= persist.camera.HAL3.enabled
value= 1
Set it to and save it. Restart the system.
26- Go to the dialer and dial *#*#4636#*#*. Tap Phone information and set "set preffered network type: LTE only." Then reboot system.
27- Finally, if you want to fix the appearance of the screen notch go to
developer settings >> display cutout and select corner cutout.
That was it. Please note that I am not a developer, so I cannot resolve any errors. I believe that if you apply them like me, you won't have a problem. I will be waiting for your comments. Have a nice day.
I´ll give it a try in my wife´s redmi 8, cus I had tried to flash a bunch of roms in that device and I had not success. Thanks
dngr.fun said:
I´ll give it a try in my wife´s redmi 8, cus I had tried to flash a bunch of roms in that device and I had not success. Thanks
Click to expand...
Click to collapse
You're welcome. If you encounter any problems, please let me know. If you follow what I wrote under normal conditions step by step, you won't have a problem.
Query before flashing
Hello Boss,
on checking the system by "Treble Check" app, it is showing that it is A-type System partition. And the ROM you suggested is AB type. Is there any thing i should worry about before flashing.
I am currently using Lineage OS (unofficial), and following functions doesn't work on it.
Finger print
VOLTE
Radio
face unlock
What about this ROM functionality.
hrwt20 said:
Hello Boss,
on checking the system by "Treble Check" app, it is showing that it is A-type System partition. And the ROM you suggested is AB type. Is there any thing i should worry about before flashing.
I am currently using Lineage OS (unofficial), and following functions doesn't work on it.
Finger print
VOLTE
Radio
face unlock
What about this ROM functionality.
Click to expand...
Click to collapse
At first I tried installing A-only on my device but it didn't work. It worked when I installed A / B. So please try A / B GSI. Because the device you have is probably A / B, not A-Only.
Finger print is working and face unlock is not have in Pixel Experience ROM.
VOLTE and Radio is not working bro.
I will list all the features that work by edit the post today or tommorrow bro
Certification_patch.zip
Whats the use for certification_patch.zip file?
Does it fixes the certification status in google play store?
Also, Can this file be used in any othe gsi too?
coolboyforeva said:
Whats the use for certification_patch.zip file?
Does it fixes the certification status in google play store?
Also, Can this file be used in any othe gsi too?
Click to expand...
Click to collapse
This file exists to integrate the model of the device into rom. I don't know much about google play and you can also install this and permissiver_v5 with other gsi roms. These only for Redmi 8.
hrwt20 said:
Hello Boss,
on checking the system by "Treble Check" app, it is showing that it is A-type System partition. And the ROM you suggested is AB type. Is there any thing i should worry about before flashing.
I am currently using Lineage OS (unofficial), and following functions doesn't work on it.
Finger print
VOLTE
Radio
face unlock
What about this ROM functionality.
Click to expand...
Click to collapse
Before system-as-root was used only on A/B devices but now all devices that ship with Android 9 must use system-as-root. Because of this reason you need to flash A/B roms on A-Only on these devices. As you can see from this page's device list, Redmi 8's image type is A/B so you need to flash an A/B image: https://github.com/phhusson/treble_experimentations/wiki
Does the sensor work? I tried other gsi and custom roms and sensors like accelerometer doesnt work..
Abdul Aziz Shakib said:
Does the sensor work? I tried other gsi and custom roms and sensors like accelerometer doesnt work..
Click to expand...
Click to collapse
All sensors working
i tried it and the sensors didn't work. i needed to flash stock rom and then pixel rom over the stock rom to get it work. seems logical, had no issue so far except the camcorder. when i record a video, lets say i recorded a video for 10 second. but when i play the video, it becomes 1hour video and the sound doesn't sync with the video. video stays frozen the whole time and plays normally at the last few seconds. i tried other gsi and had the same issue. is something wrong? any known solution? are you facing the same problem? if not, then which camera app you are using? thanks in advance because pixel experience is working now after following ur steps
Yes, there is a problem in this regard. Unfortunately, I could not solve this problem. I usually use Instagram cam for video. You can try bro
Abdul Aziz Shakib said:
i tried it and the sensors didn't work. i needed to flash stock rom and then pixel rom over the stock rom to get it work. seems logical, had no issue so far except the camcorder. when i record a video, lets say i recorded a video for 10 second. but when i play the video, it becomes 1hour video and the sound doesn't sync with the video. video stays frozen the whole time and plays normally at the last few seconds. i tried other gsi and had the same issue. is something wrong? any known solution? are you facing the same problem? if not, then which camera app you are using? thanks in advance because pixel experience is working now after following ur steps
Click to expand...
Click to collapse
I use havocOs gsi. It has same problem. Solution:
1. record a video.
2. do not close camera app.
3. open video from the camera app not from gallery.
4. play the video once.
if that plays then you can open that same video from any app.
try that, might work.
kouseralamin said:
I use havocOs gsi. It has same problem. Solution:
1. record a video.
2. do not close camera app.
3. open video from the camera app not from gallery.
4. play the video once.
if that plays then you can open that same video from any app.
try that, might work.
Click to expand...
Click to collapse
it works sometimes but not always.. Currently I am using Havoc OS and it doesn't have a gallery app. So I downloaded "Gallery Go" from playstore and when I try to open the video from the camera app, it opens with gallery go app.
to be noted, i have added some commands in build.prop..
media.camera.ts.monotonic=0
debug.stagefright.ccodec=0
persist.camera.HAL3.enabled=1
i don't know what these do but these commands were mentioned somewhere to enable camera2api..
am i missing something?
kouseralamin said:
I use havocOs gsi. It has same problem. Solution:
1. record a video.
2. do not close camera app.
3. open video from the camera app not from gallery.
4. play the video once.
if that plays then you can open that same video from any app.
try that, might work.
Click to expand...
Click to collapse
try this for video recording , go to phh treble settings, go to Misc, go to camera force timestamp, clock boottime
Redmi 4A abdal said:
try this for video recording , go to phh treble settings, go to Misc, go to camera force timestamp, clock boottime
Click to expand...
Click to collapse
Thanks, I tried it in the havocOs and it is fully ok now.
Hello, is Bluetooth audio working?
Is there an option for internet speed indicator on this rom?
IS TBH
sessionid0 said:
First of all, the download link of all the files required for this "ROM" is taken from the "xda developers forum" posts.
I was constantly experimenting with GSI roms for Redmi 8. I was able to install the Pixel ROM on Redmi 8. I don't think you will have a problem if you follow the steps I shared with you one by one.
I do not take responsibility for the ROM. RESPONSIBILITY IS ENTIRELY YOURS.
Not working
-Face unlock
-Radio
-VoLTE
(You need to make a setting for the camera, notch, LTE Mobile Network and auto-brightness. I told you how to make the settings.)
NOTE: A computer is required to make this ROM setup. It must also be installed in ADB on your computer.
Note: You can install this ROM Google Camera as apk. Unfortunately, there are no features such as Portrait, night mode in the original camera application of the device. However, you can use it if you install it as an apk.
Please download that files:
Download - Pixel Experience ROM GSI file
Download --- Sky Hawk Recovery file
Download - Permissiver V5
Download -Certification Patch for Redmi 8
Download -Treble overlay for Redmi 8
Download --- Lastest Magisk-v20.4
Here -Get the TWRP Official for Redmi 8
Download - vbmeta.img
Note: Please charge your phone at least 60%
First, take the necessary backups as your phone will be completely reset.
1- Unlock your bootloader. For unlocking follow this: http://en.miui.com/unlock/
2- Copy all the files to your SD Card (PixelExperience_ARM64AB-10.0-20200118-2138-GSI.img, SHRP_v2.2.zip, Permissiver_v5.zip, Certification_Patch.zip, Magisk-v20.4.zip, treble-overlay-xiaomi-redmi8.apk)
3-Enable USB debugging. Connect the phone your computer Then copy the twrp.img and vbmeta.img files to the adb folder.
Note: If the name of your twrp file is not twrp.img, please set its name to twrp.img.
4- Go to your computer, open adb folder in cmd, write that:
adb reboot bootloader
fastboot flash recovery twrp.img
fastboot flash vbmeta vbmeta.img
5- Now we will go to the restart phone command. At that moment, you should quickly hold down the volume up key and power button of your phone. Enter this command:
fastboot reboot
Then, hold down the power button with quick boost and turn on twrp.
6- Install Magisk-v20.4.zip in twrp.
Then restart the phone. After the phone reboots, check if Magisk is installed. Once you see it installed, reboot the phone in recovery mode.
7- Install SHRP_v2.2_olive.zip then reboot recovery.
8- Now find the wipe button and tap it. Then press the format data and confirm by typing yes.
9- Then tap wipe again and click on the wipe button at the bottom right.
10- Tap the wipe again and tap on advanced wipe. Select the Dalvik, data, cache, system partitions and reset them.
11- Now return to the main menu screen and tap flash. Select your SD card in the lower right section and tap the PixelExperience_ARM64AB-10.0-20200118-2138-GSI.img file. Then select it as system image and install it.
12- Return to the main menu and come to the flash section and install the file Permissiver_v5.zip.
13- Then go back to the flash section and install the Certification_Patch.zip file.
14- Return to the main menu, tap wipe and complete the wipe from the button on the bottom right.
15- Reboot the system. Your device will either boot in fastboot mode or be bootloop. (If you see it open normally and no problems occur, you can skip step 18.)
16- Go to fastboot mode.
17- Connect the phone to the computer and open the adb folder on cmd. Type:
fastboot flash recovery twrp.img
fastboot flash vbmeta vbmeta.img
fastboot reboot recovery
The phone will reboot and turn on. Please set up the phone and turn USB debugging back on.
18- After doing setup and enabling usb debugging, reboot to recovery mode and install magisk.zip. Then reboot the phone.
19- Install build prop editor(https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor&hl=en&pli=1) and root browser(https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree&hl=en) from the Play Store.
20- Open root browser and allow root access then go to your SD card and find treble-overlay-xiaomi-redmi8.apk
21- Copy to treble-overlay-xiaomi-redmi8.apk on Root Directory/system/overlay/ folder.
22- Select treble-overlay-xiaomi-redmi8.apk file on overlay folder and tap the three dots in the top right and tap the properties.
23- Click on the Permissions at the top bar.
24- Select like this photo (link: https://lh3.googleusercontent.com/p...VrSOGT_V9Q2bzgy5IuE9nIfPslILJ1Vz=w429-h904-no ) and click apply then reboot system.
25- Open the build prop editor and allow root access. then tap the 3 dots in the upper right and tap new.
name= persist.camera.HAL3.enabled
value= 1
Set it to and save it. Restart the system.
26- Go to the dialer and dial *#*#4636#*#*. Tap Phone information and set "set preffered network type: LTE only." Then reboot system.
27- Finally, if you want to fix the appearance of the screen notch go to
developer settings >> display cutout and select corner cutout.
That was it. Please note that I am not a developer, so I cannot resolve any errors. I believe that if you apply them like me, you won't have a problem. I will be waiting for your comments. Have a nice day.
Click to expand...
Click to collapse
Is there a way to flash it without SD card???my adb sideloader also doesnt open
I will try it tank you
Hello XDA community! I was building unofficial ROMs for Redmi 6A. I'm posting my collection of ROMs for Redmi 6A that I've been building. All ROMs have been tested and time tested.
Code:
Warning!
ROMs data only works on vendor MIUI from 10.4.4.0 to 11.0.8.0 Android 9.0 based.
On version 11.0.9.0 there will be problems.
It is recommended to roll back to the versions I described above
VoLTE not working!
I recommend using TWRP Recovery Official or PBRP Recovery Official.
BlissRom has a bug with silent ringtones!
Installation method
1) Install TWRP https://megafon929.github.io/twrp-autoinstaller
2) Reboot to TWRP
3) Wipe > Format Data > " yes " > Click on the check mark > Back
4) Wipe > Advanced Wipe > select: Dalvik / ART Cache, System, Data, Internal Storage, Cache > Swipe to Wipe > Back
5) Install > Select the ROM file (If you need GAPPS and Magisk, it is recommended to click the "Add ZIPs" button and select the necessary archives) > Swipe to confirm Flash
6) Wipe > Format Data > " yes " > Click on the check mark > Back
7) Restart smartphone
The smartphone will reboot, and the download can last from 2 to 10 minutes. Wait!
That's it! The smartphone is ready to work
Click to expand...
Click to collapse
Works
Wi-Fi
Bluetooth
Cameras
USSD
SMS
Calls
Compas
LED Indicator
LTE
Not works
VoLTE
Click to expand...
Click to collapse
Link ROMs: https://m929.ru/_pages/certus_my_builds.html
GAPPS: OpenGapps ARM > Android 9.0 > pico
Source code:
Common device tree: https://github.com/xiaomi-mt6765/android_device_xiaomi_mt6765-common
Device tree: https://github.com/xiaomi-mt6765/android_device_xiaomi_cactus
Kernel: https://github.com/xiaomi-mt6765/android_kernel_xiaomi_mt6765
Contributors
JarlPenguin, SamarV-121, wulan17
recommend some gapps version for lineage and arrowos
vibi_144 said:
recommend some gapps version for lineage and arrowos
Click to expand...
Click to collapse
opengapps.org
android 9 > arm > pico
I'm currently using Nusantara Project LTS. Does the installation works if I'm from A10?
Will this device ever support Project Treble? Android 11 would be nice
voLTE not working
This was written in my post. But I duplicated it
xomikron said:
Will this device ever support Project Treble? Android 11 would be nice
Click to expand...
Click to collapse
Supports VNDK-Lite A64-AB. Also Non-GSI ROMs. View on https://t.me/r6r6a_nongsi
MEGAFON929 said:
Supports VNDK-Lite A64-AB. Also Non-GSI ROMs. View on https://t.me/r6r6a_nongsi
Click to expand...
Click to collapse
Thanks!
currently using the PE+. Hate the launcher due to its lack of customization (can't even change the grid lol, don't want to use custom launcher bcz it will mess up the gesture navigation) but love the smoothness of it on my 6A. Is there any ROM on your work that has similar smoothness to PE+? Tried Arrow OS, but it stuttering abit :/
I currently flashed aicp_14_9.0_cactus_SI_by_MegaFon929.zip
TWRP: twrp-3.5.2_9-0-cactus.img
No gapps - no root
I have to say that this rom is (so far) excellent!
Great battery life
snappy UI
WiFi OK and stable
Mobile data 4G OK and stable
Location OK
Bluetooth OK
Camera OK
everything works (no bugs as far as i tested it).
My device is Redmi 6A (cactus).
I was in MIUI 11.0.8.0
Follower ALL the instructions, everything went smooth.
Before, this device was very laggy and very hard to use for daily tasks.
Now, this device is like a brand new phone!
Thank You MEGAFON929! Great ROM!
Hello and thanks for the ROMs. I followed the instructions very carefully and tried both lineage_16.0_9.0_cactus_SI_by_MegaFon929.zip and
aicp_14_9.0_cactus_SI_by_MegaFon929.zip
TWRP: twrp-3.5.2_9-0-cactus.img
With the first zip I always boot to FASTBOOT and with the second I get a bootloop.
Do you have any suggestions? Can I see some debugging output somehow?
@manolismi
I followed the instructions "letter-by-letter" and had no issues at all.
1) Install TWRP
2) Reboot to TWRP
3) Wipe > Format Data > " yes " > Click on the check mark > Back
4) Wipe > Advanced Wipe > select: Dalvik / ART Cache, System, Data, Internal Storage, Cache > Swipe to Wipe > Back
5) Install > Select the ROM file (If you need GAPPS and Magisk, it is recommended to click the "Add ZIPs" button and select the necessary archives) > Swipe to confirm Flash
6) Wipe > Format Data > " yes " > Click on the check mark > Back
7) Restart smartphone
Try to not add gapps or magisk at first flash (i did not).
I don't use gapps at all, and i flashed magisk after some reboots, and all is fine.
The last 48 hours i'm in "lineage_16.0_9.0_cactus_SI_by_MegaFon929.zip", and i must say this:
This rom is even better than GZ and AICP that i've tried in the past few days.
Good luck!
@Logcates Yes I followed the same instructions carefully. And I only flashed the lineage_16.0_9.0_cactus_SI_by_MegaFon929.zip, without gapps or magisk. The only things we might have done differently are
which TWRP did you install? I got the latest from the instructions link.
Did you verify the zip before flashing? I was getting a validation error so i had to disable checking
I also wiped the internal storage and then copied the zip to it from my computer (and then installed it)
Do you see any problems in those steps above?
@manolismi
I flashed: twrp-3.5.2_9-0-cactus.img (same as you i believe)
I had no warnings or errors during flash.
Maybe your downloads are somehow corrupt?
I always use opera for downloading anything, because chrome gives me corrupted files very frequently.
Another thing is that i was in MIUI 11.0.8.0
Maybe you were in a different MIUI version?
I first flashed AICP (had it for ~2 days),
then GZOSP (had it for a few hours),
then Lineage (i think i will stay in lineage, as call recording is a feature that i like).
I don't know what else could be causing those problems for you.
I hope for the best.
Thank you so much for your work to make this possible! I'm amazed. I finally unlocked and flashed lineageos16 on the 6a of my girlfriend. She's super happy and everything is running perfect! Nice to give this device some new life! Thanks again!
Installed LineageOS 16 on this 3 year old Redmi 6A.
Just wanna say these cROMs saved my old phone from laggy stock UI. Thanks mate!
Just noted that when I flashed LOS from MIUI 11.0.9 Global it the camera doesn't work (Error : Can't connect to the Camera). Note to anyone who try this on 11.0.9, downgrade to 11.0.8 first. (unless there's update in future from the respected dev).
Only when downgrading to MIUI 11.0.8 Global the camera works. I tried reflash 11.0.9 two times before end up flash from MIUI 11.0.8.
Moral : pay attention to the requirements to flash this cROM. In fact, any cROM. read manual in detail.
I Install Pixel Experience plus in my Redmi 6A but i have a issue when i want charge by usb to PC show me "charging slowly" i try install module to magisk but dosent work to me maybe isnt version to the device.
Any ideas?
can't seem to install TWRP via the instruction.
redmi 6a unlock bootloader not rooted
MIUI Global 11.0.8 Stable
Android 9 PPR1.180610.011
update**
i had no luck with fastboot flashing TWRP so i tried PBRP and i was able to install it
then
wipe / fomat card
reboot to bootloader
And flash twrp-3.5.2_9-0-cactus.img and followed the instructions here...now i got Lineage 16 working.
thanks devs for the cROMs and guides!
i have folowed the whole instruction and tried three roms till now at first i flashed lingeage os 17.1 ,but due to camera not working and was restarting now and then automatically i tried arrow os and got stuck in bootloop ,again after this i downloaded and flashed new rom pixel expirence and again i m encountering the same issue with bootloop stuck ........ please suggest the solution
Hi, here's a guide on how install crDroid 7.5 (A11) on Redmi 8
UPDATE: THERE'S 7.5 VERSION AVAIABLE, IF YOU ARE USING 7.4 FOLLOW THIS STEPS TO UPDATE WITHOUT LOSING DATA (NEW ROM IS IN MEGA FOLDER, ):
1- Reboot in recovery
2- Go to Wipe -> Avanced wipe -> wipe dalvik, cache and system
3- Go to Reboot -> Recovery
4- Now follow the normal guide from the flashing of the .img file as system image
VERY IMPORTANT: DON'T FORMAT DATA AFTER FLASHING GSI FIXER OR YOU WILL LOST ALL YOUR DATA
Features:
- All functions of the phone work (face unlock, fingerprint, voLTE, voWIFI, hotspot, bluetooth, fast charge, DT2W, ...)
- Magisk safetynet passed without flash nothing (screenshot at the bottom)
- Permissive Selinux by default (in settings is writing disabled, it's wrong) but you can switch to enforcing with
SelinuxModeChanger app, apk at the bottom
What doesn't work
- Nothing if you use fixes below
Note 1: You may have problems with the brightness or sim calls/sms, there are solutions:
- For brightness: Open settings -> Go in "Phh Treble Settings" -> "Misc Features" -> Scroll until you are in backlight menu -> Select "Force alternative backlight scale" and "Enable auto-brightness overlay" -> then deselect both and reboot
- For sim calls: Open settings -> Go in "Network and internet" -> "Mobile network" -> Tap on "Preferred network type" and select "GSM/WCDMA/LTE" or "Global" (try which is better for you) and then reboot
Note 2: If you fing bugs tell me in comments, maybe I could help you (I'm not the developer of the rom)
IMPORTANT ADVICE:I am not responsible for any damage caused to your device by not following the steps, all the steps were tested on my personal device and are confirmed, my device is Redmi 8 4/64
Installation Steps - All the files you need are HERE
Note 3: I did the installation coming from Mui 12.0.1 stock (flashed in fastboot with Mi Flash) and there was no problem in the installation process or in the boot process, YOU NEED THIS ROM IF YOU WON'T PROBLEMS
1- First make a backup of all the necessary information in case something goes wrong you can easily recover, Charge the battery at least 80%
All your data will be deleted during the process
2- Unlock the Bootloader if you have not already done it or do not know how to, follow this post: http://en.miui.com/unlock/
3- Before continue following steps estract on pc "crdrom-v302-210315-arm64-bvZ.img" from "crdrom-v302-210315-arm64-bvZ.img.xz" and activate USB debug in phone settings
4- Reboot in fastboot and connect the phone to the pc with cable
5- Install on pc minimal adb tool (zip at the bottom), flash the TWRP recovery typing " fastboot flash recovery ", now drag twrp file near the command, then vbmeta typing " fastboot --disable-verity --disable-verification flash vbmeta " and drag vbmeta file near the command. Finished the procedure type " fastboot reboot " and hold volume + on the phone until you see the recovery screen
6- Scroll on the slider at the bottom of the phone screen to access in the TWRP
7- Go to Wipe -> Format data -> type "yes"
8- Go to Reboot -> Recovery
9- Go to Wipe -> Avanced wipe -> wipe dalvik, data, cache and system
10- Go to Reboot -> Recovery
NOW YOU HAVE TO TRANSFER ALL OTHER FILES OR IN THE INTERNAL STORAGE OF THE PHONE OR IN SD/USB WITH OTG CABLE
11- Go to Install -> Select the storage where you have files -> Install img -> select "crdrom-v306-210425-arm64-bvZ.img" (Extracted from the .xz file) -> select "system image" and flash
12- Wait and then go to Reboot -> Recovery
13- Wipe -> Advanced wipe -> select "system" and click on "Repair or change file system" -> Resize system
14- Wait and then go to Reboot -> Recovery
15- Install -> Select the storage where you have files -> Flash "GSI-BUGS-FIXER_11_Q.zip"
16- Wipe -> Format data -> type "yes"
17- Wait and then go to Reboot -> Recovery
18- Install -> Select the storage where you have files -> Flash "BiTGApps-arm64-11.0.0-R19_signed.zip"
19- Wait and then go to Reboot -> System
20- Configure phone and enjoy your new rom
Note 4: I reccomend you to flash magisk after you have configured the rom to avoid problems, I leave you the zip to flash in recovery below
Note 5: I reccomend you the best gcam I've found for Redmi 8, everything works except slow motion, link HERE
Thanks for the attenction
-Estatè
Happy that many GSI roms are under develment. I hope this phone will die due to hardware, as there are lots of options in future to keep the software updated.
Anyway, if someone intends to try, following is the link of all GSI Roms.
Generic System Image (GSI) list
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Can i flash vbmeta through recovery
Naulels said:
Can i flash vbmeta through recovery
Click to expand...
Click to collapse
Hey
I'm not using crDroid yet, but I've already installed TWRP.
It is advertised that you should flash vbmeta when you're installing TWRP.
I hope I can help you
Hey !
I wanna try this but I have rooted my phone so here is my question : do I need to remove the root to install this GSI ?
Thx a lot
Volume doesn't work correctly, I cannot increase or decrease the volume. And I plugged my headphone not play through headphone, it play through speaker. Sorry my English
Naulels said:
Can i flash vbmeta through recovery
Click to expand...
Click to collapse
No, you have to flash it with ADB like twrp
letouvetpierre said:
Hey !
I wanna try this but I have rooted my phone so here is my question : do I need to remove the root to install this GSI ?
Thx a lot
Click to expand...
Click to collapse
I recommend you to remove it from the magisk app to avoid problems but I think that would be the same
Naulels said:
Volume doesn't work correctly, I cannot increase or decrease the volume. And I plugged my headphone not play through headphone, it play through speaker. Sorry my English
Click to expand...
Click to collapse
I haven't this problem, have you flashed the gsi fixer? Did you start the installation from miui 12.0.1? It's really important, anyway, you can try to do again the procedure
Does VoLTE and VoWIFI works ? It's a GSI so I'm not thinking it works...
letouvetpierre said:
Does VoLTE and VoWIFI works ? It's a GSI so I'm not thinking it works...
Click to expand...
Click to collapse
Yes, all work fine becouse you flash the gsi fixer for gsi roms on redmi 8
Estatè Mosconi said:
I haven't this problem, have you flashed the gsi fixer? Did you start the installation from miui 12.0.1? It's really important, anyway, you can try to do again the procedure
Click to expand...
Click to collapse
I have reinstalled and fixed it, thanks
Hey !
I'm so happy !
Everything works on that GSI rom, but I haven't the certification on SafetyNet.
With the covid-tracing app, there is a little problem but it's with all the custom roms so...
Thanks a lot for your guide !
letouvetpierre said:
Hey !
I'm so happy !
Everything works on that GSI rom, but I haven't the certification on SafetyNet.
With the covid-tracing app, there is a little problem but it's with all the custom roms so...
Thanks a lot for your guide !
Click to expand...
Click to collapse
Hi, I'm happy for you, for safetynet try the magisk module, I didn't have this problem, anyway, try the rom and than leave a feedback, it could be useful for other people who want to try this rom
I can't get this rom to work correctly. Did the steps as described, but it has SELinux not enforced and Google play isn't certified. Tried multiple times.
EDIT: seems my phone is soft bricked now (Can't install any rom). Going back to xaomi stock to try again.
I tried again and got it to work. The certificate patch throws an error but Google apps are working.
I get an SE Linux not enforcing error. though.
Is there anything I can do about that?
I lost the treble-overlay-xiaomi-redmi8.apk file ,I should problems with the brightness
ndduc said:
I lost the treble-overlay-xiaomi-redmi8.apk file ,I should problems with the brightness
Click to expand...
Click to collapse
There is the solution for brightness in the guide, you don't need that file
Estatè Mosconi said:
There is the solution for brightness in the guide, you don't need that file
Click to expand...
Click to collapse
thanks you, i fixed
ndduc said:
thanks you, i fixed
Click to expand...
Click to collapse
Ok good