(D405) Manually unlock bootloader - LG Optimus L90

Hi all!
I'm trying to unlock my phone's bootloader with terminal emulator with this command:
Code:
su
dd if=/sdcard/aboot.bin of=/dev/block/mmcblk0p6
but it gave me an error like cannot open to read.
So I was thinking if it's possible to manually put renominated about.bin in /dev/block. Is it?

enij said:
Hi all!
I'm trying to unlock my phone's bootloader with terminal emulator with this command:
Code:
su
dd if=/sdcard/aboot.bin of=/dev/block/mmcblk0p6
but it gave me an error like cannot open to read.
So I was thinking if it's possible to manually put renominated about.bin in /dev/block. Is it?
Click to expand...
Click to collapse
No it's not possible. Below is what you'll need.
If 'aboot.bin' is in root of external sdcard...
Code:
su
dd if=/storage/external_SD/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
If 'aboot.bin' is in root of internal sdcard...
Code:
su
dd if=/storage/sdcard0/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Sent from my LG-D415 using Tapatalk

shinobisoft said:
No it's not possible. Below is what you'll need.
If 'aboot.bin' is in root of external sdcard...
Code:
su
dd if=/storage/external_SD/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
If 'aboot.bin' is in root of internal sdcard...
Code:
su
dd if=/storage/sdcard0/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Sent from my LG-D415 using Tapatalk
Click to expand...
Click to collapse
tnx you

shinobisoft said:
No it's not possible. Below is what you'll need.
If 'aboot.bin' is in root of external sdcard...
Code:
su
dd if=/storage/external_SD/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
If 'aboot.bin' is in root of internal sdcard...
Code:
su
dd if=/storage/sdcard0/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Sent from my LG-D415 using Tapatalk
Click to expand...
Click to collapse
I tryed your code but I still get the same error. Seems like terminal emulator can't access to my phone's storage, even root directory.

For the "of=" part of dd don't put aboot.bin just use aboot
Sent from my LG-D415 using Tapatalk

shinobisoft said:
For the "of=" part of dd don't put aboot.bin just use aboot
Sent from my LG-D415 using Tapatalk
Click to expand...
Click to collapse
Tried that also but always the same error.

Oh god...the file name it's abootb.bin not aboot.bin xD

enij said:
Oh god...the file name it's abootb.bin not aboot.bin xD
Click to expand...
Click to collapse
Ok. Let me explain...
'if' means input file
'of' means out file
When writing partitions there aren't any fule extensions. The screen shot you posted, for the 'of' part the path ended with aboot.bin. It should end with just aboot. Same difference for abootb.
Sent from my LG-D415 using Tapatalk

shinobisoft said:
Ok. Let me explain...
'if' means input file
'of' means out file
When writing partitions there aren't any fule extensions. The screen shot you posted, for the 'of' part the path ended with aboot.bin. It should end with just aboot. Same difference for abootb.
Sent from my LG-D415 using Tapatalk
Click to expand...
Click to collapse
I was talking of input file...it was abootb.bin and i was writing aboot.bin in terminal emulator, for this it didn't found the file! Anyway my problem now it's another: seems that bootloader isn't unlocked, I flashed cwm and when I try to run recovery i get a secure booting error. Bootloader not unlocked? Why?

enij said:
I was talking of input file...it was abootb.bin and i was writing aboot.bin in terminal emulator, for this it didn't found the file! Anyway my problem now it's another: seems that bootloader isn't unlocked, I flashed cwm and when I try to run recovery i get a secure booting error. Bootloader not unlocked? Why?
Click to expand...
Click to collapse
Ok. But there is an error in the 'of' part of your screenshot.
I cannot say why your bootloader isn't unlocked. My D415 has a different way to unlock the bootloader. Are you 100% sure that you input everything for the dd command correctly? Use my previous example, letter for letter, but substituting abootb where aboot is.
Sent from my LG-D415 using Tapatalk

Your aboot.img could be wrong too, when I was unlocking I downloaded stock one accidentally

shinobisoft said:
Ok. But there is an error in the 'of' part of your screenshot.
I cannot say why your bootloader isn't unlocked. My D415 has a different way to unlock the bootloader. Are you 100% sure that you input everything for the dd command correctly? Use my previous example, letter for letter, but substituting abootb where aboot is.
Sent from my LG-D415 using Tapatalk
Click to expand...
Click to collapse
At the end i unlocked my bootloader, the problem was the code... Of was /dev/block/mmcblk0p6

how to have a costum rom on my L90 D405
hi all
i have LG L90 D405 and i wanna have a costum rom on my phone
1) what do i do?? i mean how to unlock bootloader and root my phone and also flash a costum recovery and costum rom??
sorry im noob :crying:
i read this topic and i understand that i have to write some codes but where??!!
thanks a lot
@ LARA @

Related

[D950] LG G Flex: How to get out of CWM Boot-loop

Having trouble with your G Flex? Does it keep booting into cwm recovery? Here is a potential solution to this problem. ATT [D950] model only!!
Thanks to mrksbrd and this forum post.
1. Download this file to your adb directory
cd to your adb folder and push this file using
Code:
adb push laf.img /sdcard/laf.img
2. Then, in cmd, type
Code:
adb shell
enter, then type
Code:
dd if=/sdcard/laf.img of=/dev/block/platform/msm_sdcc.1/by-name/laf
3. If your flex doesn't show the AT&T boot image, try typing
Code:
adb reboot download
If you still go to recovery, continue with 4.
4. Still in cmd, type
Code:
dd if=/dev/block/platform/msm_sdcc.1/by-name/fota of=/sdcard/laf.img
enter, then type
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
You might get an error that there is no more space left, it should still work. I got that same error.
5. Your flex should immediately show the AT&T boot screen. If that doesn't work, I would wait until AT&T releases it's zipped rom and adb push then flash it.
zNiiC said:
Having trouble with your G Flex? Does it keep booting into cwm recovery? Here is a potential solution to this problem. ATT [D950] model only!!
Thanks to mrksbrd and this forum post.
1. Download this file to your adb directory
cd to your adb folder and push this file using
Code:
adb push laf.img /sdcard/laf.img
2. Then, in cmd, type
Code:
adb shell
enter, then type
Code:
dd if=/sdcard/laf.img of=/dev/block/platform/msm_sdcc.1/by-name/laf
3. If your flex doesn't show the AT&T boot image, try typing
Code:
adb reboot download
If you still go to recovery, continue with 4.
4. Still in cmd, type
Code:
dd if=/dev/block/platform/msm_sdcc.1/by-name/fota of=/sdcard/laf.img
enter, then type
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
You might get an error that there is no more space left, it should still work. I got that same error.
5. Your flex should immediately show the AT&T boot screen. If that doesn't work, I would wait until AT&T releases it's zipped rom and adb push then flash it.
Click to expand...
Click to collapse
Very, Very Thanks man. This save my phone.
fbfortes said:
Very, Very Thanks man. This save my phone.
Click to expand...
Click to collapse
You're welcome! Glad I could help.
the fife is deleted.someone upload the file.please
LAF.IMG
dancemaster said:
the fife is deleted.someone upload the file.please
Click to expand...
Click to collapse
did you ever find the file, i need it badly
Hey guys. I've found another laf.img from another post and changed the link here.
zNiiC said:
Hey guys. I've found another laf.img from another post and changed the link here.
Click to expand...
Click to collapse
As I noted earlier, laf. img, aboot.img and other boot partition files are not the same as every model of G Flex??? Or is it just the case for aboot.img and laf. files?
Freedom flex app has aboot.img I would say the same for all models!??
Triad79 said:
As I noted earlier, laf. img, aboot.img and other boot partition files are not the same as every model of G Flex??? Or is it just the case for aboot.img and laf. files?
Freedom flex app has aboot.img I would say the same for all models!??
Click to expand...
Click to collapse
Yes they aren't the same. There was a topic about getting laf.img for ATT G Flex, and so I posted this here, in the topic about fixing the D950 (ATT) G Flex.
nice work bro
eZdubzitmk4 said:
nice work bro
Click to expand...
Click to collapse
keep getting device not found error in cmd
Jmaserang said:
keep getting device not found error in cmd
Click to expand...
Click to collapse
just unplug and replug then type adb devices and see if it pops up. should say recovery in cmd
Sent from my LG-D950 using Tapatalk
eZdubzitmk4 said:
just unplug and replug then type adb devices and see if it pops up. should say recovery in cmd
Sent from my LG-D950 using Tapatalk
Click to expand...
Click to collapse
got it thanks guys
just unplug it and plug it back in
i tried that and adb still doesnt recognize it in recovery mode or any mode
Just had this happen to me, d950g (rogers).
Worked like a champ. Still had root, even after factory reset/wipe.
This is a good resource if I get the nerve to update my rooted D950 4.2.2. Thanks OP.

[GUIDE] [Universal] Backuping & Restoring IMG files [W/O PC]

Hey guys, today I'm going to tell you how to backup & restore few things of your phone without using a pc. This guide is divided into two parts: 1st post contains a guide to backup things & 2nd post contains two methods two restore the backup. So let's get started without wasting any time...
Things you gonna need:
1) Busybox installed (Stericson is recommended)
3) A SD-Card inserted to your phone with some free space to backup things
2) Any terminal emulator
3) Patience & some common sense (not HTC Sense )
First I'll say you how to backup things & later I'll say how to restore them...
How To Backup:
• Boot.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p7 of=/sdcard/backups/boot.img
• Cache.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p15 of=/sdcard/backups/cache.img
• Logo.bin :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p11 of=/sdcard/backups/logo.bin
• Nvram.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p2 of=/sdcard/backups/nvram.img
• Recovery.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p8 of=/sdcard/backups/recovery.img
• System.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p14 of=/sdcard/backups/system.img
• Userdata.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p16 of=/sdcard/backups/userdata.img
Click to expand...
Click to collapse
If this post helped you then please hit thanks, & feel free to ask any doubts or questions...
Restoring in 2 methods
In this second post I'll tell you how to restore the backups in two different methods...
How To Restore in 1st Method:
• Boot.img* :
In terminal emulator type the following:
dd if=/sdcard/backups/boot.img of=/dev/block/mmcblk0p7
• Cache.img* :
In terminal emulator type the following:
dd if=/sdcard/backups/cache.img of=/dev/block/mmcblk0p15
• Logo.bin :
In terminal emulator type the following:
dd if=/sdcard/backups/logo.bin of=/dev/block/mmcblk0p11
• Nvram.img :
In terminal emulator type the following:
dd if=/sdcard/backups/nvram.img of=/dev/block/mmcblk0p2
• Recovery.img :
In terminal emulator type the following:
dd if=/sdcard/backups/recovery.img of=/dev/block/mmcblk0p8
• System.img* :
In terminal emulator type the following:
dd if=/sdcard/backups/system.img of=/dev/block/mmcblk0p14
• Userdata.img* :
In terminal emulator type the following:
dd if=/sdcard/backups/userdata.img of=/dev/block/mmcblk0p16
(* = Not recommended to restore while your phone is on, unless you know what you are doing)
Click to expand...
Click to collapse
How To Restore in 2nd Method(Recommended):
1) Download the attachment below, named 'Restore.zip'
2) Extract the contents of the zip somewhere on your SD card.
3) Replace the dummy files,which you find when you extract the zip, with the backups you made above.
4) Don't forget to delete the dummy files which you don't need to restore.
5) Again compress the contents.
6) Boot to recovery & flash the zip which you just compressed with the backups.
7) Your backup will be restored, enjoy... :good:
Click to expand...
Click to collapse
F.A.Qs
Frequently Asked Questions:
Q: Where does the backup gets stored?
A: It's in sdcard/backups/
Q: While backuping/restoring in terminal emulator I get Access Denied or something message like that.
A: Make sure your phone is rooted & don't forget to type "su" in terminal emulator before following any of the steps above.
Q: Why is second method of restoring recommended?
A: Because it restores the backup in recovery, so that you don't brick up your device while restoring system.img or few other backups while phone is on.
Q: Then why did you posted the first method?
A: First method of restoring is only for advanced users, who knows what they are doing.
Q: Can I use this method of backuping in my non-mtk device?
A: No, you can't, this guide is strictly only for MTK devices.
Q: I want to contribute/donate to you, where can I?
A: I'm still 14,& I don't need any money. Instead you can hit thanks. And if you liked my work that's enough for me.
Q: I have some "xxxx" question/doubt.
A: Feel free to comment below.
there is no way to backup without root or unlock the bootloader? even if it requires a pc its ok
austinpinto said:
there is no way to backup without root or unlock the bootloader? even if it requires a pc its ok
Click to expand...
Click to collapse
I'll make a new guide on that very soon, maybe this coming Sunday...
Taking a nandroid will cover all this right?
I am on cwm recovery, cm11-3. My sdcard path is '/storage/sdcard0' in stead of '/sdcard'. Replaced the correct path and took backup. Thanks for the nice post.
Sent from my A1 using XDA Free mobile app
miscos said:
I am on cwm recovery, cm11-3. My sdcard path is '/storage/sdcard0' in stead of '/sdcard'. Replaced the correct path and took backup. Thanks for the nice post.
Sent from my A1 using XDA Free mobile app
Click to expand...
Click to collapse
Welcome my friend...
akhil1999 said:
Taking a nandroid will cover all this right?
Click to expand...
Click to collapse
Yeah, it'll...
can you please make a guide to backup non rooted devices with bootloader locked? even if it requires a pc its ok
Download a custom recovery.
Boot into fastboot.
Code:
fastboot boot recovery.img
Then backup!
Sent from my A1 using XDA Free mobile app
akhil1999 said:
Download a custom recovery.
Boot into fastboot.
Code:
fastboot boot recovery.img
Then backup!
Sent from my A1 using XDA Free mobile app
Click to expand...
Click to collapse
i did this.
the backup finished properly.
i got 2 .img files 1 md5 file and some .tar files some .tar.a files and 1.tar.b file.
now i tried opening .tar file with 7zip i get error no trailing records 0 filled records found then i tried opening .tar.a files the files open properly but when i go to extract something it shows error unable to open output file when i open .tar.b files i get 7zip cannot open.tar.b as archive.
can some1 tell me what is the problem?
i did using touch recovery is this the best recovery to do backup? if no please give link for some other recovery
Why are you opening it?
If you have to restore then boot into recovery again and restore.
If you want apps, etc. there's an app that can extract apps from a nandroid
Sent from my A1 using XDA Free mobile app
akhil1999 said:
Why are you opening it?
If you have to restore then boot into recovery again and restore.
If you want apps, etc. there's an app that can extract apps from a nandroid
Sent from my A1 using XDA Free mobile app
Click to expand...
Click to collapse
Just to view the contents of the tar files I tried opening
Sent from my Spice Mi-498 using XDA Free mobile app
---------- Post added at 10:57 AM ---------- Previous post was at 10:50 AM ----------
Can u give link for that app that extract apps from the tar
Sent from my Spice Mi-498 using XDA Free mobile app
Its called "Nandroid Manager * Root"
Sent from my A1 using XDA Free mobile app
Great
Devam03 said:
Great
Click to expand...
Click to collapse
Thanks & if you liked please don't forget to hit thanks...
EDIT: It works with the 8GB versions of Android One.
I implemented this method using built in twrp's terminal. I did it without root my device.
nothinkinc said:
I implemented this method using built in twrp's terminal. I did it without root my device.
Click to expand...
Click to collapse
how did u do.
i want a way of backuping which i can later restore using fastboot

Recovery problem

Hey
My phone is LG L90 410
I was trying to install cm 12.1 -i'm on official lg lolipop rom-
first i tried to install CWM .. i used Flashify
then after try enter the recovery menu it says "secure booting error cause boot certification"
then enter a purple screen asking for something like RAM dump
any help please to fix this ?
KareemWaheed said:
Hey
My phone is LG L90 410
I was trying to install cm 12.1 -i'm on official lg lolipop rom-
first i tried to install CWM .. i used Flashify
then after try enter the recovery menu it says "secure booting error cause boot certification"
then enter a purple screen asking for something like RAM dump
any help please to fix this ?
Click to expand...
Click to collapse
Did you unlock the bootloader before install the recovery?
Can you still boot to android?
same problem here too... device is rooted ... tried to install twrp but when I want to enter into recovery this problem appears
Yes, in my case I can boot into android ... just when pink screen ram dump appears need to hold power button to restart and it boot android like normal
@KareemWaheed @gjurosi
Follow this guide: http://forum.xda-developers.com/lg-l90/general/guide-unlock-bootloader-flash-custom-t2839690
This should fix your phones.
neverdies said:
@gjurosi
Follow this guide: http://forum.xda-developers.com/lg-l90/general/guide-unlock-bootloader-flash-custom-t2839690
This should fix your phones.
Click to expand...
Click to collapse
tried but nothing,extract aboot.bin to external storage and in terminal when I tried to tipe commands it says unallowed user
gjurosi said:
tried but nothing,extract aboot.bin to external storage and in terminal when I tried to tipe commands it says unallowed user
Click to expand...
Click to collapse
Did you grant root permision, after typing "su" in terminal?
neverdies said:
Did you grant root permision, after typing "su" in terminal?
Click to expand...
Click to collapse
last time I had that option ... now this situation,dont know anymore why I cant ...? I'll make factory reset then everything from the begining ... one question..when I downloaded this aboot.bin with unlock bootloader,I only need to extract it on external storage?
I cant see any (original) aboot.bin in external storage when I enter phone
gjurosi said:
last time I had that option ... now this situation,dont know anymore why I cant ...? I'll make factory reset then everything from the begining ... one question..when I downloaded this aboot.bin with unlock bootloader,I only need to extract it on external storage?
I cant see any (original) aboot.bin in external storage when I enter phone
Click to expand...
Click to collapse
As you can see at that guide, you need to put the patched aboot.bin on your external sd (/storage/external_SD/aboot.bin) then run the following commands on your phone's terminal.
Code:
su
dd if=/storage/external_SD/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
After the su command you've to accept the root request.
Be sure to download and flash the right version of aboot for your phone variant, a wrong version of aboot will brick your phone.
@neverdies ....
in terminal I run the following commands ,but it says "cannot open for read:no such file or directory" ... I put aboot.bin on external storage ...dont know anymore wtf ?!? and I cant do factory reset !!!! again its security boot error and pink screen...
dont know why now... really annoying
gjurosi said:
@neverdies ....
in terminal I run the following commands ,but it says "cannot open for read:no such file or directory" ... I put aboot.bin on external storage ...dont know anymore wtf ?!? and I cant do factory reset !!!! again its security boot error and pink screen...
dont know why now... really annoying
Click to expand...
Click to collapse
Are you sure that your aboot.bin file is in /storage/external_SD?
You can put the aboot.bin in your internal memory instead, or anywhere else, just change command according to your aboot.bin file location.
Exemple if you put your aboot.bin file in /storage/internal_SD run the following command:
Code:
su
dd if=[B]/storage/internal_SD/aboot.bin[/B] of=/dev/block/platform/msm_sdcc.1/by-name/aboot
neverdies said:
Are you sure that your aboot.bin file is in /storage/external_SD?
You can put the aboot.bin in your internal memory instead, or anywhere else, just change command according to your aboot.bin file location.
Exemple if you put your aboot.bin file in /storage/internal_SD run the following command:
Code:
su
dd if=[B]/storage/internal_SD/aboot.bin[/B] of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Click to expand...
Click to collapse
finally , it work ... aboot.bin were on external_sd ..but I dont know why the first time it didnt work ... I tryed again and it worked
flashed rom and everything now works ... thnxxx for help me solving the problem :good:

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