Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,233 Members 51,142 Now Online
XDA Developers Android and Mobile Development Forum

Request for new project

Tip us?
 
demonslayer12349
Old
(Last edited by demonslayer12349; 27th July 2014 at 06:14 PM.)
#1  
demonslayer12349's Avatar
Member - OP
Thanks Meter 88
Posts: 87
Join Date: Jan 2014
Default Request for new project

So now that we have fastboot I want to make a small script that restores through fastboot no matter how ****ed up it is. If it boots were good. But I need did backups from all the variants. EXCEPT the D415 if you guys could DD backup the system cache and boot partitions from your variants. Zip them up. And send them to me somehow I'd be most thankful. I'll then rig them up for auto download. So the script will do this in order

Adb backup pull and wipe laf so we have fast boot.

Instruct how to put in fastboot.

Download files for your device.

Flash them and original laf and reboots

Sent from my LG-D415 using XDA Free mobile app
like what i do? buy me a Dew!
http://goo.gl/Z81WZM
 
shinobisoft
Old
#2  
shinobisoft's Avatar
Recognized Contributor
Thanks Meter 2,055
Posts: 2,225
Join Date: Feb 2012
Location: Knoxville, TN

 
DONATE TO ME
Quote:
Originally Posted by demonslayer12349 View Post
So now that we have fastboot I want to make a small script that restores through fastboot no matter how ****ed up it is. If it boots were good. But I need did backups from all the variants. EXCEPT the D415 if you guys could DD backup the system cache and boot partitions from your variants. Zip them up. And send them to me somehow I'd be most thankful. I'll then rig them up for auto download. So the script will do this in order

Adb backup pull and wipe laf so we have fast boot.

Instruct how to put in fastboot.

Download files for your device.

Flash them and original laf and reboots

Sent from my LG-D415 using XDA Free mobile app
Why not make the script so that it backs up the pertinent partitions prior to modifying them? Also are you talking about a Windows batch script or a Linux bash script?

Better yet, I've been working on a generic backup script for our devices. How about I handle the backup parts and you handle the other? A colaboration of sorts? I should be able to post it later this evening if you'd like.

"The way is known to all but not all know it"
My Devices, Mods, and Tools
 
Device: LG Optimus L90 LG-D415 ROOTED, Bootloader.UNLOCKED, TWRP 2.7.1.0, Stock KitKat 4.4.2
Device: LG Optimus L9 LG-P769 ROOTED, Bootloader.LOCKED, CWM 6.0.1.2 ( L9RecoveryInstaller ), Stock JellyBean 4.1.2
Device: LG Optimus T LG-P509 ROOTED, Bootloader.UNLOCKED, CWM 5.0.2.7 Touch, CM10
My Stuff
The Following User Says Thank You to shinobisoft For This Useful Post: [ Click to Expand ]
 
demonslayer12349
Old
#3  
demonslayer12349's Avatar
Member - OP
Thanks Meter 88
Posts: 87
Join Date: Jan 2014
Quote:
Originally Posted by shinobisoft View Post
Why not make the script so that it backs up the pertinent partitions prior to modifying them? Also are you talking about a Windows batch script or a Linux bash script?

Better yet, I've been working on a generic backup script for our devices. How about I handle the backup parts and you handle the other? A colaboration of sorts? I should be able to post it later this evening if you'd like.

Yes sounds good. I was planning a bat and then an sh
Sent from my LG-D415 using XDA Free mobile app
like what i do? buy me a Dew!
http://goo.gl/Z81WZM
 
shinobisoft
Old
#4  
shinobisoft's Avatar
Recognized Contributor
Thanks Meter 2,055
Posts: 2,225
Join Date: Feb 2012
Location: Knoxville, TN

 
DONATE TO ME
Quote:
Originally Posted by demonslayer12349 View Post
Yes sounds good. I was planning a bat and then an sh
Sent from my LG-D415 using XDA Free mobile app
My backup script is a bash ( .sh ) script that is intended to be run via Terminal Emulator either from the internal or external sdcards. I could probably put a batch ( .bat ) script together too. The reason I went the bash script route is that it doesn't require ADB to be present to work where a Windows batch script does.

"The way is known to all but not all know it"
My Devices, Mods, and Tools
 
Device: LG Optimus L90 LG-D415 ROOTED, Bootloader.UNLOCKED, TWRP 2.7.1.0, Stock KitKat 4.4.2
Device: LG Optimus L9 LG-P769 ROOTED, Bootloader.LOCKED, CWM 6.0.1.2 ( L9RecoveryInstaller ), Stock JellyBean 4.1.2
Device: LG Optimus T LG-P509 ROOTED, Bootloader.UNLOCKED, CWM 5.0.2.7 Touch, CM10
My Stuff
 
demonslayer12349
Old
#5  
demonslayer12349's Avatar
Member - OP
Thanks Meter 88
Posts: 87
Join Date: Jan 2014
Not really. Put the right binaries in. Gave command to tenporallily change path to the folder the vat is in

Sent from my LG-D415 using XDA Free mobile app
like what i do? buy me a Dew!
http://goo.gl/Z81WZM
 
shinobisoft
Old
#6  
shinobisoft's Avatar
Recognized Contributor
Thanks Meter 2,055
Posts: 2,225
Join Date: Feb 2012
Location: Knoxville, TN

 
DONATE TO ME
L90 Partition Backup Script

Sent from my LG-D415 using Tapatalk

"The way is known to all but not all know it"
My Devices, Mods, and Tools
 
Device: LG Optimus L90 LG-D415 ROOTED, Bootloader.UNLOCKED, TWRP 2.7.1.0, Stock KitKat 4.4.2
Device: LG Optimus L9 LG-P769 ROOTED, Bootloader.LOCKED, CWM 6.0.1.2 ( L9RecoveryInstaller ), Stock JellyBean 4.1.2
Device: LG Optimus T LG-P509 ROOTED, Bootloader.UNLOCKED, CWM 5.0.2.7 Touch, CM10
My Stuff
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes