[Q]How to create a Updater-Script for 2.1stockrom(latest) - Sony Ericsson XPERIA X10 Mini

hi friends, can you teach me how to create a updater-script for stock rom(2.1) of x10 mini... thanks
PS: Im newbie on ROM BUILDING...

Renz29 said:
hi friends, can you teach me how to create a updater-script for stock rom(2.1) of x10 mini... thanks
PS: Im newbie on ROM BUILDING...
Click to expand...
Click to collapse
I think you can use the same commands as on newer kernels, because xrecovery supports update-script as well as the newer formatting known as our common updater-script.
Basicly, all you need to know is the 'mount' command, the 'package_extract' command, the 'symlink' command , the 'ui_print' command and the 'set_perm' command.
PS.: You can always ask me with that sort of question, if you want .

Kilroy. said:
I think you can use the same commands as on newer kernels, because xrecovery supports update-script as well as the newer formatting known as our common updater-script.
Basicly, all you need to know is the 'mount' command, the 'package_extract' command, the 'symlink' command , the 'ui_print' command and the 'set_perm' command.
PS.: You can always ask me with that sort of question, if you want .
Click to expand...
Click to collapse
hi bro, what script i will create, amend(update) or edify(updater)???

Renz29 said:
hi bro, what script i will create, amend(update) or edify(updater)???
Click to expand...
Click to collapse
You using dxixdas droid-kitchen (just asking)?
With xrecovery, it really doesn't matter, because it supports both formats. Personally, I think the edify formatting is easier to write, and it supports more recovery versions. The amend formatting only supports older recovery versions, it won't work on newer ones (at the moment, cwm 5.X is the newest recovery for our device, I think), and it is more difficult to write.
Shall I maybe release a complete guide in the dev section(s)?
Sent from my U20i using xda app-developers app

Kilroy. said:
You using dxixdas droid-kitchen (just asking)?
With xrecovery, it really doesn't matter, because it supports both formats. Personally, I think the edify formatting is easier to write, and it supports more recovery versions. The amend formatting only supports older recovery versions, it won't work on newer ones (at the moment, cwm 5.X is the newest recovery for our device, I think), and it is more difficult to write.
Shall I maybe release a complete guide in the dev section(s)?
Sent from my U20i using xda app-developers app
Click to expand...
Click to collapse
no im not using, im using the manual way...
thanks for info..

Related

Rom making 101

can someone please post basics about making roms? I want to make my own you see
1) Google
2) Google
3) Google
Sent from my GT-S5830 using XDA App
I used android kitchen but when i go to use cwm to do update.zip it return error: assert error write boot.img (status: 7).
I don't know why. Help?
LoKKeR said:
I used android kitchen but when i go to use cwm to do update.zip it return error: assert error write boot.img (status: 7).
I don't know why. Help?
Click to expand...
Click to collapse
Boot.img should not exceed 4MB
Sent from my GT-S5830 using XDA App
But android kitchen modify the boot.img so what i should do?
There isn't a guide to do a rom with our galaxy? I think create it is a good idea.
hey I searched google but is it really necessary for my PC to bee linux or mac?
LoKKeR said:
But android kitchen modify the boot.img so what i should do?
There isn't a guide to do a rom with our galaxy? I think create it is a good idea.
Click to expand...
Click to collapse
does android kitchen support sga?

[HELP]Boot.img for mimmi

Anyone I am on my way to start building custom roms dont laugh at me please...
I search of everything to be needed on xda but one last...
I got Kitchen, cygwin,apktool blah blah blah but not boot.img for kitchen
Can anyone upload boot.img for mini pro to be used in kitchen please!!!
Black Plague said:
Anyone I am on my way to start building custom roms dont laugh at me please...
I search of everything to be needed on xda but one last...
I got Kitchen, cygwin,apktool blah blah blah but not boot.img for kitchen
Can anyone upload boot.img for mini pro to be used in kitchen please!!!
Click to expand...
Click to collapse
The X10 mini pro doesn't have a boot.img
x10man
help
x10man said:
The X10 mini pro doesn't have a boot.img
x10man
Click to expand...
Click to collapse
but how to work kitchen say error without it
Black Plague said:
but how to work kitchen say error without it
Click to expand...
Click to collapse
try making an empty file called boot.img? When I used the dsi kitchen I never needed a boot.img so maybe try that
x10man
Advice: For making custom roms you need to understand the structure of Android and know the specifications for drivers and files :fingers-crossed: just because there might be some bugs and you need to know why that happens. Or are you planning on doing ROMs just to modify simple aspects of existing ones?
Also this is the wrong section you should post here.
Daedalus93 said:
Advice: For making custom roms you need to understand the structure of Android and know the specifications for drivers and files :fingers-crossed: just because there might be some bugs and you need to know why that happens. Or are you planning on doing ROMs just to modify simple aspects of existing ones?
Also this is the wrong section you should post here.
Click to expand...
Click to collapse
ok boss

Custom ROMs for ICS on Wave 1 ? If Any ?

Custom ROMs for ICS on Wave 1 ? If Any ? I am not sure how to proceed in this coz my phone doesnt boot in recovery mode
Sent from my Samsung Wave GT-S8500 (ICS 4.0.4) using xda premium
danishprakash said:
Custom ROMs for ICS on Wave 1 ? If Any ? I am not sure how to proceed in this coz my phone doesnt boot in recovery mode
Sent from my Samsung Wave GT-S8500 (ICS 4.0.4) using xda premium
Click to expand...
Click to collapse
No custom rom for the moment. Mike said that he made a recovery mode, let's see what will happen in the next version and if it will be possible at that moment.
Soxix said:
No custom rom for the moment. Mike said that he made a recovery mode, let's see what will happen in the next version and if it will be possible at that moment.
Click to expand...
Click to collapse
In fact, you can mod the current firmware if you know what to do... I activated the software keys on mine (you know, the home, back, applist). You just have to mount the img file, or use adb and you can try to change things.
anghelyi said:
In fact, you can mod the current firmware if you know what to do... I activated the software keys on mine (you know, the home, back, applist). You just have to mount the img file, or use adb and you can try to change things.
Click to expand...
Click to collapse
All are Under ubuntu ? or ..
hero355 said:
All are Under ubuntu ? or ..
Click to expand...
Click to collapse
Mounting the img file needs Linux (you need something like mount -t ext2 -o loop polishblood_Nightlyi1.img ../the_folder_you_created_for_mountpoint) but if you just want to make smaller modifications (eg. replacing one apk, or editing some configfile) adb on Windows is enough. If you use my kernel then you will have write access to /system, too.
As a "proof of concept" I "ported" a firmware from Galaxy S (AOKP). You can experiment with it, just replace the polisblood_Nightly1.img (and preferably replace data.img and cache.img with the original ones.)
Here you are:
http://dl.dropbox.com/u/27419363/polishblood_Nightly1.img
hero355 said:
All are Under ubuntu ? or ..
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1702861
WinHex can open and extract files/folders from *.img ...
https://dms.ospserver.net/v1/device...?pkgID=FW-20120626-14658&service=fumo&wrkID=W
To build... not tested yet... But I think also more Windows Tools exists...
But for starting research WinHex is enough.
Best Regards
Thanks For your Replies
I have mounted polishblood_Nightly1.img using "sudo mount -o loop polishblood_Nightly1.img ../android"
and added some .apk files to the app folder....now how to unmount..???
umount ../android
i have edited polishblood_Nightly1.img .....thx u guys:good:
now some1 plz help me with kernel???
how to edit zImage????
does that need any tools????
Nitesh19 said:
i have edited polishblood_Nightly1.img .....thx u guys:good:
now some1 plz help me with kernel???
how to edit zImage????
does that need any tools????
Click to expand...
Click to collapse
There are no such tools... You can find scripts to extract the initramfs but that's all. You have to compile your kernel to make real changes.
anghelyi said:
There are no such tools... You can find scripts to extract the initramfs but that's all. You have to compile your kernel to make real changes.
Click to expand...
Click to collapse
is there any tut for this???
where to find scripts???
all under ubuntu????
thx :good:
anghelyi said:
In fact, you can mod the current firmware if you know what to do... I activated the software keys on mine (you know, the home, back, applist). You just have to mount the img file, or use adb and you can try to change things.
Click to expand...
Click to collapse
Could you tell me how you did that?

Kernel & recovery packing

Hello,
I would like to understand a bit more about samsung partitioning scheme.
In particular I would like to know how kernel image and recovery (cwm) are packed togheter.
Suppose I cross compile my custom kernel image, then how can I add cwm to it ?
Thank you a lot !
Sent from my GT-I9100 using xda app-developers app
Well, despite I'm still interested in this question, maybe I can reformulate it more generally..
Can someone please tell me about the "theory" and provide me information about image format?
I can try to find out how to produce such image in practice by myself if someone could kindly point me to some documentation...
Thanks you
andreamrl said:
Hello,
I would like to understand a bit more about samsung partitioning scheme.
In particular I would like to know how kernel image and recovery (cwm) are packed togheter.
Suppose I cross compile my custom kernel image, then how can I add cwm to it ?
Thank you a lot !
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse

Stock ROM modification.. Help please!!!!

Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
kagouro said:
Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
explain more
Help Building a CUSTOM(from STOCK ROM)
Newbie here---
- I have downloaded the HTC stock RUU for my device.
- I used Android Kitchen cygwin to extract the files, setup the working folder.
- Added root permissions,BusyBox
- Built the rom from working folder.
Wanted to test whether this works or not... But Phone Got stuck on HTC logo .. Not even BOOTANIMATION.
What did i miss or DO wrong here??
Where in these steps worked flawlessly when i took a custom rom? What else should be done here?? Help would be Appreciated!!!
Learn More About Kitchen. Add Root, Busybox, Put apk files in System/aps etc. What do you want to do?
cheqolada said:
Learn More About Kitchen. Add Root, Busybox, Put apk files in System/aps etc. What do you want to do?
Click to expand...
Click to collapse
I'm Sorry, The ROM i built from the working folder did not boot. My question was what went wrong?
kagouro said:
Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Maybe this is what you search:
http://forum.xda-developers.com/showthread.php?t=1976412
yashwantpiduru said:
I'm Sorry, The ROM i built from the working folder did not boot. My question was what went wrong?
Click to expand...
Click to collapse
My Answer is for kagouro - Becouse i Don't see your post when I write.
If Your Phone is dedected in adb you can use logcat (adb logcat in windows cmd) if phone don't dedected in adb - flash recovery via fastboot, join in recovery , instal working rom and found bad files in rom (try add modyfication singly - first root, second busybox etc - in this metod you can see whad mod don't work - probably stupid method but work :cyclops
yashwantpiduru said:
Newbie here---
- I have downloaded the HTC stock RUU for my device.
- I used Android Kitchen cygwin to extract the files, setup the working folder.
- Added root permissions,BusyBox
- Built the rom from working folder.
Wanted to test whether this works or not... But Phone Got stuck on HTC logo .. Not even BOOTANIMATION.
What did i miss or DO wrong here??
Where in these steps worked flawlessly when i took a custom rom? What else should be done here?? Help would be Appreciated!!!
Click to expand...
Click to collapse
Kitchen will replace certain necessary parts of your ROM if it isn't compatible with the kitchen, it puts them back when you compile. When you compiled your ROM did you take the guided option? Also, and probably the first thing I should have asked, is your phone compatible with kitchen?
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
Kitchen will replace certain necessary parts of your ROM if it isn't compatible with the kitchen, it puts them back when you compile. When you compiled your ROM did you take the guided option? Also, and probably the first thing I should have asked, is your phone compatible with kitchen?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
My phone is compatible with the kitchen.
Yeah I took the guided step! Still no luck
sent from my oc'd incS
yashwantpiduru said:
My phone is compatible with the kitchen.
Yeah I took the guided step! Still no luck
sent from my oc'd incS
Click to expand...
Click to collapse
OK, just for giggles try this, take the meta-inf folder from a rom you know works and using 7zip replace the one in your rom. Let me know if that helped at all:beer:
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
OK, just for giggles try this, take the meta-inf folder from a rom you know works and using 7zip replace the one in your rom. Let me know if that helped at all:beer:
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Sure! its late! I will try and let you know asap!
P.S: actually I tried this as well adding aroma installer to the rom! That had some ext3 error ! Dont have a clue what's that?
sent from my oc'd incS
yashwantpiduru said:
Sure! its late! I will try and let you know asap!
P.S: actually I tried this as well adding aroma installer to the rom! That had some ext3 error ! Dont have a clue what's that?
sent from my oc'd incS
Click to expand...
Click to collapse
Ext3 is a mount point, I'm not sure what it would be specific to your device, but it tells me there's an error in your updater script
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
Ext3 is a mount point, I'm not sure what it would be specific to your device, but it tells me there's an error in your updater script
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thanks for the heads up... I am gonna check the updater script.
sent from my oc'd incS

Categories

Resources