-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moto e5 play not booting (comcast variant) #1527
Comments
Note: lineage os 18 (android 11) gsi is also able to boot, bot I like phh-treble more :) |
Got logs? |
IDK what logs to get, sorry I was in school My bootloader is completely unlocked I have both the arm32 stock rom and an arm64 aospextended rom, both supporting treble I would prefer to use stock rom, I have twrp and orangefox recovery Note: when flashing the android 11 gsi, I notice an error PS C:\Users\rever\Desktop\Firmware> fastboot flash system C:\Users\rever\Desktop\platform-tools\roar.img |
If you want logs however, I would be happy to get them if you could tell me how to, thanks! Note #2: Here is my device's stock rom |
Flash GSI, boot it, then in recovery get /proc/last_kmsg and
/sys/pfs/pstore and send them here
Le ven. 9 oct. 2020 à 22:33, TheNextGamer21 <notifications@github.com> a
écrit :
… IDK what logs to get, sorry I was in school
My bootloader is completely unlocked
I have both the arm32 stock rom and an arm64 aospextended rom, both
supporting treble
I would prefer to use stock rom, I have twrp and orangefox recovery
Note: when flashing the android 11 gsi, I notice an error
PS C:\Users\rever\Desktop\Firmware> fastboot flash system
C:\Users\rever\Desktop\platform-tools\roar.img
target reported max download size of 535822336 bytes
Invalid sparse file format at header magi
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAA4OSQA3HU7A35AHVTW7DSJ5XRFANCNFSM4SKL7H6Q>
.
|
So I should basically just flash my stock rom and try it Ok I will do it in an hour |
None of those files exist, I don't even think android is able to boot Videos of error: Logs: |
Side Note: The device says bad key because the bootloader is unlocked, it disappears once android's boot animation comes up, which it never does in my case |
Why are you flashing A/B variant? I'm pretty sure it's supposed to be a-only
Le sam. 10 oct. 2020 à 00:45, TheNextGamer21 <notifications@github.com> a
écrit :
… None of those files exist, I don't even think android is able to boot
Videos of error:
https://www.youtube.com/watch?v=fe7u7zZ70Mk
https://www.youtube.com/watch?v=HO52PeDx6DE
Logs:
PS C:\Users\rever\Desktop\Firmware> fastboot flash system
C:\Users\rever\Desktop\system-roar-arm64-ab-vanilla.img
target reported max download size of 535822336 bytes
sending sparse 'system' (458752 KB)...
OKAY [ 15.088s]
writing 'system'...
OKAY [ 9.950s]
sending sparse 'system' (458752 KB)...
OKAY [ 15.608s]
writing 'system'...
OKAY [ 9.701s]
sending sparse 'system' (458752 KB)...
OKAY [ 15.645s]
writing 'system'...
OKAY [ 9.697s]
sending sparse 'system' (458752 KB)...
OKAY [ 15.831s]
writing 'system'...
OKAY [ 9.714s]
sending sparse 'system' (434392 KB)...
OKAY [ 14.877s]
writing 'system'...
OKAY [ 9.196s]
finished. total time: 125.322s
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAA4ORVXSJCLW5RMXWV4Q3SJ6G7BANCNFSM4SKL7H6Q>
.
|
I also got that error too. Use img2simg to convert the image to sparse form so it can be flashed correctly. But usually, a normal ext4 image would work with fastboot fine and bootable if those spare free space doesn't eat up the whole system partition. But prefer converting to sparse. And @phhusson. Can you make images shipped with sparse by default? If I wasn't wrong the v300.f still shipped with raw ext4. Prove me I'm wrong please. |
"Invalid sparse file format at header magic" IS NOT AN ERROR
This is perfectly normal, ignore it, and sparsing it won't change a thing
Le sam. 10 oct. 2020 à 17:25, 0x15f2d <notifications@github.com> a écrit :
… Note: when flashing the android 11 gsi, I notice an error
PS C:\Users\rever\Desktop\Firmware> fastboot flash system
C:\Users\rever\Desktop\platform-tools\roar.img
target reported max download size of 535822336 bytes
Invalid sparse file format at header magi
I also got that error too. Use img2simg to convert the image to sparse
form so it can be flashed correctly.
But usually, a normal ext4 image would work with fastboot fine and
bootable if those spare free space doesn't eat up the whole system
partition.
But prefer converting to sparse.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAA4OQJUMZFC77ISFCB54LSKB4FXANCNFSM4SKL7H6Q>
.
|
ohhh thats why, i need a only varient I'll try that later today, if it works, issue resolved |
Issue still persists, same behavior Logs: |
and still nothing in /sys/fs/pstore or /proc/last_kmsg in TWRP?
Le sam. 10 oct. 2020 à 19:42, TheNextGamer21 <notifications@github.com> a
écrit :
… Issue still persists, same behavior
Logs:
PS C:\Users\rever\Desktop> fastboot flash system
.\system-roar-arm-aonly-vanilla.img
target reported max download size of 535822336 bytes
Invalid sparse file format at header magi
sending sparse 'system' (517254 KB)...
OKAY [ 17.075s]
writing 'system'...
OKAY [ 11.620s]
sending sparse 'system' (512138 KB)...
OKAY [ 17.074s]
writing 'system'...
OKAY [ 11.579s]
sending sparse 'system' (194940 KB)...
OKAY [ 6.517s]
writing 'system'...
OKAY [ 4.570s]
finished. total time: 68.447s
PS C:\Users\rever\Desktop> fastboot reboot
rebooting...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAA4OQSLFE4LY2G7VUIZ63SKCMJXANCNFSM4SKL7H6Q>
.
|
nope, nothing |
again, android 10 phh boots fine |
but not android 11 |
i will try it with an arm64 ab custom rom |
wait, i think there are log files |
K, flash Android 11 GSI, boot it, reboot into fastboot, flash Android 10
GSI, and grab /sys/fs/pstore and /proc/last_kmsg from Android 10 GSI (DO
NOT reboot into recovery))
Le sam. 10 oct. 2020 à 20:09, TheNextGamer21 <notifications@github.com> a
écrit :
… but not android 11
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAA4ORZM6NHLTJYSK4IEI3SKCPOZANCNFSM4SKL7H6Q>
.
|
twrp allows me to output the android 11 logs |
i believe |
ok so I should re install android (stock rom), flash android 11 gsi, boot it, reboot into fastboot, flash android 10 gsi, and grab /sys/fs/pstore without going into recovery? How do I do that without recovery (new to fastboot so idk) |
No, flash Android 10 GSI, do factory reset, boot it once, reboot into
fastboot, flash Android 11 GSI, boot it once, flash Android 10, boot it,
recover logs.
You need to go into recovery only for the factory reset which is done
before flashing Android 11.
|
How did you get the aosp extended gsi
…On Fri, Oct 9, 2020, 9:33 PM TheNextGamer21 ***@***.***> wrote:
IDK what logs to get, sorry I was in school
My bootloader is completely unlocked
I have both the arm32 stock rom and an arm64 aospextended rom, both
supporting treble
I would prefer to use stock rom, I have twrp and orangefox recovery
Note: when flashing the android 11 gsi, I notice an error
PS C:\Users\rever\Desktop\Firmware> fastboot flash system
C:\Users\rever\Desktop\platform-tools\roar.img
target reported max download size of 535822336 bytes
Invalid sparse file format at header magi
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARJLT2FA22ODILV3WLLOLPLSJ5XRPANCNFSM4SKL7H6Q>
.
|
i have the full aosp extended rom |
including system, boot, etc... |
it is NOT a gsi, it is a full rom |
according to the treble app, as far as i remember, it was arm64 and supported AB (system as root) |
OK so first thing, when the system crashes on boot, fastboot says the reason is reboot mode set to fastboot What I did What do I do now EDIT: THIS IS WRONG, ignore it |
oh i see what u want me to do how am i supposed to pull files from the phone without recovery mode |
Whichever way you want, adb, root explorer, terminal...
Le sam. 10 oct. 2020 à 20:29, TheNextGamer21 <notifications@github.com> a
écrit :
… oh i see what u want me to do
how am i supposed to pull files from the phone without recovery mode
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAA4OUU4CJMHMZ6NGI6XGDSKCR2BANCNFSM4SKL7H6Q>
.
|
OK so first thing, when the system crashes on boot, fastboot says the reason is reboot mode set to fastboot What I did What do I do now |
Ok device not play protect certified (dont care google) |
/sys/fs/pstore and /proc/last_kmsg
Le sam. 10 oct. 2020 à 20:57, TheNextGamer21 <notifications@github.com> a
écrit :
… Ok device not play protect certified (dont care google)
Gonna install root file explorer (zarchiver)
What files should I get
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAA4OTEAFCMAKUHECQCAQLSKCVC5ANCNFSM4SKL7H6Q>
.
|
/sys/fs/pstore is a folder? |
well the only file in this zip is empty. Yes pstore is a folder
Le sam. 10 oct. 2020 à 21:11, TheNextGamer21 <notifications@github.com> a
écrit :
… logs.zip
<https://github.com/phhusson/treble_experimentations/files/5359773/logs.zip>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAA4OTVWSEBNFGCPXULKFDSKCWVVANCNFSM4SKL7H6Q>
.
|
its empty??? |
yes the only file in the zip is logs/pstore/annotate-ramoops-0 and its size
is 0
|
well it says 0 byte so empty...
Le sam. 10 oct. 2020 à 21:19, TheNextGamer21 <notifications@github.com> a
écrit :
… Here is screenshot
[image: Screenshot_20201010-141546]
<https://user-images.githubusercontent.com/72624720/95663276-8212a700-0b03-11eb-8b82-51c5cf96c13f.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAA4OW6OWNTF3ETAIBLLILSKCXSJANCNFSM4SKL7H6Q>
.
|
IDK what to even do now |
I'll try it with the arm64 ab rom |
@phhusson I found a rom for my phone that supports treble and is much more likely to work https://forum.xda-developers.com/moto-e5/development/rom-aospextended-rom-v6-7-moto-e5-play-t4096167 |
system has successfully started android 11 using the 3rd party rom Until @phhusson finds a fix, you can only use 3rd party roms to be able to use the android 11 gsi Issue CLOSED |
How am I supposed to find a fix if you won't help me...?
Le sam. 10 oct. 2020 à 21:41, TheNextGamer21 <notifications@github.com> a
écrit :
… Closed #1527
<#1527>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1527 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAA4OXY6A27LCN2TMKEQP3SKC2GTANCNFSM4SKL7H6Q>
.
|
@phhusson idk what to get when the file is 0 bytes |
it baffles me how android 10 gsi boots but android 11 gsi does not I will re open the issue I guess |
I noticed one thing, when I flashed it with the 3rd party rom, it did not show the sparse error while flashing, not sure why |
I tried installing the android 11 treble rom, system-roar-arm-aonly-vanilla.img.xz. I unzipped the file, booted my phone into fastboot, erased data, cache, dalvik, etc.. and ran these commands
The flash was successful and I entered flashboot reboot
My phone starts saying your bootloader is unlocked, and reboots sometimes into fastboot, sometimes into bootloop
Note: The previous android 10 gsi, system-quack-arm-aonly-gapps.img, works perfectly and boots just fine
Any help would be greatly appreciated
The text was updated successfully, but these errors were encountered: