FORUMS
Remove All Ads from XDA

[Q][GSI][A/AB][arm64] Android Q Developer Preview

961 posts
Thanks Meter: 2,647
 
Post Reply Email Thread
EXPERIMENTAL AND MOST LIKELY BROKEN
Q
Code:
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * 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.
 */
Android "Q" is the upcoming ninth major version of the Android operating system. It was first announced by Google on March 2019, and the first developer preview was released on the same day. The second developer preview is expected to be released at the next Google I/O developer conference.

[more stable] Pixel: Ported from Pixel 2 firmware (walleye)
Generic: Ported from Google GSI with gapps

GET UPDATES FROM: https://t.me/androidqgsi


Requirements :
  • Treblized device with 8.1 or P vendor

Global Bugs :
  • VoLTE

Device specific Bugs :
  • ...

Instructions :
for A-Only :
for AB :

Downloads :
Notes :
Fix gapps: install google play services with "adb install"
if images didn't worked properly post your logs(logcat and console-ramoops) on telegram group i'll come for help : @androidqgsi
Logcat without PC: take /data/local/tmp/logs/log
Enable adb before boot using this command in TWRP:
Linux/mac :
Code:
adb push ~/.android/adbkey.pub /data/misc/adb/adb_keys
Win :
Code:
adb push C:\Users\<userName>\.android\adbkey.pub /data/misc/adb/adb_keys
Donate:
My paypal: https://www.paypal.me/erfanoabdi


Tested on:
give me logs if didn't worked, or donate me a device
Tested by myself:
  1. Moto Z (A-only)
  2. Moto X4 (AB)

Thanks
ENJOY!
The Following 242 Users Say Thank You to erfanoabdi For This Useful Post: [ View ]
 
 
15th July 2018, 10:01 AM |#2  
erfanoabdi's Avatar
OP Recognized Developer
Flag Famagusta
Thanks Meter: 2,647
 
Donate to Me
More
[DEV-ONLY] Bug Fixing
NVM

Ah actually this is ridiculous to have bug fixing post here, and i hate my port, real P GSI shouldn't done like this. but anyway this is ported from closed source P and i can point in most popular fixable bugs here...

by looking into logs(adb logcat -b all) if we see :
1) library "libxxxxxxxxx.so" not found
fix of this error is very simple as you guys all know we just need to put needed lib from system image of base rom in https://github.com/erfanoabdi/P_semi...-sGSI_1/vendor
and zip up "POST sGSI 1" with new libs

Feel free to make pull request new libs in github

2) cannot locate symbol :
for example LG RIL error was like this:
Code:
CANNOT LINK EXECUTABLE "/vendor/bin/hw/rild": cannot locate symbol "_ZN7android8hardware5radio4V1_08toStringENS2_22CdmaSmsWriteArgsStatusE" referenced by "/vendor/lib64/[email protected]"...
a) here we need to find where is unknown symbol located in 8.1 system image
so in terminal goto system/ and :
Code:
grep -r "_ZN7android8hardware5radio4V1_08toStringENS2_22CdmaSmsWriteArgsStatusE"
output in this case is :
Code:
Binary file lib/[email protected] matches
Binary file lib64/[email protected] matches
(here you may get long list of blobs, only find and grab needed ones)
b) now just copy libs to vendor and rename them
in this case i renamed [email protected] to [email protected]
***important rule keep string name same as original file only replace one letter (a->W)***
c) and sed renamed lib (in my case) :
Code:
sed -i "s/[email protected]/[email protected]/" "P_semiGSI/POST_sGSI_Patches/Vendor/P\ Blobs/POST-sGSI_1/vendor/lib/[email protected]"
sed -i "s/[email protected]/[email protected]/" "P_semiGSI/POST_sGSI_Patches/Vendor/P\ Blobs/POST-sGSI_1/vendor/lib64/[email protected]"
we're almost done here
d) now open POST-sGSI_2 and sed "referenced by" lib from error line in log
like this : https://github.com/erfanoabdi/P_semi...te-binary#L154
e) and zip up "POST sGSI 1/2" with new libs

Feel free to make pull request new libs/hax in github

3) more...
The Following 55 Users Say Thank You to erfanoabdi For This Useful Post: [ View ]
15th July 2018, 10:01 AM |#3  
erfanoabdi's Avatar
OP Recognized Developer
Flag Famagusta
Thanks Meter: 2,647
 
Donate to Me
More
NVM

The Following 43 Users Say Thank You to erfanoabdi For This Useful Post: [ View ]
15th July 2018, 10:11 AM |#4  
Senior Member
Thanks Meter: 41
 
More
i hope we get a full GSI eventually one P is released, been waiting a while for this. at least now its semi done, it should be easier to create a full GSI for kirin (aka my H9) and MTK devices.
The Following User Says Thank You to ambitiousButRubbish For This Useful Post: [ View ] Gift ambitiousButRubbish Ad-Free
15th July 2018, 10:47 AM |#5  
Junior Member
Thanks Meter: 9
 
More
Hi, will it support Honor9?
The Following 2 Users Say Thank You to 麦麦观 For This Useful Post: [ View ] Gift 麦麦观 Ad-Free
15th July 2018, 11:20 AM |#6  
Senior Member
Thanks Meter: 122
 
More
I'm waiting for kirin chipset supported gsi
The Following 2 Users Say Thank You to Jax For This Useful Post: [ View ] Gift Jax Ad-Free
15th July 2018, 12:21 PM |#7  
Senior Member
Flag Sydney
Thanks Meter: 381
 
More
Dumpling- Needs mokee vendor
The Following User Says Thank You to Jamie_oppo For This Useful Post: [ View ] Gift Jamie_oppo Ad-Free
15th July 2018, 12:22 PM |#8  
Senior Member
Thanks Meter: 45
 
More
waiting support kirin960 and more😄

Sent from my Honor V9 using XDA Labs
The Following 3 Users Say Thank You to lmentor For This Useful Post: [ View ] Gift lmentor Ad-Free
15th July 2018, 12:34 PM |#9  
Member
Dokkum
Thanks Meter: 17
 
More
Quote:
Originally Posted by Jamie_oppo

Do you need to be a on a treble rom before flashing this?

Ive got a 5t (dumpling) and flashed the open beta which gave treble. Then flashed a normal custom rom. I tried all the zip at this point and no luck decrypted.

Same phone here, I flashed the rom, but it reboots every time to the bootloader...
15th July 2018, 12:36 PM |#10  
Senior Member
Flag Sydney
Thanks Meter: 381
 
More
Quote:
Originally Posted by ChristiaanP

Same phone here, I flashed the rom, but it reboots every time to the bootloader...

were u on a treble rom? Or normal non treble custom rom

Edit: apparently ob 11 vendor image is broken and mokee one boots.
15th July 2018, 12:41 PM |#11  
Member
Dokkum
Thanks Meter: 17
 
More
Quote:
Originally Posted by Jamie_oppo

were u on a treble rom? Or normal non treble custom rom

Edit: apparently ob 11 vendor image is broken and mokee one boots

I was on OB 11
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes