Questions about sGSI - Treble-Enabled Device Questions and Answers

Hi, im interested to learn about that new sGSI porting methods so i can maintain MIUI Oreo or even Pie for my device (The Redmi Note 4X).
I've worked on MIUI 7.1 for Redmi Note 4X: https://forum.xda-developers.com/re...pment/rom-xiaomi-eu-7-1-porting-mido-t3811151 . I believe i can also do Oreo
I'm not interested to use anyone's work to base my project on as there's no reason to.
I tried looking on guides and also experimenting by myself but the process is extremely confusing and i cannot understand what's happening around. I did an experimental sGSI ROM based on Redmi 6 Pro IN but it didn't boot at all (Reboots and throws you to fastboot mode)
My process was like:
1. Unpack sakura & RR O for mido ROM with kitchen
2. Change selinux mapping of sakura with RR
3. Add miui services like (miui_audio) inside the mapping files
4. few build.prop changes for mido
4.5. Add Camera and Audio services from RR to fix bootloop
5. MIUI device_feature edits for mido
6. Inject MIUI related files on vendor
7. Set up proper permissions for the new vendor files in the updater-script
8. Unpack RR and sakura's boot.img and change init.rc, the environ, target and also add miui rc stuff inside ramdisk
9. Repack boot.img
10. delete qti-telephony.jar from framework
11. Repack the new ROM
12. Flash with FBE_Disabler
13. Didn't boot so not profit :b
If anyone has knowledge over sGSI i would like to give me some tips or instructions.
- Thanks

Related

Project Treble Support In Lenovo k8 Plus

Hello team member , how to enable project treble support in Lenovo k8 plus ( marino ) .
https://github.com/phhusson/treble_experimentations/wiki
We have not oreo 8.1 in lenovo k8 plus
Can anyone port it for our device ?
Rupesh Tanwer said:
Hello team member , how to enable project treble support in Lenovo k8 plus ( marino ) .
Click to expand...
Click to collapse
Greetings, our k8 plus does not support TREBLE but i was searching for a way through and i came across something called RED WOLF recovery. The fact is even REDMI NOTE4 dosent support TREBLE officially but using this RED WOLF recovery it can now flash treble ROMS. we may be able to flash treble ROMS if we get out hands on RED WOLF RECOVERY.
Lenovo k8 plus has /OEM partition (500MB+) to use as vendor partition. Unfortunately 57% is used.
And mainly required HAL's are bindarized.
So it may be easier to port project treble to this device.
I have uploaded manifest.xml file from folder /system/vendor/.
Please check it.
Mediatek updated their HAL's to support treble. But Lenovo can't repartition devices on the Air with a system update. Oreo update has all stuff needed for treble support, only missing is repartitioning.
I haven't rooted my device,
can any one try flashing Android P GSI to system partition which includes /vendor folder from stock ROM.
[email protected] said:
Mediatek updated their HAL's to support treble. But Lenovo can't repartition devices on the Air with a system update. Oreo update has all stuff needed for treble support, only missing is repartitioning.
I haven't rooted my device,
can any one try flashing Android P GSI to system partition which includes /vendor folder from stock ROM.
Click to expand...
Click to collapse
Oki tool can be used for repartitioning, the kernel should support loading vendor at boot. Just copy the vendor folder to the vendor partitions and replace missing files. It is quite easy if the hals are binderised and device has trees to build treble.
pbteja said:
Oki tool can be used for repartitioning, the kernel should support loading vendor at boot. Just copy the vendor folder to the vendor partitions and replace missing files. It is quite easy if the hals are binderised and device has trees to build treble.
Click to expand...
Click to collapse
What are missing files?!
[email protected] said:
What are missing files?!
Click to expand...
Click to collapse
If the device only needs re-partitioning, you may check https://forum.xda-developers.com/axon-7/development/tool-party-v0-1-vendor-partition-t3831517
Since you are saying you have an OEM partition of 500MB you can define like this for oem part in twrp fstab to mount it as vendor to avoid repartitioning
Code:
/vendor ext4 /dev/block/bootdevice/by-name/oem flags=display="Vendor";backup=1;wipeingui
A treble twrp recovery or any treble recovery built for your device can do the job of flashing treble roms , provided it should mount vendor and the kernel should support mounting the partition.

[PORT][ROM] Miui ROG [ MIUI 12 ][ CURTANA ] [09.08.20]

MIUI ROG Rom based on MIUI 12
ONLY FOR CURTANA DON'T FLASH ON JOYEUSE​
Other roms port:
1. Masik X
2. Xiaomi EU
Instructions:
1. Download
2. Flash MIUI ROG rom zip in TWRP
3. Flash firmware: 11.0.10
4. Format data if your data is encrypted / Wipe data if your data is decrypted | + wipe cache
5. If reboot to fastboot, flash stockboot.zip in recovery and reboot.
Your data partition will be decrypted too after flashing this rom
6. Magisk patches not needed anymore, but do check Magisk patches from third post to see if there is anything necessary.
Warning: Other roms may not flash successfully after flashing this rom. I blame their flashing procedure.
Workaround: Either flash stock or eu rom or old masik rom from fastboot.
Downloads: (Old links will be archived to ensure you are on latest build)
09.08.2020 Recovery Rom
Release Channel
Stock Boot
Mirrors are welcome, tag/quote me if you mirror, thank you
Changelog: Post #2
Bugs:
Turning on haptic feedback will cause systemui crash on scheenshots
Can't set intensity of Read mode
SoundFx will force close (intentional, will be fixed)
AUX Camera rip in stock cam (intentional, will be fixed)
CTS fail
Support: Telegram
If you like my work and want to support this project, consider buying me a mouse or something (i don't drink beer) or at least press thanx button. Thank You.
XDA:DevDB Information
eucurtana, ROM for the Redmi Note 9 Pro
Contributors
Sudeep Duhoon
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
Based On: MIUI
Version Information
Status: Alpha
Created 2020-08-09
Last Updated 2020-08-10
Changelog:
09.08.2020
1. Initial Build
Reserved
Can we have few screenshot of the rom,please? Thanks

Install GSI on Pixel 2

Can anyone who successfully install any GSI rom explain me how can i install a GSI.
Hey . I'm dev of redmi 7A but I want to bug pixel 2 or 2 xl . Install of GSI is easy . You need to download system and vbmeta . If vendor is ok , system boot . You must to do wipe data in fastboot : fastboot -w , flash system and vbmeta . That's all . After buy pixel 2 i do test with gsi images from phhusson . For this image you can try to use the same vbmeta from stock GSI from google . Good luck . PS this device possible support treble and mainline.
unlocked bootloader is need
Pixel 2 GSI ROMS · Issue #359 · phhusson/treble_experimentations
Hi I'm new to rooting so I will do my best to explain so bear with me here. So I want to install HavocOS 2.0 OFFICIAL on to my pixel 2. And it is a GSI so I followed the proper installation instruc...
github.com
Thank you for the help. What about install gsi on android 11?
Can I use pixel 2 xl 's stock android 11 vbmeta.img with any other android 11 gsi like corvus and havoc ?

Required Project Treble / GSI for Umidigi A3 Pro N with Android Oreo V8.1

Hi all,
i need your support.
I did not manage to install Android GSI / Treble (lineage-18.1-treble_arm64_a) to the:
Umidigi_A3_Pro_N
with
Android 8.1:
and current Software Version:
UMIDIGI_A3_Pro_N_V1.4_20190416
from here: https://community.umidigi.com/forum.php?mod=viewthread&tid=18713
I tried this version:
lineage-18.1-20211214-UNOFFICIAL-treble_arm64_avS.img.xz
from:
https://sourceforge.net/projects/andyyan-gsi/files/lineage-18.x/lineage-18.1-20211214-UNOFFICIAL-treble_arm64_avS.img.xz/download
without sucess, the device does not boot after flashing the .img file within CWRP (Team Win Recovery Project 3.3.1.0 repack Cleopatra81
treble_arm64_a should be the right image, or am i wrong, my Treble Info Check App said so, see attached screenshots?
I also asked for Support in the Smartphone thread, but maybe someone has here some ideas to fix it?
Umidigi A3 Pro - TWRP & Stock Rom
Reserved exclusively for the stock rom V1.0_20181122 Download the stock rom V1.0_20181122 at the following link : https://mega.nz/#!yxkUVA4I!0exovcsKTXb75YIBZfrqDC6Ak01wsv_Bp3Nl5mGQ7o8 Download the TWRP at the following link ...
forum.xda-developers.com

(Q) OnePlus 10 pro, installing a GSI. Some pointers if anyone knows please?

Hi all,
There aren't any ROMs for the OnePlus 10 pro. And there may never be the way things are shaping up.
I'd like to try a GSI, by all accounts my device is compatible, albeit with some bugs I expect will be present.
Attached is the info for my device and what treble version I should install, I'm looking at AOSP found at the link below.
Releases · phhusson/treble_experimentations
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
In regards to installation do I?
1. Visit the above link and download this ROM "system-squeak-arm64-ab-floss.img.xz"
Then extract the image and install using the DSU loader found in developer options to install it.
Or.
2. Download the same image then extract the image and install using fastboot ? Or would fastbootd be required?
Bare in mind there is no TWRP for the 10 pro and no MSM tool either so it's stock recovery only which should be fine but still a risk.
Is there anything else required?? What about vendor?
I'm on Android 12.1 stable ATM.
Is the ROM I picked the correct one?
I've never installed a GSI before..so any help would be massively appreciated.
Thanks in advance.

Categories

Resources