Hi guys,
I'm heavy in trouble with my Xperia Z1 tablet since I have flashed LineageOS 15.1 on that tablet by TWRP.
Short version:
The problem:
I was not be able to copy the TWRP to /FOTA partition by TWRP before. Since TWRP was replaced by a LineageOS recovery in the /boot partition and I do not find a way to install TWRP by this Lineage recovery, now I have a device with Lineage recovery only.
Long version
What did I do:
(1) The Lineage 15.1 was working fine for 5 minutes but when I have realized that I forget to install GApps I went to the recovery mode and surprisely the Lineage recovery was started.
(2) Now I did the mistake to wipe the /system and cache using that LineageOS recovery
(3) When I try to reinstall the 'twrp-3.2.3-0-pollux.img' or 'lineage-15.1-20190330-nightly-pollux-signed.zip' by Lineage recovery from SD card, the installation breaks with an error
"E:Unable to open /sideload/package.zip : Tranport endpoint is not connected
E:failed to map file
Installation aborted.".
Conclusion
Now I have a device with empty /FOTA and empty /system partition. The Lineage recovery is the only once I have on my device.
Also I'm wondering that the device is recognized as Android fastboot device from now on when I boot into bootloader.
Does there a way to reanimate my Xperia Z1 or do I have a valueable brick from now on ??
How can I write images to the /boot partition by Lineage recovery?
Thanks for help
Tom
Solved
Hi guys again,
thank you for your valuable support. I was be able to solve this issue by myself using the "fastboot" tool. With fastboot you can download a new fresh TWRP on '/boot' so that I was be ablte to install a new custom ROM.
Thanks
Tom
Tom_Scott said:
Hi guys again,
thank you for your valuable support. I was be able to solve this issue by myself using the "fastboot" tool. With fastboot you can download a new fresh TWRP on '/boot' so that I was be ablte to install a new custom ROM.
Thanks
Tom[/QUOTE
I've the same problem with my pollux windy. It's impossible for me to boot my tablet. And unfortunately, i want to flash recovery in fastboot mode but don't works. I ve a problem with windows 10 who not recognize the driver. Help me please ? How have you proceed to soluce ??????
Click to expand...
Click to collapse
jeromelec said:
I've the same problem with my pollux windy. It's impossible for me to boot my tablet. And unfortunately, i want to flash recovery in fastboot mode but don't works. I ve a problem with windows 10 who not recognize the driver. Help me please ? How have you proceed to soluce ?
Click to expand...
Click to collapse
Sorry, I have Windows 7. The drivers works on my Windows 7. But I guess that the drivers are working on Windows 10 also.
Related
Hey guys,
I'm facing a huge problem at the moment.
I played around with flashing new roms over my OOS 3.14 rom.
First i installed the Dirty Unicorns N Rom from 11/18, then I updated my TWRP to the latest Version with flashify..which was a huge mistake.
After I installed the revovery i realized that the camera doesnt work with the DU rom and - of course- tried to reboot to recovery to clean flash it again.
That's the point where the problem occurs, Recovery won't boot anymore, just the OnePlus Logo and "powered by android"
Normally I'd use fastboot to simply flash a new recovery but the thing is that my usb port is somehow broken and does not
Get recognised by any pc or any usb cable.
Can I "recover" my recovery without fastboot on the PC? Maybe with the Terminal-App from the Playstore?
Please help my stupid a**
Thanks in advance!
No recovery but ROM is booting?
Is your device rooted?
If yes did you tried flashify?
That's really your only option without a PC. Maybe try flash blu spark v41 twrp with the app Rashr. But I think you really need a computer.
farooque7508 said:
No recovery but ROM is booting?
Is your device rooted?
If yes did you tried flashify?
Click to expand...
Click to collapse
Rom is booting but buggy!
device is rooted!
Flashify won't work because it cant flash a new recovery if theres no old recovery to replace
I'll try Rashr and Flashify again, when my connection gets better.
Exodusche said:
That's really your only option without a PC. Maybe try flash blu spark v41 twrp with the app Rashr. But I think you really need a computer.
Click to expand...
Click to collapse
Hey, just tried flashing bluspark v41 twrp with rashr and it worked instantly!
Thank you sooo much!!:laugh:
You should know that the recovery is written to a partition in your storage. So, if you have a terminal with root acces you can simply run something like
Code:
cat /dev/block/bootdevice/by-name/recovery > recovery_backup.img
to backup your recovery
and
Code:
cat twrp.img > /dev/block/bootdevice/by-name/recovery
to write a file to your recovery.
[Without any additional app in situations where you don't have one.]
Here is the twrp for our device
It is built from source and not ported.
Download the recovery image and install it in using flashboot using "fastboot flash recovery nameofthefile.img"
But make sure you are having adb and fastboot installed with drivers
3.1.1.0 is twrp.img and 3.2.1.0 is recovery.img
Here is the link
TWRP
Guys recovery.img is 3.2.1.0 twrp and twrp.img is 3.1.1.0 but 3.1.1.0 is able to backup oreo firmware and restore it but 3.2.1.0 is giving errors. 3.1.1.0 is more stable than 3.2.1.0 for us, that doesn't mean it can't flash zips the thing is it can't do backups and restore. I would prefer to use 3.1.1.0 for stability.
Bugs
Battery% is stuck at 50
Device Tree:Device Tree
Developer:Maanush Putcha aka M.A.P or Maanush2004
Credits: All members of
Lenovo K8/Plus/Note Group for inspiration
Dont forget to hit thanks button:good:
M.A.P said:
Here is the twrp for our device
It is built from source and not ported.
Download the recovery image and install it in using flashboot using "fastboot flash recovery recovery.img"
But make sure you are having adb and fastboot installed with drivers
Here is the link
recovery.img
Bugs
Battery% is stuck at 50
Device Treeevice Tree
Developer:Maanush Putcha aka M.A.P or Maanush2004
Credits: All members of
Lenovo K8/Plus/Note Group for inspiration
Dont forget to hit thanks button:good:
Click to expand...
Click to collapse
Will it work on latest update ? An another update came after Oreo update , which also includes security patch..
Will this twrp work in this new software update ?
Tillak said:
Will it work on latest update ? An another update came after Oreo update , which also includes security patch..
Will this twrp work in this new software update ?
Click to expand...
Click to collapse
Of course. Also LineageOS on the way it already booted but having few bugs which I'll fix
M.A.P said:
Of course. Also LineageOS on the way it already booted but having few bugs which I'll fix
Click to expand...
Click to collapse
Thanks Bro,Also please try to make ResuurectionRemix ,By the way Does the given Kernel support Android 8?
Vadeghar.shravan said:
Thanks Bro,Also please try to make ResuurectionRemix ,By the way Does the given Kernel support Android 8?
Click to expand...
Click to collapse
For now we should stick with prebuilt kernel for oreo as lenovo didn't release sources
Lenovo k8 note twrp encrypting again and again
I'm using Lenovo k8 note ,I have flashed latest twrp recovery in my mobile ,it shows internal storage 0 in twrp recovery so I have formated, and then rebooted again to twrp recovery to confirm that it's showing my internal storage ,it shows internal storage correctly.
Then I turned on my mobile and rebooted after 15min again it's showing internal storage 0 and I'm unable to mount internal storage also
Please help me I have formated 5 to 6 times but it shows internal storage 0 again I can't decrypt my mobile
Pravinke said:
I'm using Lenovo k8 note ,I have flashed latest twrp recovery in my mobile ,it shows internal storage 0 in twrp recovery so I have formated, and then rebooted again to twrp recovery to confirm that it's showing my internal storage ,it shows internal storage correctly.
Then I turned on my mobile and rebooted after 15min again it's showing internal storage 0 and I'm unable to mount internal storage also
Please help me I have formated 5 to 6 times but it shows internal storage 0 again I can't decrypt my mobile
Click to expand...
Click to collapse
Flash magisk after formatting internal storage
Thanks bro, but it is not fixed by installing magisk after formatting internal
It has been fixed by following steps as given below
1) I formatted my internel storage in TWRP
2)flashed force decrypt.zip which was given in XDA developers
3)again formatted my internal in twrp, then I rebooted my mobile
4)again I rebooted to TWRP recovery and installed magisk manager
Bro could you please explain the procedure to install it. I've unlocked the bootloader what to do next??
Niallx said:
Bro why is there two files???
Click to expand...
Click to collapse
M.A.P said:
Here is the twrp for our device
It is built from source and not ported.
Download the recovery image and install it in using flashboot using "fastboot flash recovery nameofthefile.img"
But make sure you are having adb and fastboot installed with drivers
3.1.1.0 is twrp.img and 3.2.1.0 is recovery.img
Here is the link
TWRP
Guys recovery.img is 3.2.1.0 twrp and twrp.img is 3.1.1.0 but 3.1.1.0 is able to backup oreo firmware and restore it but 3.2.1.0 is giving errors. 3.1.1.0 is more stable than 3.2.1.0 for us, that doesn't mean it can't flash zips the thing is it can't do backups and restore. I would prefer to use 3.1.1.0 for stability.
Bugs
Battery% is stuck at 50
Device Treeevice Tree
Developer:Maanush Putcha aka M.A.P or Maanush2004
Credits: All members of
Lenovo K8/Plus/Note Group for inspiration
Dont forget to hit thanks button:good:[/QU
My device is Lenovo k 8 note. I'm trying this method and not able to install twrp. In cmd everything ok. What can I do
Click to expand...
Click to collapse
@Niallx
Bro are you asking about (force encrypt.zip )and ( force decrypt.zip) ?
1).Force encrypt.zip will lock your internal storage , then it will show as internal storage 0(ie it will hide internal storage) in twrp after rebooting
2)force decrypt will unlock your internal storage,then it will show internal storage files in twrp (in force encrypt internal storage will be not shown)
To show your internal storage you should flash force decrypt.zip and then you should formate your internal storage in twrp (if you are not doing this your internal storage will be hidden & shown as 0mb )
no command error
When i boot into recovery it shows no command with a laid down android symbol...i used the stabe recocvery ver 3.1.1.0 i.e twrp.img.
Pls help
I have installed Oreo twrp beta.img in my Lenovo k8 note two times successfully. And factory reset device using twrp. Then internal storage is ok. After reboot the system the bootloader is stuck. Device is hard brick.
Derrick007 said:
When i boot into recovery it shows no command with a laid down android symbol...i used the stabe recocvery ver 3.1.1.0 i.e twrp.img.
Pls help
Click to expand...
Click to collapse
I solved it :angel:
Derrick007 said:
I solved it :angel:
Click to expand...
Click to collapse
Tell us how
sagardhiman007 said:
Tell us how
Click to expand...
Click to collapse
When no cammand screen appears
Press and hold power button for 2-3 seconds and then press volume up button
byomdw said:
When no cammand screen appears
Press and hold power button for 2-3 seconds and then press volume up button
Click to expand...
Click to collapse
did it boot to twrp or normal recovery?
because I flashed twrp successfully but after reboot i got only normal recovery not twrp
softmaster3 said:
did it boot to twrp or normal recovery?
because I flashed twrp successfully but after reboot i got only normal recovery not twrp
Click to expand...
Click to collapse
These instructions are for stock recovery only...
For flashing twrp use these command:
Code:
fastboot flash recovery twrp.img
And then
Code:
fastboot oem reboot-recovery
what about decryption, is it working? i read "format data" or "disable forceencrypt" everywhere, but this is not a fix for decryption, it just removes the encryption. twrp is able to decrypt encrypted userdata, for some devices out of the box with default_password
so anyone successfully used this twrp with encryption? in the other two threads, decryption is mentioned as bug, but not here... does that mean you fixed it?
other question, can someone provide lk.bin + seccfg.bin (unlocked bootloader) would be helpful
Hello,
I was wondering if some could help me please. I wanted to flash RR Rom 6.0 on my BLA-L09(I think that what's it is) phone.
I was able to unlock my boot loader, and flash TWRP my device but my dumb s*** flashed TWRP to my file system use FLASH SYSTEM instead of FLASH RECOVERY. Now, I can't fix it ?. I know I can use sideload so I'm not panicking just yet however I know I messed up the file system.
Could someone tell me what file system system I should be using (fat, exfat, ext4, etc...) and what to do to get this think to boot backup.?
I've tried and side loading "update_full_BLA-L29_hw_la.zip" stock ROM but no luck... I keep getting this error message:
"check_write_data_to_partition,write data error
Update_huawei_pkg_from_ota_zip: update package from zip failed
Updated process ended with error: 9"
HELP.!!!
me too..... following searching for a solution
Shandroid_94 said:
me too..... following searching for a solution
Click to expand...
Click to collapse
If you find anything, let me know.!
Just boot to fastboot, flash RR to system and TWRP to recovery_ramdisk?
Hello all,
It's a long time that's i haven't post a thread here but i have a question.I have a Poco with MIUI Global 9.6 Stable (9.6.25.0) for ROM with a Android Version 8.1.0 OPM 171019.011 with root acces, unlocking bootloader and TWRP 3.3.0-0 installed.
I would upgrade my phone to something "newer" (A ROM with Android 12 if possible) and conserv the root access and my apps.
I have read that now ,we should have 3 files to do that (firmware,system and vendor) to make a wipe and install new ROM with TWRP.
So my question:
-Is it possible to upgrade Android 8.1.0 to Android 12 witn a new ROM? (i have read something about kernel in Android12 but haven't understand all)
-Have i missed some steps or just download files,boot TWRP,wipe and install newer ROM+firmware and vendor appropriate is good?
-Which ROM do you recommend?
Thanks for the previous answers.
devil1 said:
Hello all,
It's a long time that's i haven't post a thread here but i have a question.I have a Poco with MIUI Global 9.6 Stable (9.6.25.0) for ROM with a Android Version 8.1.0 OPM 171019.011 with root acces, unlocking bootloader and TWRP 3.3.0-0 installed.
I would upgrade my phone to something "newer" (A ROM with Android 12 if possible) and conserv the root access and my apps.
I have read that now ,we should have 3 files to do that (firmware,system and vendor) to make a wipe and install new ROM with TWRP.
So my question:
-Is it possible to upgrade Android 8.1.0 to Android 12 witn a new ROM? (i have read something about kernel in Android12 but haven't understand all)
-Have i missed some steps or just download files,boot TWRP,wipe and install newer ROM+firmware and vendor appropriate is good?
-Which ROM do you recommend?
Thanks for the previous answers.
Click to expand...
Click to collapse
It's not possible to switch from stock ROM to custom without doing clean install. You will have to root again.
First update to latest Official Stock ROM, then take backup of your files to your PC or to SDCard (if you have one) , flash to latest Official TWRP and check my POCO F1 Ultimate Collection & Guides. You can find everything there. I have awarded recommended ROMs in my collection.
Feel free to ask if you have any question regarding the guides.
Thanks for the answer.I have begin to read your guides.
If i understand good,it's not possible to conserv my root,unlock bootloader and twrp when i upgrade to android 12? Automaticaly i should root again my phone and restore with titanium backup my files,contact,....?
devil1 said:
Thanks for the answer.I have begin to read your guides.
If i understand good,it's not possible to conserv my root,unlock bootloader and twrp when i upgrade to android 12? Automaticaly i should root again my phone and restore with titanium backup my files,contact,....?
Click to expand...
Click to collapse
First you need to take backup of your files to PC or External SDCard.
Then you should update to latest version of MIUI via OTA if it's possible or via TWRP (you can use the stock recovery rom to do it via twrp). (You can also use my guides for clean install stock rom)
Then you should unlock your bootloader if it's not already unlocked.
Then flash latest Official TWRP.
Then flash latest firmware (not vendor) just to make sure you are on the latest. (You should be on latest firmware after updating to the latest MIUI version)
Then Wipe everything + format data according to my guides and flash the ROM you want. If you choose A12 Pixel Experience or crDroid keep in mind that these ROMs use their own recovery because these are encrypted by default ROMs and TWRP can't handle the decryption of A12 encrypted ROMs yet. So to make OTA updates and that stuff work correctly devs of these ROMs decide to use their own recovery which can handle the decryption of encrypted roms and as result to make OTA update work fine. Check the installation instructions of these roms in their threads. (Afterwards you can use adb sideload to flash stuff using these recoveries)
After that, flash Magisk since you want root.
Then you can restore titanium backup if you want.
OK i follow your instruction.Thanks
Hello retrial,
I have now updating my phone to MIUI Global 12.0.3 Stable with Android Version 10QKQ1.My phone is not yet rooted and now he is encrypted.The recovery is now Mi-Recovery 3.0
I have unlock again my bootloader.
Now to follow your instruction,i should flash the latest TWRP.
I have take TWRP-3.6.0_9-0-berylium in your guide.
I think i should do Fastboot Method because i'm now in Mi-Recovery?i'm right?
No problem with the encryption?
Thanks.
i have find this video.This is not the good phone but i think that the installation is the same:
devil1 said:
Hello retrial,
I have now updating my phone to MIUI Global 12.0.3 Stable with Android Version 10QKQ1.My phone is not yet rooted and now he is encrypted.The recovery is now Mi-Recovery 3.0
I have unlock again my bootloader.
Now to follow your instruction,i should flash the latest TWRP.
I have take TWRP-3.6.0_9-0-berylium in your guide.
I think i should do Fastboot Method because i'm now in Mi-Recovery?i'm right?
No problem with the encryption?
Thanks.
Click to expand...
Click to collapse
Yes use Fastboot Method to flash TWRP. No problem with encryption.
After that follow my clean install custom rom guide to flash the ROM you want. Also please check the instructions in the threads of ROMs you want to flash. A12 crDroid and PE use their own recoveries.
Basically tell me which ROM you want to flash to help you exactly with steps.
Hello retrial,
i have a problem to install TWRP-3.6.0-9-0 on my pocophone.Everything working fine but in step 8 of your guide,i can't find my twrp.img that i have copied in 2 different case to test :
8. Boot into Recovery by typing in cmd: fastboot boot <recovery_filename>.img (The file may not be named identically to what stands in this command, so adjust accordingly and write the full path of it, check the example below).
This command will not flash permantly the recovery, it will just temporary boot into it and afterwards you will flash permantly the twrp.img you copied into your Internal Storage or SDcard in recovery partition.
For example: fastboot boot C:\Users\Retrial\Desktop\twrp-3.5.2_9-0-beryllium.img
Have you an idea to why i cannot find my twrp.img in the boot mode?
devil1 said:
Hello retrial,
i have a problem to install TWRP-3.6.0-9-0 on my pocophone.Everything working fine but in step 8 of your guide,i can't find my twrp.img that i have copied in 2 different case to test :
8. Boot into Recovery by typing in cmd: fastboot boot <recovery_filename>.img (The file may not be named identically to what stands in this command, so adjust accordingly and write the full path of it, check the example below).
This command will not flash permantly the recovery, it will just temporary boot into it and afterwards you will flash permantly the twrp.img you copied into your Internal Storage or SDcard in recovery partition.
For example: fastboot boot C:\Users\Retrial\Desktop\twrp-3.5.2_9-0-beryllium.img
Have you an idea to why i cannot find my twrp.img in the boot mode?
Click to expand...
Click to collapse
Send a screenshot what you type in cmd and where you have the twrp.img
Or you mean you can't find it in your device while you are booted on TWRP?
i cannot find the twrp.img in my device.The step 8 of your tutorial.
I have copied the files but cannot find it in the cases.I have take TWRP-3.6.0-9-0
The link of the files: https://eu.dl.twrp.me/beryllium/twrp-3.6.0_9-0-beryllium.img.html
devil1 said:
i cannot find the twrp.img in my device.The step 8 of your tutorial.
I have copied the files but cannot find it in the cases.I have take TWRP-3.6.0-9-0
The link of the files: https://eu.dl.twrp.me/beryllium/twrp-3.6.0_9-0-beryllium.img.html
Click to expand...
Click to collapse
Are you sure you select Install Image?
ok i have download an other twrp.img and this time it's ok.i can go to the end of the tutorial but when i reboot my device mi-recovery 3.0 come back.I have tried 2 times but all the time mi-recovery3.0 come back
Have you an idea?
Should i take a additional command like in the video i have send you in the thread "fastboot flash recovery"?
devil1 said:
ok i have download an other twrp.img and this time it's ok.i can go to the end of the tutorial but when i reboot my device mi-recovery 3.0 come back.I have tried 2 times but all the time mi-recovery3.0 come back
Have you an idea?
Should i take a additional command like in the video i have send you in the thread "fastboot flash recovery"?
View attachment 5549731
Click to expand...
Click to collapse
I have all the steps on my guide. Please read it carefully. It boots back to mi recovery because you haven't flash TWRP yet just booted into. After boot into TWRP u need to flash twrp in recovery section so it will stay after reboot.
Please read the steps.
Download portable Minimal ADB and Fastboot and latest Official TWRP recovery.
Open cmd from minimal adb and fastboot and write:
fastboot boot and the path you have TWRP.
Example:
Code:
fastboot boot C:\Users\Retrial\Desktop\twrp-3.6.0_9-0-beryllium.img
Then proceed with the rest steps in my guide. Connect ur device to pc while u are booted into TWRP and copy TWRP.img to your device. Then in TWRP press Install Image and select the twrp.img u just copied into ur device. Select recovery and done.
I have made a video to show you what happened (sorry for the bad quality and the moove) :
I think a video is easyest to understand my problem.For information my bootloader is unlock and usb debugging ok.
devil1 said:
I have made a video to show you what happened (sorry for the bad quality and the moove) :
I think a video is easyest to understand my problem.For information my bootloader is unlock and usb debugging ok.
Click to expand...
Click to collapse
Hmm strange, probably of MIUI. Anyway since you are going to flash custom rom, when u flash twrp in recovery go back and select wipe and wipe everything (read my clean install guide), go back press format data type yes, and then reboot to TWRP.
EDIT: I just saw u rebooted to system. That's not what we want. Press reboot to recovery.
i reboot first to bootloader after have flash the twrp.img in recovery.That's only the second time that i reboot to system to use the normal mode of the phone and reboot after to recovery mode to show you that mi recovery is back.
devil1 said:
i reboot first to bootloader after have flash the twrp.img in recovery.That's only the second time that i reboot to system to use the normal mode of the phone and reboot after to recovery mode to show you that mi recovery is back.
Click to expand...
Click to collapse
The TWRP flashed correctly. You overlap it again by pressing reboot to recovery from MIUI updater.
Don't do that...do the combination to boot to TWRP after flashing it. Power+Volume Up.
And continue with clean install steps in my guide to flash custom rom.
In my guide I write nowhere to boot to MIUI and press from MIUI Updater reboot to recovery, please stick to my guide and you will be fine.
Poco f1 update not
Figured it out.
Dear all,
I am trying to replace the stock OS on my Lenovo tablet with some more open alternative, like LineageOS. I got as far as installing a modified version of TWRP on it and got root access.
I also found some unofficial gis LOS images but I couldn't install them via TWRP as the SYSTEM partition does not show up when I have to select which partition I want to install the image to. Mounting (ticking) the system partition in TWRP makes no difference. These are the partitions listed:
Boot
Vendor Image
Recovery
Modem (Image)
Persist (Image)
Splash
So I went ahead, and installed it from fastboot like this:
fastboot flash system image.img
Click to expand...
Click to collapse
The command succeeded, but when restarting, the device gets back to fastboot. I can boot into TWRP as well, but no matter what image I try to install, I get the same result.
I wonder what I am doing wrong... A few years back I have converted several phones to LOS and others with no problem. But I have no experience with gis. Maybe that's the problem.
Could someone more experienced help me? maybe I am trying the wrong gis images.
Thanks for any pointers in advance!