For those that like having backlight on for their keyboard make the following changes on your phone. By default this is not enabled in Haykuro's Hero build.
ADB
adb shell cp /system/lib/hw/lights.msm7k /system/lib/hw/lights.trout.so
adb shell reboot
FROM TERMINAL
cp /system/lib/hw/lights.msm7k /system/lib/hw/lights.trout.so
*since you can't reboot from terminal anymore, go ahead and power down your phone, then turn it back on.
Now you can go Messaging or whatever app, open your keyboard and the backlight works.
FYI, I've sent this fix to JustAnotherCrowd so he has it in his ROM already for those of you that don't want to do this yourself.
It's always worked for me?
Auctionedllama said:
It's always worked for me?
Click to expand...
Click to collapse
Which build did you install? It shouldn't have worked in Haykuro's
Reboot
just as a quick reference or alternative:
CALL (green) + MENU + END (red)
to reboot. I find it a little bit faster than typing reboot in the emu when you get the muscle memory taken care of.
For those that like having backlight on for their keyboard make the following changes on your phone. By default this is not enabled in Haykuro's Hero build.
ADB
adb shell cp /system/lib/hw/lights.msm7k /system/lib/hw/lights.trout.so
adb shell reboot
FROM TERMINAL
cp /system/lib/hw/lights.msm7k /system/lib/hw/lights.trout.so
*since you can't reboot from terminal anymore, go ahead and power down your phone, then turn it back on.
Now you can go Messaging or whatever app, open your keyboard and the backlight works.
Click to expand...
Click to collapse
Just did it and it worked great. Thanks.
just as a quick reference or alternative:
CALL (green) + MENU + END (red)
to reboot. I find it a little bit faster than typing reboot in the emu when you get the muscle memory taken care of.
Click to expand...
Click to collapse
Does this work for everyone's Hero builds? Cause it doesn't on mine.
Related
So I was messing around with some of the system files, just trying to learn more about everything and I decided to do a wipe to put everything back to where it was and after I wiped, it gave me an error message at bootup saying that the gapps process had to be closed. I went through the regular sign in and when I got to the main screen, the screen was black. I get the top bar but nothing else.
So I tried reinstalling JFRC33 Lite. Same thing. So I tried installing JFRC33 regular. Now I cant even get by the blinking android. I dont know what the heck is going on but I know all is not lost because I can still et to the bootloader. Can anyone help me out?
Thanks.
try putting one of the updates on your SD card and naming update.zip, and then access the phone via adb shell(if you can) if you can see it with adb devices then type "adb shell wipe all" it will COMPLETELY wipe your phone and allow you to reinstall your update, you cshould be good as root after that, if not then try a .nbh file
tubaking182 said:
try putting one of the updates on your SD card and naming update.zip, and then access the phone via adb shell(if you can) if you can see it with adb devices then type "adb shell wipe all" it will COMPLETELY wipe your phone and allow you to reinstall your update, you cshould be good as root after that, if not then try a .nbh file
Click to expand...
Click to collapse
Thanks bro! I had no idea you could wipe through the pc.
one of the many things i found when i was trying to control the phone with my computer. i have a script that when i run it on my comp it auto starts tetherbot and hits the up key on the trackball then hits enter to start the proxy, then does the adb forward tcp command and then starts firefox with all the correct settings. i also found a very complicated way to send texts with my phone using my comp keyboard and adb
tubaking182 said:
one of the many things i found when i was trying to control the phone with my computer. i have a script that when i run it on my comp it auto starts tetherbot and hits the up key on the trackball then hits enter to start the proxy, then does the adb forward tcp command and then starts firefox with all the correct settings. i also found a very complicated way to send texts with my phone using my comp keyboard and adb
Click to expand...
Click to collapse
Oh? Please share. I'm very interested in ways to control the phone from the pc.
Thanks
for the time being it is not an exact science, you need a key map(one found in my thread about the computer app to control phone) and you need to know a few commands. basically to get the phone to think you pressed a button you need to have the computer send the command: adb shell keyevent ## where ## is the number that corresponds to the key you want it to press on the phone. keys are labled 0-85 but i still have yet to figure out what 0 does and a few of the keys don't work perfectly yet but that's being worked on.
secxond you need the command "adb shell am start -a android.intent.action.MAIN -n (*********/*********)" where the *******/******* equals the program you want to start. for Steel you would type:
adb shell am start -a android.intent.action.MAIN -n com.kolbysoft.steel/com.kolbysoft.steel.Steel
that will bring up steel to your home page, after that you can type adn shell input (keyevent|text) if you do text the phone only reads one word, not sure why but i am trying to fix that as well, and if you do keyevent then you need to know what number corresponds to the key you want pressed
here is an example of a script that will start tetherbot, start the socks service, and do the tcp forwarding action
#!/bin/bash
adb shell am start -a android.intent.action.MAIN -n graha.ms.tunnel/graha.ms.tunnel.TunnelConfig ##start new instance of tetherbot or bring current one to front
adb shell input keyevent 19 ###press up
adb shell input keyevent 66 ###press enter
sleep 3
adb forward tcp:1080 tcp:1080
all the commands i have found so far i got by running adb shell logcat and reading the output as i click on different applications. if you need some help with this then i would be more than happy to help, just make sure to let me know what program you are trying to run(if it's a paid app then you will need to run logcat and attach the output after running the app) if it's a free app i'll just install it and let you know how to start the app, then you can write scripts to get your phone to do certain things. i already have a script that wipes my phone, reapplys apps to SD and resets my settings, it's kinda messy but it works
Some one ask me how to install application. Please read this first:
http://forum.xda-developers.com/showpost.php?p=3657355&postcount=5
http://forum.xda-developers.com/showthread.php?t=502010
And for someone ask how to rename a xx.apk.zip -> xx.apk
If you use windown :
Look up your top bar choos TOOL / FOLDER OPTION / VIEW / deselect hide extension ...
Click to expand...
Click to collapse
1. Add original HTC keyboard with calibrate feature and more
http://www.4shared.com/file/100244434/dffd1bc9/key.html
- Install key.apk
- Choose setting / locale&text, select Touch Input.
- Open messaging, long press to text box, choose Input Method then choose Touch Input
- Enjoy
Click to expand...
Click to collapse
2. Enable rotate effect for your device - AWESOME !!!!
http://www.4shared.com/file/100411947/280ad3b8/SpareParts.html
- Install SpareParts.apk
- Open Spare Parts, enable Fancy rotation animations
- Enjoy
Click to expand...
Click to collapse
3. Replacement Camera - Capture button enable (fixed force close when open)
Least option than original H version camera but Capture button support, Image quality really better than G version.
http://www.4shared.com/file/100440912/554b3b67/Camera.html
- You need adb.exe and dll file. Please READ
- Connect your phone to computer, open cmd window and type :
adb remount
adb shell cp system/app/Camera.apk sdcard/
adb shell rm -r system/app/Camera.apk
adb push your_downloaded_Camera.apk_directory system/app
adb shell cp system/app/HTCAlbum.apk sdcard/
adb shell rm -r system/app/HTCAlmbum.apk
Click to expand...
Click to collapse
- Enjoy !
- If you want to come back H camera:
Use your phone : go to setting/application/application manage/find Camera and unintall it, after that plug your phone to PC and use CMD:
adb remount
adb shell cp sdcard/Camera.apk system/app/
Click to expand...
Click to collapse
Click to expand...
Click to collapse
4. Main screen rotate correctly.
http://www.4shared.com/account/file/100449173/70db245/Launcher.html
- Dowload Launcher.apk
- Plug your device to PC and use CMD:
adb remount
adb shell cp system/app/HTCLauncher.apk sdcard/
adb shell rm -r system/app/HTCLaucher.apk
adb install your_downloaded_Launcher.apk_directory
Click to expand...
Click to collapse
- If you want to return fuking Chunghwa home =)) :
Use your phone : go to setting/application/application manage/find Home and unintall it, after that plug your phone to PC and use CMD:
adb remount
adb shell cp sdcard/HTCLauncher.apk system/app/
Click to expand...
Click to collapse
- Enjoy
Click to expand...
Click to collapse
5. Remove HTC sync
- Plug phone to PC, open CMD
adb remount
adb shell cp system/app/PCSCII.apk sdcard/
adb shell rm -r system/app/PCSCII.apk
Click to expand...
Click to collapse
-Well done
Click to expand...
Click to collapse
6. Browser mobile view fix
You hate to use mobile view on your 5.0.x-H ? Just do it. It will still keep HTC zoom. Thank nabzilla1990
http://forum.xda-developers.com/attachment.php?attachmentid=180073&d=1240656706
Rename BestBrowser.zip to Browser.apk
Thank bestwebs
adb remount
adb push your_Browser_direction system/app/
Click to expand...
Click to collapse
Click to expand...
Click to collapse
7. Google sync control for H build (Thanks nabzilla1990)
This feature is awesome. I tested and it work perfectly. Must have feature. Save your battery.
This feature help you control contact sync, gmail sync, calendar sync and fix volume bug. But I don't think I work with HTC sync. I disabled HTC sync then I do not confirm that.
Download this :
http://forum.xda-developers.com/attachment.php?attachmentid=179453&d=1240497197
http://www.4shared.com/file/101758554/969da77/Sync.html
http://www.4shared.com/file/101758767/b8c90c60/SettingsProvider.html
RENAME THEM :
Settings.apk.zip -> Settings.apk
SettingsProvider.apk.zip -> SettingsProvider.apk
Sync.apk.zip -> Sync.apk
adb remount
adb push your_Sync.apk_direction system/app
adb push your_GoogleSettingsProvider.apk_direction system/app
adb push your_Settings.apk_direction system/app
Click to expand...
Click to collapse
After that, you should reboot your phone:
adb shell reboot
Click to expand...
Click to collapse
Click to expand...
Click to collapse
8. Dialer English button (Thanks buttkicker)
- Default Dialer update to remove chinese characters 5.0.x-H
Removing Chinese characters from the Dialer buttons.
http://forum.xda-developers.com/attachment.php?attachmentid=175899&d=1239638515
Just copy update.zip to your sdcard and run update.
Click to expand...
Click to collapse
9. Messaging with white background and LED NOTIFICATION FIX(I think it better than black background)
http://www.4shared.com/file/101096249/53a62b84/Mms.html
adb remount
adb shell cp system/app/Mms.apk sdcard/
adb push your_Mms.apk_direction system/app/
Click to expand...
Click to collapse
Click to expand...
Click to collapse
10. Change Widget interface (Thanks nabzilla1990)
Using original HTC sapphire's widget interface. (Calendar, Music). I think they are better than G widget, and if you use aHome cupcake, you should use this.
YOU SHOULD BACKUP YOUR APK FILES AFTER DOING THAT
http://forum.xda-developers.com/attachment.php?attachmentid=179773&d=1240582825
http://forum.xda-developers.com/attachment.php?attachmentid=179774&d=1240582825
http://forum.xda-developers.com/attachment.php?attachmentid=179775&d=1240582825
Download all links and del ".zip" in their name
adb remount
adb push your_Calendar.apk_direction system/app
adb push your_CalendarProvider.apk_direction system/app
adb push your_Music.apk_direction system/app
Click to expand...
Click to collapse
Click to expand...
Click to collapse
11. Add weather widget (Thank Jeff Sharkey)
View here:
http://www.jsharkey.org/blog/2009/04/24/forecast-widget-for-android-15-with-source/
Download APK :
http://www.jsharkey.org/downloads/Sky-101.apk
Click to expand...
Click to collapse
12. Using G dialer and G contact on H build
G contact is same as H contact, but G dialer has quick tab to go to contact.
Download APK:
http://www.4shared.com/file/101505657/e564c332/Phone.html
http://www.4shared.com/file/101505672/a738553f/TelephonyProvider.html
http://www.4shared.com/file/101505496/3d5268c6/Contacts.html
YOU SHOULD BACKUP YOUR APK FILES AFTER DOING THAT
adb remount
adb push xxx.apk system/app
Click to expand...
Click to collapse
Click to expand...
Click to collapse
I will test more and post in this topic.
____________________________________________
If you use replacement Camera and Launcher, you will have more space in your System image
Main Home can't rotate to lanscape mode when keyboard is closed. I think it because of Launcher odex file (like multi-touch browser by JF). I will ask someone to fix this.
how do i
how do instal these onto phone
What do you mean by "rotate effect"? The "H" build has that fade out fade in effect. Are you talking about the "G" rotate?
yo your awsome thanks for this, now H build is the best build ever!!!
dskyers said:
how do instal these onto phone
Click to expand...
Click to collapse
Download those files and transfer to your sdcard. Then use ASTRO or Linda File Manager to install in your phone.
will this work for the jf rc33?
thank you i started downloading all that stuff and now im lost lol
So is there a way to enable auto rotate from the home screen on the H builds? I like the animations that spare parts has but still not auto rotate on home screen. And what does the input animations do?
Does this work on the new build? I tried to install the 1st one but got an error because i dint have enough space, even when my phone is just been flashed with the new fw :S, And yes i have root i am on 5.0.2r3 H
71CH said:
What do you mean by "rotate effect"? The "H" build has that fade out fade in effect. Are you talking about the "G" rotate?
Click to expand...
Click to collapse
I mean rotate effect of 4.9. If you used 4.9 you will know. It's awesome .
funbacon said:
I mean rotate effect of 4.9. If you used 4.9 you will know. It's awesome .
Click to expand...
Click to collapse
Yeh, The rotate tho did kinda get annoying, it was always thinking i was fliping the phone over, And on the new builds, You cant rotate the 360 degrees, Altho it wouldnt work upside down, but it was still prityy sick, Shame i cant get the keybord working in this but the other one was pritty slick
Just a thought? would it be the 1st one has to be done threw ADB?
*Edit, Sorry for double post, :L
is the htc keyboard the one from the "H" builds?
1. Add original HTC keyboard with calibrate feature and more
http://www.4shared.com/file/100244434/dffd1bc9/key.html
- Install key.apk
- Choose setting / locale&text, select Touch Input.
- Open messaging, long press to text box, choose Input Method then choose Touch Input
- Enjoy
2. Enable rotate effect for your device - AWESOME !!!!
http://www.4shared.com/file/100411947/280ad3b8/SpareParts.html
- Install SpareParts.apk
- Open Spare Parts, enable Fancy rotation animations
- Enjoy
3. Replacement Camera - Capture button enable
Least option than original H version camera but Capture button support
http://www.4shared.com/file/100440912/554b3b67/Camera.html
- You need adb.exe and dll file. Please READ
- Connect your phone to computer, open cmd window and type :
adb remount
adb shell cp system/app/Camera.apk sdcard/
adb shell rm-r system/app/Camera.apk
adb install your_downloaded_Camera.apk_directory
Click to expand...
Click to collapse
- Enjoy !
- If you want to come back H camera:
adb remount
adb shell rm-r system/app/Camera.apk
adb shell cp sdcard/Camera.apk system/app/[/COLOR]
Click to expand...
Click to collapse
I will test more and post in this topic.
Some one ask me how to install application. Please read this:
http://forum.xda-developers.com/showpost.php?p=3657355&postcount=5
http://forum.xda-developers.com/showthread.php?t=502010
Seenochino said:
is the htc keyboard the one from the "H" builds?
Click to expand...
Click to collapse
Yup hence why H = HTC and G = Google, Its all down to what source they where made from
Seenochino said:
is the htc keyboard the one from the "H" builds?
Click to expand...
Click to collapse
No, It is Original HTC keyboard from HTC sapphire US version with calibrate and more feature, NO Chinese. H version keyboard is Chinese keyboard
I think its awesome that your doing this giving a little more options to the H build. Not to sure if i will do that camera replacement but love everything else hopefully there are more options to come. Is there a way to fix auto rotate on home screen? Not asking you to do it just wondering if there is a fix for that?
Jrbourque said:
I think its awesome that your doing this giving a little more options to the H build. Not to sure if i will do that camera replacement but love everything else hopefully there are more options to come. Is there a way to fix auto rotate on home screen? Not asking you to do it just wondering if there is a fix for that?
Click to expand...
Click to collapse
There is a way to turn auto rotate on and off its in settings somewhere, look and you'll see
It's rm -r rather than rm-r (space is missing).
ben29pickett said:
There is a way to turn auto rotate on and off its in settings somewhere, look and you'll see
Click to expand...
Click to collapse
i see where it is for sound and display but thats only allows to auto rotate in an app or in the settings not on home screen.
Download this attachment:
http://forum.xda-developers.com/showpost.php?p=3838743&postcount=8
Then:
in windows:
adb pull /system/usr/keychars/trout-keypad-v3.kcm.bin trout-keypad-v3.kcm.bin
This backups your existing keylayout.
Then: (you must have the downloaded (unzipped!) file on C: !!)
cd C:\
adb remount
adb push trout-keypad-v3.kcm.bin /sdcard/trout-keypad-v3.kcm.bin
adb shell
cd /sdcard
dd if=trout-keypad-v3.kcm.bin of=/system/usr/keychars/trout-keypad-v3.kcm.bin
reboot
Your device should reboot now and TADA you have fully working QWERTZ!
Please correct my commands if they are wrong.
Disclaimer:
You know this..
can you give me codes to work with the terminal (I don't use sdk -ADB)
And , does it fixes all other stuff to like + - :.... or just swap Z and Y.
(I need that fix so much)
Thanks
Copy the file to your sdcard then:
su
mount -o rw,remount /system
cp /sdcard/trout-keypad-v3.kcm.bin /system/usr/keychars
i think it fixes all including + etc..
ok did it, typing reboot....
g1 htc booting
waiting.....
OMG thanks a million....... close this thread or just move it to (make one with USEFULL THINGS).... will help other people in europe.
Thanks again.
maxisma said:
Your device should reboot now and TADA you have fully working QWERTZ!
Click to expand...
Click to collapse
Hi!
This only works reliably with ROMs with the Google virtual keyboard. With the HTC one (which function-wise is better), the hardkeyboard eventually switches back and forth from qwertz to qwerty and back.
Is there a solution for that issue?
Greets
It's because of the Hardwarekeyboardcorrection.
You can try to deactivate it in Settings/Locale Settings/Touch Input/...
maxisma said:
It's because of the Hardwarekeyboardcorrection.
You can try to deactivate it in Settings/Locale Settings/Touch Input/...
Click to expand...
Click to collapse
Yeah, that's my experience as well that it is due to the hardware keyboard correction.
However, even when I switch that off (correction and completion switched off), this strange behavior of switching back and forth continues :-(.
Is there a solution to this?
Or alternatively how can I install the Google IME on a HTC build as a workaround?
Just pushing GoogleIME.apk doesn't help unfortunately.
I downloaded a terminal emulator (a free one first then Better Terminal Emulator Pro") just to have it and carefully familiarize with the OS on this phone.
Before I installed fresh 1.0 when I opened it a screen with a lone "$" and would appear and function just as ADB SHELL does from my PC (XP).
After fresh the initial screen displays:
$ export PATH=/data/local/bin:$PATH
$
From this screen if I type "su" it goes to another screen titled "su request" and times out to a FC in about a minute or two.
Also in the Preferences menu the Command Line option is set to:
/system/bin/sh -#/
I can navigate into folders in "$" but no matter how deep I go "exit" closes the emulator instead of going back one level.
I am not using almquist shell, just android shell.
Any insight into what this means would be appreciated.
nebenezer said:
I downloaded a terminal emulator (a free one first then Better Terminal Emulator Pro") just to have it and carefully familiarize with the OS on this phone.
Before I installed fresh 1.0 when I opened it a screen with a lone "$" and would appear and function just as ADB SHELL does from my PC (XP).
After fresh the initial screen displays:
$ export PATH=/data/local/bin:$PATH
$
From this screen if I type "su" it goes to another screen titled "su request" and times out to a FC in about a minute or two.
Click to expand...
Click to collapse
Are you on fresh 1.0 now? I *think* the issue with the "su request" screen being blank was in an older version of the fresh ROM.
nebenezer said:
I can navigate into folders in "$" but no matter how deep I go "exit" closes the emulator instead of going back one level.
Click to expand...
Click to collapse
Completely normal... "exit" will exit the current shell you're in. If you want to go back one directory, then "cd .."
Answer found
I had USB debugging off, switched it on and terminal emulator works.
x99percent said:
Are you on fresh 1.0 now? I *think* the issue with the "su request" screen being blank was in an older version of the fresh ROM.
Completely normal... "exit" will exit the current shell you're in. If you want to go back one directory, then "cd .."
Click to expand...
Click to collapse
That was quick! Thanks x99%
Yes, using 1.0.
I tried cd.. before, it did nothing. Allowing usb debugging has done the trick, works fine.
also cd.. should be cd .. has to have space between cd and the ..
obelisk79 said:
also cd.. should be cd .. has to have space between cd and the ..
Click to expand...
Click to collapse
did not know that, Thanks!
nebenezer said:
I had USB debugging off, switched it on and terminal emulator works.
Click to expand...
Click to collapse
Ah... good catch.
nebenezer said:
After fresh the initial screen displays:
$ export PATH=/data/local/bin:$PATH
$
Click to expand...
Click to collapse
<shrug> The fresh ROM's busybox has something in its rc file. Is this a problem for some reason?
From this screen if I type "su" it goes to another screen titled "su request" and times out to a FC in about a minute or two.
Click to expand...
Click to collapse
Turn USB Debugging back on. Why people can't search, I'll never understand.
I can navigate into folders in "$" but no matter how deep I go "exit" closes the emulator instead of going back one level.
Click to expand...
Click to collapse
Uh, that's because that's what exit is supposed to do.
try "cd -" that works for me.
This guide works for 7.0 and 8.0 on any variant of the S8/S8+/Note 8.
You will need ADB installed on your computer first. You can find several guides online for this.
1. Pick an app to remap (ill be using Google Camera)
2. Find the Component ID for this app. Open the app to the page you want and run this command with ADB.
Code:
adb shell "dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'"
Now look for this part of the output:
Code:
mCurrentFocus=Window{afcbfbb u0 [B][U]com.google.android.GoogleCamera/com.android.camera.CameraLauncher[/U][/B]}
The bolded and underlined part is what we need. Copy that somewhere for later.
3. Now, run this command to set the new component as our double press action.
Code:
adb shell "settings put system double_tab_launch_component [B][U]com.google.android.GoogleCamera/com.android.camera.CameraLauncher[/U][/B]"
Replace the component ID with the one we found in step 2. The example above sets it to Google Camera.
4. REBOOT
5. Profit!
To return to the default camera action, run this:
Code:
adb shell "settings put system double_tab_launch_component com.sec.android.app.camera/com.sec.android.app.camera.Camera
If you've got questions, ask me below. Enjoy~!
Bixby button
Can you do this with bixby button I removed with adb pm remapping apps not working?
Thanks for posting! Is there a way to get this to work with a system service (not an app), such as the flashlight?
Thanks for posting this. I set it up to open the google camera, and it worked. Unfortunately, it doesn't seem to survive reboot.
Did not work on Galaxy S8, Oreo
I also tried other apps except Google Cam, didn't work. I tried with su in ADB, didn't work. Suggestions?
Worked fine for me! Just don't forget to leave the double press option in the samsung camera app ON!
infact, I used tasker secondary app to launch ANY tasker task with double press.
use:
adb shell "settings put system double_tab_launch_component net.dinglisch.android.taskerm/com.joaomgcd.taskerm.util.ActivitySecondaryApp"
reboot, and then let the phone rest for a minute so that tasker can load its processes.