SU Request - Hero, G2 Touch Android Development

I rooted my hero and when goind adb shell and su i got a SU Request, I hit always allow and it worked.
But now useing wifi tether or quickboot the SU Request does popup but is empty.
There are no buttons to select.
Any hint why?
BR
phlo

enabling settings------applications------development, and turned debugging on
fixed it !!

hi folks, i've also just rooted my hero and when i start setCPU i got "SU request" above, but the rest of the screen is black and i've never had chance to choose allow! after a couple of minutes i receive the message saying "Superuser Permission not responding"!
any ideas?
thx in advance.

opticalfiber said:
hi folks, i've also just rooted my hero and when i start setCPU i got "SU request" above, but the rest of the screen is black and i've never had chance to choose allow! after a couple of minutes i receive the message saying "Superuser Permission not responding"!
any ideas?
thx in advance.
Click to expand...
Click to collapse
Had the same as you describe. After restarting the whole procedure for rooting again it worked for me. The only difference that i did the second time was typing the instructions in the cmd-box instead copy and paste..
I followed these instructions:
http://forum.xda-developers.com/showpost.php?p=4257045&postcount=38

thank you this helped me with my droid when i had issues with the su request

Related

[Q] how to turn off vibration of menu/back/home/search buttons ?

Hi,
I don't know if this is possible because I have not found any setting to deactivate this. At least for me is a lil annoying... does anyone know how to do it?
Thanks!
siukeee said:
Hi,
I don't know if this is possible because I have not found any setting to deactivate this. At least for me is a lil annoying... does anyone know how to do it?
Thanks!
Click to expand...
Click to collapse
At the moment you cannot turn off Haptic Feeback for the keys at the bottom of the phone. Motorola says it's a bug. Maybe it'll get unbugged soon.
chmod 0444 /sys/class/timed_output/vibrator/enable
would totally disable the vibrator.
jakiej said:
chmod 0444 /sys/class/timed_output/vibrator/enable
would totally disable the vibrator.
Click to expand...
Click to collapse
What does that mean?
I think if you don't know what it me, you shouldn't try it ^^.
jakiej said:
chmod 0444 /sys/class/timed_output/vibrator/enable
would totally disable the vibrator.
Click to expand...
Click to collapse
It works, thank you, maybe someone can do an app to make this automaticaly.
autostart
fgendorf said:
It works, thank you, maybe someone can do an app to make this automaticaly.
Click to expand...
Click to collapse
one option is to use this with the autostart app.
jakiej said:
one option is to use this with the autostart app.
Click to expand...
Click to collapse
Can someone give more details how can i do that? As i can understand this is a command how can i execute it and how can i put it in startup.
*delete post*
Sent from my Defy
"How to"
In order to turn off keys vibration, you need to
- Have root on your defy (you can use z4root application, use google, download apk, install it)
- Have explorer that is able to view/edit system files (f.e. Super Manager from Android Market, remeber set "use Root" in this app settings)
- Go to the folder /sys/class/timed_output/vibrator/ with f.e. Super Manager
- Create file called "enable", and then change this file atributes (chmod 444 - read, read read) for this file with super managers, and thats all.
Regards.
headblow - your instructions work brilliantly until the phone's rebooted, and then the vibrations come back. Any way to make that stick so it's not reset every time?
Can u plz make an update zip file.
headblow said:
"How to"
In order to turn off keys vibration, you need to
- Have root on your defy (you can use z4root application, use google, download apk, install it)
- Have explorer that is able to view/edit system files (f.e. Super Manager from Android Market, remeber set "use Root" in this app settings)
- Go to the folder /sys/class/timed_output/vibrator/ with f.e. Super Manager
- Create file called "enable", and then change this file atributes (chmod 444 - read, read read) for this file with super managers, and thats all.
Regards.
Click to expand...
Click to collapse
Sent from my MB525 using XDA App
Found a couple of interesting things on another forum:
There's an app someone has cooked up that will make the permission changes to the file for you, so you don't have to hunt around in Super Manager or similar file explorer.
There's no way to make the change permanent, because you're not dealing with a physical file on disk. There's an app called Autostart than runs a script as root on startup though, so adding something like:
chmod 444 /sys/class/timed_output/vibrator/enable
into that script should always turn off vibration on startup. Haven't tried it yet, wife's phone is with her at work.
Worket for me
but how ever here is just temp when i get reboot the vibrate back , but i have a bug the call is to disable vibrations and for the call vibration is neccessary , i wish disable only for the butons
I''m disabling vibrations globally with application Streak Vibrations. Vibrating during unlocking device and button feedback drives me mad.
seukumeama said:
but how ever here is just temp when i get reboot the vibrate back , but i have a bug the call is to disable vibrations and for the call vibration is neccessary , i wish disable only for the butons
Click to expand...
Click to collapse
Hi,
I have a defy (stock 2.1) since some months now ... and I have got the same annoying issue...
Because I found nothing to answer this problem, I coded an app for myself some days ago ... but if it can help someone else ...
However, you must to be root for a full using of it.
This app stops the vibrate totaly (with a 0444 on /sys/class/timed_output/vibrator/enable) but switch it to enable (with a 777) when a call.
The app can be started at boot.
Fits perfectly for my usage ... but I'm aware if you have suggestions to improve it. Sources are shared on a SVN if someone wants them.
(I can post the url later when I have enough rights to post a link on this forum).
(sorry for my english and for the crap icon for the app : I'm not a designer )
EDIT : link for downloading is removed because a topic about VibraFix is created here.
is the problem still present on android 2.2 ?
yes on my defy with official update (Android2.2.2 / 34.164.3.MB525.Retail.en.FR).
I still using my app ^^
Cynyx said:
Hi,
I have a defy (stock 2.1) since some months now ... and I have got the same annoying issue...
Because I found nothing to answer this problem, I coded an app for myself some days ago ... but if it can help someone else ...
However, you must to be root for a full using of it.
This app stops the vibrate totaly (with a 0444 on /sys/class/timed_output/vibrator/enable) but switch it to enable (with a 777) when a call.
The app can be started at boot.
Fits perfectly for my usage ... but I'm aware if you have suggestions to improve it. Sources are shared on a SVN if someone wants them.
(I can post the url later when I have enough rights to post a link on this forum).
(sorry for my english and for the crap icon for the app : I'm not a designer )
Click to expand...
Click to collapse
Freakin' awesome! I've been trying to get the haptic to stop. This worked perfectly. Maybe you should post it in the apps thread, and/or Market? Or is it there? Either way thanks so much!
bobbyphoenix said:
Freakin' awesome! I've been trying to get the haptic to stop. This worked perfectly.
Click to expand...
Click to collapse
Nice this app can help you.. Thanks for your feedback.
bobbyphoenix said:
Maybe you should post it in the apps thread,
Click to expand...
Click to collapse
It's more a fix than a real app ... and why duplicate threads ? The fix answers the question imho.
bobbyphoenix said:
and/or Market?
Click to expand...
Click to collapse
Nope. I think I will not pay for publishing a fix for the Defy ...
The only thing I will do one day : change the icon because I don't like it and enable vibrate for SMS/MMS.

[Q] super user problem

Dears;
I rooted my phone, and as a first thing I installed Titanium back up that have been granted of root access.
I set under the application menu "allow unknow sources", and I also activated the dubug mode under the "development" tab.
Now i cannot access superuser app anymore as everytime i try "superuser stops unexpectedly"..
I then went on menu-application-manage-and on superuser I cleaned the data.
Once done that I can access superuser menu again (that of course is empty as I cleaned teh data), but as I start titanium (and it gets root access) I cannot access anymore the superuser app!
How can I fix this?
Any idea?
SOLVED
guys..
I figured it out..in the case anybody would have the same issue the solution is easy..go in superuser and under settings update the "SU Binary"..once updated the problem will not pop up again.
in the case you cannot open superuser as keep getting " unexpectedly stopped" go into Application in your phone menu, choose "superuser" and select " clear data"..once cleared you can access superuser again and do what above described..
Cheers
Update didn't work for me, what i did is update superuser from market then update su.

How to disable carrier-check for native WiFi Tether (no root)

*EDIT* This appears to only be working for people with NON-unlimited data plans. I apologize for the inconvenience...
Saw this over in the AT&T subforum, originally posted by @ExTREmE99 , just reposting here.
This will disable the carrier check on your Verizon G4 and allow you to use the native WiFi tether - no root needed!
1. Enable developer mode (Go to Settings -> About phone, and click on the build number until the developer mode is enabled).
2. Enable USB debugging under Settings -> Developer options
3. Connect the device with a USB cable to a computer with the Android SDK platform tools installed
4. Start an adb shell: adb shell
5. In the adb shell, run these commands one by one:
settings put global tether_dun_required 0
settings put system tether_entitlement_check_state 0
reboot
When your phone comes back up you will have a fully functional native WiFi tether
i must be doing something wrong because i still get the "you need a subscription" popup
Worked for me, thanks! Needed this a few days ago and couldn't use it n was like "F***, wish I had root" hahaha. Oh and also shouldn't this be posted in General?
jrc27 said:
i must be doing something wrong because i still get the "you need a subscription" popup
Click to expand...
Click to collapse
Same here, did I do this right?
Code:
$ adb shell
[email protected]:/ $ settings put global tether_dun_required 0
[email protected]:/ $ settings put system tether_entitlement_check_state 0
[email protected]:/ $ reboot
Congobongo said:
Same here, did I do this right?
Code:
$ adb shell
[email protected]:/ $ settings put global tether_dun_required 0
[email protected]:/ $ settings put system tether_entitlement_check_state 0
[email protected]:/ $ reboot
Click to expand...
Click to collapse
when do you see the subscription message?
try typing:
adb devices
you should see a string of characters listing your device. if it shows no device, then you need to double check that you have your device drivers installed
Tomyk89 said:
when do you see the subscription message?
try typing:
adb devices
you should see a string of characters listing your device. if it shows no device, then you need to double check that you have your device drivers installed
Click to expand...
Click to collapse
I see it after i reboot and try using the hotspot app
jrc27 said:
I see it after i reboot and try using the hotspot app
Click to expand...
Click to collapse
don't use the hotspot app - in fact, disable that one.
You want to use the built in functionality to tether (not technically an app)
Go to settings, More (under wireless networks), then "Mobile Hotspot". You can setup your SSID and password in there. Also, you can create a shortcut in your notification bar by scrolling over to the right side, clicking edit, then checking the box next to "Mobile Hotspot"
Hope that helps.
Tomyk89 said:
don't use the hotspot app - in fact, disable that one.
You want to use the built in functionality to tether (not technically an app)
Go to settings, More (under wireless networks), then "Mobile Hotspot". You can setup your SSID and password in there. Also, you can create a shortcut in your notification bar by scrolling over to the right side, clicking edit, then checking the box next to "Mobile Hotspot"
Hope that helps.
Click to expand...
Click to collapse
I can't even find the damn app to disable it.
I tried as you suggested, going in through the settings and i still get the verizon C*ckblock...
jrc27 said:
I can't even find the damn app to disable it.
I tried as you suggested, going in through the settings and i still get the verizon C*ckblock...
Click to expand...
Click to collapse
Could you try disabling the verizon hotspot app? Mine was disabled way before I discovered this so I may need to add this step to the instructions. you may want to go through the steps one more time after that to ensure everything is set correctly. Don't forget to restart either. It works great on mine so it should for yours as well - unless you took the update a week ago?
Let me know - Thanks!
Tomyk89 said:
Could you try disabling the verizon hotspot app? Mine was disabled way before I discovered this so I may need to add this step to the instructions. you may want to go through the steps one more time after that to ensure everything is set correctly. Don't forget to restart either. It works great on mine so it should for yours as well - unless you took the update a week ago?
Let me know - Thanks!
Click to expand...
Click to collapse
I've been very careful not to take the update. Is the hot spot app have a weird name or something? I can't seem to find it in the app manager or using rom toolbox
jrc27 said:
I've been very careful not to take the update. Is the hot spot app have a weird name or something? I can't seem to find it in the app manager or using rom toolbox
Click to expand...
Click to collapse
hmmm i think I'm confused. My Hotspot app is apparently still in my app drawer. When i click on it it just takes me to the native hotspot functionality.
Honestly I'd attempt to run those commands again. It would help if you took a screen shot of the command prompt window after running all of the commands. After each command it should pause for a second or two then jump to the next line with no errors or responses.
Is your USB debugging on? Also, are you in MTP or PTP USB mode when plugged into your PC?
jrc27 said:
i must be doing something wrong because i still get the "you need a subscription" popup
Click to expand...
Click to collapse
Should it be? I assumed stuff like this went under the Help section since it was helping people. Maybe I'm wrong. If a MOD would like to correct me and maybe move the thread, feel free.
Tomyk89 said:
hmmm i think I'm confused. My Hotspot app is apparently still in my app drawer. When i click on it it just takes me to the native hotspot functionality.
Honestly I'd attempt to run those commands again. It would help if you took a screen shot of the command prompt window after running all of the commands. After each command it should pause for a second or two then jump to the next line with no errors or responses.
Is your USB debugging on? Also, are you in MTP or PTP USB mode when plugged into your PC?
Click to expand...
Click to collapse
Heading to bed...I'll give it another go in the morning
Thanks again for the help, i appreciate it!
jrc27 said:
Heading to bed...I'll give it another go in the morning
Thanks again for the help, i appreciate it!
Click to expand...
Click to collapse
no problem dude. try some of my suggestions tomorrow and get back to me. feel free to PM and we can post the final solution up here as to not fill the the thread up with troubleshooting.
No Go...
Tried multiple times and could not get it to work. adb looked successful but after reboot I still get a subscription check.
joebrady119 said:
Tried multiple times and could not get it to work. adb looked successful but after reboot I still get a subscription check.
Click to expand...
Click to collapse
have you taken the latest OTA update?
Tomyk89 said:
have you taken the latest OTA update?
Click to expand...
Click to collapse
Have not taken any OTA.
This unfortunately doesn't seem to work for me either
I had to put my device in PTP mode in order for ADB to show the device, after the device was confirmed with adb devices, I issued the commands this is the output
Code:
C:\Users\NOTIMPORTANT\AppData\Local\Android\sdk>adb devices
List of devices attached
VS986931(changed the last four for security) device
C:\Users\NOTIMPORTANT\AppData\Local\Android\sdk>adb shell
[email protected]:/ $ settings put global tether_dun_required 0
settings put global tether_dun_required 0
[email protected]:/ $ settings put system tether_entitlement_check_state 0
settings put system tether_entitlement_check_state 0
[email protected]:/ $
When I attempt to enable hotspot I am greeted with the "Use of this service requires a subscription..."
FoxFi seems to work, I just HATE having to change my lock screen in order to use the damn thing!
I'm willing to run further tests and commands if you would like, please just let me know.
I have NOT taken any over the air update. I used the Debloater tool and blocked/hid the app.
Tomyk89 said:
when do you see the subscription message?
try typing:
adb devices
you should see a string of characters listing your device. if it shows no device, then you need to double check that you have your device drivers installed
Click to expand...
Click to collapse
Here's a screenshot of my terminal window:
I'm using the native tethering just like everybody else (Settings, More, flick the tethering switch to On and receive the service check). Haven't taken the OTA and have the service disabled via debloater tool. I appreciate the help!
At this point I'm not sure why some are reporting that this works while others aren't. I added a message on the original post warning that this isn't a for sure thing. I'll be sure to update if/when I find a fix or what is going wrong, but for now I think I have enough info to look into this. thanks for your help everyone and I hope that I can find a fix for this. Worst case - we have to wait until we have root to enable this.
-tom

Ok google command many times fails help

hello. please i ask help because perhaps i have to give some permission ti s9 pie updated. i have only swipe lock screen and first time the ok google command works well. the second time and the others, it listren command but after 2 seconda make another sound without execute. what can do? have i to look any permission or what setting? i hope an answer
thanks

Realme X2 & Tasker

Hi All,
Anybody using Tasker on Redmi X2 - Recently migrated from MIUI and facing lot of iffuce in the is color OS 6..1- Want to check for similar mind people
bino_mat said:
Hi All,
Anybody using Tasker on Redmi X2 - Recently migrated from MIUI and facing lot of iffuce in the is color OS 6..1- Want to check for similar mind people
Click to expand...
Click to collapse
Tasker is running fine on my X2 EU version. No problems up to now
Note4Addict said:
Tasker is running fine on my X2 EU version. No problems up to now
Click to expand...
Click to collapse
That is is interesting !! - 2 problems I encountered are
1.Tasker toasts are working only with in Tasker context - I mean if open the tasker and a do a flash message ,it flashes the message- But when on a normal working (Tasker is in background) - no toast message appears.
2.Even if I enable all of the permission,when Tasker tries to switch on the WIfi with in Tasker context as window popes out asking Tasker want to switch on Wifi - Allow or Prohibit -
If Tasker is in background,this window can't appear and nothing happens.
Finally ,I went to Developer options,Disabled the permission monitoring(last option) s- that this started working
Can you please confirm on these 2 points?
Confirm that! I had exactly the same problem with wifi on/wifi off and had to disable permission monitoring to get it working. It was the same for the initial adb permission command you need to get Tasker up and running. Unfortunately, at the moment I haven't got the chance to look into it but from version 5.9.2 Tasker has the new adb wifi commands which give it almost root like power. Perhaps one of these would be able to overcome the permission monitoring problem so that we can keep it active. Try it if you can, I would be very interested to hear if you managed to get that working.
Note4Addict said:
Confirm that! I had exactly the same problem with wifi on/wifi off and had to disable permission monitoring to get it working. It was the same for the initial adb permission command you need to get Tasker up and running. Unfortunately, at the moment I haven't got the chance to look into it but from version 5.9.2 Tasker has the new adb wifi commands which give it almost root like power. Perhaps one of these would be able to overcome the permission monitoring problem so that we can keep it active. Try it if you can, I would be very interested to hear if you managed to get that working.
Click to expand...
Click to collapse
Sorry I didn't get some part of your message _"It was the same for the initial adb permission command you need to get Tasker up and running" - Can you pl elaborate?
" Try it if you can..." - it means the ADB wifi commands ?I couldn't locate any permission disabling commands with adb wifi.
One good news is that I tried out Tasker in Android 10- COlor OS 7 and I see that Toast functionality is working in that
bino_mat said:
Sorry I didn't get some part of your message _"It was the same for the initial adb permission command you need to get Tasker up and running" - Can you pl elaborate?
" Try it if you can..." - it means the ADB wifi commands ?I couldn't locate any permission disabling commands with adb wifi.
One good news is that I tried out Tasker in Android 10- COlor OS 7 and I see that Toast functionality is working in that
Click to expand...
Click to collapse
Good news that Tasker works well in Color OS 7 which will get around March it seems. Regarding the initial ADB permission, I meant the message you get when you first install Tasker on a non-rooted device. In that case you need to execute a specific permission command via ADB to get Tasker up and running correctly.
What I meant with "Try if you can..." is that If you have the opportunity you may want to check if perhaps one of the new ADB wifi commands would be capable of setting wifi on and off despite permission monitor being active instead of disabled as we're doing now. Hope that will work so we can keep permission monitor active.
Guess ,it is more of Color OS issue , with the battery saved enabled,Tasker is missing the Alarm - I did a simple experiment of logging of BAttery level to a file in every 10 minutes.
If I look at the file now ,either the logging is not continuous or stopped after sleeping for one or hour or so !!! -- But this is not the case with MIUI - It's sharp on time with battery saver or not.
More importantly one thing I noticed is that when battery saver is on ,you can't lock the application in memory - Flip side , with battery saver on ,if I invoke recents and clear the memory ,evrything will be wiped and even when battery saver is off,the applications which you want to be in memory in normal condition will not be there!!!
Bluetooth problems with Android 10:
With my Realme X2 and Realme Ui 1.0 (Android 10) i can not start Bluetooth because my smartphone always asks with an popup for an permission ("Tasker needs the following permission: set Bluetooth on/off"). My desktop links give me the error code "action bluetooth failed".
How can i disable this popup asking for an permission? Or can i made tasker to click on yes itself?

Categories

Resources