• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

Gsi P - Q - R manual fixes for hi6250 devices (emui8)

Search This thread

Hami_Do

Senior Member
Aug 24, 2013
350
314
hmm, v23 bootlooping, restored kernel+ramdisk and boot again.
went back into twrp, flash again a-only then v22 canary. but it also bootloops.

with fw b390 on p10lite, running darkjoker360's AOSP 11 GSI for prague. rom is working great I just need magisk for play protect block :(
Lately some gsis bootloop with magisk maybe because of selinux changes, I'm trying to look what's the problem ..

=============================

For those who want to pass safetynet on Los18.1 by DarkJoker360, or any other a11 gsis
- flash los18.1 + gapps ( follow the steps from XDA thread )
- mount system in twrp , using twrp file manager delete :
/system/bin/adbd (crutial to pass basic integrity)
/system/bin/phh-su
/system/etc/su.rc
- boot to system
(Now basic integrity should be true)
- Go again to twrp and install magisk v22 ( follow steps already posted )
- install MagiskHideProps magisk module
- boot to system, install magisk apk , open it , go to magisk settings and activate Magiskhide option
- install any safetynet app and check it out (CTS profile should be true now)
- Device now should be certified in google play.
 

Attachments

  • Screenshot_20210605-192957044.jpg
    Screenshot_20210605-192957044.jpg
    254.7 KB · Views: 27
  • Screenshot_20210605-193119461.jpg
    Screenshot_20210605-193119461.jpg
    215.8 KB · Views: 28
  • Screenshot_20210605-192929445.jpg
    Screenshot_20210605-192929445.jpg
    164.3 KB · Views: 23
  • Screenshot_20210527-112803132.jpg
    Screenshot_20210527-112803132.jpg
    240.6 KB · Views: 26
Last edited:

GizmoTheGreen

Senior Member
Jun 13, 2010
355
52
i9100
Ouya
Lately some gsis bootloop with magisk maybe because of selinux changes, I'm trying to look what's the problem ..

=============================

For those who want pass safetynet on Los18.1 by DarkJoker360, or any other a11 gsis
- flash los18.1 + gapps ( follow the steps from XDA thread )
- mount system in twrp , using twrp file manager delete :
/system/bin/adbd (crutial to pass basic integrity)
/system/bin/phh-su
/system/etc/su.rc
- boot to system
(Now basic integrity should be true)
- Go again to twrp and install magisk v22 ( follow steps already posted )
- install MagiskHideProps magisk module
- boot to system, install magisk apk , open it , go to magisk settings and activate Magiskhide option
- install any safetynet app and check it out (CTS profile should be true now)
- Device now should be certified in google play.
I trust it's this I should follow?
is deleting the ssh-su files related to getting bootloop or not? because these magiska11-a-only zip and v22 canaru zip still give me bootloop...

does it matter which recover I use? using darkjoker260's now.
Finally magisk working on a-only R gsis :cowboy:
After debugging kmsg , bootloop was caused by missing sepolicy from system_ext ..

Installation:
1- Install magisk apk
2- Go to twrp & flash MAGISKA11-a-only
3- Flash Magisk-v22-canary-phh
4- Reboot and enjoy
 

Hami_Do

Senior Member
Aug 24, 2013
350
314
I trust it's this I should follow?
is deleting the ssh-su files related to getting bootloop or not? because these magiska11-a-only zip and v22 canaru zip still give me bootloop...

does it matter which recover I use? using darkjoker260's now.
The presence of *su* files in /bin/, /etc/init/ and /xbin/.. will affect passing safetynet but it won't cause bootloop,
Bootloop caused because of magisk a11 in our aonly devices doesn't load /system/system_ext/etc/selinux/system_ext_sepolicy.cil , so I made a hack to load it into /system/etc/selinux/plat_sepolicy.cil , using MAGISKA11-a-only.zip ( which should be flashed only one time ).
So you need to restore a clean ramdisk first, reflash your aosp and boot it , then reinstall magisk v22 following the procedure posted here.
Also I'm always using this twrp which doesn't have any problem in flashing/decrypt data/back up/restore..
 
Last edited:

GizmoTheGreen

Senior Member
Jun 13, 2010
355
52
i9100
Ouya
The presence of *su* files in /bin/, /etc/init/ and /xbin/.. will affect passing safetynet but it won't cause bootloop,
Bootloop caused because of magisk a11 in our aonly devices doesn't load /system/system_ext/etc/selinux/system_ext_sepolicy.cil , so I made a hack to load it into /system/etc/selinux/plat_sepolicy.cil , using MAGISKA11-a-only.zip ( which should be flashed only one time ).
So you need to restore a clean ramdisk first, reflash your aosp and boot it , then reinstall magisk v22 following the procedure posted here.
Also I'm always using this twrp which doesn't have any problem in flashing/decrypt data/back up/restore..
after I used dload to get latest stock rom (b390) I made backup of kernel and ramdisk so every time I get bootloop I just restore these.
the magisk v22 there (and the magiska11-a-only.zip) doesn't work for me. still bootloop... :(*
for now I use aptoide and get some apps that way. this is only toy phone now anyway, not my daily driver :D
because of how sensitive it is in getting gsi roms to boot or not, I never used it normally haha

I have that recovery (pretorio something) but version 0.6? is it big difference?
anyway I will try one more time, with 0.5 you linked.


edit: fixed!
I don't know what helped, but here is what I did
restore kernel+ramdisk (again)
switch to pretariano80 0.5 recovery
flash magiskv22 canary phh, reboot system, freeze with "system now starting"
go back into recovery
flash the magiska11-a-only.zip, wipe dalvik/cache. reboot system

boots!
 

Attachments

  • Screenshot_20210605-195952.png
    Screenshot_20210605-195952.png
    93.7 KB · Views: 23
Last edited:
  • Like
Reactions: Hami_Do

Venkata Lochan Nune

Senior Member
Apr 19, 2021
241
40
17
India
Honor 6X
Fluid-rum v1.1 for hi6250 emui8 devices

* Ported from gsi ab vanilla build by [email protected]
* Removed vndk-27-28-29 libraries & shrinked to the minimal aviable size for supporting lower system partition size.
- Fixed:
* Offline Charging.
* Nfc.
* Mtp.
* Media.
* App crashes.
* Bt media play.
* Gps signal.
* Build info not being read by system.
* contact/dialer/message dark mode.
* Dialer recorder enabled.
* Disabled in-built buggy screenrecorer & replaced with OP screenrecorder.
* Workaround on signal icon ( bumped with 1 bar in default status bar icon + 2 bars in Sam style status bar icon : )
* Ported dynamic root (could be enabled/disabled via phh settings) thanks to @eremitein.
* Added Via browser, simple gallery, exact calculator, metro player & footej camera .

#Installation:
- Extract the img with 7zip or any other tool & put it in internal or external storage.
- Go to twrp, wipe system data cache/art/dalvik.
- Flash img in system image partition.
- Optional:
- Unmount then mount again system.
- Resize system.
- Flash gapps (pico gapps in bellow link tested)
- Reboot.

PS: Be sure you're not coming from any ROM/GSI with magisk, otherwise you need to flash stock ramdisk to avoid bootloop, because till now there is no working magisk on R for a-only.

Link:

Thanks to:
- Fluid rum team
@DarkJoker360
@eremitein
@Igor4pda
And of course Phh and gsi team.


.
Hii
my MTP/USB charging notification doesn't work and everything is greyed out. any fix for this?
 

hardcorehenry

Senior Member
Dec 2, 2020
58
29
Anyone tried ROMs from braiagsi? Right now I’m on DotOS. Big plus it doesn’t require converting A/B->A(A-only ready). I doubt it's better than Igor's though. Still testing it.
 

Attachments

  • Screenshot_20210610-193504.png
    Screenshot_20210610-193504.png
    210.8 KB · Views: 34
  • Screenshot_20210610-193528.png
    Screenshot_20210610-193528.png
    98.9 KB · Views: 35
  • Love
Reactions: latviandude

Kentoto2021

Member
Feb 22, 2021
35
6
EDIT : Never mind, I just saw in the discussion that Magisk work, sorry haha for the ping
Fluid-rum v1.1 for hi6250 emui8 devices

* Ported from gsi ab vanilla build by [email protected]
* Removed vndk-27-28-29 libraries & shrinked to the minimal aviable size for supporting lower system partition size.
- Fixed:
* Offline Charging.
* Nfc.
* Mtp.
* Media.
* App crashes.
* Bt media play.
* Gps signal.
* Build info not being read by system.
* contact/dialer/message dark mode.
* Dialer recorder enabled.
* Disabled in-built buggy screenrecorer & replaced with OP screenrecorder.
* Workaround on signal icon ( bumped with 1 bar in default status bar icon + 2 bars in Sam style status bar icon : )
* Ported dynamic root (could be enabled/disabled via phh settings) thanks to @eremitein.
* Added Via browser, simple gallery, exact calculator, metro player & footej camera .

#Installation:
- Extract the img with 7zip or any other tool & put it in internal or external storage.
- Go to twrp, wipe system data cache/art/dalvik.
- Flash img in system image partition.
- Optional:
- Unmount then mount again system.
- Resize system.
- Flash gapps (pico gapps in bellow link tested)
- Reboot.

PS: Be sure you're not coming from any ROM/GSI with magisk, otherwise you need to flash stock ramdisk to avoid bootloop, because till now there is no working magisk on R for a-only.

Link:

Thanks to:
- Fluid rum team
@DarkJoker360
@eremitein
@Igor4pda
And of course Phh and gsi team.


.
Hello

You say that with a ROM rooted with Magisk, it will cause bootloop. How can we flash stock ramdisk then ? I don't very understand what it means (don't get good enough vocabulary in technical english, sorry)
What is ramdisk ? Did you mean that I should reflash my entire room without magisk and using superSU for instance ?
For a-only, what it means ?
 
Last edited:

Hami_Do

Senior Member
Aug 24, 2013
350
314
EDIT : Never mind, I just saw in the discussion that Magisk work, sorry haha for the ping

Hello

You say that with a ROM rooted with Magisk, it will cause bootloop. How can we flash stock ramdisk then ? I don't very understand what it means (don't get good enough vocabulary in technical english, sorry)
What is ramdisk ? Did you mean that I should reflash my entire room without magisk and using superSU for instance ?
For a-only, what it means ?
1- Flash only stock ramdisk for hi6250 emui8 (attached) , not the whole firmware
fastboot flash ramdisk ramdisk.img

2- Superuser already included in FluidOs , just activate it via: settings/ phh treble settings / misc features / scroll down .. and tick superuser ( it will create superuser app in menu drawer.

Edit:
1-You can disable superuser feature and flash magisk v22 following its guide (search it here in this thread)
2- I meant if you are coming from a ROM or gsi which was running with magisk , first thing : you should flash clean ramdisk (attached) to avoid bootloop , and this step is required for the installation of every new a11 gsi,
You can backup the clean ramdisk too via twrp and restore it as first step for a new a11 installation.
 

Attachments

  • ramdisk.img
    8.1 MB · Views: 12
Last edited:
  • Like
Reactions: Kentoto2021

Venkata Lochan Nune

Senior Member
Apr 19, 2021
241
40
17
India
Honor 6X
Hi...

unplug the usb-cable
then go to developers option and scroll down to the usb connection settings
there choose mtp setting
plugin usb-cable

now your pc should mtp the phone

solong
speedson🤘🙃🤘
Thanks, that works(I was using that as a workaround) but isn't there a way to make the usb notification thing work? It worked perfectly on phh's AOSP 10.
 

hardcorehenry

Senior Member
Dec 2, 2020
58
29
dot os will boot on p10 lite emui 8 ? aram64a
I’d answered for sure if I had such device, but it seems so, mine is also emui 8 vendor, arm64a. The best way to find out is to try. Nothing special about install, wipe cache, dalvik cache, data, system. I flashed DotOS via fastboot. AIOv2.4.1 fixes have to be flashed with Pretorianos’s TWRP. WARNING: USB OTG doesn’t work, so if you relay on it, reconsider.
 

Hami_Do

Senior Member
Aug 24, 2013
350
314
As you know that Huawei modified the modem partition in the September-October 2018 patch (and later) , on MORFUZ and other custom kernels incoming and outgoing calls don't work.

- Original mudule (v1.0) doesn't work on a11 , so I have edited it (v1.1) , now it is working.

-IMPORTANT only install this module with Magisk v22 or v23 if incoming and outgoing calls do not work:


* Tested on October 2018 emui patch
P.S : any custom kernel will break safetynet .

-Original thread by @CATUVA21 .
 

Attachments

  • Screenshot_20210714-191308606.jpg
    Screenshot_20210714-191308606.jpg
    234.9 KB · Views: 34
  • Screenshot_20210714-191158057.jpg
    Screenshot_20210714-191158057.jpg
    307.5 KB · Views: 34
  • Screenshot_20210714-191231720.jpg
    Screenshot_20210714-191231720.jpg
    178.7 KB · Views: 34
Last edited:

Hami_Do

Senior Member
Aug 24, 2013
350
314
1- Install magisk-v23 apk
2- Go to twrp & flash MAGISKA11-a-only.zip
3- Flash Magisk-v23-phh.zip
4- Reboot and enjoy
(If bootloop , flash Magisk-v22-canary-phh.zip from previous post , boot to system , boot to twrp again and flash Magisk-v23-phh.zip)
Magisk update for Aonly a11 gsis :

changelog:
- fix all possible bootloops on a11 gsis.
- now no need to any additional flashable zip.
- latest magisk sources.

Thanks to @ponces for the idea.
 

Attachments

  • Magisk-v23-Canary-phh-Aonly-A11.zip
    12.7 MB · Views: 8
  • Screenshot_20210722-202058_Magisk.png
    Screenshot_20210722-202058_Magisk.png
    128.2 KB · Views: 8
Last edited:

Hami_Do

Senior Member
Aug 24, 2013
350
314
Magisk update for Aonly a11 gsis :

changelog:
- fix all possible bootloops on a11 gsis.
- now no need to any additional flashable zip.
- latest magisk sources.

Thanks to @ponces for the idea.
New magisk for a11 gsi ( aonly devices )
This time built by @ponces , thanks to him

 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    1- Install magisk-v23 apk
    2- Go to twrp & flash MAGISKA11-a-only.zip
    3- Flash Magisk-v23-phh.zip
    4- Reboot and enjoy
    (If bootloop , flash Magisk-v22-canary-phh.zip from previous post , boot to system , boot to twrp again and flash Magisk-v23-phh.zip)
    Magisk update for Aonly a11 gsis :

    changelog:
    - fix all possible bootloops on a11 gsis.
    - now no need to any additional flashable zip.
    - latest magisk sources.

    Thanks to @ponces for the idea.
    2
    As you know that Huawei modified the modem partition in the September-October 2018 patch (and later) , on MORFUZ and other custom kernels incoming and outgoing calls don't work.

    - Original mudule (v1.0) doesn't work on a11 , so I have edited it (v1.1) , now it is working.

    -IMPORTANT only install this module with Magisk v22 or v23 if incoming and outgoing calls do not work:


    * Tested on October 2018 emui patch
    P.S : any custom kernel will break safetynet .

    -Original thread by @CATUVA21 .
    2
    Magisk update for Aonly a11 gsis :

    changelog:
    - fix all possible bootloops on a11 gsis.
    - now no need to any additional flashable zip.
    - latest magisk sources.

    Thanks to @ponces for the idea.
    New magisk for a11 gsi ( aonly devices )
    This time built by @ponces , thanks to him

  • 13
    I want to share some GSIs manual fixes for hi6250 (emui8) devices as many of them they missed huawei patches or ignored them.

    To be honest most credits of the fixes go to our hi6250's active devs Haky , DarkJoker360 , Dil3mm4 & of course Phh.

    The fixes made after many comparisons between stock, DSSIs & different GSIs builds & versions.

    Gsi Installation:
    1 - Wipe system data cache & dalvik
    2 - Flash system_arm64_aonly.img in system image partition , boot up & look for bugs
    3 - Flash the fix

    Fixes could fixe bootloop , sdcards bug ( not detected ) , camera/torch toggle , offline charging , Real battery capacity ( 3000mah ) , GPS and automatic APN detect .

    *More posts will be added as updates if any fix successfully tested
    10
    Android 10 gsis All in one Fix v1.7 !

    What does this zip contains ?
    Code:
    [CENTER]* NFC fix
    * Offline charging fix
    * Blur graphic composition fix
    * Gps improvements
    * Stock emui fingerprint gestures
    * Selinux boot fixes on recent gsis
    * Build info fixes
    * Laggy overview fixes
    * BT media play fix
    [/CENTER]

    DOWNLOAD

    NOTE: This fix in designed for Emui 8 based devices running phh-treble 10 gsis.

    Thanks to @hamido for the help​
    9
    New AIO fixes A11 v2.5 update

    Changelog
    * Bump to v2.5
    * Fixed ADB
    * Added proper device infos
    * Blur fixes
    * Fixed v2.4 flashing issues
    * Code cleanup
    * Removed OPScreenRec as I merged AOSP screenrecorder fixes into phh-treble gsis

    Download
    Donations
    9
    All in one Q GSI patch for WAS and other hi6250 devices (v206 and earlier builds only) :

    * Fixed :

    - Camera
    - Media ( sound & video )
    - NFC
    - Battery usage
    - Model, build number, phone Info ..
    - Auto brightness
    - Offline charging (requires permissive kernel)

    * Installation :

    1 - Flash gsi , boot up to system
    2 - Reboot to twrp & resize system through twrp's advanced wipe menu
    3 - Flash AIO fix
    4 - Boot to system and check if bugs fixed

    * The fix only for emui 8.
    * Tested on GSIs based on v204.
    * The fix contains WAS's infos , so if you use it for PRA , RNE or other hi6250 you need to open the patch & edit latests lines in system/product/etc/prop/local.prop according to your stock.
    * Resize system before applying the patch ( in most cases )

    # Some screenshots from latest fixed Havoc 3.0 based on v204 .
    9
    Finally magisk working on a-only R gsis :cowboy:
    After debugging kmsg , bootloop was caused by missing sepolicy from system_ext ..

    Installation:
    1- Install magisk apk
    2- Go to twrp & flash MAGISKA11-a-only
    3- Flash Magisk-v22-canary-phh
    4- Reboot and enjoy