Hovatek Forum DEVELOPMENT Android Help on flashing GSI ROM on Unisoc SC9863a SAR Android 9 device
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


Help on flashing GSI ROM on Unisoc SC9863a SAR Android 9 device

Help on flashing GSI ROM on Unisoc SC9863a SAR Android 9 device

VD-FLASH
VD-FLASH
VD-FLASH
Techie Member
47
05-05-2022, 04:18 PM
#1



Hello community! I'm back with another problem. On my last thread, I got the problem of rooting my device solved (thread link: https://www.hovatek.com/forum/thread-40791.html). Now, I have the problem of flashing a GSI ROM on my device (my device specifications can be found at the bottom of this post). Since there are no custom roms available for my device, I decided to flash a GSI image. I've tried flashing the following images:
1. PixelExperience 11 Plus (https://forum.xda-developers.com/t/gsi-u...us.4269051)
2. Phh-Treble AOSP 11 vanilla GSI (https://github.com/phhusson/treble_exper...s/releases)
3. Phh-Treble AOSP 9 vanilla GSI (https://github.com/phhusson/treble_exper...s/releases)

Command used to flash the image:
Code:

adb reboot bootloader
fastboot erase system
fastboot -S 200M flash system system.img
fastboot -w
fastboot reboot
I've also tried flashing without erasing the system partition ("fastboot erase system")

None of the above worked and everytime I had a bootloop. After some study on my device and its partition models, I found that the "system" partition is mounted at "/" (isn't is obvious for a SAR device?). That's not the actual problem. The actual problem is that everytime I flash the GSI image, the system partition gets erased or rewritten. This causes all the init and zygote files present in the system root directory to be erased too. And I suppose this is the actual reason which gives me bootloop everytime as GSI images don't contain those files. And if you're thinking to suggest me to simply use TWRP to flash the image then let me tell you that there is no supported TWRP for my device. I've tried, multiple times, Hovatek's auto TWRP porter and also tried to port the TWRP myself. In either cases, it just doesn't boot (take reference of my previous thread to know this problem). So, can you please suggest me a solution to flash the GSI image on my device? Thanks for reading till here.

My device's brief specifications:
Model: iBall iTab Moviez Pro (IT-KSA0012) [It's a tablet phone]
Chipset: Unisoc SC9863a [28nm Octa core ARM Cortex-A55, arm64 model]
OS: Android 9 [System-As-Root, treble supported by launch]
Partition type: A-only
Root status: Currently rooted with latest Magisk (v24.0)
This post was last modified: 05-05-2022, 04:18 PM by VD-FLASH.
maxpayne
maxpayne
maxpayne
Contributor
2,873
06-05-2022, 05:24 PM
#2
(05-05-2022, 04:18 PM)VD-FLASH My device's brief specifications:
Model: iBall iTab Moviez Pro (IT-KSA0012) [It's a tablet phone]
Chipset: Unisoc SC9863a [28nm Octa core ARM Cortex-A55, arm64 model]
OS: Android 9 [System-As-Root, treble supported by launch]
Partition type: A-only
Root status: Currently rooted with latest Magisk (v24.0)

List out the AOSP 9 GSI's you've flashed. I want to confirm you're flashing one for your architecture
This post was last modified: 06-05-2022, 05:27 PM by maxpayne.
VD-FLASH
VD-FLASH
VD-FLASH
Techie Member
47
06-05-2022, 05:44 PM
#3
(06-05-2022, 05:24 PM)maxpayne List out the AOSP 9 GSI's you've flashed. I want to confirm you're flashing one for your architecture

I've tried "amd64-aonly-vanilla-nosu" images of AOSP 9.0 v121 and AOSP 9.0 v120 from phhusson's GitHub repo (https://github.com/phhusson/treble_exper...ses?page=7). And please don't worry about me flashing the image with wrong architecture as I'm not a newbie in this field. My problem is with the "init" scripts and binaries being erased from system root while flashig a GSI using fastboot. I would be glad if you could suggest me a way to overcome this issue or maybe a way to put those binaries and scripts back in system root folder using adb or fastboot. Thanks Smile
maxpayne
maxpayne
maxpayne
Contributor
2,873
08-05-2022, 07:54 AM
#4
(06-05-2022, 05:44 PM)VD-FLASH I've tried "amd64-aonly-vanilla-nosu" images of AOSP 9.0 v121 and AOSP 9.0 v120 from phhusson's GitHub repo (https://github.com/phhusson/treble_exper...ses?page=7). And please don't worry about me flashing the image with wrong architecture as I'm not a newbie in this field. My problem is with the "init" scripts and binaries being erased from system root while flashig a GSI using fastboot. I would be glad if you could suggest me a way to overcome this issue or maybe a way to put those binaries and scripts back in system root folder using adb or fastboot. Thanks Smile

Since no TWRP, you can mount, modify and unmount the GSI as you wish but I doubt that is the issue.. but might be wrong.
VD-FLASH
VD-FLASH
VD-FLASH
Techie Member
47
08-05-2022, 10:32 AM
#5



Quote:Since no TWRP, you can mount, modify and unmount the GSI as you wish but I doubt that is the issue.. but might be wrong.

Can you please elaborate on modifying the GSI as I think it might be of good help.
maxpayne
maxpayne
maxpayne
Contributor
2,873
09-05-2022, 05:30 PM
#6
(08-05-2022, 10:32 AM)VD-FLASH Can you please elaborate on modifying the GSI as I think it might be of good help.

You mount the system image in linux
VD-FLASH
VD-FLASH
VD-FLASH
Techie Member
47
09-05-2022, 05:35 PM
#7
(09-05-2022, 05:30 PM)maxpayne You mount the system image in linux

I got the mounting part. But can you please say which components to modify? Can I do something like taking my stock system image and replacing the contents of system folder in it with the contents of the GSI and flash it?
kelvinchinedu
kelvinchinedu
kelvinchinedu
Contributor
1,302
11-08-2022, 08:52 AM
#8
No ,just download the correct gsi based on Android 10,and flash with platform tools
https://sourceforge.net/p/expressluke-gs...23ad5f09d6
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram