yashsingh1/xdaforums huggingface dataset:
[Desire General] SavCom:
So what if your IMEI isn't in the 'database'?

Yes, an OTA has sim-locked the phone. Yes, I am on Orange. Yes, I went to htccode.com.

No, my IMEI is NOT in the database (it's three months old!). Will be chasing for a refund from htccode so let's see what happens.

What next? I could flash the earlier ROM again, but I want the Froyo upgrade to work. I did try to go to Orange for the unlock code but, despite being an Orange-branded phone, I bought it through Phones4U. Apparently I have to go to them for the code. Sounds suss to me, but will be popping to the shop today to ask.

SavCom
[Desire General] SavCom:
I've just been to htcunlock.com. Paid my dues, got my phone back and we're now running Froyo properly as of an hour ago.

Off to htccode.com to get my money back
[Desire General] bakedecake:
I have a Desire that had the Orange rom on it, I debranded it with a goldcard to the generic 1.15 rom, then i did the OTA update to 1.21.405 which also updated the Hboot to 0.8 and the updated radio and simlocked the phone so I bought an unlock code and all was good.

Next I rooted the phone using the modaco r6 rooted 1.15 rom, used a few rooted roms then decided I would unroot to get the official froyo update. To do this I used the 1.21.405 zip from shipped roms, put it on the sd card (gold card) named as PB99IMG, booted to recovery and selected fastboot, this is the only way to get back if you have the 0.8 hboot. That took me back to generic unrooted so yesterday I was prompted to install the 2.2 update. I didn't install it as the new hboot sounds like a nightmare. Instead I rooted again using unrevoked 3 and installed a rooted version of the official 2.2 rom, I didn't use a goldcard for this.

Hope this helps.
[Desire General] chessmaster82:
I have a debranded orange phone, used a goldcard to debrand to a generic 1.21 ROM, since then I have upgraded to the new froyo 2.2 official and ever since my phone is on a continuous loop of restarting all the time every 2mins, no SD card, No WIFI and no GSM calls etc.

I've tred various RUU's and updates and nothing has worked. Im thinking maybe I need an Orange RUU file, but just can't find one anywhere...

I tried using 1.21.405 zip, renamed to PB99IMG then went through recovery mode and fastboot, but when fast boot was selected nothing happened just another menu with - reset, bootloader, clear data etc nothing to say install anything?
[General Questions and Answers] bsinclair:
Guys,

I have a problem with my power settings on LG Incite. My config is to turn off screen after 2 minutes if I am not using it, when I am running on internal power.

Now, when I run gps software, I wanna to disable this (iGo Amigo).

Trying adding this to either sys.txt and system.ini (igo) but nothing changed:

[power]

power_off_mode=0

Tested using also powermgm_state (0, 1 e 2), no change.

At last, tried:

[registry]

oninit1="HKLM\System\CurrentControlSet\Control\Power\Timeouts\ACSuspendTimeout:DWORD:0"

oninit2="HKLM\System\CurrentControlSet\Control\Power\Timeouts\BattSuspendTimeout:DWORD:0"

oninit3="HKCU\ControlPanel\BackLight\BatteryTimeout:DWORD:0"

oninit4="HKCU\ControlPanel\BackLight\ACTimeout:DWORD:0"

onexitreset1="HKLM\System\CurrentControlSet\Control\Power\Timeouts\ACSuspendTimeout:DWORD:300"

onexitreset2="HKLM\System\CurrentControlSet\Control\Power\Timeouts\BattSuspendTimeout:DWORD:60"

onexitreset3="HKCU\ControlPanel\BackLight\BatteryTimeout:DWORD:30"

onexitreset4="HKCU\ControlPanel\BackLight\ACTimeout:DWORD:60"

On sys.txt, no change. :(

Of course, using power settings on control panel works (WM 6.1) but that is not very touch (thumb) friendly.

Any other options?

Thanks.
[Android Q&A, Help & Troubleshooting] Doward:
Seriously. Why don't we have sudo on Android? Is there some technical limitation I'm missing?
[Android Q&A, Help & Troubleshooting] Doward:
Well, the first thing I'm noticing, is we don't have su under /system/xbin.

So it seems step one would be to compile a compatible binary for the phone in question, and then a method to place su into /system/xbin.
[Android Q&A, Help & Troubleshooting] thatguythatdid:
You must be new. What phone you talking about
[Android Q&A, Help & Troubleshooting] Decimae:
I'm a bit new here, but I'm pretty sure I used su. Did you root your phone? If you do, you'll have su. Rooting an evo 4g isn't hard; google it(can't post links; too new).
[Android Q&A, Help & Troubleshooting] Doward:
You must be new (to Linux).

Evo 4G, rooted, swapped for Fresh, swapped to DC, swapped to CM6, swapped back to 100% unrooted stock (current status).

In a 'normal' Linux installation, you usually log in as a normal user. Su, ie 'Switch user' or more commonly old-school 'Super user' allows you to temporarily log in as another user (we're going for 'root' here) and utilize that user without logging out and in of the current shell.

Running as root all the time is bad for security, as any Linux user can tell you.

Clearly, I have no desire to run as root on my phone ALL the time.

Also, from a development standpoint, releasing apps that ONLY work on rooted phones is ridiculous - you cut out the vast majority of users.

Which brings me back to the original topic - why don't have we su / sudo on Android yet?

Here's what I've come to this morning:

Well, su and sudo have to be compiled and compatible with the kernel. I was mistaken, in that I thought of Android similar to a normal Linux distribution (aka distro) - usually, you'll have many distros that utilize the same exact kernel, and this runs over a very large number of systems. Thinking deeper, however, I realized that even though most desktops are different, at the end of the day they are all x86 compatible - in other words, low level communication is the same between all major PCs.

On smartphones, however, you've got multiple architectures - I'm most familiar with ARM (Qualcomm) and OMAP (Texas Instruments). The kernels for the two will not be the same, unless we (the community) build a super-kernel that would run on both architectures (unlikely just from an efficiency standpoint). Android is just the framework that sits on TOP of the Linux Kernel.

In my particular case, the Evo 4G, it appears 'su' is not even on the phone. A quick 'adb shell ls -l -R -a > file_permissions.txt' show me, however, there is a hidden directory named 'sbin' on the phone, that is only accessible as root.

So my next step is to re-root my phone, flash the rooted 1.47 OTA image, and see what the hell is in that sbin directory.

The following step, I'm going to compile an ARM compatible copy of sudo, insert it into a non-rooted (stock) image, along with a proper /etc/sudoers file and see if I can develop a way to have a non-rooted image, with the ability to take root at will, on command (whether via su or sudo)

The purpose of this post is to find out if anyone's already attempted this, and if so, where they got stuck.
[Android Q&A, Help & Troubleshooting] GinoAMelone:
I have a /system/bin/su on my phone (G1 w/ CM6RC2). Any 'rooted' ROM should have the same. I don't understand why you think otherwise.
[Android Q&A, Help & Troubleshooting] kevin@TeslaCoil:
I'm the developer of QuickSSHd, an app that runs a secure shell daemon, either as root or not-root. I've also submitted (small) patches (and had them accepted) to the Superuser.apk and su.c that is used on most of the newer rooted ROMs. I've been using Linux for > 10 years.

We do have su on Android. And the su we have is done in a way that it's more like sudo as it prompts the user for allow/deny and remember. But no password is needed.

http://github.com/ChainsDD/android_packages_apps_Superuser

http://github.com/ChainsDD/android_packages_apps_Superuser/blob/eclair-froyo/su.c

If for some reason you want to compile sudo you'll run into issues that Android's libc doesn't include crypt for passwords as the user system is completely different on Android. I don't think anyone has tried as it would be rather pointless with the above Superuser.apk and su (usually /system/xbin/su or /system/bin/su)
[Android Q&A, Help & Troubleshooting] Doward:
Very nice, thank you for the information, Kevin. Believe it or not, I wasn't able to find anything searching here nor via Google.
[Android Q&A, Help & Troubleshooting] mike.sw:
Very informotive post guys, thanks.

I must ask, where can I find more on how Android is built?
[Android Q&A, Help & Troubleshooting] xela92:
Wouldn't be simple to add the possibility to ask a password while calling su binary? You can tell me it's useless, but some people may don't want anybody to access superuser powers on his phone. It would be safier if in Superuser's preferences we could add a password protection, IMHO. Of course this MUST be an option, not an imposition. But I would appreciate it veeery much.
[Android Q&A, Help & Troubleshooting] buzzboy:
There is a 2 part video which may help.

Part one is here:

http://m.youtube.com/#/watch?desktop_uri=/watch?v=1_H4AlQaNa0&v=1_H4AlQaNa0&gl=GB

Cheers
[Android Q&A, Help & Troubleshooting] zer0ed_byt3:
HUGE BUMP

This was a very valid question. While the wording was.. oblique at best, it does raise a point.

Why are we not using sudo instead of su? Or at least, password protecting su. I realize SuperSu offers this feature if you.. pay for it. Seems backwards.. paying for a linux.. cough. Nevermind.....

In any event, I would think password protecting your su binary would very serious security concern for everyone... unless there's something the Android API does via some.. sandboxing that makes it a non-issue.. (please correct me.)

Side note, admins of this site..

You realize you have 6 trackers for social bullsh and allow passwords for logins to be transmitted in plain text? Better fix it.. before someone gets naughty and follows those spider webs....
[Android Q&A, Help & Troubleshooting] okiejtruax:
Long story short because android OS is not open source like linux. They is how cell company's still make dollars

---------- Post added at 01:19 PM ---------- Previous post was at 01:10 PM ----------

Not
[G1 Q&A, Help & Troubleshooting] Decimae:
I bought a second-hand G1(no data plan) since I wanted to play with my phone. It ran 1.6 DMD64 stock with the newest radio; and it had WiFi problems.I did some research before purchasing and knew it could be flashed; so I tried flashing it to a modern ROM to see if that would solve the problems. After figuring out it was an American phone(I live in Holland) I managed to root it and flash CM6RC2. I now sometimes have a lot of reception; sometimes not. I tried installing WiFiReEnabler and WifiFixer; WifiFixer made connections overall a bit more stable; but half of the time I still don't have WiFi. I also tried to use my laptop's WiFi for my phone via USB; followed the instructions but failed. My phone managed to get semi-bricked 3 times in that period(stuck at G1 screen), and I tried flashing another ROM too; so I flashed CM 4 times. I'm using a Belkin N1 wireless router; switched channels, security and looked at my keyphrase.

The problems I have with WiFi:

- Not finding my router even though being quite close to it; happened only with 2 of the 5 times I flashed

- Finding my router but not connecting; happened 3 of the 5 times I flashed

- Saying that it's connected but not allowing me to browse; happened all times but WifiFixer occassionally fixes this

I'm still running CM6RC2 with Amon Ra recovery 1.7 on an American phone; my router is a Belkin N1 with firmware version 3.01.04 and hardware F5D8631-4 v3 with WPA-TKIP, broadcast SSID on, channel 4.

Is there a way that allows me to get stable internet on my phone without a data plan?
[G1 Q&A, Help & Troubleshooting] protomanez:
This could be either a hardware or software issue, not quite sure. Your options are listed below

1. Root and flash to a different more updated rom

2. Flash the newest radio(not sure if it effects wifi signal strength, forgot)

3. Open up the G1 and see if any connectors are loose.

Option 3 is probably out of the question, option 1 and 2 can be done by looknig into the rom bible(sticky) in the G1 dev thread, this will give you threads with new roms, how to install them etc, as well as flashing the new radio(if you have not yet done that)
[G1 Q&A, Help & Troubleshooting] Decimae:
I already flashed the newest radio, since I tried to install CM6 and in that guide I was instructed to flash the newest radio. I also obviously have installed CM6RC2 which is the newest version of CM.

I did read somewhere that more people had WiFi issues with CM6RC2 or deratives; I'll try running an older version of CM.

Edit: Doesn't work; at least I can't browse when I'm connected. Doing a nandroid restore right now; I'm intending to use Froyo.

In the case that doesn't work, how hard and dangerous would it be to open up my casing and look for those wires? It's second-hand, so warranty would likely not be a problem.

Thanks for answering anyway.
[G1 Q&A, Help & Troubleshooting] XBrav:
Is it possible that your router is using a different band?

I don't know about Holland, but sometimes different countries allow different wireless bands.

Try changing the channel on your router to something like channel 7 or 11, something varied from the norm.
[G1 Q&A, Help & Troubleshooting] Decimae:
Well. I found a solution. Connecting my old sitecom wl-167 which has no wireless N support seems to give me no problems.

(Holland has different channels then America, but my G1 was surprisingly already configured for Europe)

Thanks for your help anyway!

P.S. My XDA does seem to have some problems. "No route to host" when trying to post.

Edit: It appears it isn't 100% fixed; WiFi-fixer still solves it right now but it might not be the solution.

Edit 2: Well, WiFi-Fixer is able to fix my problems all of the time for now; but ocasionally I have WiFi for 10 seconds then 10 seconds no WiFi, et cetera.

Edit 3: It isn't threatening to my WiFi anymore. Thanks everyone who tried to help me.
[Android Software/Hacking General [Developers Only]] Andyt95:
I have recently returned to Linux after using Windows, and cannot set up the SDK.

I have altered the PATH, but when running command: adb, I get this error

[andy@localhost tools]$ adb
adb: error while loading shared libraries: libncurses.so.5: cannot open shared
object file: No such file or directory
[Android Software/Hacking General [Developers Only]] Andyt95:
I have now fixed.

For anyone who has this problem in the gfuture, the solution is simple:

Go to install/remove software and search for libncurses. Download and install all files. (there should only be 4) Now try again. :)

Mods, lock this thread please.
[Captivate General] TheSopranos16:
Anyone know of a way to have separate screen timeout settings for battery vs plugged in? Every phone I've ever owned allowed you to have 2 different settings but I don't see any way to do this on the Captivate. I'm sick of my screen shutting off after 30 seconds when the phone is plugged in, but I can't set it any higher b/c of battery issues.
[Captivate General] quarlow:
The only way I know of is in Settings > Applications > Development > Stay Awake. That will let you leave the phone stay on whenever plugged in.

I know what you mean, I had a WinMo phone for a long time and enjoyed having the ability to control EVERYTHING without having to root or jailbreak. But I don't regret my overall move to Android and the Captivate. I think there is much more potential here.

Sent from my Samsung Captivate via the XDA app
[Streak 5 General] kanej2006:
I made a few phone calls and I noticed the screen will go off for a few seconds and then go back on and stay on... Why?

It is wasting out my battery this way.
[Streak 5 General] lufc:
The phone goes off as you bring it close to your ear to stop your ear pushing anything whilst you are on a call then when you pull away the screen will come back on is that what you mean :)
[Streak 5 General] kanej2006:
Lol, no, that's not what I meant.

Supposing I make a phone call, the screen is lit as normal, I then place the phone to my ear to speak, the screen goes off, after 2-3 seconds it will come back on and stay on!

Even if I took the phone away from my ear while talking, and then put it back on my ear, the screen will once again go aff, and after a few seconds it will come back on and stay on until I finish the phone conversation.

Sounds strange but that's exactly what it's doing.
[Streak 5 General] flumps:
sounds like you got an app controlling screen timeout while on call. check through your apps see if any of them have permission to control screen time out
[Streak 5 General] kanej2006:
What app could that be? I do not have many apps but will list what I have...

Barcode Scanner, Color Flashlight, File Manager, Fishing, Yxflash Player, Rock Player, Root Explorer & Uninstaller...
[Streak 5 General] flumps:
best is to go to menu>settings>applications>manage applications and check through manually. i had a similar issue with my x10 and found it was a app causing the screen to stay on while on a call
[Streak 5 General] kanej2006:
I just went through the applications. All I could see was around 50 or more applications, what am I to do or look for in each one, how do I find out which app is causing the screen to stay lit and how to stop it?

Sorry for this, I'm just new to the streak!
[Streak 5 General] Fazziebear:
No quick way to do this but its most likely an "installed by you" app so try them first
[Streak 5 General] kanej2006:
This is EXTREMELY strange because all the apps I have installed were on my previous HTC Hero & HTC Desire and never did either of them give me any problems with the proximity Sensor...
[Streak 5 General] rashlan976:
I'm suffering the same problem, I did a hard reset a few days ago and only have handcent, Share price and astrid installed so can't see how its an app causing it.:confused:
[Streak 5 General] rashlan976:
What firmware is on you're streak?
[Streak 5 General] kanej2006:
It's firmware 1.6
[Streak 5 General] rashlan976:
Yeah but which build is it 4399 or 3883?
[Streak 5 General] kanej2006:
It's build 3883. Yesterday I downloaded the update to 4399, tried to run it several times, it does nothing and just reboots and turns back on...

However, could the proximity problem be a fault as I've never had this problem before and I've had dozens of touch screens in the past...

I will now backup my data and do a factory reset to see if it solves the problem.
[Streak 5 General] kanej2006:
Flumps, thanks a billion for your help, seems you was right!

I just did a factory reset to remove all installed apps & settings, when the booted back on, I made a phone call, put it to my ear for about 10 seconds, the display shut off AND STAYED OFF UNTIL I TOOK THE PHONE OFF MY EAR!!!

Strange though, what app could it be?

What I will do now is install the apps again ONE BY ONE to see the culprit, and if I find out I will let you know.
[Streak 5 General] kanej2006:
Ok, I just installed all the previous apps I had one by one and testing the phone.

Have a guess WHICH app was the culprit????

The dam Advanced Task Killer!!!

I am not at all surprised though because other people said that task killers are NOT recommended on the Dell Streak.

The only weird thing is that I've used the Advanced task killer on 3 other Android based phones including HTC Hero, HTC HD2 & HTC Desire and I never had this problem...

I take it the Dell Streak does not like task/app killers...
[Streak 5 General] flumps:
haha, glad you sorted it bro! ya, task managers are abit meh on the streak, best to stay clear for now.
[Android Software/Hacking General [Developers Only]] soundout:
Hey guys i am a very displeased user of Sprint's Hero. I've had to custom install many different versions of android over the last year that i've had it because sprint doesn't like to update its phones. Well I know there isn't an official release for this update but i really want 2.2 on my phone so if someone could post a link to the ROM for my phone that would be really helpful. Or is a version even out yet?

Thanks
[Android Software/Hacking General [Developers Only]] kyouko:
Sprint Hero forum >

Here

GO HERE for 2.2
[Android Software/Hacking General [Developers Only]] thoughtlesskyle:
rumor has it the hero will get a 2.2 update around the 13th
[Desire General] Ramedge:
Just seen this on T-Mobile's twitter page in the UK

I think I will be de branding my phone later today!
[Desire General] andyb949:
Yep, me too!
[Desire General] bugail:
Me three! Any ideas/help on how to do this
[Desire General] snear:
long! 10 char
[Desire General] Joshhudsy:
What way did you debrand your desire? Any links ? :)

sent via the XDA Tapatalk app using my HTC Desire :)
[Desire General] Futeptual:
Think I'm going to de-brand my Desire as well. If possible could someone answer the following questions, did search but ain't found anything that exactly answers the following. Sorry if I missed it and they will probably be useful answers for fellow network branded users wanting Froyo.

1) What does the T-Mobile specific update actually have in it other than the splash screen logo and setting tweaks for the network?

2) Will it be possible to go back to the T-Mobile rom after de-branding at a later date? I presume this would be possible if I locate a copy of the rom to download and flash back onto the phone.

3) Will de-branding effect the contract/warranty with the phone? I have found that rooting would invalidate the warranty, however all I want is the stock HTC rom on the phone and not a custom one which shouldn't require rooting. So would replacing the T-Mobile rom with the HTC rom invalidate the warranty?

4) In order to get the OTA update to 2.2/Froyo what needs to be done to the phone? Do I just need to create a gold card and flash the phone with a stock Eclair 2.1 rom or the most recent HTC rom and wait for the update to appear.

Thanks
[Desire General] cheesebanana:
*fully agree with this topic*

with that in mind

if somebody wants to give us a quick run through of how to debrand a currently up to date tmo uk desire, i'd highly appreciate it

i just want to get that damn 2.2 update this weekend.

i'm not rooted or anything. just totally standard tmo uk with whatever the latest OTA stuff is
[Desire General] Ramedge:
I have been looking into Debranding my phone, the debranded rom is now outdated and although I guess it would update, there were issues with losing Wi-Fi after updating.

I am not sure if there is a dump of the most up-to-date rom hanging around?

Any way,

T-Mobile sent me this message regarding the FroYo OTA this weekend

Might be a load of ****, I don't know?
[Desire General] bugail:
This is exactly where i am too. September is way too long to wait for an update
[Desire General] supasye:
do u think this gives us an idea of how far away the non branded sense update really is?
[Desire General] Ramedge:
Well T-Mobile have said that it's only being rolled out to 500 phones. They haven't said if it's 500 phones in the UK or 500 phones in Europe as this is a European update it's not country specific. HTC might be misleading us all a little bit. It could be more of a test than a full implementation of 2.2?

We might not properly see 2.2 released for de-branded phones for another couple of weeks in this case. Hopefully though the 2.2 file link will get leaked and everyone will be able to give it a go!
[Desire General] jpxdude:
In a nutshell:

CREATE A GOLD CARD!!!

This can also be used for your regular SD card, as only sector 0 is patched. If you card is already fat32, it doesn't even need formatting, just follow the instructions to create this.

Pick your generic ROM and flash it. OTA updates will also work fine,

as long as you have converted your SD card to a GOLDCARD

.

Keep this as the GOLDEN rule ;)
[Desire General] cez10:
meh im not going back to the 2.1 at the moment, ill do it after holiday :)
[Desire General] rarspace01:
i read in another thread that you dont need to have a goldcard inside the phone when updating a unbranded desire, is this correct?

So i only need the goldcard for unbranding?