yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] Faiz Malkani:
Since u don't know advanced coding, Android is good. See appinventor.org
[Wildfire General] cire6:
I dont know if we got lucky or what, becuase our build no. 1.15.707.1 until now dont have any update. So many experience with their froyo does not look good.

What do you think guys?
[Wildfire General] cire6:
now i know i got lucky for the delay on my build and dont have official update and decided to root my phone and flash the cook rom (SUnAaBH v1.1) and i think its better than the official, still run smooth, the battery life even get better than before, live wallpaper working so many things i can still do with my phone.
[Nexus S General] cavanman:
when the nexus s is flat /horizontal the compared seems fairly accurate. However if I point the device say due east and slowly tilt the device 90° in the vertical direction, still pointing east, the reading is off by about 15°.

This is very noticeable when I use the compass app or google sky maps. anyone else noticed this?
[Nexus S General] chadrockey:
I have noticed the compass is terrible and noisy in general. There's supposed to be a new sensor fusion API, but as far as I can tell that is currently broken and reports NaNs...

There are many factors that could contribute to your compass being wrong, the first being that compasses are wrong! :D The first, Magnetic Declination is the offset between magnetic north and true north. Mine is about -8 degrees.

wikipedia.org/wiki/Magnetic_declination

The second, and probably more important factor is the Magnetic Inclination: the actual angle of the magnetic field relative to the ground. Here in Ohio, the field is mostly 60% or so vertical!

wikipedia.org/wiki/Magnetic_inclination

If the coders do not correct for the actual rotation of the sensor, then what you see is the large Z axis (coming out of the screen) become the new Y measurement, while X stays the same. Since the first trivial calculation of heading is: atan2(y,x) you can see what happens when y becomes much larger, but x stays the same.

So it all depends on if they are using the accelerometers/gyros to correct for orientation and then calculate heading or at the very least relabel axes at some point.

You can read more about what Android actually provides developers here

developer.android.com/reference/android/hardware/SensorEvent.html

But without access to the source code, I can't know what's actually causing your problem.
[Nexus S General] wyk126:
I have the same issue

please report this bug at here:

http://www.google.com/support/forum/p/Google+Mobile/thread?tid=37f2dd3261d20d1f&hl=en

and add a star if you have this issue as well here:

http://code.google.com/p/android/issues/detail?id=15999

check my issue video here:

http://www.youtube.com/watch?v=l-9lehX8u2U

Google please fix this!!!
[Desire General] cris.arce.ramos:
From what I understand, rageagainstthecage-arm5.bin provides temporary root right? So is it possible to use this temporary access to remove some stock apps via terminal because I don't really want to root my device.
[Desire General] mortenmhp:
NO! Do some reading. The desire have a nand lock, which make it impossible wo write to the system partition while it is bootet. You will need a custom recovery.
[Galaxy S I9000 Q&A, Help & Troubleshooting] The_Nemus:
Do you remember the pinked spodged photo of HTC series?

Well, I'm having the very same trouble with my Samsung Galaxy S:

img255.imageshack.us/i/20110106115107.jpg/

img135.imageshack.us/i/20110106211203.jpg/

Anyone of you have seen galaxy s photo like these?
[Galaxy S I9000 Q&A, Help & Troubleshooting] farooknaji:
I started getting the exact same thing a week ago. I put it down to me messing with custom roms and kernels. Not placing any blame here but, I was running Darkyy's ROM (can't remember which version) with Trasig's Advanced Voodoo Kernel v69.2. I'm now running Darkyy's v8.0 with the Kernel that comes with that and the issue appears to have gone.
[Galaxy S I9000 Q&A, Help & Troubleshooting] The_Nemus:
Mine is brand new, bought just two days ago.

I called samsung help today morning and they admitted there is an hardware bug, then I've to come back to seller and ask for replacing/refunding.

I'd prefer to not play with kernel et similia (I don't want to break warranty)
[Galaxy S I9000 Q&A, Help & Troubleshooting] The_Nemus:
anyone else?
[Android Software Development] squshy 7:
If this works as intended, could any joe-shmo (like myself) plug in the scripts from a rom.zip, paste over the new output, and then proceed to flash the rom? (avoiding having to wait for the dev to do it)...

Or is it a little more complicated than that

Sent from my baked and emotionless SPH-D700
[Android Software Development] >MR.T:
finally
[Android Software Development] Dameon87:
Beat me to it. I was working on a php convertor :p
[Android Software Development] sauron0101:
It seems to be buggy right now. I've tried converting something small, a Gingerbread keyboard. Installation aborted.

Anyways, here's the link to what I copied:

http://xdaforums.com/showthread.php?t=845162

Here's the output message:

# Unknown:: delete SYSTEM:app/ime-mtm-stock-gingerbread.apk ;

show_progress(0.1, 0);

# Unknown:: You shouldn't have seen this! O.o

# Unknown:: You shouldn't have seen this! O.o

show_progress(0.1, 10);
[Android Software Development] Dameon87:
Doesn't look like proper syntax. You can't use keyword calls for system, data, tmp, etc in edify. Paths must be proper paths, /system
[Android Software Development] ksmullins88:
so, this tool is for converting the old .zip files we used to use into the new edify .zip files we need to use for EXT4?

ive been trying to find out how to reformat the CIA boot animation and some custom sounds for boot and shutdown to work with EXT4 but so far everything is aborted when i try to install
[Android Software Development] nubecoder:
Looks like I forgot to add the delete cmd to the switch statement. =[

And the "you shouldn't see this" is from blank lines in the script (I think).

I'll fix it up when I get a chance (after work).

I'll be releasing the source as well if anyone cares...

@Dameon

You should still do the php thing... Some people hate .Net, and online is sometimes better than downloading a tool.

=]
[Android Software Development] nubecoder:
Pretty much, yes...

I plan on supporting zip input and signed zip output. I'll have to see how dificult it is to implement...

=]
[Android Software Development] nubecoder:
Program updated, check 1st post for changelog.

@sauron0101

Your errors should now be fixed.
[Android Software Development] sauron0101:
@nubecoder:

Installation still seems to abort for whatever reason. Clockwork gave Error 6.
[Android Software Development] DiGi760:
I was thinking about doing one, too, but it was I going to be lazy and either write a shell script or a simple C prog to use from the command line.
[Android Software Development] thizzmaster:
does it work?
[Android Software Development] nubecoder:
There was a problem with the line endings being used, that seemed to be causing the "Status 6" error.

Should be fixed now.

Please report any bugs found.

=]
[Android Software Development] jim_panse:
Provide a Linux Version, please. :)
[Android Software Development] true_animal:
Excellent tool, Great job.
[Android Software Development] formula84:
Worked for me with a theme, thanks
[Android Software Development] danweb66:
does this do this auto or do you need the new edify scripts to paste in the output section? if you need the scripts could somone please post them.
[Android Software Development] DiGi760:
Input is for the amend script. Output is where the edify scripts come out.

Remember the cardinal rule of nature, don't put anything in where something is supposed to come out.
[Android Software Development] DiGi760:
I stripped nubecoders comments from his code for anyone who wants to see all the pieces being converted by this program. He has included his code with his prog, so if anyone wants to port at least the converter part to linux or whatever, look in a2eForm.cs.

* from: assert compatible_with("0.2") == "true"
* to: assert(compatible_with("0.2") == "true");

* from: show_progress 0.1 0
* to: show_progress(0.1, 0);

* from: format SYSTEM:
* to: delete_recursive("/system");

* from: delete SYSTEM:app/ime-mtm-stock-gingerbread.apk
* to: delete("/system/app/ime-mtm-stock-gingerbread.apk")

* from: delete_recursive SYSTEM:app
* to: delete_recursive("/system/app");

* from: copy_dir PACKAGE:system SYSTEM:
* to: package_extract_dir("system", "/system");

* from: copy_dir PACKAGE:app SYSTEM:app
* to: package_extract_dir("app", "/system/app");

* from: symlink SYSTEM:xbin/su SYSTEM:bin/su
* to: symlink("/system/xbin/su", "/system/bin/dumpcrash");
*
* from: symlink dumpstate SYSTEM:bin/dumpcrash
* to: symlink("dumpstate", "/system/bin/dumpcrash");

* from: set_perm_recursive 0 0 0755 0644 SYSTEM:
* to: set_perm_recursive(0, 0, 0755, 0644, "/system");

* from: set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
* to: set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");

* from: set_perm 0 3003 02755 SYSTEM:
* to: set_perm(0, 3003, 02755, "/system")

* from: set_perm 0 3003 02755 SYSTEM:bin/netcfg
* to: set_perm(0, 3003, 02755, "/system/bin/netcfg");

* from: run_program PACKAGE:installbusybox
* to: run_program("installbusybox");

* from: run_program programToRun arg1
* to: run_program("programToRun", "arg1");

* from: run_program programToRun arg1 arg2
* to: run_program("programToRun", "arg1", "arg2");

* from: run_program /system/xbin/busybox --install -s /system/xbin
* to: run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");

* from: write_raw_image PACKAGE:boot.img BOOT:
* to: assert(package_extract_file("boot.img", "/tmp/boot.img"),
*	write_raw_image("/tmp/boot.img", "boot"),
*	delete("/tmp/boot.img"));
[Android Software Development] DrPaua:
I have the ZTE Blade and I read in the Changelogs "phoneDatabase update - (06-02-2011) - Added Blade." but I cannot find it in Options => Mount Type...

Which one is the closest or which information can I post to help?

Thx,

DrP
[Android Software Development] Annihlist:
Hi All,

I have made a flashable zip for those on a Galaxy Nexus GSM Android 4.04.

It contains a patched email.apk and exchange.apk.

Useful for times when you update your phone.
[Android Software Development] nubecoder:
Have you downloaded the newest phoneDatabase.xml from the link in the OP?

If not try that. ;]

Also, updated OP...

phoneDatabase update - (04-07-2012)
- Added Xperia X10 Mini
- Added Droid 3
- Added Galaxy S2 t989
- Added Transform Ultra
- Added Xperia Pro
- Added Optimus
(Sorry to those who had to wait for this.)

=]
[Android Software Development] nubecoder:
Updated OP...

phoneDatabase update - (04-08-2012)
- Added WildfireS-MarvelC

=]
[Android Software Development] tossero:
Hi !

Would you , please add Galaxy Nexus to your database?

Thank you in advance!
[Android Software Development] seedrom193:
thanks mate for the amazing tool :thumbup:
[Android Software Development] mattwheat:
Wow its been a year since anyone has posted here. Wondering if the developer is still supporting pm me if you are please for I will probably not check or be able to find this thread again. Thanks.

Sent from my LG-D959 using Xparent Skyblue Tapatalk 2
[Android Software Development] Evoxtorm:
this tool does not work properly it is giving only this thing when i open different rom

run_program("/sbin/mount", "/dev/block/stl9", "/system");

run_program("/sbin/mount", "/dev/block/stl10", "/data");

run_program("/sbin/mount", "/dev/block/stl11", "/cache");

so please provide some solution to this
[Android Software Development] nubecoder:
There's a chance it would work under Mono on linux, but I have no experience with Mono, so YMMV. As stated source is included.

ps - Those comments are not literal for the most part, more like examples.

Update coming soon (zip signing / batch mode).

=]
[Android Software Development] nubecoder:
Bump for update v1.0.0.3 (check 1st post).
[Android Software Development] McGiverGim:
Hi! Great program, I've used it ok in my Galaxy S, only one problem:

In my galaxy, the units are not mounted correctly, it must be:

run_program("/sbin/mount", "/dev/block/stl9", "/system");
run_program("/sbin/mount", "/dev/block/stl10", "/dbdata");
run_program("/sbin/mount", "/dev/block/stl11", "/cache");
run_program("/sbin/mount", "/dev/block/mmcblk0p2", "/data");

With your defaults mounts, it mount the /data in /dbdata.

Could you add an option to select the smartphone, or the mounts or something similar? Now I change it manually.

Thanks!
[Android Software Development] MrDevil:
quick question, do i have to change the values to mtd for my htc desire?

run_program("/sbin/mount", "/dev/block/stl9", "/system");

run_program("/sbin/mount", "/dev/block/stl10", "/data");

run_program("/sbin/mount", "/dev/block/stl11", "/cache");
[Android Software Development] DiGi760:
@MrDevil

You probably do have to change those values for your phone. I don't have any experience with the desire, but it sounds like your partitions are named mtd# instead of stl#. In addition to changing the stl to mtd, you need to make sure the numbers are the same. For all I know /system, /data, and /cache could be mtd1, mtd2, and mtd3 on your phone.
[Android Software Development] nubecoder:
Thank you for telling me the required mounts for your Galaxy S. (That would be the SGS i9000 correct? Please confirm.)

I was thinking about adding support for more phones. The problem is, I'm only familiar with the Epic, so it would take more people such as yourself to help out (or a lot more time downloading roms for phones I don't have).

I'll see what I can come up with to help support more phones.

Yes you do, but I don't know what they would be (read above and below).

Just downloaded MikFroYo v4.4 and for the evo it seems that

mount("MTD", "system", "/system");

would work. I'm not sure that it's the same for the Desire though. (About 50 minutes until I find out using Alex-V2.2..whatever).

[update]

=[

Alex-V2.2..whatever... doesn't use edify

=]
[Android Software Development] McGiverGim:
Yes, I can confirm it is for SGS I9000.

Regards!
[Android Software Development] 0x000:
does anyone know the correct edify command for mounting /data on the samsung galaxy 3 (i5800)? i've been trying for several hours now and can't seem to get access to /data (what i've tried so far: http://xdaforums.com/showthread.php?p=10808886)
[Android Software Development] nubecoder:
Updated to 1.0.0.4, added support for more phones.

Mount types currently include:

Epic 4G
Evo 4G
Galaxy S i9000
Generic HTC
Generic SGS

Read the [I Need Help] notes in the 1st post if you want specific support for your phone.

Please report success as well as failure! (And include you phone model.)

Thank you.

Check the [I Need Help] notes in the 1st post, for instructions on getting the mount points for your phone.

[Edit]

Modified 1st post to more reflect the current state of the program.

=]
[Android Software Development] running_the_dream:
The ViperStore (from the Viper team) has a zip called: No Startup/shutdown sounds. As the name implies, it mutes any startup or shutdown sounds you may have. Anyway, your converter worked perfectly! Here is the output if you want it for any reason:

ui_print("Script generated by amend2edify v1.0.0.4.");

ui_print("***********************************************");

ui_print("Performing Update...");

ui_print("Mounting mount points...");

run_program("/sbin/mount", "/dev/block/stl9", "/system");

run_program("/sbin/mount", "/dev/block/stl10", "/data");

run_program("/sbin/mount", "/dev/block/stl11", "/cache");

package_extract_dir("system", "/system");

ui_print("Unmounting mount points...");

run_program("/sbin/umount", "/system");

run_program("/sbin/umount", "/data");

run_program("/sbin/umount", "/cache");

ui_print("Update Complete.");
[Android Software Development] craigcharlie:
Just sent you the mountinfo for the HTC Desire (Bravo, the GSM version).
[Android Software Development] nubecoder:
Thank you, the Desire has been added to the Mount Type selections, I'll get an update out soon.

=]
[Android Software Development] nubecoder:
Done

v1.0.0.5 - (01-26-2011)

- added Mount Type selection for HTC Desire.

- minor internal code changes.

=]
[Android Software Development] aaronpoweruser:
works on the hero cdma awesome work man
[Android Software Development] Walker Street:
HTC Desire HD mount info

Hi nubecoder,

I just sent you mount info on the HTC Desire HD.

Your script will definitely come in handy :)

Much appreciated! :D
[Android Software Development] Walker Street:
mountinfo was for desire HD using CM7 ext4 /system

The mountinfo I sent you is from a CyanogenMod 7 Gingerbread rom on the Desire HD. I just realised the mount points might be different on froyo or stock roms (although I'm no expert and am unsure about this). I'd really like to be able to convert a simple amend script to an edify script that works with this rom (i.e. works with CM7 ext4 /system partition).
[Android Software Development] nubecoder:
I've been sick the past few days, I'll try to get an update out sometime tomorrow.

ps- I'm pretty sure that cm uses a different update-binary, I'll try to look into that as well...

=]
[Android Software Development] nubecoder:
Bump for update.

=]
[Android Software Development] alangrig:
Hi nubecoder,

Please add HTC Wildfire, would really appreciate. THNX LOTS. Really useful and great tool.
[Android Software Development] nubecoder:
1st, you can try the generic HTC mounts.

If that doesn't work, you would need to follow the steps in the OP and send me the mount info.

=]
[Android Software Development] alangrig:
Tried Generic HTC, still no success flashing it in CRW 3:

ui_print("Script generated by amend2edify v1.0.0.6.");

ui_print("***********************************************");

ui_print("Performing Update...");

ui_print("Mounting mount points...");

run_program("/sbin/mount", "/dev/block/mtdblock3", "/system");

run_program("/sbin/mount", "/dev/block/mtdblock5", "/data");

run_program("/sbin/mount", "/dev/block/mtdblock4", "/cache");

# Unknown:: #DK Radio UP

show_progress(0.1, 0);

# Unknown:: write_radio_image PACKAGE:radio.img

show_progress(0.1, 100);

ui_print("Unmounting mount points...");

run_program("/sbin/umount", "/system");

run_program("/sbin/umount", "/data");

run_program("/sbin/umount", "/cache");

ui_print("Update Complete.");

Will send you additional info as you described in OP
[Android Software Development] alangrig:
Followed your instruction on the 1st page and emailed you .txt. Check please. Looking forward for solution!!!

TNHX in advance!!!
[Android Software Development] flopelayo3:
So will I be able to download 2 different roms extract them, change the boot and shutdown animations from one to the other and zip it back up using winzip, then use amend2edify and flash on cwm 3.0? If yes how bc I get, "error: update-script could not be found in zip." but when I had previously done this in cwm 2.5 it worked fine, how can I get this to work on cwm 3.0?
[Android Software Development] Walker Street:
Worked like a dream on my Desire HD with CyanogenMod 7 nightly

Thanks for updating your converter for the Desire HD. I've already used it to convert a script and it worked like a dream on my CyanogenMod 7 nightly rom :)
[Android Software Development] nubecoder:
Those mount points are correct for your phone (according to the mountinfo you sent me).

But this part is a radio image flash, which I have not implemented a conversion for.

Are you trying to convert an entire Rom from amend to edify? I would not really recommend doing that.

I'll see about adding a conversion for it, but I still would recommend against using this tool to convert a full Rom's script (the Rom developer should do the conversion manually as to not break anything).

This error means the zip you are trying to convert is not using amend to begin with.

You should be able to make your edits with out doing any scripting conversion with this tool.

Thank you for the success report.

I'll post an update later tonight with Wildfire specific mounts included, and a conversion for write_radio_image (if I can find it).

=]
[Android Software Development] nubecoder:
Wasn't last night, but updated none the less.

Check OP.
[Android Software Development] theimpaler747:
On request of OP, moved to Android Hacking now that it supports multiple phones :)
[Android Software Development] nubecoder:
Updated, check OP.

=]
[Android Software Development] temasek:
Thanks for including Nexus One.

Just tried to convert my script and had an error dialog box

"Error: Default case hit in IsMTDPhone!

Return false."

Advise pls.

Thanks!
[Android Software Development] nubecoder:
Bah!

Looks like I forgot to add some code there.

It probably wont effect the script's output, but I'll fix it up and post an update soon.

Sorry about that.

=[

[edit]

Updated, check OP.
[Android Software Development] temasek:
Thanks!

No more error pop up.
[Android Software Development] nubecoder:
Two people have now sent me the requested info for the Incredible (thank you).

But it seems "grep block" will not work on all phones as I had assumed.

I have updated the [I Need Help] section of the OP so it should output the info needed.

=]
[Android Software Development] sabbotage:
cool thanks man. I was one of the ones that sent you the incredible info. I'll get the new info and send it your way. Thanks again for this! :)

Edit: Just sent you the updated incredible info. :)
[Android Software Development] nubecoder:
Thank you to all how have helped, I've received a few emails today.

I'll get an update out sometime tonight.

=]
[Android Software Development] t12icky0:
ok im trying to use this to update this file

http://android.grdlock.net/download...ms_v10.zip&directory=HTC Incredible/Token419&

for my hero on clockwork 3.0.5 i have tried multiple times but yet to be working. could someone tell me how to or could someone do it for me please.
[Android Software Development] nubecoder:
Updated, check OP.

I took a look at the converted script, and I don't really see anything that sticks out other than:

run_program PACKAGE:cricket.sh​

which converts to:

run_program("cricket.sh");​

You could try replacing :

run_program("cricket.sh");​

with:

package_extract_file("cricket.sh", "/tmp/cricket.sh");

set_perm(0, 0, 0755, "/tmp/cricket.sh");

run_program("/tmp/cricket.sh");​

I'm not sure there would be an elegant way of incorporating this into the converter, but let me know if it works.

=]

[edit]

Re-organized OP.
[Android Software Development] sabbotage:
Thanks so much man! Great work on this tool!
[Android Software Development] TheNewGuy:
I see you added the mount for the G2, but I am still getting an error saying "update-script could not be found in zip" am I doing something wrong? how do I get this to work? Thanks again for your hard work!

EDIT: I am an idiot! I was trying to test with a zip already in edify format!:eek:

For other newbe idiots make sure the zip you are trying to convert ACTUALLY HAS an update-script in the zip! If it has an updater-script and update-binary than it is ALREADY in edify format. ;) Sorry for wasting your time.

And thanks again! Great work! :D
[Android Software Development] wdfowty:
This, sir, is BRILLIANT. Thank you.
[Android Software Development] nubecoder:
I edited the OP to be more clear on this error message.

Basically, the amend script file could not be found in the zip, are you sure the zip you are using needs converting?

TY for the kind words.

=]
[Android Software Development] TheNewGuy:
Yea,.... I was afraid I would make an A$$ out of myself.... The script I was testing with was already in edify format....:eek: That is why I was getting the error. So I'm sorry. Thanks for your time and your hard work.
[Android Software Development] nubecoder:
No need to be sorry, I'm happy to help.

=]