unable to disable adb - Defy Q&A, Help & Troubleshooting

Hi,
i am unable to disable adb via [system settings --> Developer options --> Android Debug] or [USB connection --> Charge Only]
it was build by the tutorial http://forum.xda-developers.com/showthread.php?t=1593117&page=41
I already changed in /system/build.prop
persist.service.adb.enable=0
after killing adb it respawn's
how do I disable it, do you need any logfile or so?

It the same. I kill it from build.prop and it comes back from the ashes.

This is a known bug on quarx builds.. no need to worry about it.. it will not interfere with memory card access

Related

Dev tools setting causing reboot loop :(

Just installed Elelinux-7.1.0-Hero-v2.1, poked around in Dev Tools, and apparently turned on some debugging feature I should not have. Now my phone goes into a reboot loop. It isn't a full reboot... only the Android boot animation is shown, not the initial HTC splash screen. It makes it up to the lockscreen and the phone is responsive for about 10 seconds before it freezes up and reboots.
This isn't enough time for me to unlock the screen, open the app drawer, run Dev Tools, and change back the setting before the phone reboots. Is there another way of manually clearing the Dev Tools settings without having to do a factory wipe?
Since I can't get into Dev Tools now, I cannot say which options were enabled. I turned on one that shows the touch coordinates, and I think another that shows the running processes (trying to track down battery drain issues). There may have been a couple of others, but due to the delay in the reboot, it's hard to tell exactly which one is the culprit.
So I'm hoping there is some way to bring up the phone in single-user mode, edit or delete a settings file, and then rebooting the phone. I'm using the AmonRA recovery console, if that helps.
I'd just reflash...
Yeah, there isn't much on the phone yet, so I could do a wipe and not lose anything, but I'd rather see if there is a way to recover in case something like this happens again in the future.
I did find an issue tracker page on Google that describes the problem, and a couple of proposed fixes. I'm not allowed to post links yet, so demangle this to bring up the page. I'm going to try editing the settings.db file and hopefully that will fix things:
ht tp://code.google.com/p/cyanogenmod/issues/detail?id=1026
Hooray, editing the settings.db file worked! I followed the suggest posted by cryptographrix in post #14 of the code.google.com thread:
Code:
$ [B]./adb shell[/B]
/ # [B]mount /data[/B]
/ # [B]mount /system[/B]
/ # [B]/system/xbin/sqlite3 ./data/data/com.android.providers.settings/databases/settings.db[/B]
SQLite version 3.7.2
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> [B].header ON[/B]
sqlite> [B]select * from system where name="show_processes";[/B]
_id|name|value
109|show_processes|1
sqlite> [B]update system set value=0 where name="show_processes";[/B]
sqlite> [B]select * from system where name="show_processes";[/B]
_id|name|value
109|show_processes|0
sqlite> [B].quit[/B]
/ # [B]reboot[/B]

[Q] Slider Disabled, Not recognizing gesture.... now what?

I am running CM
So I disabled the slider unlock, but it stopped recognizing my gesture for some reason and I cannot figure out how to login to my phone. Running stable build of CM7.1, not sure if I can change that setting somehow from ADP or do something from a terminal... Any ideas?
When I say gesture, I am not referring to the password based on the motion with the dots, I am saying the screen where the unlock / silent toggle was has been disabled and I cannot get passed there.
Your help is appreciated
Did u try unlock with menu button?
I remember that from cm7
Sent from my MB525 running 4.5.1-134 DFP 231 DEFY+ ROM...
using XDA App
No menu button doesn't do anything....
Do you know WHERE this "Slider Disabled" setting is stored? I could go in thru ADB and change it but I don't know where to look.
Here are the things I have tried already
----
Attempt 1:
$ ./adb -d shell
# cd data/data
# sqlite3 ./com.android.providers.settings/databases/settings.db
sqlite> update system set value=1 where name='lockscreen_disabled';
sqlite> .exit
# reboot
Attempt 2:
adb shell
input keyevent 82
---
Neither of these worked. I think the solution should be in the updating the settings.db, but maybe its a different row/record that contains "ENABLE slider"?
Help would be appreciated!
could deleting the the offending theme restore to normal?? Just thinking out loud here ^^
don't know much about adb
Okay. No help here, but I found a fix and I thought i would share it since I have seen that apparently other people have had this problem with no help as well other than "Wipe and reinstall rom"
This app fixed it!
https://market.android.com/details?id=se.curity.android.screenlockbypass
Just make sure you follow the instructions, you have to install the app, than install any other random app and BAM- unlocked phone! Sweet

[Q] Huge Battery Drain

Hi,
since a week or so my u8800 suffers from a huge battery drain.
Today i just got 10hours out of it and almost did nothing. (4min. phone call/ 10messages/ max. 10min surfing)
The last 10% of battery was gone in 30 seconds.
It all started last week when my phone was on stock 2.2. Then i updated to the latest stock 2.3.5, but still the same problem.
Model number : u8800
Android version : 2.3.5
base band version : 404020
Kernel version : 2.6.35.7-perf [email protected]#1
Build number : U8800V100R001C00B528G001
I also wanted to calibrate the battery, but i can't root the phone. Tried every program out there
Anyone got the same problem or has a solution ?
Hello Kawadude,
I use superoneklick and it works fine to root the device. Hier ist the how to, what you must do before use superonklick:
- Dial * # * # 2846579 # * # *
- Go to projectmenu, background settings, log settings, log switch and set Log on
- Reboot phone
- Set USB debugging on
- Run superonklick http://depositfiles.com/files/n0dcxce3t or http://shortfuse.org/
Hope it helps
Already tried that without a result.
I also tried DooMLoRD v4, Unlock Root and One-click Root.
Since i installed the official 2.3.5 i can't root my device annymore. On stock 2.2 this wasn't a problem.
Hello, do you keep wi fi enabled at all times? i noticed my battery drains increased greatly when i leave my wifi on 24/7
No, wifi is only enabled when I'm at home.
A couple of weeks ago the battery life was just fine. (With the same usage)
Kawadude said:
No, wifi is only enabled when I'm at home.
A couple of weeks ago the battery life was just fine. (With the same usage)
Click to expand...
Click to collapse
Close any application in your pc that might try to connect with an android device (like huawei's or Asus PC Sync, etc). Those applications use the adb driver and block superoneclick. Check if windows recognize your device and install it properly. Hum... That's all I can think of... ;-)
Igory0k said:
1.Settings-> Applications -> Developer Tools-on
2.Unknown sources -> Settings-> Applications -> Unknown sources-on.
3.Fast boot -> Settings-> Applications-off
4.Dial: *#*#2846579#*#*
5. Go to projectmenu > background settings > log settings > log switch > set Log on
6.log setting-dump & log-on
7.Reboot Phone
Download B528_ROOT
8. Run B528_root.bat
9. Your phone should now be Rooted.
10. You can now go back *#*#2846579#*#* and turn logging off if you want.
Click to expand...
Click to collapse
Try this. I did hear that this last release from huawei (B528) couldn't be/was really hard to get rooted. I haven't tried this, just found it. Credit to @Igory0k.
MtG92 said:
Try this. I did hear that this last release from huawei (B528) couldn't be/was really hard to get rooted. I haven't tried this, just found it. Credit to @Igory0k.
Click to expand...
Click to collapse
Didn't work for me.
The phone rebooted and freezed at the huawei logo.
The only thing i didn't find is step 6: "6.log setting-dump & log-on"
Kawadude said:
Didn't work for me.
The phone rebooted and freezed at the huawei logo.
The only thing i didn't find is step 6: "6.log setting-dump & log-on"
Click to expand...
Click to collapse
You have to do it, rooting apps need that option
And launcher apps etc. don't install them, your battery won't drain Uninstall unnecessary apps too
Moved To Q&A​
Please post all questions in the Q&A section​

[Q] Rooting Official 2.3

I have this V100R001C00B528G001-version which is the newest and came out 2.3.2012. It works very nice, but cant root with superoneclick2.3.3(stuck in step#7, cant mount and stuff) or GingerBreak. Has anyone got rooted, help me how? thanks
You need to modify the boot.img firstly (modify the default.proc, change "ro.secure=1" to "ro.secure=0") and use fastboot tool to flash it to phone.
Igory0k said:
1.Settings-> Applications -> Developer Tools-on
2.Unknown sources -> Settings-> Applications -> Unknown sources-on.
3.Fast boot -> Settings-> Applications-off
4.Dial: *#*#2846579#*#*
5. Go to projectmenu > background settings > log settings > log switch > set Log on
6.log setting-dump & log-on
7.Reboot Phone
Download B528_ROOT
8. Run B528_root.bat
9. Your phone should now be Rooted.
10. You can now go back *#*#2846579#*#* and turn logging off if you want.
Click to expand...
Click to collapse
Try this. I haven't tried it, just found it. Credit to @Igory0k.
It works
Sent from my u8800 using Tapatalk
iglo mobile with android 2.3.4
how i root this phone?
Read the post 2 posts above yours?

[HowTo] Disable heads up notification on Nougat (NO ROOT required)

After many sleepless nights, I found solution.
As we don't have in our stock ROMs System UI tuner, we can do this even without root.
First, you'll need ADB, USB debugging ON and Samsung Drivers.
ADB:
- https://dl.google.com/android/repository/platform-tools-latest-windows.zip
- https://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Turn on usb debugging from developer menu (tap build number 7 times to show developer settings menu)
Samsung Drivers
- http://www.devfiles.co/download/AbRa7wHc/SAMSUNG_USB_Driver_for_Mobile_Phones.exe
Connect your device via USB.
Open terminal (command prompt) inside ADB folder (hold shift and mouse right click on blank space)
write :
Code:
adb devices
You should see your phone listed as numbers. After that write:
Code:
adb shell settings put global heads_up_notifications_enabled 0
Restart your phone. Now your heads up notification nightmare has gone.
I FOUND A SOLUTION WITHOUT HAVING TO INSTALL ANY EXTRA APPS!
So we have all been getting the annoying heads up notifications that we don't want appearing on our phone when it's unlocked right?! Well I found a solution after playing round with my phone. First I changed the notification settings in my apps for example WhatsApp, Facebook messenger etc by going to settings > notifications > select each app you want to stop heads up from > allow notifications > show silently. Toggle this to on.
Now wait I've not finished, the go back into settings > accessibility > notification reminder and turn this on. Then turn sound on and vibrate on and select the apps you wish to receive notifications from. Then there you have it , this stops the heads up but then reminds you 1 minute later that you have a notification! I'm sure a 1 minute wait won't hurt to stop those heads up!
Yesterday I was searching a solution for my Note 5 and I didn't notice that it was the S7 edge forum.
I follow the tutorial step by step and it works very well too on my Note 5 SM-N920C NRD90M.N920CXXS4CRD1 (April 2018 release).
However, I do not know how to use this: https://dl.google.com/android/repository/platform-tools-latest-windows.zip , what is it?
In my case I use the other link for ADB installation.
P.D.: may someone put this tutorial in Note 5 forum too? I think it will be useful.
Great, except your phone then beebs ever minute until you review the notification - which can be incredibly annoying.
Thank you for this!

Categories

Resources