yashsingh1/xdaforums huggingface dataset:
[Motorola Atrix 2] Ravikirancg:
Well this is what I tried run_program("/tmp/patch.sh")

And also tried run_program("/system/bin/sh","/tmp/patch.sh")

It gave some error like child exited or so. Just a sec..
[Motorola Atrix 2] alteredlikeness:
Did you set perms on the script?

As an example, I've used this in my updater-script before:

package_extract_file("add_initd.sh", "/tmp/add_initd.sh");
set_perm(0, 0, 0777, "/tmp/add_initd.sh");
run_program("/tmp/add_initd.sh");

And is the shell script giving you errors, or your commands to run it giving the errors?
[Motorola Atrix 2] jimbridgman:
What does the patch.sh do? Does it need any particular partition to be mounted like say /system, and or /data, etc.? That would be my first thought for an error like child exited. If you are not mounting a partition, earlier in the updater_script that the shell script is needing then that would make sense If you can get the exact error, that would be helpful, as well as have you tried to run the script from the terminal on your phone just to see if it runs successfully? Also check any output it gives as well. There may also be somehing it is running in the background that is not completing correctly (a child process).

Also make sure you are calling the correct shell that the script was written for (sh, ksh, csh, zsh, etc.), that should be at the top of the script something like #!/system/bin/sh or something.
[Motorola Atrix 2] Ravikirancg:
Well my updater script contains

mount ("ext3", "EMMC", "/dev/block/system", "system");
package_extract_file ("patch.sh", "/tmp/patch.sh");
set_perm (0, 0, 0777, "/tmp/patch.sh");
run_program("/tmp/patch.sh");

And my patch.sh has something like this

#!/system/bin/sh
cp /system/abc/* /system/etc

Also I tried with

#!/sbin/sh as bmm that I use copies all busybox files to sbin.

The exact error I get is that after extracting the file and setting perms, when I say run program, it returns "The file does not exist". However if I use aroma fm and look at /tmp/ the patch.sh is present and the permissions are correct.

@altered the issue is in updater script. Also some thing similar happens in your latest pa. The same error comes when it has to run /system/etc/boot.sh
[Motorola Atrix 2] jimbridgman:
Just for grins try this:

run_program("/system/bin/busybox", "/system/bin/sh", "/tmp/patch.sh");

Just make sure you use the proper location for busybox that you have installed (I always put mine in /system/bin). It might have something to do with BMM as well, I saw you mentioned that. When we used to use BMM when it first came out we had to convert the updater script to work with BMM, I think there is an option in the apk to do that, If I remember correctly.

While testing this updater script issue, you might want to stick with the a2 bootstrap, since we know it is a proper CWM. I know you mentioned that this does the same with PA, and I am guessing again that it might have something to do with BMM.

Give that line above a try and see if that works, do NOT use the busybox modules that BMM uses, use the ones that you installed that would be in /system/bin or /system/sbin, you do NOT use the ones in /sbin, becuase they are part of BMM or the kernel at that level, and who knows the source of that busybox (especially, if it is from the moto kernel, and truly not BMM).
[Motorola Atrix 2] alteredlikeness:
Yup.. I just noticed that yesterday when looking at my last_log - was thinking to move it to /bin and trying to run it from there..

Or apparently I don't need it, or the right parts of it are running.. Here's my log:

about to run program [/system/etc/bmm/script/boot.sh] with 1 args
run_program: execv failed: No such file or directory
run_program: child exited with status 1
[Motorola Atrix 2] Ravikirancg:
Will try that.. and the converter was for installing something to 2nd system.. it used to change all system mounts in updater script to webtop and other a couple of other things.. well what I m trying requires to be flashed immediately after installing a ROM.. what's strange is that when I use aroma fm and launch the console and run the script, it runs perfectly.. only with run program it says file not found. Though its there.. I think I will try with aroma installer..
[Motorola Atrix 2] MDMonster:
I know this thread is a bit old, but does anyone have a download of the Atrix 2 emulator or willing to upload it? I want to get it, but it no longer exist on Motorola's site -_-
[Motorola Atrix 2] 41rw4lk:
I was looking for the same thing about a week ago. I changed my HD and did a little bit of a new setup, got IntelliJ installed, went to open my emu and realized that I hadn't installed it yet. Went to the Moto/Google site, and it's no more. So, I'm looking for it too.
[Motorola Atrix 2] Aceofzeroz:
Well seeing that's the case now, I wonder if [MENTION=4523997]alteredlikeness[/MENTION] or any other could still have it? :confused:

Sent from the Ace's MB865 using xda-developers app
[Motorola Atrix 2] alteredlikeness:
I have never used an emulator for the A2... Sorry. I'd just test directly on my phone..

[2002]
[Motorola Atrix 2] Aceofzeroz:
Dang >_< but thanks anyway for the response. I hope you guys can acquire what you need though and something comes around. Good luck! :thumbup:

Sent from the Ace's MB865 using xda-developers app
[Motorola Atrix 2] MDMonster:
I've been practicing with ROMs myself and doing the same, using my phone, but I don't wanna miss messages, calls, etc. I don't have any extras phones :P.

---------- Post added at 10:49 AM ---------- Previous post was at 10:49 AM ----------

Well if anyone does have it, it'd be much appreciated if you could share it :)
[HTC Rezound] Marcismo55:
A very interesting ROM has been posted in the Sensation forum found for

HERE

by XDA's own Robocik and Capychimp of the RCmix Team. While I know this isn't specific to the Rezound, this certainly pertains to the newer crop of HTC phones scheduled to receive an update to Ice Cream Sandwich.

For anyone who doesn't know about the RcTeam, they provide the some of the most stable ports/bases of the latest leaked RUUs. This ROM happens to be based off of a leaked RUU for the HTC Sensation (a sibling of the Rezound) Android version 4.0.1 (will be updated to 4.0.3 upon official release I suppose) and will provide us with an idea of some the upcoming revisions to HTC Sense in preparation of the highly anicipated release of ICS.

Yes, there may not be much to read but sifting through the thread can provide us with some insight of what we'll get when HTC releases ICS for the newest HTC devices.

http://www.androidcentral.com/ice-cream-sandwich-rom-htc-sensation-leaks-out

http://android.modaco.com/page/news/_/android/htc-preparing-android-40-ice-cream-sandwich-wi-r137

http://www.theunwired.net/?item=lea...-5-rom-shows-htc-sense-for-ice-cream-sandwich

http://www.zdnet.com/blog/cell-phon...ch-on-the-galaxy-nexus-video-and-gallery/7007
[HTC Rezound] SamXp:
Exciting! So close, I can taste the ice cream!
[HTC Rezound] blestsol:
Its wack IMO.
[HTC Rezound] Marcismo55:
LOL. Have you personally used it?

They have to start somewhere obviously. Just as with any development stability first and visual stuff later. Just sayin...
[HTC Rezound] AndroidGraphix:
Thanks for sharing. I had no idea.
[HTC Rezound] zetsumeikuro:
I won't be using the stock launcher so that really wont bother me.
[HTC Rezound] blestsol:
No but based off what people are saying and the article its nothing new or special and I hate the new bar at the bottom.

Sent from a Rezound, crappie camera included.
[HTC Rezound] jayochs:
that rosie is god awful. don't touch the damn arc lol that's what i like best about sense, damnit!
[HTC Rezound] zetsumeikuro:
I really could care less about the looks. I just want ICS for the performance increases.
[HTC Rezound] miketwoms:
totally agree! I like the added functionality, it was much overdue. But the shape really says "Sense" to me after using it for so long, and it's a shame they'd change it.
[HTC Rezound] blestsol:
That's cool, I just wanted to see htc do something fresh and new and add performance improvements.

Sent from a Rezound, crappie camera included.
[HTC Rezound] SamXp:
I'm tired of the "arc". I like being able to choose a dock style, a la ADW Launcher!
[HTC Rezound] crazeco:
I understand why HTC is implementing sense from a business perspective - it's the only way for manufacturers to differentiate their products. This is why I left the Rezound for the Nexus. HTC will NEVER give users vanilla android. Sense = bloat. Bloat = lag.

And before anyone jumps down my throat - there's a major reason everyone wants perm-root on the Rezound so badly - to stop using Sense! Why else would the temp-root apps that allow you to "de-sense" over in the development forum be so popular?
[HTC Rezound] *Madmoose*:
I think you're very misled if you think most people want root to disable sense.
[HTC Rezound] AtLemacks:
There are people that would like to remove Sense tied apps. I like the look and feel, but I don't need 3 twitter apps, lol. They really should consider the "bloat" apps optional. I am sure there are people who prefer Sense Social networking over having different apps, then there are people who prefer using the branded app from the network itself. If they are going to lock us down, we should at least have the ability to pick and choose.
[HTC Rezound] Marcismo55:
Just sayin...

I'm not going to lie, I'm not too crazy about that dock either but some of you are missing the bigger picture. HTC already has ported Sense over to the ICS framework. This means we could be fairly close to receiving our update. That being said, not only will we benefit from the features of ICS but maybe there will be some loopholes for root. After all, it is a new base for HTC as well.

I find it funny the first mentioned is how "ugly" the dock is instead of the overall features.

In regard to Sense, I enjoy it because after flashing AOSP roms, sometimes I just want things to just work. No using 3rd party apps or anything like that, all stock but with minor tweaks (when rooted of course).
[HTC Rezound] sbtim:
I like then new look, I don't care about the launcher either way as I never use the stock one to begin with.

What I'm really hoping for is for sense to be SLIMMED DOWN. A lot. Sense is just way too bloated compared to Touchwiz or whatever Motorola is calling their new skin.
[HTC Rezound] crazeco:
Really? Because the most viewed and replied to thread in the Rezound forums deals with disabling the framework of Sense and additional bloat.

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

My point is, HTC is going to implement the exact same thing in ICS, which is why so many people find the Nexus attractive. It would be an extremely difficult choice for me b/w the Nexus and Rezound if HTC announced it would implement a vanilla android platform for ICS that's bloat free.
[HTC Rezound] nrfitchett4:
If sense equals lag, then why does the nexus lag? I like sense and so do a lot of people that use HTC phones.
[HTC Rezound] shankville75:
So what about when S-off comes? The Nexus won't be as attractive. The ability to run Vanilla ICS or bloat-free sense will exist. At least the option to switch between the two will be there and we won't be left with just different versions of "Vanilla" ICS which will get old.
[Galaxy S I9000 Q&A, Help & Troubleshooting] ph0tios:
I just moved to Germany, and purchase this phone...Is there anything special I need to do or avoid when rooting this phone to keep the phone and data working? Or can I just root using the standard root methods for this phone?
[Galaxy S I9000 Q&A, Help & Troubleshooting] Bubble-be:
No, why did you think that ?

Easiest is to flash another kernel, like Semaphore, which will give you root instantly.
[Galaxy S I9000 Q&A, Help & Troubleshooting] ph0tios:
Ok, thanks for the help. I figured it wasn't a big deal...I just wanted to make sure before I did it. Thanks again!
[HTC EVO 3D] jj4201998:
I hope somebody can help me with this, I have searched all over and cannot find anything. I am looking for a mod that will add the date and time stamp into my pictures on the EVO 3d, I would like this done with the stock camera app. My EVO 4g had it, but HTC decided to take it out for some stupid reason.
[HTC EVO 3D] LfnsR:
Are you talking about it showing on the picture or just being able to get the details? The details are found by opening the picture, hit menu key and then details. The date and time pic was take is there with other info too.
[HTC EVO 3D] jj4201998:
I am talking about the one that shows up on the bottom left corner of the picture.
[HTC EVO 3D] LfnsR:
Ah, sorry but that I don't know. Personally for me I wouldn't want it - but that's me. :)
[HTC EVO 3D] jj4201998:
My albums are broken down by location and when I visit a place more than once it comes in handy.

Anybody else have any ideas?
[HTC EVO 3D] mattrb:
I recommend that you stop using your phone to categorize your pictures and start using adobe lightroom or just windows explorer to organize your pictures. If you could just use astro or e s file explorer to easily read the date stamps
[HTC EVO 3D] jj4201998:
I use Picasa to organize my pictures thru windows explorer. However, if you read my request I am looking for a MOD not another way to organize my thousands of pictures.
[Samsung Galaxy Nexus] radiohead14:
sorry if this isn't the right forum to post this, but wasn't sure where i could ask... my upgrade is due on verizon at the end of the year. i'll be replacing the original incredible, which was a great phone. i like the gnexus except for the size. i would really like something close to the size of the incredible.. does anyone know if there are other alternatives coming out soon from other brands that will be smaller then the gnexus and will be vanilla android? thanks
[Samsung Galaxy Nexus] rabaker07:
Try the HTC Rhyme...
[Samsung Galaxy Nexus] DirgeExtinction:
Don't know of any vanilla android phones coming out soon. Most,if not all, have a manufacturer UI.
[Samsung Galaxy Nexus] rabaker07:
And flash AOSP.
[Samsung Galaxy Nexus] radiohead14:
the htc rhyme doesn't have 4g tho, and is it only available in purple? i saw that htc had 3 different colors on their site, but don't see them in the verizon store. i also wouldn't mind if it's a different ui, since i'm experienced in rooting phones, so as long as the phone has a good dev communtiy going, i'd be fine with it, since i'll prob stick cm in there.
[Samsung Galaxy Nexus] radiohead14:
anyone know what verizon phones will be announced at ces or mwc? will verizon get the galaxy S3?
[Samsung Galaxy Nexus] zeke1988:
iphone 4s

10 weird letters
[Samsung Galaxy Nexus] radiohead14:
i have considered the 4S, but i'm worried about the limitations. things like not having poweramp (which is the best music player), swype, gapps integration, and 4g... i do really like the camera on the 4S tho, and the camera is one of my important deciding factors. how's the battery life now with the 4S? is it a lot better than the Gnex?
[Samsung Galaxy Nexus] neok44:
there are no stock android devices coming out anytime soon, so if your looking for something stock, your going to have to, i guess settle for the galaxy nexus in your case, or hope for an AOSP rom for a future device.
[Samsung Galaxy Nexus] joshnichols189:
There are no 4g devices the size of the incredible.
[Samsung Infuse 4G] Doopmaster:
Somehow my phone got bricked while being on Dlev rom for the longest time. I unbricked my phone with Odin but now there is completely no sound coming from my phone. In addition, whenever i try to flash any other rom after re rooting it and putting cwm on it, it goes into the samsung boot loop. Anyone have any ideas whats wrong?? Thanks
[Samsung Infuse 4G] jvanlew:
So you used GTG's Ultimate Unbrick to go back to complete froyo stock (UCKD5) and now you have no sound?
[Samsung Infuse 4G] Doopmaster:
yes that is correct
[Samsung Infuse 4G] Erik_T:
Yeah.. that happened to the second infuse that I got in about 5 days... it stopped working. I called up Samsung and they told me to do a factory reset. (never rooted once, still was on froyo..) Then I turned it back on and lo and behold the speaker didn't work. Then I took it back to Best Buy and the lady confirmed it didn't work.. the same as I did.... But anyway, there's my experience. Probably a bad batch somewhere along the lines..

So all in all give Sammy a call and see what they will do for you... Hopefully be helpful. Maybe they will tell you to send it in so they can repair it. And the bootlooping.. keep trying gtg's ultimate unbrick. It sometimes needs different usb slots, cables or even the whole computer. It takes patience I found out one lucky day..
[LG Optimus 3D] Achelos:
The glass plate of my phone broke into pieces. Haven't insured it and the VIP service isn't going to cover this of course.

Now, a new digitizer glass-plate isn't that costly (37ish Euro's) and I have experience fixing alot of phones. But I would rather always use a guide for proper disassembly.

After trying a few searches for an hour long, I haven't found anything.

Can any of you guys per chance aid me in this? You have my thanks.
[LG Optimus 3D] Barracuda77777:
Here it is:

http://www.youtube.com/watch?v=BxKozJEY2RE&feature=youtube_gdata_player

Thrill should be the same as the optimus

Good luck
[Motorola Droid 3] DoubleYouPee:
If so ..why?

Does it consume more battery?
[Motorola Droid 3] Senate9690:
Nope and I would bet it does. Who wants google knowing where you are at all times? (even tho google maps will tell them) Leaving any GPS feature on will consume battery, best bet is to use the standalone GPS and turn it on only when you need it.
[Motorola Droid 3] eww245:
I do for beautiful widgets, only turn it on to find the location then turn it off.
[Motorola Droid 3] codemonkey2k5:
Yes I do. I use it for my home automation.

Google's location inst as bad as GPS but GPS is far more accurate.

CM
[Motorola Droid 3] Sal R.:
Yep. I used it to help localized searches in maps.

I've never measure battery life with and without it, but I can get 13+ hours on a single charge under light to moderate usage.
[Motorola Droid 3] koftheworld:
Do you need it for gmaps?
[Motorola Droid 3] Sal R.:
Not really.

You can still view maps, but your location will be unknown until you activate gps and it gets a lock.

Searches will also be genralized under your current map view.
[Motorola Droid 3] doogald:
I have all location services on. When I want to use an app that uses location, I want them to know where I am ASAP. I don't really care if Google knows where I am. I doubt that they really care where *I* am.

I also have VZW location turned on. Of course, as long as my phone is on, they have a pretty good idea of where my phone is, so using VZW location doesn't bug me.
[Motorola Droid 3] Endoroid:
Location services only gives a general area. Normally its a kilometre radius. Google can know my general area I don't care. I keep GPS off unless I'm using maps
[Motorola Droid 3] Izeltokatl:
I leave all location services on, because I could honestly care less if they know where I'm at. Now once I get into drug dealing or the mafia, or maybe CIA work.then I'll care. =-)

As far as the GPS/location debate.the GPS doesn't technically go on unless an app calls for it. Enabling it, just means an app or service can tap it as needed.most apps only use it infrequently.but not enough to notice a major difference in battery life. Unless of course you're using navigation.

Don't believe me, just try it out for a week. GPS on, then GPS off another week. You be the judge.
[Motorola Droid 3] DoubleYouPee:
I assume you mean couldn't care less
[Motorola Droid 3] tcrews:
This...100% correct. The GPS doesn't do anything until an app calls for it. No battery drain just by having it enabled.
[Motorola Droid 3] Nardholio:
This app is awesome https://market.android.com/details?id=ch.rrelmy.android.locationcachemap it lets you view the saved locations in your phone's memory and clear them out. It even lets you block saved location updates. Cops routinely pull this info off people's phones, so there's no reason to save it :D (even if you've done nothing wrong)
[Motorola Droid 3] MrObvious:
One cool thing is that when I am at home somehow with ICS it remembers to turn on my Wi-Fi when I get to the house. I don't know how exactly but it does. I have Wi-Fi location enabled.
[Motorola Droid 3] Manic_Dragon:
One of the very first things I do is disable location based services.
[Samsung Galaxy Nexus] open1your1eyes0:
To any developers out there:

I'd like to place a request for someone (if possible) to develop this mod. This has been a fairly common complaint among many users that are new to ICS. The stock Messaging app for ICS has disabled the Return key for almost every keyboard (stock and 3rd party) to allow users to skip a line and keep typing underneath. I can personally attest to this being an issue that it is something many of us have gotten very used to in Gingerbread and we are finding it very uncomfortable to cope without it. If it is possible to develop such a mod (modify the Messaging app perhaps?), I am sure that many of us here at XDA and beyond would highly appreciate it and be thankful for your work. Any comments from users and developers greatly encouraged. Thank this post if you'd like to see this developed. :)

Messaging App

Other Apps

​
[Samsung Galaxy Nexus] Flip35:
man i +1 to that, thats killing me for work texts
[Samsung Galaxy Nexus] open1your1eyes0:
Bumping this
[Samsung Galaxy Nexus] copkay:
So I decompiled the Mms.apk (Messaging App) and found the relevant XML document that defines the compose activity (res/layout/compose_message_activity.xml) which contains the following:

I changed the inputType to remove "textShortMessage", and the imeOptions to remove "actionSend". While this does bring back the enter key:

The enter key has no effect. Interestingly, if you press enter while typing a misspelled word, it will insert the correct word, but it will NOT insert a new line. Any other devs have any ideas? I'm fairly certain that this should work as-is, but there seems to be something else preventing the insertion of a newline character.
[Samsung Galaxy Nexus] caliber177:
BUMP because this is important.
[Samsung Galaxy Nexus] Clancy_s:
I can't help with the stock keyboard but on my GN the return key works for Swiftkey X Keyboard (paid version now but iirc it also worked on the free version).
[Samsung Galaxy Nexus] caliber177:
Yeah.. but im using swype...
[Samsung Galaxy Nexus] open1your1eyes0:
I think in Swiftkey that return key is just a workaround key not the default. It becomes the default in any other app however just like the stock keyboard.
[Samsung Galaxy Nexus] HeartBreakKid22:
Same issue

Got the same issue here, driving me crazy. +1
[Samsung Galaxy Nexus] Clancy_s:
Que???

I have swiftkey x as my default keyboard, I get a functioning return key in Handcent, Astrid, Our Groceries, Exdialer and in the stock browser.
[Samsung Galaxy Nexus] open1your1eyes0:
This is correct. Swiftkey will work with showing the return key by default in all those apps...as will the stock keyboard as well. The issue here comes when you use the stock Messaging app that comes in ICS. No matter what keyboard you use, it has the note to disable the default return key for the keyboard that you're using. Swiftkey has a nice workaround that let you select the return key as an alternative key but this is the only keyboard known to work this way. What we're trying to do is to get every other keyboard including the Swiftkey to show the return key by default using the stock messaging app.
[Samsung Galaxy Nexus] open1your1eyes0:
Bumping again
[Samsung Galaxy Nexus] caliber177:
Bump away, this deserves attention.
[Samsung Galaxy Nexus] Popup-ch:
Are there any known solutions?

I'm using the TouchPal swype-like keyboard, and it shows a 'return' key even in the Messenger app - but it doesn't insert the CR/LF (it only accepts current suggestion).