Archive for the ‘Android’ Category

Wear OS modification for better battery life

Performance Boost

This first modification is actually the easiest and can be done on the watch itself without any extra tools, debuggers, etc.

  1. Enable developer settings on your watch
    1. Open the watch’s Settings.
    2. Tap System > About.
    3. Scroll to Build number and tap the build number seven times.
    4. A dialog will appear confirming that you are now a developer.
  2. Swipe back to the main settings menu and scroll to the bottom and select “Developer Options”
    1. There’s a whole lot of really nice options you can tweak in here. I recommend that you do not…unless you really understand what you are doing
  3. Scroll down to Transition Animation Scale
    1. Change it to Animation Off
    2. Swipe back
  4. Scroll down to Animator Duration Scale
    1. Change it to Animation Off
    2. Swipe back to main watch face

Remove Bloatware

The second modification is going to be a bit more involved, but well worth it.

  • Hardware Requirements: Watch, Paired Android Phone, Computer, USB Cable
  • Software Requirements: Linux OS, Android Debug Bridge (ADB)

Enable Developer Mode & Debugging on Watch/Phone over Bluetooth

Google made it very clear how to do enable debugging and developer options and it would be a waste of my time and yours to copy and paste all of it:

Follow the instructions in the Debug Over Bluetooth section to…

  • Enable developer options on your watch
  • Enable developer options on your phone
  • Enable USB Debugging on the phone
  • Enable ADB/Bluetooth debugging on the watch
  • Enable Bluetooth Debugging on the phone
  • Connect the debugger to the watch
    • Don’t be confused by the step earlier when you started the ADB server. On mine it was running on port 5037. That is fine. Starting the service informs you just what port ADB is running on. Continue with the adb forwarding steps because we are going to use port 4444 as a TCP to Bluetooth port forwarding service to the watch.
    • Go ahead and confirm debugging request on your watch and on your phone
$ adb forward tcp:4444 localabstract:/adb-hub
$ adb connect

Now even though debug over WiFi is an option, I don’t recommend doing it. Chicken and the egg problem. You don’t have full control of the watch yet, so it’s going to manage the radios for battery performance however it so damn well pleases. If you connect over WiFi, it may decide it wants to turn WiFi off and only use BT. That could be really annoying. Lets avoid that and just debug “through” the phone and over the BT radio instead since it will always maintain that interface between the phone and watch. So we are trading off an easier setup for interface reliability.

If you did everything as the steps told you, your Wear OS companion app will now show…

Host: connected
Target: connected

Uninstall Bloatware Without Having Root Privleges

First things first, I’m not a big fan of YOLO. Do recon on your watch first, google the packages to ensure they are truely something you want to get rid of. So lets start by getting a list of those packages, however I want them sorted out by which are enabled (-e flag) and disabled (-d flag) and output them to a file. If you are curious about the different filtering options go here and CTRL-F “list packages”

hax0r@ubuntu:~/Desktop$ adb -s shell pm list packages -e > enabled_packages.txt
hax0r@ubuntu:~/Desktop$ adb -s shell pm list packages -d > disabled_packages.txt

I literally just finished doing this and was coming here to post what I did.

I was pretty underwhelmed with the watch after a day of playing with it and was ready to give up on it. But after these steps the thing that was lagging the most by far (Google Assistant) is now pretty darn snappy.

A few things I’d add though:

– My disabled list was a bit different from the hackaday guy, so I kept a few on just to be on the safe side. Below in quotes is the list of what I disabled and kept with a bonus (command copied in front) so just copy / paste 1 by 1.

adb -s shell

pm uninstall -k –user 0 com.dianping.v1
pm uninstall -k –user 0
pm uninstall -k –user 0 com.sdu.didi.psnger
pm uninstall -k –user 0
pm uninstall -k –user 0 com.mobvoi.ticwear.sidewearvoicesearch
pm uninstall -k –user 0
pm uninstall -k –user 0
pm uninstall -k –user 0 com.fossil.wearables.ds
pm uninstall -k –user 0 com.fossil.wearables.ks
pm uninstall -k –user 0
pm uninstall -k –user 0
pm uninstall -k –user 0 com.fossil.wearables.pu
pm uninstall -k –user 0 com.mobvoi.wear.appsservice
pm uninstall -k –user 0
pm uninstall -k –user 0
pm uninstall -k –user 0
pm uninstall -k –user 0
pm uninstall -k –user 0
pm uninstall -k –user 0 com.gotokeep.androidwear
pm uninstall -k –user 0
pm uninstall -k –user 0
pm uninstall -k –user 0
pm uninstall -k –user 0
pm uninstall -k –user 0
pm uninstall -k –user 0
pm uninstall -k –user 0


C:\adb>adb -s shell pm list packages -d


– After that I also went into Settings > App & Notifications > App Info > System Apps and disabled the following from there also:

com.fossil.charge.darter (Charging screen)
E-Label (App to display regulatory info … l&hl=en_CA)
Keep (Google Keep to takes notes)
MK Access
Mobvoi account
Puma Apps
Sogou Maps
Tic Exercice
Tic Health
And the 5 or 6 apps with Chinese characters

Finally, I deactivated the motion Gestures, oh and also check for updates after you finished restarting from a previous update because for whatever reason it doesn’t just go straight to latest version.


Help: Hacker Guy and NiKTaMeR



Categories: Android Tags: , ,

AdGaurd for blocking ads and tracker!

Hi, I just want to share my own experience of blocking the ads and trackers in PCs and Android devices. In PC normally we do use some kind of antivirus but normally we are not aware of the tracker, many sites always use that information for tracking our web activity and in case of mobile, we really do not think about these things! But I care. Again I do not want to see any kinds of advertisement in my browser or on my mobile apps. That’s why also bought so many apps for my android devices. By the way, I like to do some tricks with my devices. The first thing I do with my phone is how to do root and unlock the bootloader to use TWRP for flashing… Previously I used SuperSU but now using Magisk for Systemless root, which is now compatible with Android Pay.

For blocking ads in my android I used AdAway which is really nice but you need to become root. As for ad blocking it modifies the hosts files in the mobile and blocks the ads. But it cannot block the tracking. Then I was looking for the alternatives which will block the ads as well as can block the tracking. Then I found AdGuard. Did some research before installing and google for reviews… I found it’s good for using. I started with a trial on my mobile. The good thing about this is that you do not have to be root for using this. Without being root you can block ads and track in your device. I am sure if you try you will like it. When I found it is good for android and PC then I decided to purchase. Instead of going for a monthly subscription I found a lifetime license is a good option. I purchased a license for 2 PCs and 2 android devices. Like now you can see 30% off for back to school!

AdAway (root):

AdGuard (universal):

অ্যামাজন অ্যাপ VS গুগল প্লে

আমার অ্যামাজন অ্যাপ স্টোরের $২৫ এর কয়েন আজকে শেষ হয়ে গেল গত বছরের একটা একটা ডিলে পাওয়া যদিও! বেশ কিছু কাজের অ্যাপ আর অনেক গুলা অকাজের অ্যাপ! তবে শেষ ভালো যার সব ভালো তার! আজকের এই অ্যাপটা আমি অ্যামাজন না পেলে অবশ্য গুগল প্লে স্টোর থেকে কিনতাম!

যারা অ্যাপ কিনে ব্যবহার করতে আগ্রহী তাদেরকে আমি গুগল প্লে স্টোর ব্যবহার করার কথা বলব, কেননা বেশির ভাগ অ্যাপ ডেভলাপারই গুগল প্লে স্টোরকে প্রাধান্য দেয় আর আপডেট হয় খুবই রেগুলার! অনেক ক্ষেত্রে অ্যামাজনের অনেক অ্যাপ এর কোন আপডেটই আশে না আর আসলে অনেক অনেক দেরি করে! তাই যদি পয়সা খরচ যদি করতেই হয় তবে গুগল প্লে স্টোরে কিনা ভালো আর যদি ফ্রিতে খাইতে চান তাইলে অ্যামাজন ব্যবহার করতে পারেন কেননা প্রতি দিন একটা পেইড ফ্রী, যদিও ঐ অ্যাপ এর মান/কার্যকারিতা/উপযোগিতা নিয়ে আমার সংশয় আছে! তবে মাঝে মধ্যে ভালো কিছু ডিল পাওয়া যায়!!!

তবে আমরা কজনই বা অ্যাপ কিনে ব্যবহার করি!!!