[GSI][Android 12]Android Open Source Project[Huawei Nova 3i]

Search This thread

feras saeed

Member
May 13, 2022
14
0
i tried it in my huawei nova 3 not nova 3i and i got this

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase system
erasing 'system'...
OKAY [ 13.605s]
finished. total time: 13.607s

C:\Program Files (x86)\Minimal ADB and Fastboot>
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system C:\Users\feras\Desktop\system-squeak-arm64-ab-gapps\system-squeak-arm64-ab-gapps.img
target reported max download size of 471859200 bytes
Invalid sparse file format at header magic
sending sparse 'system' 1/6 (444748 KB)...
FAILED (command write failed (Invalid argument))
finished. total time: 11.945s

how can i fix it so i can install android 12 in my phone
 
Last edited:

Osama3321

New member
Mar 31, 2019
4
0
i know this post is a bit older now but i have a nova 3i and i managed to unlocked the bootloader now i have some questions..

1. usually in other devices when we flash system.img then we need to wipe data in order to boot is that the case here too?
2. the reason i am asking it is because years ago i swapped my nova 3i display and due to the huawei securities you cannot use the touch screen on recovery if you dont have the original display.. now i am unable to wipe my device via recovery and to my knowledge there is no other method for wiping i also tried flashing twrp but the touch doesn't work there as well.. so is there any way to reset my device after flashing system.img? if resetting is necessory
 
  • Wow
Reactions: abilash_22

Thomhass

New member
Jul 22, 2022
4
0
nah it unlocked my bootloader in 5-10 minutes
Ive tried the python script on my nova 3i lx2r to unlock the bootloader but when i run the command after the reboot to fastboot the command starts abruptly then my phone disconnects to adb am i missing something? i followed the steps on the link you shared or its not compatible with my phone model? Btw im on emui 9.1
 

Thomhass

New member
Jul 22, 2022
4
0
i know this post is a bit older now but i have a nova 3i and i managed to unlocked the bootloader now i have some questions..

1. usually in other devices when we flash system.img then we need to wipe data in order to boot is that the case here too?
2. the reason i am asking it is because years ago i swapped my nova 3i display and due to the huawei securities you cannot use the touch screen on recovery if you dont have the original display.. now i am unable to wipe my device via recovery and to my knowledge there is no other method for wiping i also tried flashing twrp but the touch doesn't work there as well.. so is there any way to reset my device after flashing system.img? if resetting is necessory
How did you manage to unlock your bootloader?
 

TMHAKIM

Senior Member
Ive tried the python script on my nova 3i lx2r to unlock the bootloader but when i run the command after the reboot to fastboot the command starts abruptly then my phone disconnects to adb am i missing something? i followed the steps on the link you shared or its not compatible with my phone model? Btw im on emui 9.1
No need to worry the phone will disconnect from ADB cuz you booted into bootloader mode it is part of the process
 

darkghost1999

Member
Sep 20, 2021
5
1
Use potatoNV this requires to disassembly the phone and shot two testpoint pins and extract code

Script: this is easiest but only some CPU are supported

Pay for it by some sketchy website that is an risk to take
As far as I know, potatoNV doesn't support this phone, because they don't list Kirin 710 processor on their devices list. The only option available are paid services on some websites.

Sources: https://github.com/mashed-potatoes/PotatoNV
 

darkghost1999

Member
Sep 20, 2021
5
1
Maybe I am a bit late for this, but I would like to make some remarks about the GSI rom commented here. First, the ROM image provided in this post is not the latest, check https://github.com/phhusson/treble_experimentations/releases (this fixes some bugs present on the version linked in the post). Second, although most functionalities work in the ROM, you should expect some bugs (bluetooth not pairing with headphones, slightly worse battery performance...) And third and most important, going back to EMUI could relock the bootloader if you get tired of the custom ROM.

Finally, I am going to make a brief list of things I can recall that worked (I am back to EMUI because of the bluetooth problem)
  1. WiFi and mobile data work. (WiFi seemed to disconnect briefly from time to time, but not completely sure it was because of the ROM)
  2. Sound and microphone work.
  3. Fingerprint sensor works.
  4. Camera works.
  5. Bluetooth kind of works. It connected to some devices but couldn't pair with headphones. I could send files to computer or other devices, but the audio didn't seem to work.
  6. I would say that it did use more battery than stock rom and performance was slightly slower, but nothing too serious.
Also, about the installation of the ROM, these are the steps that worked for me:

  1. Backup important data from the phone.
  2. Wipe data and cache via eRecovery
  3. Flash the vbmeta image: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (you can get the vbmeta at googles website for GSI roms https://developer.android.com/topic/generic-system-image/releases?hl=es-419)
  4. Flash the ROM image to system via fastboot: fastboot flash system system_whatever_its_called.img
  5. Reboot to system and you should be in the Treble Rom.
Think before starting to flash things and good luck to everyone!

EDIT (19/04/2023): I thought I should leave this here for anyone checking phhusson's ROMs I linked above: https://sourceforge.net/projects/andyyan-gsi/files/lineage-20-td/

There you have the naming rules for custom ROMs, in case you didn't know which ROM flavour is best for you. The link is related to lineageOS but the naming is almost identical.
 
Last edited:

TopanJava

New member
Apr 19, 2023
1
0
Maybe I am a bit late for this, but I would like to make some remarks about the GSI rom commented here. First, the ROM image provided in this post is not the latest, check https://github.com/phhusson/treble_experimentations/releases (this fixes some bugs present on the version linked in the post). Second, although most functionalities work in the ROM, you should expect some bugs (bluetooth not pairing with headphones, slightly worse battery performance...) And third and most important, going back to EMUI could relock the bootloader if you get tired of the custom ROM.

Finally, I am going to make a brief list of things I can recall that worked (I am back to EMUI because of the bluetooth problem)
  1. WiFi and mobile data work. (WiFi seemed to disconnect briefly from time to time)
  2. Sound and microphone work.
  3. Fingerprint sensor works.
  4. Camera works.
  5. Bluetooth kind of works. It connected to some devices but couldn't pair with headphones. I could send files to computer or other devices, but the audio didn't seem to work.
  6. I would say that it did use more battery than stock rom and performance was slightly slower, but nothing too serious.
Also, about the installation of the ROM, these are the steps that worked for me:

  1. Backup important data from the phone.
  2. Wipe data and cache via eRecovery
  3. Flash the vbmeta image: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (you can get the vbmeta at googles website for GSI roms https://developer.android.com/topic/generic-system-image/releases?hl=es-419)
  4. Flash the ROM image to system via fastboot: fastboot flash system system_whatever_its_called.img
  5. Reboot to system and you should be in the Treble Rom.
Think before starting to flash things and good luck to everyone!
Is this done by unlocking bootloader or you just straight up flashing the rom?
 

darkghost1999

Member
Sep 20, 2021
5
1
What unlock services did work for you man ?
Also, does the rom camera app take RAW format photos ?
DCUnlocker has some timed paid license for about 20 bucks to use two programs: HCU and DCPhoenix if I remember correctly. They also have some videos showing the process:

How to enable software testpoint (required before using HCU new features):

How to unlock bootloader:

It's done with software testpoint, so you don't have to open physically the phone. But be aware that this method does NOT give you the bootloader code, so if you reinstall back EMUI, you could relock the bootloader... There is also a tricky step installing Huawei drivers, maybe you need a bit of searching for that.

About the camera, I can't recall if it was with raw format, I don't think so. But you can always install one that does it!
 
Dec 25, 2015
12
1
DCUnlocker has some timed paid license for about 20 bucks to use two programs: HCU and DCPhoenix if I remember correctly. They also have some videos showing the process:

How to enable software testpoint (required before using HCU new features):

How to unlock bootloader:

It's done with software testpoint, so you don't have to open physically the phone. But be aware that this method does NOT give you the bootloader code, so if you reinstall back EMUI, you could relock the bootloader... There is also a tricky step installing Huawei drivers, maybe you need a bit of searching for that.

About the camera, I can't recall if it was with raw format, I don't think so. But you can always install one that does it!
Thanks man I appreciate the answer !
I'm trying to install stock android cause EMUI's performance has started to suck and the gesture navigation is horrible
 

Similar threads

N
Replies
0
Views
3K
N
noppy22

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    images-7-1280x720.png





    Code:

    /*
    * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
    * Please do some research if you have any concerns about features included in the products you find here before flashing it!
    * YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
    * Your warranty will be void if you tamper with any part of your device / software.
    * Same statement for XDA.
    */



    What's AOSP 12?
    AOSP is Android as Google publish without other modifications. More or less AOSP is the Nexus devices stock rom without gapps.
    We added few non-AOSP features for a better user experience and we NOT going to add something other.

    What's working :


    • Boots
    • RIL (Calls, SMS, Data)
    • Wi-Fi
    • Bluetooth
    • Camera
    • Camcorder
    • Video Playback
    • Audio
    • Sensors
    • Flash
    • LED
    • GPS
    • NFC

    Known issues:

    • You tell phhusson


    Instructions :

    • Download GSI
    • Boot into fastboot
    • type fastboot erase system
    • type fastboot flash system system-squeak-arm64-ab-gapps.img
    • type fastboot reboot

    PS : Please update your device to EMUI 9 to install this GSI


    Downloads :

    Please extract the image file from the zipped folder
    XDA:DevDB Information
    [GSI][Android 12]Android Open Source Project[Huawei Nova 3i]

    Contributors

    @phhusson

    ROM OS Version: Android 12
    ROM Kernel: Linux 4.x

    Version Information
    Status:
    Stable
    Stable Release Date: 2022-06-10

    Created 2022-06-10
    1
    it says huawei nova 2 plus cuz but it will work for your device
    Have you personally tried it on a nova 3i device?
    1
    O

    I've found similar scripts online that unlocks the bootloader, and they say it takes hours and sometimes days to finish, is it the case for this sctipt too?
    nah it unlocked my bootloader in 5-10 minutes