Hi All,
Can anyone advise whether the following should work with Doc's JS8 and CWM recovery?
http://forum.xda-developers.com/showthread.php?p=8674580#post8674580
Rather than follow all the instructions, I just used the powermenu_final.zip at the end of the post and tried to flash the zip but it just sits there when flashing.
I'm not sure if it's me or the zip. If I knew it would work, I have no problems if I'll have to do it manually, but if the zip file provided in the post doesn't work it doesn't instill a lot of confidence.
Essentially, I want to learn how to do it so I can create my own update.zip containing other things as well.
Ultimately, I'd like to use the UOT Kitchen to get myself a battery mod, then add the changes to make an extended menu, and then finally add a few wallpapers, apk's etc. Then package it all up as an update.zip and flash it all.
If anyone can recommend a good guide, or advise whether the above post *should* work on my Galaxy S it would be appreciated.
Thanks
gleff1 said:
Hi All,
Can anyone advise whether the following should work with Doc's JS8 and CWM recovery?
http://forum.xda-developers.com/showthread.php?p=8674580#post8674580
Rather than follow all the instructions, I just used the powermenu_final.zip at the end of the post and tried to flash the zip but it just sits there when flashing.
I'm not sure if it's me or the zip. If I knew it would work, I have no problems if I'll have to do it manually, but if the zip file provided in the post doesn't work it doesn't instill a lot of confidence.
Click to expand...
Click to collapse
Yes, if you follow the instructions this guide still works.
But for JS8 you have to change the ressource ids to some unused values.
The update file you tried doesn't work because JS8 uses other resource ids than the one the update was built for. I'm sure you'll understand this after decompiling the files.
gleff1, I have successfully made the menu for JS* for this statement, but with minor amendments.
To create update.zip use it.
Try my update.zip, should work on all JS*:
MCOGW said:
Yes, if you follow the instructions this guide still works.
But for JS8 you have to change the ressource ids to some unused values.
The update file you tried doesn't work because JS8 uses other resource ids than the one the update was built for. I'm sure you'll understand this after decompiling the files.
Click to expand...
Click to collapse
Ok thanks.. I don't understand where to get the resource id's yet but i'll play around tomorrow night after work and decompile the files and see if it makes more sense then.
Incidently, do I just grab the files that need decompiling from the phone, or some other theme? Eg. Are they all in the system folder on the phone itself?
Lar3s said:
gleff1, I have successfully made the menu for JS* for this statement, but with minor amendments.
To create update.zip use it.
Try my update.zip, should work on all JS*:
Click to expand...
Click to collapse
Awesome... thanks for that.. i'll have a look.
Edit: That worked great.. So that I can learn how to do it myself i'll decompile your working one and compare it to the guide. This should be a fun weekend learning this stuff.
Thanks heaps guys. Makes a lot of sense now. I'll have a play later on.
gleff1, use for jar apktool. To avoid typing commands manually, you can use ready-made set of scripts (author sk0t from 4pda.ru; inside the archive is a readme, though in Russian):
hi,
well i've made a custom rom but i need to copy a file to /data/system which is the appwidget.xml
First i try to use the "simple" copy script as for application.
But it breaks the boot of my sgs.
I think i need to make some permissions on the updater script but i don't know which numbers to put in.
Can you help me or have a better solution.
Thanks in advance.
Did anyone has tried the dsixda Android Kitchen to make a custom rom for OB ? Is it working ?
http://forum.xda-developers.com/showthread.php?t=633246
or just give me a link to very helpful site about how to make custom rom for OB
For starters, yes it works. but nothing compares as to compiling and building from source (Linux).
What you need is a mere system dump or backup from CWM.
That backup will be saved in your CWM folder in SD
Grab the boot.img & system.ext3.tar
unpack the .tar with a zip/RAR propgram
grab a base upater script from the many ROMs around here
Now for a start:
your base ROM like Zeus etc.
Delete the system folder and boot.img from that zip.
Replace files.
Use dsixda kitchen via cygwin (windows)
Now do as you please... it can unpack boot.img and add features like init.d etc.
Adding apps:
Apps can be added together with som libs (system/lib). Example: Terminal Emulator. the lib is some "jackpal" or something. .
When you download an app, apk will be saved in data/app in your phone. The lib or added files will be saved in data/data/(app name folder)/lib. Grab the apk and insert in system/app (kitchen's working folder). Grab the lib and insert it in system/lib (kitchen's working folder).
gabwerkz said:
For starters, yes it works. but nothing compares as to compiling and building from source (Linux).
What you need is a mere system dump or backup from CWM.
That backup will be saved in your CWM folder in SD
Grab the boot.img & system.ext3.tar
unpack the .tar with a zip/RAR propgram
grab a base upater script from the many ROMs around here
Now for a start:
your base ROM like Zeus etc.
Delete the system folder and boot.img from that zip.
Replace files.
Use dsixda kitchen via cygwin (windows)
Now do as you please... it can unpack boot.img and add features like init.d etc.
Adding apps:
Apps can be added together with som libs (system/lib). Example: Terminal Emulator. the lib is some "jackpal" or something. .
When you download an app, apk will be saved in data/app in your phone. The lib or added files will be saved in data/data/(app name folder)/lib. Grab the apk and insert in system/app (kitchen's working folder). Grab the lib and insert it in system/lib (kitchen's working folder).
Click to expand...
Click to collapse
many thanks gabwerkz. I had been searching ebook The Complete Idiot's Guides to custom rom, but I think the book has not published yet.
I only once tried to cook with kitchen, but that's waaaaay back and there I simply had no clue, of what I am doing and those days, the cust ROM I made, didnt work, but I simply randomly applied mods/tweaks and also had no clue of how things like updater-script work, but now I do and maybe as soon as I got some time again (in about 2 months ) I'll give it another shot and also read a lot about deving on my own and all the stuff related to it. Then maybe I'll be able to help all the cookers here out in a better way, cause until now, I only got the basics
You can start with simply things, like extracting the files with a packer, remove LG bloatware, add files/patches, you can find in dev section, add apps you like and think others might like as well, change lockscreen, launcher, keyboard,...
Remember to always do this step by step and make a changelog for yourself, so you know, where you might have made a mistake (also important for others to be able to help you). Then repack your ROM, sign and test it, if it works properly, use kitchen, to zipaligne, deodex, change filesystem,... And as soon as you are satisfied, post it/PM the good ones in here, to test it and ask for opinions, what you might change next. Custom kernels are always cool, cause you can change way more, like governors, iosched,... But that will take more time to dev and a lot more time to test for errors
Hope this helps you out a bit
N00BY0815 said:
I only once tried to cook with kitchen, but that's waaaaay back and there I simply had no clue, of what I am doing and those days, the cust ROM I made, didnt work, but I simply randomly applied mods/tweaks and also had no clue of how things like updater-script work, but now I do and maybe as soon as I got some time again (in about 2 months ) I'll give it another shot and also read a lot about deving on my own and all the stuff related to it. Then maybe I'll be able to help all the cookers here out in a better way, cause until now, I only got the basics
You can start with simply things, like extracting the files with a packer, remove LG bloatware, add files/patches, you can find in dev section, add apps you like and think others might like as well, change lockscreen, launcher, keyboard,...
Remember to always do this step by step and make a changelog for yourself, so you know, where you might have made a mistake (also important for others to be able to help you). Then repack your ROM, sign and test it, if it works properly, use kitchen, to zipaligne, deodex, change filesystem,... And as soon as you are satisfied, post it/PM the good ones in here, to test it and ask for opinions, what you might change next. Custom kernels are always cool, cause you can change way more, like governors, iosched,... But that will take more time to dev and a lot more time to test for errors
Hope this helps you out a bit
Click to expand...
Click to collapse
Your post help me a lot... thanks... I will try what you told me todo...
And If your rom need a bootanimation just PM me right...
Hi.
I am trying to build a custom rom with base as stock rom(XXLT5).
I went through some tutorials on XDA, but they were only some basic stuff.
I had lot of questions in mind,and after searching for hours didn't get some help,so posted so maybe some one can help.
I flashed my own rom with some build.prop tweaks and changed wallpaper in framework-res.apk.
But it flashed with no problems.
1] I had lost root but I used Philz kernel(copied all stuff into respective folder)
2]I don't get about the META-INF Folder because I tried to put some s4 mods such as sec.settings.apk,s4 status bar,they also had META-INF but I didn't know what to do with it. I copied the apk of sec.settings into preload /syslink/system/app.
3]When the rom started default-wallpaper didn't changed and any mods didn't applied,so don't know what to do.
4]Will this work if I unzipped from md5 file(stock rom) and then Linux reader I extracted all files and modify it?
because in tutorials the mention to extract from rom using terminal emulator
Can please any-one say what should I do,and where to put META_INF folder,because all apks aur mods has META_INF folder and will replace every time I put a mod in it.
Please Help Guys.....:crying:
Pardon me..
I was wondering to have a fresh flashable zip from stock FTF by trying to put and or remove some app like supersu or theme ..
But during flash it ended up with various errors like >> symlink error / perm error <<
On display the android bot being really sick by holding an error on it's chest
I found a little discussion about the META-INF, but I believe it's a problem occurred by META-INF and or updater script.
I was using various meta folder extracting from various custom rom.
Failed & failed.
It would be great if some clarification would come from expert and or experienced people.
Advanced thanks.
zYuga said:
Pardon me..
I was wondering to have a fresh flashable zip from stock FTF by trying to put and or remove some app like supersu or theme ..
But during flash it ended up with various errors like >> symlink error / perm error <<
On display the android bot being really sick by holding an error on it's chest
I found a little discussion about the META-INF, but I believe it's a problem occurred by META-INF and or updater script.
I was using various meta folder extracting from various custom rom.
Failed & failed.
It would be great if some clarification would come from expert and or experienced people.
Advanced thanks.
Click to expand...
Click to collapse
Editing update-script would require a minimal knowledge on Linux terminal and Linux file system. About update-binary, you can copy from any other Xperia SP's flashable zip. If you were trying to flash the ftf through cwm or, a zip through flashtool, it will not work! Please attempt this tutorial instead if you wish to create a stock ROM zip.
If you really want to get advanced like you have mentioned, use this guide as a reference. Unfortunately I don't use that one, so I might not be able to help you with that.