[Q] Custom Button Action / Recent Apps Display - HTC One X

Is there a custom ROM or tweak etc that will give me the following:
Button - Short Press Action / Long Press Action
Back - Back / Force Close Current App
Home - Home / Menu
Recent Apps - Recent Apps* / Search
*This is the one that seems to not work on custom button tweaks I've tried.
Also I would like the same behaviour for recent apps as stock 2.17 where it slides the previous app used into centre automatically which makes switching between 2 apps a doddle. The ROM I've tried doesn't and always shows the current app in the centre.

Related

[1.1B0 13 Nov] Edit n/reading now/side btns/RecentApps+ActivityPicker+ForceOrient!!!!

DISCLAMER and WARNING: I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or the current economic crisis. Please do some research if you have any concerns about this app.
THIS IS SPARTA! (BETA)
NEW Distribution policy:
This mod provided exclusively on xda-developers as downloadable jars and app, please post link to this thread instead of copying files to other resources, so users will be able to track changes and report bugs in one place.
However, I allow distribution in the rooting/sideloading packages such as MinimalTouch, Nooters, etc..., but only if credit/thanks and link to this thread are given and I'm notified.
About http://forum.xda-developers.com/showpost.php?p=18138068&postcount=2
What's new
Version (jars) 1.1-beta0
*** Jars updated to work with Nook 1.1 update
Version 1.0-beta2
* Force landscape orientation, every app (even stock B&N apps) will be in lanscape, B&N reader still shows text with hardcoded width tho.
*** If in portrait - force to landscape, app settings cannot override behaviour
*** If in landscape - return to default portrait mode, where if app request landscape it will get it.
* 4 Side hard buttons configurable in app
* Configurable recent dialog bottom button bar with "back", "home", "menu", "search", "Force orientation change"
* New action "B&N Quicknav" on n long click
* Clear dalvik-cache button
* Fix framework permissions button
Click to expand...
Click to collapse
Version 1.0-beta1
* Configurable quick nav, n button (short and long presses), reading now button actions
* Recent apps dialog
* Activity Picker
Click to expand...
Click to collapse
Version 1.0-alpha
Initial release with external recent apps dialog (NookTouchHomeButton app obsolete now.)
Click to expand...
Click to collapse
ToDo
* Fix issues if any
* TBD Add eInk refresh rate, etc.
Click to expand...
Click to collapse
Technical details http://forum.xda-developers.com/showpost.php?p=18138076&postcount=3
How to:
* Device should be ROOTED
* Jars 1.1b0 are based on 1.1
* Jars 1.0b2 are based on 1.0.1 (but should work on 1.0.0)
* Download jars.zip, unpack
* Backup originals from /system/framework/android.policy.jar and /system/framework/services.jar (consider to backup full device)
* Copy into /media or /sdcard in your nook if you not planning to use adb
* Remount /system to read-write using one of the following:
*** adb: adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
*** remount program from market
*** Total Commander click on right most icon in bottom bar, click on + icon that appears on expanded bar, select internal command, click on >> button and select icon with 'rw', click OK/Apply, Navigate to /system in left panel and click 'rw' icon.
* copy downloaded android.policy.jar to the /system/framework using:
*** adb push android.policy.jar /system/framework/
*** adb push services.jar /system/framework/
*** Total Commander - select /system/framework/ in one panel and /media or /sdcard in other (click -> -> -> overlay to change panels), select android.policy.jar and services.jar by clicking on it's icons and copy (to system, not from of course) by clicking second icon (from left) in bottom most bar
* REBOOT Nook Simple Touch
* Install app
* Click fix permissions button
* Click clear dalvik cache button (Nook will reboot on success)
* Unlock after reboot and verify by:
*** Long-press n button - this should bring recent menu
*** Application NookTouchTools should have unlocked Configuration button
Click to expand...
Click to collapse
P.S. NookTouchHomeButton app is obsolete.
P.S.S. Developers interesting in process of patching are welcome to pm (I plan to open source patches/code, but no time right now).
Thanks to:
JesusFreke - for smali/baksmali
Cyanogenmod team - for the warning text
Features of mod
* Will return stock android go to home by short press of "n" button and recent apps dialog on long press (Configurable)
* All B&N quicknav buttons configurable, it even loads apps icons (after reboot)
* Reading now" button configurable
* Force landscape orientation
* Ability to simulate key event (system wide) without root from any app, developers PM me if interested.
* NOTE: Installation of the jars w/o conf will have stock B&N effect + recent apps
Features of application
* Implements Activity Picker, so any app (i.e. Launcher Pro) can use "Shourtcuts" dialog that B&N removed.
* Configuration UI for above mod
* Configuration UI for page (side) hard buttons
* Clear dalvik-cache button
* Fix framework permissions button
Some technical details
* Patched android.policy.jar:
*** Injected home button code from AOSP, with configuration check between goto home and b&n quicknav toggle
*** Fixed recent apps dialog with configuration check to launch recent apps dialog or configured app launch
* Patched services.jar
*** "Reading now" button check for configured launch value (possible values: Home, Back, Menu, Search, Long Search, Custom App, B&N default)
*** All quicknav buttons configurable and will load icons (once, onCreate) possible values same as above.
* ActivityPicker - B&N removed default activity (usually in Settings.apk) to serve ACTION_PICK_ACTIVITY requests, so I added it back to the app and now able to add shortcuts/edit doc shortcuts in Launcher Pro...
* Configuration - All above configurable values stored in Settings.System so both system jars and Conf app can access it.
* Clear dalvik-cache button
*** executes as root following code and reboots
Code:
busybox rm -rf /data/dalvik-cache/*
* Fix framework permissions button
*** executes as root:
Code:
mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
chown root.root /system/framework/*
chmod 644 /system/framework/*
To make it simple (I guess), using root explorer (can't get adb to run on my computer):
- download android.policy.jar
- backup original copy of the same file from /system/framework
- make directory writeable
- put new copy in the same directory
- fix permisssions (what sort of permission? 755?)
- make directory non-writeable
- Install apk
- boot
- PROFIT?
What the heck? Nook STR color screen? New nook to fight Amazon Fire?
Ok, so i installed it without problems. What i see is:
1. I don't see ant profit in having home, back, search in that window ;/ everyone will still use button savior.
2. It should be bigger.
3. Instead of those home, back buttons maybe add those from stock n button app? it is hard to access library in instance.
Would you?
apeine said:
What the heck? Nook STR color screen? New nook to fight Amazon Fire?
Click to expand...
Click to collapse
Lol, it's screenshot man, do you think screenshot is coming from eInk itself?
domi.nos said:
Ok, so i installed it without problems. What i see is:
1. I don't see ant profit in having home, back, search in that window ;/ everyone will still use button savior.
2. It should be bigger.
3. Instead of those home, back buttons maybe add those from stock n button app? it is hard to access library in instance.
Would you?
Click to expand...
Click to collapse
Great, some feedback.
1. That's you, I love to have screen as clear as possible, but this could be configurable, right?
2. This could be configurable as well.
3. Goto 1
At the moment I still have access to the B&N home via the 'n' key. I then use ButtonSavior and NookButtonMenu for the apps menu, that way I still have the B&N menu.
I wonder if this might be better.
Happy to see lots of handy apps. I wonder if CM7 port might be more of a catch-all
jago25_98 said:
At the moment I still have access to the B&N home via the 'n' key. I then use ButtonSavior and NookButtonMenu for the apps menu, that way I still have the B&N menu.
I wonder if this might be better.
Happy to see lots of handy apps. I wonder if CM7 port might be more of a catch-all
Click to expand...
Click to collapse
First,
I'm not using any of the b&n apps because of the lack of the russian books.
So QuickNav (this is name from the code) is completely useless for me.
Second,
Home button is the native android feature and I don't like to have even that small button savior button (and cause it's small it's difficult to click on) while I have other options to utilize unused resources (reading not and n buttons).
Third,
I would not count on CM, as using cm7 for a 1/2 year on captivate - it's battery hog, but best/smoothest experience.
Honestly, I don't care of silk smooth (even if it can be 100% performance boost) performance and other cm7 features, but I do care of partial refresh and battery life.
Wow, Thanks for your work in making this app. I'm going to leave it on and see how I feel about it. I have a feeling I'm going to miss being able to access my library but we'll see. Just wondering how difficult it would be to keep the original popup menu but replace the B&N functions with your functions? I hope I'm making sense. Ryan
Well, thanks for the great work. Now the N button has a real function. I got to switch between apps in portrait and landscape mode, each one keeping its orientation. I also get to program in RFO basic, using the manual just by switching apps in ezpdf and the program itself.
And I even get to keep button saviour minimized, so I get to type "P" and zero, which were partially covered by the off button!
Once again, thanks!
---------- Post added at 01:31 PM ---------- Previous post was at 01:27 PM ----------
BTW, the back button, the one that looks like a list and the zoom/search button shows a popup "Not rooted?". The home and orientation buttons work fine.
apeine said:
BTW, the back button, the one that looks like a list and the zoom/search button shows a popup "Not rooted?". The home and orientation buttons work fine.
Click to expand...
Click to collapse
You are welcome.
Not rooted for that buttons is only because it's the buttons required root, home and orientation done usual legal android way.
I've seen the same with latest Superuser denying root commands for no apparent reason. Will have to play with it.
Anyway try to reboot, then bring up the menu and make sure to select check box to always allow root to this app and click allow.
Will see, if I move app to the policy jar and framework res itself it will not require root anymore as injectKeyEvent available inside system jars.
Didn't work. Still showing the "not rooted?" popup.
Just didn't figured where I can find the checkbox to always allow root - superuser app list doesn't show nook button app, or shows a way I can add an app to its list.
apeine said:
Didn't work. Still showing the "not rooted?" popup.
Just didn't figured where I can find the checkbox to always allow root - superuser app list doesn't show nook button app, or shows a way I can add an app to its list.
Click to expand...
Click to collapse
Reboot unplugged from USB (otherwise it will overlay root request dialog) long press n button and if dialog shows to allow root make sure to select checkbox.
I'll take a look today to request root over and over if one failed.
EDIT: Just removed root privileges from my app manually and after reboot it failed siletly, will take a look. Try uninstall then reinstall, works here.
Good afternoon. I ask to forgive for the bad English, it for me not the native.
It would be desirable to learn, whether probably to reassign short press for a call app launcher and long press for a call recent?
Thanks.
works like a charm!
the long press takes a little bit too long for my taste, half the time would be enough, i think..
thanks!
it's a very nice hack of the nook touch.
The "long presse" is a little too long and the window menu a little too smal
Well, updated superuser, and re-registered all programs that needed rooted android, and the buttons came back to life.
And I do agree that long press should be called very-very-long-press. If you can fix, better. If not, it won't be a couple of seconds that's gonna make it a bad app.
apeine said:
Well, updated superuser, and re-registered all programs that needed rooted android, and the buttons came back to life.
And I do agree that long press should be called very-very-long-press. If you can fix, better. If not, it won't be a couple of seconds that's gonna make it a bad app.
Click to expand...
Click to collapse
Usual android show dialog immediately, in order not to package it inside policy jar right now, I'm sending broadcast from policy, then handle it in broadcast receiver in app and show dialog - this is the cause of delay. It will be solved once app moves to the policy.jar itself.
I'm thinking of leaving old quicknav menu for short press, but make it configurable, e.g. Configured apps instead of Library, Shop and Settings and if possible leave search as search button (short search and longpress search).
That do you think?
Also, do you need home, back, menu and other buttons on the bottom of the dialog?
Well, I liked the duo short press/home x long press/recent apps. But making short/long press configurable for original style nook / new style nook (with selected apps) / recent apps / home / back would be good too - would just think twice regarding menu with selected apps, all the rest would be plain good
Configurable would be great. As is, this is a great little app and it beats the hell out of the n-button's normal functions if you don't actually use the B&N stuff.

[Q] problem 3dot fix remapping long press recent apps to recent apps?

Hello every one
i wanted to remove the 3dot menu button ,
so i did as written here :
http://forum.xda-developers.com/showpost.php?p=27048426&postcount=549
(special thanks to the author )
now i have the recent apps key remapped to setting(menu) and the 3dot menu removed, but no recent apps key
i was wondering if there is a way (the more simple , the better!) to map long press recent apps button to recent apps that works everywhere ?
(on both sense and go launcher for example)
+
is it possible to do something like this to home button for switching between launchers?
what i am looking for summarized :
- 3dot menu removed - done
- recent apps button press => setting(menu) - done
- recent apps button long press => recent apps
- home button press => home (as it already is)
and optionally
- home button long press => a mechanism to switch between launchers !
my phone is htc one X international, (stock) unlocked bootloader and rooted and nothing else , version 1.29.415.11
P.S. if its not possible to use long press recent apps , how can i use long press home as recents apps switcher?

Apocalypse Users!!

As I was impressed by the development and hit of Apocalypse on Ace forum I decided to install it's port to my Gio (my first custom ROM). But I was disappointed. The Port was not like the original ROM on Ace forum. The app drawer interface was so different. It had to slide vertically but on ace it was horizontally. In the Menus there was no transparency to see the wallpaper and last but not the least I could not stop that annoying vibration whenever I pressed that back button.
Are all ports like this?? So different from original??
You can customize settings like you want, just open holo launcher settings and choose drawer settings, there you can set transparent and horizontal instead of vertical (choose drawer style and then select Horizontal paginated), effects like you want . It's not only the drawer, you can customize settings for desktop, docks and much more to stop vibration for back button, open phone settings > Sound > scroll down and deselect haptic feedback.
tico96 said:
You can customize settings like you want, just open holo launcher settings and choose drawer settings, there you can set transparent and horizontal instead of vertical (choose drawer style and then select Horizontal paginated), effects like you want . It's not only the drawer, you can customize settings for desktop, docks and much more to stop vibration for back button, open phone settings > Sound > scroll down and deselect haptic feedback.
Click to expand...
Click to collapse
How to open Holo launcher settings??? :-/
And there was another problem when I open any application such as calculator and then press back button it should take me back to the app drawer interface but instead it takes me to the home screen And what about the task manager?? there was already a task manager in my previous Stock ROM (2.3.6) but this ROM does not have any.
It it important to factory reset the phone after installation??
Thanks for ur reply
abdullahaftab said:
How to open Holo launcher settings??? :-/
And there was another problem when I open any application such as calculator and then press back button it should take me back to the app drawer interface but instead it takes me to the home screen And what about the task manager?? there was already a task manager in my previous Stock ROM (2.3.6) but this ROM does not have any.
It it important to factory reset the phone after installation??
Thanks for ur reply
Click to expand...
Click to collapse
You can open Holo settings by pressing menu button on home screen and select Launcher settings. I don't use apocalypse rom, but i use holo launcher too, and i don't think it should take you to home screen when pressing back button, someone else might know why it happens so and custom roms doesn't include task managers but you can go to phone settings > Apps > running services and there you could see what apps are running and background apps, ram but you could also install task manager apps like advanced task killer from google play if you want. It's always good to do a factory reset after roms installation.
tico96 said:
You can open Holo settings by pressing menu button on home screen and select Launcher settings. I don't use apocalypse rom, but i use holo launcher too, and i don't think it should take you to home screen when pressing back button, someone else might know why it happens so and custom roms doesn't include task managers but you can go to phone settings > Apps > running services and there you could see what apps are running and background apps, ram but you could also install task manager apps like advanced task killer from google play if you want. It's always good to do a factory reset after roms installation.
Click to expand...
Click to collapse
I just checked and there are no launcher settings in menu. I think this ROM does not have Holo launcher as I can see launcher pro installed in this ROM and I cant figure out its settings... Do u know where its settings are??
Actually after my first installation of ROM after applying patches I did a factory reset but on its rebot it was showing cyanogen mod animation again and again and not going ahead. So i installed the ROM again and didn't risked doing factory reset again..... What could be the reason??
abdullahaftab said:
I just checked and there are no launcher settings in menu. I think this ROM does not have Holo launcher as I can see launcher pro installed in this ROM and I cant figure out its settings... Do u know where its settings are??
Actually after my first installation of ROM after applying patches I did a factory reset but on its rebot it was showing cyanogen mod animation again and again and not going ahead. So i installed the ROM again and didn't risked doing factory reset again..... What could be the reason??
Click to expand...
Click to collapse
Oh sorry i thought you were using holo launcher because ace apocalypse rom are using it if it is launcher pro then you can't switch to horizontal unless you install another launcher that has horizontal drawer :/ what do you mean with cyanogenmod, do you want to install another rom to cm7 or are you still on apocalypse but trying to apply patches? do factory reset before and after flashing roms. And when you want to apply patches, open cwm recovery > mount & storage > mount /System then flash patches, be sure to apply right patches.
I was saying after installing ROM and all other patches I factory reset my phone but on the restart my phone was stuck on boot loop. Why is that so??
What the clockworkmod recovery version does you have on your phone? do you have any M, L or V as your phone model example GT-S5660M or GT-S5660L?

Motorola Bravo MIUI-V5 Release Transplant

All Thanks Credit To him
look532526
MB520-MIUI-V5 transplant was successful!
Excerpts update fixes:
1 full round
2 stores display
Sync updated to May 10 of micode code
Underlined desktop sticky notes icon to quickly create notes function
New fast pass
Join crack theme manager, role, you know
Join the Lunar lock screen, weather display
Set the alarm, displays the time remaining from the current
Bottom package update to 5.7, so the stability will be better.
Speaking Radio
Total repair store display
Fix runtime memory 512
Fix the problem about dislocation at the interface
Using 4.2 camera, remove the 4.2 camera Gallery
Add more dynamic icon
4-29 update:
Follow the official version features
Added mi bond;
New multi-touch;
Camera Gallery problem: Delete gallay2.apk, replaced camera.apk;
Make up the volume wake switch;
FM Chinese;
Fix clipboard issue;
Other:
Ota can, but it will not cause the phenomenon mount the SD card; ask everyone to join solved: link. Based on this consideration, ota package temporarily not upload, please download the complete package.
Add Dolby sound, because the hardware does not fit, do not take effect;
clean background flash back home key, the current is due to the problems cm bottom bag, miui development team has been aware of this situation; temporary solution: a desktop menu key on the keyboard to read: No
Description: a system for co-development group MIUI Yoshiko DEFY adapted version of the blueprint transplantation, driving most of the changes,
WIFI driver update
2. system update to MIUI official 0419 version
3. system part of optimization a system based on a small amount of personal preferences streamlining
Installation Method
Brush a custom kernel ROM, BOOT menu has been upgraded to 2.0 (including CM10, CM10.1, MIUIV5, interoperability between these three brushes do not format the partition), but if you want to brush back to the 2.3 series
must follow these steps:
In phone operator
instantly turn bright blue lights press the volume down key to enter the Recovery Menu:
use the volume button to select the power button to confirm ------ select Tools
Tools "File System tools" This will wipe your data after
Tools "File System tools" Foemat Data and Cache toext3
"click on this (ie red) will not respond for a while, please be patient ....." After
select: Recovery;
Select: Custom Recovery;
Select: Install zip from sdcard; (custom selection Brush Pack)
Choose: Choose zip from sdcard
to enter the next screen select "Yes" at the beginning of the option.
Screen appears Install from sdcard complete finish.
Go Back Back Recovery root menu, select rebootsystem now, press the power button to confirm, the phone will restart.
MIUI-MB520-V5 Download: 5-10:
http://pan.baidu.com/share/link?shareid=494729&uk=2366296236
https://disk.yandex.com/public/?hash=Pv1yQqKQ0lN9dNIUdNR2YiHT+ECCbVUgTywtt8YJiJA=
Please press thanks Button
is it stable?,last time i downloaded the rom from chinese forum and it was so slow and laggy.
Omg ...thanks flash now..
Sent from my
hiandro said:
is it stable?,last time i downloaded the rom from chinese forum and it was so slow and laggy.
Click to expand...
Click to collapse
Well, generaly it's stable enough for everyday use, but there are some lags.
F.E. - launcher theme reset (affected after system restart)
Haven't tried to disable all kind of animations, but I think it might solve the problem.
Also its' performance is lower than CM10 builds.
Personally I don't like MIUI, so I switched back to Quarx builds.
Works fine except for Cellular Signal, i can't get phone signal, network manual search doesn't work. is any way to solve this? like a baseband patch

[Q] Problem with Viper 2.3.0

I'm full wipe and flash full rom Viper 2.3.0. I have three problem:
1. When i change flash duration 5 minutes - 1 minutes in Venom tweaks - mics and full reboot. My phone is reboot and suspend, i'm press power + volume up it reboot normal.
2. When i choose motion down screen off in Venom tweaks - Lockscreen - motion lauch gestures. It's not working.
3. When i choose hide app labels on the homescreen, it work but labels under folder on app drawer is hide. Turn off hide app labels on the homescreen labels under folder is normal.
Kent21 said:
I'm full wipe and flash full rom Viper 2.3.0. I have three problem:
1. When i change flash duration 5 minutes - 1 minutes in Venom tweaks - mics and full reboot. My phone is reboot and suspend, i'm press power + volume up it reboot normal.
2. When i choose motion down screen off in Venom tweaks - Lockscreen - motion lauch gestures. It's not working.
3. When i choose hide app labels on the homescreen, it work but labels under folder on app drawer is hide. Turn off hide app labels on the homescreen labels under folder is normal.
Click to expand...
Click to collapse
your chances of getting these questions answered is much better if you post them in the Viper thread..

Categories

Resources