Closed Kazuma98 closed 5 years ago
Hi, same problem here with huawei p9 ! :)
System version?
Output of adb shell cat /proc/cmdline
(contains bootloader version)?
/proc/balong/log/fastboot_log
after forcibly booting to recovery using rescue_recovery (this is complex - see below)
To get fastboot logs, make sure you have the stock images and TWRP. We will need to load them to RAM. Run
fastboot flash rescue_recovery_kernel STOCKKERNEL.img
fastboot flash rescue_recovery_ramdisk TWRPRAMDISK.img
fastboot flash rescue_recovery_vendor STOCK_RECOVERY_VENDOR.img
And the device will boot to twrp. From twrp you must take the file /proc/balong/log/fastboot_log and upload here
Thanks !!
https://framabin.org/p/?1fc80610b1b7c063#kBZg/ai9lTVDSAUbQvSx3TmI5RUw4TK3Jw5+4JzpqXw=
I already had twrp as a recovery, so here is fastboot log fastboot_log.txt current android is 9 but stock is 8, it should be treble OK but even stock roms from google won't boot, but flashing them is ok
Well I'm not a fan, but you could just flash using twrp until this is fixed
Le mer. 5 juin 2019 à 09:18, Han98 notifications@github.com a écrit :
Hi,
everytime i flash the image i get this error:
target reported max download size of 471859200 bytes sending sparse 'system' 1/4 (460796 KB)... OKAY [ 10.817s] writing 'system' 1/4... FAILED (remote: sparse flash write failure) finished. total time: 10.859
i tried it with -S 100m and sim2img.
— 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/546?email_source=notifications&email_token=AAAA4OXJK22MP7IWFGGWEHDPY5SD3A5CNFSM4HTRPESKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GXWJKDA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAA4OUINRMHZMSRNKFKJPDPY5SD3ANCNFSM4HTRPESA .
Thanks !!
https://framabin.org/p/?1fc80610b1b7c063#kBZg/ai9lTVDSAUbQvSx3TmI5RUw4TK3Jw5+4JzpqXw=
I already had twrp as a recovery, so here is fastboot log fastboot_log.txt current android is 9 but stock is 8, it should be treble OK but even stock roms from google won't boot, but flashing them is ok
Please do the instructions to get a live fastboot log. The one you sent is useless; it is the boot after fastboot flashing
Is this better ?
fastboot_log.txt Thanks !
@phhusson I tried through TWRP: flashing "System" didn't work at all Flashing "System Image" did something but I'm now unable to boot (twrp tells me I have no operating systems) Which one is supposed to work ?
Thanks
edit: well even flashing a working system img with twrp seems to lead to this issue
System image is supposed to work.
You're on EMUI8? Using AOSP v114, arm64 aonly?
Le dim. 9 juin 2019 à 13:26, PhieF notifications@github.com a écrit :
Is this better ?
fastboot_log.txt https://github.com/phhusson/treble_experimentations/files/3269472/fastboot_log.txt Thanks !
@phhusson https://github.com/phhusson I tried through TWRP: flashing "System" didn't work at all Flashing "System Image" did something but I'm now unable to boot (twrp tells me I have no operating systems) Which one is supposed to work ?
Thanks
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/546?email_source=notifications&email_token=AAAA4OXJJAZH7JYQL2RDM3LPZTSHNA5CNFSM4HTRPESKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIIJ5Q#issuecomment-500204790, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAA4OV5OWLJX7UTS5HKSBDPZTSHNANCNFSM4HTRPESA .
I can confirm with huawei p9 with emui 8 aosp v114 arm64 aonly su/nosu doesnt work via flashing to twrp as system image. Flashing completes succesfully but twrp says no os found. Mounting the /system via terminal gives invalid argument error.
With fastboot i also cant flash.
Please give result of dmesg in TWRP after trying to mount /system
Le dim. 9 juin 2019 à 14:39, Barış Demirdelen notifications@github.com a écrit :
I can confirm with huawei p9 with emui 8 aosp v114 arm64 aonly su/nosu doesnt work via flashing to twrp as system image. Flashing completes succesfully but twrp says no os found. Mounting the /system via terminal gives invalid argument error.
With fastboot i also cant flash.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/546?email_source=notifications&email_token=AAAA4OR5PMEDR5XU54XAL4LPZT2WNA5CNFSM4HTRPESKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIJKIQ#issuecomment-500208930, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAA4OQ2R73ANHYYQ4NPGXDPZT2WNANCNFSM4HTRPESA .
Sure, thanks for the fast response, here it is. This is me first flashing and then trying to mount it.
`
<4>[ 76.588745s][pid:324,cpu5,recovery]EXT4-fs (mmcblk0p52): bad geometry: block count 524288 exceeds size of device (507904 blocks) ` What's your system partition size? Le dim. 9 juin 2019 à 14:48, Barış DemirdelenTwrp says 1921MB with 1815MB used and 106MB free. Is there a better way to see?
cat /proc/partitions says it has 2031616 blocks
K so that's indeed too low for my images which are 2GB. I'll try to change to your partition's size
Le dim. 9 juin 2019 à 14:58, Barış Demirdelen notifications@github.com a écrit :
cat /proc/partitions says it has 2031616 blocks
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/546?email_source=notifications&email_token=AAAA4OT63F6KOWNHJMOW7VDPZT47XA5CNFSM4HTRPESKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIJTGQ#issuecomment-500210074, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAA4OTACVUUXCWNXKEBFR3PZT47XANCNFSM4HTRPESA .
I tried building with a 1.9gb partition size and everything went well with twrp and I was able to boot.
Here is a test image: https://treble.phh.me/system-arm64-p9.img
Huawei p9 is ok with it, thanks !
Hi,
everytime i flash the image i get this error:
target reported max download size of 471859200 bytes sending sparse 'system' 1/4 (460796 KB)... OKAY [ 10.817s] writing 'system' 1/4... FAILED (remote: sparse flash write failure) finished. total time: 10.859
i tried it with -S 100m and sim2img.