try install treble rom aosp phh and have problem ViperFx - Huawei Mate 9 Questions & Answers

I have installed the rom stock huawei 8.0
I made root with magisk and installed the ViperFX module ok
I tried installing the rom treble phh aosp and even I doing wipe cache wipe system,
when starting rom Aosp a message keeps popping up saying that Viper4FX has stopped.
but how ? if I deleted the entire previous system.

aureliomilitao said:
I have installed the rom stock huawei 8.0
I made root with magisk and installed the ViperFX module ok
I tried installing the rom treble phh aosp and even I doing wipe cache wipe system,
when starting rom Aosp a message keeps popping up saying that Viper4FX has stopped.
but how ? if I deleted the entire previous system.
Click to expand...
Click to collapse
Unfortunately viper doesn't work on Oreo.

ok
but i make all wipes
wipes wipes
wipe data,system,cache....and flash with fastboot system.img aosp phh treble and after boot system aosp the message appear
but i delet Huawei stock system in twrp

aureliomilitao said:
ok
but i make all wipes
wipes wipes
wipe data,system,cache....and flash with fastboot system.img aosp phh treble and after boot system aosp the message appear
but i delet Huawei stock system in twrp
Click to expand...
Click to collapse
Did you uninstall/remove the ViperFX module inside magisk manager?

i install with twrp and no appear module viper in magisk.
i fink wipe system erase all , no ?

aureliomilitao said:
i install with twrp and no appear module viper in magisk.
i fink wipe system erase all , no ?
Click to expand...
Click to collapse
I'm not 100% positive on that. Unfortunately, sounds like you might have to reflash stock recovery and then reflash the stock ROM first to get the whole system back properly and get rid of the error. Or maybe flash stock recovery and then factory reset from there.

Related

Need help. most apps crash

I rooted my ZenFone 4 max and installed Xposed. Ended up installing an Xposed module that caused the system UI to crash on boot. So I did a factory reset from TWRP, which fixed the UI. But now most of my apps crash and force-close. Anyone have an idea how to fix this? Would flashing stock firmware work? And if so, where can I get the stock recovery? (I already downloaded the stock firmware from Asus website)
Mc10538 said:
I rooted my ZenFone 4 max and installed Xposed. Ended up installing an Xposed module that caused the system UI to crash on boot. So I did a factory reset from TWRP, which fixed the UI. But now most of my apps crash and force-close. Anyone have an idea how to fix this? Would flashing stock firmware work? And if so, where can I get the stock recovery? (I already downloaded the stock firmware from Asus website)
Click to expand...
Click to collapse
Whats your Android version. Try flashing gapps. Hope it will work. Use the stock gapps package.
7.1.1
Android 7.1.1. I tried gapps, it didn't help, and most of the gapps crash as well
solved(ish)
Mc10538 said:
I rooted my ZenFone 4 max and installed Xposed. Ended up installing an Xposed module that caused the system UI to crash on boot. So I did a factory reset from TWRP, which fixed the UI. But now most of my apps crash and force-close. Anyone have an idea how to fix this? Would flashing stock firmware work? And if so, where can I get the stock recovery? (I already downloaded the stock firmware from Asus website)
Click to expand...
Click to collapse
I got a notification for an ota system update, figured I didn't have much to loose, so I went ahead and told it to install. It started installing, then booted to recovery (twrp) and then crashed, and wouldn't load the operating system, would only boot to twrp. I restored a (bad [backed up after problems started]) twrp backup I had, and now everything seems to be working just fine. So the ota update must have fixed whatever was causing app crashes. At this point with everything I have done, the code probably looks like Frankenstein's monster, but everything works, so I'm happy and am going to leave everything the way it is. Hope this might help if someone is having similar problems!
Mc10538 said:
Android 7.1.1. I tried gapps, it didn't help, and most of the gapps crash as well
Click to expand...
Click to collapse
Ohh.. flash to stock os again
Go to twrp> wipe > wipe everything (system,data,cache ,dal cache)
Back to install select the stock os
Install it..
( Is the installation fail. Go to fastboot and flash the stock recovery and flash the stock os through it)
Then reboot.
Install magisk manager
After opening it it will pop up "install "
Hit install and locate the stock os "boot.img" file.
It will download and flash some files.and will create a patched-boot.img file in your internal storage
After that copy it to your pc and flash it
( Fastboot flash boot "file.img" )
Reboot!!!
Install Xposed from magisk module. Its the stable one.
Twrp
https://goo.gl/v17ZgR
Stock
https://goo.gl/S75Dpr

Ultimate Guide for Flashing GSI For Kuntao ( Lenovo P2A42 )

Ultimate Guide for Flashing GENRIC SYSTEM IMAGE.
Contents:
Intro
how to flash gsi.
how to get rooted.
gapps issues
how to get back to non treble rom from gsi or treble enabled builds.
Introduction and basic information:
GSI means Generic System Image, which can be flashed over any Treble Device.
So, in simple words : same System.img can be flashed over multiple devices having Treble Support.
This happens as we now have a separate /vendor partition where all the vendor hals are stored.
Now, this will help to do easy bring ups, Treble builds are smooth af y'all know that and you'll get to flash aosp treble rom
Also, if you own 2-3 treble devices, now you'll just have to download one system.img xD it'll work for all of em ( if treble supported )
How to get Treble Support?
Flashing Treble TWRP won't give you treble support. Keep that in Mind. It'll just mount the partition in the recovery, so that vendor img can be flashed.
To get Treble Support, you'll need to flash a latest ROM which has vendor image compiled with the latest changes by mikeNG, once you flash such a ROM, you'll get the vendor stored in the vendor partition, and after that you can flash any GSI ( as it's just System.img, and all our device specifics are in /vendor so it won't mess with that)
Instructions:
Download Official LineageOS-15.1 treble enabled build from here
Download treble enabled twrp from here
Move both the downloaded files to external sd card (recommended)(optional)
boot in twrp
move to wipe option from twrp.
advanced wipe.
select data and then check if its in ext4 if not format it to ext4 ( do this from official twrp by @celoxocis )
then go to install and install the recovery provided above.
reboot to recovery.
wipe system, data, dalvik, cache & internal storage recommended.
install the lineage os zip and reboot.
download GSI of any rom of your choice. if it is in zipped format extract it and make sure you have a *.img
boot into twrp
wipe anything other than boot, micro sd & vendor
go to install option and then select install image button on bottom right corner
select the gsi of your choice which you have downloaded and install it on system partition.
reboot to recovery (important)
flash mind the gapps if you are going to use gapps in your rom. ( important open gapps have a few issues on treble like many of times gapps dont get flashed or shows some error)
reboot
Kudos you have now flashed a Genric System Image on your Lenovo P2.
for how to get rooted with magisk refer to next post.
and List Of GSI is available here
if you have any doubts even after reading this ultimate guide feel free to post it i will try to answer it and help you with that.
after following instruction as mentioned above
* download the magisk from here
* flash it normally.
A list of GSI and download links can be found here.
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Only A arm64 gsi are supported well on our device and based on arch of our device
how to get back to non treble rom?
* Download the non treble rom your choice
* boot into twrp do wipes as suggested on rom's thread and then flash the rom package no need to mess with vendor partition.
I have managed to flash Dirty Unicorns Rom and its working pretty much well.
Here are some screen shots.
Volte working on GSI?
Volte working on any gsi?
advaithbhat said:
Volte working on any gsi?
Click to expand...
Click to collapse
My network provider don't use volte you can try and tell me
Sent from my Phh-Treble vanilla using Tapatalk
I'm on codeexilir's twrp, can't I use that twrp to flash official los 15.1 to get vendor image and then flash any GSI. Or it is mandatory to use los twrp?
abdal2006 said:
I'm on codeexilir's twrp, can't I use that twrp to flash official los 15.1 to get vendor image and then flash any GSI. Or it is mandatory to use los twrp?
Click to expand...
Click to collapse
I believe You can but I haven't tested that.
Sent from my Phh-Treble vanilla using Tapatalk
If i want to change the gsi img then should i clean flash the los 15.1 again?
imPro01 said:
If i want to change the gsi img then should i clean flash the los 15.1 again?
Click to expand...
Click to collapse
No. Just don't wipe vendor & boot just change GSI
Sent from my Phh-Treble vanilla using Tapatalk
abhayruparel said:
No. Just don't wipe vendor & boot just change GSI
Click to expand...
Click to collapse
Thank you for reply
1) If i go to recovery and flash the new GSI img without anything wipe then it'll work?
2) If i want to go back to Los then how to do it?
Thx abhayruparel.
There is not an aosp p beta yet, no?
After flashing GSI NFC is not working
I can't make any gsi work.Always returns password and reset phone screens on reboot.Entering password says password accepted but decryption unsuccessful.Reset phone takes to TWRP but does nothing and reboots to the same password screen.What to do?
rexit1979 said:
I can't make any gsi work.Always returns password and reset phone screens on reboot.Entering password says password accepted but decryption unsuccessful.Reset phone takes to TWRP but does nothing and reboots to the same password screen.What to do?
Click to expand...
Click to collapse
Changing system and data to ext4 will do the trick probably
Miltonbaidya88 said:
Changing system and data to ext4 will do the trick probably
Click to expand...
Click to collapse
Both are already on ext4.
After flashing gsi got decryption unsuccessful error. How to solve that?
something is very wrong......
First if I flash lineage then any other gsi like pixel experience, it gives me decryption unsuccessful error.... I'm not even able to format the storage to remove encryption. I did format the encryption using an older version of twrp as the twrp provided for treble gives an error like ''
Unable to format data. Unble to remove encryption
-Now When I formatted data using earlier twrp and hen flashed the treble one and then flashed lineage. Booted and it still encrypted my phone. So the loop goes on again.
I dont know whats wrong. Treble flashing should be easy... been awake since last night trying to make it ork by using different combinations but no luck.
can anyone help?
Is there any way to enable volte in GSI?

How to Install Gapps on LOS roms

Ive been trying every way I can think of to install an LOS rom with Gapps. It seems everytime I try to install gapps it gives me a play store or services crash. That or i cannot boot into the Rom. I was curious if anyone had a specific package of gapps that always worked, or if there is a firmware of OOS you needed to be on to be able to use custom roms. Im just a bit stuck because I have been able to use Havoc in the past, but now I cannot even get that to boot (using the procedure that is in every thread).
itsdan313 said:
Ive been trying every way I can think of to install an LOS rom with Gapps. It seems everytime I try to install gapps it gives me a play store or services crash. That or i cannot boot into the Rom. I was curious if anyone had a specific package of gapps that always worked, or if there is a firmware of OOS you needed to be on to be able to use custom roms. Im just a bit stuck because I have been able to use Havoc in the past, but now I cannot even get that to boot (using the procedure that is in every thread).
Click to expand...
Click to collapse
Wipe
Flash rom
Flash twrp
Reboot into twrp (important.....)
Flash gapps (Pico should be the largest)
Flash magisk if you are using it.
If it won't boot still.....
Wipe
Flash rom
Flash twrp
Reboot to twrp(its still important..)
Flash rom
Flash twrp
Reboot to twrp (yes.. 2nd time..)
Flash gapps (Pico still recommended
Flash magisk if u want root
Reboot and all should be fine..
If 1st doesn't work, then something has happened to a/b partition, should get fixed by 2nd
now it boots but hangs at "checking for updates"
itsdan313 said:
now it boots but hangs at "checking for updates"
Click to expand...
Click to collapse
gapps issue most likley OR magisk... what version did you download? could have gotten a corrupted zip
try this first: Flash magisk uninstaller, see if it boots.
if it works, proceed with the setup. after that, reboot to recovery and flash latest magisk (17.1 i believe is latest) see if it works.
https://opengapps.org/
ARM64, 8.1, pico
2 September 2018
Size: 109.04 MiB
if it still giving u issues then dont flash magisk. flash magisk after initial setup.

Procedure for custom rom to stock or custom rom to custom rom

guys, i have a little confusion:
What's the correct procedure for reinstall the stock OOS from a custom rom and the procedure for change custom rom to another one?
i ask this because every time i try i brick the phone. (so msmntool and lose internal storage)
my latest experiment:
i was on Havoc, rooted and blue_twrp
full wiped (cache's, data and system)
installed Full 9.0 OTA+ twrp on slot A
rebooted to twrp
installed again Full 9.0 OTA+ twrp on slot B
installed magisk
rebooted to system...
keep boot on recovery and also i canno't decrypt sdcard because twrp doesn't ask me the pin....
someone suggested to me to format data, but i don't want to lose my internal storage anytime...
help?
The best thing to do to avoid all of thi bs is to follow this guide:
https://forum.xda-developers.com/oneplus-6/how-to/tutorial-decrypt-flash-rom-pie-oreo-roms-t3838643
vivmar said:
guys, i have a little confusion:
What's the correct procedure for reinstall the stock OOS from a custom rom and the procedure for change custom rom to another one?
i ask this because every time i try i brick the phone. (so msmntool and lose internal storage)
my latest experiment:
i was on Havoc, rooted and blue_twrp
full wiped (cache's, data and system)
installed Full 9.0 OTA+ twrp on slot A
rebooted to twrp
installed again Full 9.0 OTA+ twrp on slot B
installed magisk
rebooted to system...
keep boot on recovery and also i canno't decrypt sdcard because twrp doesn't ask me the pin....
someone suggested to me to format data, but i don't want to lose my internal storage anytime...
help?
Click to expand...
Click to collapse
You dont have to flash the rom to both the slots. Just make a clean flash without format data.
First of all, Stay Encrypted :laugh:
Now from custom rom to Oxygen OS make a clean flash so follow the below:
Must Use Bluspark TWRP
1. Wipe Dalvik, System, Data & Cache
2. Flash the Full OxygenOS Rom Full Zip (Links available on my threads Beta or Stable Pie)
3. Flash the TWRP installer Zip
4. Reboot to RECOVERY to make sure TWRP stays and continue to root.
5. Flash Magisk Stable to maintain root (Avoid Beta)
6. Reboot System and Enjoy the latest firmware without any data loss
Make sure you follow above and also make sure:
1. Use Bluspark TWRP
2. Move from Pie To Pie / Pie to Oreo or Oreo to Pie might require a format.
Similarly follow the same if you want to move from Oxygen OS to Custom Rom, check the rom thread if the developer needs you to flash anything extra or firmware files.
Hope the above helps :good:
Funk Wizard said:
You dont have to flash the rom to both the slots. Just make a clean flash without format data.
First of all, Stay Encrypted :laugh:
Now from custom rom to Oxygen OS make a clean flash so follow the below:
Must Use Bluspark TWRP
1. Wipe Dalvik, System, Data & Cache
2. Flash the Full OxygenOS Rom Full Zip (Links available on my threads Beta or Stable Pie)
3. Flash the TWRP installer Zip
4. Reboot to RECOVERY to make sure TWRP stays and continue to root.
5. Flash Magisk Stable to maintain root (Avoid Beta)
6. Reboot System and Enjoy the latest firmware without any data loss
Make sure you follow above and also make sure:
1. Use Bluspark TWRP
2. Move from Pie To Pie / Pie to Oreo or Oreo to Pie might require a format.
Similarly follow the same if you want to move from Oxygen OS to Custom Rom, check the rom thread if the developer needs you to flash anything extra or firmware files.
Hope the above helps :good:
Click to expand...
Click to collapse
Thanks so much!

Downgrade Nubia X

Hi, how to downgrade from android pie to Oreo without brick the phone?
Is there anyone that have already downgrade the phone with success?
Thanks
Yes just downgrade and boot to recovery and factory reset
Nubia2452 said:
Yes just downgrade and boot to recovery and factory reset
Click to expand...
Click to collapse
Thanks for the answer.
Which recovery have you used? Stock or twrp?
If you run Oreo, can you tell me which partition can be mounted?
On pie I have 2 system partition: system and system_root and I have lots of problem to install gapps.
DoubleJOption said:
Thanks for the answer.
Which recovery have you used? Stock or twrp?
If you run Oreo, can you tell me which partition can be mounted?
On pie I have 2 system partition: system and system_root and I have lots of problem to install gapps.
Click to expand...
Click to collapse
To install gapps on Android 9 mount system_root and flash gapps also for factory restore you can you which ever recovery you want but stock will be there after you flash the update
Nubia2452 said:
To install gapps on Android 9 mount system_root and flash gapps also for factory restore you can you which ever recovery you want but stock will be there after you flash the update
Click to expand...
Click to collapse
I get this error message when I try to install Pico gapps on Android 9:
INSTALLATION FAILURE: Your device does not have sufficient space available in
the system partition to install this GApps package as currently configured.
You will need to switch to a smaller GApps package or use gapps-config to
reduce the installed size.
DoubleJOption said:
I get this error message when I try to install Pico gapps on Android 9:
INSTALLATION FAILURE: Your device does not have sufficient space available in
the system partition to install this GApps package as currently configured.
You will need to switch to a smaller GApps package or use gapps-config to
reduce the installed size.
Click to expand...
Click to collapse
You may have to reflash system partition or just flash firmware though local update in settings and try again if that doesn't work try flashing update though twrp

Categories

Resources