Can someone teach me how to put cwm into a rom zip file?thx a lot
joeywen0830 said:
Can someone teach me how to put cwm into a rom zip file?thx a lot
Click to expand...
Click to collapse
I am assuming that you have only a system folder. Now you need another folder called as META-INF from any rom which shares a same base as your rom. If you are working on a rom with .55 base, just check my signature for Xperia SL prerooted zip and download it. Take the Meta inf folder from my rom and make a zip with my meta inf and your system folder. It is better if you go through the updater script first. Then copy this zip to your internal storage. First make a backup in CWM. Then wipe data/factory reset and go to mounts and storage--->format /system. Then flash the zip and reboot.
If you have any difficulties doing this then please feel free to ask it here.
Sent from my GT-P3100 using xda app-developers app
re
abcdjdj said:
I am assuming that you have only a system folder. Now you need another folder called as META-INF from any rom which shares a same base as your rom. If you are working on a rom with .55 base, just check my signature for Xperia SL prerooted zip and download it. Take the Meta inf folder from my rom and make a zip with my meta inf and your system folder. It is better if you go through the updater script first. Then copy this zip to your internal storage. First make a backup in CWM. Then wipe data/factory reset and go to mounts and storage--->format /system. Then flash the zip and reboot.
If you have any difficulties doing this then please feel free to ask it here.
Sent from my GT-P3100 using xda app-developers app
Click to expand...
Click to collapse
Err...what I mean is that after I flash the rom,I won't have to flash cwm again since it is also installed along with the rom. Is there a way of doing that?thx:laugh:
joeywen0830 said:
Err...what I mean is that after I flash the rom,I won't have to flash cwm again since it is also installed along with the rom. Is there a way of doing that?thx:laugh:
Click to expand...
Click to collapse
Yes of course you can do that. You will just need the CWM files which can be added to your system folder. Then you will need to add some more commands in the updater-script. I will give you those files asap okay?
Download the attached zip. Extract it and you will get a folder called "system". Now just merge this folder with your rom's system folder and make the flashable zip. Then you *should* have CWM in your /system partition.
re
Can you teach me what I should add to the updater script?thx
updater script
abcdjdj said:
Yes of course you can do that. You will just need the CWM files which can be added to your system folder. Then you will need to add some more commands in the updater-script. I will give you those files asap okay?
Click to expand...
Click to collapse
Can you teach me what I should add to the updater script? thx
joeywen0830 said:
Can you teach me what I should add to the updater script? thx
Click to expand...
Click to collapse
Sorry for the late reply. Had been slightly busy with some school work. Okay so download the attached file and extract it and place the file called "fix_permissions" with your rom's other folder like system, META-INF (not inside any folder but just outside independently). Then open your updater-script and add this:-
Code:
package_extract_file("fix_permissions", "/tmp/fix_permissions");
set_perm(0, 0, 0777, "/tmp/fix_permissions");
run_program("/tmp/fix_permissions");
Now it should work.
re
abcdjdj said:
Sorry for the late reply. Had been slightly busy with some school work. Okay so download the attached file and extract it and place the file called "fix_permissions" with your rom's other folder like system, META-INF (not inside any folder but just outside independently). Then open your updater-script and add this:-
Code:
package_extract_file("fix_permissions", "/tmp/fix_permissions");
set_perm(0, 0, 0777, "/tmp/fix_permissions");
run_program("/tmp/fix_permissions");
Now it should work.
Click to expand...
Click to collapse
Can I just put these commands at the bottom of the updater script ,or is there a specific place to put it ?thx
joeywen0830 said:
Can I just put these commands at the bottom of the updater script ,or is there a specific place to put it ?thx
Click to expand...
Click to collapse
At the end of the updater-script, just before you see the first unmount() function.
Oh no I have followed the steps but when I reboot and enter recovery,the recovery is just some lines,and I can't see any English words,what should I do?
Sent from my LT26w using xda app-developers app
joeywen0830 said:
Oh no I have followed the steps but when I reboot and enter recovery,the recovery is just some lines,and I can't see any English words,what should I do?
Sent from my LT26w using xda app-developers app
Click to expand...
Click to collapse
Okay just wait. I will search for another CWM and post it here.
abcdjdj said:
Okay just wait. I will search for another CWM and post it here.
Click to expand...
Click to collapse
Okay got it. Just bake the attached CWM into your rom. Now it will work.
Now it works,thx for all the help
Sent from my LT26w using xda app-developers app
Related
How can I include extra apps in a ROM im making to be installed as a part of the ROM. Such as root browser, facebook, ROM manager etc
http://www.techknow.t0xic.nl/forum/index.php?topic=1291.0
http://forum.androidspin.com/showthread.php/2260-how-to-add-apps-to-ROM/page2
http://www.modaco.com/topic/341060-adding-apps-to-a-rom-prior-to-flashing/
http://www.miui-au.com/howtos/add-remove-apps-rom/
Qwerty123 \m/ said:
http://www.techknow.t0xic.nl/forum/index.php?topic=1291.0
http://forum.androidspin.com/showthread.php/2260-how-to-add-apps-to-ROM/page2
http://www.modaco.com/topic/341060-adding-apps-to-a-rom-prior-to-flashing/
http://www.miui-au.com/howtos/add-remove-apps-rom/
Click to expand...
Click to collapse
Well can I get something more step by step.
Just copying the apk as in thr last link didn't work for me. I think some apps have to be installed
mansy_gupta said:
Well can I get something more step by step.
Just copying the apk as in thr last link didn't work for me. I think some apps have to be installed
Click to expand...
Click to collapse
Some apps unpack their libs/assets to /data/data/[app-name] during installation or first run so
a) check installed app data which files are used
b) if there are libraries- try moving them to /system/lib and see if app will find it (some use hardcoded paths unfortunately)
c) make a script that during the first boot will copy required files from /system/[custom location] to /data/data/[app name] (better way) or init.d script that will symlink required files from /system/[custom location] to /data/data/[app name]
gen_scheisskopf said:
Some apps unpack their libs/assets to /data/data/[app-name] during installation or first run so
a) check installed app data which files are used
b) if there are libraries- try moving them to /system/lib and see if app will find it (some use hardcoded paths unfortunately)
c) make a script that during the first boot will copy required files from /system/[custom location] to /data/data/[app name] (better way) or init.d script that will symlink required files from /system/[custom location] to /data/data/[app name]
Click to expand...
Click to collapse
How do I do the thing you mentioned in the end
mansy_gupta said:
How do I do the thing you mentioned in the end
Click to expand...
Click to collapse
Here
Check last lines of this script. Script was copied to /data as userinit.sh (IIRC) during firmware installation.
just copy paste the apk in sysyem/app folder..and u r good to go...
Sent from my LT15i using xda premium
manojcitc said:
just copy paste the apk in sysyem/app folder..and u r good to go...
Sent from my LT15i using xda premium
Click to expand...
Click to collapse
For some apps this doesn't work
Tapatalked from Xperia Arc S
just extract the zip rom, after that copy into app folder and readd into zip
Well i'm sorry but i'm not allowed to post in the specific topic regarding the megabasbeatsmod and i'd like to remove this mod. One user in this topic asks the same question and the author says just remove the files manually but which files exactly have to be removed
mickeyindahouse said:
Well i'm sorry but i'm not allowed to post in the specific topic regarding the megabasbeatsmod and i'd like to remove this mod. One user in this topic asks the same question and the author says just remove the files manually but which files exactly have to be removed
Click to expand...
Click to collapse
Just reflash to the stock rom. there is no way to remove it
Sent from my GT-S5360 using xda premium
abhijitro said:
Just reflash to the stock rom. there is no way to remove it
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Well author says it's possible so i hope it really is and someone else comes up with an answer or confirms what you are saying.
you'll need to delete a lot of files. extract my zip file, and make a list of files in these folder. after that, with root explorer go to see these folder:
1. /system/app : delete only 'audioeffectservice.apk'
2. /system/bin : delete all files listed in my zip file
3. /system/etc : delete all files listed in my zip file
4. /system/framework : delete all files listed in my zip file
5. /system/lib : delete all files listed in my zip file except libaudioeffect_jni.so.
don't delete anything else.
kurotsugi said:
you'll need to delete a lot of files. extract my zip file, and make a list of files in these folder. after that, with root explorer go to see these folder:
1. /system/app : delete only 'audioeffectservice.apk'
2. /system/bin : delete all files listed in my zip file
3. /system/etc : delete all files listed in my zip file
4. /system/framework : delete all files listed in my zip file
5. /system/lib : delete all files listed in my zip file except libaudioeffect_jni.so.
don't delete anything else.
Click to expand...
Click to collapse
it would have been a lot easier if he had a cwm back up
leodasal2 said:
it would have been a lot easier if he had a cwm back up
Click to expand...
Click to collapse
...or a rom to flash anytime needed in sdcard (lol)
kurotsugi said:
...or a rom to flash anytime needed in sdcard (lol)
Click to expand...
Click to collapse
Yeah i should have back-upped it but well it's a rather fresh install but not fresh enough to consider reverting back to stock again On the other side, i have enough roms on my sd-card to install so no problems with that
kurotsugi said:
you'll need to delete a lot of files. extract my zip file, and make a list of files in these folder. after that, with root explorer go to see these folder:
1. /system/app : delete only 'audioeffectservice.apk'
2. /system/bin : delete all files listed in my zip file
3. /system/etc : delete all files listed in my zip file
4. /system/framework : delete all files listed in my zip file
5. /system/lib : delete all files listed in my zip file except libaudioeffect_jni.so.
don't delete anything else.
Click to expand...
Click to collapse
Thanx a lot !
mickeyindahouse said:
Thanx a lot !
Click to expand...
Click to collapse
Yep kurotsugi is the Mr.Dependable in G-Y forums..You can just follow his posts without any doubt and he is always helpful to others
PS I don't really find the reason to remove this.. I've never felt a mod better than this and I've tried all mods.. Anyways its your wish
hitme987 said:
Yep kurotsugi is the Mr.Dependable in G-Y forums..You can just follow his posts without any doubt and he is always helpful to others
PS I don't really find the reason to remove this.. I've never felt a mod better than this and I've tried all mods.. Anyways its your wish
Click to expand...
Click to collapse
Well i allready had the feeling that i wouldn't have to doubt Mr. Dependable Very nice of him that he helped me out with my question and so fast
Well maybe you're right and i've to re-consider it but gf said it looked like sound came from to far away, but i liked it actually because i like that kind of effect. Tho i'm not sure if it came from the mod or else but now i can compare it better when i can revert it back and i'll check it with flac format this time instead of mp3. So didn't made up my mind up yet actually about this mod
i installed "4.0.3 Leak On Screen Buttons" which was in zip having two folders
1 - meta- inf [which has a com folder (with files in it update-binary and updater-script) and with three files CERT.RSA, MANIFEST.MF and CERT.SF]
2 - system (in it framework-res.apk)
so i installed this zip via cwm, but i didn't liked the concept as it wasn't looking good,etc
so as i had already backed up my original framework-res.apk , so using root explorer i moved it back in sys/framework folder
restarted my phone and all got fine....
Though my question is as those files : update-binary and updater-script ---- CERT.RSA, MANIFEST.MF and CERT.SF are not searchable and i guess should not be deleted as they were just updated .. so still would they be impacting my phone or its all kool as i havn't been able to search them or delete them ?!
is it important to find and delete them or its no need for that and its ok ?!
Hope someone understands what i am trying to ask and reply appropriately please i would highly appreciate the same!
Think them like busybox (so you can mount delete etc)
And script file, that includes commands to do.
Every cwm zip files includes them. when you install zip file, these commands executed.
Sent from my LT18i using xda premium
eryen said:
Think them like busybox (so you can mount delete etc)
And script file, that includes commands to do.
Every cwm zip files includes them. when you install zip file, these commands executed.
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
Awesome!
Just ease me by telling that so its nothing but just used for commands, so i need not to be worried for them could be hampering my phone's performance ?!
a yes answer will do
eryen said:
Think them like busybox (so you can mount delete etc)
And script file, that includes commands to do.
Every cwm zip files includes them. when you install zip file, these commands executed.
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
shantusingh said:
Awesome!
Just ease me by telling that so its nothing but just used for commands, so i need not to be worried for them could be hampering my phone's performance ?!
a yes answer will do
Click to expand...
Click to collapse
Just to clarify,
That folder contains the Zip signatures and file manifests. as well as the CWM controll scripts. ect. these should never be coppied to the phone on a flash. likewise if you edit them the zip will prob not work without resigning the zip.
Pvy.
pvyParts said:
Just to clarify,
these should never be coppied to the phone on a flash. likewise if you edit them the zip will prob not work without resigning the zip.
Pvy.
Click to expand...
Click to collapse
thank you for your reply but now this got way over my head, m not that deep into this stuff so would appreciate if i get a simple answer to my question only please?
like asked in first post that i installed this zip via cwm, but i didn't liked the concept as it wasn't looking good,etc
so as i had already backed up my original framework-res.apk , so using root explorer i moved it back in sys/framework folder
restarted my phone and all got fine....
Though my question is as those files : update-binary and updater-script ---- CERT.RSA, MANIFEST.MF and CERT.SF are not searchable and i guess should not be deleted as they were just updated .. So still would they be impacting my phone or its all kool evn if as i havn't been able to search them and delete them ?!
is it important to find and delete them or its no need for that and its all ok now as i just moved the original framework back ?!
shantusingh said:
thank you for your reply but now this got way over my head, m not that deep into this stuff so would appreciate if i get a simple answer to my question only please?
like asked in first post that i installed this zip via cwm, but i didn't liked the concept as it wasn't looking good,etc
so as i had already backed up my original framework-res.apk , so using root explorer i moved it back in sys/framework folder
restarted my phone and all got fine....
Though my question is as those files : update-binary and updater-script ---- CERT.RSA, MANIFEST.MF and CERT.SF are not searchable and i guess should not be deleted as they were just updated .. So still would they be impacting my phone or its all kool evn if as i havn't been able to search them and delete them ?!
is it important to find and delete them or its no need for that and its all ok now as i just moved the original framework back ?!
Click to expand...
Click to collapse
Sorry if I didn't make it clear.
They are not flashed. Hence you can't find them. So no need to worry.
Pvy.
Sent from my TEAM Powered Arc S
pvyParts said:
Sorry if I didn't make it clear.
They are not flashed. Hence you can't find them. So no need to worry.
Pvy.
Sent from my TEAM Powered Arc S
Click to expand...
Click to collapse
Awesome thank you! I understood they just help in probably installing that particular app giving its own correct signatures and file manifests w.e so it gets installed via cwm and nothing more . And as i just backed up my original framework-res.apk to framework folder so its ofcourse all back to normal, though my phone is fine always as it was, I just had this doubt in my mind and m glad it got cleared thanks again!!
Cheers!!
Where did you place the Meta-INF files? I know system files goto system/framework but I cant find where Meta-INF files go. I'm using a root file manager.
chipdawg said:
Where did you place the Meta-INF files? I know system files goto system/framework but I cant find where Meta-INF files go. I'm using a root file manager.
Click to expand...
Click to collapse
You are not correct about the system files. And I recommend you do some more reading on how these zips work.
Metainf is FOR THE ZIP. And has been prety well explained above.
Pvy
Sent from my GT-P5110 using Tapatalk 2
So I have a bunch apks that I add to every rom that I flash.... I was wondering if someone could lend some knowledge. I want to put them together in a flashable zip u can use in recovery, but do I just zip them in winzip and done? Or are there other steps I need to take? Should I use something besides winzip? Thanks in advance.
jwitt418 said:
So I have a bunch apks that I add to every rom that I flash.... I was wondering if someone could lend some knowledge. I want to put them together in a flashable zip u can use in recovery, but do I just zip them in winzip and done? Or are there other steps I need to take? Should I use something besides winzip? Thanks in advance.
Click to expand...
Click to collapse
You will need to make a folder called update,inside make a folder called META-INF,in the META make folders called com/google/android,so the structure looks like this... META-INF/com/google/android,this thread will tell you how to make an updater script... http://forum.xda-developers.com/showthread.php?t=641223 ,after you've created an updater and update scripts,after that in the same area you made the META folder,make a folder called system,inside system make one called apps,then put your apps in there and add the symlinks pointing to the apps,which is in the same thread as above.After you have finished that,right click the update folder and add to archive,in compression settings use "store" method and type of compression,use zip,then zip it up and theres your flashable update script.
jwitt418 said:
So I have a bunch apks that I add to every rom that I flash.... I was wondering if someone could lend some knowledge. I want to put them together in a flashable zip u can use in recovery, but do I just zip them in winzip and done? Or are there other steps I need to take? Should I use something besides winzip? Thanks in advance.
Click to expand...
Click to collapse
Or u could just find a flashable zip of a mod or apk in the themes and apk section for evo and then just add ur apps to it. Should work as long as updater script mounts and unmounts /system.
U can use 7zip or winrar to open the zip up. Open up system folder then app folder. Add ur apks and delete the things the script originally added unless u want them. Easy as that.
Name of flashable zip doesn't matter btw
XDA Moderator
so i just downloaded this rom http://forum.xda-developers.com/showthread.php?t=2139152 in parts ..
Should i put them all in one zip or extract them first then put them in a zip or something else?
but-but said:
so i just downloaded this rom http://forum.xda-developers.com/showthread.php?t=2139152 in parts ..
Should i put them all in one zip or extract them first then put them in a zip or something else?
Click to expand...
Click to collapse
Just flash the rom and Gapps.
Sent from my Sony Xperia™ sola using XDA Premium App
Ben Ling said:
Just flash the rom and Gapps.
Sent from my Sony Xperia™ sola using XDA Premium App
Click to expand...
Click to collapse
Um.. I downloaded the Rom in parts ( 8 different zips) now how do I convert them into a neat single zip for flashing? I can't open the parts with 7 zip so do I now just put all the parts in a single zip and flash or extract the parts somehow ( I don't know how) and put them in a zip and then flash or it doesn't really matter???
but-but said:
Um.. I downloaded the Rom in parts ( 8 different zips) now how do I convert them into a neat single zip for flashing? I can't open the parts with 7 zip so do I now just put all the parts in a single zip and flash or extract the parts somehow ( I don't know how) and put them in a zip and then flash or it doesn't really matter???
Click to expand...
Click to collapse
Hello but-but
I'd really like to help you out with this. I don't use MIUI in particular but still..
Possible And Only Fix.
1. Delete the Last Digits of The File.
Say, miui_LT26i_3.2.8_4.zip.001 ----> miui_LT26i_3.2.8_4.zip
2. Similarly Extract All The Files, To A Single Folder.
3 Make An Archive (Zip) For The Folder.
4. Load Both The Gapps and Archived Folder To The Phone SD Card
5. Flash Both Zips.
Advice : Any problems in Extracting may Result In Soft Brick.
I'd really recommend you to download only the single zip file.
PS : If I Helped I'd Be Really Happy if You Press Thanks.
Quote me if you need more help or suggestions.