Skip to content
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

Closed
TheNextGamer21 opened this issue Oct 9, 2020 · 50 comments
Closed

moto e5 play not booting (comcast variant) #1527

TheNextGamer21 opened this issue Oct 9, 2020 · 50 comments

Comments

@TheNextGamer21
Copy link

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

  1. fastboot flash modem NON-HLOS.bin (my sim card was not working)
  2. fastboot erase modemst1
  3. fastboot erase modemst2
  4. fastboot flash system roar.img (renamed it to that)

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

@TheNextGamer21
Copy link
Author

Note: lineage os 18 (android 11) gsi is also able to boot, bot I like phh-treble more :)

@phhusson
Copy link
Owner

phhusson commented Oct 9, 2020

Got logs?

@TheNextGamer21
Copy link
Author

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

@TheNextGamer21
Copy link
Author

TheNextGamer21 commented Oct 9, 2020

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
https://mirrors.lolinet.com/firmware/moto/rjames/official/Comcast/

@phhusson
Copy link
Owner

phhusson commented Oct 9, 2020 via email

@TheNextGamer21
Copy link
Author

So I should basically just flash my stock rom and try it

Ok I will do it in an hour

@TheNextGamer21
Copy link
Author

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

@TheNextGamer21
Copy link
Author

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

@phhusson
Copy link
Owner

phhusson commented Oct 10, 2020 via email

@0x15f2d
Copy link

0x15f2d commented Oct 10, 2020

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.

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.

@phhusson
Copy link
Owner

phhusson commented Oct 10, 2020 via email

@TheNextGamer21
Copy link
Author

ohhh thats why, i need a only varient

I'll try that later today, if it works, issue resolved

@TheNextGamer21
Copy link
Author

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...

@phhusson
Copy link
Owner

phhusson commented Oct 10, 2020 via email

@TheNextGamer21
Copy link
Author

nope, nothing

@TheNextGamer21
Copy link
Author

again, android 10 phh boots fine

@TheNextGamer21
Copy link
Author

but not android 11

@TheNextGamer21
Copy link
Author

i will try it with an arm64 ab custom rom

@TheNextGamer21
Copy link
Author

wait, i think there are log files

@phhusson
Copy link
Owner

phhusson commented Oct 10, 2020 via email

@TheNextGamer21
Copy link
Author

twrp allows me to output the android 11 logs

@TheNextGamer21
Copy link
Author

i believe

@TheNextGamer21
Copy link
Author

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)

@phhusson
Copy link
Owner

phhusson commented Oct 10, 2020 via email

@ghost
Copy link

ghost commented Oct 10, 2020 via email

@TheNextGamer21
Copy link
Author

i have the full aosp extended rom

@TheNextGamer21
Copy link
Author

including system, boot, etc...

@TheNextGamer21
Copy link
Author

it is NOT a gsi, it is a full rom

@TheNextGamer21
Copy link
Author

according to the treble app, as far as i remember, it was arm64 and supported AB (system as root)

@TheNextGamer21
Copy link
Author

TheNextGamer21 commented Oct 10, 2020

OK so first thing, when the system crashes on boot, fastboot says the reason is reboot mode set to fastboot

What I did
Entered fastboot
Flashed stock rom
Flashed android 11
Booted android 11
Entered fastboot
Flashed android 10
DID NOT BOOT ANDORID 10

What do I do now

EDIT: THIS IS WRONG, ignore it

@TheNextGamer21
Copy link
Author

oh i see what u want me to do

how am i supposed to pull files from the phone without recovery mode

@phhusson
Copy link
Owner

phhusson commented Oct 10, 2020 via email

@TheNextGamer21
Copy link
Author

OK so first thing, when the system crashes on boot, fastboot says the reason is reboot mode set to fastboot

What I did
Entered fastboot
Flashed stock rom
Flashed android 10
Booted it (system starts successfully and connects to cellular and wifi network)
Entered fastboot
Flashed android 11
Booted it (fails after 10 seconds and enters fastboot)
Flashed android 10
Now on the welcome screen

What do I do now

@TheNextGamer21
Copy link
Author

Ok device not play protect certified (dont care google)
Gonna install root file explorer (zarchiver)
What files should I get

@phhusson
Copy link
Owner

phhusson commented Oct 10, 2020 via email

@TheNextGamer21
Copy link
Author

/sys/fs/pstore is a folder?

@TheNextGamer21
Copy link
Author

logs.zip

@phhusson
Copy link
Owner

phhusson commented Oct 10, 2020 via email

@TheNextGamer21
Copy link
Author

its empty???

@phhusson
Copy link
Owner

phhusson commented Oct 10, 2020 via email

@TheNextGamer21
Copy link
Author

Here is screenshot
Screenshot_20201010-141546

@phhusson
Copy link
Owner

phhusson commented Oct 10, 2020 via email

@TheNextGamer21
Copy link
Author

IDK what to even do now

@TheNextGamer21
Copy link
Author

I'll try it with the arm64 ab rom

@TheNextGamer21
Copy link
Author

@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

@TheNextGamer21
Copy link
Author

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

@phhusson
Copy link
Owner

phhusson commented Oct 10, 2020 via email

@TheNextGamer21
Copy link
Author

@phhusson idk what to get when the file is 0 bytes

@TheNextGamer21
Copy link
Author

it baffles me how android 10 gsi boots but android 11 gsi does not

I will re open the issue I guess

@TheNextGamer21
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants