Lost Recovery after Installed CM 11 on Xperia Z - Xperia Z Q&A, Help & Troubleshooting

How can i re-install recovery on CM 11 Xperia Z

aazamsajid said:
How can i re-install recovery on CM 11 Xperia Z
Click to expand...
Click to collapse
here you go
dd Install Method (Requires Root):
Download the latest image file (.img). Place it in the root of your /sdcard folder and rename it to FOTAKernel.img. Run the following commands via adb shell or a terminal emulator app:
su
dd if=/sdcard/FOTAKernel.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Then you have your recovery back.

ExCuTioN said:
here you go
dd Install Method (Requires Root):
...
Click to expand...
Click to collapse
Yes, the most elegant and satisfying way of doing it. Rashr from play store is another option. Select the. img and flash it to recovery (in reality - fotakernel)

Related

[How-To] Restoring Recovery when Device running - An easy way (CWM / Stock)

Restoring stock recovery: (without Download mode)
[Preparation]
Our FIH partition which you could see in download mode is huge. (Size: 105 MB Used: 43 MB only)
You could easily keep loads of file in this partition without any problem to your device. (I have not faced any, as of yet!)
Just keep a backup of stock recovery in the "image" folder itself with the name "stock_recovery.img" (size: 4.5 MB only)
[Optional] And backup of CWM recovery too with the name "cwm_recovery.img" (size: 5 MB)
[Requirement]
Rooted phone
Apps like: GScripts Lite or Any script manager or Terminal emulator
[How to restore]
Just run following commands using any script manager or save them in a ".sh" file and use
"sh script.sh" in terminal emulator.
Commands:
Code:
mkdir /sdcard/fih
mount -t vfat /dev/block/mmcblk0p1 /sdcard/fih/
cd /sdcard/fih/image/
mv ./stock_recovery.img ./recovery.img
cd /
umount /sdcard/fih
rm -r /sdcard/fih/
(You can use "cp" instead of "mv" if you are not going for warranty claiming and just wants to use stock recover.img. Replace "stock" with "cwm" if you want to use that)
Thats it!
Now restart your phone in recovery using any reboot apps with recovery reboot option or just type in terminal "reboot recovery". You will boot into your desired recovery.
[Note]
When you install any official "fb0" ROM your phone is no more rooted, so you will need to root your phone first before using these steps again.
[Disclaimer]
I am not to be held liable/responsible if you damage your phone by following/not following this thread.
Napstar said:
Restoring stock recovery:
[Preparation]
Our FIH partition which you could see in download mode is huge. (Size: 105 MB Used: 43 MB only)
You could easily keep loads of file in this partition without any problem to your device. (I have not faced any, as of yet!)
Just keep a backup of stock recovery in the "image" folder itself with the name "stock_recovery.img" (size: 4.5 MB only)
[Optional] And backup of CWM recovery too with the name "cwm_recovery.img" (size: 5 MB)
[Requirement]
Rooted phone
Apps like: GScripts Lite or Any script manager or Terminal emulator
[How to restore]
Just run following commands using any script manager or save them in a ".sh" file and use
"sh script.sh" in terminal emulator.
Commands:
Code:
mkdir /sdcard/fih
mount -t vfat /dev/block/mmcblk0p1 /sdcard/fih/
cd /sdcard/fih/image/
mv ./stock_recovery.img ./recovery.img
cd /
umount /sdcard/fih
rm -r /sdcard/fih/
(You can use "cp" instead of "mv" if you are not going for warranty claiming and just wants to use stock recover.img. Replace "stock" with "cwm" if you want to use that)
Thats it!
Now restart your phone in recovery using any reboot apps with recovery reboot option or just type in terminal "reboot recovery". You will boot into your desired recovery.
[Note]
When you install any official "fb0" ROM your phone is no more rooted, so you will need to root your phone first before using these steps again.
[Disclaimer]
I am not to be held liable/responsible if you damage your phone by following/not following this thread.
Click to expand...
Click to collapse
i have much more easier way..
try this
put this phone in the download mode (power + volume up key)
connect to pc
open the drive as it will be shown as a usb storage
go to image folder..
copy your phone's stock version of recovery.img file paste to any drive of your pc .. woho backed up
now copy cwm recovery image
before copying rename it to recovery insteed to cwmrecovery
past to image folder of fih drive overwrite
done... you are now on clock work mode recovery
kshitij_bhatt said:
i have much more easier way..
try this
put this phone in the download mode (power + volume up key)
connect to pc
open the drive as it will be shown as a usb storage
go to image folder..
copy your phone's stock version of recovery.img file paste to any drive of your pc .. woho backed up
now copy cwm recovery image
before copying rename it to recovery insteed to cwmrecovery
past to image folder of fih drive overwrite
done... you are now on clock work mode recovery
Click to expand...
Click to collapse
True...
That's the most generic way to that, but it requires those tedious button pressings.
And also it requites a PC!!
My method can be used if you are on the go and still wants to restore any recoveries.
Sent from my CSL-MI410
Napstar said:
True...
That's the most generic way to that, but it requires those tedious button pressings.
And also it requites a PC!!
My method can be used if you are on the go and still wants to restore any recoveries.
Sent from my CSL-MI410
Click to expand...
Click to collapse
hehehe i found a on the go method too...
if you have root access and can install root explorer then just do this
go to root explorer
locate sdcard
select the image file you copied on it and press and hold over it
now select copy
press back now you r in root menu .. locate fih
find iamge folder in it
and paste if asked over write if not backup old one and chage present one as recovery Remember recovery and NOT Recovery
and you r done
kshitij_bhatt said:
hehehe i found a on the go method too...
if you have root access and can install root explorer then just do this
go to root explorer
locate sdcard
select the image file you copied on it and press and hold over it
now select copy
press back now you r in root menu .. locate fih
find iamge folder in it
and paste if asked over write if not backup old one and chage present one as recovery Remember recovery and NOT Recovery
and you r done
Click to expand...
Click to collapse
Well, that's good news then..
But as far as I remember there is no fih folder in root of the system unless it is mounted by some init script.
Which is your current rom?
Sent from my CSL-MI410 using Tapatalk
Napstar said:
Well, that's good news then..
But as far as I remember there is no fih folder in root of the system unless it is mounted by some init script.
Which is your current rom?
Sent from my CSL-MI410 using Tapatalk
Click to expand...
Click to collapse
You can only access it in download mode as far as I know.
Sergekarol said:
You can only access it in download mode as far as I know.
Click to expand...
Click to collapse
No. Thats not the only way.
Thats why I have created this thread to show the other possible way to access it when your phone is booted and running.
Napstar said:
Well, that's good news then..
But as far as I remember there is no fih folder in root of the system unless it is mounted by some init script.
Which is your current rom?
Sent from my CSL-MI410 using Tapatalk
Click to expand...
Click to collapse
well at that time i was on the tj_style's custom rom rc2 and i found that folder in root explorer ... i think .. confused..
aannnn any way i m a new B what else can u expect
kshitij_bhatt said:
well at that time i was on the tj_style's custom rom rc2 and i found that folder in root explorer ... i think .. confused..
aannnn any way i m a new B what else can u expect
Click to expand...
Click to collapse
No problem dude!
Anyway I will be posting a completely new recovery soon. This will have both stock recovery and cwm recovery access simultaneously. (Hopefully )
So this How-To wont be required then...
Napstar said:
No problem dude!
Anyway I will be posting a completely new recovery soon. This will have both stock recovery and cwm recovery access simultaneously. (Hopefully )
So this How-To wont be required then...
Click to expand...
Click to collapse
Coool .... koi mujhe bhi accha sa teacher bata do jo ye saab developing and all mujhe bhi sikha de... Vb se aage kabhi kuch sikh hi nahi paya main to
kshitij_bhatt said:
Coool .... koi mujhe bhi accha sa teacher bata do jo ye saab developing and all mujhe bhi sikha de... Vb se aage kabhi kuch sikh hi nahi paya main to
Click to expand...
Click to collapse
Google
kshitij_bhatt said:
Coool .... koi mujhe bhi accha sa teacher bata do jo ye saab developing and all mujhe bhi sikha de... Vb se aage kabhi kuch sikh hi nahi paya main to
Click to expand...
Click to collapse
What does this mean?
ardX said:
What does this mean?
Click to expand...
Click to collapse
He is asking napster for a teacher to teach development...
Sent from my CSL-MI410 using XDA App
bandukia said:
He is asking napster for a teacher to teach development...
Sent from my CSL-MI410 using XDA App
Click to expand...
Click to collapse
hehehe yaa i wanna learn development programming and i got my teacher GOOGLE
nb0 files through CWM????
when napstar???
bandukia said:
nb0 files through CWM????
when napstar???
Click to expand...
Click to collapse
Finally its done!!
[RecoveryMenu] CWM based Recovery menu to enter stock or CWM recovery
Enjoy!!
Napstar said:
Finally its done!!
[RecoveryMenu] CWM based Recovery menu to enter stock or CWM recovery
Enjoy!!
Click to expand...
Click to collapse
@Napstar .... You are Gr8 nicely done work...
Napstar said:
Finally its done!!
[RecoveryMenu] CWM based Recovery menu to enter stock or CWM recovery
Enjoy!!
Click to expand...
Click to collapse
lol..that was fast.. thnx
bandukia said:
lol..that was fast.. thnx
Click to expand...
Click to collapse
Was debugging it for last few days. It was just finished yesterday and since you asked so here it is.
Napstar said:
Restoring stock recovery: (without Download mode)
[Preparation]
Our FIH partition which you could see in download mode is huge. (Size: 105 MB Used: 43 MB only)
You could easily keep loads of file in this partition without any problem to your device. (I have not faced any, as of yet!)
Just keep a backup of stock recovery in the "image" folder itself with the name "stock_recovery.img" (size: 4.5 MB only)
[Optional] And backup of CWM recovery too with the name "cwm_recovery.img" (size: 5 MB)
[Requirement]
Rooted phone
Apps like: GScripts Lite or Any script manager or Terminal emulator
[How to restore]
Just run following commands using any script manager or save them in a ".sh" file and use
"sh script.sh" in terminal emulator.
Commands:
Code:
mkdir /sdcard/fih
mount -t vfat /dev/block/mmcblk0p1 /sdcard/fih/
cd /sdcard/fih/image/
mv ./stock_recovery.img ./recovery.img
cd /
umount /sdcard/fih
rm -r /sdcard/fih/
(You can use "cp" instead of "mv" if you are not going for warranty claiming and just wants to use stock recover.img. Replace "stock" with "cwm" if you want to use that)
Thats it!
Now restart your phone in recovery using any reboot apps with recovery reboot option or just type in terminal "reboot recovery". You will boot into your desired recovery.
[Note]
When you install any official "fb0" ROM your phone is no more rooted, so you will need to root your phone first before using these steps again.
[Disclaimer]
I am not to be held liable/responsible if you damage your phone by following/not following this thread.
Click to expand...
Click to collapse
But then I cannot start up my phone! It vibrates and the download screen show up! Help! ( csl mi410 )
Any advices is really appreciated!

[Q&A] [Recovery][CWM][TWRP][UB]Flashable Recovery For Xperia ZR

Q&A for [Recovery][CWM][TWRP][UB]Flashable Recovery For Xperia ZR
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Recovery][CWM][TWRP][UB]Flashable Recovery For Xperia ZR. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
NOOB here.. all the threads says just flash the recovery TWRP using recovery mode.
the thing is how do I get into recovery mode on my Xperia ZR in the first place.. rebooting using power and volume down button opens SAFE mode..
please help..
also, TWRP Manager doesn't list Xperia ZR C5502 in the device list. (It has Xperia Z C5502 though)..
can i flash TWRP for Xperia Z(yuga) on my Xperia ZR(DOGO)??
please help.. thanks in advance...
psawardekar said:
NOOB here.. all the threads says just flash the recovery TWRP using recovery mode.
the thing is how do I get into recovery mode on my Xperia ZR in the first place.. rebooting using power and volume down button opens SAFE mode..
please help..
also, TWRP Manager doesn't list Xperia ZR C5502 in the device list. (It has Xperia Z C5502 though)..
can i flash TWRP for Xperia Z(yuga) on my Xperia ZR(DOGO)??
please help.. thanks in advance...
Click to expand...
Click to collapse
If you have no recovery installed, there is no recovery mode bro.. DON"T use power button but go to general section and choose a pre-rooted ROM for your phone and recovery will/should be pre-installed.. after having recovery installed, to get to recovery, reboot phone and at the sony screen a green/pink led will show and you push VOL-UP and that will get you to recovery..
hagar006 said:
go to general section and choose a pre-rooted ROM for your phone and recovery will/should be pre-installed..
Click to expand...
Click to collapse
Okaaay... so in short, you mean to install a custom rom in the first place.. (wipe off everything :crying: )
where do i get this pre-rooted ROM?? could't find it anywhere in XDA.. and it wont require custom recovery to flash it??
basically, the thing is; Im running stock sony Lollipop 10.6.A.0.454 firmware on Xperia ZR. rooted using kingroot.
and Im missing Xposed frameworks badly.. :crying: :crying: earlier the installation was simple with kitkat. however with lollipop, xposed needs to be flashed since its a alpha release.
thats the only reason i need a recovery. I have the TWRP recovery.img for my phone but flashing it is a problem. cant use Flashify also. doesnt work.(gives error: Partition not found)
can you suggest any other simple way to tackle this? using fastboot or ADB?
Place the recovery.img to your phone internal storage and use adb or emulator commands to install to your Fota:
Su
dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Go to play store and get android terminal emulator (free) and run the above commands.. Press enter after su and grant root rights and then do the rest of the command and press enter again.. Of all goes well, you'll have recovery..
Sent from my Xperia Z using XDA Forums Pro
hagar006 said:
Place the recovery.img to your phone internal storage and use adb or emulator commands to install to your Fota:
Su
dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Go to play store and get android terminal emulator (free) and run the above commands.. Press enter after su and grant root rights and then do the rest of the command and press enter again.. Of all goes well, you'll have recovery..
Sent from my Xperia Z using XDA Forums Pro
Click to expand...
Click to collapse
Didn't work
Was typing in Terminal Emulator, Xperia ZR C5502, stock Android 5.0.2, rooted, locked bootloader
Brembol said:
Didn't work
Was typing in Terminal Emulator, Xperia ZR C5502, stock Android 5.0.2, rooted, locked bootloader
Click to expand...
Click to collapse
Try dual recovery for stock by xenius9.. Should be in his CM12 thread in general section.. Or dual recovery by NUT.. comes with installer or flashable zip.. Look in the cross device section and you will find
Sent from my ZR
hagar006 said:
Try dual recovery for stock by xenius9.. Should be in his CM12 thread in general section.. Or dual recovery by NUT.. comes with installer or flashable zip.. Look in the cross device section and you will find
Sent from my ZR
Click to expand...
Click to collapse
The problem is that I have neither computer (broken), nor recovery. Is there any other way to install recovery (CWM or TWRP) without computer?
Brembol said:
The problem is that I have neither computer (broken), nor recovery. Is there any other way to install recovery (CWM or TWRP) without computer?
Click to expand...
Click to collapse
Yes but the problem is your locked boot loader.. If un locked the emulator would do the job.. But locked, you need to get dual recovery from NUT (with computer for the installer).. But to unlock your boot loader you need computer so you can lock again.. Or a already working recovery.. Sorry mate, I know of no other way..
I've been thinking a little.. Take a look at nut's dual recovery installer and see of there is a way to download to your phone and install using emulator.. Should work.. I think
Sent from my ZR
Haven't found any instruction, which I can understand and tells how to install recovery without PC in [NUT]'s thread. I think it's easier to wait and install using computer. Still thanks for help and sorry for your time
Brembol said:
Haven't found any instruction, which I can understand and tells how to install recovery without PC in [NUT]'s thread. I think it's easier to wait and install using computer. Still thanks for help and sorry for your time
Click to expand...
Click to collapse
If you have root ... download from playstore:
Terminal Emulator
Root Browser
Download the windows recovery installer from here http://forum.xda-developers.com/showthread.php?p=46216491
Steps:
1. unzip the windows installer
2. with root browser :
- go to folder
/data/local/tmp/
-create a new folder called recovery
So you have this path: /data/local/tmp/recovery
- from the unziped windows installer put the following files into the folder you created:
-> ric , charger , chargemon.sh , dualrecovery.sh , busybox , recovery.twrp.cpio.lzma , recovery.cwm.cpio.lzma , supersu.sh
If you have all those files in the folder... Klick on them (in root browser) and change permissions of all those files to rwxrwxr-x
Then go to terminal emulator and type:
su -c /system/bin/ls -la /data/local/tmp/recovery/chargemon
And after that:
su -c /data/local/tmp/recovery/supersu.sh
And then:
su reboot recovery
Then you should have a recovery installed without pc
Sent from my Xperia T using XDA Free mobile app
SdtBarbarossa said:
If you have root ... download from playstore:
Terminal Emulator
Root Browser
Download the windows recovery installer from here http://forum.xda-developers.com/showthread.php?p=46216491
Steps:
1. unzip the windows installer
2. with root browser :
- go to folder
/data/local/tmp/
-create a new folder called recovery
So you have this path: /data/local/tmp/recovery
- from the unziped windows installer put the following files into the folder you created:
-> ric , charger , chargemon.sh , dualrecovery.sh , busybox , recovery.twrp.cpio.lzma , recovery.cwm.cpio.lzma , supersu.sh
If you have all those files in the folder... Klick on them (in root browser) and change permissions of all those files to rwxrwxr-x
Then go to terminal emulator and type:
su -c /system/bin/ls -la /data/local/tmp/recovery/chargemon
And after that:
su -c /data/local/tmp/recovery/supersu.sh
And then:
su reboot recovery
Then you should have a recovery installed without pc
Sent from my Xperia T using XDA Free mobile app
Click to expand...
Click to collapse
Didn't work
After su -c ... /supersu.sh phone rebooted and worked normally. When "Sony" screen appears, LED doesn't work
Brembol said:
Didn't work
After su -c ... /supersu.sh phone rebooted and worked normally. When "Sony" screen appears, LED doesn't work
Click to expand...
Click to collapse
have you set the rights completely?
is your root working properly?
have you any log from terminal rmulator for me?
Sent from my C2105 using XDA Free mobile app
SdtBarbarossa said:
have you set the rights completely?
is your root working properly?
have you any log from terminal rmulator for me?
Sent from my C2105 using XDA Free mobile app
Click to expand...
Click to collapse
I have set the permissions, root works properly.
In "su -c ... chargemon" I wrote "chargemon.sh" instead of "chargemon", because Terminal Emulator said that there was no such directory.
After "su -c ... /supersu.sh" Terminal Emulator said something about checking recovery...
Sorry, can't say what writes Terminal Emulator after "su -c ... supersu.sh". Phone reboots too fast :banghead:
Brembol said:
I have set the permissions, root works properly.
In "su -c ... chargemon" I wrote "chargemon.sh" instead of "chargemon", because Terminal Emulator said that there was no such directory.
After "su -c ... /supersu.sh" Terminal Emulator said something about checking recovery...
Sorry, can't say what writes Terminal Emulator after "su -c ... supersu.sh". Phone reboots too fast :banghead:
Click to expand...
Click to collapse
Hm... If you want install teamviewer from playstore and i will look into it
Sent from my Xperia T using XDA Free mobile app
New to root
Hi, I'm quite new to root. Can you tell me how to flash custom recovery???
Android4Lyfeee said:
Hi, I'm quite new to root. Can you tell me how to flash custom recovery???
Click to expand...
Click to collapse
It's not really that complicated but it depends on if you have locked bootloader and already rooted or not, what firmware are you on.. If your bootloader is locked, go to cross device section and download TA backup so you can back up your keys for locking your bootloader again..if you have unlocked bootloader, things are simpler.. Let me know and I'll give you a step by step tutorial..
Sent from my ZR
hagar006 said:
It's not really that complicated but it depends on if you have locked bootloader and already rooted or not, what firmware are you on.. If your bootloader is locked, go to cross device section and download TA backup so you can back up your keys for locking your bootloader again..if you have unlocked bootloader, things are simpler.. Let me know and I'll give you a step by step tutorial..
Sent from my ZR
Click to expand...
Click to collapse
My bootloader is locked, but I am rooted. I'm also running Android 5.0.2 Lollipop right now.
Sent from my C5502 using Tapatalk
Android4Lyfeee said:
My bootloader is locked, but I am rooted. I'm also running Android 5.0.2 Lollipop right now.
Sent from my C5502 using Tapatalk
Click to expand...
Click to collapse
Ok.. Go to the cross device section and download dual recovery installer by NUT.. Extract the installer to your desk top, make sure you have debugging checked on your phone, connect your phone to pc with usb, go to dual recovery folder and click the .bat according to your root ie superuser or supersu. Follow the instructions and you have working recovery.. Please note, this will not work with kingroot.. Horrible app anyway..
Sent from my ZR
hagar006 said:
Ok.. Go to the cross device section and download dual recovery installer by NUT.. Extract the installer to your desk top, make sure you have debugging checked on your phone, connect your phone to pc with usb, go to dual recovery folder and click the .bat according to your root ie superuser or supersu. Follow the instructions and you have working recovery.. Please note, this will not work with kingroot.. Horrible app anyway..
Sent from my ZR
Click to expand...
Click to collapse
I rooted with Kingroot, but I changed it to SuperSU. Is this okay?
EDIT: Wow, thanks, it worked!
Sent from my C5502 using Tapatalk

How to I can remove Cyanogen Recovery and install Team Win Recovery?

Pls help
you need to flash recovery image by dd command via terminal or adb shell.
first Download the latest TWRP image file (.img) from the download linkhttps://dl.twrp.me/yuga/
Place it in the root of your /sdcard folder and rename it to twrp.img
Run the following commands via adb shell or a terminal emulator app:
Code:
su
and then
Code:
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
and its done.
press thanks if it was helpful.
It works
Sent from my Xperia Z using XDA Free mobile app
says if=illegal argument or already set
using cm 12.1 nightly
device: xperia z c6602
Work om 6.0?
Just use the TWRP Manager.
https://play.google.com/store/apps/details?id=com.jmz.soft.twrpmanager

How to unlock bootloader on D405 v20a?

Hi!
I haven't found aboot.zip for my device. LG D405 v20a. Help anyone? Rooted but need to unlock to install TWRP and custom ROM.
You must have full rooted device. Install terminal from play and open it.
Type: su
(grant superuser permission)
then type:
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/sdcard/aboot.bin
VERY careful with spaces and punctuation. One wrong letter and you could nuke your phone.
Then download Flashify and install latest version of TWRP.
Note: You must save aboot.bin file in root of your external sd card before execute command.
View attachment D405_v20a_patched_aboot.zip
Vule991 said:
You must have full rooted device. Install terminal from play and open it.
Type: su
(grant superuser permission)
then type:
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/sdcard/aboot.bin
VERY careful with spaces and punctuation. One wrong letter and you could nuke your phone.
Then download Flashify and install latest version of TWRP.
Note: You must save aboot.bin file in root of your external sd card before execute command.
View attachment 3598855
Click to expand...
Click to collapse
Did everything as you said. Took the twrp.img file from here: http://forum.xda-developers.com/lg-l90/development/recovery-twrp2-7-1-0lgl90w7xxshoxx-t2826150
After installed from flashify I go boot to recovery and then I get LG logo with white text Secure Booting Error! Cause: boot certification verify and black screen. Nothing happens then and I have to take my battery out and then put it in to reboot and it loads back to stock rom normally. What is wrong?
J3R3MiN said:
Did everything as you said. Took the twrp.img file from here: http://forum.xda-developers.com/lg-l90/development/recovery-twrp2-7-1-0lgl90w7xxshoxx-t2826150
After installed from flashify I go boot to recovery and then I get LG logo with white text Secure Booting Error! Cause: boot certification verify and black screen. Nothing happens then and I have to take my battery out and then put it in to reboot and it loads back to stock rom normally. What is wrong?
Click to expand...
Click to collapse
Hm if you work step by step it should be all right and that you can enter into recovery. Try again download aboot.bin and then do the same. Maybe the file is corrupted when you downloaded to disk.
Vule991 said:
Hm if you work step by step it should be all right and that you can enter into recovery. Try again download aboot.bin and then do the same. Maybe the file is corrupted when you downloaded to disk.
Click to expand...
Click to collapse
OK I'll try again but what about this command? Is it the same or is it wrong?
su
dd if=/storage/sdcard/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
J3R3MiN said:
OK I'll try again but what about this command? Is it the same or is it wrong?
su
dd if=/storage/sdcard/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Click to expand...
Click to collapse
Same, download file again and repeat operation.
Vule991 said:
Same, download file again and repeat operation.
Click to expand...
Click to collapse
Repeated all the steps, nothing. Same error. My su + code didn't work (couldn't find sdcard file) so I used yours again. Flashed again twrp image and rebooted to recovery through Flashify.
J3R3MiN said:
Repeated all the steps, nothing. Same error. My su + code didn't work (couldn't find sdcard file) so I used yours again. Flashed again twrp image and rebooted to recovery through Flashify.
Click to expand...
Click to collapse
What about this code? With the use of Minimal ADB and fastboot
adb push aboot.bin /storage/external_SD/aboot.bin
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/external_SD/stockaboot.bin
dd if=/storage/external_SD/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
EDIT: I GOT IT WORKING WITH THIS CODE THROUGH ADB CMD ON MY LAPTOP. THANK YOU FOR THE ABOOT FILE :angel: :highfive:
EDIT2: Had rooted Lollipop LG L90 D405 v20a for this to work.
J3R3MiN said:
What about this code? With the use of Minimal ADB and fastboot
adb push aboot.bin /storage/external_SD/aboot.bin
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/external_SD/stockaboot.bin
dd if=/storage/external_SD/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
EDIT: I GOT IT WORKING WITH THIS CODE THROUGH ADB CMD ON MY LAPTOP. THANK YOU FOR THE ABOOT FILE :angel: :highfive:
Click to expand...
Click to collapse
I still have the error:crying::crying:
I use this patch but still unlocked bootloader
l90 d405 v20a
J3R3MiN said:
What about this code? With the use of Minimal ADB and fastboot
I GOT IT WORKING WITH THIS CODE THROUGH ADB CMD ON MY LAPTOP. THANK YOU FOR THE ABOOT FILE :angel: :highfive:
Click to expand...
Click to collapse
I have D405n V20a, how can I unlock bootloader?
Worked for me! Thanks for the modified aboot.bin. I took the command from this Thread, and the aboot.bin from this current Thread. I executed the command over ADB shell after copying the aboot.bin to the sdcard, worked without any problems!
rueolps said:
Worked for me! Thanks for the modified aboot.bin. I took the command from this Thread, and the aboot.bin from this current Thread. I executed the command over ADB shell after copying the aboot.bin to the sdcard, worked without any problems!
Click to expand...
Click to collapse
I have D410n v20a so what should i download?
Mammolos98 said:
I have D410n v20a so what should i download?
Click to expand...
Click to collapse
Not this one, I guess...
rueolps said:
Worked for me! Thanks for the modified aboot.bin. I took the command from this Thread, and the aboot.bin from this current Thread. I executed the command over ADB shell after copying the aboot.bin to the sdcard, worked without any problems!
Click to expand...
Click to collapse
I did the same but my bootloader is still locked
Because the adb commands were executed fine I thought it worked and I tried to flash TWRP. Probably flashing was okay but no I cannot boot into recovery. I get an android lying on his back with an exclamation mark. And fastboot getvar all tells me the bootloader is not unlocked.
What can I do to repair my recovery and unlock the bootloader (v20a)?
Try it again. Remember: Even if you execute it over adb shell, you need to type "su" first. Afterwards you need to allow the root access of adb shell on your phone (if you have never used it before). You should get the "#" on adb shell now. Only now you are able to execute the copy of the aboot.bin. If it executes fine you should see something like "1 file copied" if I remember correctly.

full-backup partition tool - script for terminal

I made a script to backup any partition in our A7:
YOU HAVE TO BE ROOT, TO USE IT.
To run it simply push to the sdcard fire up adb shell to launch the script.
from the computer while connected to the A7 with usb debugging turned on
Code:
adb push PATH_to_the_script/full-backup.sh /sdcard
and
Code:
adb shell
su
cd /sdcard/
sh full-backup.sh
you will see a menu to choose which partition to backup.
As in the attachment.
enjoy, and please hit the thanks button.
the script v1.00
and a terminal screenshot.
Could you use terminal emulator to run this from on the phone thus cutting out the need for a pc?
ultramag69 said:
Could you use terminal emulator to run this from on the phone thus cutting out the need for a pc?
Click to expand...
Click to collapse
yes you could run it directly form the device:
fire up a terminal emulator app:
RUN IT AS ROOT
Code:
su
sh /sdcard/full-backup.sh
thank you. we can backup unmodified firmware via this tool right?
RealSchule said:
thank you. we can backup unmodified firmware via this tool right?
Click to expand...
Click to collapse
So you need to be root to use this script, so not really..
RealSchule said:
thank you. we can backup unmodified firmware via this tool right?
Click to expand...
Click to collapse
The root modifed just the boot partition so you could backup every stock partition but the stock boot... but you could get the stock boot from other places...
manu7irl said:
The root modifed just the boot partition so you could backup every stock partition but the stock boot... but you could get the stock boot from other places...
Click to expand...
Click to collapse
we can backup all images except boot.img with this tool but we can find boot.img from other topic. so we have full stock images right?
If you have root you can backup every single partition. This is not full stock rom! This is for backup and restore easily.
manu7irl said:
If you have root you can backup every single partition. This is not full stock rom! This is for backup and restore easily.
Click to expand...
Click to collapse
So what is the process to restore these images? Is it as simple as flashing in twrp?
Go in TWRP, fire up adb shell on your PC, then do:
Code:
dd if=/sdcard/[backup_folder]/[partition].img of=/dev/block/bootdevice/by-name/[partition_name]
example:
Code:
dd if=/sdcard/backup-part/[date-folder]/system.img of=/dev/block/bootdevice/by-name/system
I will also make a restore part in this little script. If you are intersting in one to do so.
Sure that would be great. Thanks.
manu7irl said:
Go in TWRP, fire up adb shell on your PC, then do:
Code:
dd if=/sdcard/[backup_folder]/[partition].img of=/dev/block/bootdevice/by-name/[partition_name]
example:
Code:
dd if=/sdcard/backup-part/[date-folder]/system.img of=/dev/block/bootdevice/by-name/system
I will also make a restore part in this little script. If you are intersting in one to do so.
Click to expand...
Click to collapse
Been waiting for just that.

Categories

Resources