[Q] [help] loss of thouch screen! - Sony Xperia T, TL, TX, V

hi folks!
last night i had Curiosity Rom, after that i flashed Avatar Rom but i didnt like it and i decided to go back to Curiosity but after booting my touch screen did not respond and it didnt work.
here is what i did to fix it:
* did full wipe
* flash avatar rom again
* flash curiosity rom again
* restore my old back up (before loosing touch screen)
* flashed official rom via flash tools
but i still dont have touch screen!
how can i fix it?
Xperia T LP30

please use search
http://forum.xda-developers.com/showthread.php?t=2220290&highlight=touch+screen+firmware

gregbradley said:
please use search
http://forum.xda-developers.com/showthread.php?t=2220290&highlight=touch+screen+firmware
Click to expand...
Click to collapse
thanks for reply
ive seen that thread before but actually i didnt understand it. can explain more? what should i do exactly?

connect phone to pc and open up a command window.
then type the code from this post
http://forum.xda-developers.com/showpost.php?p=39920703&postcount=11

gregbradley said:
connect phone to pc and open up a command window.
then type the code from this post
http://forum.xda-developers.com/showpost.php?p=39920703&postcount=11
Click to expand...
Click to collapse
is it important where to open command window?
here is what i got:
C:\>C:\Android>adb devices
Access is denied.
C:\>List of devices attached
'List' is not recognized as an internal or external command,
operable program or batch file.
C:\>CB5121SC7S device
'CB5121SC7S' is not recognized as an internal or external command,
operable program or batch file.
C:\>
C:\>
C:\>C:\Android>adb shell
Access is denied.
C:\>[email protected]:/ $ su
'[email protected]:' is not recognized as an internal or external command,
operable program or batch file.
C:\>su
'su' is not recognized as an internal or external command,
operable program or batch file.
C:\>[email protected]:/ # rmi4_fwloader -b /system/etc/firmware/touch_module_id_0x32.
img
'[email protected]:' is not recognized as an internal or external command,
operable program or batch file.
C:\>-d /sys/bus/rmi4/devices/sensor00 -r -f
'-d' is not recognized as an internal or external command,
operable program or batch file.
C:\>rmware/touch_module_id_0x32.img -d /sys/bus/rmi4/devices/sensor00 -r -f
<
The syntax of the command is incorrect.
C:\>[email protected]:/ # reboot
'[email protected]:' is not recognized as an internal or external command,
operable program or batch file.
C:\>reboot
'reboot' is not recognized as an internal or external command,
operable program or batch file.
C:\>
C:\>C:\Android>
whats wrong?

Have you set up adb on your machine?
If not, then extract the folder "Android" from the attached .zip and put it into the C drive so you have this folder structure
C:\Android
Then right click in that folder whist holding the shift key and choose
open command window here.
Then type the code.
https://dl.dropboxusercontent.com/u/24614808/adb_fastboot_and_other_tools.zip
---------- Post added at 08:12 AM ---------- Previous post was at 08:10 AM ----------
The only bit you type are
Code:
C:\Android>adb devices
Code:
C:\Android>adb shell
Code:
[email protected]:/ $ su
Code:
[email protected]:/ # rmi4_fwloader -b /system/etc/firmware/touch_module_id_0x32.img
-d /sys/bus/rmi4/devices/sensor00 -r -f
Code:
[email protected]:/ # reboot
The rest is what the window will return with after pressing enter at the end of each line

gregbradley said:
Have you set up adb on your machine?
If not, then extract the folder "Android" from the attached .zip and put it into the C drive so you have this folder structure
C:\Android
Then right click in that folder whist holding the shift key and choose
open command window here.
Then type the code.
https://dl.dropboxusercontent.com/u/24614808/adb_fastboot_and_other_tools.zip
---------- Post added at 08:12 AM ---------- Previous post was at 08:10 AM ----------
The only bit you type are
Code:
C:\Android>adb devices
Code:
C:\Android>adb shell
Code:
[email protected]:/ $ su
Code:
[email protected]:/ # rmi4_fwloader -b /system/etc/firmware/touch_module_id_0x32.img
-d /sys/bus/rmi4/devices/sensor00 -r -f
Code:
[email protected]:/ # reboot
The rest is what the window will return with after pressing enter at the end of each line
Click to expand...
Click to collapse
so i should type them step by step.
how should i connect the phone? fastboot, flashmode or what?

kamiar1 said:
so i should type them step by step.
how should i connect the phone? fastboot, flashmode or what?
Click to expand...
Click to collapse
yes,one by one and click return
just connect the phone with usb cable

gregbradley said:
yes,one by one and click return
just connect the phone with usb cable
Click to expand...
Click to collapse
is this ok?
C:\Android>adb devices
'adb' is not recognized as an internal or external command,
operable program or batch file.

have you set up the adb correctly?
Follow this
http://www.redmondpie.com/how-to-set-up-android-adb-and-fastboot-on-windows-tutorial/
Or just search google with this
setting up adb on windows

while doing all these stuff, i was downloading stock ics rom, i flashed it via flash tools and now the touch screen works!!!:victory:
any way thank you gregbradley for your help.:good::highfive::fingers-crossed:

no problem.
You should be able to flash your JB backup now.
Also, follow the advice in the thread I linked to that renamed the touch firmware so that it wont happen again.

Related

Uninstalling an APK via command prompt?

I found this website: http://www.androidkit.com/steps-to-install-and-uninstall-apk-file-on-android-g1-device
Section 3: Uninstalling the .apk file from the G1 device before installing the same .apk again.
1. In the G1 Phone, Go to Applications Menu ->Settings->Manage Applications.
2. Select the application which you want to Uninistall, and click on the ‘Uninstall’ button.
3. Follow steps 6 and 7 of Section 1.
Section 4: Uninstalling the .apk file (from the Device or Emulator) using adb shell.
There is an adb uninstall command which always shows Failure!!!
Using adb shell :
Important: The device has to be unplugged from USB if you are trying to uninstall from the emulator, else emulator should not be open and device needs to be plugged in the USB of the PC if you are trying to uninstall from the G1 Device. If either of them are not connected the adb shell command will not work
Go to the shell and making sure adb is in PATH:
Go to shell (from cmd->adb shell or directly through a terminal)
#
#cd data
#cd app
#cd ls
You will get a list of installed application with the complete package name of the package containing the main activity. e.g com.company.product.apk
#rm com.company.product.apk
#cd ls
You will not find the application – you just removed it!.
Click to expand...
Click to collapse
So, when I type:
Cd Data
Cd App
Cd ls
in my command prompt I get:
cd: can't cd to ls
$
as a prompt feedback.
----
I found an .APK to enable my headphone adapter working ( see this thread: http://forum.xda-developers.com/showthread.php?t=575534 ) via this board ( see this thread: http://forum.xda-developers.com/showthread.php?t=511704 ), and if it doesn't work, I'm taking precautions on how to uninstall it.
Anyone know why it's doing this?
Thanks people.
Minifig said:
I found this website: http://www.androidkit.com/steps-to-install-and-uninstall-apk-file-on-android-g1-device
So, when I type:
Cd Data
Cd App
Cd ls
in my command prompt I get:
cd: can't cd to ls
$
as a prompt feedback.
----
I found an .APK to enable my headphone adapter working ( see this thread: http://forum.xda-developers.com/showthread.php?t=575534 ) via this board ( see this thread: http://forum.xda-developers.com/showthread.php?t=511704 ), and if it doesn't work, I'm taking precautions on how to uninstall it.
Anyone know why it's doing this?
Thanks people.
Click to expand...
Click to collapse
the command should be "ls" not "cd ls"
also, if you know the package name you could use adb: adb uninstall <package_name>
and if you're just trying to install an app that you already have (such as updating the app) you could use adb and not have to uninstall first with: adb install -r app_name.apk
OK.
I'm just going to make sure before I even install this thing:
http://code.google.com/p/toggleheadset/downloads/detail?name=ToggleHeadset.apk&can=2&q=
This is just a widget, so it won't replace anything in my phone..
If I can't find it on the shell command, I'll be able to uninstall it via the phone like the Date widget I have as well?
Right?

OK I give up. I Need Help PLEASE

I'm at the end of my rope here. I can't get my phone to do a complete wipe. Every time i've tried I get this:
--wiping data...
formatting DATA:...
formatting CACHE:...
formatting SDEXT:...
E:Can't mount /dev/block/mmcblk0
p2
(Invalid Argument)
Error mounting /sd-ext/!
Skipping format...
Data wipe complete.
I've been stuck in a boot loop since like 3am. Please if you can help me, I'm all ears. Right now my phone is useless, and i'm starting to get worried. Thank you in advance
What recovery are you running? It looks like it's erroring out when it attempts to wipe your EXT partition. If you backup the files on your SD and re-partition it, that'll clear anything from EXT.
illogic6 said:
What recovery are you running? It looks like it's erroring out when it attempts to wipe your EXT partition. If you backup the files on your SD and re-partition it, that'll clear anything from EXT.
Click to expand...
Click to collapse
Therein lies the problem tho. I running clockwork 2.0.3.?. I have everything backed up from the fat32 partition, but ext doesn't even show up when i mount my sd card to PC. You don't by any chance have a step by step explanation do you?
ksharp5580 said:
Therein lies the problem tho. I running clockwork 2.0.3.?. I have everything backed up from the fat32 partition, but ext doesn't even show up when i mount my sd card to PC. You don't by any chance have a step by step explanation do you?
Click to expand...
Click to collapse
Can you get to the adb shell? If so, you can run 'sdparted'. Maybe that'll cure the bootloop.
I would strongly suggest flashing an amonra recovery once you have this resolved.
illogic6 said:
Can you get to the adb shell? If so, you can run 'sdparted'.
Click to expand...
Click to collapse
do i just open a cmd prompt and type adb shell?
ksharp5580 said:
do i just open a cmd prompt and type adb shell?
Click to expand...
Click to collapse
If you have the android sdk installed properly, yes. You may have to CD to the tools subdirectory if your path isn't setup. For example ADB is contained in this directory on my computer: C:\android-sdk-windows\tools
You should run 'adb shell' then 'sdparted'. That should walk you through the SD partition process.
illogic6 said:
If you have the android sdk installed properly, yes. You may have to CD to the tools subdirectory if your path isn't setup. For example ADB is contained in this directory on my computer: C:\android-sdk-windows\tools
You should run 'adb shell' then 'sdparted'. That should walk you through the SD partition process.
Click to expand...
Click to collapse
This is where i'm at now. Anything familiar?
C:\android-sdk-windows\tools>adb devices
adb server is out of date. Killing...
* daemon started successfully *
List of devices attached
HT9BGHF04735 recovery
C:\android-sdk-windows\tools>adb shell
~ # sdparted
sdparted
/sbin/sh: sdparted: not found
~ #
ksharp5580 said:
This is where i'm at now. Anything familiar?
C:\android-sdk-windows\tools>adb devices
adb server is out of date. Killing...
* daemon started successfully *
List of devices attached
HT9BGHF04735 recovery
C:\android-sdk-windows\tools>adb shell
~ # sdparted
sdparted
/sbin/sh: sdparted: not found
~ #
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=543985
"to run from computer:
1. download sdparted.txt below to computer
2. connect g1 via usb
3. boot into cm-recovery-v1.4, goto console(alt-x)
4. at your windows cmd prompt type: adb push /path-to/sdparted.txt /sbin/sdparted
5. then type: adb shell chmod 755 /sbin/sdparted
6. to run type adb shell and hit enter.
7. you can now run script"
illogic6 said:
http://forum.xda-developers.com/showthread.php?t=543985
"to run from computer:
1. download sdparted.txt below to computer
2. connect g1 via usb
3. boot into cm-recovery-v1.4, goto console(alt-x)
4. at your windows cmd prompt type: adb push /path-to/sdparted.txt /sbin/sdparted
5. then type: adb shell chmod 755 /sbin/sdparted
6. to run type adb shell and hit enter.
7. you can now run script"
Click to expand...
Click to collapse
Awesome. thanks man. Hope this works
yeah it's your recovery. Install amon_ra 1.6.2 or godspeed recovery if you're not running DD 2.7, or if you're on DD 2.7 install the 1.7.0 recovery from the first page.

Onemsomic's ICS 3.1RC no GPS lock!

I wanted to ask this in the actual thread but 10 post limit...
Anyway,
I can't get any GPS lock on my I9000, Onemsomic's ICS RC3.1, JVU modem.
I tried changing the NetworkLocation.apk by following this post http://forum.xda-developers.com/showthread.php?p=21351809#post21351809
but since I have absolutely no idea how to use ADB I couldn't do the "change mode to 0644" step.
Someone help a noob?
Thanks.
Well, first off, download the *.apk provided in that post and place it on the sdcard.
adb is a command line tool, so you must insert those commands on a terminal emulator (maybe you got one installed, if not, download one from the market, I can recommend "Android Terminal Emulator").
So, open your terminal emulator and go to the directory where you placed your *.apk. this example has been wrote with the *.apk in the sdcard folder:
Code:
su
cd /mnt/sdcard
adb start-server
adb remount
adb push NetworkLocation.apk /system/app/NetworkLocation.apk
adb chmod 0644 /system/app/NetworkLocation.apk
adb reboot
Note: I wrote this example following my common sense, so I'm not completely sure if this will work!
Cheers!
AurosGamma said:
Well, first off, download the *.apk provided in that post and place it on the sdcard.
adb is a command line tool, so you must insert those commands on a terminal emulator (maybe you got one installed, if not, download one from the market, I can recommend "Android Terminal Emulator").
So, open your terminal emulator and go to the directory where you placed your *.apk. this example has been wrote with the *.apk in the sdcard folder:
Code:
su
cd /mnt/sdcard
adb start-server
adb remount
adb push NetworkLocation.apk /system/app/NetworkLocation.apk
adb chmod 0644 /system/app/NetworkLocation.apk
adb reboot
Note: I wrote this example following my common sense, so I'm not completely sure if this will work!
Cheers!
Click to expand...
Click to collapse
I get a "device not found" error after adb remount. What should I do?
hadar.shamir said:
I get a "device not found" error after adb remount. What should I do?
Click to expand...
Click to collapse
Well I have been looking here and there, and I found that adb doesn't work directly on the phone, you must use adb from your pc. So, this is what you should do from now on:
Install Java SDK
Install Android SDK
Turn on "USB Debugging" in your SGS settings
Connect the Device to the PC
And finally, use the following commands (from the PC):
Code:
// Go to the folder where you put the *.apk
cd C:\users\exampleuser\Documents\ // or /home/exampleuser/Documents/ if you're using linux
adb start-server
adb remount
adb push NetworkLocation.apk /system/app/NetworkLocation.apk
adb chmod 0644 /system/app/NetworkLocation.apk
adb reboot
Note:
The text after the double-slash ( // ), must not be written in the console, they are just comments
You need to install the SDK's because there it is where the adb tool (and tools needed by adb) is found, so, good luck!

Install ADB on Windows & ubuntu 12.04 or 12.10

If you need to flash ROM even using fastboot for Smartphone or Tablet in which they use Android OS! Then Ubuntu OS is needed!
This is a guide I made for ubuntu users and included a guide for windows users to setup Android SDK which contains ADB.
Android Debug Bridge (ADB) provides a terminal interface on your PC to interact with your device's file system. This can be useful for many things like installing & uninstalling apps, logcat, backup & restore, and hacking your device just to name a few.
ubuntu 12.04 & 12.10 Guide
1. Go here and download android-sdk (not the adt-bundle)....
https://hotfile.com/dl/241406263/5e6a306/android-sdk_r22.0.5-linux.tgz.html
2. Place the downloaded file in your home folder and then extract it and you should get a folder named android-sdk-linux (do not rename it).
3. If you’re on a 64bit machine run these commands in terminal to make sdk compatible with 64bit (if you’re on 32bit machine then skip this step)....
sudo apt-get update
sudo apt-get install ia32-libs-multiarch
4. Run this command in terminal to install jdk if you don’t have it already....
sudo apt-get install openjdk-6-jdk
5. Navigate to the home folder where you extracted android-sdk-linux and open the folder then open the folder named tools
6. Inside the tools folder there will be a file named android... double click it and select run then android sdk manager will open.
7. In the center pane deselect everything... Now only select the following....
Android SDK Tools
Android SDK Platform-tools
Android Support Library
8. Once selections have been made click on install packages and wait till finished.
9. Upon completion of step 8 in terminal run this command....
sudo gedit ~/.bashrc
When the file opens, go to the very bottom and copy/paste the following 3 lines (make sure they’re each on separate lines)....
# Android tools
export PATH=${PATH}:~/android-sdk-linux/tools
export PATH=${PATH}:~/android-sdk-linux/platform-tools
10. Now reboot your computer.
11. Set your phone to usb debugging then plug it to your pc after pc is done booting
12. Open a terminal on your pc and enter....
adb devices
If all went well, you should see your phone’s serial number and you’ll be ready to go.
~~~~~Important~~~~~
You can use steps 5 & 6 to open Android SDK Manager & update your ADB/SDK installation. Only select your installed packages then update.
Also if you only need the fastboot/adbtools:
sudo add-apt-repository -y ppa: phablet-team/tools
Note: delete the space after"-y ppa:" -xda creates smileys like ppa
sudo apt-get update
sudo apt-get install -y phablet-tools
Sent from my Nexus 4 using xda app-developers app
Thank...
gazhead said:
Also if you only need the fastboot/adbtools:
sudo add-apt-repository -y ppa: phablet-team/tools
Note: delete the space after"-y ppa:" -xda creates smileys like ppa
sudo apt-get update
sudo apt-get install -y phablet-tools
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thanks man! It's also good way!
Followed this guide (thank you for posting) but couldn't connect. Scratched around and found I needed to create a new file in /etc/udev/rules.d with:
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="<4-char_verndorID>", ATTR{idProduct}=="4-char_productID", MODE="0666", OWNER="username"
Followed by:
Code:
sudo restart udev
Then plugged device in and it worked!
qtoon said:
Followed this guide (thank you for posting) but couldn't connect. Scratched around and found I needed to create a new file in /etc/udev/rules.d with:
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="<4-char_verndorID>", ATTR{idProduct}=="4-char_productID", MODE="0666", OWNER="username"
Followed by:
Code:
sudo restart udev
Then plugged device in and it worked!
Click to expand...
Click to collapse
What did you name the new file you created? Or did you add this string to another existing file from the rules.d directory? I'm not sure what I've done wrong, but I get
Code:
[email protected]:~$ adb devices
No command 'adb' found, did you mean:
Command 'cdb' from package 'tinycdb' (main)
Command 'gdb' from package 'gdb' (main)
Command 'dab' from package 'bsdgames' (universe)
Command 'zdb' from package 'zfs-fuse' (universe)
Command 'kdb' from package 'elektra-bin' (universe)
Command 'tdb' from package 'tads2-dev' (multiverse)
Command 'pdb' from package 'python' (main)
Command 'jdb' from package 'openjdk-6-jdk' (main)
Command 'jdb' from package 'openjdk-7-jdk' (universe)
Command 'ab' from package 'apache2-utils' (main)
Command 'ad' from package 'netatalk' (universe)
adb: command not found
[email protected]:~$
This is after following each step, adding the three lines to the end of .bashrc and rebooting.
atmu5fear said:
What did you name the new file you created? Or did you add this string to another existing file from the rules.d directory? I'm not sure what I've done wrong, but I get
Code:
[email protected]:~$ adb devices
No command 'adb' found, did you mean:
Command 'cdb' from package 'tinycdb' (main)
Command 'gdb' from package 'gdb' (main)
Command 'dab' from package 'bsdgames' (universe)
Command 'zdb' from package 'zfs-fuse' (universe)
Command 'kdb' from package 'elektra-bin' (universe)
Command 'tdb' from package 'tads2-dev' (multiverse)
Command 'pdb' from package 'python' (main)
Command 'jdb' from package 'openjdk-6-jdk' (main)
Command 'jdb' from package 'openjdk-7-jdk' (universe)
Command 'ab' from package 'apache2-utils' (main)
Command 'ad' from package 'netatalk' (universe)
adb: command not found
[email protected]:~$
This is after following each step, adding the three lines to the end of .bashrc and rebooting.
Click to expand...
Click to collapse
@atmu5fear, inferring that you're new to Linux (a common background for all), some notes:
Unlike wlth Win-d'oh-s, there is a worldwide development community that's always working toward improvement of every aspect of the system, including echoed messages and documentation. You may have to shake off the tendency to ignore Windudz messages, which are frequently unhelpful. Linux command echoes are much more on-target. Also, look for files such as README in rules.d and read it!
Now before creating a new config file (which may not be necessary on your system), see the top feedback line: "No command 'adb' found." First, see that the adb binary is present and that it has exec permission. (Since it's a small file and functions alone, I prefer to copy it to the folder I'm working from.)
If it then runs but won't connect, read on...
Directory (or "folder") names with a trailing '.d' are special: They configure, control, or provide executables for daemons (programs which run continuously, providing a service).
Within service-config.d folders, if the service steps through the files sequentially (as in this case), then it does so based on each filename. (True except for the special case of rc.d, iIRC, in which order is set by the special program rcorder).
So in this case, for example, since the existing files are named 70-whatever, your newly-created file could be 80-atmu5fears-phone to load after the others.
Should connect.
qtoon said:
@atmu5fear, inferring that you're new to Linux (a common background for all), some notes:
Unlike wlth Win-d'oh-s, there is a worldwide development community that's always working toward improvement of every aspect of the system, including echoed messages and documentation. You may have to shake off the tendency to ignore Windudz messages, which are frequently unhelpful. Linux command echoes are much more on-target. Also, look for files such as README in rules.d and read it!
Now before creating a new config file (which may not be necessary on your system), see the top feedback line: "No command 'adb' found." First, see that the adb binary is present and that it has exec permission. (Since it's a small file and functions alone, I prefer to copy it to the folder I'm working from.)
If it then runs but won't connect, read on...
Directory (or "folder") names with a trailing '.d' are special: They configure, control, or provide executables for daemons (programs which run continuously, providing a service).
Within service-config.d folders, if the service steps through the files sequentially (as in this case), then it does so based on each filename. (True except for the special case of rc.d, iIRC, in which order is set by the special program rcorder).
So in this case, for example, since the existing files are named 70-whatever, your newly-created file could be 80-atmu5fears-phone to load after the others.
Should connect.
Click to expand...
Click to collapse
Thanks @qtoon for the reply. I'm not really new to Ubuntu, albeit, it's been a while. First started using it just prior to the realease of Hardy Heron 8.04 LTS. That being said I am certainly no expert, but am somewhat familiar and comfortable with the command line. I did read the README file before posting, but since I'm not all that familiar with configuration files and the like, I figured maybe I should ask.
As per your suggestion i moved the ADB binary to my home folder, not necessarily my working folder, but to test to see if the adb command would be recognized in terminal.
Code:
mv ~/ADB/android-sdk-linux/platform-tools/adb ~/
Still got same result so I moved it back, then went on to make a new file and add the suggested string
Code:
sudo > /etc/udev/rules.d/80-atmu5fear-adb
sudo gedit /etc/udev/rules.d/80-atmu5fear-adb
After saving and restarting udev I still get the same "adb command not found" error.
I then changed the string to read OWNER"atmu5fear" instead of "username", still nothing
Any more suggestions?
Thanks
atmu5fear
Sorted it out
instead of:
adb devices
i needed to input:
./adb devices
It's listed, and in order to use the adb shell:
./adb shell
once in the shell all adb commands work
I get this error...
[email protected]:~$ sudo > /etc/udev/rules.d/80-sjy-phone
bash: /etc/udev/rules.d/80-sjy-phone: Permission denied
ok....... didn't need to add a file, changed phone usb mode to media device and all is ok.
thanks
atmu5fear said:
Sorted it out
instead of:
adb devices
i needed to input:
./adb devices
It's listed, and in order to use the adb shell:
./adb shell
once in the shell all adb commands work
Click to expand...
Click to collapse
Didn't think to mention that, apologies.
Quick 'why' on the ./ here.
Glad you got it running.
Just tried on 14.4 and worked like a charm.
Note: No need to reboot the computer, just reload the bash config with
Code:
source ~/.bashrc
Thanks
A good step by step guide
i will try it and see if it works
Thanks again
Hello, can someone help me ? - I m having problems connecting my device with adb (I ve connected several other devices before with no problems).
I ve got an Allwinner A20 tv box, it worked fine for a few months then one day, after being on (but idle) for a few hours, I noticed the screen was blank but the light on the front was blue (indicating it was on, red is standby). It would not respond to the remote control or to anything, so I unplugged it and since then it will not boot and the screen is blank, the red light will light up but that is it. I ve eliminated the remote controller not working, but I cant boot the device.
So I ve tried connecting via ADB (with Ubuntu) but I cant get the device to show up after typing "adb devices".
Using this guide:
http://androidonlinux.wordpress.com/2013/05/12/setting-up-adb-on-linux/
I can get the vendor id and device id and I ve added it and the manufacturer to udev/modeswitch devices, but when I type "sudo usb_modeswitch -v 0x1f3a -p 0xefe8 -S -R -W"
I get the following error:
~/Android/sdk/platform-tools$ sudo usb_modeswitch -v 0x1f3a -p 0xefe8 -S -R -W
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.1.1 (C) Josua Dietze 2014
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x1f3a
DefaultProduct= 0xefe8
SierraMode=1
NeedResponse=0
Look for default devices ...
found USB ID 048d:1336
found USB ID 1d6b:0002
found USB ID 19a8:2036
found USB ID 1f3a:efe8
vendor ID matched
product ID matched
found USB ID 1d6b:0001
found USB ID 062a:0102
found USB ID 1d6b:0001
Found devices in default mode (1)
Access device 004 on bus 003
Current configuration number is 1
Use interface number 0
USB description data (for identification)
-------------------------
Manufacturer: not provided
Product: not provided
Serial No.: not provided
-------------------------
Send Sierra control message
Error: Sierra control message failed (error -7). Abort
I ve searched Google for the error code but I cannot find anything.
The device was rooted and USB debugging was on.
Any help would really be appreciated.
Thanks

Kill stats from 5.1 ROM

Folks,
just out of curiosity. Can someone with the Android One running LP 5.1 give me the output of the following:
Code:
adb logcat -v time -d | grep Killing | head -1
adb logcat -v time -d | grep Killing | tail -1
adb logcat -v time -d | grep Killing | wc -l
adb shell free
adb shell ps | wc -l
This is what those 5 lines are doing:
1. get the first low-memory-killer daemon's "Killing" message
2. get the last LMKD "Killing" message
3. get the count of LMKD "Killing" messages.
4. list free memory
5. count of all processes in the system
I am just curious about how LMKD has changed in 5.1 and if indeed google has fixed issues with RAM management in 5.1.
Thanks for your help.
C'mon guys... One of you. Please...
devsk said:
C'mon guys... One of you. Please...
Click to expand...
Click to collapse
i didnt have tested this rom but after official ota, will try
Someone has the stats I am looking for. Is it you? Post them then....
here is it.
devsk said:
C'mon guys... One of you. Please...
Click to expand...
Click to collapse
1)'grep' is not recognized as an internal or external command,
operable program or batch file.
2)same as above
3)same as above
4)/system/bin/sh: free: not found
5)'wc' is not recognized as an internal or external command,
operable program or batch file.
anojan__10 said:
1)'grep' is not recognized as an internal or external command,
operable program or batch file.
2)same as above
3)same as above
4)/system/bin/sh: free: not found
5)'wc' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
Ah...Windows... I assumed that at least someone here will have Linux running on their PC.
On Windows, you either need to run these commands inside cygwin (unix like) shell or run the commands on the phone (Terminal app) without 'adb' in front e.g. "logcat -v time -d | grep Killing | head -1".
If you decide to run on the phone, you 1. may need to install the busybox app, 2. output of the commands will need to be concatenated in one file on /sdcard and then, 'adb pull' on PC to a local file and attach that file.

Categories

Resources