yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] SeanFromIT:
Has anyone here compiled a which command for Android?
[Android Software/Hacking General [Developers Only]] doktornotor:
Use type -p which is a shell built-in and portable pretty much everywhere.

$ type -p busybox
busybox is /system/xbin/busybox

$ type -p type
type is a shell builtin

;)

Well, anyway, tried to download 1.19.0 (installed via Busybox Installer from Market) and it apparently has which:

$ busybox which busybox
/system/xbin/busybox

$ busybox
BusyBox v1.19.0.git.adrynalyne (2010-12-21 22:03:30 MST) multi-call binary.
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.
[Samsung Infuse 4G] astarling10:
I'm a noob and I tried to install 3e recovery using the instructions and video supplied in this post http://xdaforums.com/showthread.php?t=1105413

Everything seemed to work fine until I went into ROM manager and tried to backup current ROM (stock, rooted). I selected backup ROM and now my phone is sitting with the SAMSUNG logo and it hasn't moved from that in almost an hour. I'm not sure what to do to get the phone to boot up normally. I have done a battery pull but that didn't work. When I plug the phone into my computer, XP does recognize that is plugged in because it shows the internal and external sd cards in the My Computer window. I can't open either on by double clicking on the icon for each drive. I'm getting pretty desperate because I can't seem to figure out how to get the phone to boot normally. Any help and/or suggestions would be most helpful. Thanks!!!
[Samsung Infuse 4G] gtg465x:
Odin flash to stock in dev section
[Samsung Infuse 4G] Dani897:
try a hard reset. you shouldnt pull batteries unless it is the last resort, linux needs to unmount the file system.

a hard reset(different from a factory reset) is accomplished by holding the vol up +vol dn + power at the same time untill the phone reboots. if you wait till the samsung screen pops up again and immediately release you may also enter 3e recovery mode.

try to just boot the phone into the ui first. if it is still ok, go into rom manager and "flash cwm recovery" choose captivate or i9000. reboot into 3e recovery(blue text), (select reboot recovery not backup) reinstall packages twice! you should now be at a green text cwm recovery. once you get it setup the backup link in rom manager should work.

if the phone fails to boot up after a hard reset, you can attemp to clear user data in 3e recovery. you can get to 3e with phone off(you may pull battery now if you need to) hold vol up+ vol dn + pwr and hold untill you see the "samsung" screen. then you can clear data/factory reset

if that doesn't help you can still use odin/heimdall to restore the phone with one of the roms that may already have modded 3e recovery and other nice features.
[Samsung Infuse 4G] astarling10:
Thanks for all your help! I managed to get it back working using Odin. Now I'm on the Infused ROM and loving life. I'm going to save this post just in case I get into trouble again down the road.
[Samsung Infuse 4G] justanoob:
hi dani, i got the same case. but mine cannot boot into CMW. my PC does not detect. any idea??
[Samsung Infuse 4G] lapree1:
did you get this fix, I am having the same issue.
[Samsung Infuse 4G] LG_iiNsTiiNcT:
So u should use gtgs ultimate unbrick then follow this.

1: Root using super one click

2: Download 3e recovery save it to your SD card

3: Use root explorer to move the 3e recovery file to systim bin overwrite recovery file

4: Reboot phone

5: Download Rom manager and click flash clock work mod pic i9000 not the (mtd)

6: Once its done select reboot in recovery

7: In recovery click RE-INSTALL it should load then click re-install again and u should get green cwm then reboot and flash away
[Samsung Infuse 4G] hoofadoo:
This is an old useless method... just Odin flash the community kernel v8... done..
[Samsung Infuse 4G] bradman117:
I have had that same boot screen problem too, buy a jig and u can put it into download mode that way then when you use odin3 to restore stock, u can get the stock rom with the recovery in it for u and u just need to download the update.zip on rom manager and then go into recovery and run the update zip twice. http://xdaforums.com/showthread.php?t=1092021

You should get a jig (http://www.ebay.com/sch/i.html?_nkw...dkw=jig&_osacat=0&_trksid=p3286.c0.m270.l1313) its a life saver in my opinion. because u can restore ur phone if u ever mess up.
[Samsung Infuse 4G] Brazen9000:
I too am stuck at the Samsung logo. I've used Odin to revert to stock but I think the Stock I reverted to was AT&T rather than Rogers? I can't seem to find the Rogers stock. I've tried to get it into recovery mode, taking out the battery booting with power up and down, releasing power when the Samsung logo came up - no good, the logo stays. I'm at a loss? Any advice? Is the a full raft of pit / pda etc files for Odin that I can make the Rogers Infuse as it was day one?

Thanks for any help
[Samsung Infuse 4G] langka:
I'm in the same boat... maybe it's because the rogers infuse comes as android 2.3? I hope a solution comes out soon!
[Samsung Infuse 4G] xoltrix2000:
Same here, Rogers Infuse. Stuck at Samsung logo. Tried infuse odin recovery, and community. Still no go. I tried flashing all the different stock/unbrick roms but nothing.

However, if I install Infused kernel/recovery, i can access the recovery and do a wipe/lagfix.
[Samsung Infuse 4G] fallenherosdad:
I was trying to flash to Infused and when I got to the step where the phone rebooted to CWM recovery it hang on the Samsung logo. After about 3 hours of trying various button resets the phone booted normally (ie not to CWM). They say the definition of insanity is trying the same thing over and over and expecting different results, well I went back through the same steps to flash to infused and again it froze on the Samsung logo, only I have no idea what I did last time to get it to boot normal, not to CWM. Since it did it before, there must be a combination...anybody know what it might be. I've read and tried everything on the forums. Thought I'd post here prior to using Odin. I am able to get to downloading screen by doing the button/USB cable combo.

I'm headed out of town and won't check this right away, but thanks for any posts with ideas.
[Samsung Infuse 4G] Entropy512:
Rogers Infuse users need to use the UXKG3 unbrick, not the UCKD5 or E3 unbricks.

The UXKG3 variant tends to fall to the second or third pages of the dev forum since it's far less commonly used.
[Samsung Infuse 4G] hnldriver:
Holy Crap - im hooped without my phone for work...!

reposting in new thread
[Samsung Infuse 4G] domo.kun:
Hi guys,

Here is the solution for this issue.

Just flash with this package that will totally reset your Infuse 4G to UCKJ4, do it with linux that worked for me.

Thanks to AdamOutler

Here is the post:

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

After that just root, flash a new kernel and your Recovery Mode will resturs.

:)
[Samsung Infuse 4G] rajeshvarma999:
samsung infuse 4g rogers version stucked on samsung logo(rooted)

my samsung infuse 4g rogers version rooted with odin and with cynogen mod os running phone got strucked when changing the os to Infuse_4G_Remics-UX_v1.3.1.zip .it's showing only samsung logo and not booting to recovery screen when trying to get recovery ......anyone please help me regarding this problem.....it will be great help to me and most loving phone......rajeshvarma999@gmail.com.
[Samsung Infuse 4G] rajeshvarma999:
samsung infuse 4g (I997R) rogers version got stuck samsung logo

my samsung infuse 4g (I997R) got stuck samsung logo since 4 days...my phone was rooted by use of odin later i changed my os from 2.3.3 to cynogen os.later my baboon brain provoked me to change to Infuse_4G_Remics-UX_v1.3.1.zip .i was my mistake -my phone got stuck with samsung logo and not booting its my favorite phone ever i had...please let me know anyone how to solve the problem in this regard......it will be big big help to me....and i will thankful to them,,,,,,,,,,,,,my email id

rajeshvarma999@gmail.com
[Samsung Infuse 4G] andros11:
Go here: http://xdaforums.com/showthread.php?t=1326143

The few last posts have mirrors. You are gonna need the odin pack to flash back to stock and then work your way up.

You need to flash ICS before flashing JB.
[Samsung Infuse 4G] boydee:
Infuse 4G wont boot - no root, CWM, Passcode locked :(

Hi guys

I dont know where to start from. This Infuse 4G was dropped by the owner and we happened to come across it.

Checked the SIM card but that was already deactivated and there were no contacts on it.

Then we wanted to check the phonebook and find someone to contact, but the phone was passcode locked.

Then i went and flashed Odin_Community_Kernel_v8.zip since it was on GB, but it doesnt seem to be booting. I was planning on adb-ing into it when it was in recovery (CWM) so that i could delete the passcode and find a way to get in touch with the owner.

Now am stuck at the Samsung logo...:crying:
[Samsung Infuse 4G] qkster:
your kindness and perseverance is reassuring...

someone else less honest or mischievous can certainly do a lot of harm...

maybe take it to an ATT or mobile provider and have the technicians help you
[Samsung Infuse 4G] boydee:
tadaa!

:D:D:D:D:D:D

Sooo... for some reason, i had suspected it was on UJLB3 [or something like that :D] and that's why i had flashed the Odin kernel [btw, it was the only one i could find, the rest are CWM flashables only]

Anyways, i booted to CWM and flashed Entropy's Daily Driver, then did my adb and copied the guy's whole internal storage to my PC.

After going through it, I found some documents, and found the dude on facebook, so I sent him a message!!! He should be picking it up today!

Thanks for the support!

Amen to that!:o

:D:D:victory::victory::victory::victory::victory::victory::victory::victory::victory::victory::D:D

:good::good::good::good::good::good::good::good::good::good::good::good::good::good:
[Hero CDMA Q&A, Help & Troubleshooting] flashinglights:
A few days ago I installed the froyo aospmod from this thread: link, and I just love it as it does everything I need it to do and it's fast as hell, but the thing that is bothering me is that the launcher doesn't have any animations. For example when scrolling through homescreens or opening the appdrawer everything is instant and not as smooth as other third party launchers or the htc sense launcher. gingerbread launcher 2.3 works like I want it to with smooth transitions and effects but it has the new grey dock background and I really like the froyo (glass) background. So my question is there a fix for this or is there something missing? I really hope there is as I'd like to keep my phone as stock as possible and the gingerbread dock just doesn't seem right to me.

I have an HTC Sprint Hero in case that helps any. I've tried mixing the xml files from the anim folder from the 2.3 launcher to the launcher 2 but that didn't help any. I've been searching for a fix for the past two days so any help is appreciated.
[Hero CDMA Q&A, Help & Troubleshooting] il Duce:
Try more launchers. My favorite is adw ex. Launcher plus pro is nice. Go launcher is nice. Etc, etc, etc.
[Hero CDMA Q&A, Help & Troubleshooting] flashinglights:
Thanks I'm using launcher pro at the moment, I just thought maybe there was a fix for this as I've seen other people with the same ROM and launcher but with the nice scrolling and transitions. Maybe its a hero issue? Hopefully someone does know a fix for this instead of replacing the launcher completely.
[Atrix 4G Q&A, Help & Troubleshooting] danieldtien:
Hi all,

This issue is a little bit different. I already searched for any thread that might fix my issue but no luck yet.

Issue started when trying to reformat the internal partition to 4096mb using Tenfar's CWM recovery. After that I rebooted the Atrix and got RSD err 1?? or something. I searched for solutions and tried to flash using the [GUIDE] Flash SBF to Motorola Atrix 4G from "kennethpenn. It failed half-way and stuck @ "swith BF mode failed" and giving the failed message.

Now the phone is out of battery and it's not charging at all. Not sure if RSD mode isn't allowed to charge or something.

When I connected AC Adapter to the phone and these are messages i have:

"Modem did not power up (2)"

"Starting RSD protocol support"

and with M logo in the center.

It will not do anything if i connected the Atrix the computer. Anyone knows how to fix this issue, please show me. I really really appreciate it. thanks in advance. :confused:

Daniel T
[Atrix 4G Q&A, Help & Troubleshooting] danieldtien:
after 3 tries, I finally flashed the Atrix and got it working again. But i got odd screen issues. The Menu, Home, Back, and Search buttons are not working anymore. When I tap on something (button or letter from keyboard), I have to tap below the actual position (about 0.2 inch below) to work. Any suggestions on to how to fix it. thanks very much in advance.
[Atrix 4G Q&A, Help & Troubleshooting] Magoodigan:
Re-flash on different computer? Im not entirely sure....

Good Luck.
[Atrix 4G Q&A, Help & Troubleshooting] danieldtien:
I also tried that too but it's same issue. I think the issue is the screen itself. Got it replaced at AT&T store. :)
[Atrix 4G Q&A, Help & Troubleshooting] msd24200:
which sbf did you try to flash?
[Atrix 4G Q&A, Help & Troubleshooting] Blue Puma:
I heard of this happening with reformatting of the internal memory, but sadly I didn't see a resolution....
[Atrix 4G Q&A, Help & Troubleshooting] mramirezusa:
bongd <------- contact him, his is the only one that seems has a solution for the screen issue
[Atrix 4G Q&A, Help & Troubleshooting] bmi553:
help

hey man how do i contact him cause im having the same issue
[Atrix 4G Q&A, Help & Troubleshooting] KeRmiT80:
Lol I think tenfar should update hes thread underline that partition option will brick your phone...

Anyway you formatted your psd partition, so no buttons and no screencalibration.

Search the thread used tenfar recovery...

You need the psd.img dumped from github and push in your phone using adb dd command.

http://dev.gitbrew.org/~dasmoover/android/atrix/atrix-devkit-fs.tar.gz

Just take mmcblk0p3.img from atrix engeneering dump and push it

from a terminal (win or linux commands are the same, just remember usb debuggin on and that you are typing commands from the adb folder, place the file in the same folder)

adb push mmcblk0p3.img /data/local/tmp

adb shell

su

chmod 777 /data/local/tmp/mmcblk0p3.img

dd if=/data/local/tmp/mmcblk0p3.img of=/dev/block/mmcblk0p3

Reboot

I learnt it the hard way...
[Atrix 4G Q&A, Help & Troubleshooting] eSu.Matix:
Can you please re-upload the file, I'm having screen miss-calibration and from what I've read this file helps? :rolleyes:

Nevermind I don't need'em no more.
[Android Software Development] FreeTheWorld:
I orginally had it setup to make a call based on a button click, but now I want the context menu through a long press to do it.

The menu works fine as it finds it way to my call class but I can't figure out how to change it around for it to just start dialing as any android phone does. Can someone suggest what I should change the code below to.

public class Dial extends Activity {
Button Btn2;

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.note_edit);

Btn2 = (Button) findViewById(R.id.dial);
Btn2.setOnClickListener(new OnClickListener () {
public void onClick(View v) {
EditText num=(EditText)findViewById(R.id.phone);
String number = "tel:" + num.getText().toString().trim();
Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse(number));
startActivity(callIntent);
}
});
}
}
[Android Software Development] killersnowman:
take a look at these methods from View

http://developer.android.com/reference/android/view/View.html#setLongClickable(boolean)

http://developer.android.com/refere...ndroid.view.View.OnCreateContextMenuListener)

http://developer.android.com/refere...stener(android.view.View.OnLongClickListener)

should handle the many ways to make an item long clickable
[General Questions and Answers] thecool101:
Alright, half of you may press the back button when you see what kind of phone I have but I hope that you don't...

I'm a customer of T-Mobile and of course, I got jipped into getting a CLIQ XT. My phone is about 8 months old, and I've been trying to put a ROM on it since I first got it. But with my luck, I would get stuck with bad blocks.. So during recent attempts to flash a recovery, i found out that i can flash recoveries, they just have to be small. like 3 MB or less, too bad that j_rodd and clockwork recoveries are over 3 MB and won't flash. so i need a smaller recovery that's compatible with the CLIQ XT but also small enough for me to flash..

any ideas?:confused:
[General Questions and Answers] thecool101:
come on guys, all i need is a recovery smaller than 3 mb, that's compatible with the cliq xt.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] digkong:
does any1 know how to go to fastboot in SGA???
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] rmtdene:
Hi, I also would like to know if this is possible. Or is there another way to install my AOSP build to device?

Thanks.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Shaaan:
The ace does not have a bootloader. So you cannot enter the booloader. Simple.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] CallMeVentus:
Shaaan , we do have a bootloader , but all Samsung bootloaders are unlocked LOL

"I have to go. It's just....they really need me." - Sora
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Prawesome:
No phone can work without a bootloader :p
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] K.A.:
Exactly..no bootloader no boot..thus the name "boot" "loader" ?
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] InverseSandwich:
Shaaan kinda has a point. The ace does have a bootloader but you.can't do anything with it really.

It would be awesome to have a custom bootloader like HTC devices.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Shaaan:
My bad. Sorry for that..

Don't be a noob. Be a newbie..!!
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Rush6:
Reply

Just use the Root Explorer go to system/media ,mount R/W and delete the bootanimation.zip and the "video" files.

Although it has no boot animation when booting up and no shutdown animation when shutting down but it boots and shuts down 3 times faster than before.

Hope this helps!:)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] CallMeVentus:
"What is wrong with you?!!" - Gumball

"I have to go. It's just....they really need me." - Sora
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Prawesome:
Huh...What do you mean? o.O Coz what you said was utter foolishness....FastBoot is a mod,not something that makes your phone boot faster.
[Windows Phone 7 Q&A, Help & Troubleshooting] TTRpwnage:
I'm wondering if you can change the theme of WP7 to the theme of like Android OS or iOS. Was looking around Youtube and found that if OS like Android can change their theme to WP7, why can't WP7 do the same too ?
[Windows Phone 7 Q&A, Help & Troubleshooting] blindpet:
From what I understand the homescreen is locked down, so this isn't possible. I remember seeing some gimick app that could fool others into thinking your WP7 device is an android but it didn't replace the homescreen.

Easiest solution is to buy a cheap android device.
[Windows Phone 7 Q&A, Help & Troubleshooting] Casey_boy:
blindpet is correct.

It just isn't possible to change the homescreen theme like that. It's all do with image branding on Microsoft's part (to make all devices recognisable) and also quality control (they know that the phone will behave itself in the current configuration but it may react differently if others, i.e. OEMs or users, start skinning it).
[Galaxy S I9000 Q&A, Help & Troubleshooting] dalepraneeth:
Did anyone notice that :

1) One live wallpaper missing

2) many phone ringtones missing

3) Gallery app buggy

4) Accu weather app missing

5) In messages - whenever you select a message it displays the same again in Black background, but is currently removed

is this same for everyone ??
[Galaxy S I9000 Q&A, Help & Troubleshooting] Prasad:
1. What's wrong with the gallery?

2. You can always download and install the missing apps...

3. The messaging black screen was removed since froyo, I believe...
[Epic 4G Q&A, Help & Troubleshooting] brianhuangbh:
Hey guys. I've been noticing a while that a lot of people on the forums get 12+ hours even on heavy web browsing, calling, apps, and texting. I usually can't get through a day of usage (probably 12 hours?) with my phone, and I carry 2 extra batteries with me. I calibrated my battery using the battery calibration app here on XDA and my screen is set on auto. I'm on Syndicate v. 1.1.1 and I use the stock battery.

It will usually last me 3-4 hours of 'heavy' usage (calls, games, texts) and maybe 5-7 hours of 'moderate' usage (when I'm at school, some texting, barely any internet usage, and a few calls)

Are there things that can 'harm' a battery? Some people say it's bad to charge a phone and use it at the same time, but I call people while its plugged in multiple times every day (probably a couple hours worth a day). Does that deteriorate the battery?

I'll post a screenshot of my battery usage tomorrow if that helps.

(note- I am a calling freak. So far I'm about 3/5 in my billing period and I've used 10,580 minutes. :P)
[Epic 4G Q&A, Help & Troubleshooting] gtuansdiamm:
The charging and using not so much but letting it repeatedly drop low and get hot kills it
[Epic 4G Q&A, Help & Troubleshooting] brianhuangbh:
Hmm. There are probably a few instances where I done that
[Epic 4G Q&A, Help & Troubleshooting] jarcher1971:
the one thing i would do to extend your battery life would probably be to take the screen setting off of auto and manually set it to the lowest brightness you can tolerate.

are you using the twilight zone 1.1.1 kernel? try using the genocide 1.0 seems to give me better mileage imho
[Epic 4G Q&A, Help & Troubleshooting] tazfanatic:
I have noticed this even with my extended battery. I am actually going back to 1.1.0 with Vision kernel to test.
[Epic 4G Q&A, Help & Troubleshooting] jbadboy2007:
Phone calls kill this batter no matter what. Our specs for talk time is 4-6 hours I don't remember
[Epic 4G Q&A, Help & Troubleshooting] brianhuangbh:
So 3-4 hours on heavy usage is normal if I'm doing excessive calling?
[Epic 4G Q&A, Help & Troubleshooting] soundman1024:
Some days I have a 5 hour battery, some days I have a 20 hour battery - all depends on how I use the phone.

On the short days I use it a lot, I'm throwing attachments around in Gmail, files around in Dropbox, using 4G, and using my phone outdoors - read brightness up.

On the long days I'm using Juice Defender and Screen Filter - read brightness down - I'm mainly texting and powering the screen off asap, and getting in the occasional fb/tw check, and I'm hanging out in areas with stronger Sprint service.

My advice for elongating your battery - use Juice Defender and customise which the data controls by app. Use Screen Filter at about 60% and manual display brightness. Slide your finger left and right along the window shade to keep the brightness down. With the SAMOLED the more dark colours on the screen the longer the battery will last, so always pick dark themes on apps. If you're going to be in a low service area for a while toggle data off if it's an option.

Lastly, I picked a Zagg Sparq for this phone. I charge the Sparq in once or twice a week and then I plug my phone into it on the go on those days when I have trouble. Use the General port instead of the Optimized one. I played the multiple battery game with my G1..I prefer carrying around a juice box.
[Epic 4G Q&A, Help & Troubleshooting] tazfanatic:
Have tried any of the "tricks" posted by Randomking?

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

They seem to help me out a little.