yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Gio GT-S5660] pureexe:
I am newbie. And I learn C Language in my School.

So I try to write this script.

#include<stdio.h>
#include<stdlib.h>
static FILE* acmd_pipe;
int main(int in,char **str)
{
int fd = atoi(str[2]);
acmd_pipe = fdopen(fd, "wb");
setlinebuf(acmd_pipe);
fprintf(acmd_pipe,"ui_print \n");
fprintf(acmd_pipe,"ui_print %d\n***",in);
int i;
for(i=1;i<=in;i++)
{
fprintf(acmd_pipe,"ui_print %s***\n",str[i]);
}
fclose(acmd_pipe);
}

I compile this program.I add this script to update.zip And when I Flash my update.zip

this is output

4***2***18***/sdcard/update.zip***(null)***

I know. From my script.

str[0]=2;

str[1]=18;

str[2]="/sdcard/update.zip";

str[3]=null;

My Qusetion!!!!

What is data in str[0],str[1] And str[3] mean?

Sorry for my bad english.

Note I use PX-recovery 0.36 beta
[Samsung Galaxy Gio GT-S5660] voetbalremco:
you're writing an updater script ?

those lines aren't good if thats so
[Samsung Galaxy Gio GT-S5660] pureexe:
After compile this script will rename to "update-binary" (Is it mean updater script?)

Note * this script write by using C language.

sorry for my bad english *-*
[Samsung Galaxy Gio GT-S5660] voetbalremco:
No no thatals fine.

I just dont see the way of compiling your update binary/scripts. L
[Samsung Galaxy Gio GT-S5660] pureexe:
+

I Compile using gcc (from C4Droid)
[Motorola Atrix 2] Milenko2121:
need help... I cannot apply any updates to my AT&T Atrix 2.

i keep getting this error

assert failed: motorola.steflash("/tmp/steflash")
[Motorola Atrix 2] 41rw4lk:
What update are you trying to install? OTA updates usually require a stock system, so if you've modded your system then you'll probably need to FXZ a clean setup. *Note - ICS has no offical FXZ and should use the appropriate resources according to the version you have.

If you post more info about what you have and what you're trying to achieve then I'm sure we'll be able to help you along.
[Motorola Atrix 2] Milenko2121:
I'm trying to flash the official AT&T ICS that released yesterday.

I was originally rooted with bootstrap on 2.3.6 with the Lithium Rom.

I unrooted the phone, flashed 2.3.6 with RSDLite to get a clean phone. This is when I tried the OTA which gives me that error.

I have tried multiple scripts here. I've used RSDLite and also the fastboot scripts to return to 2.3.5/2.3.6 from ICS(or GB) countless times.

I've never had this much trouble before.
[Motorola Atrix 2] Milenko2121:
has anyone had this issue? i can't even find anything about this on google.
[Motorola Atrix 2] Milenko2121:
well if this helps anyone at all.

I am flashing above 50% battery.

after RSDLite to 2.3.6 I still get this error, but it shows 2.3.6 just fine when I start up again.

When I do the update for ICS it does everything just fine all the way up until "updating STE BP"

this is where it gets held up and throws the error.

updating STE BP ..

assert failed: motorola.steflash("/tmp/steflash")

E:error in /cache/Blur_Version.55.13.25.MB865.ATT.en.US.zip

(Status 7)

Installation Aborted

I have tried the method of downloading it straight from OTA and also from copying the file from their website to my SD Card and installing this way.

Both methods result in the problem.

the exact method I have been doing is this.

I was originally on 2.3.6 rooted bootstrap on Lithium rom

I did the clean up method for bootstrap and then ran the unroot script.

Then used RSDLite to flash to 2.3.5 (tried straight to 2.3.6 as well)

when it reboots it still throws the error even for 2.3.5/6 steflash

I then do the OTA for ICS over WiFi which again throws the error.

I would extremely appreciate any possible help you guys could give.

UPDATE:

grabbed this from the log file. here is where the STEFLASH code starts.

Extracted file "/tmp/steflash/config.txt"
minzip: Extracted file "/tmp/steflash/cops_data.csd"
minzip: Extracted file "/tmp/steflash/flash_archive.zip"
minzip: Extracted file "/tmp/steflash/production_loader.ldr"
minzip: Extracted file "/tmp/steflash/prologue_loader.ldr"
Entered SteFlashFn()
updating devtree ...
Unmounted system image
updating STE BP ..
MID launched
Flashing timed out. killing mid(97); waiting for MID exit.
Flashing failed, MID exited;; retry.
MID launched
Got MfaResult signal with value fail
Flashing failed, MID exited;; retry.
MID launched
Got MfaResult signal with value fail
Flashing failed, MID exited;; retry.
script aborted: assert failed: motorola.steflash("/tmp/steflash")
assert failed: motorola.steflash("/tmp/steflash")
E:Error in /cache/Blur_Version.55.13.25.MB865.ATT.en.US.zip
(Status 7)
Installation aborted.
blk: partition "userdata" size 4961730560 not a multiple of io_buffer_size 524288
I:Set boot command ""
[Motorola Atrix 2] Milenko2121:
Anyone?
[Motorola Atrix 2] Apex:
While I'd like to tell you that you searching on Google was the right approach, you have come up short because these things have been addressed countless times here on xda. So, anyone else reading this, please include "xda" in your Google searches. That will point you back here, whereas otherwise searching xda FROM xda yields less than satisfactory results at times.

You were on 2.3.6 and wanted to update to ICS, but you had the Atrix 2 Bootstrap app and likely CWM Recovery as well. That said, and if so, you have some file finding and deleting to do:

You will need to delete all the files associated with CWM and the Atrix 2 Bootstrap (if ever installed) via Root Explorer or ADB:

Removing Atrix 2 Bootstrap:

Delete file /system/bin/logwrapper

Delete file /system/bin/hijack

Rename file /system/bin/logwrapper.bin to /system/bin/logwrapper

Delete directory /preinstall/recovery (Note: This directory might not exist)

Since you also installed the recovery on boot you need to restore the following:

Removing Bootstrap Recovery on Boot:

Delete file /system/bin/mot_boot_mode

Rename file /system/bin/mot_boot_mode.bin to /system/bin/mot_boot_mode

Thanks jboxer

Sent from my rooted Mayan Calendar
[Motorola Atrix 2] Milenko2121:
Quick question before doing all that again.

Since I did the RSD flash, shouldn't it have made it stock and not require those steps?
[Motorola Atrix 2] blackiceboi:
has anyone solved this because if you flashed back to stock then i agree with you, you shouldnt need to delete these files
[Motorola Atrix 2] Apex:
No, it doesn't work that way. Post number 8 details how to solve this issue. Simply flashing back to stock doesn't remove the files, and therefore they must be removed manually.

Brought to you by Carl's Jr.
[Motorola Atrix 2] jackdowsan:
Does this work? I have the same problem..
[Motorola Atrix 2] Apex:
Are you still on 2.3.6? :eek:

"Laughter is the best medicine, except for treating diarrhea."
[Motorola Atrix 2] alteredlikeness:
Lol.. :D Great sig..

Apex's question.. Plus, do you have the hijack and .bin files? Are you rooted?
[Motorola Atrix 2] deveshmanish:
Hey bro you still visit these forums?Haven't seen you in here like forever.How've you been?
[Motorola Atrix 2] jackdowsan:
Yea, I was on 2.3.6 and had /system/bin/logwrapper.bin but no hijack file or any other files you mentioned..

yea, I was rooted, that was needed to change those bin files..after that, I fxz back to 2.3.6 stock again and hopefully this time the update will work ...

UPDATE: Again the same error

updating STE BP ..

assert failed :motorola.steflash("/tmp/steflash")

E:Error in /tmp/sideload/package.zip

(Status 7)

Installation aborted.

Should I have an unlocked boot-loader or something?
[Motorola Atrix 2] Apex:
I'm doing well, thanks! Long time, so see is right! PM me when you get a chance. :D

The bootloader is locked up tighter than a 16th Century King's daughter's chastity belt, so don't worry about that being an issue. Are you using Root Explorer to delete and rename the appropriate files? Also, you say you've already tried to use the above steps, then used the FXZ back to stock 2.3.6 and you still can't get the Moto Server update, correct?

"Laughter is the best medicine, except for treating diarrhea."
[Motorola Atrix 2] jackdowsan:
Yea, I used root explorer to rename and delete files..and yea, even after these and fxz back to stock 2.3.6 I still cant get the update to work. Also, weird thing is it shows no IMEI, no baseband and is always stuck in Airplane mode.
[Motorola Atrix 2] Apex:
Were you able to verify that the Atrix 2 Bootstrapper files and the Bootstrap Recovery on Boot files were in fact deleted and renamed correctly? Also, which FXZ file did you use in RSDLite?

"Laughter is the best medicine, except for treating diarrhea."
[Galaxy Ace S5830i General] shariqx:
Hello Guys,

I have recently purchased Galaxy GT-s5830i, (DLDA1/XXLA1).

One problem i'hv been constantly observing is, The process named 'Android System' takes most of the battery ( Usually 70-80%) when I see the battery use.

I'hv tried uninstalling unused apps( Google transport services, Maps etc). Ihv even tried Custom Roms, But no help!

Any Ideas why is it so? any fixes?

Thanks in Advance.

Edit: Please Post how much battery does Android System takes in your case.
[Galaxy Ace S5830i General] madman:
if this is your first android "smartphone" then its completely normal to worry about battery unless you get used to it
[Acer Iconia A700 and A510] cdrov:
Hi, doe s anybody experience significant light bleeding from A700's Screen? I have just noticed that mine has some light bleeding on the lower right corner is it normal?
[Acer Iconia A700 and A510] vBoedefeld:
Can confirm exactly this light bleeding. It has been ther since i got my A700. Think it's normal and nothing to worry about.
[Acer Iconia A700 and A510] cdrov:
Thanks its a relief that i will not have to deal with acer's service ;)
[Acer Iconia A700 and A510] TomONeill:
I've got it too a little. It's a common LCD issue, not really acceptable, but since almost every tablet's got it..
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] •Nix•:
Hi friends,

I completely followed the tutorial give in this thread - http://xdaforums.com/showthread.php?t=1700749&page=191

Before that I rooted my phone and also installed CWM5 Recovery too.

Now the problems I am facing are:-

Messaging app not working, says "Could not launch the requested activity"

Apocalypse UOT not working

I am attaching the screenshots for reference, please help; I couldn't reply on development thread :(
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] southernknight:
For the message problem, it is because apocalypse is a barebone rom which means that some system app like mms.apk and camera.apk are remove to make the rom lighter. But this SMS problem can be solved easily by downloading a SMS app like GO sms or by putting back the mms.apk back into the system/app folder and set the permissions correctly (rw- r-- r--). As for the theme, just apply and ignore the missing assets pop up. Hope it helped you:)

This is sent from the moon using a 100gbps connection:p
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] •Nix•:
Thanks bro, I was in process of restoring old apps and yes, SMS is working now. I can't find inbuilt camera app, installed camera 360, but that doesn't support recording. Could you suggest one that will work with this ROM?
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] southernknight:
As for camera and video recording I don't have any recommendations but go here:

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

And I am sure there will be a camera.apk attached to one of the post there.

You can install it by putting the camera.apk in the system/app folder and setting the correct permissions rw- r-- r--.

Am glad to help:)

Edit: if you cannot find it, go to the third page of the thread and look for a post by amrith.28 he have the camera.apk attached to his post.

This is sent from the moon using a 100gbps connection:p
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] •Nix•:
Thanks a lot bro. I want to remove the included recording app, but getting no option to do that :s Also, some of the apps got installed, others are giving error maybe because of permission thing you talked about. Is there a guide I should follow?

Thanks :)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] southernknight:
What recording app are you removing? And are you trying to remove a system app or something?

This is sent from the moon using a 100gbps connection:p
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] •Nix•:
Yes, this is some inbuilt recording app, I do no like it. Also, please tell me about those permissions to install app, if there's a tutorial then please share link :)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] southernknight:
For those permissions, download any explorer (e.g root explorer) and go to system/app and long press on the app that you want to change the permissions and then a pop-up will appear. After that, scroll to permission. Click on it and set the permission like that rw- r-- r-- and then reboot your phone. Screenshots of how to do it below: sorry for replying that late:o

This is sent from the moon using a 100gbps connection:p
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] •Nix•:
Hey, thanks for the response :) I'm gonna do it right away, could you tell me about uninstalling ROM apps too? I am not finding a way to uninstall them :/
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] southernknight:
download any explorer (e.g root explorer) and go to system/app and long press on the app that you want to delete and then a pop-up will appear. After that, scroll to delete and press delete. Then reboot your phone. The app should be gone now:)

This is sent from the moon using a 100gbps connection:p
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] •Nix•:
Sounds cool, I did install root explorer earlier today, will try what you told me :D One doubt, will this method remove the app completely? I mean like in windows we have certain registry entries, that remain if we delete program files; isn't there anything like that in linux (me linuxnoob)?
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] •Nix•:
Hey, I tried to change the permissions and got the error. Please check the attachment.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] southernknight:
Which apk is that, camera.apk? If so, place the apk file in the system/app folder first then change the permission. Do not change the permission in your sdcard.

This is sent from the moon using a 100gbps connection:p

---------- Post added at 03:50 PM ---------- Previous post was at 03:49 PM ----------

Yes, it will remove the app completely

This is sent from the moon using a 100gbps connection:p
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] geovanehenry:
pass the rom again
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] •Nix•:
Hey, sorry I had gone countryside for my cousin's marriage. Yes, the permissions are changing, but applications are not installing yet; getting the same error - Application not installed. I am trying to install Hi-Q recorder.

Do you mean I should re-install the ROM?
[Transformer TF300T Q&A, Help & Troubleshooting] Hogyoku:
I am on a OTA JB bootloader :crying: and i want to know if its posible to flash CM10 i tried it once befor but the tab got stuck on the bootloader

any help would be nice :good:
[Transformer TF300T Q&A, Help & Troubleshooting] Blubberor:
Its your first post and you have not even searched for it I would bet on that...

No, not possible right now, thats why you should stay on ics and first set up nvflash, or you are stuck on jb bootloader...
[Transformer TF300T Q&A, Help & Troubleshooting] Hogyoku:
I did searched for it and alot but some people told me that CM10 will be supporting JB Bootloaders and i was just wondering

but thanks for the respond anyway :)
[Transformer TF300T Q&A, Help & Troubleshooting] Blubberor:
http://xdaforums.com/showpost.php?p=32340188&postcount=343

cannot see where someone told you that it is working... it is working HOPEFULLY in the future ;)
[Galaxy S II Q&A, Help & Troubleshooting] cangguek:
I have something like 20 or more files inside EFS_BACKUP folder in my external sdcard (Galaxy S2-9100). The file name are something like: "efs_30May2012-0540.tar.gz" with size 37.26KB. I tried to uncompress and the size changes to 5MB something. Yes i used to install a lot of ROM to play, everytime I install the new ROM, CWM alwayas making that efs backup.

This is first time I am installing AOKP (before was always AOSP), and now my IMEI missing and the phone not picking signal.

I've search all the best way I think to know how to restore "efs_30May2012-0540.tar.gz" but I could not find the instruction.

I dig trhu CWM menu, also not finding way/menu on how to restore "efs_30May2012-0540.tar.gz".

I've isntalled: kTool, SGS-II Tool, Root Explorer, also no simply way on how to restore efs using those app.

Can anyone shed a light to me on how to do it?. I have a lot efs backup under different date-name as above "efs_30May2012-0540.tar.gz", etc, but I do not know how to restore.

All the app above only can restore if the efs backup made by those specific app only, on certain save location only, etc.

I myself could not believe that the solution is not easily found in google (XDA) to best of my search ability.
[Galaxy S II Q&A, Help & Troubleshooting] Immortalis:
Why don't you just flash another modem?
[Galaxy S II Q&A, Help & Troubleshooting] Mantulis:
<Deleted>

---------- Post added at 11:23 AM ---------- Previous post was at 11:06 AM ----------

Hey so its really simple boot in cwm and navigate to backup&restore and you'll find an option to restore efs partition.

If there's no option for restore tell me i have other solution for you.
[Galaxy S II Q&A, Help & Troubleshooting] cangguek:
All,

Thanks for the response.

Mantulis:

My CWM comes from ReVolt 2.4JB is CWMR version 5.5.0.4, and there is no menu of "Restore EFS Partition" or such.

The only available restore is restore of nandroid files the one I made previously before installing any new ROM.

przemcio510:

Which modem to flash, my SGS2 is Intl version.

before I lost my IMEI, the phone missing 3G and EDGE, but I still can place a call. Then I read on xda to install GetRIL to get the internet back from Playstore, after GetRIL "repair" my phone, then I lost the IMEI.
[Galaxy S II Q&A, Help & Troubleshooting] Immortalis:
You can't restore efs through CWM, Mantulis.

Cangguek, you have 30+ modems to choose :)

Your issue can be fixed by flashing a modem through Odin.
[Galaxy S II Q&A, Help & Troubleshooting] Mantulis:
Ok so this is may other solution for you its more advance but i think you can handle it:D

Under condition that

1. you have on your phone back up file "efsdev-mmcblk0p1.img.gz"

2. this file contains correct/oryginal data (not corrupted)

3. you have adb on your pc

do following:

1. go to CWM recovery

2. mounts&storage - make sure /efs is not mounted and a place where your backup file is placed is mounted (eg /sdcard or /data)

3. connect pc to the phone and run adb shell

4. execute following commands:

gzip -d efsdev-mmcblk0p1.img.gz

cat efsdev-mmcblk0p1.img > /dev/block/mmcblk0p1

ADB for setting it up : http://xdaforums.com/showthread.php?t=879701

Good luck mate if you come up with problem just let me know.

I think together we can crack it :D

<Edit>

I just come up with what i forget GSII_Repair https://play.google.com/store/apps/...oogle&utm_medium=organic&utm_term=gsii+repair Try this first before using ADB method!.
[Galaxy S II Q&A, Help & Troubleshooting] cangguek:
Mantulis:

Thanks for write-up, restoring efs seems not as simple as when performing the efs backup.

przemcio510:

I will try to odin flash the modem, since it is much simpler. Doy you think flashing modem thru CWM will solve the problem?.

Thanks for the help all....
[Galaxy S II Q&A, Help & Troubleshooting] Immortalis:
I had similar problem and flashing modem via CWM didn't help.

Only Odin helped me.
[Galaxy S II Q&A, Help & Troubleshooting] Mantulis:
Did you read my edited post :D

Anyway good luck.
[Galaxy S II Q&A, Help & Troubleshooting] cangguek:
All:

Thanks for all support.

Finally I did as: http://youtu.be/bT9f7Ni315Y.

And using the file here: http://www.wuala.com/dinamicamedia/Galaxy_S2/ics_full_wipe.zip (file link available on the tube video).

Now my SGS2 back in service.

All detail of my phone were all returned: baseband, imei, serial, and imei sv.
[Desire HD Q&A, Help & Troubleshooting] pahildo:
Anyone tried this on our DHD

Pimp my rom (Tweaks/Mods/Apps) ......found on the XDA Portal
[Desire HD Q&A, Help & Troubleshooting] kingofnice:
I've tried it. Works great. No problems to worry about.

- hit my thanks button if i helped you -
[Desire HD Q&A, Help & Troubleshooting] FaiLiix:
Could you link the original thread?

Sent from my Desire HD
[Desire HD Q&A, Help & Troubleshooting] igloo_01:
http://xdaforums.com/showthread.php?t=1908269
[HTC One X] vegetaleb:
Ok I bought the HTC stereoclip last week from HTC Lebanon (Microage)

The price was really fair specially for my country where everything is 2-3x more expensive!

Paid 60$ :good:

I tested this car accessory with 2 devices: One without aptx(a sort of BT codec) the Cowon J3 and the other my lovely One X which has aptx.

With Cowon J3:

-Pairing was fast and good

-Sound quality is ...crappy

-Maximum volume output in my car stereo speakers (Citroen DS3) is weak

With HTC One X:

-Pairing was fast and good

-Car app open automatically BT and stream without asking,very convenient!

-Sound quality is...very good!

-Maximum volume output in my car stereo speakers is high,let say at the same level as an audio CD!

HTC car app uses a ''modded'' version of HTC Music app,the navigation is easier in case of a car holder but you get only the Beats sound enhancer,which is too bassy!

The trick I found is to go to Viperx tweaks (only in viperx rom) and replace the music app in car app by the HTC ''classic'' music app,I then gain multiple sound enhancers like SRS WOW and others :laugh:

So in conclusion, yes it will work with many BT devices like the Cowon J3(which has only earphones BT mode only) but the sound quality and volume will be weak, if you want to buy it for the aptx ready HTC One line then it's a winner.

I am going to buy the HTC car holder for One X,it will be a very nice car audio system then...
[HTC One X] DarkyHero:
This is just a suggestion, but could you also use a USB On The Go cable?
[HTC One X] ikjadoon:
Can you link your phone, at the same time, to your car's Bluetooth for phone calls?
[HTC One X] vegetaleb:
If someone calls the music is automatically cut but the voice call doesn't work with stereoclip.I don't have BT on my car radio that's why I bought this nice piece.

Yes you can recharge it with a micro usb cable while it's playing but anyway the battery last 3 days if you don't turn it off
[HTC One X] rosedog:
I bought this too this past weekend.

I use it 2012 Chevy Tahoe LT. The Tahoe has BT for phone calls built in. I can pair my phones between the two BT devices.

Phone - Tahoe

Media - HTC Stereoclip

The phones I'm using? Samsung Galaxy S3 and Galaxy Note.

Audio sounds great!

Thats good to know, I was wondering about that.

Technically while this is an HTC product, everyone with an Android phone/device should know about this. Honestly though I'd like to see the price drop down 40%-50%. I have a BT stereo headset that allows for 3.5mm plug-in and does the same thing and it cost $30. That battery doesn't last as long (15-20hrs while streaming) but you get the point.

I bought mine at Best Buy in the Cell Phone department. I had to find it on my own because the employees are inept and looked at me funny when I explained it to them.
[HTC One X] vegetaleb:
The big bads of JB + Sense roms?

-No more Tunin radio integration in Car App

-Only Beats mode available now for Music app whereas it's in the car app or the classic HTC Music app.

Don't know why HTC took out all the others (SRS,Equalisers,presets...)