Flashing few CWM zips at once? - Galaxy S II Q&A, Help & Troubleshooting

I was wondering if there is such way. Every time I flash a new rom I have my few mods I wish to install.
Is it possible to multi-select ZIP files in recovery and then it'll flash them all one after the other?
Also, how can I tell if I can just copy the zip content into the appropriate location in my rom.zip, or I it requires some other changes as well?
Sent from my GT-I9100 using xda premium

Twrp recovery is the only recovery that allows you to do that. A very nice feature imho.
Sent from my Nexus S using Tapatalk 2

eranyanay said:
I was wondering if there is such way. Every time I flash a new rom I have my few mods I wish to install.
Is it possible to multi-select ZIP files in recovery and then it'll flash them all one after the other?
Also, how can I tell if I can just copy the zip content into the appropriate location in my rom.zip, or I it requires some other changes as well?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
CWM recovery unfortunately doesn't support this feature, at least for now
Swyped from my Galaxy SII

Related

galnet miui help!!!!!!

I tried approximately 22 times to install from multiple sources but the zip file is just not showing up!!!!! Can someone please help or give a step by step guide? I really want this ROM on my phone
You need to expand the rar file you've downloaded to extract the zip inside. Place that zip on your external then it should show
Sent from my SGH-I777 using xda premium
Tiplite2004 said:
You need to expand the rar file you've downloaded to extract the zip inside. Place that zip on your external then it should show
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
can you expand on that? I don't fully understand what you mean
Then get out of here lol
Sent from my SAMSUNG-SGH-I777 using XDA App
Here, i made the zip for you http://www.megaupload.com/?d=HFFEYG2Y. Just download boot into recovery and you should see it.
The reason your phone couldn't find it before is because it was in a RAR format and when in CWM only ZIPS are recognized for installing
Sent from my SGH-I777 using xda premium
it still didn't show up
abraxo said:
it still didn't show up
Click to expand...
Click to collapse
I've seen this type of download before and it says the zip itself (named boot) is a .img and when I put it into the SD it shows up as a very small (4,000 KB) zip file. it doesn't show up in CWM.
Did you try repacking it as zip?

[GUIDE]How to extract Stock firmwares from Samsung?

And,comes another guide from me.... I was actually extracting a stock firmware and this came into my mind
Ok,I made this guide since the process of extracting firmware is a bit confusing sometimes.So,lets start with it​
What you would need:
1.7zip or any other zip utility
2.Stock Firmware
3.MagicISO
4.Nothing else
Tutorial:
1.Start off by downloading a stock firmware,for this guide,we assume its DDKQ8
2.You will get 2 files, S5830DDKQ8_<bla bla>.tar.md5 and SS_DL.dll
3.Ignore the second file,we only need the first file which has an extension of .md5
4.Now its not possible to extract the file with the current extension.
5.So,rename the file S5830DDKQ8_<bla bla>.tar.md5 to S5830DDKQ8_<bla bla>.tar
6.Now,the file is extractable,so extract it.
7.You will get approx. 9 files: arm11 boot,amss,csc.rfs and various others.
8.Delete all the files except boot.img and system.rfs.These are the only files we need.
9.Now,using MagicISO,open up system.rfs and extract it.
10.Make a new folder named Rom_working
11.Now,move the boot.img there
12.Make a folder called system
13.Move all contents of system.rfs to this this folder.
14.Now all you need is a META-INF folder to complete the rom.(Unless you messed up)
Thats it! Pretty easy huh,this is something really basic,but a few people get confused on extracting it anyway.Its just meant to be a basic guides for those people.If you want to get more info on making a rom,refer this guide which i wrote a few months ago.Hope this helped you guys out.
NOTE: I am not responsible if you mess up your phone or w/e happens to it.Btw,<bla bla> stands for the rest of the filename ​
thanks for that,, i was woundering how it was done,, i ended up using a nandroid backup with kitchen to make my own lol
How can I root the rom??
Sent from my GT-S5830 using xda premium
Where do we get a META-INF folder?
Do we use CWM recovery to restore with the new folder?
lypang said:
Where do we get a META-INF folder?
Do we use CWM recovery to restore with the new folder?
Click to expand...
Click to collapse
You can get a META-INF folder by creating one yourself
I don't understand your 2nd question though
dredremon said:
How can I root the rom??
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Take su bin file from a rooted rom and insert it in your rom.Done.
lypang said:
Where do we get a META-INF folder?
Do we use CWM recovery to restore with the new folder?
Click to expand...
Click to collapse
Make one yourself,refer other stock roms for the path,then get the update binaries and script from BlackHawk (if stock ONLY).
okay, this is to flash via CWM is not it? how to change the kernel?
Sent from my GT-S5830 using xda premium
modolheula said:
okay, this is to flash via CWM is not it? how to change the kernel?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Kernel is in boot.img. If u want to change kernel, you should change the boot.img
Sent from my fingers to your face,take it or leave it.
okay, I'm trying to find out about the boot.img .... thanks for sharing knowledge
Sent from my GT-S5830 using xda premium
Well, on Linux I usually do this: http://forum.xda-developers.com/showpost.php?p=28933492&postcount=3
Hmm is it possible to extract a stock ROM from the phone itself? Or not extract but get the stock ROM as zip (with those md5 files, etc) so that it can be flashed via Odin on another phone?
It's because i can't find anywhere to download the stock ROM i had...
Sent from my GT-S5830 I think...
Millenium3 said:
Hmm is it possible to extract a stock ROM from the phone itself? Or not extract but get the stock ROM as zip (with those md5 files, etc) so that it can be flashed via Odin on another phone?
It's because i can't find anywhere to download the stock ROM i had...
Sent from my GT-S5830 I think...
Click to expand...
Click to collapse
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Prawesome said:
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
Y U No like cwm backups ?
Prawesome said:
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
Thanks i will try and post if i have any problems
madman said:
Y U No like cwm backups ?
Click to expand...
Click to collapse
I want to flash the rom in another phone... or maybe it works by copying the backup files cwm made into the another phone? But anyways i tried to restore the stock rom once but it failed.. but thanx
PS: i actually thought the thread was the guide for my question
Sent from my GT-S5830 I think...
Don't forget to press thanks button..!!
Prawesome said:
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
ok sorry for late reply
after pull /system how can i make the stock ROM flashable through ODIN on another phone?
or at least another way to flash the rom? adb push?
Millenium3 said:
ok sorry for late reply
after pull /system how can i make the stock ROM flashable through ODIN on another phone?
or at least another way to flash the rom? adb push?
Click to expand...
Click to collapse
For Odin flash,refer freeyourandroid.com.
For CWM flash,take updater script and binary from Blackhawk and put it in your rom
Sent from the year 3000 using a SGA where sheep's are not present.
dredremon said:
How can I root the rom??
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Download root file with su and extract it you will find the files you need there.
Sent from my GT-S5830 using xda app-developers app
can some1 tell me what i did wrong? I made a flashable zip, and after installation phone is not booting.
TechNoJerky said:
can some1 tell me what i did wrong? I made a flashable zip, and after installation phone is not booting.
Click to expand...
Click to collapse
Logcat or it didn't happen
Insert witty sentence here

what is deodexed roms

Ive seen other posts about this but what is it. I want to install google now on my stock ics ota. But other sites say i need a deodexed rom.
There is a file included in every apk on a stock rom that is an odex (I don't know what this does but I think it is a database or a cache). It makes modding or theming difficult so developers take it out.
Sent from my ADR6400L using Tapatalk 2
disconnecktie said:
There is a file included in every apk on a stock rom that is an odex (I don't know what this does but I think it is a database or a cache). It makes modding or theming difficult so developers take it out.
Sent from my ADR6400L using Tapatalk 2
Click to expand...
Click to collapse
I am not sure how to flash a radio. i have to flash a radio before i flash a deodexed rom. How do i do this
Download the radio. Put it on the root of your SD (/sdcard). CHECK THE MD5 SUM BEFORE FLASHING. Rename the file exactly like this PG05IMG.zip. Reboot into the bootloader. Press the power button to select fastboot. Press volume up to apply the update. Once it finishes reboot. After the reboot make sure to rename the radio zip or move it somewhere else. I usually rename them. Also it is extremely important that the md5 matches. If it does not then do no flash the file as it will brick your device.
Sent from my personally built from source CM10.1 N7.
disconnecktie said:
Download the radio. Put it on the root of your SD (/sdcard). CHECK THE MD5 SUM BEFORE FLASHING. Rename the file exactly like this PG05IMG.zip. Reboot into the bootloader. Press the power button to select fastboot. Press volume up to apply the update. Once it finishes reboot. After the reboot make sure to rename the radio zip or move it somewhere else. I usually rename them. Also it is extremely important that the md5 matches. If it does not then do no flash the file as it will brick your device.
Sent from my personally built from source CM10.1 N7.
Click to expand...
Click to collapse
This is a great instruction. The only thing I might add is that the file name contains a zero, not a letter O. And reinforcing the point disconnecktie makes, it is important to rename or delete the zip file after you reboot... if you don't it may cause the phone to brick if you try to flash another radio.
One other note, you can also delete and download radios using a microSD card reader attached to your PC. A cheap bit of insurance to have around, just in case.
Sent from my cm_tenderloin using xda app-developers app
That is a 0.....
Sent from my ADR6400L using Tapatalk 2
Nomad1600 said:
This is a great instruction. The only thing I might add is that the file name contains a zero, not a letter O. And reinforcing the point disconnecktie makes, it is important to rename or delete the zip file after you reboot... if you don't it may cause the phone to brick if you try to flash another radio.
One other note, you can also delete and download radios using a microSD card reader attached to your PC. A cheap bit of insurance to have around, just in case.
Sent from my cm_tenderloin using xda app-developers app
Click to expand...
Click to collapse
Once i flash it, i reboot and let it boot to the os and then remove the PG05IMG?
Or after the flash, turn it off and then delete the PG05IMG and then reboot?
And btw, thanks for all your help.
Reboot and then delete the file.
Sent from my ADR6400L using Tapatalk 2
disconnecktie said:
Reboot and then delete the file.
Sent from my ADR6400L using Tapatalk 2
Click to expand...
Click to collapse
Thanks
disconnecktie said:
Download the radio. Put it on the root of your SD (/sdcard). CHECK THE MD5 SUM BEFORE FLASHING. Rename the file exactly like this PG05IMG.zip. Reboot into the bootloader. Press the power button to select fastboot. Press volume up to apply the update. Once it finishes reboot. After the reboot make sure to rename the radio zip or move it somewhere else. I usually rename them. Also it is extremely important that the md5 matches. If it does not then do no flash the file as it will brick your device.
Sent from my personally built from source CM10.1 N7.
Click to expand...
Click to collapse
This was immensely helpful. Thank you!

[Q] What is the difference between flashing and installing an apk?

Sometimes.. you see apps on xda.. that are required to be flashed.. and are in the form of zip files. Now how are these different from apk files with their regular installation? is it something to do with giving these apps you flash a deeper level permission? if so.. if your rooted can't you just give those apps those permissions after a normal install?
Usually making them flashable is just easier for some and if you were to extract the .apk from the zip and install it from sdcard it would work the same. Sometimes the app may require extra libs that are flashed at the same time as the app so they are bundled together as a zip. Or possibly it is being flashed to system for whatever reason and can't be done this way installed through os.
There are lots of varying reasons why it may be a .zip but you could also install it probably any way you'd like (including pushing with adb) if you want to know what's in the .zip just extract its contents, if you want to know what happens when you flash it look at the updater-script
Sent from my Nexus 4 using xda premium
Thank you!
demkantor said:
Usually making them flashable is just easier for some and if you were to extract the .apk from the zip and install it from sdcard it would work the same. Sometimes the app may require extra libs that are flashed at the same time as the app so they are bundled together as a zip. Or possibly it is being flashed to system for whatever reason and can't be done this way installed through os.
There are lots of varying reasons why it may be a .zip but you could also install it probably any way you'd like (including pushing with adb) if you want to know what's in the .zip just extract its contents, if you want to know what happens when you flash it look at the updater-script
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thank you..! I have one more question.. in some cases.. you are instructed to "copy apk's to system\app folder with a file manager with root permissions and then reboot" ... why this? does this produce the same effect as flashing it?
I guess it depends on the app, but it may only function properly as a system app, and yes it would be just as possible to flash it through recovery or push with adb to get the same effect
Sent from my Nexus 4 using xda premium
Thank you again!
demkantor said:
I guess it depends on the app, but it may only function properly as a system app, and yes it would be just as possible to flash it through recovery or push with adb to get the same effect
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
hey, thanx alot!
rjspark89 said:
hey, thanx alot!
Click to expand...
Click to collapse
And if it's an system app, or framework it's better to flash via Recovery
thanks!
superdragonpt said:
And if it's an system app, or framework it's better to flash via Recovery
Click to expand...
Click to collapse
thanks this is valuable info for a newbie..! any more imp tips related to my question is should know?
rjspark89 said:
thanks this is valuable info for a newbie..! any more imp tips related to my question is should know?
Click to expand...
Click to collapse
Yes
DON'T let you battery go all the way down.
This way it will lst longer (no Joke)

[Tutorial] How to mod files for Safestrap Alpha

I was just gonna make this little tutorial to take some work off of The actual Dev for the Project(Beastmode) thanks again for your work brother
In his newest alpha release of safe strap we're able to replace the stock rom slot with a 4.3 Touchwiz ROM, I have seen people report that they have flashed certain roms without having to do any modification, but this is a safety precaution.
First you will need your rom of choice, in this tutorial I'm using N3BULA.
Download the rom and extract the contents to a folder on your pc or phone, PC is much easier, but you can edit on your phone as well
The files you need to edit are under META-INF/COM/GOOGLE/ANDROID that's actually the only files
Im using his modified files from the dev thread for comparison.
First we'll open the Aroma-Config
http://forum.xda-developers.com/attachment.php?attachmentid=2650078&stc=1&d=1395786107
Pardon the crude screen shot method but this will show you the changes and where they are.
Modified is on the left and Stock that came with the rom is on the right. Make the Changes and save
Next is Updater-Script
Same crude method of screen shot
http://forum.xda-developers.com/attachment.php?attachmentid=2650086&stc=1&d=1395786357
you can see where the two differ, so just edit that out as well.
Left is modified, Right is stock
Save Changes
Edit 3/26 you can also delete boot.img in zip
Make sure these files are on external sd card as well as the rom, boot into recovery, always make a nandroid backup, wipe and flash.\
This is the first time I have made a tutorial, so if its rough around the edges please excuse my forum newbness
if I missed anything definitely feel free to add, and once again A HUGE THANK YOU BEASTMODE.
Hopefully in a few hours or days these edits wont be needed.
how do we go about putting them into the rom zip file?
You edit them in the rom zip file... extract the rom and it moves as a zip, my case was it downloaded to storage sdcard (internal). I extracted it to ext sdcard and then went in and edited it. It still remains a zip
Sent from my SCH-I605 using Tapatalk
Easy way is to use 7 zip. Extract the ROM and make the changes. Now right click on original ROM and select open archive. From there u can place the modded files. Now the ROM.zip is still flashable.
Sent from my LG-VS980 using xda app-developers app
of course as soon as i posted it, i figured it out, unfortunately i can't get alliance to work afterwards, it installs but doesn't boot
I'm using alliance atm on safestrap. Don't mod anything. Just choose the stock kernel when you get to that point in the installer.
So glad to see you post that.!!! Been talking to a guy about it for about 2 hrs about it now, I actually told him it should work as long as agni wasn't chosen, thanks for clarification
Sent from my SCH-I605 using Tapatalk
I tried and unedited version of alliance and it tripped Knox and I had to odin anyone got an edited version with out kernel that they know works
Sent from my SCH-I605 using Tapatalk
In my nebula zip I have a file on the root called boot.img should I delete this file as well?
Sent from my SCH-I605 using Tapatalk
It wouldn't hurt. The script edits disregard it but just to be safe you can
Sent from my SCH-I605 using Tapatalk
I don't get it I edited the zips and then when i try to flash in recovery it just says failed? it doesn't give me a specific reason. This is for n3bula rom. But i extracted using winrar, deleted boot.img, changed the aroma config and updated zip using wordpad, zipped the rom and it doesn't seem to work. is there something i'm doing wrong?
HerroMoto said:
I don't get it I edited the zips and then when i try to flash in recovery it just says failed? it doesn't give me a specific reason. This is for n3bula rom. But i extracted using winrar, deleted boot.img, changed the aroma config and updated zip using wordpad, zipped the rom and it doesn't seem to work. is there something i'm doing wrong?
Click to expand...
Click to collapse
After you deleted the boot.img there is no point in editing the rest. I used 7zip to unzip and rezip and have not had any problems yet. Winrar might be causing problems for all i know as i never use it. I'm not around my pc for the most part atm but i haven't had any problems flashing 4 or 5 roms with just deleting the boot.img.
roflcoptersoisoi said:
After you deleted the boot.img there is no point in editing the rest. I used 7zip to unzip and rezip and have not had any problems yet. Winrar might be causing problems for all i know as i never use it. I'm not around my pc for the most part atm but i haven't had any problems flashing 4 or 5 roms with just deleting the boot.img.
Click to expand...
Click to collapse
I ended up fixing it. I tried doing it through winrar and from root explorer on my phone. The way I got it to work was actually downloading the aroma-config file and uodater-script file from the development thread that beast mode provided and changed those. He happened to use nebula as well so everything is working great
Sent from my SCH-I605 using Tapatalk
Ive tried n3bula alliance and jediwiz(?) And all have worked out for me need some time to work SS!! Lol
Sent from my SCH-I605 using Tapatalk
So I have to delete stuff in the updater script and the boot.img correct? I opened the updater script in notepad and it looked nothing like that..
trying to install Jett rom and im not sure what will happen when I delete that kernel line..
already deleted boot.img
Just delete the boot.img nothing else
Sent from my SCH-I605 using Tapatalk
hggadm3 said:
Just delete the boot.img nothing else
Sent from my SCH-I605 using Tapatalk
Click to expand...
Click to collapse
Excellent. Thank you!!!
Sorry for the dumb question but what do I do if the rom of choice isn't showing up on the root of my extSD?
EDIT:
Nevermind, to anyone who saw my last post(s), I'm an idiot .
Ran through Odin, re-rooted, re-installed Safestrap, now installing N3bula Rom.
Hope all goes well. And sorry for any inconvenience!
Hope my donation helped out some Beastmode!

Categories

Resources