How to fix video recording on Emui Camera porting - P8 Lite (2017) Discussion

Hello guys, today I will show how to fix in an easy way video recording with Emui camera port by our master @flex1911 !
Requirements:
* Bootloader Unlocked with an Android Pie custom roms with Emui camera flashed
* This TWRP recovery
* ADB installed, download it here
* NVME.zip, you can grab it from Huawei Exploit 's telegram @huaweihax don't mirror the file !
We are going to flash a vendor image.
Procedure:
* Make a Nvme backup via TWRP
* Flash Nvme.zip correctly by following the steps writted in the channel and while flashing
* Download P20 Lite or one of other kirin 659 devices firmware repair from androidhost.ru (make sure it has the same security patches of your vendor)
* Extract form Softwtare/update_sd/UPDATE.APP the VENDOR.img by using Huawei update extractor if you are on Windows or split_updata.pl if you are on Linux
* flash via fastboot "fastboot flash vendor vendor.img"
* reboot in to system
NOTE: After boot you can notice some inital crashes but it's normal because you have changed vendor, it will crash just once.
Credits:
* @askuccio_Droid for the TWRP
* @flex1911 for the Emui Camera port
* HuaweiHax guys for the nvme.zip
* Marcominetti for split_updata.pl
* @worstenbrood for Huawei Update Extractor tool
Tested on my P8 LIte 2017 running Descendant ver.TwoDotZero, at the end of the post you will find the proofs
Regards !

Related

Install Android Q in Mi A1 (Android Q A/B GSI Ports)

Code:
/*
* 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 ROM
* 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.
*/
Requirements:
# treblized vendor (P or O)
How to install:-
1. Enable Developer options in Settings app
2. Check Enable OEM Unlocking
3. Reboot to fastboot mode
4. Unlock your bootloader
5. Install TWRP-fastboot only through fastboot boot command (Extract the .img file from the zip)
6. Flash CosmicDan's TWRP Installer through your current TWRP. Credits to @CosmicDan for his TWRP and @mohancm for official TWRP sources.
7. Reboot to TWRP recovery
8. Go to WIPE then ADVANCED then click FORMAT data. This will remove Encryption on your device and allows you to set new passwords when installing the GSI. Note that this will format your internal storage.
9. Treblelize through TWRP Tissot Manager (Go to advanced, click Tissot Manager and choose the repartition userdata option. Select singleboot option then click repartition)
10. Flash Boot image
11. Flash Pie Vendor ( VENDOR_A1_PIE-NFE_20181011 ) by Adb sideload
12. Install System Image (Q_AB_v0.3.img.7z)
13. Flash permissiver_v2.zip or make your boot partition selinux permissive
14. Flash FixZygote.zip
15. Reboot To system
16. Special thanks to @erfanoabdi for porting the Q A/B GSI.
Bugs:-
1. Volte Fully Broken
2. Camera Not Working
3. Wifi Broken ( Connection seems but not connected)
Duplicate thread closed.
Please use this one instead.
Funk Wizard
Forum Moderator

Install Android Q in Mi A1 (Android Q A/B GSI Ports)

Code:
/*
* 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 ROM
* 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.
*/
Requirements:
# treblized vendor (P or O)
How to install:-
1. Enable Developer options in Settings app
2. Check Enable OEM Unlocking
3. Reboot to fastboot mode
4. Unlock your bootloader
5. Install TWRP-fastboot only through fastboot boot command (Extract the .img file from the zip)
6. Flash CosmicDan's TWRP Installer through your current TWRP. Credits to @CosmicDan for his TWRP and @mohancm for official TWRP sources.
7. Reboot to TWRP recovery
8. Go to WIPE then ADVANCED then click FORMAT data. This will remove Encryption on your device and allows you to set new passwords when installing the GSI. Note that this will format your internal storage.
9. Treblelize through TWRP Tissot Manager (Go to advanced, click Tissot Manager and choose the repartition userdata option. Select singleboot option then click repartition)
10. Flash Boot image
11. Flash Pie Vendor ( VENDOR_A1_PIE-NFE_20181011 ) by Adb sideload
12. Install System Image (Q_AB_v0.3.img.7z)
13. Flash permissiver_v2.zip or make your boot partition selinux permissive
14. Flash FixZygote.zip
15. Reboot To system
16. Special thanks to @erfanoabdi for porting the Q A/B GSI.
Bugs:-
1. Volte Fully Broken
2. Camera Not Working
3. Wifi Broken ( Connection seems but not connected)
XDA:DevDB Information
Android Q, ROM for the Xiaomi Mi A1
Contributors
Sonudbm, Erfanoabdi
Source Code: https://mega.nz/#F!CYQxgCDK!Dl4kKANVDRy5kOFkNsuMVw
ROM OS Version: 9.x Pie
ROM Firmware Required: treblized vendor (P or O)
Based On: GSI
Version Information
Status: Beta
Stable Release Date: 2019-03-17
Beta Release Date: 2019-03-15
Created 2019-03-19
Last Updated 2019-03-19
Duplicate thread closed.
Please use this one instead.
Funk Wizard
Forum Moderator

Install Android Q in Mi A1 (Android Q A/B GSI Ports)

Code:
/*
* 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 ROM
* 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.
*/
Requirements:
# treblized vendor (P or O)
How to install:-
1. Enable Developer options in Settings app
2. Check Enable OEM Unlocking
3. Reboot to fastboot mode
4. Unlock your bootloader
5. Install TWRP-fastboot only through fastboot boot command (Extract the .img file from the zip)
6. Flash CosmicDan's TWRP Installer through your current TWRP. Credits to @CosmicDan for his TWRP and @mohancm for official TWRP sources.
7. Reboot to TWRP recovery
8. Go to WIPE then ADVANCED then click FORMAT data. This will remove Encryption on your device and allows you to set new passwords when installing the GSI. Note that this will format your internal storage.
9. Treblelize through TWRP Tissot Manager (Go to advanced, click Tissot Manager and choose the repartition userdata option. Select singleboot option then click repartition)
10. Flash Boot image
11. Flash Pie Vendor ( VENDOR_A1_PIE-NFE_20181011 ) by Adb sideload
12. Install System Image (Q_AB_v0.3.img.7z)
13. Flash permissiver_v2.zip or make your boot partition selinux permissive
14. Flash FixZygote.zip
15. Reboot To system
16. Special thanks to @erfanoabdi for porting the Q A/B GSI.
Bugs:-
1. Volte Fully Broken
2. Camera Not Working
3. Wifi Broken ( Connection seems but not connected)
XDA:DevDB Information
Android Q, ROM for the Xiaomi Mi A1
Contributors
Sonudbm, Erfanoabdi
Source Code: https://mega.nz/#F!CYQxgCDK!Dl4kKANVDRy5kOFkNsuMVw
ROM OS Version: 9.x Pie
ROM Firmware Required: treblized vendor (P or O)
Based On: GSI
Version Information
Status: Beta
Stable Release Date: 2019-03-17
Beta Release Date: 2019-03-15
Created 2019-03-19
Last Updated 2019-03-19
Request to lock this thread OP.
---------- Post added at 12:06 PM ---------- Previous post was at 12:04 PM ----------
WhatzIt2Ya said:
Request to lock this thread OP.
Click to expand...
Click to collapse
Correction: request to lock your 3 OTHER THREADS!
Screenshots?
Duplicate thread Closed
Please use this one instead
Funk Wizard
Forum Moderator

[UNOFFICIAL][TWRP][Recovery] TWRP 3.3.1-0 [Onc/Onclite]

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.​
Code:
/*
* Your warranty is now void.
*
* We are 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 ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
CHANGELOG for 3.3.1-0:
Fix selinux issues during formatting - dianlujitao
Various fixes for toybox and toolbox builds - CaptainThrowback and bigbiff
Flash both A and B partitions when installing a recovery ramdisk - Dees_Troy
Add option to uninstall TWRP app from /system - Dees_Troy
Create digest for subpartitions - bigbiff
Install guide:
Install fastboot tools from google's sdk on your PC
Enter fastboot mode
Unlock your bootloader
Download recovery-20190820.img
Run "fastboot flash recovery recovery-20191120.img in command line
Reboot and enjoy it
Download:
recovery.img [20/11/19]
XDA:DevDB Information
Twrp, Tool/Utility for the Xiaomi Redmi 7
Contributors
RevanthTolety, Flex
Kernel Source Code: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/onc-p-oss
Version Information
Status: Stable
Stable Release Date: 2019-11-20
i wonder if this could work with the pixel experience rom
So many of you might wonder about the need of a new recovery since there are already many recoveies floating around, but there are few things that are different about this one
This recovery sets the proper codename for your device i.e.: Onc & Onclite for Redmi 7 Global & All Other Variants
This Recovery Is Built With Proper Source Code & Correct Partition Sizes With the Ability to Flash Custom Roms
Last But Not the least, Some ScreenShots
Do this support encryption??
Zac_1 said:
Can I use this recovery for the pixel experience ROM?
---------- Post added at 11:53 AM ---------- Previous post was at 11:52 AM ----------
Can you please try it and give us feedback?
Click to expand...
Click to collapse
you could like , try it yourself...I'm happy with miui 10 and waiting for miui globe 11
Do this support miuimix 2.0 + gsi?
RevanthTolety said:
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.​
Code:
/*
* Your warranty is now void.
*
* We are 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 ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
CHANGELOG for 3.3.1-0:
Fix selinux issues during formatting - dianlujitao
Various fixes for toybox and toolbox builds - CaptainThrowback and bigbiff
Flash both A and B partitions when installing a recovery ramdisk - Dees_Troy
Add option to uninstall TWRP app from /system - Dees_Troy
Create digest for subpartitions - bigbiff
Install guide:
Install fastboot tools from google's sdk on your PC
Enter fastboot mode
Unlock your bootloader
Download recovery-20190820.img
Run "fastboot flash recovery recovery-20190820.img in command line
Reboot and enjoy it
Download:
recovery.img [28/08/19]
XDA:DevDB Information
Twrp, Tool/Utility for the Xiaomi Redmi 7
Contributors
RevanthTolety, thelazyindian
Kernel Source Code: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/onc-p-oss
Version Information
Status: Stable
Stable Release Date: 2019-08-28
Created 2019-08-28
Last Updated 2019-08-27
Click to expand...
Click to collapse
It can decrypt android 10?
I wonder what's the difference between this and the official version found in TWRP's site.
Can i flash onc and onclite roms with this?
Andrica said:
Can i flash onc and onclite roms with this?
Click to expand...
Click to collapse
Yeah U Can
Darth Bidder said:
I wonder what's the difference between this and the official version found in TWRP's site.
Click to expand...
Click to collapse
I Dont Know About That Though, But mine is Built with Proper Twrp Trees & Correct Partition Sizes & Adds Both Onc & Onclite Codename
Time for quick update
Changelog
Mounting And Unmounting Of Partitions Fixed
Now Roms can be backed up and restored
Fixed "zip_compatible_err" while flashing a few roms
Links are updated in op enjoy [/QUOTE]
While backing up, it's not able to mount partitions...keeps asking for decryption password...
Edit: You need to select Wipe > Format Data first
Can it decrypt Android Q ? Btw thanks
Time For a Quick Update
- Fixed Compatibility_Zip Error Permanently
- Full Support to Flash Source Built Vendor Based Roms
Download Link Updated in OP
RevanthTolety said:
Time For a Quick Update
- Fixed Compatibility_Zip Error Permanently
- Full Support to Flash Source Built Vendor Based Roms
Download Link Updated in OP
Click to expand...
Click to collapse
Thank you very much.
In OP (Install guide) there is an error because now "Download recovery-20190820.img" should be "Download recovery-20191120.img".
I install the twrp.img but am unable to boot in to twrp.
Any solutions?
Can't install arm64 Gapps. TWRP forces me to flash arm version but when I boot into LineageOS there are no Gapps at all.
This Is a pretty good build of TWRP but can't decrypt and doesn't install GApps (Shows arm instead of arm64)
Otherwise, works like a charm
does this handle decryption and can disable dm-verify?

Installing GSI ROM on realme XT RMX1921

Code:
#include <std_disclaimer.h>
/*
*
* We are 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 ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Hi guys!
I just want to share how to flash GSI on our realme XT RMX1921.
I've testing Phh's Quack (Android 10) and booted.
You maybe can test another GSI and then report it here.
I haven't testing another AOSP GSI or even OEM GSI like OOS / MIUI / H2OS.
I'll update if I was testing it and boot successfully.
If you have simpler way to install GSI then tell me tho.
Here is the steps :
1. Unlock your XT's bootloader and make sure you have installing adb fastboot on your Windows / Linux / Mac
2. Flash TWRP by thesprintster here : https://forum.xda-developers.com/re...ecovery-unofficial-twrp-realme-5-pro-t3985459
3. Download LineageOS by thesprintster here : https://forum.xda-developers.com/realme-xt/development/rom-lineageos-16-0-t3985463
4. Open LOS zip and take the boot.img
5. Download vbmeta by thesprintster here : https://drive.google.com/drive/folders/1JwIpix76opSAToa-4X4YdT_SH5JUOxJQ
6. Download Phh's Quack here : https://forum.xda-developers.com/pr...velopment/aosp-10-0-quack-phh-treble-t3992559 (select arm64-ab-gapps or arm64-ab-vanilla)
6a. You can download another GSIs like ExpressLuke GSIs here : https://forum.xda-developers.com/project-treble/trebleenabled-device-discussion/gsi-expressluke-built-gsis-t4003457 and make sure you download the ARM64 AB variant.
7. Boot to TWRP and backup your vendor image (or maybe all your vendor + system + boot + data if you want to back to ColorOS) incase to avoid any error
8. Wipe all except vendor
9. Back to bootloader / fastboot, put your vbmeta.img to your adb fastboot folder
10. Flash vbmeta.img by typing fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img
11. Boot to TWRP and copy Phh's Quack System image and LOS boot.img to your rXT
12. Flash boot and system image
13. Flash Gapps (if you download the vanilla variant) or if you want Google-less you can skip this
14. Reboot to system
15. Wait for booting aprrox. 4 minutes
Bug list on Phh's Quack GSI (and another Phh's based GSIs) tested on rXT 8/128 :
- Fingerprint not working (realme disable fingerprint since bootloader unlocked)
- VoLTE not working (global GSI bugs)
- Status bar on side (like battery and clock) got cropped and mis-positioned How to fix clock and battery logo : Go to Settings - Phh Treble Settings - Misc features - Set rounded corners diameter : 15 (or above 15, just fill with values you want)
- Bluetooth Media not working
- you tell?
Tested GSIs :
- Quack Phh-Treble arm64-ab-gapps v202 by phhusson
- Evolution-X 3.3 20191111 ARM64-AB by turbolukex5
Enjoy! :fingers-crossed:
You can correct status bar cropping by enabling developer options and selecting cutout.
I'll just add this here in case anyone needs it.
Also , if anyone finds workarounds for VoLTE, please feel free to post it.

Categories

Resources