Is it possible to copy a working updater script, into my own non flashing rom? I made my own rogers stock rom using dsxidas kitchen tool, just won't flash, can I copy paste a working one into the rom?
Sent from my HTC EVO 3D X515a using xda premium
markdexter said:
Is it possible to copy a working updater script, into my own non flashing rom? I made my own rogers stock rom using dsxidas kitchen tool, just won't flash, can I copy paste a working one into the rom?
Sent from my HTC EVO 3D X515a using xda premium
Click to expand...
Click to collapse
Sure, you can copy /paste all you want. No promises anything will work. The updater-script uses "edify" scripting language is fairly simple. There are quite a few good guides available. I usually find them by typing edify guides into google.
The syntax is fairly straight forward. The best way to trouble shoot is when the recovery throws an error, check out the recovery log file as it will generally provide details as to which line of code had the error and what type of error.
The recovery log file is usually stored at /tmp/recovery.log and /cache/recovery.log.
In my opinion every ROM developer should become familar with this simple scripting langauge and have the ability to troubleshoot the issues with the recovery through the log file.
If you have specific questions feel free to reserach and post them up with your research. Plenty of ppl can help clarify or suggestion approaches.
Hope that helps!
Related
That the error that revolutionary give me everytime i try to flash my ics rom i've take on the cdma forum and mix it up with the one in the gsm forum
this one http://forum.xda-developers.com/showthread.php?t=1456793
and
http://forum.xda-developers.com/showthread.php?t=1411185
I've followed perfecly the instruction on how to port cdma rom on the gsm but all i got is this
assert failed getprop ro.product.device shooter(status 7)...
Please someone help
Thank you and sorry if i got a bad english i try my best
Birddie said:
That the error that revolutionary give me everytime i try to flash my ics rom i've take on the cdma forum and mix it up with the one in the gsm forum
this one http://forum.xda-developers.com/showthread.php?t=1456793
and
http://forum.xda-developers.com/showthread.php?t=1411185
I've followed perfecly the instruction on how to port cdma rom on the gsm but all i got is this
assert failed getprop ro.product.device shooter(status 7)...
Please someone help
Thank you and sorry if i got a bad english i try my best
Click to expand...
Click to collapse
I answered this same question last week, as follows:
http://forum.xda-developers.com/showpost.php?p=21574098&postcount=8
joeykrim said:
Reading the recovery log error. First we have to understand what is happening. After you select a ROM .zip file from the custom recovery, the updater-script file is processed, found near /META-INF/com/google/android/updater-script.
At the start of this updater-script, and is common in many OTA official .zip file updater-script files is a check against the the type of device currently being used. This checks the device build.prop identification locations, ro.product.device, ro.build.product, etc and for this specific ROM attempts to verify the device is the CDMA version of the EVO 3D, known as the "shooter".
If this were a GSM ROM and were to check for the GSM version of the EVO 3D, it would check for the phrase, "shooteru", as that is the name given to the GSM version of the EVO 3D.
Since, the device currently being used does not match, "shooter", processing the ROM .zip fails. This prevents the developers from getting complaints that flashing their ROM "bricks" a device, or causes a users issues/problems. The prevention mainly means the user is not able to load the ROM.
Hope that helps provide some technical details behind the recovery log and specific error being experienced!
Click to expand...
Click to collapse
I tried to flash 4-5 different custom roms, and always get this error. Help!
Same problem
cray0rb said:
I tried to flash 4-5 different custom roms, and always get this error. Help![/
I tried also 6-7 diferent roms,same problem
Click to expand...
Click to collapse
mcmanusu said:
cray0rb said:
I tried to flash 4-5 different custom roms, and always get this error. Help![/
I tried also 6-7 diferent roms,same problem
Click to expand...
Click to collapse
cray0rb said:
I tried to flash 4-5 different custom roms, and always get this error. Help!
Click to expand...
Click to collapse
Open the updater_script in text edit and remove all the getprop checks. Then try to update!
Click to expand...
Click to collapse
Either you are trying to flash a Rom for a different phone, or you have posted in the wrong forum.
Do you have an evo 3d?
Where did you download that Rom?
It looks like you're trying to flash a Samsung Rom....
Also if you have a 3d, you should consider using 4ext recovery
Sent from my HTCEVOV4G using xda app-developers app
I think he is trying to build a ROM for his devide but his usind the wrong META-INF
You need to use the update zip from a rom made for your device not the one you are porting it from.
Also make sure you mod the build.prop in /system to have all the info for your device..
I wanted to thank all those that contribute to the community and DG for his leaks. It does seem that all the leaks are in Odin 1 click packages. Is there another resource to obtain the stock leaks in an extractable package?
In the development section Electron73 made a CWM zip file of the stock release
Yes he did and I downloaded it yesterday. I just want a virgin odexed, non zipaligned UCLF5. Great that he has done it for us and I thank him for it.
You probably need someone with a stock phone to make a nandroid backup (after a factory reset to remove personal information) and email it to you. You could flash it with CWM, without rooting your phone.
Check out exodin... link in my sig.
Sent from my SAMSUNG-SGH-I717 using XDA
h0tw1r3 said:
Check out exodin... link in my sig.
Sent from my SAMSUNG-SGH-I717 using XDA
Click to expand...
Click to collapse
Thanks for your app, I also tried to get a 'virgin' version of these latest leaks but have been unable to do so. I tried it with both the LF5 release and LE2 and it extracted everything fine, but for some reason the ext4 images are unreadable. I tried using ext2explore and nothing. Then tried disk internals Linux reader and says there's an error. I even went as far as trying Ubuntu on a virtual machine to see if I could mount it but didn't work either. Could these files be encoded within the 1click?
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
h0tw1r3 said:
Check out exodin... link in my sig.
Sent from my SAMSUNG-SGH-I717 using XDA
Click to expand...
Click to collapse
Ty for the link. I too was able to extract the files but not able to do anything with them. I couldn't mount the img's with "Linux reader"
Sent from the past from my touch screen commodore 64.
The images are in a sparse format. Use simg2img to convert them.
Thx.. help is much appreciated.
Can someone point me to complete stock ics rooted Rom for t mobile. Not a leaked one, but the actual one. Unless leaked is same one. All the searching, and I'm getting a bit confused on them. Thanks in advance. One that I can flash through recovery on unlocked,rooted, s off t mobile amaze.
Sent from my HTC_Amaze_4G using xda premium
There's one available right around here, use the search button dude, it's pretty easy if you search the most obvious place for anything pertaining to this device.
Well, like I said in op, I've searched and found ones that say must be s on or relock. Also found the ones to do from fastboot .
Like I said, don't find stock rooted that I can flash through recovery. As stated in op already have done what above post says.
Sorry ii asked such an easy question. That a simple search didn't answer.
Sent from my HTC_Amaze_4G using xda premium
mike102871 said:
Well, like I said in op, I've searched and found ones that say must be s on or relock. Also found the ones to do from fastboot .
Like I said, don't find stock rooted that I can flash through recovery. As stated in op already have done what above post says.
Sorry ii asked such an easy question. That a simple search didn't answer.
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
I created and posted the flashable zip myself, that tells me you're not looking, I know it exist and it's in the MOST OBVIOUS place everrrrrrrr.
Hint: Where can everything about the Amaze 4G be found?
I'm sorry I don't find the one you posted. Thanks for trying to help though.
Sent from my HTC_Amaze_4G using xda premium
mike102871 said:
I'm sorry I don't find the one you posted. Thanks for trying to help though.
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
Being unable to find something and not looking are not the same, there is a flashable zip of T-Mobile, Telus and Mobilicity ICS roms posted in the amaze bibe thread here: http://forum.xda-developers.com/showthread.php?t=1679486
The tutorial to return to stock is here: http://forum.xda-developers.com/showpost.php?p=27058110&postcount=44
At the bottom of that post you will find all three flashable zips with links to download them.
If you search for what you're looking for in the places that it should be, you will find it.
Thankyou. I'm sorry you feel I didn't look. But like I said in every post, I did search. Never came across the nandroids or zips you posted.
mike102871 said:
Thankyou. I'm sorry you feel I didn't look. But like I said in every post, I did search. Never came across the nandroids or zips you posted.
Click to expand...
Click to collapse
That's why you always search the bible first buddy, I know things like this are hard to find around here so we try to gather it all for you guys in place so it wouldn't be hard to find anymore, so just check the bible thread first, if you don't find it in there, let me know and I'll show where it's at, if we don't have it? I'll personally try to get it for ya. .
mike102871 said:
Thankyou. I'm sorry you feel I didn't look. But like I said in every post, I did search. Never came across the nandroids or zips you posted.
Click to expand...
Click to collapse
Also, if you're still looking for an universal updater that will flash a stock ICS rooted ROM with 4EXT recovery, you might want to wait for my tool to be released
I said nothing.
Maybe I did something wrong, but the ota zip WiFi would not work and with the posted nandroid it aborted within. Few seconds
Sent from my HTC_Amaze_4G using xda premium
mike102871 said:
Maybe I did something wrong, but the ota zip WiFi would not work and with the posted nandroid it aborted within. Few seconds
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
After you flash the ota zip you will need to flash the boot.img file inside it manually if you're not s-off, use hasoons tool to flash it, its the kernel required for wifi to work.
Just remembered you use cwm recovery, you have to flash the kernel file manually since only 4ext recovery supports kernel flashing.
Sent from my SGH-T679 using xda app-developers app
Dark Nightmare said:
After you flash the ota zip you will need to flash the boot.img file inside it manually if you're not s-off, use hasoons tool to flash it, its the kernel required for wifi to work.
Sent from my SGH-T679 using xda app-developers app
Click to expand...
Click to collapse
Yes, i am s-off. I was on energy rom. Flashed the stock rooted zip from link you posted above. I wiped everything before flash. Wifi shows networks shows trying to connect but keeps going through that. Will NEVER connect. I tried the process form post 4 in energy rom and still wont connect. If i restore the back up of energy, wifi works
Ok, just did the manual flash and still no wifi. I see i mis typed above, the OTA zip works, everything except wifi
You're the first and only person that used that zip and complained of that issue, my only piece of advice for you would be to use the PH85IMG stock img in the stock ruu thread and restore, then re-root your device, best of luck.
Sammobile has a new function, namely the possibility to download pre-release OTA update files.
When you do so for the S2, you get a .zip containing 6 files:
debug_info
delta.hidden
delta.modem
delta.platform
delta.Sbl
delta.zImage
Does anybody know how to use these pre-release zips?
I think they should be flashed from recovery
Also they don't look like standalone full firmwares but small patches for full firmwares
Also I think they might be for specific ROMs.
If you have to ask this, I wouldn't suggest you use any of these. You need to do more research and understand what they are and how to use them.
Sent from my Nexus 7 using xda premium
kilometers4 said:
If you have to ask this, I wouldn't suggest you use any of these. You need to do more research and understand what they are and how to use them.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Give me a starting point then please.
darth_mickrig said:
Give me a starting point then please.
Click to expand...
Click to collapse
Google them, search the xda site, possibly pm a nice dev and see if they might be kind enough to explain them.
Sent from my GT-I9100 using xda premium
These files ain't got normal Recovery flashable file. The problem its, google doesn't give any information on this file content, only as much as that they are files with the difference between the two firmware versions.
They are even different to S3 OTA-Update files, which have an Update-Script and so on. Thus being CWM flashable.
To flash sammobile ota files on Galaxy S2 it is really easy :
1. First, create a "fota" folder on internal memory (/sdcard/fota)
2. Unzip the zip file in it
3. Reboot into Android recovery and select the last option (tesband service [fota])
And that's it. But you have to be sure to be on the right firmware before being able to apply it. If more info needed I could give you more details.
First, I'm not a developer, I've never made a rom now do I know how. Not that I can't learn. I'm just broke and have a horrible computer its so bad I haven't used it since I got my evo 4G. Anyway I'm not new to flashing, modding or anything to do with my evo. What I like to do is flash a rom as a base then find other tweaks and mods and flash them. remove things the developer put in and maybe replace them with other thing I find from other roms. Eventually I have a custom "rom" mostly unrecognizable from my original base. My question is, is it possible to nand my "rom" and turn it into a flashable rom to share with the community?
caddermeran said:
First, I'm not a developer, I've never made a rom now do I know how. Not that I can't learn. I'm just broke and have a horrible computer its so bad I haven't used it since I got my evo 4G. Anyway I'm not new to flashing, modding or anything to do with my evo. What I like to do is flash a rom as a base then find other tweaks and mods and flash them. remove things the developer put in and maybe replace them with other thing I find from other roms. Eventually I have a custom "rom" mostly unrecognizable from my original base. My question is, is it possible to nand my "rom" and turn it into a flashable rom to share with the community?
Click to expand...
Click to collapse
I believe you can use the latest version of clockwork mod to create a flashable update.zip of your current ROM that you could then share with people.
Edit: Option can be found under backup and restore options and is called "create image zip"
Sent from my SCH-I535 using xda premium
What about Ra? I guess I can check myself. If I rename the zip, would you still be able to flash it? Would it be considered a rom? Would I post it in developers section? With proper credit of course.
caddermeran said:
What about Ra? I guess I can check myself. If I rename the zip, would you still be able to flash it? Would it be considered a rom? Would I post it in developers section? With proper credit of course.
Click to expand...
Click to collapse
Amon Ra (I assume thats what you mean by Ra) is pretty old, I think its a CWM (Specifically clockwork mod 6 and above) only feature. Yes I'm pretty sure if your just renaming the zip and not modifying any thing else once you create the update.zip you should be able to flash it just fine. And yes it would be considered a ROM more of a cooked ROM since you didn't compile it from source, but still a ROM non the less. And yes since it's a ROM post you would post it in the development section (Not Original Development Section though), and as always like you mentioned proper credit is important :good:.
Thanks for the information. I'm using smelkus amon ra, I heard cwm didn't wipe properly. Has that issue been fixed? I'm gonna work on cooking my rom polish it up a bit and post it soon Thanks again for the information, gonna put you in my credits
caddermeran said:
Thanks for the information. I'm using smelkus amon ra, I heard cwm didn't wipe properly. Has that issue been fixed? I'm gonna work on cooking my rom polish it up a bit and post it soon Thanks again for the information, gonna put you in my credits
Click to expand...
Click to collapse
I'm pretty sure this issue has been fixed, besides when you want to whipe something it's best to do whipe cache or data or whatever else your whipping at least 2 times just to be on the safe side. And thank you for putting me in the credits make sure to send me the link when you post the link would love to check it out :thumbup:
Sent from my SCH-I535 using xda premium
I'm gonna have to post elsewhere a few more time before I'll even be allowed to post in the development section. Sucks, that's the only section I use. This is the first time I've had any real questions.
caddermeran said:
I'm gonna have to post elsewhere a few more time before I'll even be allowed to post in the development section. Sucks, that's the only section I use. This is the first time I've had any real questions.
Click to expand...
Click to collapse
The easiest and most legitimate way to get enough posts if to look through the the various Q & A threads and try and answer some peoples questions, or you can look through topics that interest you and comment on them in some way that adds to the discussion.
Thanks for the tip. That's what I was going to to do. Thanks again for the info.
So I finally got my rom how I want it, I flash the latest cwm, and the option to create a flashable zip is not available for the evo 4g. Any other ideas?
caddermeran said:
So I finally got my rom how I want it, I flash the latest cwm, and the option to create a flashable zip is not available for the evo 4g. Any other ideas?
Click to expand...
Click to collapse
Try doing a data dump (dd) of all the partitions on your device using commands along the lines of: (Can be done from ADB shell or terminal emulator)
$ su
# cat /proc/mtd
Also try "mounts" if that doesn't work
Then based on that output you dump the partitions using the dd command (Following is an example do not copy verbatim).
# dd if=/dev/block/mmcblk0p9 of=/mtd/sdcard/system.img
Then take a meta-inf folder from a working ROM for your device, extract the contents of the system.img file so you have a system folder, and the boot.img once you have these three files zip them all up, and sign the Rom then flash in recovery.
Another suggestion, would be to just take the stock Rom or even Cyanogenmod for your phone and modify that using notepad++, Gimp, and 7-zip (PM me if you want some help with this).
Finally, you could look into compiling AOSP or Cyanogenmod from source for your device.
Sent from my SCH-I535 using xda premium