[Q] [Locked OP6] Bootloop after upgrading to 10.3.0 - how to recover without format - OnePlus 6 Questions & Answers

My dad got the OTA update to 10.3.0 on xmas day and installed it. However the phone is now stuck on boot logo. He has a locked phone just as it came out of the box (ie no TWRP, no OEM unlock, no root).
I am quite experienced with installing custom ROMs but with locked phones I am lost. Is there anyway to recover the device without deleting data / factory reset? This is because my dad has quite a lot of pics on the device that are not backed up (yeah I know...).
Things I've tried so far:
- reboot holding power button + volume up
- boot flash twrp from fastboot - no permission due to phone being locked
- in stock recovery I do not get access to device via cable
- installed Tool all in One - it sees phone via fastboot
I always use the Stock Fastboot ROMs for OnePlus 6 myself to recover from soft bricks but this wipes data so no option here. Unless there is a way to install parts of ROM? Any other tips or ideas from the awesome XDA community? :good:
Btw this is the update he installed:
Screenshot of update that was installed

If you boot on twrp, it does not ask for the pin code to access the data?
Maybe try the last twrp for OOS 10.3.0 : ( https://androidfilehost.com/?fid=4349826312261678088 )
Use command : fastboot flash boot twrp-3.3.1-16-enchilada-Q-mauronofrio.img
Try flash a new boot img :
Stock boot 10.3 img
https://drive.google.com/open?id=1w44cUg815g-H1h_6gObUVPLDTc_dtiMX

The phone is not unlocked and therefore has no TWRP recovery. This is my problem, if it was unlocked I would have figured out a way to fix it.
PS it does ask for pincode when accessing stock recovery

I'm not sure if this works on locked bootloaders but try switching boot slots using fastboot.

Couple of weird things:
-you don't need an unlocked bootloader for fastboot to boot back into the system
-the dual partition was designed precisely to prevent things like this from happening. When an update fails, you are supposed to roll back to the old slot you were on previously.
Anyway, since you are able to boot to fastboot, can you try to get to stock recovery again from fastboot and see if you can boot up to system from there?

Hey
You can try to change the boot slot using fastboot mode
It can help uh maybe
Its worth to try

awaiz said:
Hey
You can try to change the boot slot using fastboot mode
It can help uh maybe
Its worth to try
Click to expand...
Click to collapse
When I try to set it to slot A (it's B now) it says device does not support slots which is weird as 'fastboot getvar current-slot' does show it using slot B right now.
When I try to set it to B (ie current slot) it says: FAILED (remote: 'Slot Change is not allowed in Lock State').

awaiz said:
Anyway, since you are able to boot to fastboot, can you try to get to stock recovery again from fastboot and see if you can boot up to system from there?
Click to expand...
Click to collapse
When I reboot to stock recovery it gives two options:
- Wipe Data and Cache
- Advanced
There are two reboot options under Advanced:
1. Reboot to fastboot
2. Reboot to recovery
2nd option just boots it back to this same recovery. Boot to fastboot works as well. So there is no option to reboot the device.
Perhaps I can try to flash the stock ROM (kinda of dirty flash) but again not sure if that works on locked phone.

https://www.androidexplained.com/change-active-partition-slot/

JagDave said:
https://www.androidexplained.com/change-active-partition-slot/
Click to expand...
Click to collapse
This doesn't work unfortunately on a locked device.

I found the fix and it was very simple: in Recovery under Wipe Data and Cache it has the option to delete 1. System Settings 2. Cache 3. Wipe all (incl Data).
I choose option 1 (System Settings) and after that it booted and I had to set up phone again as with a new install but all data on sd card had remained. I did lose all apps but that is a very minor thing.
Thanks for everyone who thought along with me. We got there in the end

help me.. my op6 stuck in bootlogo.. how can i run my phone back. it is still locked never rooted..

Alamin4736 said:
help me.. my op6 stuck in bootlogo.. how can i run my phone back. it is still locked never rooted..
Click to expand...
Click to collapse
Bro..Use the Msm tool to get recover coz you have the locked bootloader

roel1976 said:
I found the fix and it was very simple: in Recovery under Wipe Data and Cache it has the option to delete 1. System Settings 2. Cache 3. Wipe all (incl Data).
I choose option 1 (System Settings) and after that it booted and I had to set up phone again as with a new install but all data on sd card had remained. I did lose all apps but that is a very minor thing.
Thanks for everyone who thought along with me. We got there in the end
Click to expand...
Click to collapse
I am facing similar problem with my OP5. When I boot in recovery, it asks for pattern to unlock. But does not accept any pattern. In the absence of pin, it gives option to Wipe Data. Will I get similar options like you did ? I am hoping to save my data.

Related

Wiping Rooted Nexus 5 For Resale + Keeping Root

Hi, I have a rooted nexus 5 which I want to sell, I really don't mind selling it rooted or not but all I want to do is factory reset it so none of my old data is on there. Can I just factory reset it in settings or Do I need to flash a stock image. It has the stock rom, with Super Su installed, and a custom recovery has also been installed. I also want to make sure the customer will be able to update the device normally. I have seen many ways to unroot the device and bring it back to stock, but I wanted to make sure which route to go as the last thing I want is the device to be bricked or anything like that. :'(
Factory reset should be enough. Make sure you haven't modified any system files and Xposed isn't installed and he should be able to update. I would go ahead and update the recovery to. Use TWRP as CWR is buggy as hell
#AndroidL
If it were me, I'd flash the stock firmware in fastboot, lock the bootloader and sell it like that.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
If it were me, I'd flash the stock firmware in fastboot, lock the bootloader and sell it like that.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I would to. I would also use the SDK kit to securely wipe my device properly as well.
#AndroidL
Thanks for the replies, I think I'm just gonna flash the stock image via fastboot, but I was just thinking can't I just factory reset in TWRP?
josephlavagna said:
Thanks for the replies, I think I'm just gonna flash the stock image via fastboot, but I was just thinking can't I just factory reset in TWRP?
Click to expand...
Click to collapse
All that does is wipe /data and /cache. SuperSU binaries/apk are in /system.
josephlavagna said:
Hi, I have a rooted nexus 5 which I want to sell, I really don't mind selling it rooted or not but all I want to do is factory reset it so none of my old data is on there. Can I just factory reset it in settings or Do I need to flash a stock image. It has the stock rom, with Super Su installed, and a custom recovery has also been installed. I also want to make sure the customer will be able to update the device normally. I have seen many ways to unroot the device and bring it back to stock, but I wanted to make sure which route to go as the last thing I want is the device to be bricked or anything like that. :'(
Click to expand...
Click to collapse
There is more than one option to wipe your personal info and sell it rooted and hopefully I can add to the confusion. This is what I've done in the past when selling or giving away any device that the new owner wants to have rooted. I fastboot flash the system and boot images that are extracted from the factory image. Flashing the system image will make 100% sure that no modified system files will be lurking around trying to cause problems in the future. After flashing the system and boot images, while your device is in the bootloader screen, use the buttons to boot into recovery and flash the SuperSu installable zip that you will have downloaded to your device storage before flashing any images. After installing SuperSu while still in TWRP go to Wipe/Advanced Wipe and check the boxes for Cache, Internal Storage, Data and Dalvik Cache. Do NOT check System, you will have no OS to boot into if you do! If you're extra cautious/paranoid or have OCD (like myself) you can do a factory reset from inside your device settings after it boots up. TWRP has very recently been updated so that image can be flashed with the other images or beforehand using Flashify, if it needs to be updated. The above is just one of the ways to get to the same outcome, making sure there are no modified files in the system and that all personal info has been removed!
josephlavagna said:
Thanks for the replies, I think I'm just gonna flash the stock image via fastboot, but I was just thinking can't I just factory reset in TWRP?
Click to expand...
Click to collapse
You can use factory reset but if the seller want to recover your old file; its possible.
http://www.cnet.com/news/android-phone-wiping-fails-to-delete-personal-data/
Good luck!
I believe encrypting your device prior to doing a factory reset will prevent recovery of your files, but I haven't been able to confirm that.
Restola said:
I believe encrypting your device prior to doing a factory reset will prevent recovery of your files, but I haven't been able to confirm that.
Click to expand...
Click to collapse
Yes it would because the files left on the device after a factory reset will be inaccessible.
good thinking...
Possibly most efficient way:
fastboot oem lock (if currently unlocked)
boot into Android then go to Settings and turn on encryption
reboot to bootloader (or "adb reboot bootloader") and then fastboot oem unlock (this will absolutely erase everything on your device!)
boot into recovery and use ADB sideload to flash SuperSU (TWRP should support this)
(optional) relock bootloader?
That should result in a completely wiped, stock, rooted device with TWRP and unrecoverable personal data without having to reflash anything other than SuperSU?
chaosdefinesorder said:
Possibly most efficient way:
fastboot oem lock (if currently unlocked)
boot into Android then go to Settings and turn on encryption
reboot to bootloader (or "adb reboot bootloader") and then fastboot oem unlock (this will absolutely erase everything on your device!)
boot into recovery and use ADB sideload to flash SuperSU (TWRP should support this)
(optional) relock bootloader?
That should result in a completely wiped, stock, rooted device with TWRP and unrecoverable personal data without having to reflash anything other than SuperSU?
Click to expand...
Click to collapse
1. Encrypt.
2. Flash and wipe everything with fastboot (flash-all.bat/sh).
3. Relock bootloader
4. Sell.
Alternatively, use LG Flashtool and it'll automatically reflash/wipe + relock bootloader + reset tamper flag. Then it would be three steps.
Lethargy said:
1. Encrypt.
2. Flash and wipe everything with fastboot (flash-all.bat/sh).
3. Relock bootloader
4. Sell.
Alternatively, use LG Flashtool and it'll automatically reflash/wipe + relock bootloader + reset tamper flag. Then it would be three steps.
Click to expand...
Click to collapse
I was going for the route that did not require downloading the full ROM first...
chaosdefinesorder said:
I was going for the route that did not require downloading the full ROM first...
Click to expand...
Click to collapse
Quite a few of us always keep a set of factory images on a PC anyways
Edit: also, there are many people on custom ROMs or have modified /system. Factory reset within Android only wipes /data (internal storage included) and doesn't do anything else. Same with bootloader unlock. If you deleted an .apk in /system for example, where would a factory reset/bootloader unlock get it back from?
chaosdefinesorder said:
I was going for the route that did not require downloading the full ROM first...
Click to expand...
Click to collapse
To keep rooted but give a good clean up - you can
-download rooted rom.zip and flash via recovery.
-Lockock bootloader and reset flag via bootunlocker app.
-Encrypt.
-Wipe.
Easy. Can even flash a different recovery first although, if rooted, custom recovery is good idea. Still best to unroot if you ask me, which you can easily do via the superuser app..
-download rooted rom.zip and flash via recovery.
-Flash stock recovery zip
-Lockock bootloader and reset flag via bootunlocker app.
-Uroot via supersu
-Encrypt.
-Wipe.

Moto G 1st Gen XT1033 Boot Loop on Stock Lollipop

My Moto G (XT1033) 1st Gen with stock lollipop has stuck in a boot loop.
I am still able to go in to recovery mode. Have tried clearing cache, but that didn't seem to work.
I don't have CWM installed it's pure android as stock have installed updates only through OTAs.
Have googled about it and many are stating that a factory reset will solve the issue. But I don't want to lose data in the phone.
Main reason for the boot loop could be App as I use beta versions of Facebook, Whatsapp and Nova launcher from apkmirror.
What can be done to recover data or just get this boot loop fixed?
P.S: My device is not rooted and does not have any CWM or TWRP recovery.
I have got exactly the same issue yesterday itself. It was working fine, even received a call after which it was placed on a table. Picked up a few moments later & it was switched off. After that, whenever i'm trying to turn it on, its stuck on the M Logo - Powered by Android i.e Bootloop.
My phone was full stock and totally untouched as well. There weren't any apps installed from sources apart from Play Store. I'm able to access the stock recovery and tried clearing the cache but no respite. Whenever i try to factory format that, it gives an error of e:/could't mount /cache/recovery/xxxxxxxx errors.
I had read the forums for similar issues and got to know from this thread : http://forum.xda-developers.com/moto-g/help/moto-g-bootup-problem-recovery-mode-t3122492. The issue is cent percent same apart from the fact that i can access stock recovery.
Maybe @ravibhat & @lost101 can help us in this. I'm not worried about getting the data but bringing the phone back to life is more important for me !! Please help.
BBThumbHealer said:
I have got exactly the same issue yesterday itself. It was working fine, even received a call after which it was placed on a table. Picked up a few moments later & it was switched off. After that, whenever i'm trying to turn it on, its stuck on the M Logo - Powered by Android i.e Bootloop.
My phone was full stock and totally untouched as well. There weren't any apps installed from sources apart from Play Store. I'm able to access the stock recovery and tried clearing the cache but no respite. Whenever i try to factory format that, it gives an error of e:/could't mount /cache/recovery/xxxxxxxx errors.
I had read the forums for similar issues and got to know from this thread : http://forum.xda-developers.com/moto-g/help/moto-g-bootup-problem-recovery-mode-t3122492. The issue is cent percent same apart from the fact that i can access stock recovery.
Maybe @ravibhat & @lost101 can help us in this. I'm not worried about getting the data but bringing the phone back to life is more important for me !! Please help.
Click to expand...
Click to collapse
oh okay mate. I have been googling for such issue but the mostly suggested method is reset that I haven't done (not to lose data). Will wait for a day if I get any solution otherwise will reset it.
Let me know what happened to your phone. Hope it gets fixed soon
okay so here's the update. Was successful to take backup as per http://forum.xda-developers.com/showthread.php?t=2426426
And made factory reset after that but now it is still getting stuck on bootloop with M logo and powered by android screen. :crying:
I gave my phone to the service center guys today for reflashing the firmware. They were unable to do and suggested a motherboard replacement for which i obviously refused as they asked for ~INR 8000 as charges. So will start experimenting with it now and hope so i'm able to bring back to life.
What i'm planning is:
1. Flash Custom Recovery.
2. Wipe entire phone.
3. Flash stock ROM.
Will keep updating if i'm able to manage anything
EDIT : Did everything mentioned above but the phone is having same fate as before @krunalshah68. It gets stuck on the M Logo :crying: The internal memory although is being shown as 5xxx MB in TWRP unlike 0 Mb earlier.
Unlock Bootloader (if not already done) and flash twrp - mfastboot flash recovery twrp.img
Alternatively you can boot into twrp without flashing: mfastboot boot twrp.img
Download twrp: http://forum.xda-developers.com/moto-g/development/recovery-twrp-2-8-2-0-touch-recovery-t2980621
Then via PC, do the following wipe: (requires working ADB setup - google it)
http://forum.xda-developers.com/showpost.php?p=65431978&postcount=22​
BBThumbHealer said:
I gave my phone to the service center guys today for reflashing the firmware. They were unable to do and suggested a motherboard replacement for which i obviously refused as they asked for ~INR 8000 as charges. So will start experimenting with it now and hope so i'm able to bring back to life.
What i'm planning is:
1. Flash Custom Recovery.
2. Wipe entire phone.
3. Flash stock ROM.
Will keep updating if i'm able to manage anything
EDIT : Did everything mentioned above but the phone is having same fate as before @krunalshah68. It gets stuck on the M Logo :crying: The internal memory although is being shown as 5xxx MB in TWRP unlike 0 Mb earlier.
Click to expand...
Click to collapse
Damn mate ! I am going to follow same steps.
1) Unlock bootloader
2) Flash custom recovery if needed
3) Flash Custom rom
btw did you had unlocked the bootloader? @BBThumbHealer
lost101 said:
Unlock Bootloader (if not already done) and flash twrp - mfastboot flash recovery twrp.img
Alternatively you can boot into twrp without flashing: mfastboot boot twrp.img
Download twrp: http://forum.xda-developers.com/moto-g/development/recovery-twrp-2-8-2-0-touch-recovery-t2980621
Then via PC, do the following wipe: (requires working ADB setup - google it)
http://forum.xda-developers.com/showpost.php?p=65431978&postcount=22​
Click to expand...
Click to collapse
Thank you for you reply mate. :good:
I have somehow managed to backup data by script. but the problem is now even after resetting it is still stuck into bootloop.
But I am a bit confused here in steps.
1) Unlock bootloader
2) Flash custom recovery like TWRP and clear dalvik cache
3) and then flash any custom rom
correct me if I am wrong. I am going to follow these steps. @lost101
Phone started! yeeey!
So heres the update bro @BBThumbHealer.
Unlocked bootloader.
Flashed TWRP.
Cleared cache/dalvik cache/data.
Flashed http://forum.xda-developers.com/moto-g/development/nx-nexus-experience-rom-10-0-3-ambient-t3268555/
And device is working smooth as silk now and that too with Marshmallow !:fingers-crossed:
Let me know your status bro. Hope I could help you in some way
@krunalshah68 : Great to know bro that ur phone is as good as new now .. Many congratulations
As far as mine is concerned, did the following :
1. Unlocked bootloader
2. Flashed TWRP Recovery v3.0.2
3. Using mfastboot, flashed stock 5.0.2 and the phone booted up successfully finally !!
But now here's the catch, the phone once flashed up with a rom boots up fine for a single time only. Within that time frame, every damn thing works fine. Able to browse the net, configure apps & settings , blah blah etc etc ... every single thing. But as soon as i restart the phone, the rom fails to startup. It gets stuck on the boot loop.
Initially i thought the rom might have been corrupt, but then i tried the following roms:
1. Stock 5.1 Optimized as posted by @lost101
2. crDroid CM 13 6.0.1
And again the same fate was met.
And yes, i've been installing the above roms by flashing the zips in twrp. After every flash, cleared dalvik, cache & data.
Maybe the fellow members @lost101 @ravibhat can give some insight what's happening ! :crying :
Hello guys, My phone is stuck on bootloop
I have already rooted device and now it is stuck on bootloop even the Recovery isn't opening. I know I would have to reset the phone with mfastboot but I want my internal storage to be backed up before doing all this Is there anyway to do so? Anyone here can help me out?
@sahil_arora05 : if you are able to access the bootloader mode, with the help of mfastboot, flash the latest version of twrp for moto g (mfastboot flash recovery recoveryfilename.img). After that, connect an otg disk to ur handset, boot into twrp and you'll be able to see all your files in the internal storage using the inbuilt file explorer for twrp. With that you can copy all ur data from the handset to the otg drive.
BBThumbHealer said:
@sahil_arora05 : if you are able to access the bootloader mode, with the help of mfastboot, flash the latest version of twrp for moto g (mfastboot flash recovery recoveryfilename.img). After that, connect an otg disk to ur handset, boot into twrp and you'll be able to see all your files in the internal storage using the inbuilt file explorer for twrp. With that you can copy all ur data from the handset to the otg drive.
Click to expand...
Click to collapse
I tried to do this stuff with fastboot but nothing happened. Phone is stuck at TWRP logo only.
by the way mfastboot or fastboot is same or not?
sahil_arora05 said:
I tried to do this stuff with fastboot but nothing happened. Phone is stuck at TWRP logo only.
by the way mfastboot or fastboot is same or not?
Click to expand...
Click to collapse
@sahil_arora05 Use mfastboot. It's been specifically designed for Moto devices as the regular fastboot is reportedly having some issues with Moto mobiles (read this on some XDA post itself)
@krunalshah68 : waiting for your suggestions to get my device up & running like urs
BBThumbHealer said:
@sahil_arora05 Use mfastboot. It's been specifically designed for Moto devices as the regular fastboot is reportedly having some issues with Moto mobiles (read this on some XDA post itself)
@krunalshah68 : waiting for your suggestions to get my device up & running like urs
Click to expand...
Click to collapse
Ok going to try that. Is there anyone who can provide me a link to download STOCK recovery for moto G xt1033. Can't find that.
@sahil_arora05 : http://forum.xda-developers.com/showthread.php?t=2649763 : Select XT1033 and from there u can choose the stock recovery for Asian model.
BBThumbHealer said:
@sahil_arora05 : http://forum.xda-developers.com/showthread.php?t=2649763 : Select XT1033 and from there u can choose the stock recovery for Asian model.
Click to expand...
Click to collapse
tThanks again buddy.
BBThumbHealer said:
Maybe the fellow members @lost101 @ravibhat can give some insight what's happening ! :crying :
Click to expand...
Click to collapse
I already gave you the solution in post #6. Stop ignoring what I say and do it.
BBThumbHealer said:
@krunalshah68 : Great to know bro that ur phone is as good as new now .. Many congratulations
As far as mine is concerned, did the following :
1. Unlocked bootloader
2. Flashed TWRP Recovery v3.0.2
3. Using mfastboot, flashed stock 5.0.2 and the phone booted up successfully finally !!
But now here's the catch, the phone once flashed up with a rom boots up fine for a single time only. Within that time frame, every damn thing works fine. Able to browse the net, configure apps & settings , blah blah etc etc ... every single thing. But as soon as i restart the phone, the rom fails to startup. It gets stuck on the boot loop.
Initially i thought the rom might have been corrupt, but then i tried the following roms:
1. Stock 5.1 Optimized as posted by @lost101
2. crDroid CM 13 6.0.1
And again the same fate was met.
And yes, i've been installing the above roms by flashing the zips in twrp. After every flash, cleared dalvik, cache & data.
Maybe the fellow members @lost101 @ravibhat can give some insight what's happening ! :crying :
Click to expand...
Click to collapse
Thank you @BBThumbHealer.
Damn man that's the basic steps that you are following and that too pretty neat and right. Even though it is causing issues then there might be some other hardware bug may be ! Hope your phone gets started soon!
Hi Guys,
phone : Moto G (XT1033), Falcon
- stuck in bootloop
- able to go to recovery
- unable to flash custom recovery such as twrp or cwm
- as suggested,
1. Unlocked the bootloader successfully, can see code status = 3 in recovery mode
mfastboot oem unlock <CODE>​2. Unable to flash twrp. It writes successfully but shows stock recovery only
mfastboot flash recovery twrp-3.0.2-0-falcon.img​3. so tried booting twrp using with success
mfastboot boot twrp-3.0.2-0-falcon.img​4. cleaned cache, dalvik etc.
5 using twrp, used ADB which enables MTP which let me transfer Android6.0.1_NX_R10.3.3_MotoG2013.zip to internal memory
6 Using twrp to flash ROM - Android6.0.1_NX_R10.3.3_MotoG2013.zip​
It seems it started installing but its been more than one hour and it seems its still doing something.
It has stuck at - "Patching system image unconditionally..."
is this normal? Did I miss anything?
Appreciate help in advance. thank you for your time...
Best Regards,
Jignesh

[Recovery Release] Working TWRP for Sony L1 (G3311 Single SIM others to be confirmed)

Requirements:
1. Bootloader Must Be Unlocked.
2. Have a backup of your working Magisk Patched boot.img saved to your External SDcard.​A little INFO:
The Sony L1 recovery seems to be disabled by SONY for some unknown and Probably stupid reason.
I have tried all ways to get the TWRP and Stock recovery to boot up from the fotakernel partition (recovery) but TWRP and even the stock recovery refuse to boot.
Anyway to cut a very long story short I am releasing this TWRP which is 95% functional and needs to be flashed to the boot partition
Working Method/flow:
Make sure you have a Back up of your working Boot.img "You know the one you used to root the device in the first place".
For ease of use You can use this app by XDA dev @wanam (Thread here) app on playstore Here You can also use this app to flash the v5-twrp-l1.img to your "boot" partition or you can go old skool and use dd (Via adb shell) or use the Magisk patched_boot.img you first rooted with..
Make SURE to Copy this working boot.img to your External SDcard.
When you require TWRP flash the downloaded TWRP to your boot partition using Fastboot (cmd's below) or the above app then reboot
You will now boot to TWRP.
Do what you need to do in TWRP.
IMPORTANT:
Remember Just before you leave TWRP go to INSTALL choose your external SDCard choose "image" from the install screen find your boot.img and select "boot" with the little radio button.
Once flashed choose reboot system.
Now when you boot you will be back to normal :good:
Things Not Working:
1. You will not be able to mount encrypted data therefore you would need to FORMAT your data and then leave it unencrypted.
SuperSU and Magisk will disable forceencrypt for you.
2. Does not Charge or show battery % so I don't know if it's actually charging. (Probably Qnovo battery module used by sony)
It will probably work on all variants but I am not able to test that.
It's use is for backups and restores wipes and installs for which it seems fully functional. :good:
Install Instructios.
Boot to the bootloader then
Code:
fastboot flash boot v5-twrp-l1.img
Then
Code:
fastboot reboot
Download HERE v5-twrp-l1.img
Hi @bigrammy!! I have it booting ok, obviously encryption is not working! I was able to do a backup but couldn't boot back into system, just keeps going back to twrp! I had to flashi the patched 3313 boot image from another post to get back into system! Good work though! Tested on g3311
Chronic2k13 said:
Hi @bigrammy!! I have it booting ok, obviously encryption is not working! I was able to do a backup but couldn't boot back into system, just keeps going back to twrp! I had to flashi the patched 3313 boot image from another post to get back into system! Good work though! Tested on g3311
Click to expand...
Click to collapse
:laugh:
Ok maybe I should update the OP as it seems it's not really clear enough that obviously the boot is replaced by the recovery.
Method would be make sure you have a Back up your working Boot.img You know the one you used to root the device in the first place.
You can also use dd (Via adb shell) or a app from the playstore or better still use the Magisk patched_boot.img .
Copy this working boot.img to your External SDcard.
When required flash the recovery to your boot partition using Fastboot then reboot
You will now boot to TWRP.
Do what you need to do in TWRP.
Then just before you leave TWRP go to INSTALL choose your external SDCard choose "image" from the install screen find your boot.img and select "boot" with the little radio button.
Once flashed choose reboot system.
Now when you boot you will be back to normal :good:
OP Updated let me know if it's clearer to understand now.
Thanks for reporting back. :good:
I'll give it a go! Many thanks! Just one question though. How do I enter recovery mode from then on? Is it still power down, power and volume down yeah?
Chronic2k13 said:
I'll give it a go! Many thanks! Just one question though. How do I enter recovery mode from then on? Is it still power down, power and volume down yeah?
Click to expand...
Click to collapse
I don't think you have really read or understood the OP
You are only ever flashing the "boot partition".
When you need to use TWRP you flash the TWRP.img to the boot partition and when your done you flash back your boot.img again to the boot partition as in the OP.
BTW Have you ever been able to enter the STOCK recovery using Power and Volume Down or using any commands
My phone could not enter the STOCK recovery at all let alone a custom one and since no one ever replied to my question about this I assumed this was the case for everyone as many sony devices from 7.0 had the recovery disabled?
I'm unable to get into stock recovery too!
So,
If we don't have a Recovery partition maybe we can
Create one...
Tutorial in here
https://iwf1.com/how-to-re-partitio...-all-options-included-change-size-fs-type-etc
I'll try it if i have time.
I tested twrp 2 times
Worked every time.
I've tried to install superSu.zip via twrp, looked all right, rebooted the phone and now it's in bootloop for over 2 hours...
It's getting hotter... i ca't turn it off
The only thing that works is keeping Power and Volume Up pressed and it looks restarting...
What can i do to revive it safely?
alegatorul said:
I tested twrp 2 times
Worked every time.
I've tried to install superSu.zip via twrp, looked all right, rebooted the phone and now it's in bootloop for over 2 hours...
It's getting hotter... i ca't turn it off
The only thing that works is keeping Power and Volume Up pressed and it looks restarting...
What can i do to revive it safely?
Click to expand...
Click to collapse
Mate you really need to be careful unless you really know what your doing
You will likely brick the phone if you continue to blindly mess with re-partitioning and the like.
If you were in TWRP which was flashed to the boot partition as directed in the OP then flashing the supersu.zip will simply modify your TWRP.img not your boot.img since TWRP is living in the boot partition at the time you run the .zip hence your looping.
This device has bootloader issues since it will not allow the booting of another partition except "boot" recovery, fotakernel, rdimage, all tested all failed to boot the TWRP recovery and stock recovery.
There is another method used by some sony devices but this will need to be heavily modified for this MediaTek SoC and will require a lot of study and script re-writes.
Spending all this time on a device that's pretty much obsolete before it was launched since it's not planned to receive oreo and Sony 90% locked down the bootloader is kinda futile so use the phone for what it is then throw it in the bin when done in a year or two.
Mate, you are right
Hi, please make recovery for L1 G3312 i hope you can do it.
tweak8 said:
Hi, please make recovery for L1 G3312 i hope you can do it.
Click to expand...
Click to collapse
I think this one may very well work for the dual SIM also so please try it and then report back with some actual details.
eg: bootloader status, firmware version, your region, etc etc.
Thanks.
Works great on the G3113 model, thank you for developing this! Now hoping to find a custom rom to install via .zip.
This "HERE v5-twrp-l1.img" is working in my Xperia L1 G3312.
But, after installing TWRP, phone does not get into boot normally. Everytime it boots into recovery mode. I think that it needs separate twrp partition. This twrp is overwriting the main boot. If anyone can make separate partition for TWRP recovery. This problem will be solved.
Hello. I ignored all your post like a retard and basically just went to the last step to flash the image. The twrp works but it wouldn't boot into normal mode but just boot to twrp everytime so I downloaded some random boot image I saw online and installed it. Now it's just stuck in the sony logo and won't even turn off. Is there anything I can do or is it rip for good?
dumb person said:
Hello. I ignored all your post like a retard and basically just went to the last step to flash the image. The twrp works but it wouldn't boot into normal mode but just boot to twrp everytime so I downloaded some random boot image I saw online and installed it. Now it's just stuck in the sony logo and won't even turn off. Is there anything I can do or is it rip for good?
Click to expand...
Click to collapse
No it's only the boot.img Flash the boot.img in this thread https://forum.xda-developers.com/xperia-l1/how-to/root-l1-g3313-magisk-t3693350 if you can get into fastboot that is.
If not then use FlashTool to flash the stock boot.sin and system.sin only. That should get you working again.
This "HERE v5-twrp-l1.img" is working in my Xperia L1 G3312.
But, after installing TWRP, phone does not get into boot normally. Everytime it boots into recovery mode. I think that it needs separate twrp partition. This twrp is overwriting the main boot. If anyone can make separate partition for TWRP recovery. This problem will be solved.
In twrp mode, I can do everything smoothly..... but phone does not get into boot normally..... After installing stock boot again, phone boot into normally, but twrp has gone completely..... So, it is clear that boot & twrp partition overwrites each other due to no separate partition.... So, we need separate partition for boot & twrp.... then everything will be solved...
bigrammy said:
No it's only the boot.img Flash the boot.img in this thread https://forum.xda-developers.com/xperia-l1/how-to/root-l1-g3313-magisk-t3693350 if you can get into fastboot that is.
If not then use FlashTool to flash the stock boot.sin and system.sin only. That should get you working again.
Click to expand...
Click to collapse
I downloaded the boot from the link you posted and flashed it. Now it phone works again. Many thanks!!
riadjblicd said:
This "HERE v5-twrp-l1.img" is working in my Xperia L1 G3312.
But, after installing TWRP, phone does not get into boot normally. Everytime it boots into recovery mode. I think that it needs separate twrp partition. This twrp is overwriting the main boot. If anyone can make separate partition for TWRP recovery. This problem will be solved.
In twrp mode, I can do everything smoothly..... but phone does not get into boot normally..... After installing stock boot again, phone boot into normally, but twrp has gone completely..... So, it is clear that boot & twrp partition overwrites each other due to no separate partition.... So, we need separate partition for boot & twrp.... then everything will be solved...
Click to expand...
Click to collapse
Yes but Sony Disabled the recovery partition (fotakernel) by design so you can not boot from it.
The OP is clear about the need to flash the TWRP to your boot partition and the reason I also give full instruction in the workflow/method but people simply don't read anymore it seems. :crying:
TWRP can be injected into the boot.img so you can boot normally or boot TWRP using the volume keys at boot time but I can't be bothered working on this since Sony are not going to update the Android Version.
While the phone is OK I have far better phones to spend my time on at the moment.
how to backup boot.img without root? if its impossible then how do i root this phone?

custom rom flashing without USB-Debugging possible?

Hey Guys,
I Recently got a Bootloop problem with my s10/SM-G973F.
And after trying every other way of solving this and not having USB- Debbuging activated or the OEM unlocked my last option is to save the Data.
And after figuring out i could save them with a TWRP recovery i always read that u need to have AVB disabled in order to flash a custom ROM , but beacause USB-deb. isn't active I see no way to flash TWRP without getting a vbmeta error or a even harder Brick.
Is there any other way to use TWRP, flash a new vbmeta.img/boot.img or save the Data
hoping for good news
Brekker
With regards to this thread's title: NO.
Ok then let me change the question: Is it possible to flash/install TWRO without USB-Debugging?
Flashing Recovery / OTA / ROM is done by means of Fastboot, what requires phone gets booted into it's bootloader - what typically is done via ADB.
If installing a custom Rom by ADB there will be no problems with AVB you mean?
the problem with flashing by ADB in my case is that the phone isn't unlocked and i can't go into developer options to do so
brekker said:
Hey Guys,
I Recently got a Bootloop problem with my s10/SM-G973F.
And after trying every other way of solving this and not having USB- Debbuging activated or the OEM unlocked my last option is to save the Data.
And after figuring out i could save them with a TWRP recovery i always read that u need to have AVB disabled in order to flash a custom ROM , but beacause USB-deb. isn't active I see no way to flash TWRP without getting a vbmeta error or a even harder Brick.
Is there any other way to use TWRP, flash a new vbmeta.img/boot.img or save the Data
hoping for good news
Brekker
Click to expand...
Click to collapse
Can you boot into download mode? If so, you should be able to flash the stock firmware via Odin, just make sure you use the "Home CSC" file in the CSC slot in Odin when you flash the firmware nd not any other CSC, this should flash without wiping the user data that you are trying to save.
I already tried a firmware flash(first try newest one/2. & 3. try older ones). Result: still bootloop/ only getting to recovery mode.
What brought me up with the idea that my own data probably is corrupt.
Since i CAN go to recovery mode i thought i might just change this one to TWRP from where i could save my date (safe to SD) but because AVB and bootlocker are active/locked i wasn't able to install TWRP(didn't try because i heard of vbmeta errors) .
Is there another way i could install TWARP in my situation or save the data?

Dead after reboot.

i have used my phone and all was fine, but i wanted to reboot it and something went wrong. first it has stuck in boot loop, i waited ~10 minutes and tought it'll boot but no, then i tried enter a Recovery (twrp) and it just doesnt want to boot even in recovery. So i went to fastboot and flashed a new verion of twrp, but it still won't boot. All the times when i have been stuck in a bootloop i just cleared caches wia twrp and phone booted fine but now i really doesn`t know what i can do to rescue it and not lose my data. So maybe there is a way i can wipe caches without accessing the recovery menu? =(
if i force bootloader to load from fastboot it throws me back into a fastboot.
Poco x3 nfc (surya) Android 12 Pixel Experience (official from their website)
also i have tried alot of recoveries ( bunch of twrps, 3 orange foxes, PE recovery) no one works, TWRP&OF just hangs on splash screens and PErecovery is just a black screen. i just have no clue what do i do. i can try flash rom from a fastboot but then i will lose all my data.
i have no much knowlege about logging in android, here is adb logcat https://pastebin.com/6bSFURBM
EnderDremurr said:
i have used my phone and all was fine, but i wanted to reboot it and something went wrong. first it has stuck in boot loop, i waited ~10 minutes and tought it'll boot but no, then i tried enter a Recovery (twrp) and it just doesnt want to boot even in recovery. So i went to fastboot and flashed a new verion of twrp, but it still won't boot. All the times when i have been stuck in a bootloop i just cleared caches wia twrp and phone booted fine but now i really doesn`t know what i can do to rescue it and not lose my data. So maybe there is a way i can wipe caches without accessing the recovery menu? =(
if i force bootloader to load from fastboot it throws me back into a fastboot.
Poco x3 nfc (surya) Android 12 Pixel Experience (official from their website)
also i have tried alot of recoveries ( bunch of twrps, 3 orange foxes, PE recovery) no one works, TWRP&OF just hangs on splash screens and PErecovery is just a black screen. i just have no clue what do i do. i can try flash rom from a fastboot but then i will lose all my data.
i have no much knowlege about logging in android, here is adb logcat https://pastebin.com/6bSFURBM
Click to expand...
Click to collapse
Try this tool: https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
NOSS8 said:
Try this tool: https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
Click to expand...
Click to collapse
does that thing works on linux? sadly i have no pc with a windows now
EnderDremurr said:
does that thing works on linux? sadly i have no pc with a windows now
Click to expand...
Click to collapse
You can flash fastboot ROMs on Linux with fastboot and adb tools
or
https://forum.xda-developers.com/t/tool-linux-miflash-for-linux.3708847/
https://www.bettermobileapp.com/article/10416422/[TOOL][Linux]+MiFlash+for+Linux
https://gist.github.com/duyfken/574f570f40f813604849bd40d9e1a048
To check .
do a search
NOSS8 said:
You can flash fastboot ROMs on Linux with fastboot and adb tools
or
https://forum.xda-developers.com/t/tool-linux-miflash-for-linux.3708847/
https://www.bettermobileapp.com/article/10416422/[TOOL][Linux]+MiFlash+for+Linux
https://gist.github.com/duyfken/574f570f40f813604849bd40d9e1a048
To check .
do a search
Click to expand...
Click to collapse
hi, i have one more question, is there way i can check my phone`s internal memory from adb ( for dead sectors etc.) i think my internal memory just have died somehow
EnderDremurr said:
hi, i have one more question, is there way i can check my phone`s internal memory from adb ( for dead sectors etc.) i think my internal memory just have died somehow
Click to expand...
Click to collapse
Start by format data,miflash can do it.(will erase the data and create a new partition if necessary).
And use this TWRP https://androidfilehost.com/?w=files&flid=318270
just flash stock rom with miflash and select save user data and done, will flash the entire rom without lose your personal data
tutibreaker said:
just flash stock rom with miflash and select save user data and done, will flash the entire rom without lose your personal data
Click to expand...
Click to collapse
From an AOSP rom to MIUI?

Categories

Resources