how can i install . help me my brothers - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

my rom is stock odex i used universal deodexer and deodexed my.system/app and system/framework folders . now my question.
how can i install that app and framework folders to my phone ??(i tried replace with root explorer but it does not .(
how can i make thats to a flashable zip?

but
my problem is not that . i can make a flashable zip . its working fine but after i flashed old .odex files doesnt delete. how can i add it to meta inf for when flashing delete app and replace new app and same for framework

No need to create any kind of meta inf you just need to find any flashable zip may be of some kind of theme or update package of your rom if available and just edid it using zarchiver(android) or winrar(windows) simply delete eveything inside the system folder inside the zip except the app folder then delete everything inside app folder then put the apk you want to replace in the app folder. And you are done. Its recommended to sign the zip using apktool(windows) or zipsigner(android) but you can skip this step. Thats about making a flashable zip.
But as far as i know you need to have deodnexed rom to make any changes to system.
Anyways this thread should have been posted in q&a section.

Related

HELP! cooking flashable zip into rom!!!

I am trying to take a keyboard that somebody made into a flashable .zip file, and implement it into a rom that I am working on. What I did was flash the .zip through cwm, then found the apk, backed it up, and then placed it in the /system/app folder on the new rom. The problem is as soon as the rom boots, I get a force close error. So I took a look at the .zip file, there are two folders meta-inf and system. inside system there is an app folder and lib folder. My question is can I just take the apk and lib file out and place them directly into /system/app and system/lib on the new rom? and if so do i need to do anything with the META-INF folder? any ideas would be GREATLY appreciated!!!
thanks
the META-INF folder may have some script that does some other manipulation of the filesystem or runs helper apps during installation. See what's in META-INF/com/google/android/update-script.

[Q] How to create an flashable .zip file

Hello all,
I am looking for a good comprehensive guide to creating my own .zip files to flash certain changes I like to make when flashing a rom or just adding files.
Now I have found a few good guides here on XDA but they seem to no longer apply as the update script needs to be in edify and not amend. This is the issue I am having so if anyone can point me to a walk through that explains this type of thing I would appreciate it.
Anyone?
lol, i dont think developers/people-with-knowledge would go into a Q&A sub-forum .
I'm neither on of them, however here is my would-be-successful attempt p) :
1- Make all your modifications and finalize them, the root folder must be /system/ .
2- use apktool to recompile as an apk (apktool b system)
3- sign that .apk.
4- rename extension to zip and violla
theoretically, it should work.
Not shure if this can help you, but i created a zip (original Script is from dungphp) to replace files on my device from CWM:
http://forum.xda-developers.com/showthread.php?t=1241244

[Q] CWM backup-->flashable rom?

I'm a new developer and have applied all my tweaks and edits via root explorer so far. is there a way to change a CWM backup into a flashable rom file for other users to flash? I searched around a bit, but couldn't seem to find anything about it.
Goto this thread here
follow all the setup to install cygwin & kitchen
once it's all setup you can plug your phone in and create a rom
follow the guide (second method) for creating the rom system files by extracting the system folders from your phone (rom you are using)
you can then turn it into a flashable rom zip
I think you just basically extract the CWM backup, then repackage them in 1 zip file (except for the androidsecure backup).
9steele9 said:
I'm a new developer and have applied all my tweaks and edits via root explorer so far. is there a way to change a CWM backup into a flashable rom file for other users to flash? I searched around a bit, but couldn't seem to find anything about it.
Click to expand...
Click to collapse
YOU CAN USE THE CWM BACKUP IN KITCHEN YO MAKE A CUSTOM ROM.BUT YOU CAN'T ABLE TO USE THE BACKUP FILE DIRECTLY AS A CUSTOM ROM.
OTHER HAND YOU CAN MAKE ALSO THIS BACKUP AS A DEODEXED STOCK ROM BY DEODEXING THIS BACKUP FILES.
YOU CAN FIND KICHEN GUIDE HERE-http://forum.xda-developers.com/showthread.php?t=1801690
YOU CAN FIND DEODEXING GUIDE HERE-http://forum.xda-developers.com/showthread.php?t=2230337
PRESS THANKS IF I HAVE A BIT SUCCESS TO HELPING YOU.....:thumbsup:
Hmm thats how i make roms that i dont post here though....
In tthe cwm backup u have system.rfs.tar
Extract it using 7zip
U get system.img or u might get a system folder....
Extract the img file using Magic Iso
Open magic iso
In menu..
File>open
Select ur system.img
On the left side pane right click on the disk icon and click extract.select ur destination
Once the files are all extracted copy all of them in a folder named "system"
Now get a meta-inf folder from a custom rom and zip
Meta-Inf and system folder together
U have ur rom...
Ill create a video tutorial for this tomorrow as many people ask this question in different threads of devices....
Sent from my GT-S5360 using xda app-developers app

Creating a Flashable zip problem

Hi I created a bootanimation and want to make it flashable. I followed tutorials from the net and xda. I got two files META-INF and system.
I put my bootanimation.zip in system/media. That's all. I didn't touch META-INF .
After flashing the zip in cwm, it says Installation aborted . Need Help please...
thats because the flashable zip wasnt for your phone
status 0 - wrong update binary
status 6 - wrong update script
here is my template for you
simply download it
open it in winrar (or if using phone just unzip everything)
open the system foler
you will notice a framework folder that is currently empty
you can leave this folder as it is
just create folders to where you want to flash the file to
for example your bootanimation.zip create the following
in the system folder create a folder called media
in the media folder place your bootanimation.zip
the same is true for any other files you want to flash
if you want to flash a file to system/framework just put a file in that folder
if you want to flash a file to system/app just create a folder called app in the system folder and put what you want to flash there
if on winrar you just have to open the zip and right click and create a folder - no need to unzip everything
if on phone and you have unzipped everything just zip everything back up when done
flashable zip template can be download from here
if you are using stock rom you need to enable custom boot animations first using the custom boot enabler zip
(if you already have a custom boot animation and bootanimation.zip working in a custom rom then you dont need to do this)
Ovafloa_X said:
Hi I created a bootanimation and want to make it flashable. I followed tutorials from the net and xda. I got two files META-INF and system.
I put my bootanimation.zip in system/media. That's all. I didn't touch META-INF .
After flashing the zip in cwm, it says Installation aborted . Need Help please...
Click to expand...
Click to collapse
If just a bootanimanion, push using root browser only
Or using a another flashable bootanimation file and the replace the bootanimation.zip with yours
I attch it . Credits to its maker
works perfectly! thanks

help me how to install

my rom is stock odex i used universal deodexer and deodexed my.system/app and system/framework folders in my pc . now my question.how can i install that app and framework folders to my phone ??(i tried replace with root explorer but it does not .(how can i make thats to a flashable zip?
but
my problem is not that . i can make a flashable zip . its working fine but after i flashed old .odex files doesnt delete. how can i add it to meta inf for when flashing delete app and replace new app and same for framework
You just need to put in a simple delete line into the update script
for example
Code:
delete("/system/app/Vending.apk");
will delete the Vending.apk from the folder system/app
remember if you are manually pushing files with a root browser you need root permissions and you need to set the correct file permissions - for most apps in the app folder it will be rw-r-r
thnx
thanx i learned if i want to delete folde i will use delete_recursive
help
look .
delete(system app systemui.odex
this is working succesfully but after i flashed my zip system ui is lost . it doesnt show . i looked system app its deodexed permissions is rw--r-r its true but doesnt show . what's can i do ?
denizarca said:
look .
delete(system app systemui.odex
this is working succesfully but after i flashed my zip system ui is lost . it doesnt show . i looked system app its deodexed permissions is rw--r-r its true but doesnt show . what's can i do ?
Click to expand...
Click to collapse
most likely if the status bar just doesn't show but does not display a force closed message its because the SystemUI.apk is not correctly signed
as long as the file name is correct and it is correctly compiled with no errors the only thing left is the signing
You can sign an apk easily with zipsigner (playstore)
just copy the apk to any folder on your sd card
start zip signer
select your apk as the input
select the name you want to call it for the output (make it different from the input - you can change the name later)
select platform key as the key you wish to sign (this is for system apps for user apps use a test key)
sign the apk
once done the apk will be outputted as a zip file
change the name of this zip to the name of your apk and don't forget to change the .zip extension back to .apk
put in a flashable and flash in cwm with system mounted
you can check any errors with the SystemUI.apk by doing a logcat via adb as the phone is starting up
By searching the logcat for SystemUI you will be able to see any errors in it and why its not starting - eg Signature mismatch skipping loading

Categories

Resources