[Q] Custom Recovery & Flashing issues - Droid RAZR M Q&A, Help & Troubleshooting

I'm new to the Moto Droid world coming from Samsung, and trying to learn about it. I've googled and read a lot about all of the topics below, and I'm looking to learn more. Here are some observations/issues that I'd appreciate any insight on - It would also be helpful to know if these are known, open/unresolved issues:
My device is rooted and unlocked, running sys. ver. 183.46.10.xt907.Verizon.en.US, build KDA20.62.10.1. (I think that's stock Verizon). I have CWM ver. 6.0.4.8 installed. When I try a nandroid backup to my external sd card (/storage/sdcard1), boot-image, recovery image, and system complete normally. When it tries to backup data, I get the error "Can't mount /data!". When I look at my external SD card, I see 4 non-empty files (boot.img, recovery.img, system.ext4.tar.a, system.ext4.tar.b) and 1 empty file (system.ext4.tar). Is there anything I can do to get CWM to backup data also? Do I need to resort to backing up with ADB to get everything?
When I reboot from CWM, I get "rom may flash stock recovery on boot - can't be undone" with "no" or "yes - disable recovery flash" as my choices. I think either choice keeps my CWM recovery. I then get "root access possibly lost - fix? with "no" or "yes fix root (/system/xbin/su)". If I select "yes fix root (/system/xbin/su)", it keeps root, and if I select "no", it loses root. Shall I consider these as minor annoyances that I shall forever live with?
I've tried to flash TWRP, and the only version that I've been able to boot up is the latest one, version 2.8.1.0. The problem is that the font is too big, or our screen size is too small for that version. Is there a version of TWRP that works on our device? I tried ver 2.5, and it doesn't boot.
To flash, I boot the phone into AP Fastboot and use mfastboot on my Windows PC.. Flashing seems to work, but I always get the "<bootloader> variable not supported" message at the start. Is this anything to worry about or indicating some other problem?
Thanks in advance for any and all responses.

beeewell said:
I'm new to the Moto Droid world
coming from Samsung, and trying to learn about it. I've googled and read a lot about all of the topics below, and I'm looking to learn more. Here are some observations/issues that I'd appreciate any insight on - It would also be helpful to know if these are known, open/unresolved issues:
My device is rooted and unlocked, running sys. ver. 183.46.10.xt907.Verizon.en.US, build KDA20.62.10.1. (I think that's stock Verizon). I have CWM ver. 6.0.4.8 installed. When I try a nandroid backup to my external sd card (/storage/sdcard1), boot-image, recovery image, and system complete normally. When it tries to backup data, I get the error "Can't mount /data!". When I look at my external SD card, I see 4 non-empty files (boot.img, recovery.img, system.ext4.tar.a, system.ext4.tar.b) and 1 empty file (system.ext4.tar). Is there anything I can do to get CWM to backup data also? Do I need to resort to backing up with ADB to get everything?
When I reboot from CWM, I get "rom may flash stock recovery on boot - can't be undone" with "no" or "yes - disable recovery flash" as my choices. I think either choice keeps my CWM recovery. I then get "root access possibly lost - fix? with "no" or "yes fix root (/system/xbin/su)". If I select "yes fix root (/system/xbin/su)", it keeps root, and if I select "no", it loses root. Shall I consider these as minor annoyances that I shall forever live with?
I've tried to flash TWRP, and the only version that I've been able to boot up is the latest one, version 2.8.1.0. The problem is that the font is too big, or our screen size is too small for that version. Is there a version of TWRP that works on our device? I tried ver 2.5, and it doesn't boot.
To flash, I boot the phone into AP Fastboot and use mfastboot on my Windows PC.. Flashing seems to work, but I always get the "<bootloader> variable not supported" message at the start. Is this anything to worry about or indicating some other problem?
Thanks in advance for any and all responses.
Click to expand...
Click to collapse
You're using the wrong TWRP. Use TWRP281KK.img > http://d-h.st/511
All the info you need is here > http://forum.xda-developers.com/dro...oot-unlock-t2869432/post55282645#post55282645

Thank You !!
ATTACK said:
You're using the wrong TWRP. Use TWRP281KK.img > http://d-h.st/511
All the info you need is here > http://forum.xda-developers.com/dro...oot-unlock-t2869432/post55282645#post55282645
Click to expand...
Click to collapse
Thank you so much for your reply, and for pointing me to the correct TWRP for my device. It worked like a charm !! :good:

Related

[RECOVERY] ClockworkMod Recovery for Captivate (FINAL! SAFE!)

First things first, if you flashed a previous version of Clockwork Recovery using Odin, FLASH BACK TO A STOCK KERNEL using this Odin package:
http://koush.tandtgaming.com//test/kernel-captivate-stock.tar.md5
This recovery is *very* safe to use. It does NOT flash your kernel; it is a completely uninvasive recovery method.
How it works: The recovery is packaged as an update.zip that you run from STOCK recovery. The update.zip unpacks Clockwork Recovery onto the ramdisk and restarts recovery. When you reboot, it reverts back to the original, unmodified, stock recovery. So, you will need to keep the recovery on the root of your SD card as an update.zip, and apply the zip every time you want to start Clockwork.
HOWEVER, if you use ROM Manager, all of the recovery installation and management instructions are done for you!
Installation instructions:
Download ROM Manager from the Market.
Flash Recovery.
Choose Captivate as your phone.
Accept the Superuser prompt.
Use ROM Manager to create a Backup.
On the very FIRST boot of Clockwork, you may need to manually select "reinstall packages" if Clockwork does not start. You should only ever have to do this once. It will be automatic from then on.
Watch the backup go!
That's it! This is completely painless and safe! There is no need for Odin anymore to replace the recovery or flash updates!
If you appreciate my work, please buy the Premium version of ROM Manager!
Sweet!
Nandroid'd!
Ah yeah....smooth like butter baby!!! Great work once again. Remember to donate people!!!
big99gt said:
Ah yeah....smooth like butter baby!!! Great work once again. Remember to donate people!!!
Click to expand...
Click to collapse
For us Noobs, can we get more information on where and when to use this?
In reading everything I get some of it, but not all. This is my first hackable android phone, so I am still learning the lingo.
With other phones, I would just Flash a custom ROM or Flash Factory ROM back.
So how do ROM Manager and Clockwork recovery come into play?
Are there any tutorials - not that just give step by step (like above) but explain what is happening in each step or why?
alphadog00 said:
For us Noobs, can we get more information on where and when to use this?
In reading everything I get some of it, but not all. This is my first hackable android phone, so I am still learning the lingo.
With other phones, I would just Flash a custom ROM or Flash Factory ROM back.
So how do ROM Manager and Clockwork recovery come into play?
Are there any tutorials - not that just give step by step (like above) but explain what is happening in each step or why?
Click to expand...
Click to collapse
The long and short of it is that you can now flash ROMs and make backups, and restore, without your computer.
The recovery is the tool that lets you do the backups and installations. ROM Manager is a convenient Android front end to the recovery.
After these steps you won't really have to "hack" your phone lol. Root your phone and download Rom Manager from the Android market...then have it flash a recovery (the first selection at the top) choose your device when prompted. Now after that finishes select "reboot into recovery" and as the above post states you may need to select "reinstall packages" (I did). Once that goes through, you'll see your new custom recovery menu. DO A NANDROID BACKUP of your current Rom as soon as you can....then (as long as your current rom isn't messed up, if its stock your fine) from there on out you can play as much as you want with very little risk of bricking your phone. There are others who can explain it better but your stuck with me till they chime in lol. Its a very easy process and nearly foolproof.
Koush said:
That's it! This is completely painless and safe! There is no need for Odin anymore to replace the recovery or flash updates!
If you appreciate my work, please buy the Premium version of ROM Manager!
Click to expand...
Click to collapse
Awesome work! Premium version has been purchased by me. Thank you for the efforts.
Didn't work at first for me.
I installed Rom Manager (premium)
Installed CW recovery
Accepted SU
Tried to backup from within Rom Manager
I got a "Can't find update.zip" message.
When I rebooted and opened Rom Manager again, I got the "Error Occured" message, but it locked up on me and became unresponsive.
I uninstalled Rom Manager, rebooted, then reinstalled. I flashed CW recovery again, rebooted normally, opened rom manager again, and flashed CW recovery again.
After that I was able to use rom manager to reboot into recovery and backup.
Not sure if mine was just a fluke or what, but I figured I would share.
MSigler said:
Didn't work at first for me.
I installed Rom Manager (premium)
Installed CW recovery
Accepted SU
Tried to backup from within Rom Manager
I got a "Can't find update.zip" message.
When I rebooted and opened Rom Manager again, I got the "Error Occured" message, but it locked up on me and became unresponsive.
I uninstalled Rom Manager, rebooted, then reinstalled. I flashed CW recovery again, rebooted normally, opened rom manager again, and flashed CW recovery again.
After that I was able to use rom manager to reboot into recovery and backup.
Not sure if mine was just a fluke or what, but I figured I would share.
Click to expand...
Click to collapse
Titanium Backup did that to me also the first time I ran it....I've had quite a few freezes and slowdowns when opening a program for the first time and waiting for SU to kick in.
It should also be noted that when you chose to partition the sdcard via the recovery menu, it partitions the internal sdcard and not the external.
Maybe that can be made an option? I would like to do my nandroid backup to my external card so I have it for safe keeping.
Everything else working as expected, I enabled advanced options and downloaded the superuser package (from Extras) just to test things. Havent experienced any problems other than the sdcard wipe (which wasnt totally unexpected).
If something should happen to your phone (brick, unrecoverable error, etc), how can we reboot into this custom recovery to reflash the nandroid backup? Can we get into it via adb (adb reboot recovery)?
Yeah, having an external SD Nandroid would be a great option. Not just for safekeeping, but for easy transfer in case of hardware loss or replacement.
dweebs0r said:
It should also be noted that when you chose to partition the sdcard via the recovery menu, it partitions the internal sdcard and not the external.
Maybe that can be made an option? I would like to do my nandroid backup to my external card so I have it for safe keeping.
Everything else working as expected, I enabled advanced options and downloaded the superuser package (from Extras) just to test things. Havent experienced any problems other than the sdcard wipe (which wasnt totally unexpected).
If something should happen to your phone (brick, unrecoverable error, etc), how can we reboot into this custom recovery to reflash the nandroid backup? Can we get into it via adb (adb reboot recovery)?
Click to expand...
Click to collapse
I just did a reboot into recovery mode (the normal way, not with rom manager) and I had to click "reinstall packages" to get into the ClockworkMod recovery menu. So I'm not sure but I'm guessing (hoping) that its still available if we run into problems later.
Yep. It's pretty much how the Droid and N1 people are used to doing it anyway.
Clockwork is hella handy to manage and switch between working ROMs on the fly, as well as triggering recovery mode without keypress acrobatics, but having update.zip on the SD card to fall back on using the normal restore and the stock kernel is great in case of semi-bricking, and as this last week has shown us, the Galaxy phones are a bit prone to this.
THANK YOU!!! Been waiting for this since I got the phone, you are the man, I'll be adding to your Paypal account shortly!
Works like a charm. Thanks Koush!
Thank you. I am new to the scene, but looks like I chose the right hardware for hacking. The swift and easy way in which I have been able to advance my freedom on this gorgeous hardware makes me forget for a while that I am on AT&T, home of the fruit carrying zombie army.
Sweet! Can't wait to try this on my phone later tonight. Will deff be buying ROM Manager Pro
Thanks for this...I just bought the premium version...Since this is my first Android phone I have a question. I previously rooted my phone and uninstalled alll the AT&T bloatware, My question is about the backup I just made using this. If I restore the backup will it restore a rooted backup with out all the AT&T bloatware? Also when I ran the backup I go 2 messages at the end
No /sdcard/.andriod_secure found. Skipping backup of applications on external storage.. Is this normal?
No sd-ext found. Skipping backup of sd-ext. Is this normal?
Also I now have 2 ROM Manager icon in my application screens. 1 will open the program and the other tells me that the aplication is not installed on my phone. I tried to delete that icon but it won't go away, Any ideas? FIXED..I rebooted my phone and the extra icon went away...
Thanks for all help and these great apps...
jhernand1102 said:
Thanks for this...I just bought the premium version...Since this is my first Android phone I have a question. I previously rooted my phone and uninstalled alll the AT&T bloatware, My question is about the backup I just made using this. If I restore the backup will it restore a rooted backup with out all the AT&T bloatware? Also when I ran the backup I go 2 messages at the end
No /sdcard/.andriod_secure found. Skipping backup of applications on external storage.. Is this normal?
No sd-ext found. Skipping backup of sd-ext. Is this normal?
Thanks for all help and these great apps...
Click to expand...
Click to collapse
i got the same message, im assuming that you dont have an external sd card thats why it generated the message...
rabbivj said:
i got the same message, im assuming that you dont have an external sd card thats why it generated the message...
Click to expand...
Click to collapse
I do have one in my phone but there is nothing installed on it yet..maybe that's why..

Factory Restore to Stock!!!

Is there a way to flash a factory image to the thrive using android recovery via pressing volume up and power button and selecting the middle option which takes you to the menu to install.zip from sd card, I get that far and it gives me an error (e verification failed) I do not have root or Clockwork, and cannot install either do to the system/xbin file being deleted so the tool has nowhere to instal the ROOT and it says File Location Does Not Exist when Trying to add the xbin files.
So Is there a "Signed" stock rom available that I can just install from the sd card via the "Stock Android Recovery"
If anybody has a signed stock android Toshiba Thrive Rom that I can restore to the device without ROOT or CLOCKWORK that would be awesome and I would be most greatfull!!!
No, there is no signed stock image available. You can flash the stock ROM, but you will need to flash ClockWorkMod recovery onto the device and load the stock image available on thisone.org or thatone.com.
Now the Clockwork Recover Mod and The Clockwork Recover Tool from marketplace are two separate entities as I understand it, so I can flash the recover mod without root correct? I'm going to give it a run and keep you posted.
DaveNavy said:
Now the Clockwork Recover Mod and The Clockwork Recover Tool from marketplace are two separate entities as I understand it, so I can flash the recover mod without root correct? I'm going to give it a run and keep you posted.
Click to expand...
Click to collapse
The one on the market will not work with the Thrive. YOu will need to get my Easy Flash Tool from thisone.org or thatone.com. It hase a version of ClockWorkMod recovery that will work with the Thrive. YOu are correct that you do not need to eroot to install it. You do need to knoiw that you have to go back into recovery before the device boots or the ROM will replace the recovery with the stock version.
all back to stock and updated to the. 11 update, thanks so much
issues
update: *deleted*, figured it out.
Need help with Toshibe Thrive
I have a Toshiba Thrive 10.1 (with 32GB RAM) that recently quit on me. All it will do for me now is boot up to the splash screen (the one saying it's a Toshiba and such) and then stops doing anything other than showing that screen. I've tried the data/factory reset option, but that doesn't change anything (it still boots to the same point and locks up). The factory reset ROM's I've tried all fail at "Verifying update package..." with the error "E:signature verification failed" followed by aborting... I've been able to fix computers since Win 3.1 (yeah, showing my age a bit) up until now with no real problems, but Android is a different animal... I've tried the "Thrive USB ADB" utility, Toshiba Easy Flash utility, and a few different factory reset ROM's... All have failed....
Also worth saying.... When trying the Easy Flash Tool and doing exactly as it says (except for not being able to tell the device to go into USB debugging mode), all the utility seems to do is sit and wait for my device.
What I may need is a step-by-step, get this file, do this thing, type of help...
Keeblerdawg said:
I have a Toshiba Thrive 10.1 (with 32GB RAM) that recently quit on me. All it will do for me now is boot up to the splash screen (the one saying it's a Toshiba and such) and then stops doing anything other than showing that screen. I've tried the data/factory reset option, but that doesn't change anything (it still boots to the same point and locks up). The factory reset ROM's I've tried all fail at "Verifying update package..." with the error "E:signature verification failed" followed by aborting... I've been able to fix computers since Win 3.1 (yeah, showing my age a bit) up until now with no real problems, but Android is a different animal... I've tried the "Thrive USB ADB" utility, Toshiba Easy Flash utility, and a few different factory reset ROM's... All have failed....
Also worth saying.... When trying the Easy Flash Tool and doing exactly as it says (except for not being able to tell the device to go into USB debugging mode), all the utility seems to do is sit and wait for my device.
What I may need is a step-by-step, get this file, do this thing, type of help...
Click to expand...
Click to collapse
There isn't one, it needs nvflashed back to stock, it will work provided there is no emmc damage/failure which does happen occasionally. There's only a few people with the Toshiba files to flash it back fresh, shoot me a pm and I'll help you out with that.
Sent from my Nexus 7 - JBSourcery 4.5

Going from CWM 2.5.1.2 to 5.0.2 (ClockworkMod)

I notice that the old standard, ClockworkMod 2.5.1.2, is now old news.
I went to install CWM 5.0.2, attempting both methods (flashing directly from CWM 2.5.1.2, also by booting into the PB31IMG.zip). Neither works, when I reboot, I'm back in 2.5.1.2
I searched here, but I don't see anyone having this issue.
Thank you in advance,
RKM
In rom manager, make sure erase recovery is selected. Then try to flash it twice.
Thank you for the reply.
I had found the posts that suggested that prior to my posting, however, I'm *not* using ROM Manager, I'm using both methods of installing correctly, at boot/recovery.
If it does not work from boot/recovery, no amount of settings in ROM manager will help me, unfortunately.
rkmFL said:
Thank you for the reply.
I had found the posts that suggested that prior to my posting, however, I'm *not* using ROM Manager, I'm using both methods of installing correctly, at boot/recovery.
If it does not work from boot/recovery, no amount of settings in ROM manager will help me, unfortunately.
Click to expand...
Click to collapse
Boot to recovery, go to mounts and storage and format recovery. Reboot the phone.
Download this http://dinc.does-it.net/Recoveries/CWM_5.0.2.0/PB31IMG.zip, and put it on your sdcard in no folders. Then boot to hboot, hboot will find the file and prompt to press vol up to install, and then vol up again to reboot.
Or you could do as sugested earlier and download rom manager, go to its settings and check erase recovery before flashing. Then from the main screen select the top option install cwm recovery.
If that dosent work i would flash back to thr stock recovery, and then back to cwm again, or try amon ra recovery then back to cwm.
If that dosent work, ruu and then flash cwm. Note that cwm 2 backups are not compatible with version 5.
@cmlusco - that's the same file I'm using now and it won't take, on *either* HDR6300 Incredible that I've tested it on. I'm still on 0.92 HBOOT and 2.15.00.07.28 RADIO.
During the HBOOT process, it does recognize the PB31IMG.zip, but it rejects it.
It reminds of of the way the phone reacts when it's S-ON. You know, how it rejects custom PB31IMG's until removing the security flag. Despite that, this is a fully S-OFF phone.
The one thing I had not yet done that you mentioned .. I haven't yet tried to "mounts and storage and format recovery" as you suggested. However, there is no option for "Format Recovery". In CWM 2.5.1.2, the Format options include:
Format Boot
Format System
Format Data
Format Cache
Format SDCard
Format SD-Ext
After reading your post, I tried "Format Boot" and "Format System". Neither one of those helped either.
The thing is, I don't think this is a one-off issue, because the exact same thing is happening on both of my DInc's.
rkmFL said:
@cmlusco - that's the same file I'm using now and it won't take, on *either* HDR6300 Incredible that I've tested it on. I'm still on 0.92 HBOOT and 2.15.00.07.28 RADIO.
During the HBOOT process, it does recognize the PB31IMG.zip, but it rejects it.
It reminds of of the way the phone reacts when it's S-ON. You know, how it rejects custom PB31IMG's until removing the security flag. Despite that, this is a fully S-OFF phone.
The one thing I had not yet done that you mentioned .. I haven't yet tried to "mounts and storage and format recovery" as you suggested. However, there is no option for "Format Recovery". In CWM 2.5.1.2, the Format options include:
Format Boot
Format System
Format Data
Format Cache
Format SDCard
Format SD-Ext
After reading your post, I tried "Format Boot" and "Format System". Neither one of those helped either.
The thing is, I don't think this is a one-off issue, because the exact same thing is happening on both of my DInc's.
Click to expand...
Click to collapse
Have you tried reformating your sdcard fat32? The only 2 reasons a PB31IMG.zip wont get recognized or install is if there is a problem with the sdcard, or its a bad download. Try downloading from a different source http://pvillecomp.com/?page_id=28.
You could run unrevoked with the 5.0.2.0 cmw img (custom recovery) set in unrevoked's menu. You can pull the .img file out of the PB31IMG.zip
I've tested three different SD cards, two different phones, about six different downloads (I've lost count).
I can flash ROM's without any problem. But if I try to flash a radio or recovery (including the stock recovery), it will not work, and this is on both phones. I've tried Stock, RA, CWM 3 and CWM 5. Yet I've tried three different ROM's and they all work fine.
That's a good idea on using Unrevoked and pushing an image. I'm not sure where to specify a custom .img file on Unrevoked, but will try to get through that now.
Thanks again for the ideas!
I pushed the custom recovery by using the CWM v5 .img file as you suggested, but that didn't work either.
The strange thing is how I can install any ROM I like, but CWM or Radios, won't flash. And weirder, is that it's not just a fluke on one phone.
I'm searching everything I can find with no luck. I suppose an RUU is probably the next logical step. I'm just worried because the last I remember, the newer RUU's will cause me to lose S-OFF. I can't remember if that's still the case and the posts don't say definitively.
Why not flash in ROM Manager? Just because it doesn't work in recovery/hboot doesn't mean it won't work in ROM manager. Also what happens if you do
flash_image recovery recovery.img
From either ROM or recovery? Your ROM might not have flash_image but clockwork does.
Sent from my GT-P7510 using Tapatalk
Hi Tiny,
Thank you for the suggestion.
I was previously led to believe that ROM Manager would not work if a straight CWM/Recovery upgrade did not work.
However, you're correct, using ROM manager worked. As a side note: to be safe, I selected "Erase Recovery" and flashed twice, as suggested.
I'm now on our third phone, and not a single one has been able to upgrade CWM coming from 2.5.1.2, but ROM Manager has worked for all of them!
Thanks again!
RKM
I feel compelled to say "Called it."
it'd be good to have hboot able to flash as a safety net but I don't like to bother flashing recovery and finding an hboot compatible zip so I use ROM manager to update. Glad to hear its working.
Sent from my Galaxy Nexus using Tapatalk

Problems with TWRP v2.6.3.2

I wanted to flash PSX Pure Speed Experiment 4.4 rom but I got the " Failed. E:Error executing updated binary in zip '/sdcard/psx_mako_kk_v1..." message mentioned in the OP. I tried the solution posted there, which was to download a patched multirom version of TWRP recovery using the flashify app from the play store. This all seemed to work out fine, and I booted into recovery to flash the rom. Now, this could just be due to my ignorance because the version of TWRP I flashed is 2.6.3.2 (I originally had 2.3.0.1 I believe), but when I wiped my phone, then went to install, there wasnt anything listed in the root of my sd card folder. I tried rebooting TWRP and when I tried again it listed a folder named TWRP there but nothing else. Subsequent reboots yielded nothing. At this point I dont even want to flash the 4.4 rom, I just want to reflash my old CM10.1 rom and be done with it. Any help is greatly appreciated
sropedia said:
I wanted to flash PSX Pure Speed Experiment 4.4 rom but I got the " Failed. E:Error executing updated binary in zip '/sdcard/psx_mako_kk_v1..." message mentioned in the OP. I tried the solution posted there, which was to download a patched multirom version of TWRP recovery using the flashify app from the play store. This all seemed to work out fine, and I booted into recovery to flash the rom. Now, this could just be due to my ignorance because the version of TWRP I flashed is 2.6.3.2 (I originally had 2.3.0.1 I believe), but when I wiped my phone, then went to install, there wasnt anything listed in the root of my sd card folder. I tried rebooting TWRP and when I tried again it listed a folder named TWRP there but nothing else. Subsequent reboots yielded nothing. At this point I dont even want to flash the 4.4 rom, I just want to reflash my old CM10.1 rom and be done with it. Any help is greatly appreciated
Click to expand...
Click to collapse
Reboot the phone and then connect it to your PC and check to see if the PSX ROM file is there. If not, redownload the file and save it in the root of the SDcard. As for the TWRP folder that has nothing in it, delete it. Then try to boot into recovery and flash the PSX ROM, also just making sure that the checkbox for "System" in mount section is unchecked. BTW, is your a multiROM patch for TWRP?
taodan said:
Reboot the phone and then connect it to your PC and check to see if the PSX ROM file is there. If not, redownload the file and save it in the root of the SDcard. As for the TWRP folder that has nothing in it, delete it. Then try to boot into recovery and flash the PSX ROM, also just making sure that the checkbox for "System" in mount section is unchecked. BTW, is your a multiROM patch for TWRP?
Click to expand...
Click to collapse
Thanks for the reply, but when I try to mount my phone, my computer acknowledges that I've connected a device with a sound, but it doesnt show up as a storage device. when I go into devices and printers I can find my phone but it only shows up as an ADB device
And yes to answer your question it is a multiROM patch for TWRP
sropedia said:
Thanks for the reply, but when I try to mount my phone, my computer acknowledges that I've connected a device with a sound, but it doesnt show up as a storage device. when I go into devices and printers I can find my phone but it only shows up as an ADB device
Click to expand...
Click to collapse
Do you have "USB debugging" checkbox, in Developer Options, checked? Also, try reboot your PC and reconect your phone to see whether it shows up as a storage device.
sropedia said:
I wanted to flash PSX Pure Speed Experiment 4.4 rom but I got the " Failed. E:Error executing updated binary in zip '/sdcard/psx_mako_kk_v1..." message mentioned in the OP. I tried the solution posted there, which was to download a patched multirom version of TWRP recovery using the flashify app from the play store. This all seemed to work out fine, and I booted into recovery to flash the rom. Now, this could just be due to my ignorance because the version of TWRP I flashed is 2.6.3.2 (I originally had 2.3.0.1 I believe), but when I wiped my phone, then went to install, there wasnt anything listed in the root of my sd card folder. I tried rebooting TWRP and when I tried again it listed a folder named TWRP there but nothing else. Subsequent reboots yielded nothing. At this point I dont even want to flash the 4.4 rom, I just want to reflash my old CM10.1 rom and be done with it. Any help is greatly appreciated
Click to expand...
Click to collapse
ok when you wiped your rom did you just do a factory reset or a internal sd wipe as well. Also you should try and use 2.6.3.3. Also you have to remember where it is you save your stuff or place everything in 1 specific folder. May I suggest you start over with downloading rom and putting it in a folder created by you like !Flash... using "!" will ensure its the first folder you see.
Also your error also can be fixed by simply rebooting your recovery as its been what I used to fix that error
playya said:
ok when you wiped your rom did you just do a factory reset or a internal sd wipe as well. Also you should try and use 2.6.3.3. Also you have to remember where it is you save your stuff or place everything in 1 specific folder. May I suggest you start over with downloading rom and putting it in a folder created by you like !Flash... using "!" will ensure its the first folder you see.
Also your error also can be fixed by simply rebooting your recovery as its been what I used to fix that error
Click to expand...
Click to collapse
I did a full wipe like I usually do. I would use a different version of TWRP if I knew how to change it from within TWRP. I have a follder titled ROOT that I keep all my ROMs and whatnot in, but the problem is that literally none of the folders in my internal storage are showing up from within TWRP. I can't check to see if USB debugging is enabled because theres no operating system on my phone; like I said, I did a full wipe. The fact that no folders show up also means that it doesnt recognize the backup I had. My computer still won't recognize my phone as a storage device after mounting in TWRP. Maybe I'm doing something in the wrong order? Restarting my computer didn't help.I really need to get my phone working on ANY ROM, and I appreciate all the help so far

Create Stock Recovery.img from FTF File

Hi, I am in the process of preparing for upgrading from 7.0 to 7.1.1
I know I need to replace the Custom Kernel with the Stock Kernel. And I have to replace TWRP with Stock Recovery.
Can anybody tell me, which file inside the FTF is the stock recovery? I already found the kernel. Need help to find the stock recovery, thank you!
tempurastyle said:
Need help to find the stock recovery, thank you!
Click to expand...
Click to collapse
We don't have one which is why we have to use TWRP.
So my only way is to flash via Flashtool without wipe?
tempurastyle said:
So my only way is to flash via Flashtool without wipe?
Click to expand...
Click to collapse
Do that then mod your own kernel. [How To] make your own XPERIA DRM-fix kernel.
And flash a TWRP.img to the recovery partition.
fotakernel.sin reside's where we flash twrp on stock. you do not need to flash it to upgrade, contrary you can exclude it in flashtool and keep twrp between updates.
realtuxen said:
fotakernel.sin reside's where we flash twrp on stock. you do not need to flash it to upgrade, contrary you can exclude it in flashtool and keep twrp between updates.
Click to expand...
Click to collapse
this is real knowledge, thanks! so just to be sure, this is what i will do in flashtool:
1) wipe: nothing selected
2) exclude: fotakernel.sin selected
can anybody confirm this is correct?
then after this, i will flash a custom kernel via fastboot and magisk via twrp.
one question regarding magisk: will it be deleted during the flashtool update?
So I ran into a problem...
The Upgrade to 7.1.1 via flashtool was smooth. Then, i flashed twrp via fastboot as usual. When I tried to enter twrp, i get a password prompt to decrypt the phone. So i don't know which password i need to type in. I tried the unlock PIN, doesnt work. Any suggestions?
tempurastyle said:
Any suggestions?
Click to expand...
Click to collapse
To get round that you need to run the following commands...
Code:
fastboot format userdata
fastboot format cache
...so you'll need to backup all your data first.
XperienceD said:
To get round that you need to run the following commands...
Code:
fastboot format userdata
fastboot format cache
...so you'll need to backup all your data first.
Click to expand...
Click to collapse
Ok, so I decided to keep my data and don't install twrp. Now I got another issue, is it possible to install Magisk without TWRP? I already got my kernel using my ta backup according to the instructions a few posts above, which really works great.
tempurastyle said:
Ok, so I decided to keep my data and don't install twrp. Now I got another issue, is it possible to install Magisk without TWRP? I already got my kernel using my ta backup according to the instructions a few posts above, which really works great.
Click to expand...
Click to collapse
I thought you excluded fotakernel so you did not have to flash twrp again. Oh well anyway you can use twrp to flash zips just fine although /data is encrypted, most flash zips do not write to /data anyway some like supersu use /cache (which is not encrypted contrary to the info above) to get around encryption at next boot. And like magisk also patch the boot.img live on your phone, some write to /system which is not encrypted either, I never seen a flash zip that did write to /data. Only backup/browsing/etc on /data is affected.
So when presented with the password screen in twrp just press cancel and make sure the zip you want to flash is located on the external sd card (do not encrypt this in phone settings, your card will be unreadable from pcs to) then choose flash zip and choose the external sdcard to pick the zip from and flash magisk or whatever. You need to run your kernel through ta poc or rootkernel first and disable dm verity and sony ric. (you write you did this so just install twrp and flash away) Do not wipe cache before rebooting just in case magisk uses this in a similar way to supersu (I have no idea)
Also if you do the above fastboot format commands suggested in post#8 without disabling 'forceencrypt' for /data (fstab in the kernel image or with a tool) the phone will encrypt itself again as soon as you turn it on.
If forceencrypt is disabled the same can be achieved (clearing encryption) with a factory reset btw.
So if you did not bump into the password in twrp before you likely did a factory reset with a kernel with encryption disabled. Then, maybe after updating you rebooted stock and the phone encrypted itself again, then now you can not access /data in twrp. Thats also because we have no version of it that supports encryption on the X-compact though. Again do not worry, I have not meet a zip I could not flash, supersu, magisk, etc because they do not access /data anyway.
realtuxen said:
I thought you excluded fotakernel so you did not have to flash twrp again. Oh well anyway you can use twrp to flash zips just fine although /data is encrypted, most flash zips do not write to /data anyway some like supersu use /cache (which is not encrypted contrary to the info above) to get around encryption at next boot. And like magisk also patch the boot.img live on your phone, some write to /system which is not encrypted either, I never seen a flash zip that did write to /data. Only backup/browsing/etc on /data is affected.
So when presented with the password screen in twrp just press cancel and make sure the zip you want to flash is located on the external sd card (do not encrypt this in phone settings, your card will be unreadable from pcs to) then choose flash zip and choose the external sdcard to pick the zip from and flash magisk or whatever. You need to run your kernel through ta poc or rootkernel first and disable dm verity and sony ric. (you write you did this so just install twrp and flash away) Do not wipe cache before rebooting just in case magisk uses this in a similar way to supersu (I have no idea)
Click to expand...
Click to collapse
Yes, after the first upgrade attempt, i let twrp untouched. then when entering twrp, i didnt have a password, so i skipped it. i couldn't find the sd card in the file browser, and after i hit reboot in twrp the phone restarted and got stuck in boot.
So I flashed again, this time deleting twrp. the initial boot up went fine. Then i flashed twrp again and once again, without having a password, i just skipped the password prompt. still couldnt find the sd card, and i rebooted out of twrp. and the phone got stuck again.
after 2-3 trials, i figured out that everytime i rebooted out of twrp, the phone gets stuck during boot. even after turning it off and on, so a reflash was needed.
now i have given up using twrp, so i have an unrooted phone with an unlocked bootloader. which does not allow me to use android pay. i think to solve my problem is:
1) i need to know which twrp version really works, i have tried
this version
and this version
both cause a boot failure for me
2) i need to find the sd card location in the twrp file browser (all the folders show empty for me)
if nothing works, i guess i need to wipe my phone, but that's what i would like to avoid. thanks for your help guys!
tempurastyle said:
Yes, after the first upgrade attempt, i let twrp untouched. then when entering twrp, i didnt have a password, so i skipped it. i couldn't find the sd card in the file browser, and after i hit reboot in twrp the phone restarted and got stuck in boot.
So I flashed again, this time deleting twrp. the initial boot up went fine. Then i flashed twrp again and once again, without having a password, i just skipped the password prompt. still couldnt find the sd card, and i rebooted out of twrp. and the phone got stuck again.
after 2-3 trials, i figured out that everytime i rebooted out of twrp, the phone gets stuck during boot. even after turning it off and on, so a reflash was needed.
now i have given up using twrp, so i have an unrooted phone with an unlocked bootloader. which does not allow me to use android pay. i think to solve my problem is:
1) i need to know which twrp version really works, i have tried
this version
and this version
both cause a boot failure for me
2) i need to find the sd card location in the twrp file browser (all the folders show empty for me)
if nothing works, i guess i need to wipe my phone, but that's what i would like to avoid. thanks for your help guys!
Click to expand...
Click to collapse
The 2. issue with the sdcard is easy. After pressing 'install' button in twrp at the bottom left press the "select storage' button, a small window will pop up then select the 'micro sdcard' and press 'ok", you should see your files now.
The 1. ssue is really odd! I use the second twrp you posted, for some wierd reason the first one does not boot for me (twrp does not start). But I talked with another guy for him it was the other way around. It was really strange. I think most can use both though without problems
There is one more twrp 3.1 from bambamx, but I really do not get this, twrp boots from its own partition with its own kernel. They should be separated unless twrp does something to system ofcause which it very well shouldn't unless you ask it to, deleting a important file or flashing something. I have never heard of this sorry. One thing is certain our device sure could use a stable nougat encryption compatible twrp!
I will let you know if I find something, you can try the last available version, I have no idea if it will exhibit the same strange behaviour. But maybe its worth a shot although it seems something else is at play.
A couple of stupid questions sorry; You disabled dm verity and sony ric in ta poc right, and it does not happen if you boot your phone normal a couple of times.
Edit: sorry Mr. Sandman had not left so I did not read properly here from the morning. I will edit my post to actually answer as best as I can lol.
Just to let you know:
1. You do not need to install TWRP to use it! You can just do
Code:
fastboot boot <TWRP image>
to run TWRP on the phone (instead of
Code:
fastboot flash boot <TWRP image>
). The only drawback of this method is that you will always need a computer to enter TWRP. Btw. with this method you can also try out a custom kernel image before flashing it.
2. You do not need write access to /data partition to install Magisk. It was explained in another thread that Magisk can use /cache temporary when access to /data is not available. It will write to /data on first boot instead.
3. While using TWRP you can use adb to transfer files onto the phone, so you don't need to have them ready on the internal storage.
realtuxen said:
The 2. issue with the sdcard is easy. After pressing 'install' button in twrp at the bottom left press the "select storage' button, a small window will pop up then select the 'micro sdcard' and press 'ok", you should see your files now.
Click to expand...
Click to collapse
I did, but the SD card can't be selected, and the size shows as 0kb. I did a workaround though: i formatted a spare sd card and copied magisk on it. it was instantly recognized and selectable.
ypnos42 said:
Just to let you know:
1. You do not need to install TWRP to use it! You can just do
Code:
fastboot boot <TWRP image>
to run TWRP on the phone (instead of
Code:
fastboot flash boot <TWRP image>
). The only drawback of this method is that you will always need a computer to enter TWRP. Btw. with this method you can also try out a custom kernel image before flashing it.
3. While using TWRP you can use adb to transfer files onto the phone, so you don't need to have them ready on the internal storage.
Click to expand...
Click to collapse
GREAT advice! I launched TWRP from ADB and successfully flashed Magisk using ADB sideload. Thanks, my phone is rooted again!

Categories

Resources