[Q] [HELP] How to create update-script? - Android

Hope I've posted in the correct section
Hi guys,
How to I go about creating an update-script? Over the past few days I'be been cooking my own ROM (it's a port from the Incredible S dumps) and creating the update script is the last step before I test the ROM out and if it works, uploading to the Android Development forum.
I'm using a Nexus One btw.
So, could any assist me?
Thanks,
redbullcat

I tried to make my own the other day, and I found a helpful thread on the commands you can use for it. Ill try and find the link then update here.
Edit: http://forum.xda-developers.com/showthread.php?t=641223
This one is for update-scripts but I imagine there's not that much difference, correct me if I'm wrong. There does seem to be other commands for the same things in updater-script.
Another suggestion is to look at existing updater-scripts and see what makes them tick. They are quite self explanitory, nice and easy to read.
Sent from my Nexus S

You can take an update script from another custom rom, i think.
Don't forget to sign and do nandroid.
Sent from my HTC Hero using XDA App

liorweitz said:
You can take an update script from another custom rom, i think.
Don't forget to sign and do nandroid.
Sent from my HTC Hero using XDA App
Click to expand...
Click to collapse
You could also do this, but depending on what the custom rom changes you may need to change things in there, maybe not.
Sent from my Nexus S

Could Something like this be done as far as getting FlashLite working on my ROM? I've been trying to take it from "FroyoSense-V8.5_2.2" and Add to my "ExEnHeroc_2.2" ROM but Can't get it Working for Some Reason? Do you Guys think a Script or whatever is what I'm Missing??? Please Help!! T.I.A.!!
*Sent on My*
Fast as its Ever Been....
"Sprint" Hero.... Running My, *ExEnHeroC* Rom, w/Kifno's Twist, Also The XDA-BLUE.apk!! "Page 10" of My Thread!!
http://forum.xda-developers.com/showthread.php?t=957867
http://www.megaupload.com/?d=WTMLMK6M
http://m.youtube.com/index?desktop_uri=/&gl=US#/profile?user=PMGRANDS

Related

[Q] T-Mobile Vibrant Avatar And Sims 3

I recently switched roms and lost the Avatar launcher and the Sims 3.apk.
I know you can open Avatar through the gallery but that's not as good for showing off.
Can anyone send me a link to download them, or maybe rip them off your device?.
I really miss them.
There are many ways to solve this.
First, is search the forum.
Second, know something about his, download a stock rom and pull it for yourself.
mmelo76 said:
Edited by moderation not conform to the Forum Rules:
Rules said:
2. Member conduct.
2.1 Language: XDA is a worldwide community. As a result what is ‘ok’ to say in your part of the world may not be ok in someone else’s part of the world. Please think about who is reading what you write. Keep in mind that what you think of as acceptable use of language may not be acceptable to others. Conversely, while reading member posts, remember that word you find offensive may not be to the writer. Tolerance is a two way street.
2.3 Flaming: XDA was founded as a group of people sharing information about certain mobile phones. Sharing does not involve virtual yelling (flaming) it does involve working together to solve problems in an environment of mutual respect and understanding. Losing your temper and flaming another member, or group of members, is not acceptable behavior.
2.5 New Members: Treat new members the way you would have liked to have been treated when you were a new member. Provide the new members with guidance, advice and instruction always with respect and courtesy.
2.6 All members are expected to read and adhere to the XDA rules.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
heh, I just wanted to thank you for the links. google search popped this thread up. exactly what I needed
I keep getting an error when I try to install, problem parsing.
ionic7 said:
I keep getting an error when I try to install, problem parsing.
Click to expand...
Click to collapse
You're talking about the avatar.apk right?
do this in ADB
adb push avatar.apk /system/app
briankao1992 said:
You're talking about the avatar.apk right?
do this in ADB
adb push avatar.apk /system/app
Click to expand...
Click to collapse
I am having a similar problem trying to install Avatar. I am running Bionix Final - Sims 3 installs fine, Avatar is a no go. I tried to copy it into /system/app using Root Manager - rebooted and it still does not appear... any ideas?
I don't really know, I'm still a noobie to this android stuff. I just pushed it into system/app/ using ADB, and it worked for me. I'm using fusion 1.1.
zaduma said:
There are many ways to solve this.
First, is search the forum. These kinds of topics are very common. This is approved and everyone loves you for doing this. Guess you didn't.
Second, know something about his, download a stock rom and pull it for yourself. This is approved and everyone loves you for doing this. Guess you didn't.
Third, be lazy. Everyone hates you for this (I speak for myself of course). Guess you did this.
Here you go bum.
Click to expand...
Click to collapse
You go zaduma!
rorycs said:
I am having a similar problem trying to install Avatar. I am running Bionix Final - Sims 3 installs fine, Avatar is a no go. I tried to copy it into /system/app using Root Manager - rebooted and it still does not appear... any ideas?
Click to expand...
Click to collapse
Is that Bionix a Froyo build?
I've posted a modified Avatar.apk that looks for the movie in the proper location on Froyo ROMs. It's tested on Onyx ROM, but should work on any Froyo ROM. It's here if anyone still looking for a workaround about this and the apks posted above don't work for you.
On avatar it says application not installed...? Also when I download it where does it download the file?
Sent from my SGH-T959 using XDA App
I get a file not found when launching the avatar apk. I'm running macnut12. Hmmm, maybe I deleted the movie in the internal sd by mistake. Reverting back from a stock froyo (e.g. Eugene's unofficial froyo) through Odin should fix this issue. Am I correct?
Sent from my GT-I9000 using XDA App
xriderx66 said:
On avatar it says application not installed...? Also when I download it where does it download the file?
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Is that directed at me? Do you mean on your phone? Downloads from the web should end up in a folder called Downloads on the internal sdcard. From there copy with root explorer or adb to the proper location (/system/app)
Sims 3
When I had this issue I had lost the entire Sims 3 game and not just the launcher. The second post only includes the launcher apk, so I will attach both. I am only reattaching the launcher just in case the one posted somehow does not work with the launcher posted prior.
FYI - I pulled these from my stock dump I made before I loaded my first custom ROM, and from what I have heard they will work ONLY on the T-Mobile Samsung Vibrant SGH-T959 and nothing else.
It may not matter, but I think it is best to install them in order. Also since the max upload on apk (for me at least) is 8Mb and the game is 74Mb I am putting them into an archive first and doing an external link, so you will need 7zip or something similar.
http://www.megaupload.com/?d=AUCGXHLK
Sims 3 parsing error on samsung vibrant
Can someone help me. I keep getting a parsing error everytime i open my sims 3 on my samsung vibrant.
how do i install this on my phone... do i save to my memory card are something.
hellobitchdog said:
how do i install this on my phone... do i save to my memory card are something.
Click to expand...
Click to collapse
These are standard APK files. Basically they are Android installer packages. What to do with them or how to install them are basic aspects of using Android. If you plan on using an Android device as anything beyond a basic consumer device you should take the time to understand these basics because putting them here is beyond the scope of this thread.
This should help.
ok so i got it. but now when i use app installer to install the application it says parse error
hellobitchdog said:
ok so i got it. but now when i use app installer to install the application it says parse error
Click to expand...
Click to collapse
So do you have a T-mobile Vibrant SGH-T959? It absolutely will not work if you don't.
Did you install both APK files in the correct order for Sims 3?
Are you using a custom ROM? It may not work in all ROMs. If you are using a AOSPish ROM like Macnut I don't know if it will work, because AOSP is built from the (Android Open Source Project) and not from Samsung/T-mobile firmware.
I have only tested this to work on Bionix and Auxra ROMs myself.
I have a samsung vibrant... I am using android 2.2 i have no custom rom installed.. do i need to rename it are something. what is the order of the sims 3 apk. can u list a step by step instruction list on how to do this..
hellobitchdog said:
I have a samsung vibrant... I am using android 2.2 i have no custom rom installed.. do i need to rename it are something. what is the order of the sims 3 apk. can u list a step by step instruction list on how to do this..
Click to expand...
Click to collapse
Something is wrong with your statement. Maybe I should have been more explicit in my questions. This only works for US T-mobile Vibrants. It is an exclusive item that was (non-exclusive version now available in the market for $4.99 http://www.appbrain.com/app/the-sims™-3/com.eamobile.sims3_na_qwf) only available on US T-mobile Vibrants. This package only restores Avatar and Sims 3 for those who lost it, it does not provide it to those that should not have it.
Here are the problems with your statement:
You can not be using a stock firmware and also be using 2.2. Sorry you have to pick one as T-mobile has not pushed a OTA 2.2 out yet. This is not for Bell customers or other non United States phones.
There is no reason for you to have lost these packages if you are not running a custom ROM as they are not uninstallable.
So as you can see, there is something very fishy with your story. If you are just confused and not lying about your situation then you are running a custom ROM or you would not have lost these. In this case try re-downloading the files, use the link in my first post (Post #13) and you would have to be really confused to not figure out the order to install because they are numbered. If it can not parse these then either your download is corrupt, you are missing one of the two installs, or phone is not a United States SGS-T959.

[Q] Android ROM Development Kitchen.

It has been my lifetime goal to make it as a developer and I know just were to start! But the problem is I can't get my Android Kitchen for Rom Development setup. Is there any noob friendly tutorial or can someone please help me do it over Teamviewer? I worked through several videos, stickies in the forums, and written out tutorials I just need lots of help. If you dont have Teamviewer but would like to help me do it by remote access, please download it and contact me here. Thanks
TeamViewer Download
Post links or ideas on the best way to set up the Rom Kitchen for Android.
---HTC Desire Z
Teamviewer is the best way to do it so you can see what is wrong and where I messed up!
I AM VS4 said:
It has been my lifetime goal to make it as a developer and I know just were to start! But the problem is I can't get my Android Kitchen for Rom Development setup. Is there any noob friendly tutorial or can someone please help me do it over Teamviewer? I worked through several videos, stickies in the forums, and written out tutorials I just need lots of help. If you dont have Teamviewer but would like to help me do it by remote access, please download it and contact me here. Thanks
TeamViewer Download
Post links or ideas on the best way to set up the Rom Kitchen for Android.
---HTC Desire Z
Teamviewer is the best way to do it so you can see what is wrong and where I messed up!
Click to expand...
Click to collapse
Not develop them from scratch but make adjustments to stock and factory !oms. Please help
Sent from my DROIDX using XDA App
okay if you want help then you should give us a bit more info on you're os and what problems your having etc..
I want to make adjustments to Desire Z ROMs. I'm not having any problems.
Teamviewer is the best way to do it so you can see what is wrong and where I messed up!
Click to expand...
Click to collapse
That suggests to me your having problems?, which is why I asked. Are you trying to use dsixda's kitchen?
Sent from my HTC Hero using XDA App
Yeah but Idk how to do it period. Idk what i messed up! When I had virtualbox it would give me an error when i tried to install Ubuntu. Itbsaid kernel.error or something...
I AM VS4 said:
Yeah but Idk how to do it period. Idk what i messed up! When I had virtualbox it would give me an error when i tried to install Ubuntu. Itbsaid kernel.error or something...
Click to expand...
Click to collapse
i've just noticed your posting in the wrong section of the forum, this section is for the htc hero g2 touch. you may get better help in the correct section.

[Question] How do I edit a ROM??

Hi, i'm new to the ROM building/editing stuff. I've read a lot about building ROM's from scratch, but thats not what i'm interested in. I would like to know if, and if i can how, i can edit an existing rom for the Samsung Infuse 4g such as the stock rom and replace stock apps. I want to just edit some of the system/apps like the stock launcher, stock messaging app, etc and replace them with different ones that i already have downloaded. I don't want to edit any of the really deep/internal stuff just the stock applications that are loaded on the phone. Pretty much i want to theme it i guess you could say. Can anyone help me out or point me in the right direction?? Thanks in advanced. I'm looking forward to working with custom ROM's.
bump. can anyone help a guy out??
3 months. Am I posting to the wrong forum?
Sent from my SAMSUNG-SGH-I997 using XDA
How do you flash new rom on your samsung. Is it a .zip file and you flash it via cwm?
Sent from X10
Use this tool forum.xda-developers.com/showthread.php?t=1415600
cjtulowiecki said:
3 months. Am I posting to the wrong forum?
Sent from my SAMSUNG-SGH-I997 using XDA
Click to expand...
Click to collapse
Assuming your file is a .zip file, you could just replace the applications you want (found in the "system/app" folder) on the zip, and sign it afterwards with a tool like AndroidSigner. It works for me
dsixda's kitchen
I haven't used this, but I have seen other ROM modders talk about this application called Kitchen (by dsixda). The link to the post is http://forum.xda-developers.com/showthread.php?t=633246
From the looks of it, it fits your bill.
you have Output the /system and do some work like change themes and other stuff and their is guys in Android Development and Hacking>Android Software Development
First off, thanks for all your replies, I appreciate getting some assistance. To answer most questions, yes I have the rom as a .zip file and flash it with cwm. I will try to replace the apps I want and then look into signing it ( which I don't know a whole lot about, but ill Google it.)
Sent from my SAMSUNG-SGH-I997 using XDA
Yeah so the apps are in /system/apps/ You can replace them easily, but You have to set good permisions
Sent from X10
Use this tool forum.xda-developers.com/showthread.php?t=1415600

My 1st Rom please help me

hi...
I need help for my 1st ROM..
I flow all step in this link:
http://forum.xda-developers.com/showthread.php?t=1272270
and I get the result is success..
then I but the MY "ROM" in sdcard and flashed.. the result is success
the surprise is:
When I reboot my phone and it is come to the " HTC page"
and before go to "animation page" it is the surprise do reboot and reboot and infinite...
what is the problem in my ROM?!
the details for my phone is:
HTC incredible s (VIVO)
s-off
rooted
Hboot 6.13.1002
finally
this is my ROM please help me...
http://dl.dropbox.com/u/80266139/3zooz_stock_3.2.5_v1.0.zip
azoz123456 said:
hi...
I need help for my 1st ROM..
I flow all step in this link:
http://forum.xda-developers.com/showthread.php?t=1272270
and I get the result is success..
then I but the MY "ROM" in sdcard and flashed.. the result is success
the surprise is:
When I reboot my phone and it is come to the " HTC page"
and before go to "animation page" it is the surprise do reboot and reboot and infinite...
what is the problem in my ROM?!
the details for my phone is:
HTC incredible s (VIVO)
s-off
rooted
Hboot 6.13.1002
finally
this is my ROM please help me...
http://dl.dropbox.com/u/80266139/3zooz_stock_3.2.5_v1.0.zip
Click to expand...
Click to collapse
To me,it sounds like its a problem with the "rosie.apk" or launcher,did you do any modifications to either?
no I don't do any thing for this file.<<this is my next step
anther ROM I cooked just do change name and I try to flashed in my phone.. the result is aborted
I don't know what is the problem...
Q: Do I need to get something other than this:
1- JAVA
2- cygwin
?!
it could also be his boot.img...did you put one in from your stock rom or any other rom or just use the one it came with
this choice
just use the one it came with
is there any problem?!
check framework.jar,framework-res.apk,build.prop and boot.img... also should check update-script but most important...is your rom well compiled and signed?
Enviado desde mi MB860 usando Tapatalk 2
I don't do any thing for this "framework.jar,framework-res.apk,build.prop and boot.img"
now I will start again and tell you What is new..
in this section or in my phone section is Better to get a full help?!
thank you..
Is there a program to simulate the phone to test my ROM?
or to know what is the problem?
How I can put beats audio?
sorry for bad English + I am student for IT
Step by step and came to the developer
Can you pull us a logcat and post it here?
I mean, maybe you've included a kernel, or baseband to your build so it can be done on 2 ways:
*well done: ROM works
*not that well: ROM won't work
Aboyt framework and all that stuff, maybe you tried to include a theme, or volume steps, or something like that by an abailable path and it can be making some issue...
About beats, use search engine, there's a how to somewhere here...
About asking here or there, it goes up to u, I think it's here where you should do so because devs and modders are often here and not that much in phone forum (at least talking about myself and friends)
Quinny899 said:
Can you pull us a logcat and post it here?
Click to expand...
Click to collapse
Nice, forgot to ask for that hahaha
Kev_cr said:
I mean, maybe you've included a kernel, or baseband to your build so it can be done on 2 ways:
*well done: ROM works
*not that well: ROM won't work
Aboyt framework and all that stuff, maybe you tried to include a theme, or volume steps, or something like that by an abailable path and it can be making some issue...
About beats, use search engine, there's a how to somewhere here...
About asking here or there, it goes up to u, I think it's here where you should do so because devs and modders are often here and not that much in phone forum (at least talking about myself and friends)
Nice, forgot to ask for that hahaha
Click to expand...
Click to collapse
thank you very much, and thank for every one give my help.
I Cooked new ROM and It is work
and must be do " FULL WIPE".
about "beats" I will do searching about it ..thanks
What is the " logcat" and how I can get it?!
and what about my question "Is there a program to simulate the phone to test my ROM?"
azoz123456 said:
thank you very much, and thank for every one give my help.
I Cooked new ROM and It is work
and must be do " FULL WIPE".
about "beats" I will do searching about it ..thanks
What is the " logcat" and how I can get it?!
and what about my question "Is there a program to simulate the phone to test my ROM?"
Click to expand...
Click to collapse
If you don't know what a logcat is then you probably shouldn't be developing roms. And about your question: not easily, no
Sent from my GT540 using XDA App
Quinny899 said:
If you don't know what a logcat is then you probably shouldn't be developing roms. And about your question: not easily, no
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
No human is born and he knows everything, we must learn to hit what you want.
Thanks for the excellent motivation.
adb logcat in command prompt with the device plugged in via usb and at the "on state" will get you the log
And it's probably best to some small modding before doing work on heavy stuff
Quinny899 said:
adb logcat in command prompt with the device plugged in via usb and at the "on state" will get you the log
And it's probably best to some small modding before doing work on heavy stuff
Click to expand...
Click to collapse
thanks brother..
Now my ROM is Work thank you.
I am go to learn to I can add ((tweak,upgrade sense3 to sense 3.5 and beats)) to my ROM..
if you have any link give it to me..

Status 6 Error with flashing ROM cooked with dsixda's Rom Kitchen

Hey there,
I've just been getting into ROM development and have a Sprint Samsung GNEX (toroplus) and a Google Nexus 7 (grouper). I made an AOSP build of 4.1.1 for my N7 and was using dsixda's ROM Kitchen to add root functionality, busybox, and to change the name of the ROM. I keep getting a "Status 6" error when trying to flash the ROM after building it.
I looked in the FAQ section of the thread and saw that it had to do with incorrect formatting due to using the wrong text editor, but the thing is that I haven't touched Windows while building this, it's all been on Linux.
So after flashing it, I used the "Report Error" function and check the recovery log, looks like there are some syntax errors. Could anyone help me out?
Thanks in advance!
Recovery.log
http://pastebin.com/QvpKe8vQ
updater-script
http://pastebin.com/kpMyqvTY
EDIT: Of course, the first thread I make has a typo in the Title. Wow. Can a moderator fix the typo in the title? Thanks!
Just click on edit then advanced and edit the title.
Personally I would suggest just building with those features from source.
Sent from my Galaxy Nexus using xda premium
So don't use dsixda's kitchen at all? And sorry, how do you compile from source with root functionality and busybox?
Anybody? I'm a little new to this stuff and am looking for some help, I was hoping this was the right place...
something15525 said:
Anybody? I'm a little new to this stuff and am looking for some help, I was hoping this was the right place...
Click to expand...
Click to collapse
You are using an aosp rom. There shouldn't be any reason you need the android kitchen. Go to github.com/cyanogenmod/android_build read the commit history. Should give you some insight with building a better busy box and root. Look up the system su from cyanogenmod ect ect.
Sent from my Galaxy Nexus using xda premium
lithid-cm said:
You are using an aosp rom. There shouldn't be any reason you need the android kitchen. Go to github.com/cyanogenmod/android_build read the commit history. Should give you some insight with building a better busy box and root. Look up the system su from cyanogenmod ect ect.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Okay, thanks! I'll take a look at it when I get some time!

Categories

Resources