Pages

Showing posts with label how. Show all posts
Showing posts with label how. Show all posts

Wednesday, April 6, 2016

How to Fix a random reboots on the HTC One M8


Some time ago I described a method to format the /data partition on the HTC One (M7) - How to: Fix a corrupted DATA partition on the HTC One. This method is suitable for more HTC devices (all with EXT4 support) and with the mkfs.ext4 tool you can format system and cache partitions as well. All you need to know is the proper /dev/block/mmcblk0pXY number of the partition you want to format.

However, formatting the partition always means that your data will be gone. On the HTC One M8 I noticed a problem, most likely caused by the wp_mod.ko module (module to disable system R/W protection). When the module is loaded too late and anything ever gets changed before the module is loaded the file-structure of the /data partition might (and probably will) get corrupted. As a result your device will reboot each time youll try to make and change on the /system partition (even if mounted as RW). So removing, copying, moving, re-naming or editing any file on a system partition will result with the following message in the kernel log (last_kmsg.txt):


Formatting the /data partition is not the best idea for some and its not needed in most cases.

Repair Process
  1. Download this mini-sdk package and extract it to c:mini-sdk
  2. Download this fsck.ext4 binary and put it into c:mini-sdk
  3. Connect your device to the PC
  4. Boot your device in recovery mode
  5. Open a command prompt on the PC (cmd.exe), type and confirm each command with ENTER:
  6. cd /d c:mini-sdk
  7. adb push fsck.ext4 /tmp
  8. adb shell
  9. chmod 777 /tmp/fsck.ext4
  10. /tmp/fsck.ext4 -fn /dev/block/mmcblk0p47

This will fix your /data partition and you should see the following output (numbers in the last line will be different in each case):

e2fsck 1.42.9 (28-Dec-2013)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/block/mmcblk0p47: 19050/712704 files (2.7% non-contiguous), 2320338/2850816 blocks


Your /data partition is now fixed and you should no longer experience random reboots problem on your device (assuming that the corrupted /data partition was the source of the problem). Keep in mind that the fsck.ext4 -fn command can be used to check other EXT4 partitions on any device that has EXT4 file-system structure. All you need to know is the partition name or block number.


Do you have any questions or comments? Feel free to share! Also, if you like this article, please use media sharing buttons (Twitter, G+, Facebook) below this post!


For latest news follow Android Revolution HD on popular social platforms:

Read More..

Thursday, March 24, 2016

How to Enable Harman Kardon sound effect of the HTC One M8

Just few days ago HTC announced the new HTC One (M8) Harman & Kardon Edition. The HTC One (M8) Harman & Kardon edition has been designed for consumers who appreciate high-quality audio and want the best smartphone on the market without compromise. It’s a special edition of the critically acclaimed HTC One (M8) that builds upon the iconic all-metal design in a new brushed black finish with champagne accents, and is another example of HTC’s commitment to offer the best audio experience on a smartphone.

Today we present you how to enjoy this revolutionary audio experience on your “regular” HTC One (M8).

First of all it seems that the changes between the regular M8 and the M8 H&K Edition are only or mainly software related. We believe that the sound processor is the same in both units, however the firmware of that sound processor is probably different. To such conclusion led us the particular part of the M8 Sprint firmware.zip package called adsp.img (Advanced Digital Sound Processor) which is usually the same between each device variants and stays the same since the first device software release date, but in this case it was different. We found out that the adsp.img from the Sprint HTC One M8 was different to the others One M8 variants so its probably needed for a proper H&K sound mod function.

The rest of the changes are located on /system partition:
  • system/customize/ACC/default.xml
<item type="boolean" name="support_harman">false</item> has to be changed to
<item type="boolean" name="support_harman">true</item> to make the OS "think" that youre actually using the H&K M8 Edition. This boolean item wasnt present in the early HTC One M8 1.24.401.4 software version.
  • system/etc/tfa/playbackHM.* / playbackHM_l.* files which are mostly related to the equalizer settings
  • system/etc/audio_policy.conf tuned for higher sampling_rate values (up to 192000)
  • system/lib and system/lib/hw libraries, mostly related to the part of the SoC responsible for the audio
This all might sound a little bit complicated, but in fact it was just an explanation about the changes that are required software-wise to enable the H&K support on the regular HTC One M8.

The tricky part is that to flash adsp.img on international version of the HTC One M8 youll need to have Security OFF (S-OFF) device. Without S-OFF you can only update files located on the system partition on your device. Below you can find proper ZIP packages that are suppose to be flashed using custom recovery. First one (for S-OFF devices) together with system partition will also update the adsp.img. The other one (for S-ON devices) will update only system files, however you might not notice any sound improvements without the adsp.img.

Download links:

Harman & Kardon sound mod for the HTC One M8 S-OFF
Harman & Kardon sound mod for the HTC One M8 S-ON

Thanks to baadnewz for brining the initial version of the modification.

Do you have any questions or comments? Feel free to share! Also, if you like this article, please use media sharing buttons (Twitter, G+, Facebook) below this post!


For latest news follow Android Revolution HD on popular social platforms:

Read More..

Friday, February 12, 2016

How To recalibrate battery life on HTC devices

This method is an official one, recommended by the HTC Technical Support Team. Finally we have some alternative to the old myth related with re-calibrating the battery by removing the batterystats.bin file from /data/system location, as it has no impact on the battery life.

So if youre having some problems with battery life, for example it rapidly or erratically discharges (the battery indicator says 18% left but then suddenly, 5 seconds later your device is OFF) this procedure should help, as it clears all battery stats, coordinates and normalizes charging. At least HTC Technical Support says that :)

The procedure is simple:
  1. Make sure that Fastboot option is disabled in Power settings.
  2. Turn off your phone.
  3. Plug phone into HTC charger and charge for two minutes or more.
  4. While charging, hold down volume-up + volume-down + power button and continue holding. Phone will turn on and off repeatedly every 15 seconds or so while continuing to hold all three buttons.
  5. Keep this going for 2 minutes, then release all buttons when phone is ON.
  6. Now, let phone charge fully normally (with phone either on or off) and battery level reporting, charging and battery life should be normalized.
So... have you tried it? Did it help? Let me know!

Do you have any questions or comments? Feel free to share! Also, if you like this article, please use media sharing buttons (Twitter, G+, Facebook) below this post!


For latest news follow Android Revolution HD on popular social platforms:

Read More..

Saturday, March 15, 2014

How To check If Your Android Phone Is Rooted or Not

You can now easily check if your Android device is rooted or not. For one reason or the other one may lose the root privilege on an android device. This is not too far fetched since updating OTA may cause root privileges to be lost. Also, sometimes, a need may arise that would require the device to be taken to service centre for repairs. Usually, when an android phone is rooted, the guys at service centre may refuse to accept it for repairs under warranty. So, root needs to be checked and removed before taking it in for service.


Now, there is a small application that allows you to check the root status of your Android phone.

All you need to do is just to head over to the Google Play Store and download a small app called Root Checker by Joeykrim.

Once its installed, just click on Verify Root Access and immediately it will display to you the results as shown in the image below.



One good thing about this app is that it doesnt require root access to check if your device is rooted or not. This small app may come in handy when you need to verify that an Android device has root access or not. 

Like our Facebook page and follow on Twitter for more tech news, info and guides.
Read More..

Thursday, March 6, 2014

How to use Google Talk on Android



In this post you will learn how to use Google Talk on Android for best game so get your device.

Google Talk which appears on Android phones or tablets as "Talk", is a free to text, chat or make video chat with your Google contacts.

While there are other applications available to text, talk or make video calls, Google Talk offers the opportunity to access your contacts who are using an iPhone, Android or other device such as a tablet or even their Gmail accounts on their computers.

Before starting to use Google Talk on Android you have to have a Google account if you do not have one you can go to mail.google.com and create one. The website will provide step by step instructions.

You created your Google account, you can add friends and contacts who are also Google.

How to use Google Talk on Android for text messages


1. Go to applications.

2. Select "Talk"

3. A list of Google contacts fill the screen.

4. Select a friend and write a message. This works like any other text message application.

How to use Google Talk on Android for a conversation

1. Select "Talk"

2. A list of Google contacts fill the screen

3. A microphone icon appears next to the friends that are available for a conversation.

4. Select the microphone button to invite a friend to talk.

5. Select the "X" button to end the conversation.

How to use Google Talk on Android for Video Chat

1. Select "Talk"

2. A list of Google contacts fill the screen.

3. A video button will appear next to friends that are available for a video chat.

4. Select the video button to invite your friend to video chat.

5. Select the "X" button to end the conversation.
Read More..