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

General GSIs on N200

Search This thread

darkghost568

Senior Member
Jun 29, 2012
776
173
Bethesda
I tried out WhoAreYou's product image using
fastboot create-logical-partition product 512
(His syntax gave an error.)

While It did allow me to boot with a Magisk 23 patched boot.img along with Phhusson's vanilla GSI, Magisk did not work. The Magisk 23 app gave a strange error "Unsupported Magisk Version, This version of the app does not support Magisk version lower than v20.4". I downgraded to Magisk Manager 7.3.2 and the system hung whenever Magisk ran instead. Perhaps it is a conflict with the SU system in the GSI. I tried the "securize" option in the Phh treble menu, which caused a reboot, but did not remove root / su . I do not know how to remove the SU modifications present in the GSI, if that is required.

I attempted to use his product image along with his linked pixel 5 beta Android 12 GSI, but the system would not boot with a Magisk 23 patched boot.img.

I attempted to use his product image along with AndyYan's Unofficial Lineage 18.1, but the system would not boot with a Magisk 23 patched boot.img.
Tried all 3 GSIs with the magisk canary patched stock boot img, and I'm able to reproduce all these results. Exact same experience. I uploaded my patched_boot.img to mega - can someone who's got a working one hash and compare? Let's make sure we're all on the same page.
 
Last edited:
  • Like
Reactions: oCAPTCHA

oCAPTCHA

Member
Sep 22, 2021
17
5
I investigated WhoAreYou's product.img and it is just a blank image (with an empty folder). I'm not sure how it is supposed to make Magisk work other than having a blank partition available.

To save downloads, I hashed dark ghost 568's boot.img and provided my hashes as well (which work on the stock software, but not these GSI's)

boot.img hash comparison

dark ghost 568's magisk canary patched boot.img sha256
fab78298c9cbcb74090f58a3ef8e2f87c6ae94c932d788affbbf64b1a68502a7

stock boot.img sha256 (OnePlus Nord N200 unlocked version 11.0.2.0.DE17AA)
c23446b27efa6ec95fcd55b115db92ddcd402330de92caf5ed06c6ddb858bc27

my masgisk 23 patched boot.img sha256 (OnePlus Nord N200 unlocked version 11.0.2.0.DE17AA)
fc82683a99d5a7b251bbbdab5b6ce5c75c5c0a2320b05af0af49b657a376b833


I don't agree with the supposed security reasons for imposing system app limitations on Xposed modules and signature spoofing, so I'm sticking with XPosed and Magisk 23. Magisk Canary is beta software as well.
 
  • Like
Reactions: darkghost568

AndyYan

Recognized Contributor
Jan 30, 2012
4,372
3,703
Beijing
To root y'all need to do:
fastboot create-partition-primary 512 product
Then flash the attached product.

Then flash your rooted img, it'll boot successfully.
Figured out Magisk together with @darkghost568 - the steps described are kinda off. No need to delete product_a anymore, and creating product (without the suffix) won't be recognized. In the end, it's actually as simple as flashing your image to product (which will redirect to product_a automatically) prior to flashing GSIs.
Code:
fastboot flash product product_gsi.img
Updating OP accordingly.
 
  • Like
Reactions: darkghost568

PopCaps1996

Senior Member
The process of flashing alone is conventional, shouldn't even need a thread to detail, but still leaving a thread here for search indexing.
With an unlocked BL, flash an ARM64 AB GSI within fastbootd, reboot to recovery, format userdata, reboot, profit. vbmeta isn't even needed in my case.

EDIT: One thing that's unconventional and I forgot to mention is, for many GSIs, you gotta delete product_a to make room prior to flashing:
Code:
fastboot delete-logical-partition product_a

EDIT2: Magisk doesn't like to see product_a go. Instead, just flash a blank one (from #15) to it:
Code:
fastboot flash product product_gsi.img
Thanks to @Whoareyou for the original finding and @darkghost568 for additional ideas.
what am I doing wrong?
I cant get any GSI to boot on n200 metro
i tried flashing gsi product img but there is not a product partition on my phone
i tried (fastboot create-partition-primary 512 product) that does not seem to work either
my bootloader is unlocked


any idea's?
 

PopCaps1996

Senior Member
Doesn't sound like you're in fastbootd (≠ bootloader) to begin with?
yes! im in fastbootd. it looks like stock recovery with fastbootd in white on top
i flashed the gsi product img to product_b successfully
i have flashed darkghost568 patched boot img
an i have flashed both these with no luck
http://https://jmirror.ml/0:/Jarvis-Mirror/Pixel5-Beta5-CB-GSI-Tutorials.7z
https://sourceforge.net/projects/gs...ixel5-SP1A-A12-SGSI-GSI-Tutorials.7z/download


my phone keeping going to bootloader mode when trying to boot gsi system
 

AndyYan

Recognized Contributor
Jan 30, 2012
4,372
3,703
Beijing
yes! im in fastbootd. it looks like stock recovery with fastbootd in white on top
i flashed the gsi product img to product_b successfully
i have flashed darkghost568 patched boot img
an i have flashed both these with no luck
http://https://jmirror.ml/0:/Jarvis-Mirror/Pixel5-Beta5-CB-GSI-Tutorials.7z
https://sourceforge.net/projects/gs...ixel5-SP1A-A12-SGSI-GSI-Tutorials.7z/download
Don't appoint a slot, just product (automatically redirects).
I recommend using one of the PHH-based GSIs out there and staying away from sGSIs - they tend to not boot on top of OEM vendors.
 

PopCaps1996

Senior Member
Don't appoint a slot, just product (automatically redirects).
I recommend using one of the PHH-based GSIs out there and staying away from sGSIs - they tend to not boot on top of OEM vendors.
yeah i give up if i gotta go through this much trouble for a gsi then ill pass. an stay with stock.
prob same amount of trouble to keep the gsi maintained on n200 f*ck that.
ive been at this for 8hrs so far today an no luck what so ever
im no n00b either i been rooting phones 10 yrs plus

i unbricked my device 10+ times with msmtool trying to get gsi on this phone.

ill just wait for a true custom rom for our device if we get one.
 
Last edited:

Travisholt92

Senior Member
Jun 28, 2012
1,232
1,139
29
Fort Wayne, Indiana
Honor 6X
OnePlus 6T
yeah i give up if i gotta go through this much trouble for a gsi then ill pass. an stay with stock.
prob same amount of trouble to keep the gsi maintained on n200 f*ck that.
ive been at this for 8hrs so far today an no luck what so ever
im no n00b either i been rooting phones 10 yrs plus

i unbricked my device 10+ times with msmtool trying to get gsi on this phone.

ill just wait for a true custom rom for our device if we get one.
I'll see what i can do to make this happen. I'm a bit limited on storage space to fit another compilation project. I have a Nord N200, not too satisfied with the GSI experience. Its just as janky as stock. noooo thank you. I'd rather compile something myself that actually runs smoothly.
 
  • Like
Reactions: darkghost568

mthous01

Senior Member
May 24, 2012
176
46
Florence
OnePlus Nord N200 5G
I'll see what i can do to make this happen. I'm a bit limited on storage space to fit another compilation project. I have a Nord N200, not too satisfied with the GSI experience. Its just as janky as stock. noooo thank you. I'd rather compile something myself that actually runs smoothly.
I'm interested to learn. I've been looking, but the source seems to be missing. Kernel source seems incomplete as well. I have the space and the desire if I can help.
 

Travisholt92

Senior Member
Jun 28, 2012
1,232
1,139
29
Fort Wayne, Indiana
Honor 6X
OnePlus 6T
I'm interested to learn. I've been looking, but the source seems to be missing. Kernel source seems incomplete as well. I have the space and the desire if I can help.
I just got my bootloader unlock code last night. I do believe I should be able to compile better twrp (with fastbootd and proper decryption of data) and whatever Android 12 ROM my heart desires.
 

mthous01

Senior Member
May 24, 2012
176
46
Florence
OnePlus Nord N200 5G
I just got my bootloader unlock code last night. I do believe I should be able to compile better twrp (with fastbootd and proper decryption of data) and whatever Android 12 ROM my heart desires.
I'd still love to learn, if you'd be willing to share some know how and sources on git. I'd even be willing to buy you a beer or six, if you have a donate link and are willing.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    The process of flashing alone is conventional, shouldn't even need a thread to detail, but still leaving a thread here for search indexing.
    With an unlocked BL, flash an ARM64 AB GSI within fastbootd, reboot to recovery, format userdata, reboot, profit. vbmeta isn't even needed in my case.

    EDIT: One thing that's unconventional and I forgot to mention is, for many GSIs, you gotta delete product_a to make room prior to flashing:
    Code:
    fastboot delete-logical-partition product_a

    EDIT2: Magisk doesn't like to see product_a go. Instead, just flash a blank one (from #15) to it:
    Code:
    fastboot flash product product_gsi.img
    Thanks to @Whoareyou for the original finding and @darkghost568 for additional ideas.
    2
    I'd still love to learn, if you'd be willing to share some know how and sources on git. I'd even be willing to buy you a beer or six, if you have a donate link and are willing.
    I sent you a PM. And for anyone else interested in developing for the N200, feel free to message me. I'm open to collaborations, the more developers on the project, the better the project can be for all 😁
    2
    I'm interested to learn. I've been looking, but the source seems to be missing. Kernel source seems incomplete as well. I have the space and the desire if I can help.
    I just got my bootloader unlock code last night. I do believe I should be able to compile better twrp (with fastbootd and proper decryption of data) and whatever Android 12 ROM my heart desires.
    1
    Are we getting closer?
    To proper custom ROMs? Dunno, I don't do bringups. I'll at least make/refine/submit the device overlay so GSIs would look proper.
    1
    OK I'll ask since I have no clue. What's a GSI?