yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] bodh:
Maybe you have a bad hardware button / one that is sticking? Can you narrow it down by releasing the buttons one at a time once booted to fastboot screen? If you cannot get fastboot to work via usb command line, its time to get a new phone. Mobile odin by chainfire may be of help to you, but it's not highly recommended. Again, no fastboot means i'd be looking for another device. I did see that negri electronics was replacing docomo phones they sold, which may also be helpful. And as far as adb over wifi, it will work, but again NO fastboot.
[Samsung Galaxy Nexus] simali:
Thanks for taking the time to answer. No, it has nothing to do with the hardware button, releasing them in any combination will result in the android screen being show until the last is released, after that the phone just turns off.

Unfortunately the device was not bought by Negri, but by HassleFreeCell.com. I already contacted them repeatedly because the problem manifested when the device was still under the 1 year manufacturer warranty, but they refused to help and now don't even answer my email or phone calls any longer. Caveat Emptor.

Also trashing the phone is not a solution I'm looking for, since it came for 500$ less than one year ago and apparently it has only a firmware problem.

Does anybody has experiences on rooting/modding a Galaxy Nexus via adb wireless commands ? Can you suggest a easy-to-follow guide ?
[Samsung Galaxy Nexus] Pirateghost:
ADB wireless requires ROOT access. you wont be able to do anything to it over the wifi unless its already rooted with bootloader unlocked
[Samsung Galaxy Nexus] cschmitt:
It's probably a hardware issue, since normal rom and fastboot are loaded from separate partitions. So if fastboot doesn't work then flashing a rom has no chance of fixing that.

I'd first check and clean the usb port. Then try to get into fastboot to flash twrp or cwm recovery.
[Xperia Arc Q&A, Help & Troubleshooting] maharaskal:
Hi guys,

Im facing problem here, if i install any firmware my rom getting freeze, Kindly assist me pls.

.587

Already unlocked bootloader

Already root my device

i follow the instruction to install kernel

:(

Thanks in advance.

Edit:

Case resolved.

It was my mistake. at last i learned from mistake

to go to recovery mode shud press Back button.

thanks for the reply guys.
[Xperia Arc Q&A, Help & Troubleshooting] LoneWanderer:
Does flashtool show any bad blocks?? Can you see the kernel logo??
[Xperia Arc Q&A, Help & Troubleshooting] sinkster:
Do you wipe your dalvik cache after changing kernel? If not then the rom will probably fail.
[Xperia Arc Q&A, Help & Troubleshooting] rod555:
With full wipe?
[Xperia Arc Q&A, Help & Troubleshooting] maharaskal:
No bad blocks. its hang at kernel logo. im unable to reboot cwm as well. i did follow the instruction well

i tried fastboot & flashtool both giving same freezing issue.
[Xperia Arc Q&A, Help & Troubleshooting] maharaskal:
after delete dalvik cache also still remain same
[Xperia Arc Q&A, Help & Troubleshooting] maharaskal:
do i need to do the full wipe before install the kernel or after?
[Xperia Arc Q&A, Help & Troubleshooting] tangosierra_:
you dont need to wipe data after installing a kernel. but you should wipe data and dalvik...
[Miscellaneous Android Development] GermainZ:
Intro

I originally wrote this script for LMT, but it has changed a lot since then and (hopefully) deserves its own thread.

You can check the original script's post here, or read more about (part of) what this script is automating (and how it does it) here.

You can also check the Tasker Google Groups thread about the script (clickie).

So what does this do?

It "listens" to your input actions (screen taps, button presses, etc) and turns them into a script you can use to reproduce them.

Think of it as something similar to Excel's Macro Recording feature.

Usage

Run the script, pick the first option and enter the number of events to catch. Depending on the device, one button press ~ 4 events, sometimes more. A screen tap is unpredictable as you're never touching the screen in one spot but in many close spots.

A neat trick would be to enter a high number of events (e.g. 500), do whatever you want to do then wait for ~X seconds (10 for example). Then copy the generated script but exclude everything after the line that says "sleep X".

And if you still have any doubts... try it. That's probably the best way to understand what it does and how to use it.

Custom toolbox

You need a custom toolbox (instead of the default /system/bin/toolbox) in order to use Option 2 correctly. This is because the default "getevent" command isn't line buffered, so it usually sends its output every ~50 lines.

I therefore re-compiled the toolbox (getevent is only a launcher for it) to enable line buffering. This enables the script to work at full speed - it might still be too slow, so do allow a few extra seconds (10 seconds should be safe) of no activity for it to finish.

You'll need to download the modified version, linked below, place it in /tmp/ and give it the correct permissions (chmod 755). Note that it will not persist across reboots, so keep a backup somewhere else.

https://www.dropbox.com/s/t0xhxa3xuc8m92m/toolbox

Download

You can get the latest version here.

Bugs/Suggestions

Bugs? There are no bugs.

Actually, I'm not an elite script writer, so chances are there are a few quirks. If you find any, please report them. :)

Also post all your suggestions and I'll try to add them.

To do

This list will be updated based on your feedback.

Thanks

The guys at #bash helped me a lot.

zeppelinrox, learned plenty of stuff from his scripts.

Everyone who tested previous versions (mostly laufersteppenwol :P).

Also feel free to ask any question, or answer any potentially interesting question that should be added to this post. I'll make sure to update it with a FAQ.

Thanks ;)

I've contacted a moderator and he said it was okay for me to post in this section instead of the Misc. Software Development section, so it wouldn't get buried within hundreds of ROMs/kernels for devices without forums. This section will be cleaned soon anyway.
[Miscellaneous Android Development] sheraro:
worked flawlessly thanks man , example with search button with filtered inputs for xperia play
[Miscellaneous Android Development] GermainZ:
Update:

You're now warned if you don't have busybox installed;

Busybox not automatically creating symlinks shouldn't be an issue any longer;

The timeout option should now work, but you'll need a custom toolbox (instead of /system/bin/toolbox) to run it. Read the OP for more info.

I'm not sure if the custom toolbox will work on all devices. Please test it out, it's completely safe as you'll be placing it in /tmp/ anyway without overwriting the original, unmodified version on your device. :)
[Miscellaneous Android Development] laufersteppenwolf:
works fine here, too (LG Optimus 4x HD)

the only "issue" is caused by my device itself :D it records way too much events in a short time (good for using the phone, but bad for the script ;) ) so ~1000 events are enough for about one or two swipe(s)

but try yourself ;)
[Miscellaneous Android Development] fabzbear:
Can you do a YouTube tutorial or just a written one one how to use it to get an event like opening the app draw of a launcher or something.

You give some explanation but I'm still a bit lost after rereading twice.
[Miscellaneous Android Development] GermainZ:
Choose option 1 or 2, wait for the countdown to finish. do whatever you want to do.

For option 2, it should be simple enough - you just put a timeout. You'll need the modified toolbox from the first post, tho.

For option 1, you have to input a certain number of events. It's just impossible to predict that (especially if you're dealing with screen taps and not just button presses), so I suggest you do this:

Put a higher number (e.g. 500) (if you're only interested in button presses, 1 button press = ~4->~10 events, depending on the device).

Do whatever you want to do.

Wait for ~10s without doing anything.

Check the script's output (by reopening the terminal emulator/script manager).

If the script has finished (500 events have been reached already), it probably didn't record everything. Restart from step 1, with a higher number (e.g. 1000).

If not, spam your touchscreen till it's done.

Copy the outputted script and search for a line that looks like "sleep 10" (where "10" is approximately the amount of seconds you waited in step 3).

Remove everything after that line.

PS: If you get spam events from other input devices you're not interested in (e.g. compass), you can use Option 4 to only monitor the touchscreen device, for example.
[Miscellaneous Android Development] agentdude:
wow this is great! what is the minimum number of lines of code needed for one screen touch to register (e.g. pressing a button)? i try to make mine the small by pressing very quickly which works great. However, i am just curious because when i try to shorten the code by myself in any of the areas, the script does not work.
[Miscellaneous Android Development] BleedingIris:
Possibly two lines -

[MENTION=4775688]GermainZ[/MENTION]

Great work - now I can diagnose my power button as well as simulate it. Thanks man!
[Miscellaneous Android Development] at4r1:
Thank you for this. I was finally able to get tasker to play Spotify with the help from this script.
[Miscellaneous Android Development] e154037:
I would like to make a script to copy current text line to clipboard. With Hackers soft keyboard, the keys to press are: HOME, SHIFT+END, CTROL+C. Anyway to do this

simulation with either "input keyevent ..." or "sendevent...".
[Miscellaneous Android Development] GermainZ:
I don't think so, not unless you have a hard keyboard.
[Miscellaneous Android Development] e154037:
Found a way to simulate key clicks for coping current text line to clipboard. With Hackers soft keyboard, the keys to press are: HOME, SHIFT+END, CTROL+C. The following script does this simulation nicely:

#simulate key click on fn, home, shift, end, fn, ctrl, c

input touchscreen tap 870 730

input touchscreen tap 1020 450

input touchscreen tap 80 670

input touchscreen tap 1020 520

input touchscreen tap 870 730

input touchscreen tap 70 590

input touchscreen tap 400 660

The key positions are for hacker's keyboard on ASUS TF101 tablet.
[Miscellaneous Android Development] gianmaxfactor:
Hi, thanks for the wonderful script. I get it working.

Now that I can simulate the "tap", I would like to know how to modify my script to obtain a "double tap" and a "long tap".

Thanks in advance.

PS.: This is my tap at x=248,y=164

sendevent /dev/input/event1 3 57 0

sendevent /dev/input/event1 3 53 248

sendevent /dev/input/event1 3 54 164

sendevent /dev/input/event1 3 48 1

sendevent /dev/input/event1 3 49 0

sendevent /dev/input/event1 3 52 0

sendevent /dev/input/event1 3 50 0

sendevent /dev/input/event1 0 2 0

sendevent /dev/input/event1 3 57 1

sendevent /dev/input/event1 3 53 83

sendevent /dev/input/event1 3 54 202

sendevent /dev/input/event1 3 48 0

sendevent /dev/input/event1 3 49 0

sendevent /dev/input/event1 3 52 0

sendevent /dev/input/event1 3 50 0

sendevent /dev/input/event1 0 2 0

sendevent /dev/input/event1 0 0 0

sendevent /dev/input/event1 3 57 0

sendevent /dev/input/event1 3 53 248

sendevent /dev/input/event1 3 54 164

sendevent /dev/input/event1 3 48 0

sendevent /dev/input/event1 3 49 0

sendevent /dev/input/event1 3 52 0

sendevent /dev/input/event1 3 50 0

sendevent /dev/input/event1 0 2 0

sendevent /dev/input/event1 3 57 1

sendevent /dev/input/event1 3 53 83

sendevent /dev/input/event1 3 54 202

sendevent /dev/input/event1 3 48 0

sendevent /dev/input/event1 3 49 0

sendevent /dev/input/event1 3 52 0

sendevent /dev/input/event1 3 50 0

sendevent /dev/input/event1 0 2 0

sendevent /dev/input/event1 0 0 0

sendevent /dev/input/event1 3 57 0

sendevent /dev/input/event1 3 53 248

sendevent /dev/input/event1 3 54 164

sendevent /dev/input/event1 3 48 0

sendevent /dev/input/event1 3 49 0

sendevent /dev/input/event1 3 52 0

sendevent /dev/input/event1 3 50 0

sendevent /dev/input/event1 0 2 0

sendevent /dev/input/event1 3 57 1

sendevent /dev/input/event1 3 53 83

sendevent /dev/input/event1 3 54 202

sendevent /dev/input/event1 3 48 0

sendevent /dev/input/event1 3 49 0

sendevent /dev/input/event1 3 52 0

sendevent /dev/input/event1 3 50 0

sendevent /dev/input/event1 0 2 0

sendevent /dev/input/event1 0 0 0
[Miscellaneous Android Development] GermainZ:
Either copy paste the 4 lines that appear on every touch twice (double tap) or once and put a "sleep 1" between the first two and the last two (long press).

You can also use something like this:

# double tap
input tap 248 164
input tap 248 164

# long press
input swipe 248 164 248 164 1000

# help on the input command
input
[Miscellaneous Android Development] gianmaxfactor:
Input tap and input swipe would be marvelous... but unfortunately I'm on android 2.3.6. In fact I imagine that swipe will be almost impossible.

Anyway, why do you talk about "4 lines" ? I see dozens of lines... what are the four I have to duplicate?
[Miscellaneous Android Development] GermainZ:
It's four on my old device, might be more for you. Basically, X lines are repeated every time you make a click. See which.

BTW, did you try actually long pressing? The script should be able to simulate that, though you'll probably want to exaggerate the long press (e.g. 3 seconds instead of one).
[Miscellaneous Android Development] gianmaxfactor:
I tried... but the output is so long that I am not able to copy it entirely. I think I could add something to your script to divert the output into a file. But I don't know where (and how)...
[Miscellaneous Android Development] GermainZ:
Run the script. Tap *once*. Wait for ~5s. Cancel the action. In the outputted script, you'll see a line that says something like "sleep 5" - everything before it should be the tap, everything after garbage..
[Miscellaneous Android Development] gianmaxfactor:
Incredibly there is a continuos flow of events while longpressing... dozens and dozens of quickly repeating actions... so there is no "sleep" in the output of the script. Every device is a world apart ! Thanks anyway... I've been a big help from you ! Bye
[Miscellaneous Android Development] hamzahrmalik:
I used option one

I set to record 4

Nothing happens

O tried 500

Same result

Edit

OK that was vague

It does countdown

Then goes blank

No output no matter what I do
[Miscellaneous Android Development] gianmaxfactor:
I hope you have set to record something like

\dev\input\event4

and not just

4
[Miscellaneous Android Development] hamzahrmalik:
I meant record 4 events

I fixed this by using su
[Miscellaneous Android Development] fabzbear:
Can anyone help me. I'm have a galaxy s4 Sprint. I'm on jflte probam 1.3.7. I'm trying to get the Google now launder app drawer script but having no luck when I try using the script. I tried the original 4-10 but it just kept going for over three minutes. I tried reducing it n running the script but nothing happened.

What am I doing wrong?
[Samsung Galaxy Nexus] snxda:
i am on yakju my friend did it for me.

how to upgrade idk hot to do upgrade i am noob. i downloaded the official zip and copy it into internal whe to bootloader after that i dont know what to do..
[Samsung Galaxy Nexus] moomingstarz:
Are you rooted? If you arent, you should be able to get the update straight from google because you won't be able to flash it without your phone being rooted and also without a custom recovery. Do you have cwm or twrp?
[Samsung Galaxy Nexus] npiper05:
If you have the official zip from Google, you can use thishttp://rootzwiki.com/topic/13819-how-tovzw-return-to-factory-state-unroot-and-relock/ as a guide. You'll have to change the file names, but it's a start.
[Samsung Galaxy Nexus] moomingstarz:
Since the user is not knowlegable, I suggest wugfresh's toolkit because its a one-click thing.

*if you are rooted

You just plug your phone in and click flash stock + unroot. This will download the newest firmware and also put into your device for you. Also use the OEM lock if you don't went to be rooted anymore.
[Samsung Galaxy Nexus] Mach3.2:
Since the user is not knowledgeable, I suggest and strongly recommend him not to do anything least for the "HALP MA FONEZ BREAKZZ" threads..

Or click on the Jubakuba link in my signature to read up before OP does anything..
[Samsung Galaxy Nexus] snxda:
i have that applicatiion but after download when it check for adb it restart and fastboot device is not found..?
[Samsung Galaxy Nexus] moomingstarz:
It goes into fastboot mode by itself. Or do you mean that ADB is not found?

If ADB is not found then go to settings > about phone > and tap build number 7 times

Then hit back and go into developers options and tick android debugging and try it again.

An alternative way is to power your phone OFF and click volume up + volume down + power button all at the same time! This will put it into fastboot mode and when you plug in your phone and click unroot device, instead of having device is on/normal, have the other option ticked instead
[Samsung Galaxy Nexus] snxda:
i try alternative way and its on fastboot mode and unlock in red . but in tool box it says no fastboot device found.....do i have to unzip the file ad then put it in th phone or rename it? i am using CWM .
[Samsung Galaxy Nexus] Pirateghost:
stop using the toolkit and you might understand whats going on
[Samsung Galaxy Nexus] snxda:
i was actually able to solve that problem .i m on the 4.2.2 official fw.ty for help

now which custom rom is goood to install?
[Samsung Galaxy Nexus] sarkar1990:
All ROMs have their advantages. Now it depends on what you are looking for.

If you are looking for performance, I would suggest Vanir, AOSPA, Rubik

If you are looking for visual customizations then CM, AOKP are awesome

You will also find more ROMs which are a combination of 2 or more ROMs.

Just go through: http://xdaforums.com/forumdisplay.php?f=1339

Choose something, flash it!

Since every phone is unique, you will have to fins the "best ROM" yourself!

Happy flashing bud!
[Asus Transformer TF700] Alexcwb:
Hi folks;

I need to find out where to buy a car charger for the 700. I bought one from Amazon that said it was for the TF700 as well as others but when I plugged it in it made a VERY nasty buzzing noise so I unhooked immediately.

The wall charger works perfectly and it's specs are:

IN~100 - 240 50-60Hz

Out~ 5v==2A or 15V==1.2A

The charger I got tfrom AMAZON that made the loud buzzing sound has specs of:

IN~12=24V out~12V==2A

I have another car charger plug that does nothing at all to the ASUS but nicely charges an iPhone..specs:

IN~12-24 VDC OUT~5==100mA

Can someone sort me out here and please tell me where to order the correct lighter plug... It's a pain on long trips to have the GPS drop out.

Thanks in Advance.
[Defy General] dvenancio:
I'm using Quarx Nightly CM10 20120924. I wonder if there's a more stable ROM out there. I've been updating the nightlies until I tried to move to 2nd boot and had big problems that made me fall back to this one.

It's pretty hard to know how stable are the following versions. Does anyone know about a more STABLE one? I'm still getting big lags.

Thanks!
[Defy General] pakarbu:
not yet i guess..
[Defy General] dvenancio:
Found something abou MIUI roms. But it's really looking like there's no stable CM10 rom. It's so hard to move back. :)
[HTC One X+] daxtonbell14:
I just downloaded the new Telus update for my HTC one x+( 1.20.661.1). And I finished the update and tried installing it, it proceeded to to turn off my phone and then boot right into bootloader. It does this every time. I had my phone rooted and with an unlocked bootloader but it is now not rooted and it is re-locked. Please help.
[HTC One X+] agentJBM:
You should never OTA update when you're rooted. You'll have to flash old RUU and repeat procedure to unlock and root. Do not update. Wait for xda devs to release flashable.
[HTC One X+] daxtonbell14:
No root

I'm not even rooted.
[HTC One X+] HTCinspiration:
Not now you're not. You said you were bootloader unlocked & rooted when you took the OTA. As the previous member said, NEVER take the OTA if you're rooted. Now you have to run the RUU & do everything over again
[HTC One X+] daxtonbell14:
No, sorry that was badly worded. I was NOT rooted when I took the OTA. But I have been rooted in the past so I know not to take the OTA when rooted. I am not root and was not when I tried the update. Sorry my mistake :)
[General Topics] u05rdh:
This is the same software that is on this site and people are making money off it.

Is there not some sort of copyright that could stop them? Just wondered if the person or persons who wrote the software were worried about this.

Thanks

Richard
[Nexus 7 Q&A, Help & Troubleshooting] bhelley:
Greetings. I have a desktop PC with no WiFi. I am trying to use the Nexus 7 like a USB WiFi dongle for a temporary internet access. Does anyone know if this can be done? My N7 is stock, no root. But I'd be willing to root if necessary.

Thanks
[Nexus 7 Q&A, Help & Troubleshooting] shandy1996:
Possible...

Not 100% sure on this, but if you get a micro USB to OTG adapter, and then a USB to Ethernet adapter, run a wireless hotspot, and change your settings to allow others to connect through that Wi-Fi connection.

Just an idea, give it a go.
[Motorola Atrix HD] Codex01:
Fix Modem / Baseband JB AT&T ONLY... Sure did fix my problem!;)

Diagnosis for: (Random) no sound; no phone connectivity such as: WIFI; BLUETOOTH; GSM.

Can happen: Flashing wrong fw; Flash failure.

NOTE: Android SDK is required, go to your OS below and view "prerequisites" for more information...

Windows 7 method​

Prerequisites: Android SDK - Tools and SDK! (install here.)

Instructions:

(1. Make a folder in the directory "C:/" and name it "qinara."

(2. Download the following attachment below: "NON-HLOS.bin" (In the attachments / downloads section)

(3. Place "NON-HLOS.bin" in the "C:/qinara/" folder.

(4. Open a cmd prompt.

(5. Change Directory (CD) the cmd to your install location of Android SDK's Platform Tools (type it in to the command prompt.) to make

a command like the following example. Example: CD C:/users/YOUR-USERNAME/android/sdk/platform-tools

(6. Type the following command in...

fastboot flash modem C:/qinara/NON-HLOS.bin

(7. Wait for the modem to be sent and installed.

(8. Type the following command in...

fastboot reboot

(9. When the phone boots everything but gsm will be working, to fix it go to settings. From the main settings menu, go to mobile network. It

will freeze, press the home button. Once you press the home button open up recent apps by pressing the multi-tasking button.

it freezes.

(10. Open up your multi-tasking menu and open settings.

(11. Set "select network" to "automatic," then your done.

Ubuntu / Other Linux-distro method​

Prerequisites: Android SDK - Tools only! (to install type the following cmds in terminal...)

sudo add-apt-repository ppa:nilarimogard/webupd8

sudo apt-get update

sudo apt-get install android-tools-adb android-tools-fastboot

Instructions:

(1. Make a folder in the directory "/home/USERNAME/" and name it "qinara."

(2. Download the following attachment below: "NON-HLOS.bin" (In the attachments / downloads section)

(3. Place "NON-HLOS.bin" in the "/home/USERNAME/qinara/" folder.

(4. Open a terminal.

(5. Type the following command in...

fastboot flash modem /home/USERNAME/qinara/NON-HLOS.bin

(6. Wait for the modem to be sent and installed.

(7. Type the following command in...

fastboot reboot

(8. When the phone boots everything but gsm will be working, to fix it go to settings. From the main settings menu, go to mobile network. It

will freeze, press the home button. Once you press the home button open up recent apps by pressing the multi-tasking button.

it freezes.

(9. Open up your multi-tasking menu and open settings.

(10. Set "select network" to "automatic," then your done.

Downloads​

-NON-HLOS.bin

Ask any questions below... :fingers-crossed: