phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.4k stars 659 forks source link

Anybody tried to install in OP7 pro 5G model ? #1254

Open biboyrafik25 opened 4 years ago

biboyrafik25 commented 4 years ago

i tried several ways ton install it but device stucks in fastboot mod help plz

phhusson commented 4 years ago

You flashed vbmeta?

Le dim. 12 avr. 2020 à 11:20, biboyrafik25 notifications@github.com a écrit :

i tried several ways ton install it but device stucks in fastboot mod help plz

— 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/1254, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OVJH42K5ZYTML3FF5TRMGBXDANCNFSM4MGK5ZLA .

biboyrafik25 commented 4 years ago

of course

phhusson commented 4 years ago

fastboot getvar all?

Le dim. 12 avr. 2020 à 11:38, biboyrafik25 notifications@github.com a écrit :

of course

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1254#issuecomment-612588676, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OVND4KNMZU76RGCXQ3RMGDYRANCNFSM4MGK5ZLA .

biboyrafik25 commented 4 years ago

Sans titre.pdf

phhusson commented 4 years ago

Did you flash vbmeta on the first try, or did you try without it before that? Do you remember whether you flashed GSI to slot b or slot a? Try flashing stock boot.img and reboot

Le dim. 12 avr. 2020 à 13:00, biboyrafik25 notifications@github.com a écrit :

Sans titre.pdf https://github.com/phhusson/treble_experimentations/files/4466192/Sans.titre.pdf

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1254#issuecomment-612597354, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OUSNKS5ETRHN5W4JFTRMGNOLANCNFSM4MGK5ZLA .

biboyrafik25 commented 4 years ago

i allready flash it with all test i know its necessary so installation step by step is ?

phhusson commented 4 years ago

installation step by step is flash stock unmodified OEM rom, flash stock vbmeta with fastboot --disable-verity --disable-verification vbmeta vmbeta.img, flash arm64 ab system.img, do a factory reset

Le dim. 12 avr. 2020 à 13:13, biboyrafik25 notifications@github.com a écrit :

i allready flash it with all test i know its necessary so installation step by step is ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

biboyrafik25 commented 4 years ago

reflashing stock firmware ok. then 👍 dossier sans titre % fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img Rewriting vbmeta struct at offset: 0 Sending 'vbmeta' (8 KB) OKAY [ 0.010s] Writing 'vbmeta' OKAY [ 0.003s] Finished. Total time: 0.035s dossier sans titre % fastboot flash system system.img Sending sparse 'system_b' 1/3 (786428 KB) OKAY [ 27.662s] Writing 'system_b' OKAY [ 0.003s] Sending sparse 'system_b' 2/3 (786428 KB) OKAY [ 29.241s] Writing 'system_b' OKAY [ 0.003s] Sending sparse 'system_b' 3/3 (429208 KB) OKAY [ 20.990s] Writing 'system_b' OKAY [ 0.003s] Finished. Total time: 78.046s dossier sans titre % fastboot erase userdata **** Did you mean to fastboot format this ext4 partition? Erasing 'userdata' OKAY [ 0.273s] Finished. Total time: 0.283s dossier sans titre % fastboot reboot Rebooting OKAY [ 0.002s] Finished. Total time: 0.002s

stucks in fastboot mod

phhusson commented 4 years ago

... It's normal to be stuck on fastboot if you did fastboot erase userdata Boot in recovery and do factory reset from recovery.

Le dim. 12 avr. 2020 à 15:03, biboyrafik25 notifications@github.com a écrit :

reflashing stock firmware ok. then 👍 ahmedchekhab@iMac-de-ahmed dossier sans titre % fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img Rewriting vbmeta struct at offset: 0 Sending 'vbmeta' (8 KB) OKAY [ 0.010s] Writing 'vbmeta' OKAY [ 0.003s] Finished. Total time: 0.035s ahmedchekhab@iMac-de-ahmed dossier sans titre % fastboot flash system system.img Sending sparse 'system_b' 1/3 (786428 KB) OKAY [ 27.662s] Writing 'system_b' OKAY [ 0.003s] Sending sparse 'system_b' 2/3 (786428 KB) OKAY [ 29.241s] Writing 'system_b' OKAY [ 0.003s] Sending sparse 'system_b' 3/3 (429208 KB) OKAY [ 20.990s] Writing 'system_b' OKAY [ 0.003s] Finished. Total time: 78.046s ahmedchekhab@iMac-de-ahmed dossier sans titre % fastboot erae userda fastboot: usage: unknown command erae ahmedchekhab@iMac-de-ahmed dossier sans titre % fastboot erase userdata **** Did you mean to fastboot format this ext4 partition? Erasing 'userdata' OKAY [ 0.273s] Finished. Total time: 0.283s ahmedchekhab@iMac-de-ahmed dossier sans titre % fastboot reboot Rebooting OKAY [ 0.002s] Finished. Total time: 0.002s

stucks in fastboot mod

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1254#issuecomment-612610874, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OU2KZ4BCAG4FVOCKLTRMG3YPANCNFSM4MGK5ZLA .

biboyrafik25 commented 4 years ago

impossible to boot in recovery reboot in fastboot mod

phhusson commented 4 years ago

Ok flash again stock OEM boot.img, and do fastboot format userdata

Le dim. 12 avr. 2020 à 15:27, biboyrafik25 notifications@github.com a écrit :

impossible to boot in recovery reboot in fastboot mod

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1254#issuecomment-612614378, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OQMLVDYKCTKVCTVTUDRMG6VRANCNFSM4MGK5ZLA .

biboyrafik25 commented 4 years ago

Done. boot ok but no network....sim card allready installed Screenshot_20200412-155100 Screenshot_20200412-155150

phhusson commented 4 years ago

ok, now reboot into recovery and do factory reset from recovery

Le dim. 12 avr. 2020 à 16:01, biboyrafik25 notifications@github.com a écrit :

Done. boot ok but no network....sim card allready installed [image: Screenshot_20200412-155100] https://user-images.githubusercontent.com/55406730/79070518-d5cc4100-7cd6-11ea-8ac0-c7bb4aee3245.png [image: Screenshot_20200412-155150] https://user-images.githubusercontent.com/55406730/79070523-d82e9b00-7cd6-11ea-8e0a-43734da7d8bd.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1254#issuecomment-612619335, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OUZOZBGF656HMBLX53RMHCUDANCNFSM4MGK5ZLA .

biboyrafik25 commented 4 years ago

its done but same issue

phhusson commented 4 years ago

Ok, well then give me the result of adb logcat -b all -d

Le dim. 12 avr. 2020 à 16:30, biboyrafik25 notifications@github.com a écrit :

its done but same issue

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

biboyrafik25 commented 4 years ago

weird my mac "your mac has encountered an error...." and reboot when i tried to flash vendor image i tried twice and same issue my phone is ok logcat.pdf

phhusson commented 4 years ago

That file format is unusable. adb logcat -b all -d > log.txt and attach the generated log.txt to this issue

Le dim. 12 avr. 2020 à 16:59, biboyrafik25 notifications@github.com a écrit :

weird my mac "your mac has encountered an error...." and reboot when i tried to flash vendor image i tried twice and same issue my phone is ok logcat.pdf https://github.com/phhusson/treble_experimentations/files/4466520/logcat.pdf

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1254#issuecomment-612629423, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OXSDZ5YOCWNTYYPJMLRMHJMPANCNFSM4MGK5ZLA .

biboyrafik25 commented 4 years ago

sorry but i use this command in Terminal (mac) ?

phhusson commented 4 years ago

yes

Le dim. 12 avr. 2020 à 17:13, biboyrafik25 notifications@github.com a écrit :

sorry but i use this command in Terminal (mac) ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

biboyrafik25 commented 4 years ago

sorry im a noob i know where can i find the log.txt ? Last login: Sun Apr 12 16:48:04 on ttys000 @iMac-de-ahmed ~ % adb logcat -b all -d > log.txt @iMac-de-ahmed ~ %

phhusson commented 4 years ago

In your shell's ~ which is your unix home directory

Le dim. 12 avr. 2020 à 17:22, biboyrafik25 notifications@github.com a écrit :

sorry im a noob i know where can i find the log.txt ? Last login: Sun Apr 12 16:48:04 on ttys000 @iMac-de-ahmed ~ % adb logcat -b all -d > log.txt @iMac-de-ahmed ~ %

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1254#issuecomment-612632516, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OVTRBCA4CA6P22HGNTRMHMB3ANCNFSM4MGK5ZLA .

biboyrafik25 commented 4 years ago

thx log.txt

phhusson commented 4 years ago

What's the current value of ro.telephony.default_network ? Try setting it to 11, 20, 23 24, 26

Le dim. 12 avr. 2020 à 17:33, biboyrafik25 notifications@github.com a écrit :

thx log.txt https://github.com/phhusson/treble_experimentations/files/4466572/log.txt

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1254#issuecomment-612634097, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OWE4JDJZUIY63FSNGTRMHNMPANCNFSM4MGK5ZLA .

biboyrafik25 commented 4 years ago

Soory i dont understand

phhusson commented 4 years ago

ok first of all, does wifi work? then give the result of adb shell getprop ro.telephony.default_network

biboyrafik25 commented 4 years ago

wifi works file is empty..... its possible ?

phhusson commented 4 years ago

yes it's possible it's empty, and that's actually what I expected. Okay, now do this:

> adb shell
$ su
# setprop ro.telephony.default_network 23
# getprop ro.telephony.default_network <<<< this is to check the setprop
worked fine
# stop;start

Here android should soft-reboot. Does SIM appear after that?

Le dim. 12 avr. 2020 à 18:07, biboyrafik25 notifications@github.com a écrit :

wifi works file is empty..... its possible ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1254#issuecomment-612638879, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OWHKVX3UKPZ6YXX43LRMHRNRANCNFSM4MGK5ZLA .

biboyrafik25 commented 4 years ago

1|:/data/data # getprop ro.telephony.default_network
23 after reboot sim not appear :(

biboyrafik25 commented 4 years ago

Hello, i dont understand this : my model is gm1920 (model 5G) not gm1917 (model 4G). Thx 79070518-d5cc4100-7cd6-11ea-8ac0-c7bb4aee3245

biboyrafik25 commented 4 years ago

Bah issue not solved 5g model not a good choice return device to seller and changing with realme x2 pro