ICS and using Terminal Typing Problems - Android Q&A, Help & Troubleshooting

Just recently upgraded to ICS on Galaxy S2 and have found that typing in Terminal Programs (tried several different ones) seems broken. I can type but the input doesnt appear inless i use space. And after the initial typing any further input repeats previous input. Rendering any commands to be useless. Here is an example:
# su
ok
(now trying ls command)
# suls
error
(why did it enter su?)
# sulsls
(just typed ls but got sulsls)
any help well appreciated
Sent from my SHW-M250K using XDA

Try pressing backspace many times before a new command.

Nope backspace doesnt seem to help. Its like everything typed id on some imaginary clipboard and is being pasted after each input.
I did find a workaround.. To premake all commands in a text editor program .. Copy and paste directly into term.
Sent from my SHW-M250K using XDA

That's still not fixing the problem but are you talking about terminal on your phone or computer?

Terminal on the phone.. Ive been using Terminal Emulator exactly... However i also installed and tried another term app from market with same results.
Sometimes i can get a command in but it takes alot of presistance.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SHW-M250K using XDA

What happens when you just press enter? (no command)

maybe you should use another keyboard-app?
GO-keyboard from the market, for example...

When I hit enter it registers correctly.
I installed the go keyboard and that did the trick. Thank-you for the suggestion. Not sure why the ICS stock keyboard has the new bug.
Sent from my SHW-M250K using XDA

if you what, try the swype keyboard. there are some youtube videos on that and it is, for me, the fasted way to write on a smartphone. i know, the new Go-keyboard has the swyping-capability too, but i like the original one much better... give it a try
https://beta.swype.com

Related

[Q] Help with Hybrid ROM

Hello all, I'm pretty new to all of this. I only recently rooted/flashed a ROM for the first time, and I'm just kind of learning as I go. I really want to flash Eugene's Hybrid r3 ROM now that the mms issue is fixed, but I don't know how to apply the lag fix. What I'm really asking is if anyone has any instrustions or a link to information for a true beginner on how to access adb shell and apply the fix. I've got an entire evening of free time on my hands, and I decided it'd be a good day to learn this =]
Google droid explorer on your comp... It will set up adb for you... An easy guide can be found by googling "adb for dummies"
This entrails a lot of reading but the rewards are tremendous.. Good luck
Sent from my SGH-T959 using XDA App
alright, I'll get to it! thanks!
first startes you will need the drivers here:
http://forum.xda-developers.com/showthread.php?t=728929
and the android SDK here:
http://developer.android.com/sdk/index.html
PM me if you need help
Try YouTube & Google theso are two places I learned mostly everything. That's my recommendation... If u don't find the answer here.
You could also do it via a terminal app on your phone... I would kind of suck using the touchscreen to input the data but its do able.
if you want to try it via terminal do this.
- DL "terminal emulator" from market
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- open app and grant SU access
- input the lagfix info but leave out the first line "adb shell" of each step and start with "su"
One thing to note about droid explorer. Its a great tool and will setup adb for you, just make sure you have busybox installed on your phone. To ensure you have the latest busybox DL the "busybox" app from the market
Alright, thanks Sykes! I'll give it a shot!
I just wanted to say thanks again to you all. Sykes, I used the terminal app you described and it worked great! It took me a couple of tries, mainly because I'm very very new to all of the command prompt stuff, and hacking in general. But now the Hybrid R3 is running extremely fast and smooth. My past few benchmarks on quadrant have all been 2100+!!

Video screen capture app - Z Screenrecorder

I just came across an app in the market called " Z screenrecorder " and Im downloading it now to see if it works. Has anyone else tried this app with success?
Well... nothing. It looks like its working but its not creating a video file. Here is a screenshoot... my friend has a DROID x and it worked for him. Not sure why?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my DROID X2 using XDA App
the X2 has issues with screen shots, you gotta use Screenshot ER AFAIK
but this app is for taking video instead of just pics of your screen.
and if this wont work on the DX2 then why cant we tether the hdmi output to the camcorder and have an option to choose source.
Need help to improve Z-ScreenRecorder
Hi everybody,
my name is Jorge , and I'am part of the developement team of Z-ScreenRecorder.
We have received several complains about not recording issue in some devices, and we are investigating the cause.
It will be very helpful for us, if someone who hasn´t made the app works (The interface runs ok, but not records the video file) sends back a log as follows:
-Download a free app from the market called "Android Terminal Emulator" (It's a linux terminal on the phone)
-Open it (A blue shell and a "$" prompt will be showed) and type "mount" followed by enter in the keyboard.
-In Menu-> Email To, send to "[email protected]" and exit.
Now, open Z-ScreenRecorder (Last version is 1.0.3), and push the button to record. While the icon on the satus bar is still blinking, open again the "Android Terminal Emulator", and repeat again the previus steps, sending a new e-mail.
Thank you in advanced for your time and collaboration.
Best Regards.

[APP] What time is it?

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
"What time" application will add a new functionality to your phone: if you want to know what time is it now but you are too lazy to take the phone out of pocket, just press button on the headset (to start "Speech" functionality) and say "What time is it?" - and phone will tell you the current time.
Application supports most "speech-enabled" languages for Windows Phone 8.
Link to the store: http://www.windowsphone.com/en-us/store/app/what-time/1e51d223-2d05-4c25-907f-35e40db416a5
Trial version is fully functional; the only premium option "Turn screen off on exit" requires app purchase.
I want to say "Big thanks" to the great xda community for the help with UI translation!
Nice app and good job.
I have one suggestion - command for Polish is to long: "Która jest teraz godzina?". In everyday speech is enough to say "Która godzina?".
Budniu, thanks for suggestion but Microsoft voice commands architecture has some limitation: the app should declare some "prefix" (usually it's the app name but developer can choose any) and actual "command" (app can have many commands).
I've tried on Russian shorter sentence "Который час?" ("What time?") where "Который" is prefix, and "час" is command but this don't work... So I ended with "Который час сейчас" ("What time is it now"). I afraid, for the Polish behavior will be the same. If you can sideload apps, I can send you a version with sorter command to try.
THX for your reply, I understand.
I can send you a version with sorter command to try
Click to expand...
Click to collapse
Would be nice,check PM.
I've been looking for something to do just this, but unfortunately it just tells me that I have to unlock the 'phone before I can use this command. Is this a Microsoft limitation or is there any way around this?
Go to Settings -> Speech and check "Use Speech when phone is locked".
It works pretty fine with bluetooth or regular headsets.
By the way, app received update 1.2: now you may use your own voice command.

27 toggles using terminal app

MUST HAVE ROOT!
Found this while scouring the threads on XDA but can't find the post. So if you know who did let me know and will add credits to them. At any rate I have modified it to add the flashlight as well. Remember that I am not responsible for your decisions or your phone. Always make a backup. Enjoy.
HOW TO:
First you'll need terminal emulator app from play store. Don't expect a link to it you can get it yourself ya lazy bum.
You'll also need sqlite3, which i will give you since I called you a lazy bum. We good now?
Flash in recovery: edit: download from here and give thanks: http://forum.xda-developers.com/showthread.php?t=2226373
Select your appropriate sqlite for your binary.(kitkat)
Now open the terminal app and type su
Approve the root request when prompted.
Now, copy and paste this in terminal app. First one then the other.:
First this:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "insert into \"system\" values(null,'notification_panel_active_app_list','Wifi;MobileData;Location;Flashlight;SilentMode;AutoRotate;Bluetooth;Ebook;DormantMode;WiFiHotspot;Brightness;PowerSaving;AllShareCast;MultiWindow;SBeam;Nfc;AirView;AirGesture;SmartNetwork;ToddlerMode;PersonalMode;DrivingMode;SmartStay;SmartScroll;SmartPause;Sync;AirplaneMode;DoNotDisturb;');"
Then this:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "insert into \"system\" values(null,'notification_panel_active_app_list_for_reset','Wifi;MobileData;Location;Flashlight;SilentMode;AutoRotate;Bluetooth;Ebook;DormantMode;WiFiHotspot;Brightness;PowerSaving;AllShareCast;MultiWindow;SBeam;Nfc;AirView;AirGesture;SmartNetwork;ToddlerMode;PersonalMode;DrivingMode;SmartStay;SmartScroll;SmartPause;Sync;AirplaneMode;DoNotDisturb;');"
Reboot and see what happens. You can change the order of them and it'll put them in that order. Don't expect them to look like mine. It will look like whatever theme you're using. Depends on your systemui.apk.
SCREENSHOT:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I havent tried your method, though I have tried the others before. I can never get smartnetwork or personalpage to work. I can get the toggles, but as far as I can tell, they dont work with our phone.
evilvoice said:
I havent tried your method, though I have tried the others before. I can never get smartnetwork or personalpage to work. I can get the toggles, but as far as I can tell, they dont work with our phone.
Click to expand...
Click to collapse
Personal page not working yet. Smart network works on sacs v4. At least it'll go thru the motions. I have the s5 port so I'll mess with personal later. I've set it up before with nova so I know it'll work somehow.
Ah, okay. I thought you were talking about stock Note 3. Yea, S5 port should have it all working as there is personal page on the S5
I'm trying to port it over to work on ours. May never work but you'll have the toggle. Lol. Noone else had to know it doesn't work.

Alter the IR database to send other codes to the TV - Need help

Hey there.
I have since a few days the new ShieldTV remote with IR function and netflix button. Since yesterday I try to change the NvIRTuner.apk (com.nvidia.irtuner) or its database or the IR calls. Unfortunately without success so far.
The database is built very interesting. I'm talking about the O1R_UPDATE_19NOV20.sqlite here.
In the table M_Codes you can find all IR codes. Before the corresponding Java class determines the device which one has selected in the IR-AV-Toogle menu. In my case a LG TV with the id 1970. This Id can be seen in the setup.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here a Logcat excerpt, if I press my menu button to trigger the HDMI toggle:
07-11 13:37:30.050 4415 4601 D ShieldBluetoothIRInterface: *****REPORT*****0 - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
pastebin.com
Good to see the actual IR_Code that is taken, or its alias:
INPUT SCROLL
What I have tried so far:​-I replaced all IR codes in O1R_UPDATE_19NOV20.sqlite with Channel_UP and then moved this db to /data/data/com.nvidia.irtuner/databases with su-rights.
-> Unfortunately the system app com.nvidia.irtuner seems to read the db inital only once. I can't get it to read my db. I don't understand why. No matter if I reset the app, replaced the O1R_UPDATE_19NOV20.sqlite and give appropriate chown and chmod rights or reset the app before.
-My second attempt was a modified APK. Unfortunately, this can not be installed, because it must be signed by nvidia. I have root, but I don't know what to change in the /system/packages.xml so that the system would accept the app.
->When I try to install it, I only get the message that you have to sign this apk appropriately for the user.
-Then I tried to reproduce the service call from the logcat but unfortunately I don't know what to do.
Does anyone have a tip for me?
Greetings by Idijt

Categories

Resources