hi all i've been trying to deodex my stock 28 rom i have deodexed system/app & system/framework but i cant use adb to push them into my rom so i tried to make a flashable zip to flash them in cwm. but ive never made one before i have the file structure right i think but cant get the update-script right could some one please tell me where ive gone wrong or write it for me. if it gets done then it will also be an easy way for other users to deodex aswell. heres my atempt: https://dl.dropbox.com/u/90938124/deodex_xj-signed.zip
Edit: i tried to learn from here: http://forum.xda-developers.com/showthread.php?t=732957
Related
Does anyone know hoe to make themes for gingerbread in UOT Kitchen?
When it comes to "file upload", I dont know what to do.
Please help.
If you have a gingerbread ROM then you have to unzip the ROM file you flashed and go into the folders (/system/framework and /system/app) To find the 2 files it requires.
If its froyo then only the frameworkres.apk is needed
The files are found within the zip file of the ROM you downloaded
Willievi said:
If you have a gingerbread ROM then you have to unzip the ROM file you flashed and go into the folders (/system/framework and /system/app) To find the 2 files it requires.
If its froyo then only the frameworkres.apk is needed
The files are found within the zip file of the ROM you downloaded
Click to expand...
Click to collapse
Thanks. That seams more complicated then I thought.
Its actually really easy. What you need to do is get the rom you've installed and if its gingerbread, get the framework-res.apk and the systemui.apk and upload those files.
Then once you've got the zip file from the kitchen, you will also need to get the update binary file from the rom too and replace the one in the zip from the kitchen and then put it on the sdcard and install from CWM.
It may sound a little daunting, but once you've done it once or twice it will become second nature
Hi there, i read some thread about this, but really i dont understand what to do for make a flasheable zip...
Can someone take a moment for this request...
Thnx in advanced for read this
blackgf said:
Hi there, i read some thread about this, but really i dont understand what to do for make a flasheable zip...
Can someone take a moment for this request...
Thnx in advanced for read this
Click to expand...
Click to collapse
wassup, well i think your talking about different things. The apks can be installed any time in the system. the files for a flashable system in recovery mode are system.img.
Now some apks can be intalled by comand promp pushing by code but i really dont remember the exact code lol. But i think is over here in the xoom forum.
now some apks in zip mode just need to be stored no zipped, instead of check the option "compress" look for the one named "Store" that makes a file zip but the files are inside uncompresed, that why most of people can't install apks at first.
hope this helps in something.
See ya!
I think you are looking at how to make your own flashable zips for CWM.
This link here from MODACO was like the first result in google.:
http://android.modaco.com/topic/344906-how-to-create-a-flashable-zip-for-cwm/
It's a pretty decent guide, and it will allow you to install apk's from CWM if you don't want to install them normally.
not too sure but...
I think there is a new program in the Dev. board called fruitcake maker. Says it backs open boot.img and system.img and rolls it into an update.zip . I don't know if that's what you're really looking for.
intensus said:
wassup, well i think your talking about different things. The apks can be installed any time in the system. the files for a flashable system in recovery mode are system.img.
Now some apks can be intalled by comand promp pushing by code but i really dont remember the exact code lol. But i think is over here in the xoom forum.
now some apks in zip mode just need to be stored no zipped, instead of check the option "compress" look for the one named "Store" that makes a file zip but the files are inside uncompresed, that why most of people can't install apks at first.
hope this helps in something.
See ya!
Click to expand...
Click to collapse
Thnx for your replay, yes, i see the adb commands in some threads but i really want to do my flashable zips for CWM.
Delgoth said:
I think you are looking at how to make your own flashable zips for CWM.
This link here from MODACO was like the first result in google.:
http://android.modaco.com/topic/344906-how-to-create-a-flashable-zip-for-cwm/
It's a pretty decent guide, and it will allow you to install apk's from CWM if you don't want to install them normally.
Click to expand...
Click to collapse
Thnx man this is what i need! i try to search in some threads and forums but i didnt know how to search.
So i am some what of a noob but not an idiot. I have googled and feel that i have turned up with nothing. besides the updater-script what else do i have to change in META-INF folder to make my rom flashable. if someone could help point me in the right way that be great. My zip consists of a data folder, a system folder and a boot.img. i already know how to sign the zip. i just need help with the code to flash it.i keep getting error 6 in cwm
Guyz, Do not ever flash the zip file obtained from UOT kitchen directly to the galaxy r. The Manifest and settings.uot files in the UOT zip file have the wrong configurations ie. not compatible with our phone. The assumed busybox location in the settings and Manifest file is wrong as a result when you flash the zip file it will only delete the original framework-res.apk, systemui.apk and twframework.apk but would not replace them with the modified ones from the UOT zip file. So when you reboot.....---> BOOT LOOP...dead end. I would suggest you to manually push the modified files to their respective locations. I myself ended up into a boot loop yesterday and as luck would have it even my nandroid backup had become corrupt...so had to flash a stock rom through odin..atleast it saved me.
Thanks saurabh.khare for the info.
i've used UOT kitchen many time and i didn't face any problem, when you are flashing the wrong zip file you will have these kind of issues for eg: once i've uploaded the stock ROM framework and flashed it on custom ROM then i faced these kind of issue's..
Yup me too, I've flashed uot-files several times. Never faced such issues.
mj.vikram said:
i've used UOT kitchen many time and i didn't face any problem, when you are flashing the wrong zip file you will have these kind of issues for eg: once i've uploaded the stock ROM framework and flashed it on custom ROM then i faced these kind of issue's..
Click to expand...
Click to collapse
Buddy I'm very much sure that I did nothing wrong. I extracted the files out of a rooted stock ROM(XWKI5) and flashed the cooked zip file over the same rooted Stock ROM through CWM. I have attached the file for you reference...If you could go through and point out where I went wrong I would be very glad
saurabh.khare1000 said:
Guyz, Do not ever flash the zip file obtained from UOT kitchen directly to the galaxy r. The Manifest and settings.uot files in the UOT zip file have the wrong configurations ie. not compatible with our phone. The assumed busybox location in the settings and Manifest file is wrong as a result when you flash the zip file it will only delete the original framework-res.apk, systemui.apk and twframework.apk but would not replace them with the modified ones from the UOT zip file. So when you reboot.....---> BOOT LOOP...dead end. I would suggest you to manually push the modified files to their respective locations. I myself ended up into a boot loop yesterday and as luck would have it even my nandroid backup had become corrupt...so had to flash a stock rom through odin..atleast it saved me.
Click to expand...
Click to collapse
I have flashed files from UOT several times on Galaxy R without any errors(Both Stock Odex and Deodex ones). Not sure why you had issues.
Hi guys, I got this problem in my odexed stock rom, I have this problem in sysui, gallery and calculator.
I downloaded 4.2.2 style sysUI, pushed it in the respective folder by replacing with its stock sysUI.
I rebooted my core, the statusbar was gone, so I deleted 'SystemUI.odex" file, then rebooted it worked!
In the same way, I replaced stock gallery with note3 gallery, and stock SecCalculator2
Luckily note3 gallery worked, but it doesn't support Sim2 so I can't change Sim2's wallpaper or make it same as Sim1's.
In the statusbar, I can't see most notification cuz its completely transparent, and also its a bit laggy.
Calculator never worked
So I wanted to replace these with stock, when I pushed it in system>apps> I noticed that there were no .odex files for .apks
I replaced them with their stock odex files, none of 'em worked, I guess cuz of the odex thing, so I again deleted odex files and rebooted, nothing worked..
Now, I need some developer's advice, plz don't tell me to "Flash Stock Rom via Odin" I can't do it...
Is there any other left way to make them work plz I need help..
You are saying 'in my deodexed rom' and then you said 'deleted. Odex file for systemUI'
How could this be possible?
If you have .Odex files in system/apps folder then your ROM is not odexed.
Deodex it first using xUltimate tool
And yup Don't forget to set permissions = rw--r--r--
M_E_G_A_T_R_O_N said:
You are saying 'in my deodexed rom' and then you said 'deleted. Odex file for systemUI'
How could this be possible?
If you have .Odex files in system/apps folder then your ROM is not odexed.
Deodex it first using xUltimate tool
And yup Don't forget to set permissions = rw--r--r--
Click to expand...
Click to collapse
Sorry bro, huge typo. I meant in my odex rom and yes I set the proper permissions...
Well, it seems to me that you have messed up your phone alot.. Flashing stock rom via odin would've been the correct solution to this problem. It's not as difficult as you think, and you're capable of doing it. Follow thecoreguy's tutorial for that.
CoreGuy said:
Sorry bro, huge typo. I meant in my odex rom and yes I set the proper permissions...
Click to expand...
Click to collapse
Then you have done wrong.
Not every apk can be used by just deleting the .odex file.
You need to deodex the apps in system/app and system/framework folder then you can easily replace the apks.
1.First restore back to any working backup.
2.Download xUltimate Tool.
3. Run it.
4. Then just run commands with options 1,2,3,4 (You just need to type 1 and then enter, then 2 and then enter, so on upto option 4.)
5. Exit after executing 4th option.
6. Download ADB tool(don't download the complete package, you will get a 1-2MB ADB.exe from the from itself) - Use it to push the deodexed files made from xultimate.
---------- Post added at 09:47 AM ---------- Previous post was at 09:22 AM ----------
If you find it difficult then Better you upload the apks with their respective odex file. I will deodex those apks
M_E_G_A_T_R_O_N said:
Not every apk can be used by just deleting the .odex file.
Click to expand...
Click to collapse
Not even the stock apks? I want to replace the ported/modded apks with the stock ones..
No you can't because almost all stock apks have their respective odex files and every odex file contains resources that are needed to run those apks. Also there exists dependencies in system/framework folder. So just deleting odex file won't work all time.
Finally got it! Special thanks to megatron
Solution if u r screwed in my situation: don't panic, what I found why I cant do it was bcuz my phone has dat "newest" update of samsung ota. So b4 u take someone's apk and odex file always cross check this(image)
And then you are gud to go!!! U wont even need to restart it'll come automatically(my dad has same phone and same updated version as mine so I copied everything needed frm his phone to mine) @AnsleyC at times, the answer should not be "flash stock rom via ODIN" if u have a crappy pc, u can either repair faulty parts(easier and efficient) or buy a new one(bullcrap)
Have fun everyone!
Sent from my GT-I8262 using XDA Premium 4 mobile app