GSI testing thread [First GSI booted!!!] - Samsung Galaxy A70 Guides, News, & Discussion

Okay so as you guys know, development has commenced on this device with Grarak bringing out a surprisingly complete TWRP. But it'll still be some time before we will get custom ROMs.
What's our solution in the meanwhile? GSIs! Generic system images are ROMs compiled to be able to run on as many devices as possible (theoretically, of course.)
Now that we have a TWRP, it will be much easier to flash these images and check if they boot (and restore stock ROM if they don't)
Now as our device has a Pie vendor, it should be able to run any Pie or below GSI that's thrown at it, but that's just theoretically speaking.
I have already tried a GSI and will try a couple more as soon as time permits, and am planning to make a list here of GSIs in the 2nd post known to work or not to work. Of course, I am just a single person, so anybody who can, grab a GSI of your favourite ROM and try it out. Don't forget to report your results in this thread so we can make a fairly complete list.
Tips for flashing in 3rd post.
A list of all known GSIs is here: https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Good luck!

GSI list
Universal buglist: MTP and PTP, Wifi autoconnect, charging while turned off is... Broken? No dual sim (obviously)
Working:
-- PHH's AOSP Pie
[ 15/08/19, stock vendor, system-arm64-ab-vanilla-nosu ]
-- PHH's AOSP Quack
[ 15/08/19, stock vendor, system-arm64-ab-vanilla-nosu ]
-- Andy Yan's unofficial LOS 16.0
[ 15/09/19, Pie stock vendor, lineage-16.0-20190910-UNOFFICIAL-treble_arm64_bvN ]
-- king1990's OmniROM Pie
[ 13/08/19, Pie stock vendor, Omni_pie_arm64_ab_15072019 ]
++++ Bugs: No setup wizard, just black screen unless permissive
-- EnesSastim's AEX Pie
[ 13/08/19, Pie stock vendor, AospExtended-v6.6-arm64_ab-20190705-0000-OFFICIAL ]
++++ Bugs: bootloops unless permissive
-- Vince31fr's HavocOS
[ 19/08/19, Pie stock vendor, havoc-20190811-arm64-ab-system ]
-- EnesSastim's Pixel Experience Plus
[ 15/08/19, LOS vendor, PixelExperience_Plus-9.0-arm64_ab ]
-- Ganesh Varma's Arrow OS 9
[ 15/09/19, LOS vendor, system_arm64_ab ]
-- Akhil Narang's AOSiP Pie
[ 15/09/19, LOS vendor, AOSiP-9.0-GSI-arm64_ab-20190819 ]
-- Mracar's Resurrection Remix
[ 15/09/19, LOS vendor, ARM64_AB_20191205 ]
-- resk84's ArrowOS 10
[ 15/09/19, LOS vendor, ArrowOS-10-AB-10-20190911-GSI ]
Not working:

Tips:
How I got LOS to boot:
1. Got Andy Yan's latest LOS build FOR A/B DEVICES! And DM-verity disabler from here https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389 (Thanks zack5ptg!). Remove "forceencrypt" from the zip's filename or it will disable encryption too, which will be a MAJOR security hole.
2. Flashed GSI image and then DM-verity disabler from TWRP
3. Formatted data (FORMATTED, not wiped)
4. Booted!
NOTE: For Pie or Oreo GSIs, use an A/B image, because they're system-as-root like our device while the A-only images are traditional system!
If you want to flash system mods but it says there isn't any free space, go to TWRP > Wipe > Advanced and press resize system, and swipe.
To fix brightness in GSIs, from terminal after su or from ADB do:
setprop persist.sys.phh.samsung_backlight 1
To fix corners on GSIs, put https://treble.phh.me/treble-overlay-toto.apk in /system/overlay or /vendor/overlay and chmod 755
The A705FN might need extra steps, as the author explains here:
https://forum.xda-developers.com/galaxy-a70/how-to/guide-how-to-boot-gsi-treble-roms-t3957528
I don't think this needs to be said, but Magisk or any other system mod lowers your chances of booting any ROM. So first you should try to boot just the GSI with no gimmicks.
If that doesn't work for you, maybe check out what makes GSIs on our little brother A50 tick?
(NOTE: I dunno if this will or wonlt work on A70 so proceed with some caution)
https://forum.xda-developers.com/galaxy-a50/how-to/guide-guide-how-to-flash-gsi-t3934005
How to get out of any softbrick with bootloader unlocked:
https://forum.xda-developers.com/galaxy-a70/how-to/gsi-testing-thread-t3956230/post80055894

well last day i downloaded aex gsi but im not sure that the twrp is treble compatible, also maybe check redmi note 7 is theres is anything good treble related

BK☑️ said:
well last day i downloaded aex gsi but im not sure that the twrp is treble compatible, also maybe check redmi note 7 is theres is anything good treble related
Click to expand...
Click to collapse
WDYM by TWRP not being Treble compatible? The recovery doesn't have anything to do with it. Just flaah the system.img into the system slot, wipe data and boot (after a backup/firmware download, of course) (⊙_⊙)

i guess i were tired this night lol,tried to fix RMM state and binary garbage the night well ill try to backup phone without twrp i dont want to format everything again , since twrp doesnt backup without crashing ,ill try some GSI and comeback here
---------- Post added at 10:53 AM ---------- Previous post was at 10:44 AM ----------
well i ended up flashing twrp again ,ill try some gsi now...

FriendlyNeighborhoodShane said:
GSI list
Working:
-- Haha none go and test
Not working:
-- AOSP Q DP6
[ 09/08/16, aosp_arm64-exp-QPP6.190730.005-5773495 ]
Click to expand...
Click to collapse
does TWRP work correctly for u? mine freeze and reboot

BK☑️ said:
does TWRP work correctly for u? mine freeze and reboot
Click to expand...
Click to collapse
Did you flash Aonly?

Joselof96 said:
Did you flash Aonly?
Click to expand...
Click to collapse
yes i flash A not A-B, its a twrp issue

BK☑️ said:
yes i flash A not A-B, its a twrp issue
Click to expand...
Click to collapse
Same here...going to wait a bit longer for a more stable version. We are close..just a matter of time now.

BK☑️ said:
does TWRP work correctly for u? mine freeze and reboot
Click to expand...
Click to collapse
Mostly, yes. It only reboots when I try to backup system or system image

2nd GSI failure with Andy Yan LOS
(still counting it as progress)

FriendlyNeighborhoodShane said:
2nd GSI failure with Andy Yan LOS
(still counting it as progress)
mine reboot even when in standby after wiping system
Click to expand...
Click to collapse

BK☑️ said:
mine reboot even when in standby after wiping system
Click to expand...
Click to collapse
That's weird. Are you sure you're using the latest version from the XDA thread?

Holy bob frickity frack and other miscelleneous SFW curses
https://i.imgur.com/Yb2yRWC.jpg
BIIIIIIIIG update in a couple hours

FriendlyNeighborhoodShane said:
That's weird. Are you sure you're using the latest version from the XDA thread?
Click to expand...
Click to collapse
yep i used the version with mtp fix
---------- Post added at 09:25 AM ---------- Previous post was at 09:25 AM ----------
FriendlyNeighborhoodShane said:
Holy bob frickity frack and other miscelleneous SFW curses
https://i.imgur.com/Yb2yRWC.jpg
BIIIIIIIIG update in a couple hours
Click to expand...
Click to collapse
haha you did it , how did u booted succesfully?
Also , whats your firmware version and security patch?

BK☑️ said:
yep i used the version with mtp fix
---------- Post added at 09:25 AM ---------- Previous post was at 09:25 AM ----------
haha you did it , how did u booted succesfully?
Also , whats your firmware version and security patch?
Click to expand...
Click to collapse
I just flash the A50 bootloop patch and disabled DMVerity on the Andy Yan LOS, I was just being my usual stupid self earlier ?. I was on the latest firmware available in india, G6 with july patch.
Keep tuned, will post a detailed guide soon

well its time for me to flash RR or AEX , ill tell you which one work to add to the thread , ill flash 5 differents gsi
---------- Post added at 11:44 AM ---------- Previous post was at 11:42 AM ----------
FriendlyNeighborhoodShane said:
I just flash the A50 bootloop patch and disabled DMVerity on the Andy Yan LOS, I was just being my usual stupid self earlier . I was on the latest firmware available in india, G6 with july patch.
Keep tuned, will post a detailed guide soon
Click to expand...
Click to collapse
also where did u found the bootloop fix patch

Yeeehaw, here's the big update, I booted LOS on this device!
First GSI booted! Guess I got bragging rights.
(It's still the AndyYan build, I was just being dumb before).
Moved the LOS into working list and posted a walkthrough of how I did it in the 3rd post. Just 4 simple steps.
Come on, time to try more!

BK☑️ said:
also where did u found the bootloop fix patch
Click to expand...
Click to collapse
Linked in in the 3rd post, along with a guide.
Good luck with the flashing!

Related

(guide)INSTALL Andriod P PR1 on REDMI 4

THIS IS NOT MY WORK , this is only for sharing purpose and to provide device specific guide.
ALL Rights goes to erfanoabdi, he is the real developer of this.https://forum.xda-developers.com/pr...ment/rom-android-p-developer-preview-t3816659
this ROM is ported from Android P-DP of Google Pixel XL (marlin) thanks to project treble
For review and installation video guide click here:
https://youtu.be/eV6W-t1QKp8
Requirements :
Qcom fully treblized device with 8.1 vendor
Redwolf recovery treble supported
Bugs Fixing :
important: mount vendor and system before flashing these files.
VoLTE fix(zip file):https://drive.google.com/open?id=14d5JJXMdJF6Gif0fWCwfSTAOIQjWrJt8
fingerprint fix(zip file) :https://drive.google.com/open?id=12ddmzZqCcLsdfYYQt21aLcrWPwLYsC5F
(on first boot after flashing fingerprint fix phone freezes, just reboot it again by pressing power button for 10 sec.)
wifi+bt fix:https://drive.google.com/open?id=1kpqAmquZuuliT97v7rnKm-2gE59x6Xv-
camera fix :https://drive.google.com/open?id=1eqJJhqm7z0_-vZbuMmmAXx8o9-6VPqxd
REMAINING BUGS:
WIFI and bluetooth cannot open at the same time.
Instructions : (you can also check video guide provided above)
1. download the latest 8.1 RR luis rom(treble).
2. Download latest andriod p gsi.img PR1 (A only) (this is a zip file you have to extract it to get .img file)
3. Download all the POST-sGSI(1,2,3) zips ,also download gsm.apk.
4. Reboot to recovery
5. flash RR luis rom 6.1 and wipe caches and data and reboot the rom.
6. now reboot in recovery mode.
7. click on install-- install image and select PsGSI.img (don't reboot)
8. Now Mount vendor in recovery
9. Flash POST-sGSI zips from 1 to 3 in priority
10. Reboot
On first boot your phone will give errors and it will be very laggy,,, do not panic.
install downloaded gsm.apk . it will fix errors and your rom will be super smooth.
DOWNLOADS:
RR luis rom v6.1(treble):http://luis-builds.de/downloads/lineageos/rr/Xiaomi_Redmi_4X_(santoni)/
Andriod p and post sGSI zips , incall.zip (total 4 files): https://androidfilehost.com/?w=files&flid=275999
(NOTE: downloaded pgsi img is a zip file you have to extract it to get .img file)
GSMCore apk :https://tinyurl.com/gmscore
good. guess we will see android P roms on our device after its officially released in a few months time.
No need to flash incall fix on our device
Can we disable the navbar?
Hi
Can we imagine some "P" custom roms we could flash directly, like other oreo/nougat roms ?
Flashing these system.img and other post gsi zips wont work on any other treble enabled rom ?
Angharad said:
Can we disable the navbar?
Click to expand...
Click to collapse
Yes, by adding line in buildprop
qemu.hw.mainkeys=1
---------- Post added at 03:39 AM ---------- Previous post was at 03:38 AM ----------
stevenlopes92 said:
Flashing these system.img and other post gsi zips wont work on any other treble enabled rom ?
Click to expand...
Click to collapse
What do you mean? I'm currently on this rom. This rom is great
---------- Post added at 03:41 AM ---------- Previous post was at 03:39 AM ----------
newbie_or_not_newbie said:
Hi
Can we imagine some "P" custom roms we could flash directly, like other oreo/nougat roms ?
Click to expand...
Click to collapse
Maybe u have to wait longer. Are you not familiat with treble?
its quite good rom for daily use if you will manage without VOLTE. Battery backup is decent and rom works as sooth as butter.
What do you mean? I'm currently on this rom. This rom is great
---------- Post added at 03:41 AM ---------- Previous post was at 03:39 AM ----------
Maybe u have to wait longer. Are you not familiat with treble?
Click to expand...
Click to collapse
Not so much... I see what it is, but can't realize what consequences for santoni, for custom roms.
newbie_or_not_newbie said:
Not so much... I see what it is, but can't realize what consequences for santoni, for custom roms.
Click to expand...
Click to collapse
If im correct, it means our devs have just to work on /vendor so we can flash gsi of ROMs that aren't built specific for santoni. Also updating hardware related things are completely independent of Rom Updates.
I understand more now, how difficult it is for devs.
Thanks for explanations.
Hey all i was saying is that now i am using treble enabled lineage os 15.1
Can i flash the system.img and other post gsi-zips above my base of lineage os , or is it mandatory to flash RR luis rom ?
stevenlopes92 said:
Hey all i was saying is that now i am using treble enabled lineage os 15.1
Can i flash the system.img and other post gsi-zips above my base of lineage os , or is it mandatory to flash RR luis rom ?
Click to expand...
Click to collapse
i got bootloops on my phone with lineage os15.1 vendor.
luis rom vendor works well with p gsi img.
i am using Los treble by swapnil bro, as base rom..
its working fine.. no issues at all..
dont neglect to keep Playstore apk ready after you boot, else it would be nuisance
Hi
the only problem that i have is that when i start Bluetooth, the wifi gets disabled and cannot stat until i stop BT
nandakis4 said:
i am using Los treble by swapnil bro, as base rom..
its working fine.. no issues at all..
dont neglect to keep Playstore apk ready after you boot, else it would be nuisance
Click to expand...
Click to collapse
Any calling problem bro?
anyone using as a daily driver?
MarcosJungbluth said:
anyone using as a daily driver?
Click to expand...
Click to collapse
Yup stable enough, some small bugs are there like cannot turn Bluetooth and WiFi on at the same time and YouTube seems to stutter.
Other than that everything works fine. Does heat up a little bit though.
I'm just trying DP4 and flashed all 3 zips after the GSI but the device doesn't sleep. Anyone else?
BT and WiFi at the same time isn't.possible, it seems.
meltbanana said:
I'm just trying DP4 and flashed all 3 zips after the GSI but the device doesn't sleep. Anyone else?
BT and WiFi at the same time isn't.possible, it seems.
Click to expand...
Click to collapse
disable ambient dispaly.

Lineage OS 16.0 (Android 9.0 Pie) For Redmi 4A (Rolex)

LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0(Pie), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Broken:
Sepolicy is still permissive
Nothing else
Working:
Camera (and flashlight)
WiFi
Bluetooth
Telephony (Calls and Data)
Audio (Record and Playback)
Video Playback
Sensors
GPS
VoLTE
Compatibility:
Compatible with all Xiaomi Redmi 4A and Redmi 5A variants (16GB / 32GB), other Redmi devices are not supported.
Builds are based off the Xiaomi's Android 7.1 firmware with proprietary blobs from MIUI 8.3.29 dev package.
Downloads:
LINK REMOVED BY MODERATOR
Notice:
No custom kernels are supported in this thread. Only stock kernel and official builds will be supported. No bug reports if that's not the case.
Installation:
Reboot to recovery (Custom TWRP recovery for Redmi 4A - Direct link)
Format /system, /data and /cache
Install LineageOS zip package
Install Magisk 16.4 For root permission
Install [optional] a Google Apps package of your choice (Open GApps is advisable, but stock and super variants are not recommended!!!)
Credits & collaborations:
This work is due to efforts from RedmiDevs founding members that did the full device bring-up. Huge thanks to @tEaM Tentacles for all the help during that bring-up.
Finally, all RedmiDevs & LineageOS team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
Contributors:
Team Tentacles
ROM OS Version: 9.x.x
ROM Kernel: Linux 3.18.71
Version Information
Status: Beta
Anyone tried it yet?
Do I need treble enabler to use this?
Enter a pin to start Android!
What is the pin sir?
SHARING IS GOOD said:
Do I need treble enabler to use this?
Click to expand...
Click to collapse
Try wipe data and cache or maybe just a factory reset.
Marzuki_uki said:
Enter a pin to start Android!
What is the pin sir?
Click to expand...
Click to collapse
U need to format data in the wipe In twrp to fix it
---------- Post added at 01:16 PM ---------- Previous post was at 01:09 PM ----------
Thx developer for porting the backup of lineage is 16.1
But is very buggy all apps crash (even pixel setup)
So I could not able to enter the phone
I tried flashing with out gapps the phone booted up and opened
But all apps crash like gallery, fille explorer etc
The above one is of lineage is 16.0 back up
The carbon ROM backup also had the same type of problems but for the first time it did not even boot up
Plz developer fix these bugs
Would like to see the ROM fully functional in The near future
---------- Post added at 01:18 PM ---------- Previous post was at 01:16 PM ----------
SHARING IS GOOD said:
Do I need treble enabler to use this?
Click to expand...
Click to collapse
U can directly restore the backup using twrp
---------- Post added at 01:35 PM ---------- Previous post was at 01:18 PM ----------
MaxisMan said:
Anyone tried it yet?
Click to expand...
Click to collapse
Yup I tried it
Good but
Apps force close and force crash every time
If you flash gapps you can't even enter the phone
Because the pixel setup crashes
rseragon said:
U need to format data in the wipe In twrp to fix it
---------- Post added at 01:16 PM ---------- Previous post was at 01:09 PM ----------
Thx developer for porting the backup of lineage is 16.1
But is very buggy all apps crash (even pixel setup)
So I could not able to enter the phone
I tried flashing with out gapps the phone booted up and opened
But all apps crash like gallery, fille explorer etc
The above one is of lineage is 16.0 back up
The carbon ROM backup also had the same type of problems but for the first time it did not even boot up
Plz developer fix these bugs
Would like to see the ROM fully functional in The near future
---------- Post added at 01:18 PM ---------- Previous post was at 01:16 PM ----------
U can directly restore the backup using twrp
---------- Post added at 01:35 PM ---------- Previous post was at 01:18 PM ----------
Yup I tried it
Good but
Apps force close and force crash every time
If you flash gapps you can't even enter the phone
Because the pixel setup crashes
Click to expand...
Click to collapse
#
I did a full clean flash w formatting data. And still asking for pin.
And it says i entered a correct pin but " the data is corrupt, you need to reset ur phone ", i click the reset button and it reboot automatically. But after all that nothing happen, it still asking for a pin..
Marzuki_uki said:
#
I did a full clean flash w formatting data. And still asking for pin.
And it says i entered a correct pin but " the data is corrupt, you need to reset ur phone ", i click the reset button and it reboot automatically. But after all that nothing happen, it still asking for a pin..
Click to expand...
Click to collapse
Procedure to install the ROM
Prerequisites:-
unlocked boot loader and twrp(of course)
Download the back up files and extract it in sdcard twrp folder
Procedure
Remove the pattern or pin present in the current ROM
Reboot in twrp
Wipe everything you can except micro SD
Go to restore and restore the ROM
Install gapps 9.0 unofficial ( not recommended for now )
U cannot use this ROM as daily diver, currently as it has so many bugs
rseragon said:
U cannot use this ROM as daily diver, currently as it has so many bugs
Click to expand...
Click to collapse
Is it Gapps related bugs or rom related? In several unofficial Lineage 16 for other Redmi devices, most of the bugs are solved after the latest unofficial open gapps is released. 20th Aug build I believe.
Update: here it is https://builds.nezorfla.me/?dir=opengapps/pie/arm64/20180820
noowb00 said:
Is it Gapps related bugs or rom related? In several unofficial Lineage 16 for other Redmi devices, most of the bugs are solved after the latest unofficial open gapps is released. 20th Aug build I believe.
Update: here it is https://builds.nezorfla.me/?dir=opengapps/pie/arm64/20180820
Click to expand...
Click to collapse
I tried flashing with old gapps 20180811 version
When I tried booting into the phone pixel setup was not working and I could not enter in the phone
When I tried with out flashing gapps at first boot
The phone started and was good but all apps crash or force close
So practically if you want to know how android p will be u can use that for just seeing it
But currently you cant use it as daily driver
Nice port bro, good job <3
Please stop doing such misleading threads.
This is just a backup of an installation with treble + gsi, you didnt do anything here.
You didnt even edit the install instructions...
33bca said:
Please stop doing such misleading threads.
This is just a backup of an installation with treble + gsi, you didnt do anything here.
You didnt even edit the install instructions...
Click to expand...
Click to collapse
Yup I also thought like that it just had los boot animation and an edit of build.prop to make us like it is los even the wall paper is same
From the Moderator
People, OP
There are too many bugs , no git links and appears to be just a copy of others
So,
.............THREAD CLOSED...............
~~~ oka1

[9.0|PIE][SEMI-GSI]Pixel Experience 9.0 V3 [NOTE9/S9/S9+]

Pixel Experience ROM for the Galaxy S9+ and the Galaxy S9​
What is this?
Pixel Experience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, bootanimation)
Our mission is to offer the maximum possible stability and security, along with essential features for the proper functioning of the device
Based on Android 9.0
Click to expand...
Click to collapse
Semi-GSI? what's that?
a semi-gsi (at least by my own definition) is a gsi built from source, with heavy patches intended for a specific device that wouldn't make the gsi necessarily as universal as a gsi should be. so in terms: don't flash this on other devices.
How does this differ from any other gsis out there/what are the features?
Well this includes a number of fixes including:
Dual speakers are working.
Ui lag is no more (at least 99.99%).
Aod is working/enabled.
Auto brightness is kinda working.
MTP is working
Other performance fixes and improvments.
What's working/not working?
First up:
Obviously Samsung's own features such as Samsung Pay, KNOX, Theme Center, Game Launcher, etc. won't be ported to LineageOS Pixel Experience. We may have our own implementation to similar functions, though.
Iris sensor does not work because AOSP upstream does not support that yet.
IMS services (VoLTE, VoWiFi, etc). Samsung has their own proprietary implementation. It is not really possible to easily port that to LineageOS PixelExperience.
Click to expand...
Click to collapse
2ndly the semi-gsi has a few quirks of it's own. Nothing major or worth noting but you should check the "anything else i should know?" part in the FAQ. hence why HWC is broken
Instructions:
Make sure TWRP has been installed and functional.
Download the latest build image and kernel linked below
Reboot to recovery
Wipe system, data and cache from the wipe menu
Select flash image in twrp, lower right side on the install menu
Flash the rom image as system (and gapps). DONT flash gapps. they are already included in the rom.
Flash the kernel image corresponding to your model as boot
Reboot and enjoy :victory:
Downloads:
Galaxy S9/S9+ Exynos semi-gsi image link: (G965F/FD/S/N): V3
Kernel image link(important to use this. read more in FAQ):
S9 Exynos: V3
S9+ Exynos: V3
Note 9 Exynos: V2.3
A pretty good (unofficial) mirror for above files and more is this
Providing feedback:
You are more than welcome to provide any kind of feedback here.
(limited only to feature requests; it's called "pixel experience" for a reason and it should stay that way)
You can also msg me anytime on telegram @ Rainbow_Alex_Dash
Telegram group?
I usually like to hang around here . It isn't mine but hey.
Changelog:
12.10.2018:
Initial release Boi
V3:
Fixed apn issues; should be automatically added and set now.
Added fingerprint hal; doesn't fix much still a wip
Synced source from the latest pixelexperience upstream
Video Review:
YOUTUBE
Troubleshooting/FAQ:
Q:Can i use any other kernels with this gsi?
A:Nah, not really. I built this kernel specifically to work with this gsi and it includes a few major fixes (for example mtp won't work,major ui lag, no dual speakers etc if you switch to another kernel. But again. If you want to use other kernels, they should* boot. Endurance kernel even has my dual speaker patch and i confirm as working. But again expect bugs.
Q: Is there anything else i should know?
A: Ehhhhhhh, not really. I mean there are some stuff i'm really not proud of,for example to "fix" the ui lag i had to set the minimum gpu frequency to 455; this shouldn't create any issues(perhaps some battery drainage when screen is on) but afaik it doesn't impact sleep or anything else.
Q: My mobile data (3G/4G) is not working
A: Go into network settings and select/create an apn
Q:Would this be preferred over a device specific rom?
A: Overall nah. The reason i didn't set on building device specific los16.....well actually i did and failed. But this is a pretty good placeholder until someone more skilled than me takes over and creates pie device trees.
Q: Safetynet doesn't pass?
A: Yeah, i guess that's a thing. Go into magisk and download some module called props hide or something. Don't forget to run it from terminal. It should work from there
Q: The rom isn't booting/camera doesn't work
A: Flash/make sure you have the BRI4 vendor, the linked kernel and try again.
Q: The rom is in a bootloop/google apps keep crashing
A: You did read the instructions and NOT flash any gapps riighhttt?? smh, wipe /system,/data and /cache and start over
Q: I have another bug; How can i tell it to you while slightly increasing my changes of it ever getting fixed.
A: You can tell me what's going on either here or on telegram WITH A LOGCAT attached(required);if rom isn't booting at all attach /proc/last_kmsg.
Q: I don't know what/how to logcat. Is it really necessary?
A: Logcat or gtfo
Q: How can i support you?
A: Awwww thanks; On most of my posts on the left side there's a "donate to me" paypal button; You can use that,donations are more than welcome, or if you don't have any $ to spare you can also post here about how awesome i am (this surprisingly helps very much)
Credits:
The lineageos team; device maintainers who did a wonderful job at creating device trees
The pixel experience team for creating the rom we so do enjoy
Many good people from the telegram group (linked above) that helped me create this project and spamming for etas
And most importantly thanx to iqblal_sareem best creationner ev3r.
XDA:DevDB Information
Pixel Experience 9.0 Semi-Gsi for the S9/S9+, ROM for the Samsung Galaxy S9
Contributors
Rainbow_Dash, phhusson,malinathani, eamo5, jesec, farovitus
Source Code: https://github.com/rainbowdashh/
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: AOSP
Version Information
Status: Stable
Stable Release Date: 2018-10-12
Created 2018-10-12
Last Updated 2018-10-19
reserved
Thx boi!
I think u know who I am and I just want u to know that I will support u!
Wow!
Thanks for your hard work, i will try.
If i want to go back to a backup from my "The Samsung Project" rom, is this easy possible with deleting the partitions in twrp and play on the backup?
Awesome, looking forward to trying this. Awesome work dude.
Oel said:
Wow!
Thanks for your hard work, i will try.
If i want to go back to a backup from my "The Samsung Project" rom, is this easy possible with deleting the partitions in twrp and play on the backup?
Click to expand...
Click to collapse
yeah, it should work, i don't see why not
Downloading.....
Doesnt boot.
I see the Google Screen for 1 second, than the phone restarts....same again...
Oel said:
Doesnt boot.
I see the Google Screen for 1 second, than the phone restarts....same again...
Click to expand...
Click to collapse
Are you sure about that?
What vendor did you have installed?
Did you flash the kernel too?
Rainbow_Dash said:
Are you sure about that?
What vendor did you have installed?
Did you flash the kernel too?
Click to expand...
Click to collapse
Yeah.
Last vendor from Soldiers rom. I flashed your kernel for the S9 to my S9. I also made a test and flashed Magisk, no difference.
---------- Post added at 11:24 PM ---------- Previous post was at 11:15 PM ----------
I flashed now the G96XF_Firmware_TWRP_BRI4_r13 firmware, rebootet into TWRP, flashed again the rom and tge kernel, the same...
Oel said:
Yeah.
Last vendor from Soldiers rom. I flashed your kernel for the S9 to my S9. I also made a test and flashed Magisk, no difference.
---------- Post added at 11:24 PM ---------- Previous post was at 11:15 PM ----------
I flashed now the G96XF_Firmware_TWRP_BRI4_r13 firmware, rebootet into TWRP, flashed again the rom and tge kernel, the same...
Click to expand...
Click to collapse
Which model nr are you?
The ideal way of doing it was to have the latest vendor installed (i have BRI4 rn) wipe /system, /cache and /data. Flash just the system img and the kernel img and it should boot just fine. Can you try this?
So far so good. Recording video on my s9+ screen flashes green, stereo speakers work on SoundCloud but not with play music, still testing. Thanks
Rainbow_Dash said:
Which model nr are you?
The ideal way of doing it was to have the latest vendor installed (i have BRI4 rn) wipe /system, /cache and /data. Flash just the system img and the kernel img and it should boot just fine. Can you try this?
Click to expand...
Click to collapse
I have a S9 SM-G960F.
Ok, will try again.
---------- Post added at 12:17 AM ---------- Previous post was at 12:07 AM ----------
Does'nt work.
Oel said:
I have a S9 SM-G960F.
Ok, will try again.
---------- Post added at 12:17 AM ---------- Previous post was at 12:07 AM ----------
Does'nt work.
Click to expand...
Click to collapse
Which option are you selecting when you chose to flash the system img and kernel img?
bobandar said:
Which option are you selecting when you chose to flash the system img and kernel img?
Click to expand...
Click to collapse
System_Image for the rom and Boot for the kernel.
I installed the latest Benzorom 9 and this works!
Than again your rom without your kernel, it goes than further, the Google boot animation doesnt disapeared, but cant boot into system.
So something must be wrong in the kernel for the 960F version.
Oel said:
Yeah.
Last vendor from Soldiers rom. I flashed your kernel for the S9 to my S9. I also made a test and flashed Magisk, no difference.
---------- Post added at 11:24 PM ---------- Previous post was at 11:15 PM ----------
I flashed now the G96XF_Firmware_TWRP_BRI4_r13 firmware, rebootet into TWRP, flashed again the rom and tge kernel, the same...
Click to expand...
Click to collapse
Oel said:
System_Image for the rom and Boot for the kernel.
I installed the latest Benzorom 9 and this works!
Than again your rom without your kernel, it goes than further, the Google boot animation doesnt disapeared, but cant boot into system.
So something must be wrong in the kernel for the 960F version.
Click to expand...
Click to collapse
Hmmmm. I'm not gonna lie, i haven't actually tested the g960 variant since i have the plus model but ok.
Has anyone with a small s9 booted the rom using the kernel?
EDIT: ok apparently the small variant is bootlooping, will delete the link and get back later
@Oel can you try this for the small s9 pls?
Rainbow_Dash said:
@Oel can you try this for the small s9 pls?
Click to expand...
Click to collapse
Downloading the rom, I will try the kernel and get back to you.
Flashed successfully on Exynos S9+. I can make calls but cannot receive calls. Any idea why?
Hi, do we have an option to disable the fingerprint unlock vibration? If no, can we have it please? Also, Thanks for this wonderful work of yours

GSI roms

Hi
Did anyone tried GSI roms on the MI9?
Please share your experience if you did
Phh is working on treble support. As always with GSI's you'll probably have the best experiences with vanilla.
See his progress thus far here (he's making progress on indisplay fp): https://github.com/phhusson/treble_experimentations/wiki/Xiaomi-Mi-9
CrazyBeaver2377 said:
Phh is working on treble support. As always with GSI's you'll probably have the best experiences with vanilla.
See his progress thus far here (he's making progress on indisplay fp): https://github.com/phhusson/treble_experimentations/wiki/Xiaomi-Mi-9
Click to expand...
Click to collapse
Best experience with vanilla? What do you mean with vanilla? AOSP or something else?
Another question: so it would be possible to flash the GSI according to the method Phh is explaining in your link? Only the fingerprint sensor wouldnt work, right?
Finally I unlocked and flashed my FlokoROM, it's almost good for daily driver for me!
I need to fix BT in-call (by magisk patch) and rom's bug related to AOD, though.
https://treble.andro.plus/
If you need GApps on GSI, you should Repair/resize system partition in TWRP -> Wipe -> Advanced wipe and reboot recovery, mount system then flash latest OpenGApps.
I added fix for system-as-root device on OpenGApps yesterday, so you have to use 22 March or later build.
AndroPlus said:
Finally I unlocked and flashed my FlokoROM, it's almost good for daily driver for me!
I need to fix BT in-call (by magisk patch) and rom's bug related to AOD, though.
https://treble.andro.plus/
If you need GApps on GSI, you should Repair/resize system partition in TWRP -> Wipe -> Advanced wipe and reboot recovery, mount system then flash latest OpenGApps.
I added fix for system-as-root device on OpenGApps yesterday, so you have to use 22 March or later build.
Click to expand...
Click to collapse
Great. Phh is also making good progress.
Honestly i'm probably not going to daily GSI myself. I'll await device tree bringup by someone and start building some roms then.
I sent you a PM a few days ago btw
AndroPlus said:
Finally I unlocked and flashed my FlokoROM, it's almost good for daily driver for me!
I need to fix BT in-call (by magisk patch) and rom's bug related to AOD, though.
https://treble.andro.plus/
If you need GApps on GSI, you should Repair/resize system partition in TWRP -> Wipe -> Advanced wipe and reboot recovery, mount system then flash latest OpenGApps.
I added fix for system-as-root device on OpenGApps yesterday, so you have to use 22 March or later build.
Click to expand...
Click to collapse
Very nice, I wasn't expecting ROMs that soon.
Btw, is the fingerprint scanner working already? I know that phh fixed it but sources are not released yet?
AndroPlus said:
Finally I unlocked and flashed my FlokoROM, it's almost good for daily driver for me!
I need to fix BT in-call (by magisk patch) and rom's bug related to AOD, though.
https://treble.andro.plus/
If you need GApps on GSI, you should Repair/resize system partition in TWRP -> Wipe -> Advanced wipe and reboot recovery, mount system then flash latest OpenGApps.
I added fix for system-as-root device on OpenGApps yesterday, so you have to use 22 March or later build.
Click to expand...
Click to collapse
Great! Do you intend on opening up an xda thread? Also will this rom be relatively stock, or will you aim to start adding features in?
Many thanks!
AndroPlus said:
Finally I unlocked and flashed my FlokoROM, it's almost good for daily driver for me!
I need to fix BT in-call (by magisk patch) and rom's bug related to AOD, though.
https://treble.andro.plus/
If you need GApps on GSI, you should Repair/resize system partition in TWRP -> Wipe -> Advanced wipe and reboot recovery, mount system then flash latest OpenGApps.
I added fix for system-as-root device on OpenGApps yesterday, so you have to use 22 March or later build.
Click to expand...
Click to collapse
I'm so glad to see you here! I have tried the ROM. It works like a shot, the problem I see is that the fingerprint reader doesn't work and the quality of the camera is terrible. I installed the Gcam but it gives me FC. I will follow your work very closely.
Thank you! and lots of encouragement!
CrazyBeaver2377 said:
Great. Phh is also making good progress.
Honestly i'm probably not going to daily GSI myself. I'll await device tree bringup by someone and start building some roms then.
I sent you a PM a few days ago btw
Click to expand...
Click to collapse
Sorry, was busy... I won't build non-GSI as GSI is good enough for me and somehow there were too many bugs happens only on non-GSI.
cd993 said:
Great! Do you intend on opening up an xda thread? Also will this rom be relatively stock, or will you aim to start adding features in?
Many thanks!
Click to expand...
Click to collapse
No, I won't open a thread. The rom is based on crDroid (based on LOS) so there are already plenty of features.
BoRoU said:
I'm so glad to see you here! I have tried the ROM. It works like a shot, the problem I see is that the fingerprint reader doesn't work and the quality of the camera is terrible. I installed the Gcam but it gives me FC. I will follow your work very closely.
Thank you! and lots of encouragement!
Click to expand...
Click to collapse
You can use xtreme v8 version.
https://forum.xda-developers.com/Mi-9/themes/xiaomi-mi9-googlecam-port-t3910034
AndroPlus said:
Sorry, was busy... I won't build non-GSI as GSI is good enough for me and somehow there were too many bugs happens only on non-GSI.
No, I won't open a thread. The rom is based on crDroid (based on LOS) so there are already plenty of features.
You can use xtreme v8 version.
https://forum.xda-developers.com/Mi-9/themes/xiaomi-mi9-googlecam-port-t3910034
Click to expand...
Click to collapse
Thanks!
AndroPlus said:
Sorry, was busy... I won't build non-GSI as GSI is good enough for me and somehow there were too many bugs happens only on non-GSI.
Click to expand...
Click to collapse
Hmm okay that's a shame to hear. Imo device specific roms would be better with the current state of GSI's/treble. They were never really intended for daily use and/or work perfectly on a single device. I'm hoping for someone else to step up soon and start working on device tree bringup.
AndroPlus said:
You can use xtreme v8 version.
https://forum.xda-developers.com/Mi-9/themes/xiaomi-mi9-googlecam-port-t3910034
Click to expand...
Click to collapse
Well, I just installed the latest version. With the xtreme it works well! I just miss the fingerprint. However, I'm going to try it for a few hours to see how it behaves!
Thanks for the job!
AndroPlus said:
Finally I unlocked and flashed my FlokoROM, it's almost good for daily driver for me!
I need to fix BT in-call (by magisk patch) and rom's bug related to AOD, though.
https://treble.andro.plus/
If you need GApps on GSI, you should Repair/resize system partition in TWRP -> Wipe -> Advanced wipe and reboot recovery, mount system then flash latest OpenGApps.
I added fix for system-as-root device on OpenGApps yesterday, so you have to use 22 March or later build.
Click to expand...
Click to collapse
Hi. Thanks for your work. I flashed it yesterday on my Sharp Aquos S2 and it boot and works well with the fix for selinux.
AndroPlus said:
Finally I unlocked and flashed my FlokoROM, it's almost good for daily driver for me!
I need to fix BT in-call (by magisk patch) and rom's bug related to AOD, though.
https://treble.andro.plus/
If you need GApps on GSI, you should Repair/resize system partition in TWRP -> Wipe -> Advanced wipe and reboot recovery, mount system then flash latest OpenGApps.
I added fix for system-as-root device on OpenGApps yesterday, so you have to use 22 March or later build.
Click to expand...
Click to collapse
work with mi9? how about camera
@AndroPlus whats differents between 21 march and 23 march builds?
Here is magisk path for BT in-call audio and tap to wake (force enabled):
https://drive.google.com/file/d/1JVQ-Qsw-Lzj4b7IiNlZEAocHvU5EYZTr/view?usp=sharing
This module also works on other GSIs. [EDIT] only on CAF based GSI such as LOS
Vihru said:
work with mi9? how about camera
Click to expand...
Click to collapse
Default camera (Snap) is not good, so you have to install Google Camera:
https://forum.xda-developers.com/Mi-9/themes/xiaomi-mi9-googlecam-port-t3910034
It works fine and I got clearer photo compared to Redmi Note 7 (GM1).
Lovetz said:
@AndroPlus whats differents between 21 march and 23 march builds?
Click to expand...
Click to collapse
General system stability improvements to enhance the user's experience™
...if you want to check what was changed, go to GitHub and read recent commits.
https://github.com/FlokoROM
https://github.com/crdroidandroid
@AndroPlus is it possible to dirtfy flash march 23 version over march 21? What steps I must made for this? I use gapps and magisk.
is it essy to get back to xiaomi.eu? if i try this.
AndroPlus said:
Finally I unlocked and flashed my FlokoROM, it's almost good for daily driver for me!
I need to fix BT in-call (by magisk patch) and rom's bug related to AOD, though.
https://treble.andro.plus/
If you need GApps on GSI, you should Repair/resize system partition in TWRP -> Wipe -> Advanced wipe and reboot recovery, mount system then flash latest OpenGApps.
I added fix for system-as-root device on OpenGApps yesterday, so you have to use 22 March or later build.
Click to expand...
Click to collapse
i think you should make own thread for that FlokoRom? would be nice to get news about it.. screenshots etc..
Lovetz said:
@AndroPlus is it possible to dirtfy flash march 23 version over march 21? What steps I must made for this? I use gapps and magisk.
Click to expand...
Click to collapse
Yes. You should flash system img, then flash gapps zip.

[ROM][9.0][UNOFFICIAL] OmniROM 9.0

Kernel source:
https://github.com/omnirom/android_kernel_nubia_nx609j
Device tree:
https://github.com/omnirom/android_device_nubia_nx609j
Download:
omni-9-20190902-nx609j-HOMEMADE.zip
TWRP: twrp-3.3.1-0_CPTB-20190901-01-SAR-NX609J.img
How to flash:
Make sure you're on latest Pie firmware
Boot to TWRP
Wipe data
Flash ROM
Optional: flash gapps
Reboot
Known issues:
-You tell me
XDA:DevDB Information
OmniROM 9.0, ROM for the ZTE nubia Red Magic
Contributors
vache
Source Code: https://github.com/omnirom
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: AOSP
Version Information
Status: Beta
Beta Release Date: 2019-08-28
Created 2019-08-28
Last Updated 2019-09-03
It is working fine with Chinese oreo also. If anyone needs help then i can help them
Here are some screen shots
Nice, I will try it ASAP...
ABM30 said:
Nice, I will try it ASAP...
Click to expand...
Click to collapse
I had issues with Chinese firmware of pie. Twrp was not booting but for developer it was botting fine. That a why I had to flash Chinese firmware first 2.26 and then after flashing you need again flash those files in fastboot after unlocking it.
methuselah said:
I had issues with Chinese firmware of pie. Twrp was not booting but for developer it was botting fine. That a why I had to flash Chinese firmware first 2.26 and then after flashing you need again flash those files in fastboot after unlocking it.
Click to expand...
Click to collapse
How much time needs to boot up? It is already 7 min and still on omni booting animation
I think I need to start over (even i have wiped with original recovery but...)
P.S You have used 2.26 CN or 2.36CN ROM?
EDIT:
Which version of TWRP are you using? I am on 3.3.1.
EDIT 2
OK, I am in OMNI! ...with Bluespark TWRP!
@ABM30 are you on telegram?
methuselah said:
@ABM30 are you on telegram?
Click to expand...
Click to collapse
The firmware of the connection is invalid?
Where can I download omnirom9.0?
New build up !
omni-9-20190902-nx609j-HOMEMADE.zip
Install process has change, Pie firmware is new mandatory. Also make sure to use the TWRP linked in OP.
Changelog:
Switch to P kernel sources
Fixed encryption
Fixed WFD (Wifi display)
...
vache said:
omni-9-20190902-nx609j-HOMEMADE.zip
Install process has change, Pie firmware is new mandatory. Also make sure to use the TWRP linked in OP.
Changelog:
Switch to P kernel sources
Fixed encryption
Fixed WFD (Wifi display)
...
Click to expand...
Click to collapse
So it begun
navik said:
The firmware of the connection is invalid?
Where can I download omnirom9.0?
Click to expand...
Click to collapse
Download the 3.19 Chinese firmware and flash that first.
Thank you so much, i will try it in this week, and spread this on red magic pages comments, everyone already seems hopeless... Thanks @vache, thanks @methuselah too ?
Thank you so much, i will try it in this week, and spread this on red magic pages comments, everyone already seems hopeless... Thanks @vache, thanks @methuselah too ?
ianseer said:
Thank you so much, i will try it in this week, and spread this on red magic pages comments, everyone already seems hopeless... Thanks @vache, thanks @methuselah too ?
Click to expand...
Click to collapse
Thanks @vache only. Not me. He is the only one because of which we got omni pie.
Btw... The RGB light features, is it gone? Or we need to port it from the cn rom to get such features?
methuselah said:
So it begun
Download the 3.19 Chinese firmware and flash that first.
Click to expand...
Click to collapse
i need to install chinese first then in twrp wipe system and data then flash the omnirom 9.0 right?
i need to wipe system or leave it?
alrfa3y-1 said:
i need to install chinese first then in twrp wipe system and data then flash the omnirom 9.0 right?
i need to wipe system or leave it?
Click to expand...
Click to collapse
Yes first install chinese, then unlock Boot loader and flash given twrp in this thread. And then wipe everything except internal storage. Flash omni and gapps.
ianseer said:
Btw... The RGB light features, is it gone? Or we need to port it from the cn rom to get such features?
Click to expand...
Click to collapse
I guess it won't be coming. Its not part of aosp code so. The effects are not gonna be tweaked I guess. Back led perfectly fine.
methuselah said:
Yes first install chinese, then unlock Boot loader and flash given twrp in this thread. And then wipe everything except internal storage. Flash omni and gapps.
I guess it won't be coming. Its not part of aosp code so. The effects are not gonna be tweaked I guess. Back led perfectly fine.
Click to expand...
Click to collapse
thank you very much man ?
methuselah said:
Yes first install chinese, then unlock Boot loader and flash given twrp in this thread. And then wipe everything except internal storage. Flash omni and gapps.
I guess it won't be coming. Its not part of aosp code so. The effects are not gonna be tweaked I guess. Back led perfectly fine.
Click to expand...
Click to collapse
hi please can you confirm the rom is stable ?
if ok i will try ?
alrfa3y-1 said:
hi please can you confirm the rom is stable ?
if ok i will try ?
Click to expand...
Click to collapse
It's better than official in everyway. Latest security patch. What do you need
i flash the rom without gapps its work fine but wiht nano gapps stock in bootloob
i dont know why
---------- Post added at 02:10 PM ---------- Previous post was at 02:09 PM ----------
methuselah said:
It's better than official in everyway. Latest security patch. What do you need
Click to expand...
Click to collapse
now its work with mind the gapps thank you all
i flash the rom without gapps its work fine but wiht nano gapps stock in bootloob
i dont know why
now its work with mind the gapps thank you all
i flash the rom without gapps its work fine but wiht nano gapps stock in bootloob
i dont know why
Click to expand...
Click to collapse
Well I guess you should have grabbed a recovery log right after flashing Omni and gapps before booting to the ROM. (just flash ROM and gapps), go to advanced and I then "advance menu of twrp".
There is this option there to grab recovery log and dmesg". Grab that and post it here. @vache could have looked into it.

Categories

Resources