Closed danielehrhardt closed 3 years ago
Why would you flash GSI to super? You're supposed to flash it to system
Le ven. 12 mars 2021 à 02:01, Daniel Ehrhardt @.***> a écrit :
I try to install GSI Rom on my Alldocube iPlay 30 Pro. I attached the commands i am using. The Bootloader is unlocked. The Problem is after i flashed the System Image and run fastboot reboot the device is going into fastboot again.
$ fastboot -w (will erase all execpt userdata) $ fastboot -w (will erase all including userdata - first execution will not) $ fastboot flash boot
$ fastboot flash super GSIimagefile.img $ fastboot --disable-verity --disable-verification flash vbmeta $ fastboot reboot — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1761, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OU5H3WWDCTCVEJAGDDTDFRYHANCNFSM4ZBKHJKQ .
Why would you flash GSI to super? You're supposed to flash it to system
Le ven. 12 mars 2021 à 02:01, Daniel Ehrhardt @.***> a écrit :
I try to install GSI Rom on my Alldocube iPlay 30 Pro. I attached the commands i am using. The Bootloader is unlocked. The Problem is after i flashed the System Image and run fastboot reboot the device is going into fastboot again.
$ fastboot -w (will erase all execpt userdata) $ fastboot -w (will erase all including userdata - first execution will not) $ fastboot flash boot
$ fastboot flash super GSIimagefile.img $ fastboot --disable-verity --disable-verification flash vbmeta $ fastboot reboot — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1761, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OU5H3WWDCTCVEJAGDDTDFRYHANCNFSM4ZBKHJKQ .
For this device there is no System partition. I can see in the SP Flash Tool that the super.img file is the biggest file.
If I try to flash the system partition i will get a error message that the partition does not exist.
Do fastboot reboot fastboot before flashing system
12 mars 2021 12:28:54 Daniel Ehrhardt @.***>:
Why would you flash GSI to super? You're supposed to flash it to system
Le ven. 12 mars 2021 à 02:01, Daniel Ehrhardt @.***> a écrit :
I try to install GSI Rom on my Alldocube iPlay 30 Pro. I attached the commands i am using. The Bootloader is unlocked. The Problem is after i flashed the System Image and run fastboot reboot the device is going into fastboot again.
$ fastboot -w (will erase all execpt userdata) $ fastboot -w (will erase all including userdata - first execution will not) $ fastboot flash boot
$ fastboot flash super GSIimagefile.img $ fastboot --disable-verity --disable-verification flash vbmeta $ fastboot reboot — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub
1761[https://github.com/phhusson/treble_experimentations/issues/1761], or
unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OU5H3WWDCTCVEJAGDDTDFRYHANCNFSM4ZBKHJKQ .
For this device there is no System partition. I can see in the SP Flash Tool that the super.img file is the biggest file.
If I try to flash the system partition i will get a error message that the partition does not exist.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub[https://github.com/phhusson/treble_experimentations/issues/1761#issuecomment-797431342], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAAA4OSI7X4DRKXPMUFC2HDTDH3HNANCNFSM4ZBKHJKQ]. [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAAjSURBVGiB7cEBDQAAAMKg909tDwcUAAAAAAAAAAAAAADApwExOAABR9ZGcwAAAABJRU5ErkJggg==###24x24:true###][Image de pistage][https://github.com/notifications/beacon/AAAA4OQZJEL7XIXNTAIRWFDTDH3HNA5CNFSM4ZBKHJK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF6D5MLQ.gif]
Hey Daniel, did 'fastboot reboot fastboot' solve the issue? I am trying to do what you are and am stuck at the same place
Hey Daniel, did 'fastboot reboot fastboot' solve the issue? I am trying to do what you are and am stuck at the same place
No, did not worked. I tried it also with the iPlay 40.
Thanks for heads up Daniel! Hey phhusson, can you think of any other workaround?
What happened when you did fastboot reboot fastboot
?
It booted in 'fastbootd'. Then I followed the steps mentioned by Daniel and it still resulted in rebooting to fastboot. So I did fastboot reboot fastboot again and this time tried to flash it to system. It showed 'FAILED (remote: 'No such file or directory')'.
When you did fastboot flash super xxxx
you broke all the drivers, did you
reflash stock ROM first?
Le sam. 13 mars 2021 à 19:58, umeshbunny007 @.***> a écrit :
It booted in 'fastbootd'. Then I followed the steps mentioned by Daniel and it still resulted in rebooting to fastboot. So I did fastboot reboot fastboot again and this time tried to flash it to system. It showed 'FAILED (remote: 'No such file or directory')'.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1761#issuecomment-798767731, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OUGCTD674EIRX2OOM3TDOYUZANCNFSM4ZBKHJKQ .
I flashed the stock boot img and then gsi. So I am suppose to flash the whole rom first and then the gsi?
yes you broke the drivers when doing fasboot flash super xxx
, so you need
to reinstall the drivers from stock rom.
Best is to flash whole stock rom again
Le sam. 13 mars 2021 à 21:02, umeshbunny007 @.***> a écrit :
I flashed the stock boot img and then gsi. So I am suppose to flash the whole rom first and then the gsi?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1761#issuecomment-798776976, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OR2YVBIAG4CJWIO7KLTDPAFXANCNFSM4ZBKHJKQ .
I apologise for my noobness but just to get it straight, I need to flash stock rom first and then gsi. There is another issue, the stock rom is in a rar file and inside it are many small img files. And i dont think "fastboot flash super xxxx.rar" will work. Can you please suggest a way?
Well share a link to your stock ROM so I know what you're talking about, or at least the list of files
13 mars 2021 21:13:17 umeshbunny007 @.***>:
I apologise for my noobness but just to get it straight, I need to flash stock rom first and then gsi. There is another issue, the stock rom is in a rar file and inside it are many small img files. And i dont think "fastboot flash super xxxx.rar" will work. Can you please suggest a way?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub[https://github.com/phhusson/treble_experimentations/issues/1761#issuecomment-798778457], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAAA4ORAIYSCCXCVCPZ3LL3TDPBN3ANCNFSM4ZBKHJKQ]. [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAAjSURBVGiB7cEBDQAAAMKg909tDwcUAAAAAAAAAAAAAADApwExOAABR9ZGcwAAAABJRU5ErkJggg==###24x24:true###][Image de pistage][https://github.com/notifications/beacon/AAAA4OV5J27TZ6GT3WES7VDTDPBN3A5CNFSM4ZBKHJK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF6OGIWI.gif]
I am attaching it as an image. I hope that is okay. Otherwise I can share a link too.
You have one big super.img, just flash it from bootloader
I did that. Still back to fastboot. I am guessing the issue is with this preloader scenario.
Can you boot stock ROM again after flashing stock's super ?
Le sam. 13 mars 2021 à 21:38, umeshbunny007 @.***> a écrit :
I did that. Still back to fastboot. I guessing the issue is with this preloader scenario.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1761#issuecomment-798782043, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OTEO3X7RM5UTAQZK4LTDPENFANCNFSM4ZBKHJKQ .
yup. I flashed boot.img to boot and then super.img to super and it booted.
Same here. If i flash stock super.img it boots normal. If i flash gsi image it boots to fastboot again.
I did the same stuff for several other MediaTek Tablets, and they just work fine. But this is my first AllDoCube. I have some other AllDoCube i will test it the next Days there but i think it will be the same result.
@umeshbunny007 what OS do you use? I have Windows with the latest 2021 Update i had problems with unsigned Drivers.
@danielehrhardt I use windows AME. It is modded version of windows based on 2004.
Ok now that you're back on stock, do this procedure, using an ARM64 AB variant:
adb reboot bootloader
fastboot --disable-verity --disable-verification flash vbmeta <VBMETA.img>
fastboot reboot fastboot
fastboot flash system system-arm64-ab-....img
On the phone select "enter recovery", then select "wipe data/factory reset" then reboot. This still doesn't boot?
Yeah that didn't work either. Also the image was flashed to super as flashing it to system gives 'FAILED (remote: 'No such file or directory')' error.
K, send me your /vendor/etc/selinux
Le dim. 14 mars 2021 à 13:55, umeshbunny007 @.***> a écrit :
Yeah that didn't work either
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1761#issuecomment-798902093, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OTJF2PVKW46IZRD6GTTDSW4HANCNFSM4ZBKHJKQ .
BTW, I'd like you to confirm:
fastboot -w
or fastboot erase
Once this is confirmed, please try the "vndklite" variant. Some people have more luck with it, though I can't understand why.
Edit: I tested the SELinux policy, looks okay
All of the conditions were met. I even tried the "vndklite" variant. Still no luck. I get this at the bottom of the screen when doing "wipe data/factory reset" from stock recovery.
k. Can you try my AOSP v222?
Sorry man. That didn't work either. I am flashing the img to super. I am thinking that something is missing as super partition has more than just system in it.
BTW, I'd like you to confirm:
- You used my AOSP
- That's with my v302
- You use an ARM64 AB variant, NOT an A-only variant? NOT an "A64" (A64 is usually short for arm32_binder64, not for arm64)
- You did exactly what I said, nothing more. Like no
fastboot -w
orfastboot erase
- You're still on stock unmodified boot.img (= no magisk)
- You actually did the "wipe data/factory reset" from stock recovery
Once this is confirmed, please try the "vndklite" variant. Some people have more luck with it, though I can't understand why.
Edit: I tested the SELinux policy, looks okay
I will try that later today.
Link to the Firmware: https://mega.nz/file/QB0xWCSB#alPxUjJCLDE4Tdepwq3jsTTF43f1dIobCDuN8rn5bLU
Hey Daniel, did you do it?
Yes it did not worked.
I'm having the same kind of issue with my infinix note7 x690b (mt6768). It also has the super partition instead of system, and after flashing to super, it always went to fastboot upon booting. I tried 4 different GSIs in aonly and a/b varients, got same results with all of them. I tried each distribution after reverting my phone back to stock via SP flash tool, no success.
You need ab variant. Did you flash vbmeta? Have you checked whether you need ARM64 or ARM32_binder64 variant? (In all likelihood ARM64)
Yes as i said, i already tried the Arm64-AB varrient of all of these roms. Got same results.
Get Outlook for iOShttps://aka.ms/o0ukef
From: Pierre-Hugues HUSSON @.> Sent: Friday, June 4, 2021 4:42:04 PM To: phhusson/treble_experimentations @.> Cc: abdullah5490 @.>; Comment @.> Subject: Re: [phhusson/treble_experimentations] Alldocube iPlay 30 Pro fastboot bootloop (#1761)
You need ab variant. Did you coast
4 juin 2021 11:52:20 abdullah5490 @.***>:
I'm having the same kind of issue with my infinix note7 x690b (mt6768). It also has the super partition instead of system, and after flashing to super, it always went to fastboot upon booting. I tried 4 different GSIs in aonly and a/b varients, got same results with all of them. I tried each distribution after reverting my phone back to stock via SP flash tool, no success.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub[https://github.com/phhusson/treble_experimentations/issues/1761#issuecomment-854542928], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAAA4OUOKCJQYX63D6BLHDDTRCO5JANCNFSM4ZBKHJKQ]. [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAAjSURBVGiB7cEBDQAAAMKg909tDwcUAAAAAAAAAAAAAADApwExOAABR9ZGcwAAAABJRU5ErkJggg==###24x24:true###][Image de pistage][https://github.com/notifications/beacon/AAAA4OUNMIEZ3HQLHF73TYLTRCO5JA5CNFSM4ZBKHJK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLXUUUA.gif]
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/phhusson/treble_experimentations/issues/1761#issuecomment-854640300, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADYWUUQL6HM53ACNRQ45AGTTRC3YZANCNFSM4ZBKHJKQ.
You need ab variant. Did you flash vbmeta? Have you checked whether you need ARM64 or ARM32_binder64 variant? (In all likelihood ARM64)
I can send you my Device if you want.
According to “info” app provided, i need arm64 for this device. I think there’s something wrong with the partitioning table. Stock rom is using super partition for system image. So i can’t use fastboot flash system system.img. But when i flash to super, it successed but won’t boot to rom. After doing so, if i flash the super.img from stock rom, it won’t work either and continue to go to the fastboot upon startup. So the only option to flash stock using sp flash tool. BTW, while reverting to stock few minutes ago, device stuck in flash mode, its not restarting with long press of power button, even windows says “usb device not recognized.” At the end as you said, how you can send your device!?
Get Outlook for iOShttps://aka.ms/o0ukef
From: Daniel Ehrhardt @.> Sent: Friday, June 4, 2021 5:20:39 PM To: phhusson/treble_experimentations @.> Cc: abdullah5490 @.>; Comment @.> Subject: Re: [phhusson/treble_experimentations] Alldocube iPlay 30 Pro fastboot bootloop (#1761)
You need ab variant. Did you flash vbmeta? Have you checked whether you need ARM64 or ARM32_binder64 variant? (In all likelihood ARM64)
I can send you my Device if you want.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/phhusson/treble_experimentations/issues/1761#issuecomment-854662729, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADYWUUW4YES2U467EXFXQ7TTRDAJPANCNFSM4ZBKHJKQ.
You're not supposed to flash system.img on super. Why would you do that? Would you try putting a letter in a trash box, because you couldn't find the letterbox ?!?
Here's the procedure to flash devices with super partition:
Sorry, I did all the flashing related stuff on older devices with android 8 or lower, so I was struggling to get understanding about this dynamic/super partitions thing. I did it as you told above, and finally, it boot up! Thanks man! :-) For future reference since I want to try out more GSIs on this device:
Hats off to you, Not bundles but tons of thanks! you are a life saver.
You're not supposed to flash system.img on super. Why would you do that? Would you try putting a letter in a trash box, because you couldn't find the letterbox ?!?
Here's the procedure to flash devices with super partition:
Get an up-to-date fastboot on your computer (fastboot —version should give version >= 29)
Get vbmeta.img from https://dl.google.com/developers/android/qt/images/gsi/vbmeta.img
Get A/B GSI (I'm guessing you need ARM64), don't forget to uncompress it
From running Android, do adb reboot bootloader
fastboot flash vbmeta vbmeta.img
fastboot reboot fastboot
fastboot flash system system-xxxx.img 6bis. If fastboot tells you there isn't enough place, do fastboot delete-logical-partition product, fastboot delete-logical-partition product_a, fastboot delete-logical-partition product_b and run the fastboot flash command again
On your phone, the screen should have a button "go back to recovery", select it, then select "factory reset / wipe data"
Reboot and enjoy
I try to install GSI Rom on my Alldocube iPlay 30 Pro. I attached the commands i am using. The Bootloader is unlocked. The Problem is after i flashed the System Image and run
fastboot reboot
the device is going into fastboot again.