Here's a solution for 'LCD Screen Display Problem' of the Samsung I5500 Galaxy 5 also known as Samsung i5500 Corby Smartphone, Samsung Galaxy Europa, Samsung Galaxy 550 with Android OS version, v2.1 (Eclair), upgradable to v2.2
This solution may help fix the phone if the said LCD display goes abnormal or no display showed, and already tried the software calibration and changing or replacing the LCD screen module but nothing happens.
The solution below shows an additional info on how to repair the display problem of the Samsung Galaxy 5.
Hints on troubleshooting the LCD display problem of Samsung Galaxy 5:
1. Visually check the LCD screen module for possible damaged, cracked or broken. or try to replace if you are not so sure about it.
2. Clean the LCD pin connector using a cleaning liquid. An oxidation build up on the LCD connector will also cause the display problem. Re-solder if found broken or damaged.
3. Check the seven LCD filters just mounted near the LCD pin connector, resolder or replace if necessary.
Just up to that point up from now we will find more solutions to this device and update this post sooner.
Thứ Bảy, 22 tháng 10, 2011
How to make Samsung Galaxy S Download Mode JIG to solve if 3-Button combination failed
If you ever have a problem or getting trouble how to set the the Samsung Galaxy S and other Galaxy S series into 'Download Mode' if pressing the three button combination (Volume down+Power+OK) failed or not working for some reasons while flashing the phone using ODIN. This solution may help solved your problem.
All you need is a good soldering skills, a little bit effort and creativity and some components and tools below.
* micro USB cable
* a 300K- 1/4 watch Resistors
* Soldering iron at least 20Watts and a soldering lead
* a cutter or knife
Here's the block diagram to make a homemade Download Mode Jig dongle.
Procedures:
All you need is to solder the pin 4 (ID) and pin 5 (Ground) pins of the micro USB plug. Just cut out the sleeves of the USB plug, then attached and solder the 300K resistor across to pin 4 and 5. Just as like this finished product below:
How to use on Samsung Galaxy S while using ODIN.
1. Pull out the battery for about 2-5 minutes, then inplace it back again. Do not turn it ON yet.
2. Connect the jig you just made. Avoid touching the resistor and pins on the back or just put a a non inductive cover around it, an electrical tape may work. The device will just turn into download mode in just a couple of seconds without pressing any buttons.
3. Once the Samsung Galaxy S displays the Downloading, disconnect the homemade jig USB plug and connect a regular USB cable from your PC to the phone, then you can flash the device using Odin.
Or to avoid any hassles or without any soldering skills ask Google where to find it.
It's very cheap but this USB Jig dongle will help you access to download mode even if your phone is 3-button combo disabled. if u plan on getting root access or adding ROM'S, you should have a dongle jig on hand just in case things do not go as planned.Download Mode Micro USB Jig will allow you to access download mode on your Samsung Galaxy S Phone.
This JIG also work with other phones below:
Samsung i896 Galaxy S Captivate Samsung T959 Vibrant Galaxy S Samsung Galaxy S Epic Samsung Omnia 7 Samsung i9000 Galaxy S Samsung Galaxy S Fascinate Samsung I897 Galaxy S Captivate
Here's a video from NXjeff in his version of Homemade Samsung Galaxy S Download Mode Jig:
All you need is a good soldering skills, a little bit effort and creativity and some components and tools below.
* micro USB cable
* a 300K- 1/4 watch Resistors
* Soldering iron at least 20Watts and a soldering lead
* a cutter or knife
Here's the block diagram to make a homemade Download Mode Jig dongle.
Procedures:
All you need is to solder the pin 4 (ID) and pin 5 (Ground) pins of the micro USB plug. Just cut out the sleeves of the USB plug, then attached and solder the 300K resistor across to pin 4 and 5. Just as like this finished product below:
How to use on Samsung Galaxy S while using ODIN.
1. Pull out the battery for about 2-5 minutes, then inplace it back again. Do not turn it ON yet.
2. Connect the jig you just made. Avoid touching the resistor and pins on the back or just put a a non inductive cover around it, an electrical tape may work. The device will just turn into download mode in just a couple of seconds without pressing any buttons.
3. Once the Samsung Galaxy S displays the Downloading, disconnect the homemade jig USB plug and connect a regular USB cable from your PC to the phone, then you can flash the device using Odin.
Or to avoid any hassles or without any soldering skills ask Google where to find it.
It's very cheap but this USB Jig dongle will help you access to download mode even if your phone is 3-button combo disabled. if u plan on getting root access or adding ROM'S, you should have a dongle jig on hand just in case things do not go as planned.Download Mode Micro USB Jig will allow you to access download mode on your Samsung Galaxy S Phone.
This JIG also work with other phones below:
Samsung i896 Galaxy S Captivate Samsung T959 Vibrant Galaxy S Samsung Galaxy S Epic Samsung Omnia 7 Samsung i9000 Galaxy S Samsung Galaxy S Fascinate Samsung I897 Galaxy S Captivate
Here's a video from NXjeff in his version of Homemade Samsung Galaxy S Download Mode Jig:
How to back up sms/texts messages, bookmarks, games and apps on Samsung Galaxy Tab: Procedures
If you ever wanted to flash or upgrade your Galaxy Tab to any Firmware update, it is very important that you must back up all of your precious data stored or installed on the device (like your sms/texts messages, bookmarks, games scores, etc.), so a backup of your data would be your first approach. Firmware installation process will wipe and delete all of them and there are no guaranties that you can recover them again once it already been wipe out.
Below are the following free tools you may find and download on Android Market to help you back-up your essential data.
But before you can install this tools, A rooted Galaxy Tab is required you may need to root your Tab if you haven't rooted it. Guide on how to root the Galaxy Tab here..
- Titanium Backup (by Titanium Track): Titanium Backup is a good when it comes to backing up the third party apps (to save you the headache of going to the market, searching and downloading them again) as well as the data you’ve accumulated with your data (for apps like 3G Watchdog, game saves on games like Angry Birds etc.
How to use:
1. Download and installed it then fire it up and let it load. For first timer using this apps there is a request for you to allow it to be granted root rights.. just do allow it.
2. Now press the “Menu” key and select “Batch” Titanium Backup might take a while here calculating some scenarios, but it should provide you with a page headlined in blue called “Batch Backup/Restore – ALL”.
Press the “RUN” button next to the option “Backup all user apps”. Next you’re presented with a
page headlined in blue called “Backup all user apps”.
3. Now you can just press the “Run the batch operation” button to backup all the user apps you’ve got installed in your Tab, or you can choose and select only the apps you want to back up.
4.Once you’ve chosen the apps you want to backup, hit the “Run the batch operation” button to start the backup operations.) This is entirely your call.
Let it run until the batch back operation completely finish..
5. Look for the folder called TitaniumBackup in your Internal SD. Copy it to your PC or to
your External SD. That's it! you have back up your apps with Titanium
Backup.
- SMS Backup & Restore (by Ritesh Sahu): This app is great for backing up all your SMS/Text messages. (I’m not sure about MMS messages though – I rarely receive them!)
1. Get it from the Market.
2. fire it up and hit the “Backup” button! It should notify you once it’s
done backing up.
3. Look for the folder called SMSBackupRestore in your Internal SD. Copy it to somewhere safe: like your PC or to your External SD if you have one! That's it backing up
your SMS/Text messages with SMS Backup & Restore.
- SMS Backup + by Jan Berkel. Automatically backup SMS, MMS and call log entries using a separate label in Gmail / Google Calendar. It is also possible to restore SMS and call log entries back to the phone (MMS not supported yet). Trust me, this small lil’app is a life-saver! Once in my haste in backing up and flashing, I accidentally deleted
my SMSBackupRestore folder. Once I wiped and flashed the ROM, a cold chill went up my spine, when SMS Backup & Restore told me it couldn’t find my backup file! Thank god for “SMS Backup +”! The restoring process from my Gmail is a tad slow, but hey it works. Plus it has the added
advantage of backing up your SMS data to your Gmail, should your phone get (touch wood!)
stolen/misplaced/damaged… Just remember to let it back-up at least once, until it says, there’s
nothing to back up and to select the “Auto backup” function!
- Bookmark Sort & Backup (by HappyDroid): This app is great for backing up all your bookmarks in the stock browser. (It’s also great for sorting them in the order you like as well!) Get it from the Market and fire it up. Hit the menu key and select “Backup”! It should notify you once it’s done backing up. Now this is very important: Look for the folder called BookmarkSB in your Internal SD. Copy it to somewhere safe: like your PC or to your External SD if you have one! You’re done backing up your Brower’s bookmarks with Bookmark Sort & Backup.
- ES File Explorer (by Estrongs Inc.): This is a great file manager. It allows you to easily connect to your network shares, it can see/edit the hidden folders that the stock Samsung “My files” file manager can’t see. Use it to back up the relevant folders as required. For example, games like those produced by Glu, keep their game assets and other stuff in a folder called “glu”, Aldiko Reader keeps its book database in a folder called “eBooks” while the popular Bible app by YouVersion keeps its assets and offline bible database in a hidden folder (which My Files can’t see) called “.youversion” (Notice the dot?) Like the other important
folders above, you might want to back up these folders to a safe location. I use ES File Explorer to make a copy of these folders to my External SD card. You can also copy it them to your PC via your USB connection.
Below are the following free tools you may find and download on Android Market to help you back-up your essential data.
But before you can install this tools, A rooted Galaxy Tab is required you may need to root your Tab if you haven't rooted it. Guide on how to root the Galaxy Tab here..
- Titanium Backup (by Titanium Track): Titanium Backup is a good when it comes to backing up the third party apps (to save you the headache of going to the market, searching and downloading them again) as well as the data you’ve accumulated with your data (for apps like 3G Watchdog, game saves on games like Angry Birds etc.
How to use:
1. Download and installed it then fire it up and let it load. For first timer using this apps there is a request for you to allow it to be granted root rights.. just do allow it.
2. Now press the “Menu” key and select “Batch” Titanium Backup might take a while here calculating some scenarios, but it should provide you with a page headlined in blue called “Batch Backup/Restore – ALL”.
Press the “RUN” button next to the option “Backup all user apps”. Next you’re presented with a
page headlined in blue called “Backup all user apps”.
3. Now you can just press the “Run the batch operation” button to backup all the user apps you’ve got installed in your Tab, or you can choose and select only the apps you want to back up.
4.Once you’ve chosen the apps you want to backup, hit the “Run the batch operation” button to start the backup operations.) This is entirely your call.
Let it run until the batch back operation completely finish..
5. Look for the folder called TitaniumBackup in your Internal SD. Copy it to your PC or to
your External SD. That's it! you have back up your apps with Titanium
Backup.
- SMS Backup & Restore (by Ritesh Sahu): This app is great for backing up all your SMS/Text messages. (I’m not sure about MMS messages though – I rarely receive them!)
1. Get it from the Market.
2. fire it up and hit the “Backup” button! It should notify you once it’s
done backing up.
3. Look for the folder called SMSBackupRestore in your Internal SD. Copy it to somewhere safe: like your PC or to your External SD if you have one! That's it backing up
your SMS/Text messages with SMS Backup & Restore.
- SMS Backup + by Jan Berkel. Automatically backup SMS, MMS and call log entries using a separate label in Gmail / Google Calendar. It is also possible to restore SMS and call log entries back to the phone (MMS not supported yet). Trust me, this small lil’app is a life-saver! Once in my haste in backing up and flashing, I accidentally deleted
my SMSBackupRestore folder. Once I wiped and flashed the ROM, a cold chill went up my spine, when SMS Backup & Restore told me it couldn’t find my backup file! Thank god for “SMS Backup +”! The restoring process from my Gmail is a tad slow, but hey it works. Plus it has the added
advantage of backing up your SMS data to your Gmail, should your phone get (touch wood!)
stolen/misplaced/damaged… Just remember to let it back-up at least once, until it says, there’s
nothing to back up and to select the “Auto backup” function!
- Bookmark Sort & Backup (by HappyDroid): This app is great for backing up all your bookmarks in the stock browser. (It’s also great for sorting them in the order you like as well!) Get it from the Market and fire it up. Hit the menu key and select “Backup”! It should notify you once it’s done backing up. Now this is very important: Look for the folder called BookmarkSB in your Internal SD. Copy it to somewhere safe: like your PC or to your External SD if you have one! You’re done backing up your Brower’s bookmarks with Bookmark Sort & Backup.
- ES File Explorer (by Estrongs Inc.): This is a great file manager. It allows you to easily connect to your network shares, it can see/edit the hidden folders that the stock Samsung “My files” file manager can’t see. Use it to back up the relevant folders as required. For example, games like those produced by Glu, keep their game assets and other stuff in a folder called “glu”, Aldiko Reader keeps its book database in a folder called “eBooks” while the popular Bible app by YouVersion keeps its assets and offline bible database in a hidden folder (which My Files can’t see) called “.youversion” (Notice the dot?) Like the other important
folders above, you might want to back up these folders to a safe location. I use ES File Explorer to make a copy of these folders to my External SD card. You can also copy it them to your PC via your USB connection.
Procedure: How to Root Samsung Galaxy Tab Andriod 2.3.3 Gingerbread Using CF-Root JQ1
Here's the procedure on how to root the Samsung Galaxy TAB using Chainfire CF_ROOT Kernel JQ1 for Samsung Galaxy Tab that already upgraded or runs on Android 2.3.3 Gingerbread firmware update:
Biggest thanks to Chainfire of XDA who shared with us the CF-Root kernel for rooting the Samsung Galaxy Tab running Android 2.3.3 Gingerbread. Now, Owners of the Samsung Galaxy Tab can now root their devices in just a simple steps ahead. CF-Root is built upon the stock Samsung kernel and adds root, Busybox and ClockworkMod recovery to it.
Disclaimer: Please follow this instruction at your own risk. Droidangel will not be responsible if your device gets damaged or bricked during the process.
This kernel is meant only for the GSM version of the Galaxy Tab and if you wanted to try it out on another variant shall do so without any support from the developer.
Needed files in this Process:
* Galaxy Tab that runs stock Android 2.3.3 Gingerbread firmware.
* ODIN 1.7 (use this version to avoid any issues) Download and have it installed on the PC.
* Samsung USB drivers installed. Download USB drivers for 32 bit Windows | For 64 bit Windows.
* Chainfire CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.zip.
Procedures:
1. Download the CF-Root file from the link above and extract it CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.tar.
2. Run ODIN EXE. downloader program.
3. On the PDA button in ODIN, select and place the file named CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.tar.
4. Prepare the Device Into Download Mode ( Press Volume Down + Power ON button at the same time). Then connect it to your PC or laptop.
5. Make sure to: DO NOT CHECK the Repartition checkbox.
6. If everything is all ready... flash the phone, by simply hitting the Start button in ODIN.
7. Wait until the whole process successfully completes.
Once completed the device will then reboot.
That's It! Now your Samsung Galaxy Tab is already rooted...
For more information and updates visit this Chainfire's thread at XDA-Developers forum.
http://forum.xda-developers.com/showthread.php?t=885734
Biggest thanks to Chainfire of XDA who shared with us the CF-Root kernel for rooting the Samsung Galaxy Tab running Android 2.3.3 Gingerbread. Now, Owners of the Samsung Galaxy Tab can now root their devices in just a simple steps ahead. CF-Root is built upon the stock Samsung kernel and adds root, Busybox and ClockworkMod recovery to it.
Disclaimer: Please follow this instruction at your own risk. Droidangel will not be responsible if your device gets damaged or bricked during the process.
This kernel is meant only for the GSM version of the Galaxy Tab and if you wanted to try it out on another variant shall do so without any support from the developer.
Needed files in this Process:
* Galaxy Tab that runs stock Android 2.3.3 Gingerbread firmware.
* ODIN 1.7 (use this version to avoid any issues) Download and have it installed on the PC.
* Samsung USB drivers installed. Download USB drivers for 32 bit Windows | For 64 bit Windows.
* Chainfire CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.zip.
Procedures:
1. Download the CF-Root file from the link above and extract it CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.tar.
2. Run ODIN EXE. downloader program.
3. On the PDA button in ODIN, select and place the file named CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.tar.
5. Make sure to: DO NOT CHECK the Repartition checkbox.
6. If everything is all ready... flash the phone, by simply hitting the Start button in ODIN.
7. Wait until the whole process successfully completes.
Once completed the device will then reboot.
That's It! Now your Samsung Galaxy Tab is already rooted...
For more information and updates visit this Chainfire's thread at XDA-Developers forum.
http://forum.xda-developers.com/showthread.php?t=885734
How to: Understanding ADB on Android Powered Devices, Set up and Install procedure
Here's a tutorial on how to understand and make use of ADB on Android-powered-devices.
This guide will show the step by step procedure on how to install and use the ADB for testing and debugging purposes by Android developers.
Reference Files
http://adrynalyne.us/files/How%20to%20install%20adb.pdf
http://adrynalyne.us/files/Using%20ADB.pdf
So, lets just start with the basics.
What is ADB?
ADB stands for the android debugging bridge and is used for testing and debugging purposes by developers.
Android Debug Bridge (ADB) is a versatile tool lets you manage the state of an emulator instance or Android-powered device. It is a client-server program that includes three components:
However, we like to get more out of our devices, and its a great way to fix things.
Knowing adb can mean the difference between a paperweight and a working phone.
How to Install ADB?
Generally speaking, the Sun/Oracle JDK is required to run all SDK functions.
ADB is but one tool in the SDK arsenal.
So, we begin by downloading and installing the JDK. This can be found here:
https://cds.sun.com/is-bin/INTERSHOP...-CDS_Developer
Choose your OS, download and install. I recommend that 64 bit users use the regular x86/32 bit version as well.
Moving ahead, we download the Windows sdk from here:
http://dl.google.com/android/installer_r08-windows.exe
Due to already installing JDK, you won't be stopped by the install process.
Now, if you notice, I installed it to:
C:\android-sdk-windows
I did this because it makes things easier when setting up path variables.
I encourage everyone to do the same, but obviously it is not required.
So, this SDK is handy, but is only good up to 2.2. We want the latest and greatest! (Well I do)
So, we navigate to:
C:\android-sdk-windows\
and we run SDK Manager.exe
If you notice in your PDF file for installing adb, you will notice that you can update, and I made a choice not to include earlier sdk versions.
I won't go into full detail on that, but depending on the version of SDK you have, 8 or 9, it WILL make a difference in using adb.
By default, for version 8 adb.exe resides in C:\android-sdk-windows\tools
By default, for version 9 adb.exe resides in C:\android-sdk-windows\platform-tools
We will assume version 9 in this guide
Really, the SDK is installed and ADB is usable right now, but in my humble opinion, its not enough
I like the ability to use adb in ANY directory on my machine.
To do this, we edit Windows's environment variables.
Specifically, the system path.
To do this, we click on start, or the orb (depending on OS), and right click on Computer, left clicking on properties in the menu.
If its windows XP, I believe it brings you into advanced system properties immediatly. Vista and 7 need a second step.
On the left hand side, as you notice I have highlighted in the pdf, left click advanced system settings.
Under advanced tab, we left click environment variables...
There are two boxes here.
We are concerned with system variables, however.
So we scroll down the list and highlight path and click edit.
Ignoring all the extra stuff in here, make sure you are at the end of the line, and type
The semicolon allows us to separate it
from the previous path statement.
Click ok all the way out.
We now have ADB setup globally. We can use cmd.exe (I use powershell) and no matter what directory we are in, adb is recognized.
If it is not, make certain you entered the path into system variables, and made no typos.
If you installed to a different location, you will need to adjust the path accordingly.
This concludes the section on installing the Android SDK to use ADB.
This next section will be on using ADB, so please open that pdf now.
Now, this applies to any OS, not just Windows.
Well, with the exception of the USB drivers.
I will not go too much into that, but if you take a look at the PDF, it goes through installing usb drivers for the sdk, and how to download them.
Fiarly straightforward, in that rspect.
Now, to setup our phones to use with the SDK and ADB, we must change some settings.
First, we go to menu softkey, then settings.
We scroll down to Applications and tap it.
Under Development, we will check Enable USB Debugging. Please note the SGS phones are different in this respect.
The USB cable must be unplugged before enabling or disabling this setting.
Once this is done, we are now ready to play with adb
One quick note: If you get device not found/conencted, please reboot your phone. DJ05 has a quirk in it where ADBD randomly crashes on boot.
A reboot will fix this
ADBD= ADB Daemon
Ok, continuing on.
Lets look at installing applications. This is also known as sideloading.
Unlike installing from the SD card, it does not require unknown sources to be enabled.
The command for this is
This assumes that you are working from the directory where the file is located.
This will install the application to /data/app.
It will also show sometimes useful errors if install fails.
That is not something you will see from the Android GUI.
Now, a lot of us have probably deleted files with apps like Root Explorer. While this isn't really a bad thing, it leaves behind databases and data for the application removed.
This is where the 0kb applicaiton entries come from.
If you take that application entry name, you can uninstall the extra data via adb.
First we go to the adb shell which logs into the phone.
If we end up with a $, we will want admin rights, in many cases. This is not one of them, I don't beleive.
To get admin rights, you want to type
Look at your phone if this is the first time, it may prompt you to allow access. Else you will get permission denied.
If you are not rooted, this will not work either.
Ok, now that we are logged in, we will type
where packagename is the name of the 0kb listing.
Now this seems like a pain in the a** and I agree.
HOWEVER
There will be a time where Manage applications crashes when you try to uninstall it from the phone. In this case, a factory reset, or this method is the only effective way to fix the problem.
Moving on.
How many of us have removed system applications or renamed them? Did you know that you can simply disable them from the system?
This will disable it, and the system will ignore it.
This can be seen as safer than deleting or renaming things, but your mileage may vary.
On the other hand, you can also re-enable these applications.
Please note: Not all applications will properly re-enable. I believe a factory reset or reinstall of said application will fix the issue.
Also, application names are absolutely case sensitive.
*nix based Operating Systems see the letter 'a' and 'A' as two different things.
when you log into adb shell, you are playing by android rules
Ok, a lot of us tweak and mod our phones and turning off the device to get to clockwork recovery, or battery pulls, or multiple button holds to get into Download mode are troublesome and annoying at best.
ADB can help us here.
Here, we do not need to be logged into the shell
If we want to merely reboot the phone:
If we want to go to recovery (works well with voodoo5)
If we want to go to Download Mode because we need Odin, heaven forbid:
Its instant. No waiting on animations or anything else.
Its also handy if Android has locked up, but yet still works in adb.
I for one hate taking my case off to battery pull.
So now we move on to pushing and pulling files.
Sometimes, I don't feel like mounting my sd card to copy a file over to my phone.
I can use this command to push a file straight to my sd card:
So for instance, if I have test.txt that I want to send, I would type:
and there it goes.
Ok moving on
Pushing files can be done to any directory, however, some are protected.
For instance, /system is going to give you a permission denied or a read only filesystem error.
To get around this, the easiest thing to do is push the file to your sdcard, then log into the shell:
We will then mount the system as writable
Then we can use something like
cp stands for copy
and it requires the path of the file and destination path. The name of the file is optional
When you copy it, you can rename it to whatever you like.
For instance, if we wanted to backup a file
Now, lets assume you do not have busybox installed.
You non rooted users will not.
Then you must use a slightly more complicated command called dd
This is used like this:
if is for inputfile
of= output file
Not every user friendly, but probably one of the safer copy commands.
Ok, moving on to pulling files.
Lets say you want to get a file from your phone, to modify, backup, etc.
To do this, we simply use adb in this manner:
For instance, if I wanted to backup ADW launcher in system/app
I would do this
And it will pull the file from the phone and put it in the current directory.
Like above, you can specifcy where it goes.
pushing files to the sdcard, it seems prudent to talk about changing permissions.
sdcards are typically fat32, which destroys permisisons, and Android is heavily permission based.
So if you push an application to your sd card, then try to copy it to /system/app/ bad things are going to happen, or the app may not even show up.
So in that case, we use something called chmod.
This is used in this manner
Keep in mind
you dont want to do this while its still on your sd card.
an example
755 is good for applications and script files.
Just a couple more topics to cover.
Lets go over deleting files.
This becomes especially handy for removing rogue applications.
To do this, we must be in the adb shell.
You may need to remount system as writable with:
That applies when using chmod as well.
So what I did above was delete ADW Launcher from system/app
However, what if I wanted to delete the entire contents of a directory?
Same thing as before, except
I just cleared my dalvik-cache with that command
very quick, very effective.
If you just tried that, please reboot your phone now
Ok....this leaves us with the final topic: logcat
logcat allows us to log what the OS is doing, and possibly delve information for when things are not working
its quite simple Reading it is another.
To use logcat
To logcat to a certain file do
Now we let the log settle down to a reasonable amount of data coming in and not a wall of scrolling, then start the app in question. When it gives an error, we hit ctrl-C and kill the adb shell session.
This should have captured enough data to see the error. Now, I prepared an example. A user came to me on IRC, and Google Maps was force closing. Clearing data didnt fix it, Clearing dalvik-cache, and fix permissions did not fix it. In this case, the user did not know how to use adb So I had him grab an app called alogcat from the market and email me the log. This is also a very valid method.
this file explains what the problem was, and highlights what to look for as an example.
http://adrynalyne.us/files/logcat.pdf
Prepared by XDA Senior Moderator Captainkrtek.
Originally created by by XDA Member Adrynalyne
This guide will show the step by step procedure on how to install and use the ADB for testing and debugging purposes by Android developers.
Reference Files
http://adrynalyne.us/files/How%20to%20install%20adb.pdf
http://adrynalyne.us/files/Using%20ADB.pdf
So, lets just start with the basics.
What is ADB?
ADB stands for the android debugging bridge and is used for testing and debugging purposes by developers.
Android Debug Bridge (ADB) is a versatile tool lets you manage the state of an emulator instance or Android-powered device. It is a client-server program that includes three components:
However, we like to get more out of our devices, and its a great way to fix things.
Knowing adb can mean the difference between a paperweight and a working phone.
How to Install ADB?
Generally speaking, the Sun/Oracle JDK is required to run all SDK functions.
ADB is but one tool in the SDK arsenal.
So, we begin by downloading and installing the JDK. This can be found here:
https://cds.sun.com/is-bin/INTERSHOP...-CDS_Developer
Choose your OS, download and install. I recommend that 64 bit users use the regular x86/32 bit version as well.
Moving ahead, we download the Windows sdk from here:
http://dl.google.com/android/installer_r08-windows.exe
Due to already installing JDK, you won't be stopped by the install process.
Now, if you notice, I installed it to:
C:\android-sdk-windows
I did this because it makes things easier when setting up path variables.
I encourage everyone to do the same, but obviously it is not required.
So, this SDK is handy, but is only good up to 2.2. We want the latest and greatest! (Well I do)
So, we navigate to:
C:\android-sdk-windows\
and we run SDK Manager.exe
If you notice in your PDF file for installing adb, you will notice that you can update, and I made a choice not to include earlier sdk versions.
I won't go into full detail on that, but depending on the version of SDK you have, 8 or 9, it WILL make a difference in using adb.
By default, for version 8 adb.exe resides in C:\android-sdk-windows\tools
By default, for version 9 adb.exe resides in C:\android-sdk-windows\platform-tools
We will assume version 9 in this guide
Really, the SDK is installed and ADB is usable right now, but in my humble opinion, its not enough
I like the ability to use adb in ANY directory on my machine.
To do this, we edit Windows's environment variables.
Specifically, the system path.
To do this, we click on start, or the orb (depending on OS), and right click on Computer, left clicking on properties in the menu.
If its windows XP, I believe it brings you into advanced system properties immediatly. Vista and 7 need a second step.
On the left hand side, as you notice I have highlighted in the pdf, left click advanced system settings.
Under advanced tab, we left click environment variables...
There are two boxes here.
We are concerned with system variables, however.
So we scroll down the list and highlight path and click edit.
Ignoring all the extra stuff in here, make sure you are at the end of the line, and type
Code:
;C:\android-sdk-windows\platform-tools
from the previous path statement.
Click ok all the way out.
We now have ADB setup globally. We can use cmd.exe (I use powershell) and no matter what directory we are in, adb is recognized.
If it is not, make certain you entered the path into system variables, and made no typos.
If you installed to a different location, you will need to adjust the path accordingly.
This concludes the section on installing the Android SDK to use ADB.
This next section will be on using ADB, so please open that pdf now.
Now, this applies to any OS, not just Windows.
Well, with the exception of the USB drivers.
I will not go too much into that, but if you take a look at the PDF, it goes through installing usb drivers for the sdk, and how to download them.
Fiarly straightforward, in that rspect.
Now, to setup our phones to use with the SDK and ADB, we must change some settings.
First, we go to menu softkey, then settings.
We scroll down to Applications and tap it.
Under Development, we will check Enable USB Debugging. Please note the SGS phones are different in this respect.
The USB cable must be unplugged before enabling or disabling this setting.
Once this is done, we are now ready to play with adb
One quick note: If you get device not found/conencted, please reboot your phone. DJ05 has a quirk in it where ADBD randomly crashes on boot.
A reboot will fix this
ADBD= ADB Daemon
Ok, continuing on.
Lets look at installing applications. This is also known as sideloading.
Unlike installing from the SD card, it does not require unknown sources to be enabled.
The command for this is
Code:
adb install packagename
This will install the application to /data/app.
It will also show sometimes useful errors if install fails.
That is not something you will see from the Android GUI.
Now, a lot of us have probably deleted files with apps like Root Explorer. While this isn't really a bad thing, it leaves behind databases and data for the application removed.
This is where the 0kb applicaiton entries come from.
If you take that application entry name, you can uninstall the extra data via adb.
First we go to the adb shell which logs into the phone.
Code:
adb shell
To get admin rights, you want to type
Code:
su
If you are not rooted, this will not work either.
Ok, now that we are logged in, we will type
Code:
pm uninstall packagename
Now this seems like a pain in the a** and I agree.
HOWEVER
There will be a time where Manage applications crashes when you try to uninstall it from the phone. In this case, a factory reset, or this method is the only effective way to fix the problem.
Moving on.
How many of us have removed system applications or renamed them? Did you know that you can simply disable them from the system?
Code:
adb shell
su
pm disable appllicationname
This can be seen as safer than deleting or renaming things, but your mileage may vary.
On the other hand, you can also re-enable these applications.
Code:
adb shell
su
pm enable applicationname
Also, application names are absolutely case sensitive.
*nix based Operating Systems see the letter 'a' and 'A' as two different things.
when you log into adb shell, you are playing by android rules
Ok, a lot of us tweak and mod our phones and turning off the device to get to clockwork recovery, or battery pulls, or multiple button holds to get into Download mode are troublesome and annoying at best.
ADB can help us here.
Here, we do not need to be logged into the shell
If we want to merely reboot the phone:
Code:
adb reboot
Code:
adb reboot recovery
Code:
adb reboot download
Its also handy if Android has locked up, but yet still works in adb.
I for one hate taking my case off to battery pull.
So now we move on to pushing and pulling files.
Sometimes, I don't feel like mounting my sd card to copy a file over to my phone.
I can use this command to push a file straight to my sd card:
Code:
adb push filename /pathtodirectoryonphone
Code:
adb push test.txt /sdcard/
Ok moving on
Pushing files can be done to any directory, however, some are protected.
For instance, /system is going to give you a permission denied or a read only filesystem error.
To get around this, the easiest thing to do is push the file to your sdcard, then log into the shell:
Code:
adb shell
Code:
su
Code:
mount -o rw,remount /dev/block/stl9 /system
Code:
cp /sdcard/test.txt /system/app/test.txt
and it requires the path of the file and destination path. The name of the file is optional
When you copy it, you can rename it to whatever you like.
For instance, if we wanted to backup a file
Code:
cp /sdcard/test.txt /sdcard/backuptest.txt
You non rooted users will not.
Then you must use a slightly more complicated command called dd
This is used like this:
Code:
dd if=/sdcard/test.txt of=/system/app/test.txt
of= output file
Not every user friendly, but probably one of the safer copy commands.
Ok, moving on to pulling files.
Lets say you want to get a file from your phone, to modify, backup, etc.
To do this, we simply use adb in this manner:
Code:
adb pull /pathtofile/filename destinationname
I would do this
Code:
adb pull /system/app/ADWLaucnher.apk ADWLauncher.apk
Like above, you can specifcy where it goes.
pushing files to the sdcard, it seems prudent to talk about changing permissions.
sdcards are typically fat32, which destroys permisisons, and Android is heavily permission based.
So if you push an application to your sd card, then try to copy it to /system/app/ bad things are going to happen, or the app may not even show up.
So in that case, we use something called chmod.
This is used in this manner
Code:
adb shell
su
chmod 755 /pathtoapplication/applicationname
you dont want to do this while its still on your sd card.
an example
Code:
adb shell
su
chmod 755 /system/app/ADWLauncher.apk
Just a couple more topics to cover.
Lets go over deleting files.
This becomes especially handy for removing rogue applications.
To do this, we must be in the adb shell.
Code:
adb shell
su
rm /system/app/ADWLauncher.apk
Code:
mount -o rw,remount /dev/block/stl9 /system
So what I did above was delete ADW Launcher from system/app
However, what if I wanted to delete the entire contents of a directory?
Same thing as before, except
Code:
adb shell
rm -f /data/dalvik-cache/*.*
very quick, very effective.
If you just tried that, please reboot your phone now
Ok....this leaves us with the final topic: logcat
logcat allows us to log what the OS is doing, and possibly delve information for when things are not working
its quite simple Reading it is another.
To use logcat
Code:
adb shell
logcat
Code:
adb shell
logcat > /sdcard/logcat.txt
This should have captured enough data to see the error. Now, I prepared an example. A user came to me on IRC, and Google Maps was force closing. Clearing data didnt fix it, Clearing dalvik-cache, and fix permissions did not fix it. In this case, the user did not know how to use adb So I had him grab an app called alogcat from the market and email me the log. This is also a very valid method.
this file explains what the problem was, and highlights what to look for as an example.
http://adrynalyne.us/files/logcat.pdf
Prepared by XDA Senior Moderator Captainkrtek.
Originally created by by XDA Member Adrynalyne
Samsung Galaxy S 4G Not Charging Problem Solution
This is a hardware solution for Samsung Galaxy S 4G with a not charging problem. If the device suffered water damaged and result to such not charging problem, the solution below shows which certain components needs to be check to solved a not charging problem on the device..
Hints on how to fix Samsung Galaxy S 4G Not Charging Problem;
1. If the device suffered water damaged, clean the PCB board first of your Samsung Galaxy S 4G.
2. Clean or resolder the USB charging pin connector.
3. Check if there is a USB charge voltage on USB connector pin 1.
4. Try to used another working battery charger if there is no voltage reading. Replace the USB connector if the voltage is still missing.
4. Check if there is VBUS charge input voltage at the capacitor.
5. If the voltage reading is missing or too low, rework replace the charging control IC.
6. If the voltage reading is okay, rework the power management IC, just replace if necessary.
Hints on how to fix Samsung Galaxy S 4G Not Charging Problem;
1. If the device suffered water damaged, clean the PCB board first of your Samsung Galaxy S 4G.
2. Clean or resolder the USB charging pin connector.
3. Check if there is a USB charge voltage on USB connector pin 1.
4. Try to used another working battery charger if there is no voltage reading. Replace the USB connector if the voltage is still missing.
4. Check if there is VBUS charge input voltage at the capacitor.
5. If the voltage reading is missing or too low, rework replace the charging control IC.
6. If the voltage reading is okay, rework the power management IC, just replace if necessary.
Samsung Galaxy S 4G LCD Display Problem - Hardware Solution
This solution covers for hardware level of repair for Samsung Galaxy S 4G with a LCD screen display problem. This solution may help for a water or wet damaged and accidentally, heavily dropped phones. This solution may help if you already done a software calibration method and tried replacing the LCD screen but the problem continues.
Just see the solution preview below for it shows which components needs to be check and replace if the said LCD display of the Samsung Galaxy S 4G goes wrong.
The highlighted components holds for the LCD screen of the Galaxy S 4G to operate properly, if those said components become faulty or damaged it will result to a display problem issues. You may need to check those components if after or before changing the LCD screen module.
Just see the solution preview below for it shows which components needs to be check and replace if the said LCD display of the Samsung Galaxy S 4G goes wrong.
The highlighted components holds for the LCD screen of the Galaxy S 4G to operate properly, if those said components become faulty or damaged it will result to a display problem issues. You may need to check those components if after or before changing the LCD screen module.
Đăng ký:
Bài đăng (Atom)