[MOD]Re-locking bootloader LG V10 - LG V10 Android Development

Nice guy (pjanowski2540) from polish android forum has re-locked his bootloader by himself, so it's possible to have a root on 6.0 with actual warranty!
All credits goes to him, I'm just sharing this method. Source link: CLICK
WARNING: If you want to lock bootloader, you NEED to back to EXACTLY SAME VERSION of Android 5.1 with root permissions. (for example - if you have done backup of bootloader files on v10c, you have to back to v10c, when you want lock it)​Requirements:
- LG V10 H960a with locked bootloader;
- LGUP
- Android 5.1 with root
- Computer with Windows system
CREATING BACKUP
Step 1: Download terminal emulator (or download ADB to your computer) on rooted 5.1
Step 2: Open terminal emulator and give it root
Step 3: Create backup of partitions by these commands:
Code:
dd if=/dev/block/mmcblk0 bs=512 skip=9674752 count=327680 of=/data/media/0/cust.img
dd if=/dev/block/mmcblk0 bs=512 skip=245760 count=32768 of=/data/media/0/misc.img
dd if=/dev/block/mmcblk0 bs=512 skip=229376 count=1024 of=/data/media/0/persistent.img
dd if=/dev/block/mmcblk0 bs=512 skip=638976 count=20480 of=/data/media/0/drm.img
Step 4: Navigate to /data/media/0/ and copy these backups
After that we can easily unlock bootloader, jump to 6.0, install TWRP, root etc.
RE-LOCKING BOOTLOADER
Step 1: Move backup to /data/media/0/
Step 2: Open terminal (or ADB) with root and type:
Code:
dd if=/data/media/0/cust.img bs=512 seek=9674752 count=327680 of=/dev/block/mmcblk0
dd if=/data/media/0/misc.img bs=512 seek=245760 count=32768 of=/dev/block/mmcblk0
dd if=/data/media/0/persistent.img bs=512 seek=229376 count=1024 of=/dev/block/mmcblk0
dd if=/data/media/0/drm.img bs=512 seek=638976 count=20480 of=/dev/block/mmcblk0
4. Restart phone. That's it, our bootloader is again locked!
I am not responsible for any damage caused by the misuse of this manual. Don't blame me, if something went wrong!​

kamil79123 said:
Nice guy (pjanowski2540) from polish android forum has re-locked his bootloader by himself, so it's possible to have a root on 6.0 with actual warranty!
All credits goes to him, I'm just sharing this method. Source link: CLICK
WARNING: If you want to lock bootloader, you NEED to back to EXACTLY SAME VERSION of Android 5.1 with root permissions. (for example - if you have done backup of bootloader files on v10c, you have to back to v10c, when you want lock it)​Requirements:
- LG V10 H960a with locked bootloader;
- LGUP
- Android 5.1 with root
- Computer with Windows system
CREATING BACKUP
Step 1: Download terminal emulator (or download ADB to your computer) on rooted 5.1
Step 2: Open terminal emulator and give it root
Step 3: Create backup of partitions by these commands:
Code:
dd if=/dev/block/mmcblk0 bs=512 skip=9674752 count=327680 of=/data/media/0/cust.img
dd if=/dev/block/mmcblk0 bs=512 skip=245760 count=32768 of=/data/media/0/misc.img
dd if=/dev/block/mmcblk0 bs=512 skip=229376 count=1024 of=/data/media/0/persistent.img
dd if=/dev/block/mmcblk0 bs=512 skip=638976 count=20480 of=/data/media/0/drm.img
Step 4: Navigate to /data/media/0/ and copy these backups
After that we can easily unlock bootloader, jump to 6.0, install TWRP, root etc.
RE-LOCKING BOOTLOADER
Step 1: Move backup to /data/media/0/
Step 2: Open terminal (or ADB) with root and type:
Code:
dd if=/data/media/0/cust.img bs=512 seek=9674752 count=327680 of=/dev/block/mmcblk0
dd if=/data/media/0/misc.img bs=512 seek=245760 count=32768 of=/dev/block/mmcblk0
dd if=/data/media/0/persistent.img bs=512 seek=229376 count=1024 of=/dev/block/mmcblk0
dd if=/data/media/0/drm.img bs=512 seek=638976 count=20480 of=/dev/block/mmcblk0
4. Restart phone. That's it, our bootloader is again locked!
I am not responsible for any damage caused by the misuse of this manual. Don't blame me, if something went wrong!​
Click to expand...
Click to collapse
So, for people who already unlock the bootloader and dont have backed up those partitions, updated to 6.0 and do root and have TWRP already this method wont will work right?!
- i want to relock mine but i am on 6.0 already and i think i cant go back to 5.1 and re-do the steps above!
and i dont have any "backups" of partitions or files when unlocked my bootloader, i just want to relock bootloader and (if possible) keep root my stock rom.

I'm not sure. Everything we can try is if I give you backup from v10c Europe, you back to v10c Europe and try to lock bootloader. But as I said - I'm not sure.
Wysłane z mojego LG-H960 przy użyciu Tapatalka

kamil79123 said:
I'm not sure. Everything we can try is if I give you backup from v10c Europe, you back to v10c Europe and try to lock bootloader. But as I said - I'm not sure.
Wysłane z mojego LG-H960 przy użyciu Tapatalka
Click to expand...
Click to collapse
i am sorry but i cannot try to restore to update your backup on my device because i can brick my phone...without any other development around this wasnt made i am not be the first one to try it out...but since this is new i will wait for more development around.
Hope with Nougat update (with should arrive next month) more things can be discovered.

Simply install stock kdz/tot (If you are on custom rom) if already on stock then simply reboot into bootloader and type fastboot oem lock .... It will relock the bootloader.

@Waxim1 It does not work my friend.
Wysłane z mojego LG-H960 przy użyciu Tapatalka

kamil79123 said:
@Waxim1 It does not work my friend.
Wysłane z mojego LG-H960 przy użyciu Tapatalka
Click to expand...
Click to collapse
Dear, I have unlocked and relocked lot of times, it does work

bạn có thể gửi cho tôi lệnh gửi system.img ?
Can you send me the command to send system.img? My device H960( not H960A) thanks!

explain to me.....i want now to root my device without loosing warranty...
what should i do?
can anybody explain to me?

Unlock bootloader
kamil79123 said:
Nice guy (pjanowski2540) from polish android forum has re-locked his bootloader by himself, so it's possible to have a root on 6.0 with actual warranty!
All credits goes to him, I'm just sharing this method. Source link: CLICK
WARNING: If you want to lock bootloader, you NEED to back to EXACTLY SAME VERSION of Android 5.1 with root permissions. (for example - if you have done backup of bootloader files on v10c, you have to back to v10c, when you want lock it)​Requirements:
- LG V10 H960a with locked bootloader;
- LGUP
- Android 5.1 with root
- Computer with Windows system
CREATING BACKUP
Step 1: Download terminal emulator (or download ADB to your computer) on rooted 5.1
Step 2: Open terminal emulator and give it root
Step 3: Create backup of partitions by these commands:
Code:
dd if=/dev/block/mmcblk0 bs=512 skip=9674752 count=327680 of=/data/media/0/cust.img
dd if=/dev/block/mmcblk0 bs=512 skip=245760 count=32768 of=/data/media/0/misc.img
dd if=/dev/block/mmcblk0 bs=512 skip=229376 count=1024 of=/data/media/0/persistent.img
dd if=/dev/block/mmcblk0 bs=512 skip=638976 count=20480 of=/data/media/0/drm.img
Step 4: Navigate to /data/media/0/ and copy these backups
After that we can easily unlock bootloader, jump to 6.0, install TWRP, root etc.
RE-LOCKING BOOTLOADER
Step 1: Move backup to /data/media/0/
Step 2: Open terminal (or ADB) with root and type:
Code:
dd if=/data/media/0/cust.img bs=512 seek=9674752 count=327680 of=/dev/block/mmcblk0
dd if=/data/media/0/misc.img bs=512 seek=245760 count=32768 of=/dev/block/mmcblk0
dd if=/data/media/0/persistent.img bs=512 seek=229376 count=1024 of=/dev/block/mmcblk0
dd if=/data/media/0/drm.img bs=512 seek=638976 count=20480 of=/dev/block/mmcblk0
4. Restart phone. That's it, our bootloader is again locked!
I am not responsible for any damage caused by the misuse of this manual. Don't blame me, if something went wrong!​
Click to expand...
Click to collapse
How did you unlock the bootloader?
From the lg website or there is any other method?

@up
LG Developer site

warranty?
kamil79123 said:
@up
LG Developer site
Click to expand...
Click to collapse
but they can know that i am unlocked right
even if i locked again
the will go to the site and type my imei and they will know right?
am i wrong?

problem
kamil79123 said:
@up
LG Developer site
Click to expand...
Click to collapse
i have a problem unlocking the bootloader
it gives me this Message:
http://store6.up-00.com/2017-05/14941686673341.jpg
can anyone help me?
and mine is h960a (UAE)

omar2005 said:
i have a problem unlocking the bootloader
it gives me this Message:
http://store6.up-00.com/2017-05/14941686673341.jpg
can anyone help me?
and mine is h960a (UAE)
Click to expand...
Click to collapse
https://developer.lge.com/resource/mobile/RetrieveBootloader.dev
check devices

Then you have to buy a other V10 Version. Like the Version with 64gb from Asia. Or the h960a Version with 32gb. That h960a Version is in the LG List to Unlock the Bootloader. The You have No Guarantee! You have to gave the whole IMEI Number to LG and they store it. It's not possible to Re-Lock the Bootloader like it is with the Htc Phones.
Sent Form my Lovely LG-H960a ATR Android 7 ROM + Tapatalk

Related

24A Backup EFS

I have a VS980(24A)
I want to get data working on AT&T, so I want to install a custom ROM, which requires TWRP, which in turn requires root. Here is my problem: I believe the latest OTA version (24A) must be rooted using IOroot v.25 which apparently DOES NOT backup the EFS unlike the previous versions. So I went to adb shell and typed in su so I could backup the EFS. I got "su: not found"
I'm trying to run these commands:
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst1 of=/sdcard/modemst1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst2 of=/sdcard/modemst2.img
Is there any way to backup the EFS??
Your help is much appreciated,
Nathan

[Q] faild to unlock boot loader

Hi, i want to install custom rom on my razr i xt890 but "your device is not qualify to boot loader unlock". Is there way to install custom rom or to unlock without unlock code. Thanks in advance.
kirovBG said:
Hi, i want to install custom rom on my razr i xt890 but "your device is not qualify to boot loader unlock". Is there way to install custom rom or to unlock without unlock code. Thanks in advance.
Click to expand...
Click to collapse
No.
is there a way with RDS lite to change the firmware or something
can i use this method to locked phone: http://forum.xda-developers.com/showthread.php?p=41479852
I don't know for sure, but since u have root it should be possible - pls somebody correct me if I'm wong with this.
Should work like this:
Code:
adb push xyzrecovery.img /data/local/tmp
adb shell
su
chmod 777 /data/local/tmp/xyzrecovery.img
dd if=/data/local/tmp/xyzrecovery.img of=/dev/block/mmcblk0p6
exit
exit
adb reboot
FourOne82 said:
I don't know for sure, but since u have root it should be possible - pls somebody correct me if I'm wong with this.
Should work like this:
Code:
adb push xyzrecovery.img /data/local/tmp
adb shell
su
chmod 777 /data/local/tmp/xyzrecovery.img
dd if=/data/local/tmp/xyzrecovery.img of=/dev/block/mmcblk0p6
exit
exit
adb reboot
Click to expand...
Click to collapse
Would be very cool and easy if that should work . But no. The bootloader lock prevents any writing to and from the recovery and boot. So it shouldn't work.
There's a possibility to change rom. Because u can have root access, u can write the system,data and cache partitions. In theory we can boot our own kernel after the boot kernel. Boot a custom recovery from sdcard, backup the system, data and cache partitions and write a new rom to it. As long as the boot.img supports the rom we will be fine. But because we can simply unlock the device, (most of the time) nobody (I think) will ever try to get this working.
Well i tried Why Motorola has to lock the bootloader in first place, Smartphones like Samsung S3 are unlocked so its much easier for customers to flash custom-roms etc.
what is this xyzrecovery.img ?!? i dont seve such file into the phone
When You paste code from command line (to unlock bootloader) delete 4 spaces. It should fix Your problem.

(D405) Manually unlock bootloader

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 @

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