Hey Guys.
This Script helps make a flashable zip with ease.
NEW UPDATES... CHECK GITHUB COMMITS FOR CHANGELOGS
Welcome To Flashable ZIP Maker.
Q) How to use?
A) cd-to-folder ./perm.sh
Q) Where to place Files?
A) Flashable-ZIP-Maker/tools/system Place your file in the proper folders*
NOTE:I HAVE MADE ALL THE FOLDER NEEDED. PLEASE PLACE IN THE RIGHT PLACE.
Q) How to make zip?
A) cd-to-folder ./zip.sh your zip will be in target/Flashable-ZIP-Maker-SIGNED.zip
Thank you
Download & source in second post.
THANKS
Source : Here
How to download?
Download My repo as a zip
OR
Code:
git clone [email protected]:russelldias98/Flashable_ZIP_Maker.git
reserved1
works... now if only to make it work for certain device
Related
little Kitchen
DOS script to easy modify a ROM File (update.zip) with pre-configurated parameters
Compatibility List / BugTracker in second Post!!
Guide (included "readme.txt") in third post!!
Suggestions and feature requests are welcome!
The Script should work with every CWM-ROM File for every Phone!!
Functions:
Code:
* remove Files from ROM.zip
* add Files to ROM.zip
* add additional update.zip's to ROM.zip
To do:
Code:
[B]* testing[/B]
[B]* adding a LOG file for error analysis[/B]
[B]* spelling - HELP NEEDED[/B]
because I'm not a native english speaker I'm sure there are enough mistakes
[B]* readme file - HELP NEEDED[/B]
readme file is a little bit short ATM
[B]* cleaning up the Code[/B]
Changelog:
Code:
[B]* v0.0.2 - 15.12.2011[/B]
+ changed Version Number
[B]* vCM7_0.0.1 - 15.12.2011[/B]
+ first release
Credits:
Code:
* xda-forums (for Guides, Howtos, etc.)
* google for the things I didn't find here :D
and as always....
!!! USE AT OWN RISK !!!
>> DOWNLOAD LATEST <<
>> DOWNLOAD v0.0.2 <<
>> DOWNLOAD vCM7_0.0.1 <<
Compatibility List / BugTracker
Basicly the Script should work for every ROM on every Windows OS, the following entries are approved by Me and Users
OS:
Windows7 x64
(approved by OGrue)
ROMs:
Samsung Galaxy SII (GT-I9100):
CM7 (stable, nightly) (approved by OGrue)
Turkbey gt edition (testet by grgsiocl, thank you)
MIUI (1.12.16) (approved by OGrue)
readme.txt
Code:
===============================================================================
** QuickStart: **************************************************************
===============================================================================
* open "remove.example" and copy the files you want to remove to "remove.ini"
* copy ROM File to /rom/source
* copy flashable ZIP's to /rom/hacks ("gapps.zip for example")
* copy Files to /rom/addons ("system/app/music.apk" for example)
!! ATTENTION !! take care of Directory-Structure !! ATTENTION !!
* run main.cmd
* Script should finish without errors
* copy modified ROM from "rom/" to Phone and Flash it via CWM
===============================================================================
** Folder Structure: ********************************************************
===============================================================================
*/bin Holds the Files needed by the Script
/tmp Temporary Folder for Script
*/roms Folder with Source ROM, Addons and Hacks; modified ROM File
is also placed here
/source Folder for ROM Source (place CMxxx.zip / update.zip here)
/addons Folder for Files which should be added to the ROM ZIP
(files are added to the root of the ZIP, so in almost all
cases you'll nedd at least a "system" Folder)
/hacks Folder for Additional, flashable ZIP files
(for example you can add the flashable google
Apps ZIP in here)
u mean any rom for any phone or just for sgs2. i have a galaxy fascinate i500 i could test for
RTLflat said:
u mean any rom for any phone or just for sgs2. i have a galaxy fascinate i500 i could test for
Click to expand...
Click to collapse
Yes, should work with any CWM ROM for any Phone.
Would be great If you could Test it ;-)
Thanks and this is what i was looking at. I am fed up for removing the apps, whichever i dont want to use and add those apps which i want to use. Started testing but the screen stuck at adding ROM*****name.zip. Waiting to finish!
grgsiocl said:
Thanks and this is what i was looking at. I am fed up for removing the apps, whichever i dont want to use and add those apps which i want to use.
Click to expand...
Click to collapse
Hehe, that's the reason why I created it ;-)
grgsiocl said:
Started testing but the screen stuck at adding ROM*****name.zip. Waiting to finish!
Click to expand...
Click to collapse
Hmmm, shouldn't take too long if the ZIP isn't big.
If it remains stuck, pls add "ECHO ON" after line 163 in main.cmd, so you'll see exactly what the Script is doing.
Code:
cls
ECHO *******************************************************************************
ECHO * adding HACKS to ROM File
ECHO *******************************************************************************
ECHO ON
OGrue said:
Hehe, that's the reason why I created it ;-)
Hmmm, shouldn't take too long if the ZIP isn't big.
If it remains stuck, pls add "ECHO ON" after line 163 in main.cmd, so you'll see exactly what the Script is doing.
Code:
cls
ECHO *******************************************************************************
ECHO * adding HACKS to ROM File
ECHO *******************************************************************************
ECHO ON
Click to expand...
Click to collapse
Thanks my friend and it works. I added some and deleted some and then flashed. I works like a charm! Thanks once again!
grgsiocl said:
Thanks my friend and it works. I added some and deleted some and then flashed. I works like a charm! Thanks once again!
Click to expand...
Click to collapse
Good to know - pls - Post which ROM and which Phone, so I cann add to "testet - it works!" ;-)
ogrue said:
good to know - pls - post which rom and which phone, so i cann add to "testet - it works!" ;-)
Click to expand...
Click to collapse
phone: Samsung galaxy sii
rom: Turkbey gt edition
kernel : Phenomenal
version: Android 2.3.6
modem: Xxkp1
It automate the creation of multiple signed recovery flashable ZIPs.
This tool currently run only on Windows, a Linux version is planned in the future.
Every feedback is appreciated.
Download
Recovery flashable ZIP creator
XDA:DevDB Information
[WINDOWS] Recovery flashable ZIP creator 1.2, Tool/Utility for all devices (see above for details)
Contributors
ale5000
Version Information
Status: Stable
Current Stable Version: 1.2
Stable Release Date: 2016-07-28
Created 2016-07-27
Last Updated 2016-08-03
Reserved
Changelog
1.2
- Minor changes
1.1
- Minor changes
1.0 Beta
- Initial release
Hi @ ale5000
Could you give a step by step tutorial how to use it Please..............
@mdrobiulhasan: My script just create the zip package, the code must be written manually, it is in Edify language inside the file updater-script (a normal textual file).
If you have a problem on a specific thing, tell me.
An explanation of Edify language is here => http://forum.xda-developers.com/wiki/Edify_script_language
To edit the file I suggest Notepad++.
ale5000 said:
@mdrobiulhasan: My script just create the zip package, the code must be written manually, it is in Edify language inside the file updater-script (a normal textual file).
If you have a problem on a specific thing, tell me.
An explanation of Edify language is here => http://forum.xda-developers.com/wiki/Edify_script_language
To edit the file I suggest Notepad++.
Click to expand...
Click to collapse
Sorry to ask you
How I can edit update-binary
mdrobiulhasan said:
Sorry to ask you
How I can edit update-binary
Click to expand...
Click to collapse
You can't, it is an executable that execute the code inside updater-scipt.
You can replace it with another but you can't edit it.
Hey there, again.
Code:
[B][U]IM NOT RESPONSIBLE IF YOU END BRICKING UP YOUR DEVICES OR ANYTHING ELSE HAPPENS WITH YOUR PHONE! [/U][/B]
Here's another flashable zip files i've created for custom roms.
Q: What it will do?
A: it will install Oxygen OS sounds.
Q: Which sounds?
A: Ringtone, notification, Alarm, UI.
That's it!
I don't have 3.5.8 file, so i can't add those for now, i will download in few days and include them. I had 3.0.2 file in my pc and it had good sound pack so thought to extract and make it flashable zip file for you.
**INSTALLATION**
1) Flash your Favourite (7.1.1/7.1.2) ROM and then flash Nano Gapps.
2) Select zip file and flash and reboot.
Download: https://www.androidfilehost.com/?fid=889764386195913812
Git: https://github.com/chetz1215/OOS-Sound
Version: V2.0
Changelog:
V2.0: initial release.
-
V3.0:
1) Added all sound folder from OxygenOS 3.5.8
Reserve 2
Git: https://github.com/chetz1215/OOS-Sound (Uploaded all files)
New update: https://www.androidfilehost.com/?fid=889764386195913812
Edit: The script may say "V2.0" While installing, forgot to change it.
Introduction
In this guide, I will be using @krasCGQ's https://github.com/KudProject/AnyKernel2
You should know-
How to build a kernel properly.
How to use AnyKernel2 for making flashable zips.
I might not be able to answer all your questions as I am a bit busy these days so sorry!
Part 1: Changes to the kernel
1. You must firstly disable BUILD_ARM64_APPENDED_DTB_IMAGE in your defconfig(Check this for reference - https://github.com/rupansh/chimera_nich/commit/7af580533c79e179d146516a845301a32fe99220)
2. Secondly, you will have to find which dts your device uses. Its quite easy to figure that out just open arch/arm/boot/dts/qcom/Makefile in your source and find your chipset's config line. To figure out which one you should use, you can
check the history of the qcom folder in the dts folder.(You can check the history of the Makefile as well) here's are two example commits -
https://github.com/rupansh/chimera_...90747ba#diff-fb8cf9a1a0b868557516caf54f4e966b (My non treble source)
https://github.com/rupansh/chimera_...a778661#diff-fb8cf9a1a0b868557516caf54f4e966b (My treble source)
As you can see, the dtb i will need is msm8937-pmi8950-qrd-wt88537_64.dtb for non treble source and msm8937-pmi8950-qrd-sku1.dtb for Treble source. Sometimes it is just obvious which one to use(i.e it will have your device codename in some cases)
3.All right once you have found out which dtb you will need, build the kernel like you normally do(In this case an Image.gz-dtb won't be made by the way)
Next, you need to cd to <outdir>/arch/arm64/boot/dts/qcom and you will find your required dtb there in your respective sources.
Part 2: Changes to AnyKernel2
1. either you can clone https://github.com/KudProject/AnyKernel2 and delete the files in ramdisk and edit anykernel.sh according to your AnyKernel2 script, or
2. you can use these two commits for reference-
https://github.com/KudProject/AnyKernel2/commit/b55c00085c5bd3859627f579150cbd6d9687c0a0 && https://github.com/KudProject/AnyKernel2/commit/f4602f721631f95134a78b8c7eccccd3f5cd98f5 and edit your anykernel2 script accordingly. The changes are quite simple to understand. He simply added an "if" condition. It looks for ro.treble.enabled in buildprop and "if" the script finds it, treble DTB is combined with Image.gz(Which I will explain where to get) "else", (which means the other possibility which is if it doesn't find ro.treble.enabled) it simply flashes non-treble DTB with Image.gz . (Someone with basic coding knowledge can figure that out + it is quite well explained in the commit)
3. Once you have made your AnyKernel2 script ready to integrate, lets move to the next part
Part 3: Adding Required Files
1. Make a folder called "treble-supported" in the modified AnyKernel2 and copy your device specific dtb from your treble source to the folder.
2. Similarly, Make a folder called "treble-unsupported" in the modified AnyKernel2 and copy your device specific dtb from non-treble source to the folder.
3. make a dir called "kernel" in the Anykernel2 folder and copy Image.gz from any one of your source from <outdir>/arch/arm64/boot to it. (I just used the one from my treble source, Maybe you can use other sources as well but I can't confirm! An experienced person will tell you about that )
4. Zip the folder like you usually do and flash it! If it doesn't boot, You may have done something wrong with the script or more likely used an incorrect dtb!(Please don't use Image.gz-dtb). If it does boot, Congratulations!
Notes
1. You can name the folders(treble-supported and treble-unsupported) anything you want them to be as long as you make changes to the update binary
2. This script only detects on devices that have actually ported treble instead and it won't work with those that have only ported a seperste vendor
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Also this is my first guide so please do tell if I did/said something wrong
Here's my fork if you want to check - https://github.com/rupansh/AnyKernel2
Credits -
1. @krasCGQ
2. @osm0sis
3. @tanish2k09 (For bringing me to the the android dev world)
Anyone I missed! (Please reply here or message me if I have!)
To note,
You can name them anything, as long as update-binary is also modified to point to the respective folders correctly.
Detection only works for differentiating treble-enabled and non-treble. It won't work for device that has "ported" separate vendor partition but not enabling treble yet.
Sent from my Redmi Note 4 using XDA Labs
krasCGQ said:
To note,
You can name them anything, as long as update-binary is also modified to point to the respective folders correctly.
Detection only works for differentiating treble-enabled and non-treble. It won't work for device that has "ported" separate vendor partition but not enabling treble yet.
Sent from my Redmi Note 4 using XDA Labs
Click to expand...
Click to collapse
Thanks for telling i will add this to notes
Awesome @rupanshji
Some Hatsune Miku flashable mods (splash, bootanim, ringtones) for mido by me
How to apply :
0. Do backups for safety
1. Already done base mod (UBL, custom recovery)
2. Copy data to phone
3. Go to recovery
4. Flash zips
5. Done !
*Note
- I'm not responsible for any kinds of broken device. Errors may vary each devices.
- bootanim.zip doesnt work for android 10 for now, don't know why. Need to manually replace. If you can help please let me know (or just fix it and share here).
- bonus wallpaper edited by me
Download : Google Drive Folder
Tested on :
- Mido with TWRP 3.3.1-0 running MSM XQ
Sources :
- Source 1
- Source 2
- Splash Source
- Wallpaper Source
Screenshots :