• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Development GSIs status + boot dump

Search This thread

meterpreter

Member
Sep 6, 2021
9
2
Hello,

Here is the status as of few days ago. So most of Phh-based GSI should have the same status, just pick whichever you want.

What works:
- Backlight control works (requires "Force alternative backlight scale" in Treble Settings => Misc)
- 5G
- Bluetooth
- A2DP/Bluetooth media (requires "Force disable A2DP offload" in Treble Settings => Misc)
- USB-C headset
- Speaker
- 90Hz screen (Recommend "Force FPS" to 90Hz in Treble Settings => Misc)
- BSG GCam
- SELinux enforcing
- Encrypted userdata
- 65W Dash charge

What doesn't work:
- Under-display fingerprint
- Others?

Fixed in my AOSP GSI v311 (2021-08-07):
- Access to auxiliary cameras (Expose Aux cameras in Treble Settings => Misc)

Fixed in future AOSP GSI release:
- VoLTE (needs to click all 4 options in Treble Settings => IMS Settings)
- Alert slider

Links:
My AOSP GSI
List to other GSIs -- I recommend to try out LeOS, CAOS, or AndyYan's LineageOS

Flash procedure:
- Unlock bootloader
- Reboot into bootloader
- Download https://dl.google.com/developers/android/qt/images/gsi/vbmeta.img
- `fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img`
- `fastboot reboot fastboot`
- `fastboot flash system system-roar-arm64-ab-gapps.img`
- On the phone itself, do a full factory reset

As a small bonus, I attach the boot.img that I got on my device. It could be useful for people wanting to root with magisk, since currently the stock ROM isn't available. In exchange, I'd really like a dump of system partiton :)
I tried your boot.img If I flash it, everything works fine. but if I patch it with Magisk and flash the patched version I get a bootloop.
 

HofaTheRipper

Senior Member
Apr 26, 2014
211
185
38
St. Veit an der Glan

Attachments

  • safetynet-fix-v1.2.0.zip
    1.4 MB · Views: 7
  • hardwareoff_1.1.zip
    3.1 KB · Views: 8

meterpreter

Member
Sep 6, 2021
9
2
You need to do `fastboot reboot fastboot` before being able to flash vendor
Are we talking about the Oneplus Nord 2 5g yeah? Because when i type in "fastboot reboot fastboot" it reboots into RECOVERY mode. When I type fastboot reboot bootloader it reboots into bootloader mode. there is no fastboot mode on Oneplus Nord 2 5G. I patched the here provided boot.img with magisk, flashed it, then I went to bootloader mode again, then "fastboot reboot bootloader" and then flashed the provided vendor vendor. Still, NO wifi or bt...
 

meterpreter

Member
Sep 6, 2021
9
2
look if the right drivers are present also in fastbootd.... i had to installt the drivers for bootloader and again for fastbootd.
Where can i get the right drivers? I'm in Fastboot Mode now but in device manager its showing "DN2103" with a warning sign. I tried the MediaTek Preloaded thing from the link above. doesnt work at all.
 

Eastw1ng

Member
Jan 5, 2014
45
12
Where can i get the right drivers? I'm in Fastboot Mode now but in device manager its showing "DN2103" with a warning sign. I tried the MediaTek Preloaded thing from the link above. doesnt work at all.

Check the device manager, I'm sure there are devices that do not have a driver yet, you can install the drivers through manual selection. Have you tried the MediaTek drivers from here? https://stack.w1ng.nl/s/0IGIQ77OVeLQlJa2
 

chris87ph

Member
Feb 24, 2012
26
0
OnePlus Nord 2 5G
See this video: brightness isn't properly controlled when using under-display fingerprint, so you'll get blinded in the middle of the night.

Alert slider still doesn't work (simply because I forgot to commit it before releasing...)

DT2W activates way too easily in my pocket, I lost 50% of battery through the day because it kept self-activating in my pocket at max brightness because it was touching fingerprint. So I need to implement proximity sensor detection like stock ROM does. (When not in my pocket, battery life looks great, I had 24h of idle 5G with less than 10% battery usage)

For camera, I'm using Wichaya google camera. It isn't look perfect: preview is slow, Night Mode seems to not be working, but overall it seems to work properly.
Hello kind sir. Where in the treble setting i can enroll fingerprint unlock?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    Hello,

    Here is the status as of few days ago. So most of Phh-based GSI should have the same status, just pick whichever you want.

    What works:
    - Backlight control works (requires "Force alternative backlight scale" in Treble Settings => Misc)
    - 5G
    - Bluetooth
    - A2DP/Bluetooth media (requires "Force disable A2DP offload" in Treble Settings => Misc)
    - USB-C headset
    - Speaker
    - 90Hz screen (Recommend "Force FPS" to 90Hz in Treble Settings => Misc)
    - BSG GCam
    - SELinux enforcing
    - Encrypted userdata
    - 65W Dash charge

    What doesn't work:
    - Under-display fingerprint
    - Others?

    Fixed in my AOSP GSI v311 (2021-08-07):
    - Access to auxiliary cameras (Expose Aux cameras in Treble Settings => Misc)

    Fixed in future AOSP GSI release:
    - VoLTE (needs to click all 4 options in Treble Settings => IMS Settings)
    - Alert slider

    Links:
    My AOSP GSI
    List to other GSIs -- I recommend to try out LeOS, CAOS, or AndyYan's LineageOS

    Flash procedure:
    - Unlock bootloader
    - Reboot into bootloader
    - Download https://dl.google.com/developers/android/qt/images/gsi/vbmeta.img
    - `fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img`
    - `fastboot reboot fastboot`
    - `fastboot flash system system-roar-arm64-ab-gapps.img`
    - On the phone itself, do a full factory reset

    As a small bonus, I attach the boot.img that I got on my device. It could be useful for people wanting to root with magisk, since currently the stock ROM isn't available. In exchange, I'd really like a dump of system partiton :)
    3
    @onken @maximusxD1998

    install this module in magisk to pass safetynet (magisk hide enabled for sure)
    2
    Cool waiting for a more detailed how to 😅
    Yes best is to wait until we have full stock rom.
    2
    do i have to flash vbmeta as well?
    Hum yeah, it's likely that if you modify boot.img you need to disable boot.img verification through vbmeta
    2
    @phhusson

    Here you go:

    system.zip

    Feel free to contact me if you need anything again!