I am trying to install lineageos for 2 days now twrp keeps giving error would anyone could send me hak86's twrp image I couldnt find on telegram sourceforge and github thanks and it is now stuck on formatting data
there is (now) a functioning link in the "main" topic forum:
see https://forum.xda-developers.com/t/...for-huawei-p-smart-2018.3980019/post-84237985
@haky 86 : thnx for that
Bokkahontas said:
there is (now) a functioning link in the "main" topic forum:
see https://forum.xda-developers.com/t/...for-huawei-p-smart-2018.3980019/post-84237985
@haky 86 : thnx for that
Click to expand...
Click to collapse
I can remake it, but I need some testers as I don't have the device right now.
@haky 86 : that would be nice, since installing the twrp failed:
$ fastboot flash recovery twrp-3.4.0.0-v1-figo-haky86.img
> Sending 'recovery' (10734 KB) OKAY [ 0.382s]
> Writing 'recovery' FAILED (remote: 'partition length get error')
> fastboot: error: Command failed
device is properly connected, I also doublechecked that bootloader is still unlocked after upgrade from emui 8 to 9.1 (Build is 9.1.0.216(C432E22R1P5))
Can we merge this topic with the following, so there is no parallel discussion in two different topics within the forum?! ;-)
=> https://forum.xda-developers.com/t/...for-huawei-p-smart-2018.3980019/post-84237985
switch recovery with recovery_ramdisk
twrp installation succeded with _ramdisk, thanks for the fast reply!
I followed then instructions from official lineage 16 wiki (https://wiki.lineageos.org/devices/figo/install) to install lineageOS 16. Sideload of the actual zip (lineage-16.0-20210115-nightly-figo-signed) in twrp also worked perfectly and I eagerly tipped on "reboot" in twrp hoping to see my new OS booting for the the first time... BUT:
Unfortunately I got stuck at a probably similar point as Capybar (see https://forum.xda-developers.com/t/...k-recovery-and-cant-boot-into-system.4126357/):
Phone stopped being able to enter any recovery at all. The system itself does not boot. The HUawei start screen "Your device has been unlocked and cannot be trustet (...) only tells me (...) "Your device is booting now...", the recovery option never appears (previously in the start screen with 'unlocked device' warning it used to suggest pressing volume UP to enter recovery, now it only shows "Your device is booting now").
Then it shows me the Teamwin Logo and at that point freezes.
I cannot acces the phone with adb oder fastboot from host machine..
=> Does anybody knows if there is a possibility to gain acces to recovery?
if stuck on Huawei splash screen, just run factory reset with stock recovery.
to boot into recovery on this crap;
* Keep pressing on vol up + vol down + power.
* Leave vol down button only and keep pressing other 2 buttons once huawei splash screen appears .
* you should able to boot into recovery.
thnx again haky !!!
Nevertheless feeling stupid now (or rather like my mum when I first modified our home-PC autoexec.bat on a 386DX machine in MS DOS to make the PC wish her a good morning on the VGA display) .Back to topic:
I managed to get the the phone start in recovery boot mode asking me
(1) Press Power key to continue
(2) Press Volume Uo key (...) to enter erecovery to restore aour device
(3) Vour device will continue to booot (...)
=> all options result in the same(?) everlasting bootloop
so I succesfully tried fastboot boot mode (error 64 message on screen) and flashed your stock recovery:
$ fastboot devices -l
> XEDDU*********** fastboot usb:2-2
$ fastboot flash recovery_ramdisk 9.1_stock_rec.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (32768 KB)...
OKAY [ 1.156s]
writing 'recovery_ramdisk'...
OKAY [ 0.269s]
finished. total time: 1.425s
Rebooting phone again leads to bootloop
Edit: Not the very same bootloop since twrp-logo does not appear anymore but phone message is "Your device is booting now ... " and that's it
Got some ideas?
Edit#2 [SOLVED]: put fastboot option -w into command for flashing stock recovery => phone resurrected to stock software (at least)
Thanks for the update!
Im was stuck in the same situation. If you succeed in flashing LineageOS I would love to hear how.
Good luck!
without a phone I can't do a sh*t, try this recovery (3.5.0) and tell me if boots or not.
haky 86 said:
without a phone I can't do a sh*t, try this recovery (3.5.0) and tell me if boots or not.
Click to expand...
Click to collapse
While flashing it I get the following log:
.\fastboot flash recovery_ramdisk .\recovery.img -w
target reported max download size of 471859200 bytes
wiping userdata...
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: Command not allowed)
sending 'recovery_ramdisk' (13452 KB)...
OKAY [ 0.376s]
writing 'recovery_ramdisk'...
OKAY [ 0.102s]
erasing 'userdata'...
(bootloader) success to erase cryypt info in oeminfo
OKAY [ 0.068s]
finished. total time: 0.546s
I can boot into the recovery. My issue is, when I use wipe -> format data, it formats, says "done", but dosn't give me an option to proceed or go back. So I'm stuck there. After a hard reset I tried to boot into recovery again, but it gets stuck on the teamwin screen.
After flashing it again with the -w option, it works again.
An other issue I have is, when I try to wipe eg. cache, it works, but while trying to update the partition details, it "failed to mount '/data' (Invalid argument)". The same happens, when I install something.
Zet24 said:
While flashing it I get the following log:
.\fastboot flash recovery_ramdisk .\recovery.img -w
target reported max download size of 471859200 bytes
wiping userdata...
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: Command not allowed)
sending 'recovery_ramdisk' (13452 KB)...
OKAY [ 0.376s]
writing 'recovery_ramdisk'...
OKAY [ 0.102s]
erasing 'userdata'...
(bootloader) success to erase cryypt info in oeminfo
OKAY [ 0.068s]
finished. total time: 0.546s
I can boot into the recovery. My issue is, when I use wipe -> format data, it formats, says "done", but dosn't give me an option to proceed or go back. So I'm stuck there. After a hard reset I tried to boot into recovery again, but it gets stuck on the teamwin screen.
After flashing it again with the -w option, it works again.
An other issue I have is, when I try to wipe eg. cache, it works, but while trying to update the partition details, it "failed to mount '/data' (Invalid argument)". The same happens, when I install something.
[/QUOT]
can you pm me a screenshot?
Click to expand...
Click to collapse
1) @haky 86 : I can also boot into the (3.5.0) recovery
EDIT (fyi): could boot into that recovery, but after installation of stock rom (and likewise in official linage rom) my SIM Card was not detected.
Using "old" stock recovery [9.1_stock_rec.img] and SIM Card works fine. Still that Wifi-Password-Problem...
Zet24 said:
(...)
My issue is, when I use wipe -> format data, it formats, says "done", but dosn't give me an option to proceed or go back. So I'm stuck there. After a hard reset I tried to boot into recovery again, but it gets stuck on the teamwin screen.
(...)
Click to expand...
Click to collapse
2) @Zet24 : this looks rather to a twrp 3.4.0.0 error (?) because previously I got the same which finally ended in stucked teamwin screen and bootloop (see above)
3) @Zet24 : I managed to flash and boot into official figo lineage 16 ROM (lineage-16.0-20210122-nightly-figo-signed) by copying the zip file on sd card and install it directly in twrp (install >> from zip file) -- actually I don't know why sideload method doesn't work..
Unfortunately I couldn't not connect to wifi (see discussion in main topic Forum: https://forum.xda-developers.com/t/...for-huawei-p-smart-2018.3975303/post-83896865) even after wiping data and cache with stock recovery, but that is for another time/topic
I posted a tutorial on how to flash Lineage OS on this phone on the other Thread... the Lineage OS thread.
Bokkahontas said:
twrp installation succeded with _ramdisk, thanks for the fast reply!
I followed then instructions from official lineage 16 wiki (https://wiki.lineageos.org/devices/figo/install) to install lineageOS 16. Sideload of the actual zip (lineage-16.0-20210115-nightly-figo-signed) in twrp also worked perfectly and I eagerly tipped on "reboot" in twrp hoping to see my new OS booting for the the first time... BUT:
Unfortunately I got stuck at a probably similar point as Capybar (see https://forum.xda-developers.com/t/...k-recovery-and-cant-boot-into-system.4126357/):
Phone stopped being able to enter any recovery at all. The system itself does not boot. The HUawei start screen "Your device has been unlocked and cannot be trustet (...) only tells me (...) "Your device is booting now...", the recovery option never appears (previously in the start screen with 'unlocked device' warning it used to suggest pressing volume UP to enter recovery, now it only shows "Your device is booting now").
Then it shows me the Teamwin Logo and at that point freezes.
I cannot acces the phone with adb oder fastboot from host machine..
=> Does anybody knows if there is a possibility to gain acces to recovery?
Click to expand...
Click to collapse
Hi, How did you manage to unlock bootloader?
Related
Hi, yesterday I received XT890 from another user. Phone stuck on red Motorola logo, can enter fastboot and has locked bootloader.
Fastboot actions:
1. Normal Powerup - Freeze on Fastboot
2. Recovery - Freeze on Red Logo
3. Factory - Freeze on Red Logo
4. BP Tools - Freeze on Fastboot
5. Switch Console - Working
6. Power Off - Freeze on Fastboot
So first of all I tried to flash it by RSD with CFC_9.8.2I-50_SMI-26_S7_USASMIJBRTEU but on 4/12 it can't reboot phone so I did it manually and it goes to 8/12 and phone shows E:failed to erase partition system.
I also tried to skip system by deleting it from xml but on every other step it can't do anything with partitions (data, cache, cdrom).
I tried fastboot to erase partitions manually but no luck with locked bootloader. So I tried to unlock it but it can't be done cause data can't be erased.
I even tried unbrick script for modified and it passed but no changes.
So what I tried:
1. Format Data/Cache - Can't enter Recovery
2. Flash RSD - Can't flash system partition
3. Unlock Bootloader - Can't format data partition
4. Unbrick - No changes after that
5. Fastboot flash CWM - only stock recovery can be flashed on locked bootloader
6. Fastboot erase data / system/ cache partitions - error
After that I'm assuming that emmc is damaged. If it's software damage it should be way to resurrect it.
Any help is welcome.
Sorry for my nasty English.
Chamelleon said:
Hi, yesterday I received XT890 from another user. Phone stuck on red Motorola logo, can enter fastboot and has locked bootloader.
Fastboot actions:
1. Normal Powerup - Freeze on Fastboot
2. Recovery - Freeze on Red Logo
3. Factory - Freeze on Red Logo
4. BP Tools - Freeze on Fastboot
5. Switch Console - Working
6. Power Off - Freeze on Fastboot
So first of all I tried to flash it by RSD with CFC_9.8.2I-50_SMI-26_S7_USASMIJBRTEU but on 4/12 it can't reboot phone so I did it manually and it goes to 8/12 and phone shows E:failed to erase partition system.
I also tried to skip system by deleting it from xml but on every other step it can't do anything with partitions (data, cache, cdrom).
I tried fastboot to erase partitions manually but no luck with locked bootloader. So I tried to unlock it but it can't be done cause data can't be erased.
I even tried unbrick script for modified and it passed but no changes.
So what I tried:
1. Format Data/Cache - Can't enter Recovery
2. Flash RSD - Can't flash system partition
3. Unlock Bootloader - Can't format data partition
4. Unbrick - No changes after that
5. Fastboot flash CWM - only stock recovery can be flashed on locked bootloader
6. Fastboot erase data / system/ cache partitions - error
After that I'm assuming that emmc is damaged. If it's software damage it should be way to resurrect it.
Any help is welcome.
Sorry for my nasty English.
Click to expand...
Click to collapse
Ye, great chance that the emmc is damaged. But it still looks to me as if it is software damaged, not hardware, because of the successful flash of recovery. And it is on the same memory module.
Just as in the other post of this phone can u try this and give me the output of especially the flash of gpt.bin (partition table file). I never got an exact answer to it, for my liking, maybe i read over it.
If that doesn't flash (give me the output then i know for sure ), try flashing the boot.img and see what happens. I assume nothing will change from flashing the boot.img, but u gotta try something.
Next we can do is have a look at that intel flashing file, it looks promising. I never had to go to this part so i am out of general ideas (think outside the box maybe?). Maybe we can fiddle something from here. It looks to me like it can flash more than fastboot can, u just need the right files and some we can make, hopefully if i read the sources available to us right.
Hazou
T:\Motorola\Serwis\RAZR i (XT890)\Unbrick\mfastboot-v2>mfastboot flash gpt gpt_s
igned
(bootloader) Variable not supported!
target max-download-size: 100MB
sending 'gpt' (32 KB)...
OKAY [ 0.358s]
writing 'gpt'...
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
OKAY [ 1.094s]
finished. total time: 1.460s
T:\Motorola\Serwis\RAZR i (XT890)\Unbrick\mfastboot-v2>mfastboot flash motoboot
motoboot
(bootloader) Variable not supported!
target max-download-size: 100MB
sending 'motoboot' (23273 KB)...
OKAY [ 2.635s]
writing 'motoboot'...
(bootloader) flashing image dnx...
(bootloader) flashing image ifwi...
(bootloader) flashing image bos...
(bootloader) flashing image logo...
(bootloader) flashing image ulogo...
OKAY [ 2.338s]
finished. total time: 4.981s
T:\Motorola\Serwis\RAZR i (XT890)\Unbrick\mfastboot-v2>mfastboot flash boot boot
_signed
(bootloader) Variable not supported!
target max-download-size: 100MB
sending 'boot' (11264 KB)...
OKAY [ 1.243s]
writing 'boot'...
OKAY [ 1.549s]
finished. total time: 2.799s
T:\Motorola\Serwis\RAZR i (XT890)\Unbrick\mfastboot-v2>mfastboot flash recovery
recovery_signed
(bootloader) Variable not supported!
target max-download-size: 100MB
sending 'recovery' (11264 KB)...
OKAY [ 1.338s]
writing 'recovery'...
OKAY [ 1.563s]
finished. total time: 2.907s
T:\Motorola\Serwis\RAZR i (XT890)\Unbrick\mfastboot-v2>mfastboot flash motobp mo
tobp
(bootloader) Variable not supported!
target max-download-size: 100MB
sending 'motobp' (17091 KB)...
OKAY [ 1.714s]
writing 'motobp'...
OKAY [ 76.674s]
finished. total time: 78.396s
T:\Motorola\Serwis\RAZR i (XT890)\Unbrick\mfastboot-v2>mfastboot flash system sy
stem_signed
(bootloader) Variable not supported!
target max-download-size: 100MB
Multi-Flash is enabled!
sending 'system' (102400 KB)...
OKAY [ 9.377s]
writing 'system'...
OKAY [ 2.576s]
sending 'system' (102400 KB)...
(bootloader) BLKDISCARD ioctl /dev/block/mmcblk0 fail
OKAY [ 11.154s]
writing 'system'...
FAILED (remote failure)
finished. total time: 25.509s
T:\Motorola\Serwis\RAZR i (XT890)\Unbrick\mfastboot-v2>mfastboot flash cdrom cdr
om_signed
(bootloader) Variable not supported!
target max-download-size: 100MB
sending 'cdrom' (53258 KB)...
OKAY [ 4.891s]
writing 'cdrom'...
FAILED (remote: Preflash validation failed)
finished. total time: 6.273s
T:\Motorola\Serwis\RAZR i (XT890)\Unbrick\mfastboot-v2>mfastboot erase cache
erasing 'cache'...
(bootloader) BLKDISCARD ioctl /dev/block/mmcblk0 fail
(bootloader) Erase cache fail
FAILED (remote failure)
finished. total time: 1.897s
T:\Motorola\Serwis\RAZR i (XT890)\Unbrick\mfastboot-v2>mfastboot erase userdata
erasing 'userdata'...
(bootloader) BLKDISCARD ioctl /dev/block/mmcblk0 fail
(bootloader) Erase userdata fail
FAILED (remote failure)
finished. total time: 8.110s
T:\Motorola\Serwis\RAZR i (XT890)\Unbrick\mfastboot-v2>
So it looks like only few partitions are broken but how to repair it without unlocking bootloader??
Hmm, it does flash a part of the system if I read it correct. After the first one it gives errors to all partitions after it.
Can u reboot to recovery now, we finally flashed it right. Didn't work last time.
The things I wanted to do with the Intel thingy, are already done with flashing motoboot. So the things I had there are done.
Verstuurd van mijn GT-P5110
Nope, still red logo on recovery. The same was flashed by RSD and same errors appeared as on fastboot. Only different is after flashing RSD I can turn normal powerup and phone restarts to red logo from AP Fastboot but after flashing fastboot commands an error appeared.
Chamelleon said:
Nope, still red logo on recovery. The same was flashed by RSD and same errors appeared as on fastboot. Only different is after flashing RSD I can turn normal powerup and phone restarts to red logo from AP Fastboot but after flashing fastboot commands an error appeared.
Click to expand...
Click to collapse
Yep, this happens because it has nothing to start.
There is just 1 more think I can think off, because all others are closed (locked) or don't work. Or if unlocked we still don't have access.
Does the command "fastboot oem format" does something?
Verstuurd van mijn GT-P5110
Completely forgot about this command, I'll try it after work.
FAILED (remote: Restricted OEM command)
Then its over I think. We can't flash a custom recovery and fiddle around with it. Because maybe by not asking for system/data partition at start etc u can reformat the emmc with parted or other application.
Sorry, only Motorola can fix it. Or u need to replace the motherboard maybe? But that's something else.
Oh, try 1 more thing. Is it possible to load a custom boot image by the command "fastboot boot (image)"? Don't think so, but who knows. So u won't flash it.
Verstuurd van mijn XT890
creating boot image...
creating boot image - 11536384 bytes
downloading 'boot.img'...
OKAY [ 1.412s]
booting...
(bootloader) Command restricted
FAILED (remote failure)
finished. total time: 1.614s
Bootloader blocks it??
Chamelleon said:
creating boot image...
creating boot image - 11536384 bytes
downloading 'boot.img'...
OKAY [ 1.412s]
booting...
(bootloader) Command restricted
FAILED (remote failure)
finished. total time: 1.614s
Bootloader blocks it??
Click to expand...
Click to collapse
Yup, the defy could do it if i remember correctly. Hoped that this one would either. I am out of ideas now, but will have one more look. Don't expect anything, because we already tried most if not all the things we can do.
Edit:
All other things i can think of need to have adb access, and that can only be done by having an unlocked bootloader or root access. Because with root access u can flash a recovery even when u have a locked bootloader most of the time. But we don't have access to the system as well as the partitions, so we are stuck.
That Intel thingy can only flash the bootloader and the bootloader wont repartition the emmc. But we can try anyway if u want. Its a little bit different then the unbrick methode, just a little.
Verstuurd van mijn XT890
Today I flashed Samsung C3595 with partition table from S5610 and it's working well so "different" methods are not scary for me.
Chamelleon said:
Hi, yesterday I received XT890 from another user. Phone stuck on red Motorola logo, can enter fastboot and has locked bootloader.
Fastboot actions:
1. Normal Powerup - Freeze on Fastboot
2. Recovery - Freeze on Red Logo
3. Factory - Freeze on Red Logo
4. BP Tools - Freeze on Fastboot
5. Switch Console - Working
6. Power Off - Freeze on Fastboot
So first of all I tried to flash it by RSD with CFC_9.8.2I-50_SMI-26_S7_USASMIJBRTEU but on 4/12 it can't reboot phone so I did it manually and it goes to 8/12 and phone shows E:failed to erase partition system.
I also tried to skip system by deleting it from xml but on every other step it can't do anything with partitions (data, cache, cdrom).
I tried fastboot to erase partitions manually but no luck with locked bootloader. So I tried to unlock it but it can't be done cause data can't be erased.
I even tried unbrick script for modified and it passed but no changes.
So what I tried:
1. Format Data/Cache - Can't enter Recovery
2. Flash RSD - Can't flash system partition
3. Unlock Bootloader - Can't format data partition
4. Unbrick - No changes after that
5. Fastboot flash CWM - only stock recovery can be flashed on locked bootloader
6. Fastboot erase data / system/ cache partitions - error
After that I'm assuming that emmc is damaged. If it's software damage it should be way to resurrect it.
Any help is welcome.
Sorry for my nasty English.
Click to expand...
Click to collapse
Hi Chameleon.. i'm having a phone with similar issues (I created a post about it). I have tried steps one and two to no success. To unlock it do you do it via the official way (I ask because I don't know much, maybe there are other ways of doing it)
Yup, only official way.
Wysłane z Motorola RAZR i
here is the thing i talked about. Its just one more command with the unbrick method. But if u never try, u never know.
I assume u have all the files for the unbrick method still installed and on your PC. So u have the xFSTK driver and xfstk-dldr-solo.exe on your drive and working.
In the unbrick folder where the dnx and ifwi files are add the latest files from your latest firmware (dnx, ifwi and motoboot!).
Download the unbrick3.txt and rename to unbrick3.bat inside the folder with the original unbrick.bat
Now open a cmd shell inside the folder where the batch file is located. And then run unbrick3.bat.
After this try rsd lite again with the latest firmware u used.
Most likely it will not work... but ye, u gotta try.
I got this from an acer/asus device. It is the official unbrick methode from that device.
hey guys, i ve got the same problem. the phone stucks on the red M logo. i'm not familiar "aka" noob with this things. I wonder if anyone can give me a help?
I tried to wipe data and participation. the phone completes this commands but again stucks on the red logo.
hjahmetoglu said:
hey guys, i ve got the same problem. the phone stucks on the red M logo. i'm not familiar "aka" noob with this things. I wonder if anyone can give me a help?
I tried to wipe data and participation. the phone completes this commands but again stucks on the red logo.
Click to expand...
Click to collapse
Luckily, u don't have the same problem. U only have to search for a rsd lite flash guide. Flash your latest firmware that is available for your phone and country/brand. And all will most likely be good.
Hazou said:
here is the thing i talked about. Its just one more command with the unbrick method. But if u never try, u never know.
I assume u have all the files for the unbrick method still installed and on your PC. So u have the xFSTK driver and xfstk-dldr-solo.exe on your drive and working.
In the unbrick folder where the dnx and ifwi files are add the latest files from your latest firmware (dnx, ifwi and motoboot!).
Download the unbrick3.txt and rename to unbrick3.bat inside the folder with the original unbrick.bat
Now open a cmd shell inside the folder where the batch file is located. And then run unbrick3.bat.
After this try rsd lite again with the latest firmware u used.
Most likely it will not work... but ye, u gotta try.
I got this from an acer/asus device. It is the official unbrick methode from that device.
Click to expand...
Click to collapse
Yesterday I tried it and unfortunately nothing changed, still can't erase or write to those partitions.
XT890 Stuck on Red Logo. Probably damaged partitions
I woke up this morning to find that my Motorola XT890 is not working. I followed all the procedures for hard rest got the same result as listed below.
1. Normal Powerup - Freeze on Fastboot
2. Recovery - Freeze on Red Logo
3. Factory - Freeze on Red Logo
4. BP Tools - Freeze on Fastboot
5. Switch Console - Working
6. Power Off - Freeze on Fastboot
Contacted Motorola customer service, followed all the procedures as prescribed by Motorola customer service still stuck at Red Logo. Motorola has requested that I send it in for repair. The phone is 11 months old and under warranty. The unfortunate thing is that this is the second time I am sending the phone to Motorola for repair.
Chamelleon said:
Hi, yesterday I received XT890 from another user. Phone stuck on red Motorola logo, can enter fastboot and has locked bootloader.
Fastboot actions:
1. Normal Powerup - Freeze on Fastboot
2. Recovery - Freeze on Red Logo
3. Factory - Freeze on Red Logo
4. BP Tools - Freeze on Fastboot
5. Switch Console - Working
6. Power Off - Freeze on Fastboot
So first of all I tried to flash it by RSD with CFC_9.8.2I-50_SMI-26_S7_USASMIJBRTEU but on 4/12 it can't reboot phone so I did it manually and it goes to 8/12 and phone shows E:failed to erase partition system.
I also tried to skip system by deleting it from xml but on every other step it can't do anything with partitions (data, cache, cdrom).
I tried fastboot to erase partitions manually but no luck with locked bootloader. So I tried to unlock it but it can't be done cause data can't be erased.
I even tried unbrick script for modified and it passed but no changes.
So what I tried:
1. Format Data/Cache - Can't enter Recovery
2. Flash RSD - Can't flash system partition
3. Unlock Bootloader - Can't format data partition
4. Unbrick - No changes after that
5. Fastboot flash CWM - only stock recovery can be flashed on locked bootloader
6. Fastboot erase data / system/ cache partitions - error
After that I'm assuming that emmc is damaged. If it's software damage it should be way to resurrect it.
Any help is welcome.
Sorry for my nasty English.
Click to expand...
Click to collapse
@VigneshS007
test system-arm64-ab.img
boot to custom-recovery
wipe cache (formatting cache .. down)
wipe data/factory reset / confirm yes / confirm yes - format 0..100%
vol-up and power and usb-wire in phone and pc : boot to bootloader
fastboot devices (phone is online!)
fastboot flash system system-arm64-ab.img
target reported max download size of 471859200 bytes
sending sparse 'system' (460796 KB)...
FAILED (status read failed (Protocol error))
finished. total time: 1.547s
usb-wire out phone / return in phone
fastboot devices (phone is online!)
fastboot flash system system-arm64-ab.img
target reported max download size of 471859200 bytes
sending sparse 'system' (460796 KB)...
OKAY [ 14.497s]
writing 'system'...
OKAY [ 3.356s]
sending sparse 'system' (421628 KB)...
OKAY [ 13.025s]
writing 'system'...
OKAY [ 2.928s]
sending sparse 'system' (388444 KB)...
OKAY [ 11.666s]
writing 'system'...
OKAY [ 2.704s]
finished. total time: 48.177s
now is in phone custom-recovery, data fresh formated, system-arm64-ab.img
usb-wire is in phone
fastboot reboot
phone boot... / black screen / <- 3x / Huawei eRecovery "Factory data reset(recommended)" yes(do it)
low-level format 0..5% / reset failed! / reboot system now
phone boot 2x and go to Huawei eRecovery (this flash dont work / shutdown)
vol-down press and hold, usb-wire put in phone, phone boot to bootloader
fastboot devices (phone is online!)
fastboot flash system system-arm64-ab.img
target reported max download size of 471859200 bytes
sending sparse 'system' (460796 KB)...
OKAY [ 14.281s]
writing 'system'...
OKAY [ 3.511s]
sending sparse 'system' (421628 KB)...
FAILED (status read failed (Protocol error))
finished. total time: 21.386s
usb-wire out phone
usb-wire in phone
fastboot devices (phone is online!)
fastboot flash system system-arm64-ab.img
target reported max download size of 471859200 bytes
sending sparse 'system' (460796 KB)...
OKAY [ 14.359s]
writing 'system'...
OKAY [ 3.235s]
sending sparse 'system' (421628 KB)...
OKAY [ 12.947s]
writing 'system'...
OKAY [ 2.931s]
sending sparse 'system' (388444 KB)...
OKAY [ 11.664s]
writing 'system'...
OKAY [ 2.710s]
finished. total time: 47.846s
fastboot reboot and fast usb-wire out phone
You device is booting now... /black screen <- 2x /Huawei eRecovery /THIS way not work!!!
vol-down press and hold, usb-wire put in phone, phone boot to bootloader
fastboot devices (phone is online!)
fastboot flash system system.img
target reported max download size of 471859200 bytes
sending sparse 'system' (458906 KB)...
FAILED (status read failed (Protocol error))
finished. total time: 14.487s
usb-wire out phone
vol-up press and hold and power /boot to eRecovery/ factory reset
phone off
vol-down press and hold, usb-wire put in phone, phone boot to bootloader
fastboot devices (phone is online!)
fastboot flash system system.img
phone off
power
phone boot to factoryOS !!! this is the best: my phone work, no bootloop or other error
i think, the problem is "i am" or the instructions or "what else"
i think, if i do factory-reset the phone low-level format "data" and set inside instructions "test by next boot what system.img is installed" or other test
this test i now 5x do and the way is by all the same.
anyone info i missing to get out of this loop
i hope very powerful: anyone developer write twrp and system(LOS or RR) for this phone !
at the moment i could nail it to the wall / i am very frustrated / a little bit
excuse me for long writing text, i hope the mistake is easier to find
Flash this https://forum.xda-developers.com/pr...opment/resurrection-remix-phh-treble-t3767688 ARM 64 A only device @JamesBott
now, lets go, next test :good:
download run... finish
test system-arm64-aonly.img
fastboot devices (phone is online!)
fastboot flash system system-arm64-aonly.img
fastboot reboot
the rest is "the same procedure as test bevor"
this phone (my H9L) not boot in other system.img
by now in nothing else
the problem must inside my phone
or other question : have anyone other system.img in H9L and this work ? H9L with LLD-L31 ? not from india or ..., from EU (European Union)
what is different in my phone than other users ? i don't know it
now is custemOS inside again. different to last rom-install: SU is now outside! only different what i see
For everyone who is interested: I have build my first treble build based on pure AOSP 8.0... As my 6X didn't received EMUI 8.0 already I would be glad if some Honor 9 Lite or P Smart user could try to install and run my build on his device as it is based on P Smart blobs: Install it like a normal treble build. Extract the zip (it isnt flashable zip !), unlock BL, flash system.img via fastboot - boot to stock recovery and perform a factory reset - reboot... if booted up report back and provide some screenshots! Here is DL: https://www.androidfilehost.com/?fid=962187416754471220
JamesBott said:
now, lets go, next test :good:
download run... finish
test system-arm64-aonly.img
fastboot devices (phone is online!)
fastboot flash system system-arm64-aonly.img
fastboot reboot
the rest is "the same procedure as test bevor"
this phone (my H9L) not boot in other system.img
by now in nothing else
the problem must inside my phone
or other question : have anyone other system.img in H9L and this work ? H9L with LLD-L31 ? not from india or ..., from EU (European Union)
what is different in my phone than other users ? i don't know it
now is custemOS inside again. different to last rom-install: SU is now outside! only different what i see
Click to expand...
Click to collapse
Firstly... Honor 9 lite dont have a/b partition so you have to take the a-Partition images...
Secondly... V9 of the treble image would work (its on android 8.0)...
Hi @felix-development,
that what i reed - sounds very interesting. my next test is your download.
question : have you "twrp full function" ?
i mean twrp backup/restore "system, data..." ?
my twrp do backup/restore system "yes" data "no" (de- en-cryption ?)
JamesBott said:
Hi @felix-development,
that what i reed - sounds very interesting. my next test is your download.
question : have you "twrp full function" ?
i mean twrp backup/restore "system, data..." ?
my twrp do backup/restore system "yes" data "no" (de- en-cryption ?)
Click to expand...
Click to collapse
you should be on normal emui 8 with just bl unlocked... flash system.img via fastboot - and after that do a factory reset in erecovery (if didn't do by unlocking bl already)
Gesendet von meinem BLN-L21 mit Tapatalk
---------- Post added at 09:35 AM ---------- Previous post was at 09:33 AM ----------
JamesBott said:
Hi @felix-development,
that what i reed - sounds very interesting. my next test is your download.
question : have you "twrp full function" ?
i mean twrp backup/restore "system, data..." ?
my twrp do backup/restore system "yes" data "no" (de- en-cryption ?)
Click to expand...
Click to collapse
by the way you are free to pm me as i saw we speak the same lanuage
Gesendet von meinem BLN-L21 mit Tapatalk
Hi @felix-development,
ALL Test's ending in eRecovery, "Download latest version and recovery / Reboot / Shutdown"
That's no problem, i flash stock and all good! Phone work with stock It's only work.
Procedure:
flash other system; reboot; (phone boot / black screen) 3x / eRecovery "reset data" .... low-level-format 0..100% / reboot / (phone boot / black screen) 3x / eRecovery, "Download latest...
i think, the problem sit on the frontside from phone
any idea, what i doing false ?
or is in this moment fact: no other rom work on H9L ?
last step: flash system system.img (stock) phone boot "normal" and work !
My daily driver is my old elephon p8 mini.
Honor 9 Lite sleep and wait for next test
JamesBott said:
Hi @felix-development,
ALL Test's ending in eRecovery, "Download latest version and recovery / Reboot / Shutdown"
That's no problem, i flash stock and all good! Phone work with stock It's only work.
Procedure:
flash other system; reboot; (phone boot / black screen) 3x / eRecovery "reset data" .... low-level-format 0..100% / reboot / (phone boot / black screen) 3x / eRecovery, "Download latest...
i think, the problem sit on the frontside from phone
any idea, what i doing false ?
or is in this moment fact: no other rom work on H9L ?
last step: flash system system.img (stock) phone boot "normal" and work !
My daily driver is my old elephon p8 mini.
Honor 9 Lite sleep and wait for next test
Click to expand...
Click to collapse
A logcat could help to fix or to see wheres the problem...
@Darkest-Dark
logcat is a good word: how & who i find on end test (stand in eRecovery) the logcat ?
or if i reflash stock: if logcat from last test available ( how & who) ?
i can all do what hav to do with system and recovery. that's no risk. reflash system and/or recovery and stock work!
@Darkest-Dark
logcat is a good word: how & who i find on end test (stand in eRecovery) the logcat ?
or if i reflash stock: if logcat from last test available ( how & who) ?
i can all do what hav to do with system and recovery. that's no risk. reflash system and/or recovery and stock work!
JamesBott said:
@Darkest-Dark
logcat is a good word: how & who i find on end test (stand in eRecovery) the logcat ?
or if i reflash stock: if logcat from last test available ( how & who) ?
i can all do what hav to do with system and recovery. that's no risk. reflash system and/or recovery and stock work!
Click to expand...
Click to collapse
Look here...
https://forum.xda-developers.com/showthread.php?t=2303834
i found
Now type this in the terminal
Code:
adb logcat -v long > logcat.txt
or
Code:
adb logcat > logcat.txt
you shall have a log file called name of logcat.txt inside your ADB folder.
i test next day !
if this work we have backup from stock without twrp, simple & good
i write my experiences after test !
Hi, TWRP now available. Look https://forum.xda-developers.com/9-lite/development/honor-9-lite-twrp-3-2-1-0-available-t3771358
From now Backup/Restore NO problem
principle question & understand question
all test's NOT work.
last test made with twrp : twrp/install system.img, twrp flash this image with no errors.
now reboot to system : twrp write "no OS is installed .."
i mean, the problem is the differences from Android 7 and 8
i mean : in Android 8 is boot-sequence other as in Android 7
why : i have updated one+ 3T and Sony Z 2, inside LOS 14.1, updated to LOS 15.1, this 2 phones work no with OREO.
i mean, this updates for Android 7 core and i need now LOS 15.1 for installing on Android 8 core.
my knowledge : i am wait on LOS 15.1, written for OREO-Core.
the first version H9L came with factory-Android 7, all LOS 14.1 (RR ...) work on this
my phone is from February 2018 and have factory-OREO on board
with OREO begin a new era
essence : i am to fast with this phone and OREO wait on developer's
but - the factory-OREO work good enough for me (with root) - only : i am LOS-fan since many year :angel:
i am test https://forum.xda-developers.com/9-lite/development/kangvip-rom-emui-8-0-t3775904
for first oreo-developer-rom work good. it is stock-rom with modified menu ( menu / advanced settings).
It would seem that for me Flashing the TWRP Recovery (or any other, tried Orangefox too) doesn't work. I would really appreciate some input on this.
Here's some info:
- Redmi 4
- MIUI 10.2 | Stable // 10.2.2.0(MBECNXM)
- Android version 6.0.1
- Android Security Patch level 2018-04-01
- Unlocked the Phone (Successfully)
- Booted into fastboot
- used "fastboot flash recovery <filename>.img" to flash the twrp image (also tried older versions of the twrp image; also tried the orange fox recovery image)
It gives me the following output:
Code:
C:\Minimal ADB and Fastboot> fastboot flash recovery twrp.img
Sending 'recovery' (36040 KB) OKAY [ 1.002s]
Writing 'recovery' OKAY [ 0.977s]
Finished. Total time: 2.046s
- I proceed to use "fastboot boot twrp.img"
It gives me the following output:
Code:
C:\Minimal ADB and Fastboot> fastboot boot twrp.img
Sending 'boot.img' (36040 KB) OKAY [ 1.001s]
Booting FAILED (remote: 'dtb not found')
fastboot: error: Command failed
Now unto the errors / things I've tried:
- If I try to just use "fastboot reboot" -> it proceeds to eternally get stuck on the "mi.com" loading screen
- If I try to use the "standard" power off > Power + Vol Up -> The phone boots into the Chinese interface which is not TWRP (yellow big buttons, bottom button is blue) -> I change the language to english, hit "Recovery" and it yet again either stays stuck or boots into Mi 3.0 Recovery
I have tried all TWRP Santoni versions currently officially available on the official TWRP site.
All give me the same error if I try to boot the recovery direclty through fastboot as seen above: "(remote: dtb not found)"
can anyone please help me with this?
Flash latest stock ROM with fastboot first without re locking bootloader, boot into it, and then flash twrp 3.2.3-1 official from fastboot again, and then disconnect the phone and reboot into recovery with vol up + down + power button and ensure that you have downloaded lazyflasher into your phone storage, and after booting twrp, flash lazyflasher, clear cache and reboot system. Done!
Lineage 17.1 for the Sony Xperia 10 II
Please note this is currently for the dual-sim model ONLY. When you need a single-sim variant leave a comment, so we can work an that...
Code:
/*
* Disclaimer - your warranty may be void.
*
* I'm not responsible for bricked devices, dead OTGs or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Features
OTA updates - always delayed for 1 day (to prevent broken rollouts); when you want it immediately, checkout my GitLab pipelines
Increased volume steps to 25
Over-provisioned system image (580MiB), to allow install of OpenGApps and other stuff
Open Source (it is based on SODP, you can view all my patches and ci scripts here or here)
Package signature spoofing (needed by MicroG)
What does not work?
Stock camera app with wide and zoom cameras, you may use Open Camera to circumvent that.
Notification LED blinking - kernel driver bug (see here)
LiveDisplay
You tell me...
Download
There you have multiple options:
To get the complete package (both including the ota and imgparts; only needed for the initial setup) visit...
AndroidFileHost
GitLab (make sure to download the artifacts from the master branch)
To get ONLY the OTA package to update your system later on, visit (or open up the LineageOS Updater) ota.simonmicro.de - please note that only the last recent 14 days are accessible there.
Changelog
2021-02-28
Fixed wifi hotspot.
2020-12-18
Fixed cameras.
2020-11-27
Fixed ADB security.
2020-11-25
Added SELinux support.
2020-11-20
Added OpenGApps support.
2020-11-17
Initial release.
How to install your system
The following guide assumes, you have setup adb and fastboot already (make sure to always use the latest version of the toolkit, otherwise you'll may get problems during flashing) - for that take a look into the internet. Also you should already downloaded the complete package from above!
Unlock the bootloader - a "how to" is here...
Download the oem binaries from here, make sure to use exactly that version!
Boot into the bootloader (hold "Volume up + Insert the USB cable" until led lights blue) and then update the oem partition:
Code:
fastboot flash oem_a [EXTRACTED_OEM_IMAGE_FILE]
fastboot flash oem_b [EXTRACTED_OEM_IMAGE_FILE]
Flash now the Lineage recovery partition as well as the dtbo partition (they are inside the img folder of the complete package):
Code:
fastboot flash recovery [EXTRACTED_RECOVERY_IMAGE_FILE]
fastboot flash dtbo [EXTRACTED_DTBO_IMAGE_FILE]
Disable the verity checks for now, as your new recovery violates the Sony verity profiles of the Stock ROM:
Code:
fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img
fastboot flash --disable-verity --disable-verification vbmeta_system vbmeta_system.img
Okay, you are now ready to boot the first time into the Lineage recovery, unplug the phone NOW!
To boot into recovery: Hold "Volume down + Power" until it vibrates...
You should now be booted into the recovery. We now clean any old data from Sonys Stock ROM - this is just to make sure you have a really clean install: Choose the "Factory reset" option.
The phone is now clean and ready to accept the new system. You now can either install just the OTA package and be done or flash every .img from the full package manually - the coice is yours. When you plan to flash the images manually, make sure to include boot, system, product, vendor, vbmeta_system, as these are normally part of the OTA update (I extracted the payload.bin to verify this!). For the latter approach you may orient yourself on my flashall.sh. I'll choose the simpler OTA-sideload approach for now.
Select "Apply update -> Apply from ADB" (now make sure the adb server runs as root - may use adb kill-server && sudo adb start-server to fix that) and execute (the OTA zip is inside the ota subdir):
Code:
adb sideload [OTA_SYSTEM_UPDATE_ZIP_FILENAME]
Something went wrong - help!
(Step 7-8) When you now see a device corrupt error
Don't panic!
You messed up the verity disable step from before - try again.
Try to switch the current boot slot (get current fastboot getvar current-slot and set new fastboot --set-active=, you can choose between a and b) and retry disableing verity disable again!
When your device fails to boot too many times (and crashes) the current slot could also get marked as corrupt. To reset that counter you'll need to reflash the boot partition - to see what is going on, try fastboot getvar all and look out for something like a unbootable flag.
(Step 9) When you get Operation not permitted during flashing
This is commonly caused by relocking and then reunlocking the bootloader (yay - buggy firmware). You'll need to relock, restore (and boot) the device with Flashtool using Sonys original ROM and start from fresh.
(Step 10) When you get the kDownloadPayloadPubKeyVerificationError error
Well, that's caused by using an other recovery than the provided one, as I use my own private keys to sign the build the recovery must also know them. Using an other recovery than the one from
the img folder of the complete package will most likely not include them (and when they do - I am in big trouble), and therefore fail. But you are in luck: It seems that the recovery writes
the data to the currently inactive slot and then fails. You could simply switch the system slot like described above!
Want to install Magisk?
Install the Magisk zip like the OTA system update by using adb sideload [MAGISK_FILE_NAME].
Want to install OpenGApps?
Make sure to use the pico-variant, as the system partition is even with over-provisioning really small (as the installer extracts some more stuff on the first boot) - then install the OpenGApps zip like the OTA system update by using adb sideload [OPENGAPPS_FILE_NAME].
Credits
As much I would like, I can't do everything by myself. A huge thank you to...
@MartinX3 for the used local_manifests and his device tree from his LineageOS organization
...the team behind @sonyxperiadev, for their great work (and their kernel sources)!
XDA:DevDB Information
LineageOS 17.1 for pdx201, ROM for the Sony Xperia 10 II
Contributors
Simonmicro, MartinX3
Source Code: https://gitlab.simonmicro.de/android/lineage/lineage-pdx201
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: Sony OEM Package
Based On: AOSP
Version Information
Status: Beta
Hey,
as you guys may have already noted, I have stopped the active development phase for this LOS port a while ago. This was caused by me just not having enough time to do everything and additionally maintain a LOS port.
Today I'll upload the last maintenance build to the OTA server and mirrors. Of course I somehow included a little bug, which causes the system to complain about "an internal problem", which seem to be caused by some interaction with the OpenGApps package installer. Now, it is a feature. I'll may post one more update, if I figure this one out.
Nevertheless, I'll shut down the OTA service at 2022-06-01 (see https://status.simonmicro.de) and will then archive all project data. It was a great time to learn many (new/nasty) things about Android and how everything works. I have to say "thank you" to everyone, who supported me and was on board with this project.
See you next time,
simonmicro
-> https://forum.xda-developers.com/t/...r-xperia-10-ii-ota-sodp.4191601/post-86352693 <-
Reserved
First
At last The guide, source code looks great! Will install, check it next
hmm, i flashed everything according to the instructions, but the system still looks the same as Sjll's ROM and there is no updater in settings>system. anyone else getting this?
EDIT: nevermind, all is well, i was on the wrong slot.. : / wish we wouldn't have to deal with this, TWRP+lineage+one slot was perfect. this is not about the ROM though, it's awesome.
bamdadkhan said:
hmm, i flashed everything according to the instructions, but the system still looks the same as Sjll's ROM and there is no updater in settings>system. anyone else getting this?
EDIT: nevermind, all is well, i was on the wrong slot.. : / wish we wouldn't have to deal with this, TWRP+lineage+one slot was perfect. this is not about the ROM though, it's awesome.
Click to expand...
Click to collapse
- you made my day. Now I know which ROM you used before
No serious: Did you follow the guide step-by-step or did you altered it in some way (maybe forgot to reboot after switching slots) - as it should normally flash both slots (when using ota), even when not you should be at least on the right slot after flashing?!
Simonmicro said:
- you made my day. Now I know which ROM you used before
No serious: Did you follow the guide step-by-step or did you altered it in some way (maybe forgot to reboot after switching slots) - as it should normally flash both slots (when using ota), even when not you should be at least on the right slot after flashing?!
Click to expand...
Click to collapse
lol it's easy to know when the ROM in question is the only available aside from yours xd
seriously: i followed all the steps to the letter. flashed the SW binaries on both oem_a and oem_b. really everything.
i have a theory though. i originally flashed your ROM when 'side b' had previously been set active. if this persists across reboots - i really don't know, this whole 'dual ROM' concept is new to me - then there's your answer: the lineage install script probably has a command to use 'side a' for flashing. is completed successfully, but then i went ahead and booted the 'side b', which still had Sjll's ROM on it.
bamdadkhan said:
lol it's easy to know when the ROM in question is the only available aside from yours xd
seriously: i followed all the steps to the letter. flashed the SW binaries on both oem_a and oem_b. really everything.
i have a theory though. i originally flashed your ROM when 'side b' had previously been set active. if this persists across reboots - i really don't know, this whole 'dual ROM' concept is new to me - then there's your answer: the lineage install script probably has a command to use 'side a' for flashing. is completed successfully, but then i went ahead and booted the 'side b', which still had Sjll's ROM on it.
Click to expand...
Click to collapse
Well, I also tested my guide to the letter - and there i saw on my device screen that the ota flashed on both partitions. Did you also used my recovery? When you did: Lets see if others also have that problem... :angel:
Simonmicro said:
Well, I also tested my guide to the letter - and there i saw on my device screen that the ota flashed on both partitions. Did you also used my recovery? When you did: Lets see if others also have that problem... :angel:
Click to expand...
Click to collapse
Great job, thank you. Can I install NikGapp? Or does it also cause bootlaps?
Thapsus-cz said:
Great job, thank you. Can I install NikGapp? Or does it also cause bootlaps?
Click to expand...
Click to collapse
On their website:
Code:
OpenGapps Team (for base package and providing Open Gapps)
Therefore is a really good chance that the installer has the same problems like OpenGApps - but I can't say that for sure, I guess you'll need to try it out (when is does bootloop / never starts, please send me a adb logcat -b all for further diagnostics).
Done till the step 9.
Tried the second way first (flashing images). Please see the log for this below.. Then tried OTA way. OTA way did with 0 exit status (it sent files) but when I boot device it writes "Your device is corrupt. It can't be trusted and will not boot. Your device will be powered off in 5 seconds". How to fix?
Also when I load into recovery it writes this:
E: Failed to bind mount /mnt/staging/mulated/media/0 to /storage/emulated: NO such file or directory.
E: emulated failed to bind mount /mnt/stagingemulated/media/0 on /storage/meulated: No such file or directory.
Click to expand...
Click to collapse
See full log for flashing images:
sudo fastboot flash boot boot.img
sudo fastboot flash system system.img
sudo fastboot flash product product.img
sudo fastboot flash vendor vendor.img
sudo fastboot flash vbmeta_system vbmeta_system.img
[sudo] пароль для :
Sending 'boot_b' (65536 KB) OKAY [ 2.441s]
Writing 'boot_b' OKAY [ 0.358s]
Finished. Total time: 2.812s
Sending sparse 'system' 1/2 (785636 KB) OKAY [ 29.722s]
Writing 'system' FAILED (remote: 'No such partition.')
fastboot: error: Command failed
Sending 'product' (432072 KB) OKAY [ 16.440s]
Writing 'product' FAILED (remote: 'No such partition.')
fastboot: error: Command failed
Sending 'vendor' (48084 KB) OKAY [ 1.725s]
Writing 'vendor' FAILED (remote: 'No such partition.')
fastboot: error: Command failed
Sending 'vbmeta_system' (4 KB) OKAY [ 0.005s]
Writing 'vbmeta_system' OKAY [ 0.003s]
Finished. Total time: 0.016s
❯ sudo fastboot flash boot boot.img
sudo fastboot flash system system.img
sudo fastboot flash product product.img
sudo fastboot flash vendor vendor.img
sudo fastboot flash vbmeta_system vbmeta_system.img
❯ sudo fastboot flash boot boot.img
sudo fastboot flash dtbo dtbo.img
sudo fastboot flash product product.img
sudo fastboot flash recovery recovery.img
sudo fastboot flash super_empty super_empty.img
sudo fastboot flash system system.img
sudo fastboot flash vbmeta vbmeta.img
sudo fastboot flash vbmeta_system vbmeta_system.img
sudo fastboot flash vendor vendor.img
Sending 'boot_b' (65536 KB) OKAY [ 2.438s]
Writing 'boot_b' OKAY [ 0.378s]
Finished. Total time: 2.831s
Sending 'dtbo' (8192 KB) OKAY [ 0.302s]
Writing 'dtbo' OKAY [ 0.046s]
Finished. Total time: 0.357s
Sending 'product' (432072 KB) OKAY [ 16.212s]
Writing 'product' FAILED (remote: 'No such partition.')
fastboot: error: Command failed
Sending 'recovery' (98304 KB) OKAY [ 3.699s]
Writing 'recovery' OKAY [ 0.557s]
Finished. Total time: 4.265s
Sending 'super_empty' (4 KB) OKAY [ 0.011s]
Writing 'super_empty' FAILED (remote: 'No such partition.')
fastboot: error: Command failed
Sending sparse 'system' 1/2 (785636 KB) OKAY [ 29.755s]
Writing 'system' FAILED (remote: 'No such partition.')
fastboot: error: Command failed
Sending 'vbmeta' (4 KB) OKAY [ 0.009s]
Writing 'vbmeta' OKAY [ 0.003s]
Finished. Total time: 0.021s
Sending 'vbmeta_system' (4 KB) OKAY [ 0.003s]
Writing 'vbmeta_system' OKAY [ 0.004s]
Finished. Total time: 0.014s
Sending 'vendor' (48084 KB) OKAY [ 1.770s]
Writing 'vendor' FAILED (remote: 'No such partition.')
fastboot: error: Command failed
Click to expand...
Click to collapse
xdauserart said:
Done till the step 9.
Tried the second way first (flashing images). Please see the log for this below.. Then tried OTA way. OTA way did with 0 exit status (it sent files) but when I boot device it writes "Your device is corrupt. It can't be trusted and will not boot. Your device will be powered off in 5 seconds". How to fix?
Also when I load into recovery it writes this:
See full log for flashing images:
Click to expand...
Click to collapse
I had the same problem yesterday with the same results. I struggled with it until morning. Eventually I downloaded the latest version of adb, flashed the stock rom again and started over. It was done in twenty minutes. Try the latest version of adb (I guess version 35 for Windows)
xdauserart said:
Done till the step 9.
Click to expand...
Click to collapse
...
Code:
Sending sparse 'system' 1/2 (785636 KB) OKAY [ 29.722s]
Writing 'system' FAILED (remote: 'No such partition.')
fastboot: error: Command failed
This indicates you tried to use the bootloader (which also has fastboot support) to flash the images. I made sure to write the guide the way that it states you should use the fastbootd service of the recovery. I have the dumb feeling that many more will go your way and fail. Damn it.
Code:
E: Failed to bind mount /mnt/staging/mulated/media/0 to /storage/emulated: NO such file or directory.
E: emulated failed to bind mount /mnt/stagingemulated/media/0 on /storage/meulated: No such file or directory.
Is fine, as you just erased all data - this also kills the partion so it cant be mounted anymore (that's the errors). This is indeed intentional as the system is now forced to really start fresh!
xdauserart said:
Your device is corrupt. It can't be trusted and will not boot. Your device will be powered off in 5 seconds"
Click to expand...
Click to collapse
Did you tried the help of my guide? When you failed that and your device rebooted too many times (or it just could not boot and crashed too many times) you'll need to reflash the boot partition to reset the counter (and therefore the failure message).
Two PR to fix back triple cam. But front cam is still broken.
https://github.com/sonyxperiadev/device-sony-seine/pull/29
https://github.com/sonyxperiadev/device-sony-pdx201/pull/15
--------------EDIT-----------------
Switch to CAF powerhal, better performance we have.
https://github.com/sjllls/device-sony-common/commit/de3b2bbbc33130891263d9e81ea2178a0f6783c4
https://github.com/sjllls/device-sony-sepolicy/commit/72059258eb0ff2c854996a05a5a23a8b73b55459
--------------EDIT-----------------
Renmember to let users flash with latest platform-tools, or they could not boot because of logical partition is not resized.
https://developer.android.com/studio/releases/platform-tools
Simonmicro said:
On their website:
Code:
OpenGapps Team (for base package and providing Open Gapps)
Therefore is a really good chance that the installer has the same problems like OpenGApps - but I can't say that for sure, I guess you'll need to try it out (when is does bootloop / never starts, please send me a adb logcat -b all for further diagnostics).
Click to expand...
Click to collapse
I can confirm that Opengapps pico can now be installed without a bootloop. I'm at work and I don't have adb. I installed them directly as an update from the sd card using recovery. Everything works fine.
Can we get OpenGapps Nano support?
I know that OpenGapps pico are supported, but most people use the nano package as it contains some functions that aren't possible to obtain in any other way
so is that possible?
KriiXOne said:
I know that OpenGapps pico are supported, but most people use the nano package as it contains some functions that aren't possible to obtain in any other way
so is that possible?
Click to expand...
Click to collapse
As I already drastically over-provisioned the system partition, I guess it could be possible that the nano package already works: In that case try it for yourself! When it goes wrong you can just switch over to your slot used before flashing the bad OpenGApps zip. Please PN me about your result, so I could extend the guide!
Simonmicro said:
As I already drastically over-provisioned the system partition, I guess it could be possible that the nano package already works: In that case try it for yourself! When it goes wrong you can just switch over to your slot used before flashing the bad OpenGApps zip. Please PN me about your result, so I could extend the guide!
Click to expand...
Click to collapse
I'll try tomorrow after the math test that i'm studying for today, and will let ya know ^^'
Simonmicro said:
...
Did you tried the help of my guide? When you failed that and your device rebooted too many times (or it just could not boot and crashed too many times) you'll need to reflash the boot partition to reset the counter (and therefore the failure message).
Click to expand...
Click to collapse
Fixed it Just repeated the steps from the first one and used OTA on step 9. Thanks!
I searched a lot of articles all flashed to the recovery partition
Code:
>fastboot flash recovery boot_twrp_UNOFFICIAL.img
Sending 'recovery' (65536 KB) OKAY [ 2.062s]
Writing 'recovery' FAILED (remote: 'This partition doesn't exist')
fastboot: error: Command failed
I found some information that Android 11 uses Virtual A/B
Do I need to modify boot.img to install custom recovery in Android 11?
AceSheep said:
I searched a lot of articles all flashed to the recovery partition
Code:
>fastboot flash recovery boot_twrp_UNOFFICIAL.img
Sending 'recovery' (65536 KB) OKAY [ 2.062s]
Writing 'recovery' FAILED (remote: 'This partition doesn't exist')
fastboot: error: Command failed
I found some information that Android 11 uses Virtual A/B
Do I need to modify boot.img to install custom recovery in Android 11?
Click to expand...
Click to collapse
fastboot boot twrp.img
Go ti advanced and install current twrp
Otherwise u can installiert it temporarly on boot, fastboot flash Boot twrp.IMG
Now you can Boot into it using hardwarebuttons....Herr u can flash it finaly
Did u find a working twrp....this one here doesnt work....also otg mouse not working in that one
bambamGN2 said:
Otherwise u can installiert it temporarly on boot, fastboot flash Boot twrp.IMG
Now you can Boot into it using hardwarebuttons....Herr u can flash it finaly
Did u find a working twrp....this one here doesnt work....also otg mouse not working in that one
Click to expand...
Click to collapse
I use a type-c hub to connect a wireless mouse and it works
I used this command and it didn’t work normally, it will enter the system normally after restart
Code:
>fastboot boot images\boot_twrp_UNOFFICIAL.img
Sending 'boot.img' (65536 KB) OKAY [ 1.735s]
Booting FAILED (Status read failed (Too many links))
fastboot: error: Command failed
This command can start to TWRP but cannot install it
Code:
>fastboot flash boot_b images\boot_twrp_UNOFFICIAL.img
>fastboot set_active b
>fastboot reboot
Do I still need to unpack boot.img and copy the ramdisk file
AceSheep said:
I used this command and it didn’t work normally, it will enter the system normally after restart
Code:
>fastboot boot images\boot_twrp_UNOFFICIAL.img
Sending 'boot.img' (65536 KB) OKAY [ 1.735s]
Booting FAILED (Status read failed (Too many links))
fastboot: error: Command failed
This command can start to TWRP but cannot install it
Code:
>fastboot flash boot_b images\boot_twrp_UNOFFICIAL.img
>fastboot set_active b
>fastboot reboot
Do I still need to unpack boot.img and copy the ramdisk file
Click to expand...
Click to collapse
fastboot boot twrp_UNOFFICIAL.img
This work for sure
This topic is great, but I'm afraid many of us would totally miss the information in here, do anyone has the will to turn the information here into a little "how to TWRP" guide as a topic here? That would be awesome!
My device is Redmi Note 10 5G China and the EEA rom flashed. Using twrp will get stuck in the logo and cannot enter.
Before that, I can start twrp using China rom. I'm still looking for reasons
----------
P.S. Does anyone know how to compile twrp for Android 11? I need a little help
AceSheep said:
----------
P.S. Does anyone know how to compile twrp for Android 11? I need a little help
Click to expand...
Click to collapse
No but maybe this helps????
Make A TWRP Tree For Your Device & Build.md
GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
i suggest for now stay on stock recovery. you can root phone installing magisk via fastboot. and the only way to try custom rom is flashing the gsi ported generic rom. the nippon gsi telefram group have a lot of gsi. but my advice is wait miu13 update. most of gsi have audio incompatibility. but if you like aosp roms this is the only way. mtk full custom roms for our device dont exist