[discussion] EMUI 9.0 Camera Port + need test! - Honor View 10 Guides, News, & Discussion

This thread is for Magisk on EMUI 9.0.
The goal of this thread is porting 9.0 Camera App to treble ROMs.
I bet you guys already know there's Magisk Canary build that supports Kirin 970/960 EMUI 9.0.
There's no more boot.img or RAMDISK.img, so John Wu decided to put magisk into recovery_ramdisk partition.
I first tried typical patch boot image method with recovery_ramdisk.img. but it failed.
Then I tried via TWRP, and it worked like charm.
As a naive approach I extracted Camera App, need you guys using treble ROM to checkout whether it works.
LINK: https://drive.google.com/file/d/18qyfEr0UHrf3OOIIbRPrCCL6n3aNu0UO

Related

LineageOS Setup Process On Mate 10 ALP-AL00 w/ TWRP

Hello guys, I am sorry for making a thread like this. I am overwhelmed with the information out there about this process. And I don’t want to brick my device. So, I figured I would ask Here.
I want to install Lineage OS on my Mate 10 (ALP-AL00).
I’m on EMUI 8.1.0 with build number ALP-AL00 8.1.0.350(C00).
My device is rooted, and I have TWRP installed.
What I need is a step by step process on how to install Lineage OS correctly, or, if I am even able to do so with my current setup.
Can I install Lineage OS with TWRP installed, or do I have to remove TWRP first? If so, how?
Thanks in advance to anyone that can help me out!
bump
last time
I'm running on my Mate 10 ALP-L09 LineageOS Beta 5 that I downloaded from openkirin web page. As per information on that web page you must be on EMUI 8.0 (not 8.1) and with stock recovery in order to successfully flash LOS or Omni or RR ROM (BTW. I decided for LOS as in this ROM all of the features and functions that are important to me are working: pictures and videos are saving to SD Card, double tap to sleep works, cast to TV works, hotspot with 5GHz band works, central clock in status bar is available, NFC with magisk's NFC4PRA-GSI module installed works - 5 first features doesn't work for me on Omni Oreo nor Omni Pie) So I think if you want to go for LOS then you first need to back to stock recovery and downgrade to EMUI 8.0. You need to find on XDA how to do that. I can't help you with that because I did LOS installation from EMUI 8.0 with stock recovery.

Official TWRP is support for treble and non treble also?

hello guys i want to know that official twrp (https://twrp.me) is support for treble and non treble devices also no need to download modded TWRP?
The official one as far as I know is Treble, but for some reason it doesn't show Internal Storage and doesn't support Pie ROMs
The official twrp supports treble and is compatible with pie roms
thank you for reply
I would like to know if the latest official TWRP supports BOTH treble and non-treble roms, so if I update to Oreo or Pie treble I can later downgrade to Nougat without also downgrading TWRP?
The latest TWRP supported for treble Rom n non-treble rom. So you don't need to install modded TWRP.
Thx!
Official twrp kills encryption capability use orangefox

Create a Treble Rom for this Device?

Do you think there is any way that a Project Treble Rom could be made for this device allowing installation of GSI images? I still use my Vivo 5.
Definitely need a treble rom for Vivo 5. I tried to build it myself but no success. We also need latest TWRP to flash GSI as the version that supports Vivo 5 will not be able to flash GSI.
LearnedKey1290 said:
Definitely need a treble rom for Vivo 5. I tried to build it myself but no success. We also need latest TWRP to flash GSI as the version that supports Vivo 5 will not be able to flash GSI.
Click to expand...
Click to collapse
Please keep trying. attempt to get others to help you if possible.

Are there any custom recovery for device huawei y max,honor 8x max?

I need a recovery for that device plz.
If you have then plz help me.
I found the quack version by phh works. Unfortunately it is android 10. The android 12l have a brightness issues. The crdroid 3.2 works great but backlight is stuck at 50% Researching it's a vendor overlay issue. Seems too complex to program. Can I copy the overlays from the quack rom to a new GSI rom? Dirty flash didn't work.

[How-to] Flash GSI ROM for your Redmi K30 5G

Hello friends,
I can now flash GSI on my Redmi K30 5G!
The following is the step to flash GSI on Redmi K30 5G (and also probably other redmi devices that support project treble):
1. boot to bootloader (fastboot mode)
2. choose one of fastboot ROMs of China Stable ROM and download it at the link here.
3. extract recovery.img from the downloaded ROM to your ADB fastboot platform tools folder
4. flash stock recovery.img
fastboot flash recovery recovery.img
5. enter fastbootd mode
fastboot reboot fastboot
6. flash GSI ROM of your choice which its size does not exceed the /system of your phone
fastboot flash system system.img
7. wipe all data by entering the following command
fastboot -w
8. reboot your phone
fastboot reboot
My phone can boot GSI ROM with no problem with this method.
Hope this helps.
Edit: add screenshots from the phone with GSI ROM installed.
siamese007 said:
Hello friends,
I can now flash GSI on my Redmi K30 5G!
The following is the step to flash GSI on Redmi K30 5G (and also probably other redmi devices that support project treble):
1. boot to bootloader (fastboot mode)
2. choose one of fastboot ROMs of China Stable ROM and download it at the link here.
3. extract recovery.img from the downloaded ROM to your ADB fastboot platform tools folder
4. flash stock recovery.img
fastboot flash recovery recovery.img
5. enter fastbootd mode
fastboot reboot fastboot
6. flash GSI ROM of your choice which its size does not exceed the /system of your phone
fastboot flash system system.img
7. wipe all data by entering the following command
fastboot -w
8. reboot your phone
fastboot reboot
My phone can boot GSI ROM with no problem with this method.
Hope this helps.
Edit: add screenshots from the phone with GSI ROM installed.
Click to expand...
Click to collapse
Any OxygenOS 11 based GSI rom? I found one for K20 Pro. Will any GSI rom works in this way or only ROMs from your given list?
abhi281 said:
Any OxygenOS 11 based GSI rom? I found one for K20 Pro. Will any GSI rom works in this way or only ROMs from your given list?
Click to expand...
Click to collapse
GSI ROMs are no specific to any devices. You can flash any Oxygen GSI ROMs that you found on your devices. But not all GSI ROMs will boot successfully for any devices.
I found this Oxygen GSI ROM here.
siamese007 said:
GSI ROMs are no specific to any devices. You can flash any Oxygen GSI ROMs that you found on your devices. But not all GSI ROMs will boot successfully for any devices.
I found this Oxygen GSI ROM here.
Click to expand...
Click to collapse
I tested CherishOS official GSI this morning by following your method. It stuck at logo, not booting... so I just need to follow your method? any other thing to do? Also Do I need to be in China MIUI stock ROM to flash GSI or MIUI EU will work too?
btw which GSI ROM you are using?
abhi281 said:
I tested CherishOS official GSI this morning by following your method. It stuck at logo, not booting... so I just need to follow your method? any other thing to do? Also Do I need to be in China MIUI stock ROM to flash GSI or MIUI EU will work too?
btw which GSI ROM you are using?
Click to expand...
Click to collapse
If you followed my method correctly but get bootloop, it means this GSI ROM is not compatible with the device. You need to look for the others. You can test flashing GSI ROMs by using phhusson's GSI ROMs here. His ROMs are the most success ROMs so far. I always use his ROMs to test flashing GSI ROMs for any devices before looking for other ROMs to suit my needs.
There are a number of GSI ROMs that I tested and could boot up K30 5G. For example, Havoc OS, Lineage OS, Legion OS, Fluid OS, Pixel Android 10, etc. You can try other ROMs that you like and would be appreciated to share the results.
siamese007 said:
There are a number of GSI ROMs that I tested and could boot up K30 5G. For example, Havoc OS, Lineage OS, Legion OS, Fluid OS, Pixel Android 10, etc. You can try other ROMs that you like and would be appreciated to share the results.
Click to expand...
Click to collapse
There are no other ROMs in that link. Only AOSP.
abhi281 said:
There are no other ROMs in that link. Only AOSP.
Click to expand...
Click to collapse
I just posted GSI ROMs of phhusson.
You can search other GSI ROMs on the internet.
siamese007 said:
I just posted GSI ROMs of phhusson.
You can search other GSI ROMs on the internet.
Click to expand...
Click to collapse
OK, Thanks. Another question: if GSI ROM works then how much time it may usually take to boot?
abhi281 said:
OK, Thanks. Another question: if GSI ROM works then how much time it may usually take to boot?
Click to expand...
Click to collapse
It should be less than 5-10 minutes after the GSI logo boot up.
siamese007 said:
It should be less than 5-10 minutes after the GSI logo boot up.
Click to expand...
Click to collapse
Ok, it seems it is my bad luck. Couldn't boot a single GSI ROM in my device.
CherishOS: bootloop (logo)
Corvus 15.0: bootloop (logo)
Pixel S : bootloop (Redmi logo)
OxygenOS : bootloop (Redmi logo)
AOSP (latest) : bootloop (logo)
Don't know what's wrong with my phone
Note: I only tested Android 11 GSIs
abhi281 said:
Ok, it seems it is my bad luck. Couldn't boot a single GSI ROM in my device.
CherishOS: bootloop (logo)
Corvus 15.0: bootloop (logo)
Pixel S : bootloop (Redmi logo)
OxygenOS : bootloop (Redmi logo)
AOSP (latest) : bootloop (logo)
Don't know what's wrong with my phone
Note: I only tested Android 11 GSIs
Click to expand...
Click to collapse
It may be because your firmware is not updated. What is your lastest firmware before flashing GSI?
However there are some of these ROMs of Android 11 that I could not get them boot up. Try them for Android 10. But I could have phhusson's GSI ROMs boot up for sure.
Edit1: Try flashing this firmware before flashing GSI. And there are a number of TWRP for K30 5G. You can use these to flash GSI as well. But best to install TWRP 3.5 or above in order to flash GSI ROM of Android 11.
Edit2: Here is the link to download updated firmware for K30 5G.
siamese007 said:
It may be because your firmware is not updated. What is your lastest firmware before flashing GSI?
However there are some of these ROMs of Android 11 that I could not get them boot up. Try them for Android 10. But I could have phhusson's GSI ROMs boot up for sure.
Edit1: Try flashing this firmware before flashing GSI. And there are a number of TWRP for K30 5G. You can use these to flash GSI as well. But best to install TWRP 3.5 or above in order to flash GSI ROM of Android 11.
Edit2: Here is the link to download updated firmware for K30 5G.
Click to expand...
Click to collapse
My firmware is updated. I am using Weekly firmware of MIUI EU. So I need to flash latest China firmware?
I have OrangeFOX recovery, will that work for flashing GSI ROM?
abhi281 said:
My firmware is updated. I am using Weekly firmware of MIUI EU. So I need to flash latest China firmware?
I have OrangeFOX recovery, will that work for flashing GSI ROM?
Click to expand...
Click to collapse
Try Stable version. MIUI EU ROMs come with updated firmware. But they are weekly verision.
This Recovery should be able to flash Android 11 GSI ROMs here.
So you can flash Vanilla version of GSI and flash GAPPS later.
I am not sure about rooting GSI with Magisk. But you can try with the custom recovery.
By they way, I have never flash GSI ROMs with custom recovery. Since at the time I flashed Android 11 GSI ROMs, there were no custom recovery for Android 11. Follow their instructions for using it carefully.
Edit: Please note that if you could boot up GSI Logos but get bootloop, it's usually because firmware issues. However there are some GSI ROMs that are not compatible with the firmwares of the devices.
Flashing GSI ROMs are pure OS with no firmwares for Android devices which supports Project Treble like installing Windows on PC. Before that the manufacturers have to build Stock ROMs with firmwares. Right now the manufacturers just build firmwares. This is the main concept of Project Treble.
siamese007 said:
Try Stable version. MIUI EU ROMs come with updated firmware. But they are weekly verision.
This Recovery should be able to flash Android 11 GSI ROMs here.
So you can flash Vanilla version of GSI and flash GAPPS later.
I am not sure about rooting GSI with Magisk. But you can try with the custom recovery.
By they way, I have never flash GSI ROMs with custom recovery. Since at the time I flashed Android 11 GSI ROMs, there were no custom recovery for Android 11. Follow their instructions for using it carefully.
Click to expand...
Click to collapse
Ok, I have downloaded TWRP3.5 for this device and will flash latest China stable firmware (12.1.6 for K30 5G). I will try those A11 GSI again and also downloaded A10 based OxygenOS GSI.
Let's see what happen....
Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.
For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition.
siamese007 said:
Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.
For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition
Click to expand...
Click to collapse
Tested A11 ROMs with both TWRP and OrangeFOX, not working. All of them failed with Bootloop (Redmi logo).
So Now I am going to try A10 GSI ROMs in your method (no TWRP or OrangeFox).
Note: I have flash latest stable China firmware before flashing GSI ROMs as you said
siamese007 said:
Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.
For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition.
Click to expand...
Click to collapse
No A10 OxygenOS is working.
But finally able to boot one A11 GSI ROM! (following your method and with stable China firmware)
Descendant XI - https://downloads.descendant.me/Home/Latest
version: Latest (February 2021 patch)
Working: Everything
Issues:
1. some screen flickering for 2-3 seconds after reboot/boot the phone
2. Audio don't work out-of-the-box (Need to enable 'alternate audio policy for Qualcomm' from Phh-treble Settings)
3. No built-in Camera app
abhi281 said:
No A10 OxygenOS is working.
But finally able to boot one A11 GSI ROM! (following your method and with stable China firmware)
Descendant XI - https://downloads.descendant.me/Home/Latest
version: Latest (February 2021 patch)
Working: Everything
Issues:
1. some screen flickering for 2-3 seconds after reboot/boot the phone
2. Audio don't work out-of-the-box (Need to enable 'alternate audio policy for Qualcomm' from Phh-treble Settings)
3. No built-in Camera app
Click to expand...
Click to collapse
Glad that you could flash some GSI ROMs successfully. Actually other than Descendant XI ROM, I could flash and boot some other ROMs as follow:
1. crDroid A11
2. Fluid OS A11
3. Nusantara OS A11
4. StagOS A11
5. LineageOS A11
6. Havoc OS A11
You can find a big vault of GSI ROMs here. There are tens of GSI ROMs to test as far as their unpacked file sizes do not exceed /system partition of the target devices.
Right now crDroid is my most favorite GSI ROM. You can download and test it here.
The reasons why I like this ROM are from stability and least issues and glitches.
I have tested tens of GSI ROMs and many of them have some issues for playing games which fully utilize hardware resources.
When I tested playing games on some ROMs, the games will crash within 15 minutes. But on crDroid ROM, I could play as long as hours with no problem at all.
There are some other glitches about playing streaming VDOs for some other ROMs as well.
By the way, there are different versions of crDroid from different developers. But I tested crDroid ROMs from the link above.
Edit: I usually download Open Camera app for Camera. This app works well just like the camera app that comes with MIUI.
abhi281 said:
Tested A11 ROMs with both TWRP and OrangeFOX, not working. All of them failed with Bootloop (Redmi logo).
So Now I am going to try A10 GSI ROMs in your method (no TWRP or OrangeFox).
Note: I have flash latest stable China firmware before flashing GSI ROMs as you said
Click to expand...
Click to collapse
Have you tried flashing vanilla versions of GSI ROMs with fastbootd and flashing Open GAPPS with TWRP or Orangefox?
If this is possible, we can flash Vanilla version of GSI ROMs that easily fit into limited space of /system partition and flash GAPPS later with custom recovery.
siamese007 said:
Have you tried flashing vanilla versions of GSI ROMs with fastbootd and flashing Open GAPPS with TWRP or Orangefox?
If this is possible, we can flash Vanilla version of GSI ROMs that easily fit into limited space of /system partition and flash GAPPS later with custom recovery.
Click to expand...
Click to collapse
The ROM I am looking for (OxygenOS) has no vanilla versions, I didn't find any
Note: Custom recovery having issues with GSI, I can't flash Magisk with OrangeFOX. Flashing is ok with no error, but after re-booting the device, no magisk in the system! Because of encryption problem? base firmware is MIUI China stable, custom recovery may be not supporting encryption of China firmware.

Categories

Resources