FORUMS

[Development Idea] Fully Automated Rom Install

1,100 posts
Thanks Meter: 401
 
By Alaq, Senior Member on 14th January 2012, 10:17 PM
Post Reply Email Thread
I used Fruit Cake Maker to make a ZIP of the ROM I'm working on. When I opened the ZIP I noticed that there were 2 files.
-Boot.img
-System.img

To Topic:
We know that Moto-Fastboot flashes IMG files (Boot.img, System.img, Webtop.img, etc), and the Fruit Cake Maker makes those files from your current system. So couldn't we make a fully automated ROM install?

Make a folder with:
Quote:

-(Folder name goes here)
--AdbWinApi.dll
--AdbWinUsbApi.dll
--Moto-fastboot
--boot.img
--system.img
--(Script name goes here).bat

And the script sorta looks like this:
Quote:

echo Bla Bla Bla
echo You are now flashing "ROM NAME"
pause
moto-fastboot erase boot
moto-fastboot erase system
moto-fastboot erase userdata
moto-fastboot erase cache
pause
moto-fastboot flash boot boot.img
moto-fastboot flash system system.img
echo Bla Bla Bla
echo Thanks for flashing!
pause
moto-fastboot reboot

System.img & Boot.img will be the ones from the Fruit Cake'd zip. I don't know if it works this way but feel free to test and try it. If it does work for you and you develop something with it, it couldn't hurt to give me a little credit...
14th January 2012, 10:40 PM |#2  
Senior Member
Thanks Meter: 38
 
More
some ROMs require some sort of post-processing (changing permissions, creating symbolic links of certain files, to name a few), they're done in update-script I believe, how to do these if your script is going to work? (can "adb" be used for this purpose?)
14th January 2012, 11:41 PM |#3  
CaelanT's Avatar
Senior Member
Flag Aberdeen
Thanks Meter: 760
 
Donate to Me
More
Quote:
Originally Posted by sspa

some ROMs require some sort of post-processing (changing permissions, creating symbolic links of certain files, to name a few), they're done in update-script I believe, how to do these if your script is going to work? (can "adb" be used for this purpose?)

Don't need an update script if flashing the .img files via fastboot.
15th January 2012, 12:51 AM |#4  
Alaq's Avatar
OP Senior Member
U.S.
Thanks Meter: 401
 
More
Quote:
Originally Posted by CaelanT

Don't need an update script if flashing the .img files via fastboot.

Was gonna say that. I'm talking about flashing ROMs made with Fruit Cake Maker & Fruit Cakes themselves... But adb might work, I'm going to research some more...
Post Reply Subscribe to Thread

Tags
automated, fruit cakes, install, moto-fastboot, rom

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes