yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] -8-DEAMON-8-:
Hello, im quiet new to this forum so i think this might be the right place for this question/discussion :>

My dad found a HTC Desire S in the Electronic Recycle Room at his workplace. But no battery and cover on it.

He found two HTC Desire’s also for 1 year ago, where one of them really seems to work quite well I think. I have CM7 on it and a 5 GB ext4 partition on the SD-card :>

But now to this HTC Desire S:

There is no battery and cover for the battery-, sim- and SD-slot and i wonder if it might be worth to buy a battery (and a little cover) and see if the phone works. If i’m lucky this HTC Desire S might be as stable as one of the HTC Desire’s my dad found ^^.

Im trying to search in this way on ebay for "htc desire S battery". But i dont know how to know which i should buy.

There is a lot of 2450mAh batteries, but these are fake in some way? Are they just ordinary 1450mAh or just nothing (a plastic box or something^^) ?

It seems that HTC Incredible have the same battery as HTC Desire S? Someone who knows? Maybe more models have same batteries?

Someone who have some experience or recommendations of buying batteries on ebay?
[HTC Desire S] heavy_metal_man:
Hi welcome to our forum :) first off this should be posted into the accessories section, if you report this thread using the ! Icon and ask it to be moved politely the moderators can help out :)

Now to business :cool: I would suggest going for cheap/used parts as that if your new phone does not work your not out of pocket too much. To that end I have browsed ebay from a UK perspective and I would go for items like this for the cover http://pages.ebay.com/link/?nav=item.view&id=280819691328

And this one for a battery, OEM and used is always a safe bet to perform function tests :) http://pages.ebay.com/link/?nav=item.view&id=290954183132
[HTC Desire S] -8-DEAMON-8-:
Soo, now i bought a battery from BatteriKungen: www batterikungen.se/batteri/pda-batterier/htc/batteri-till-htc-s510e-mfl-1500-mah.html

And the battery seems to work very well :D

Now to the phone :eek:

So i loaded the phone with the battery and waited until the led got green (2-3 hours or so).

So the problem with the phone is that the screen are black always. I can turn on the phone (it buzzez as the old HTC Desire for example). Then i don't hear any HTC Desire-startup sound (On my HTC Desire there was a startup sound from the StockROM). Soo, i wait for a while and now the Android OS seems to have booted (behind the black screen ^^). I can switch wake the phone from sleep mode for example. It feels like i wake it from sleep-mode because the buttons lights up when i press the PowerButton. And when i press the PowerButton again the HTC Desire S goes to sleep mode again. The display doesn't seem to react on any "touch-maneuvers".

Hmm, aww. I drag the battery out and trying to boot into BootLoader. It seems that it boots into it:

First i press the Power+VolDown buttons. (Now i look a on Google Images with this search term: ["htc desire s" bootloader] )

And then VolDown and then Power. And i think that will choose the "REBOOT" in the bootloader. And i feel a buzz and nothing more special. (I dont know what state th phone goes now).

Someone who know what i can try next? Can i in some way RemoteControl the phone for example? Is there some hax to enable "USB-debugging" throug USB? (that sounds like moment 22 maybe :S )
[HTC Desire S] heavy_metal_man:
Hmmm. Sounds like the screen is broken, but the os is OK. Do you have a windows PC you can plug the device into? Can you setup adb/fastboot path if you haven't already? :)

Try removing/reinserting the battery and then booting to hboot. Then wait 30 seconds or so and push power button once and then connect to the PC via USB.

From your fastboot folder open a command prompt and issue the command

fastboot getvar all

This will give you all the relevant information about the device and might tell you if the panel has failed.

Other that that you will probably need to replace the screen to get any real use out of it. In theory if the digitizer is still working (registers touch input on the screen) you could unlock the bootloader via htcdev, flash a custom rom that has USB debugging enabled by default and Then you could take screen shots on the fly. But how much use would that be is up to your situation :)
[HTC Desire S] -8-DEAMON-8-:
Wow, this was "magic"!

So i installed adb/fastboot through this little guide: [FAQ] ADB and FASTBOOT for Windows (Updated 1st June 2011) (i cannot post links yet ^^)

And i ran fastboot getvar all and now i get this:

C:\Users\Philip>fastboot getvar all
INFOversion: 0.5
INFOversion-bootloader: 2.00.0002
INFOversion-baseband: 3822.10.08.04_M
INFOversion-cpld: None
INFOversion-microp: None
INFOversion-main: 13.10.401.8
INFOserialno: ******
INFOimei: ********
INFOproduct: saga
INFOplatform: HBOOT-7230
INFOmodelid: PG8810000
INFOcidnum: HTC__Y13
INFObattery-status: good
INFObattery-voltage: 4090mV
INFOpartition-layout: Generic
INFOsecurity: on
INFObuild-mode: SHIP
INFOboot-mode: FASTBOOT
INFOcommitno-bootloader: ebd3df7d
INFOhbootpreupdate: 12
INFOgencheckpt: 0
all: Done!
finished. total time: 0.016s

Someon who can read something interesting from this? What things can i try now?

I thought about something more.:

So the display might consist of 2 things really? (I've never realized this since now) The first one is the real LCD-display and "on" the LCD there is a plastic-special-surface called digitzer. So in my case the LCD is not functioning well but i don't know the condition fo the digitizer. So i can debug my the phone a bit more by "unlock the bootloader via htcdev" ? So that will work even when my LCD is broken for example?
[HTC Desire S] heavy_metal_man:
OK first you should delete your imei and HTC serial from that post as someone may try clone it....

Now your right that the screen is composed of both a LCd and a digitizer and you could replace the lcd on its own but it's very difficult to readd the digitizer to the new LCD so I would replace it as a whole unit :)

So your hboot should be able to be unlocked via www htcdev.com . and then use fastboot to flash 4ext recovery. Now 4ext recovery I think has a screen shot function so you could attempt to install a custom ROM. But I would recommend replacing the LCD and digitizer because you will really struggle to find functional use for the device :/
[HTC Desire S] -8-DEAMON-8-:
IMEI and HTC Serial removed!

Omg, i watch some youtube clips about "Disassemble HTC Desire S digitizer". For example i saw a clip from "electronicdoctor" who had a clip with the title "HTC DESIRE S DIGITIZER REPLACEMENT". There he removes the digitizer from the LCD. And theres a lot of special adhesive tape and glue here and there. And some small small parts i nearly cant see what it is because he does things fast. And when placing the digitizer we don't want any dust behind the digitizer ...

Hmm, i think we have to find a video or description where someone replacing the whole display module (without separating the LCD from the digitizer). Anyhow, if that procedure don't involve some special tape and ultra-small thing i maybe can reflect on whether i should buy a Display Module.

Hmm, a simple thing: Is it possible that the cable just ha deattatched (popped out) from the connector inside the phone?
[HTC Desire S] jmcclue:
That tape is just 3M double sided tape, u can get it off ebay for couple quid. Also the tape only goes around the edge of the digitizer. Very simple to change :)
[HTC Desire S] -8-DEAMON-8-:
Aha, do i need to use the 3M double sided tape when i change both the LCD and the digitizer "as a whole unit"/module? ( i mean without removing the digitizer from the LCD and so on)
[HTC Desire S] jmcclue:
If u buy the whole unit then no, it will just cost more to buy the whole unit.
[HTC Desire S] -8-DEAMON-8-:
Aha hmm,

Do you mean it is more expensive to buy a LCD+digitizer unit? Is it cheaper to buy 1 LCD and 1 digitizer separatly?
[HTC Desire S] jmcclue:
Not too sure but i think from other phones iv had like the lcd would cost bout 20 euro and the digitizer would cost 10 euro. If u were to buy complete unit, it would round the 50-60 euro mark. Also if u dont need new digitizer then just use the one u have, they easy to change, i changed mine with no problems at all.
[HTC Desire S] -8-DEAMON-8-:
Aha, so a complete unit can be more expensive?

I found LCDs and Digitizers here on Ebay with these prices:

Touch Screen Digitizer: US $8.5 (55 SEK)

LCD Display: US $18.5 (120 SEK)

Full LCD + Digitizer Assembly: US $25 (162 SEK) instead of $8.5+$18.5)

Is the third alternative a complete unit with LCD + Digitizer without use of tape?

But in the list there is a thing thats out of stock:

Full LCD Display + Frame

I wonder what that could be. Is this maybe the complete unit with a digitizer? Hard to know...

Anyhow..

If my digitizer is fully working, i might only buy a LCD right? (The digitizer have a lot of deep scratches also :/ ) I don't know how to test and see if my digitizer works. I started the phone and nowadays i hear the HTC Startup sound from the phone. After 2 minutes i think the OS have entered the LockScreen. I try to swipe down with a finger on the screen but nothing special happends. I dont even know what the (lock-)screen look likes. Maybe there is a PIN for the phone on the broken LCD. Hmm ^^.

Should i maybe try to find a complete unit?

Here are some that might be complete units on ebay:

+Frame Bezel LCD Display Touch Digitizer Screen Assembly For HTC Desire S S510e

Full LCD Display + Touch Screen Digitizer Assembly For HTC Desire S S510e G12
[HTC Desire S] jmcclue:
Yes buy this one. Looks more "complete"
[HTC Desire S] -8-DEAMON-8-:
Aha, that sounds good.

In the description of +Frame Bezel LCD Display Touch Digitizer Screen Assembly For HTC Desire S S510e it seems that the display have a "wide cable" (EDIT: oops, wrong information here before).

I found a torx 5 in my dads garage (no car these days but full of old things and stuff). ^^

Soo, when i disassemble my phone a bit, i took these pictures:

Does my phone seem to have a wide or narrow cable?
[HTC Desire S] jmcclue:
Peel off that silver tape stuff on the left side towards the bottom, flex connectors r under there (i think :p)
[HTC Desire S] Jann F:
The unsoldered connector on the right near the tape is the MDDI connector for the narrow flex display.

Let me know if you need HTC disassembly guides or more information.
[HTC Desire S] -8-DEAMON-8-:
Aha so between the connectors for a wide flex cable and the narrow flex cable are the digitizer cable? And the digitizer flex cable is always the same on all HTC Desire S?

What might happend if we connect a narrow clex cable to the so called MDDI-connector on my HTC Desire S?
[HTC Desire S] Jann F:
You simply can't at the connector isn't in reach of the flex and the MDDI flex connector is now as long as the RGB.

You can see this on the picture in the other thread here.

The only difference between your board and the board shown is, that your board only has either RGB+Digitizer (Touch Window) or MDDI and Digitizer soldered on.
[HTC Desire S] -8-DEAMON-8-:
What does the tape to? Must the tape be placed there again after i removed it for example?

So in theory: if i hade a spare MDDI-display-cable with a digitizer it would simply be impossible to connect the Hitatchi MDDI cable on my board?

A little info: Soo, my current display on the phone is not working right now. (The phone is from an electronic recycling room^^) The digitizer does not respond really, but the 4 buttons lights up when i turn the phone from idle/sleep to on mode (i mean, when i press the ON/OFF button after i turned on the phone)

It would also be nice if there are som way through fastboot/adb to get some information directly from the OS(/hardware) and see if it says something like SONY (wide) or HITATCHI (narrow). Like this thing:

dmesg | grep -i panel

Maybe i can browse the filesystem by adb/fastboot, but im very new to fastboot/adb and so. I think i need a rooted device or similar? I Googled a bit but it seems tricky.

Anyway, im now 98% sure that my phone has a Sony Wide cable. (I have to convince myself a little bit more)
[HTC Desire S] Jann F:
Since your board seems to have a RGB connector and a Digitizer connector, that would not be possible.

For identifying if Hitachi MDDI oder Sony RGB, check this PDF.
[HTC Desire S] -8-DEAMON-8-:
Aha, So now opened and found the green adhesive label with this:

It seems to be 4102 and that means i have a Sony (wide-flexcable) -display :D

Omg:

But when i look under the grey “steel”-looking adhesive and bend on the connector a bit i found this “catasrophique” concept:

Is it already goodbye to this (HTC Desire S) ( :C ) or should we think and research a bit more ( :D )?
[HTC Desire S] Jann F:
Seems to be pretty dead...

You can maybe sell the spare parts, but the display and the main PCB should go straight to the trash as you don't know what caused that drama...
[Galaxy S II Q&A, Help & Troubleshooting] dibartolodroid:
Hi guys. I have a problem on my I9100G. I have a black screen with yellow signs telling me to connect me on KIES to repair the firmware. I installed KIES on my computer I install drivers for samsung mobile phone. When I plug the phone after opening KIES and sought compensation for the firmware my computer does not recognize the phone. anyone have any idea what I should do? thank you.

Envoyé depuis mon GT-I9500 avec Tapatalk
[Galaxy S II Q&A, Help & Troubleshooting] memaro_maro:
dont use kies??..

update with stock firmwares (jb) by using odin.
[Galaxy S II Q&A, Help & Troubleshooting] dibartolodroid:
Thank you for reply but I would love to do that but it's impossible because I have my screen on constantly and I do not have access to download mode. What can i do then ?

Envoyé depuis mon GT-I9500 avec Tapatalk
[Galaxy S II Q&A, Help & Troubleshooting] memaro_maro:
no recovery or odin?

volume down + home button + power button (odin)
[Galaxy S II Q&A, Help & Troubleshooting] dibartolodroid:
Yes. no recovery or download mode.

Envoyé depuis mon GT-I9500 avec Tapatalk
[Galaxy S II Q&A, Help & Troubleshooting] memaro_maro:
u mean u just bricked your phone?

does your phone detected anything by pc? any driver detected such omap,mtp, or usb?

* if doest detected any, try pull out battery, then connect wt usb
[Galaxy S II Q&A, Help & Troubleshooting] dibartolodroid:
No when i plug my phone the pc don't detect it's plug even if the drivers are installed.

Envoyé depuis mon GT-I9500 avec Tapatalk
[Galaxy S II Q&A, Help & Troubleshooting] memaro_maro:
not even charging?

thats hard bricked phone. u need omapflash to boot up. search about 'Omapflash espresso'. need to recover from chipset (emmc) command. that a bit complicated but its work!!

i dont use any s2 anymore, but i've use this method before.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] hackzbrasnet:
Hello,

My GF have a Galaxy Note 10.1 (GT-N8000) and in february she updated to N8000UBCML2. Ah, she never used root, CWM, etc, her tablet is totally "official", so she updated her tablet using WiFi but after the update her tablet started to "reboot every X hours" sometimes more or less. I did a wipe and her tablet is now very better but sometimes he just reboot and get in loop.

She asked me to go to the old version, since the old version was working fine. So I tried to enter in Recovery Mode but her tablet just reboot 2~3 seconds after enter in Recovery Mode, I really don't know what to do I can't use Odin.

Someone help plx
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] kable:
Try this video it may help. Go to 1:08 and try that method.

https://www.youtube.com/watch?v=ozLJ1JrxEnM
[Android Software/Hacking General [Developers Only]] durancharles27:
Warning: Do a backup before doing this!

This is how to enable User Profiles in Jelly Bean (below 4.3).

1. Decompile Settings.apk

2. Go to res/values/strings.xml

Add this code:

<string name="multi_user_profiles">Users</string>

For example:

3. Go to res/xml/settings_headers.xml

Add this code:

<header android:icon="@drawable/ic_settings_multiuser" android:title="@string/multi_user_profiles" android:fragment="com.android.settings.users.UserSettings" />

For example:

4. Download the attached, "user icon": http://www.mediafire.com/download/ov1lqrzgiz1zjfn/user_icon.zip

5. Extract user_icon.zip, inside is a png image file named "ic_settings_multiuser.png"

6. Put "ic_settings_multiuser.png" into the drawable-hdpi folder or your main image folder that your device uses (e.g. drawable-hdpi, drawable-mdpi, drawable-ldpi, drawable-xdpi, drawable-xxdpiI)

For example:

7. Recompile Settings.apk

8. Push the new Settings.apk into system/app and set permissions to rw-r-r

9. Reboot your phone

The end result should be like this:

To activate: Open the Power Menu (e.g. Hold Down the Power Button)

Note: You won't be able to fully restrict your contents from the Guest profile. That's why before establishing a Guest profile, you should choose the apps that should be restricted from the Guest profile.
[Android Software/Hacking General [Developers Only]] ChinmayKunkikar:
Thanks [MENTION=5431992]durancharles27[/MENTION] ! :)

I want to give it a try!

Before that, I have few questions to ask -

1. Will this surely work on 4.1 Xperia rom?

2. Doesn't this need any smali editing?
[Android Software/Hacking General [Developers Only]] durancharles27:
1. The only requirement for this to work is to have Android 4.1

2. It doesn't need any smali editing.
[Android Software/Hacking General [Developers Only]] ChinmayKunkikar:
Ok thanks!

Will try it soon! :)
[Android Software/Hacking General [Developers Only]] SpaceCaker:
hmm i tried to launch UserSettings

but it fcd my apk :P

will take a logcat asap.

i did found the usersettings smali inside the settings apk but in manifest i couldnt find it o.O

weird though xD

<bool name="enable_user_management">false</bool> maybe need to set this to true ? :p
[Android Software/Hacking General [Developers Only]] kinglauryl:
Working

Just did it change the PNGs....working and testing it now.
[Android Software/Hacking General [Developers Only]] ChinmayKunkikar:
Can you share that png here?

Even I am using Xperia. :)
[Android Software/Hacking General [Developers Only]] kinglauryl:
Here's the PNG I created myself. It will adapt to the color of your theme.
[Android Software/Hacking General [Developers Only]] vananuan:
Thank you !

this is very good , i have completed on my device LG-E970 .

but i have a question : how to turn on PIN ?
[Android Software/Hacking General [Developers Only]] Bingley:
Bloomin' heck, this is exactly what I've been looking for for my new Lenovo S5000 tablet - thanks!

---------- Post added at 02:19 PM ---------- Previous post was at 01:30 PM ----------

Argh, I get errors installing framework-res via apktool, and then errors recompiling settings.apk. I wonder if anyone would be able to apply the OP's xml modifications to my files out of kindness?

https://www.dropbox.com/sh/blbhdm32bw223qu/Pze0WIcto8 would be my framework & settings if so :)
[Android Software/Hacking General [Developers Only]] Ticklefish:
Well, I can certainly take a look for you. I'm downloading your files now. What sort of errors are you getting?
[Android Software/Hacking General [Developers Only]] Bingley:
Thanks. Although don't spend too much time, I've just tried https://play.google.com/store/apps/details?id=fahrbot.apps.switchme / Switchme app and now I'm stuck on my bootanimation, without a recovery :/ oops!
[Android Software/Hacking General [Developers Only]] Ticklefish:
Oooh...not good. Hopefully you'll be back to normal soon. :)

---------- Post added at 02:45 PM ---------- Previous post was at 02:43 PM ----------

Nope..you need to install more frameworks..

Decompiling "Settings.apk",
using "apktool_2.0.0b9.jar"

With Tickle My Android v9.0.
(tinyurl.com\ticklemyandroid)

----------------

I: Using Apktool 2.0.0-Beta9 on Settings.apk
I: Loading resource table...
W: Skipping "android" package group
I: Loading resource table...
W: Skipping "android" package group
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Me\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x03010001
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x03010001
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingTop, value=0x030a000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x030a000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingStart, value=0x030a0010
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingEnd, value=0x030a0010
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x03010001
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x03010001
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingTop, value=0x030a000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingBottom, value=0x030a000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingStart, value=0x030a0010
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingEnd, value=0x030a0010
I: Decoding values */* XMLs...
Cleaning up unclosed ZipFile for archive C:\Users\Me\apktool\framework\1.apk
Can't find framework resources for package of id: 3. You must install proper framework files, see project website for more info.

----------------

Decompile Not Successful!
[Android Software/Hacking General [Developers Only]] chevanlol360:
Am i the only one getting google play force close errors each time i check/uncheck an app from the user profile settings? Doesnt even work, i can still open the apps the i uncheck.
[Android Software/Hacking General [Developers Only]] takurcuy69:
thank you sir

everything is working very well.. ;)
[Android Software/Hacking General [Developers Only]] Bingley:
Right, thankfully I've managed to find& flash my original firmware and reroot, so I'm looking at which frameworks I require. Your tool is downloading now, too, it looks easier to use :).

If I can get this working I'll be so happy! :)
[Android Software/Hacking General [Developers Only]] the_vanya1:
Great Mod, thx

But how to active PIN option?
[Android Software/Hacking General [Developers Only]] Bingley:
I'm having problems getting adb connecting to my device but have uploaded two more apk files to my Dropbox folder if, again, anyone could kindly decompile, add strings, and recompile - I'd really appreciate it.

Next I'm uninstalling all Android drivers, all adb and apk tools, and starting again haha.
[Android Software/Hacking General [Developers Only]] durancharles27:
There's a way to make the checkbox work but there won't be a way to actually ask for a PIN. But I'll look for ways to uproot it.
[Android Software/Hacking General [Developers Only]] durancharles27:
Your Settings.apk doesn't have a classes.dex file in it.

Look:

[/URL][/IMG]

Without classes.dex, you will never be able to decompile.

Which means this apk has been odexed.

You can't decompile an odexed apk.
[Android Software/Hacking General [Developers Only]] Bingley:
Thanks for trying. It's the stock settings.apk - the only one in the rom//system. I have a settingsprovider.apk (https://www.dropbox.com/s/oeoefo0itfgwurt/SettingsProvider.apk, & odex https://www.dropbox.com/s/oeoefo0itfgwurt/SettingsProvider.apk) but its 40kbs, so likely not the right one. Do you need the odex of the apks I've uploaded? If so, I've added settings.odex (https://www.dropbox.com/s/96tjlhszf6wx6ku/Settings.odex) to the folder (based on a quick google of settings.apk and classes.dex missing via https://code.google.com/p/smali/issues/detail?id=61).

If this doesn't help, I'm not sure where else I can look for another settings apk, I know my way around android but not so much classes etc.